From b58f4471c8015d1581e4112c33316a6b04ace55f Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 19 Dec 2024 14:21:06 +0000 Subject: [PATCH 001/132] Use `@actions/io` to locate binaries --- lib/actions-util.js | 4 +- lib/actions-util.js.map | 2 +- lib/analyze.js | 4 +- lib/analyze.js.map | 2 +- lib/codeql.test.js | 30 ++++---- lib/codeql.test.js.map | 2 +- lib/git-utils.js | 4 +- lib/git-utils.js.map | 2 +- lib/init-action.js | 4 +- lib/init-action.js.map | 2 +- lib/init.js | 4 +- lib/init.js.map | 2 +- lib/tar.js | 4 +- lib/tar.js.map | 2 +- lib/util.js | 4 +- lib/util.js.map | 2 +- node_modules/.package-lock.json | 4 - node_modules/@chrisgavin/safe-which/README.md | 2 - .../@chrisgavin/safe-which/build/index.d.ts | 2 - .../@chrisgavin/safe-which/build/index.js | 40 ---------- .../@chrisgavin/safe-which/build/index.js.map | 1 - .../safe-which/build/index.test.d.ts | 1 - .../safe-which/build/index.test.js | 75 ------------------- .../safe-which/build/index.test.js.map | 1 - .../@chrisgavin/safe-which/package.json | 32 -------- package-lock.json | 5 -- package.json | 1 - queries/binary-planting.ql | 6 +- src/actions-util.ts | 4 +- src/analyze.ts | 4 +- src/codeql.test.ts | 30 ++++---- src/git-utils.ts | 4 +- src/init-action.ts | 4 +- src/init.ts | 4 +- src/tar.ts | 4 +- src/util.ts | 4 +- 36 files changed, 69 insertions(+), 233 deletions(-) delete mode 100644 node_modules/@chrisgavin/safe-which/README.md delete mode 100644 node_modules/@chrisgavin/safe-which/build/index.d.ts delete mode 100644 node_modules/@chrisgavin/safe-which/build/index.js delete mode 100644 node_modules/@chrisgavin/safe-which/build/index.js.map delete mode 100644 node_modules/@chrisgavin/safe-which/build/index.test.d.ts delete mode 100644 node_modules/@chrisgavin/safe-which/build/index.test.js delete mode 100644 node_modules/@chrisgavin/safe-which/build/index.test.js.map delete mode 100644 node_modules/@chrisgavin/safe-which/package.json diff --git a/lib/actions-util.js b/lib/actions-util.js index 81233bb7bf..ab028c5be4 100644 --- a/lib/actions-util.js +++ b/lib/actions-util.js @@ -53,7 +53,7 @@ const fs = __importStar(require("fs")); const path = __importStar(require("path")); const core = __importStar(require("@actions/core")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); -const safeWhich = __importStar(require("@chrisgavin/safe-which")); +const io = __importStar(require("@actions/io")); const util_1 = require("./util"); // eslint-disable-next-line import/no-commonjs, @typescript-eslint/no-require-imports const pkg = require("../package.json"); @@ -219,7 +219,7 @@ const getFileType = async (filePath) => { let stdout = ""; let fileCmdPath; try { - fileCmdPath = await safeWhich.safeWhich("file"); + fileCmdPath = await io.which("file", true); } catch (e) { throw new FileCmdNotFoundError(`The \`file\` program is required, but does not appear to be installed. Please install it: ${e}`); diff --git a/lib/actions-util.js.map b/lib/actions-util.js.map index b036dccc79..35c6eaabf5 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,sDAKC;AAED,4CAEC;AAOD,oDAEC;AAMD,oDAKC;AAOD,sDAIC;AAGD,4CASC;AAED,wCA6BC;AAQD,wCAiBC;AAKD,4CAcC;AAKD,sDAcC;AAqDD,gDAEC;AAGD,wCAEC;AAED,sDAEC;AAwBD,gDAEC;AAoBD,0BAsCC;AAlVD,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,kEAAoD;AAIpD,iCAKgB;AAEhB,qFAAqF;AACrF,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAqC,CAAC;AAE3E;;;;;GAKG;AACI,MAAM,gBAAgB,GAAG,UAAU,IAAY;IACpD,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,M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ACI,MAAM,aAAa,GAAG;IAC3B,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAClE,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CACtC,CAAC;IACF,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAChF,CAAC,CAAC;AALW,QAAA,aAAa,iBAKxB;AAEF;;GAEG;AACI,MAAM,aAAa,GAAG;IAC3B,MAAM,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC1D,IAAI,eAAe,EAAE,CAAC;QACpB,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,CAAC;YACxD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAPW,QAAA,aAAa,iBAOxB"} \ No newline at end of file diff --git a/lib/analyze.js b/lib/analyze.js index 33d26c1625..e6bf71d0bd 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -47,7 +47,7 @@ exports.runCleanup = runCleanup; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const perf_hooks_1 = require("perf_hooks"); -const safe_which_1 = require("@chrisgavin/safe-which"); +const io = __importStar(require("@actions/io")); const del_1 = __importDefault(require("del")); const yaml = __importStar(require("js-yaml")); const actionsUtil = __importStar(require("./actions-util")); @@ -437,7 +437,7 @@ async function warnIfGoInstalledAfterInit(config, logger) { const goInitPath = process.env[environment_1.EnvVar.GO_BINARY_LOCATION]; if (process.env[environment_1.EnvVar.DID_AUTOBUILD_GOLANG] !== "true" && goInitPath !== undefined) { - const goBinaryPath = await (0, safe_which_1.safeWhich)("go"); + const goBinaryPath = await io.which("go", true); if (goInitPath !== goBinaryPath) { logger.warning(`Expected \`which go\` to return ${goInitPath}, but got ${goBinaryPath}: please ensure that the correct version of Go is installed before the \`codeql-action/init\` Action is used.`); (0, diagnostics_1.addDiagnostic)(config, languages_1.Language.go, (0, diagnostics_1.makeDiagnostic)("go/workflow/go-installed-after-codeql-init", "Go was installed after the `codeql-action/init` Action was run", { diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 3bfe11643a..b03f44a01a 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsIA,sCAmCC;AAcD,sCAiBC;AAiDD,8DAqBC;AA+LD,gCAuJC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AA/rBD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,uDAAmD;AACnD,8CAAsB;AACtB,8CAAgC;AAEhC,4DAA8C;AAC9C,2CAAgD;AAChD,qCAIkB;AAElB,+CAA8D;AAC9D,+CAAuC;AACvC,mDAA6D;AAC7D,sDAAwC;AACxC,2CAA0D;AAC1D,uCAAmD;AAEnD,qDAAgD;AAChD,mDAAuD;AACvD,6CAAuD;AACvD,6CAA+B;AAC/B,iCAAmC;AAEnC,MAAa,mBAAoB,SAAQ,KAAK;IAC5C,YACS,mBAAwC,EACxC,OAAe,EACf,KAAY;QAEnB,KAAK,CAAC,OAAO,CAAC,CAAC;QAJR,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,YAAO,GAAP,OAAO,CAAQ;QACf,UAAK,GAAL,KAAK,CAAO;QAGnB,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;CACF;AATD,kDASC;AAkFD,KAAK,UAAU,oBAAoB,CAAC,MAAc;IAChD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,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oB,CAAC,KAAK,MAAM;QACnD,UAAU,KAAK,SAAS,EACxB,CAAC;QACD,MAAM,YAAY,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAEhD,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;YAChC,MAAM,CAAC,OAAO,CACZ,mCAAmC,UAAU,aAAa,YAAY,+GAA+G,CACtL,CAAC;YAEF,IAAA,2BAAa,EACX,MAAM,EACN,oBAAQ,CAAC,EAAE,EACX,IAAA,4BAAc,EACZ,4CAA4C,EAC5C,gEAAgE,EAChE;gBACE,eAAe,EACb,sIAAsI;gBACxI,UAAU,EAAE;oBACV,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,eAAe,EAAE,IAAI;iBACtB;gBACD,QAAQ,EAAE,SAAS;aACpB,CACF,CACF,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AAEM,KAAK,UAAU,UAAU,CAC9B,MAA0B,EAC1B,YAAoB,EACpB,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAC3C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAClE,MAAM,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index 900e68fde4..23dd199ee2 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -39,8 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.stubToolRunnerConstructor = stubToolRunnerConstructor; const fs = __importStar(require("fs")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); +const io = __importStar(require("@actions/io")); const toolcache = __importStar(require("@actions/tool-cache")); -const safeWhich = __importStar(require("@chrisgavin/safe-which")); const ava_1 = __importDefault(require("ava")); const del_1 = __importDefault(require("del")); const yaml = __importStar(require("js-yaml")); @@ -539,8 +539,8 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of const runnerConstructorStub = stubToolRunnerConstructor(); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(codeqlVersion); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await codeqlObject.databaseInterpretResults("", [], "", "", "", "-v", undefined, "", Object.assign({}, stubConfig, { gitHubVersion: githubVersion }), (0, testing_utils_1.createFeatures)([])); const actualArgs = runnerConstructorStub.firstCall.args[1]; t.is(actualArgs.includes("--new-analysis-summary"), flagPassed, `--new-analysis-summary should${flagPassed ? "" : "n't"} be passed`); @@ -555,8 +555,8 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of stubToolRunnerConstructor(32, cliStderr); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.17.6")); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048", false), { instanceOf: util.ConfigurationError, message: new RegExp('Encountered a fatal error while running \\"codeql-for-testing database finalize --finalize-dataset --threads=2 --ram=2048 db\\"\\. ' + @@ -578,8 +578,8 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.17.6")); sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync(async () => await codeqlObject.runAutobuild(stubConfig, languages_1.Language.java), { instanceOf: util.ConfigurationError, message: "We were unable to automatically build your code. Please provide manual build steps. " + @@ -596,8 +596,8 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.17.6")); sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync(async () => await codeqlObject.runAutobuild(stubConfig, languages_1.Language.java), { instanceOf: util.ConfigurationError, message: "We were unable to automatically build your code. Please provide manual build steps. " + @@ -616,8 +616,8 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.17.6")); sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync(async () => await codeqlObject.databaseRunQueries(stubConfig.dbLocation, []), { instanceOf: cli_errors_1.CliError, message: `Encountered a fatal error while running "codeql-for-testing database run-queries --expect-discarded-cache --min-disk-free=1024 -v --intra-layer-parallelism". Exit code was 1 and error was: Oops! A fatal internal error occurred. Details: @@ -630,8 +630,8 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of stubToolRunnerConstructor(32, cliStderr); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.17.6")); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048", false), { instanceOf: util.ConfigurationError, message: new RegExp('Encountered a fatal error while running \\"codeql-for-testing database finalize --finalize-dataset --threads=2 --ram=2048 db\\"\\. ' + @@ -642,8 +642,8 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of const runnerConstructorStub = stubToolRunnerConstructor(); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.17.6")); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); process.env["CODEQL_ACTION_EXTRA_OPTIONS"] = '{ "database": { "init": ["--overwrite"] } }'; await codeqlObject.databaseInitCluster(stubConfig, "sourceRoot", undefined, undefined, (0, logging_1.getRunnerLogger)(false)); diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index fd8c2fef76..cf4f86d8f3 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2gCA,8DAqBC;AAhiCD,uCAAyB;AAGzB,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAE/B,4DAA8C;AAE9C,6CAAwC;AACxC,iDAAmC;AAEnC,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GAAW,EAAE,EAAE,CAC1C,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC,CACzC,CAAC;IACF,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,4CAA4C,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,SAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5C,MAAM,IAAA,aAAG,EAAC,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACzC,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,WAAmB,CAAC,EACpB,MAAe;IAEf,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CACtC,UAAU,EACV,YAAY,CACoC,CAAC;IACnD,IAAI,cAAc,GAAyC,SAAS,CAAC;IACrE,qBAAqB,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;QACpE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3C,OAAO,gBAAgB,CAAC;IAC1B,CAAC,CAAC,CAAC;IACH,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACzC,IAAI,cAAc,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/lib/git-utils.js b/lib/git-utils.js index bac8096963..a0520dab4f 100644 --- a/lib/git-utils.js +++ b/lib/git-utils.js @@ -38,7 +38,7 @@ exports.getRef = getRef; exports.isAnalyzingDefaultBranch = isAnalyzingDefaultBranch; const core = __importStar(require("@actions/core")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); -const safeWhich = __importStar(require("@chrisgavin/safe-which")); +const io = __importStar(require("@actions/io")); const actions_util_1 = require("./actions-util"); const util_1 = require("./util"); async function runGitCommand(checkoutPath, args, customErrorMessage) { @@ -46,7 +46,7 @@ async function runGitCommand(checkoutPath, args, customErrorMessage) { let stderr = ""; core.debug(`Running git command: git ${args.join(" ")}`); try { - await new toolrunner.ToolRunner(await safeWhich.safeWhich("git"), args, { + await new toolrunner.ToolRunner(await io.which("git", true), args, { silent: true, listeners: { stdout: (data) => { diff --git a/lib/git-utils.js.map b/lib/git-utils.js.map index 09624ca1ad..970f939faa 100644 --- a/lib/git-utils.js.map +++ b/lib/git-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"git-utils.js","sourceRoot":"","sources":["../src/git-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqUA,wBA4DC;AAaD,4DAiBC;AA/ZD,oDAAsC;AACtC,yEAA2D;AAC3D,kEAAoD;AAEpD,iDAIwB;AACxB,iCAAiE;AAEjE,KAAK,UAAU,aAAa,CAC1B,YAAgC,EAChC,IAAc,EACd,kBAA0B;IAE1B,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,CAAC,KAAK,CAAC,4BAA4B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACzD,IAAI,CAAC;QACH,MAAM,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE;YACtE,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE;gBACT,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;oBACf,MAAM,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAC5B,CAAC;gBACD,MAAM,EAAE,CAAC,IAAI,EA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DAAiD,GAAG,OAAO,MAAM,GAAG,CACrE,CAAC;QACF,OAAO,MAAM,CAAC;IAChB,CAAC;SAAM,CAAC;QACN,OAAO,GAAG,CAAC;IACb,CAAC;AACH,CAAC;AAED,SAAS,qBAAqB,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAC/E,CAAC;AAED;;;;;;GAMG;AACI,KAAK,UAAU,wBAAwB;IAC5C,IAAI,OAAO,CAAC,GAAG,CAAC,yCAAyC,KAAK,MAAM,EAAE,CAAC;QACrE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,sDAAsD;IACtD,IAAI,UAAU,GAAG,MAAM,MAAM,EAAE,CAAC;IAChC,UAAU,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAE/C,MAAM,KAAK,GAAG,IAAA,+BAAgB,GAAE,CAAC;IACjC,IAAI,aAAa,GAAG,KAAK,EAAE,UAAU,EAAE,cAAc,CAAC;IAEtD,IAAI,IAAA,mCAAoB,GAAE,KAAK,UAAU,EAAE,CAAC;QAC1C,aAAa,GAAG,qBAAqB,CAAC,aAAa,EAAE,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,UAAU,KAAK,aAAa,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index ecaedc4d77..22c217c1df 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -36,7 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); const fs = __importStar(require("fs")); const path = __importStar(require("path")); const core = __importStar(require("@actions/core")); -const safe_which_1 = require("@chrisgavin/safe-which"); +const io = __importStar(require("@actions/io")); const uuid_1 = require("uuid"); const actions_util_1 = require("./actions-util"); const api_client_1 = require("./api-client"); @@ -258,7 +258,7 @@ async function run() { if (config.languages.includes(languages_1.Language.go) && process.platform === "linux") { try { - const goBinaryPath = await (0, safe_which_1.safeWhich)("go"); + const goBinaryPath = await io.which("go", true); const fileOutput = await (0, actions_util_1.getFileType)(goBinaryPath); // Go 1.21 and above ships with statically linked binaries on Linux. CodeQL cannot currently trace custom builds // where the entry point is a statically linked binary. Until that is fixed, we work around the problem by diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 2f3f49382a..9927c9962c 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,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAChD,mDAIyB;AAEzB,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EA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AAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,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,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,gDAAkC;AAClC,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAChD,mDAIyB;AAEzB,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EA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AA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/init.js b/lib/init.js index 678c4f7dd3..fa9c6ba663 100644 --- a/lib/init.js +++ b/lib/init.js @@ -42,7 +42,7 @@ exports.cleanupDatabaseClusterDirectory = cleanupDatabaseClusterDirectory; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); -const safeWhich = __importStar(require("@chrisgavin/safe-which")); +const io = __importStar(require("@actions/io")); const actions_util_1 = require("./actions-util"); const codeql_1 = require("./codeql"); const configUtils = __importStar(require("./config-utils")); @@ -102,7 +102,7 @@ async function checkInstallPython311(languages, codeql) { process.platform === "win32" && !(await codeql.getVersion()).features?.supportsPython312) { const script = path.resolve(__dirname, "../python-setup", "check_python12.ps1"); - await new toolrunner.ToolRunner(await safeWhich.safeWhich("powershell"), [ + await new toolrunner.ToolRunner(await io.which("powershell", true), [ script, ]).exec(); } diff --git a/lib/init.js.map b/lib/init.js.map index 2aef509bbe..e9804b5ce1 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,gCAyCC;AAED,gCAgBC;AAED,0BAkCC;AAED,0DAeC;AAMD,sDAkBC;AAED,0EAkDC;AAhND,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,kEAAoD;AAEpD,iDAAsE;AAEtE,qCAA+C;AAC/C,4DAA8C;AAE9C,2CAA0D;AAK1D,qDAAgD;AAChD,mDAAwE;AACxE,6CAA+B;AAExB,KAAK,UAAU,UAAU,CAC9B,UAA8B,EAC9B,UAA4B,EAC5B,OAAe,EACf,OAA2B,EAC3B,iBAA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CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,gCAyCC;AAED,gCAgBC;AAED,0BAkCC;AAED,0DAeC;AAMD,sDAkBC;AAED,0EAkDC;AAhND,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,gDAAkC;AAElC,iDAAsE;AAEtE,qCAA+C;AAC/C,4DAA8C;AAE9C,2CAA0D;AAK1D,qDAAgD;AAChD,mDAAwE;AACxE,6CAA+B;AAExB,KAAK,UAAU,UAAU,CAC9B,UAA8B,EAC9B,UAA4B,EAC5B,OAAe,EACf,OAA2B,EAC3B,iBAA2C,EAC3C,QAA2B,EAC3B,MAAc;IAQd,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACxC,MAAM,EACJ,MAAM,EACN,yBAAyB,EACzB,WAAW,EACX,YAAY,EACZ,gBAAgB,GACjB,GAAG,MAAM,IAAA,oBAAW,EACnB,UAAU,EACV,UAAU,EACV,OAAO,EACP,OAAO,EACP,iBAAiB,EACjB,MAAM,EACN,QAAQ,EACR,IAAI,CACL,CAAC;IACF,MAAM,MAAM,CAAC,YAAY,EAAE,CAAC;IAC5B,MAAM,CAAC,QAAQ,EAAE,CAAC;IAClB,OAAO;QACL,MAAM;QACN,yBAAyB;QACzB,WAAW;QACX,YAAY;QACZ,gBAAgB;KACjB,CAAC;AACJ,CAAC;AAEM,KAAK,UAAU,UAAU,CAC9B,MAAoC,EACpC,MAAc;IAEd,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7B,MAAM,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;IACjD,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACpD,IACE,CAAC,CAAC,MAAM,MAAM,CAAC,eAAe,CAC5B,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AC;gBAC7B,CAAC,CAAC,sCAAsC,MAAM,CAAC,UAAU,IAAI;gBAC7D,CAAC,CAAC,kCAAkC,MAAM,CAAC,UAAU,IAAI;oBACvD,yEACN,iEAAiE,CAAC;YAElE,kGAAkG;YAClG,IAAI,IAAA,iCAAkB,GAAE,EAAE,CAAC;gBACzB,MAAM,IAAI,IAAI,CAAC,kBAAkB,CAC/B,GAAG,KAAK,4GAA4G;oBAClH,sEAAsE,IAAI,CAAC,eAAe,CACxF,CAAC,CACF,EAAE,CACN,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,GAAG,KAAK,sDAAsD;oBAC5D,+EAA+E;oBAC/E,yCAAyC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CACrE,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/tar.js b/lib/tar.js index 891edf854c..64db8a5398 100644 --- a/lib/tar.js +++ b/lib/tar.js @@ -41,14 +41,14 @@ const child_process_1 = require("child_process"); const fs = __importStar(require("fs")); const stream = __importStar(require("stream")); const toolrunner_1 = require("@actions/exec/lib/toolrunner"); +const io = __importStar(require("@actions/io")); const toolcache = __importStar(require("@actions/tool-cache")); -const safe_which_1 = require("@chrisgavin/safe-which"); const actions_util_1 = require("./actions-util"); const util_1 = require("./util"); const MIN_REQUIRED_BSD_TAR_VERSION = "3.4.3"; const MIN_REQUIRED_GNU_TAR_VERSION = "1.31"; async function getTarVersion() { - const tar = await (0, safe_which_1.safeWhich)("tar"); + const tar = await io.which("tar", true); let stdout = ""; const exitCode = await new toolrunner_1.ToolRunner(tar, ["--version"], { listeners: { diff --git a/lib/tar.js.map b/lib/tar.js.map index ca057db591..04ce4f0c0a 100644 --- a/lib/tar.js.map +++ b/lib/tar.js.map @@ -1 +1 @@ -{"version":3,"file":"tar.js","sourceRoot":"","sources":["../src/tar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;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AC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAA,kBAAW,EAAC,IAAI,EAAE,kCAAkC,EAAE,MAAM,CAAC,CAAC;QACpE,MAAM,CAAC,CAAC;IACV,CAAC;AACH,CAAC;AAED,SAAgB,sBAAsB,CAAC,OAAe;IACpD,IAAI,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAChC,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/lib/util.js b/lib/util.js index 728a78efda..27878936bf 100644 --- a/lib/util.js +++ b/lib/util.js @@ -86,7 +86,7 @@ const path = __importStar(require("path")); const util_1 = require("util"); const core = __importStar(require("@actions/core")); const exec = __importStar(require("@actions/exec/lib/exec")); -const safe_which_1 = require("@chrisgavin/safe-which"); +const io = __importStar(require("@actions/io")); const check_disk_space_1 = __importDefault(require("check-disk-space")); const del_1 = __importDefault(require("del")); const get_folder_size_1 = __importDefault(require("get-folder-size")); @@ -940,7 +940,7 @@ async function cleanUpGlob(glob, name, logger) { } async function isBinaryAccessible(binary, logger) { try { - await (0, safe_which_1.safeWhich)(binary); + await io.which(binary, true); logger.debug(`Found ${binary}.`); return true; } diff --git a/lib/util.js.map b/lib/util.js.map index 937156914e..2992d5d208 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsHA,0DAcC;AAOD,oCAYC;AAID,gCAOC;AAyCD,sEAsBC;AAqFD,gDASC;AASD,sCAMC;AAOD,gDAQC;AAUD,kDA8CC;AA2CD,8DAiCC;AAUD,wCAKC;AAKD,sDAEC;AAMD,wCAqCC;AAiBD,8DA8BC;AAOD,8CAYC;AAeD,kCAEC;AAMD,sDAMC;AAKD,kD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AAI,CAAC,CAAC;QAC7B,MAAM,CAAC,KAAK,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,KAAK,CAAC,kBAAkB,MAAM,KAAK,CAAC,EAAE,CAAC,CAAC;QAC/C,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 5a692be5c9..e25e97497d 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -555,10 +555,6 @@ "node": ">=6.9.0" } }, - "node_modules/@chrisgavin/safe-which": { - "version": "1.0.2", - "license": "MIT" - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "dev": true, diff --git a/node_modules/@chrisgavin/safe-which/README.md b/node_modules/@chrisgavin/safe-which/README.md deleted file mode 100644 index 168eb14d65..0000000000 --- a/node_modules/@chrisgavin/safe-which/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# safe-which -A NodeJS library to guard against Windows binary planting attacks. diff --git a/node_modules/@chrisgavin/safe-which/build/index.d.ts b/node_modules/@chrisgavin/safe-which/build/index.d.ts deleted file mode 100644 index 600c9885bf..0000000000 --- a/node_modules/@chrisgavin/safe-which/build/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const isWindows: boolean; -export declare function safeWhich(program: string): Promise; diff --git a/node_modules/@chrisgavin/safe-which/build/index.js b/node_modules/@chrisgavin/safe-which/build/index.js deleted file mode 100644 index 39264dd325..0000000000 --- a/node_modules/@chrisgavin/safe-which/build/index.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.safeWhich = exports.isWindows = void 0; -const fs = require("fs"); -const path = require("path"); -exports.isWindows = process.platform === "win32"; -const pathSeparator = exports.isWindows ? ";" : ":"; -const defaultPathExt = exports.isWindows ? [".com", ".exe", ".bat", ".cmd"] : [""]; -async function safeWhich(program) { - if (program.includes("/") || (program.includes("\\") && exports.isWindows)) { - // If the path contains slashes it's either absolute or relative and should not be searched for. - return program; - } - let pathValue = process.env.PATH; - if (pathValue === undefined) { - throw new Error(`Could not resolve program ${program} because no PATH environment variable was set.`); - } - let searchPaths = pathValue.split(pathSeparator); - let pathExts = defaultPathExt; - if (exports.isWindows && process.env.PATHEXT !== undefined) { - pathExts = process.env.PATHEXT.split(pathSeparator); - } - for (let searchPath of searchPaths) { - for (let pathExt of pathExts) { - let completePath = path.join(searchPath, program + pathExt); - try { - await fs.promises.access(completePath, fs.constants.X_OK); - return completePath; - } - catch (err) { - if (err.code !== "ENOENT") { - throw err; - } - } - } - } - throw new Error(`Could not find program ${program} on PATH.`); -} -exports.safeWhich = safeWhich; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@chrisgavin/safe-which/build/index.js.map b/node_modules/@chrisgavin/safe-which/build/index.js.map deleted file mode 100644 index efdb60e0de..0000000000 --- a/node_modules/@chrisgavin/safe-which/build/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAA6B;AAEhB,QAAA,SAAS,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC;AACtD,MAAM,aAAa,GAAG,iBAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AAC5C,MAAM,cAAc,GAAG,iBAAS,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAEpE,KAAK,UAAU,SAAS,CAAC,OAAe;IAC9C,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,iBAAS,CAAC,EAAE;QACnE,gGAAgG;QAChG,OAAO,OAAO,CAAC;KACf;IAED,IAAI,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;IACjC,IAAI,SAAS,KAAK,SAAS,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,6BAA6B,OAAO,gDAAgD,CAAC,CAAC;KACtG;IACD,IAAI,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACjD,IAAI,QAAQ,GAAG,cAAc,CAAC;IAC9B,IAAI,iBAAS,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,KAAK,SAAS,EAAE;QACnD,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KACpD;IAED,KAAK,IAAI,UAAU,IAAI,WAAW,EAAE;QACnC,KAAK,IAAI,OAAO,IAAI,QAAQ,EAAE;YAC7B,IAAI,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC;YAC5D,IAAI;gBACH,MAAM,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;gBAC1D,OAAO,YAAY,CAAC;aACpB;YACD,OAAO,GAAG,EAAE;gBACX,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;oBAC1B,MAAM,GAAG,CAAC;iBACV;aACD;SACD;KACD;IAED,MAAM,IAAI,KAAK,CAAC,0BAA0B,OAAO,WAAW,CAAC,CAAC;AAC/D,CAAC;AAhCD,8BAgCC"} \ No newline at end of file diff --git a/node_modules/@chrisgavin/safe-which/build/index.test.d.ts b/node_modules/@chrisgavin/safe-which/build/index.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/@chrisgavin/safe-which/build/index.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@chrisgavin/safe-which/build/index.test.js b/node_modules/@chrisgavin/safe-which/build/index.test.js deleted file mode 100644 index 8c5d92e628..0000000000 --- a/node_modules/@chrisgavin/safe-which/build/index.test.js +++ /dev/null @@ -1,75 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const ava_1 = require("ava"); -const index_1 = require("./index"); -const path = require("path"); -const originalEnv = process.env; -const originalWorkingDirectory = process.cwd(); -const testResources = path.resolve(path.join("src", "index.test")); -ava_1.default.beforeEach(_ => { - process.env = { ...originalEnv }; -}); -ava_1.default.afterEach(_ => { - process.env = originalEnv; - process.chdir(originalWorkingDirectory); -}); -ava_1.default("relative path with forward-slash is returned as-is", async (t) => { - process.env.PATH = path.join(testResources, "path"); - t.deepEqual(await index_1.safeWhich("./anything"), "./anything"); -}); -ava_1.default("absolute path with forward-slash is returned as-is", async (t) => { - process.env.PATH = path.join(testResources, "path"); - t.deepEqual(await index_1.safeWhich("/usr/bin/anything"), "/usr/bin/anything"); -}); -ava_1.default("binaries in cwd are not returned", async (t) => { - process.env.PATH = path.join(testResources, "empty"); - process.chdir(path.join(testResources, "path")); - await t.throwsAsync(index_1.safeWhich("program")); - await t.throwsAsync(index_1.safeWhich("has-an-extension")); - await t.throwsAsync(index_1.safeWhich("has-an-extension.exe")); -}); -if (index_1.isWindows) { - ava_1.default("program is found if on path with correct extension preference", async (t) => { - process.env.PATH = path.join(testResources, "path"); - process.env.PATHEXT = ".com;.exe"; - t.deepEqual(await index_1.safeWhich("has-an-extension"), path.join(testResources, "path", "has-an-extension.com")); - process.env.PATHEXT = ".exe;.com"; - t.deepEqual(await index_1.safeWhich("has-an-extension"), path.join(testResources, "path", "has-an-extension.exe")); - }); - ava_1.default("program is not found if no extension", async (t) => { - process.env.PATH = path.join(testResources, "path"); - await t.throwsAsync(index_1.safeWhich("program")); - }); - ava_1.default("relative path with backward-slash is returned as-is", async (t) => { - process.env.PATH = path.join(testResources, "path"); - t.deepEqual(await index_1.safeWhich(".\\anything"), ".\\anything"); - }); - ava_1.default("absolute path with backward-slash is returned as-is", async (t) => { - process.env.PATH = path.join(testResources, "path"); - t.deepEqual(await index_1.safeWhich("C:\\Python27\\python.exe"), "C:\\Python27\\python.exe"); - }); - ava_1.default("path order is respected", async (t) => { - process.env.PATHEXT = ".com;.exe;.bat"; - process.env.PATH = path.join(testResources, "path") + ";" + path.join(testResources, "second-path"); - t.deepEqual(await index_1.safeWhich("has-an-extension"), path.join(testResources, "path", "has-an-extension.com")); - process.env.PATH = path.join(testResources, "second-path") + ";" + path.join(testResources, "path"); - t.deepEqual(await index_1.safeWhich("has-an-extension"), path.join(testResources, "second-path", "has-an-extension.bat")); - }); -} -else { - ava_1.default("program is found if on path and executable", async (t) => { - process.env.PATH = path.join(testResources, "path"); - t.deepEqual(await index_1.safeWhich("program"), path.join(testResources, "path", "program")); - }); - ava_1.default("program is not found if not executable", async (t) => { - process.env.PATH = path.join(testResources, "path"); - await t.throwsAsync(index_1.safeWhich("non-executable-file")); - }); - ava_1.default("path order is respected", async (t) => { - process.env.PATH = path.join(testResources, "path") + ":" + path.join(testResources, "second-path"); - t.deepEqual(await index_1.safeWhich("program"), path.join(testResources, "path", "program")); - process.env.PATH = path.join(testResources, "second-path") + ":" + path.join(testResources, "path"); - t.deepEqual(await index_1.safeWhich("program"), path.join(testResources, "second-path", "program")); - }); -} -//# sourceMappingURL=index.test.js.map \ No newline at end of file diff --git a/node_modules/@chrisgavin/safe-which/build/index.test.js.map b/node_modules/@chrisgavin/safe-which/build/index.test.js.map deleted file mode 100644 index 17ae0bb764..0000000000 --- a/node_modules/@chrisgavin/safe-which/build/index.test.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":";;AAAA,6BAAuB;AACvB,mCAA+C;AAC/C,6BAA6B;AAE7B,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC;AAChC,MAAM,wBAAwB,GAAG,OAAO,CAAC,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 No newline at end of file diff --git a/node_modules/@chrisgavin/safe-which/package.json b/node_modules/@chrisgavin/safe-which/package.json deleted file mode 100644 index f9a6b9ca20..0000000000 --- a/node_modules/@chrisgavin/safe-which/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "@chrisgavin/safe-which", - "version": "1.0.2", - "description": "A NodeJS library to guard against Windows binary planting attacks.", - "license": "MIT", - "homepage": "https://github.com/chrisgavin/safe-which/", - "publishConfig": { - "access": "public" - }, - "main": "./build/index.js", - "types": "./build/index.d.ts", - "scripts": { - "build": "tsc", - "pretest": "npm install && npm run build", - "test": "ava --verbose --serial ./src/**", - "prepublishOnly": "npm install && npm run build && npm version --allow-same-version=true --git-tag-version=false ${GITHUB_REF#refs/tags/}" - }, - "dependencies": {}, - "devDependencies": { - "@ava/typescript": "^1.1.1", - "@types/node": "^14.14.7", - "ava": "^3.13.0", - "typescript": "^3.8.3" - }, - "ava": { - "typescript": { - "rewritePaths": { - "./src/": "./build/" - } - } - } -} diff --git a/package-lock.json b/package-lock.json index 3d2d052c29..3a9bebaeae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,6 @@ "@actions/http-client": "^2.2.3", "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.1", - "@chrisgavin/safe-which": "^1.0.2", "@octokit/plugin-retry": "^5.0.2", "@octokit/types": "^13.6.2", "@schemastore/package": "0.0.10", @@ -624,10 +623,6 @@ "node": ">=6.9.0" } }, - "node_modules/@chrisgavin/safe-which": { - "version": "1.0.2", - "license": "MIT" - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "dev": true, diff --git a/package.json b/package.json index 4bdcfb3b9c..4085e2244b 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "@actions/http-client": "^2.2.3", "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.1", - "@chrisgavin/safe-which": "^1.0.2", "@octokit/plugin-retry": "^5.0.2", "@octokit/types": "^13.6.2", "@schemastore/package": "0.0.10", diff --git a/queries/binary-planting.ql b/queries/binary-planting.ql index aca6f1acca..952d0372e9 100644 --- a/queries/binary-planting.ql +++ b/queries/binary-planting.ql @@ -10,8 +10,8 @@ import javascript import DataFlow import DataFlow::PathGraph -class SafeWhichBarrierGuardNode extends DataFlow::BarrierGuardNode, DataFlow::InvokeNode { - SafeWhichBarrierGuardNode() { getCalleeName() = "safeWhich" } +class WhichBarrierGuardNode extends DataFlow::BarrierGuardNode, DataFlow::InvokeNode { + WhichBarrierGuardNode() { getCalleeName() = "which" } override predicate blocks(boolean outcome, Expr e) { outcome = true and @@ -36,7 +36,7 @@ class BinaryPlantingConfiguration extends DataFlow::Configuration { } override predicate isBarrierGuard(DataFlow::BarrierGuardNode guard) { - guard instanceof SafeWhichBarrierGuardNode + guard instanceof WhichBarrierGuardNode } } diff --git a/src/actions-util.ts b/src/actions-util.ts index 4fe56e98cd..cd4e163f3f 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -3,7 +3,7 @@ import * as path from "path"; import * as core from "@actions/core"; import * as toolrunner from "@actions/exec/lib/toolrunner"; -import * as safeWhich from "@chrisgavin/safe-which"; +import * as io from "@actions/io"; import { JSONSchemaForNPMPackageJsonFiles } from "@schemastore/package"; import type { Config } from "./config-utils"; @@ -209,7 +209,7 @@ export const getFileType = async (filePath: string): Promise => { let fileCmdPath: string; try { - fileCmdPath = await safeWhich.safeWhich("file"); + fileCmdPath = await io.which("file", true); } catch (e) { throw new FileCmdNotFoundError( `The \`file\` program is required, but does not appear to be installed. Please install it: ${e}`, diff --git a/src/analyze.ts b/src/analyze.ts index fa67211fa2..7e82df4a56 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -2,7 +2,7 @@ import * as fs from "fs"; import * as path from "path"; import { performance } from "perf_hooks"; -import { safeWhich } from "@chrisgavin/safe-which"; +import * as io from "@actions/io"; import del from "del"; import * as yaml from "js-yaml"; @@ -660,7 +660,7 @@ export async function warnIfGoInstalledAfterInit( process.env[EnvVar.DID_AUTOBUILD_GOLANG] !== "true" && goInitPath !== undefined ) { - const goBinaryPath = await safeWhich("go"); + const goBinaryPath = await io.which("go", true); if (goInitPath !== goBinaryPath) { logger.warning( diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 90bd2d6cb4..e239f34e5c 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -2,8 +2,8 @@ import * as fs from "fs"; import { ExecOptions } from "@actions/exec"; import * as toolrunner from "@actions/exec/lib/toolrunner"; +import * as io from "@actions/io"; import * as toolcache from "@actions/tool-cache"; -import * as safeWhich from "@chrisgavin/safe-which"; import test, { ExecutionContext } from "ava"; import del from "del"; import * as yaml from "js-yaml"; @@ -819,8 +819,8 @@ for (const { const runnerConstructorStub = stubToolRunnerConstructor(); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(codeqlVersion); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await codeqlObject.databaseInterpretResults( "", [], @@ -860,8 +860,8 @@ test("runTool summarizes several fatal errors", async (t) => { stubToolRunnerConstructor(32, cliStderr); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.17.6")); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync( async () => @@ -902,8 +902,8 @@ test("runTool summarizes autobuilder errors", async (t) => { const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.17.6")); sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync( async () => await codeqlObject.runAutobuild(stubConfig, Language.java), @@ -929,8 +929,8 @@ test("runTool truncates long autobuilder errors", async (t) => { const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.17.6")); sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync( async () => await codeqlObject.runAutobuild(stubConfig, Language.java), @@ -957,8 +957,8 @@ test("runTool recognizes fatal internal errors", async (t) => { const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.17.6")); sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync( async () => @@ -977,8 +977,8 @@ test("runTool outputs last line of stderr if fatal error could not be found", as stubToolRunnerConstructor(32, cliStderr); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.17.6")); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); await t.throwsAsync( async () => @@ -1002,8 +1002,8 @@ test("Avoids duplicating --overwrite flag if specified in CODEQL_ACTION_EXTRA_OP const runnerConstructorStub = stubToolRunnerConstructor(); const codeqlObject = await codeql.getCodeQLForTesting(); sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.17.6")); - // safeWhich throws because of the test CodeQL object. - sinon.stub(safeWhich, "safeWhich").resolves(""); + // io throws because of the test CodeQL object. + sinon.stub(io, "which").resolves(""); process.env["CODEQL_ACTION_EXTRA_OPTIONS"] = '{ "database": { "init": ["--overwrite"] } }'; diff --git a/src/git-utils.ts b/src/git-utils.ts index 55cb0994b1..2669cd9150 100644 --- a/src/git-utils.ts +++ b/src/git-utils.ts @@ -1,6 +1,6 @@ import * as core from "@actions/core"; import * as toolrunner from "@actions/exec/lib/toolrunner"; -import * as safeWhich from "@chrisgavin/safe-which"; +import * as io from "@actions/io"; import { getOptionalInput, @@ -18,7 +18,7 @@ async function runGitCommand( let stderr = ""; core.debug(`Running git command: git ${args.join(" ")}`); try { - await new toolrunner.ToolRunner(await safeWhich.safeWhich("git"), args, { + await new toolrunner.ToolRunner(await io.which("git", true), args, { silent: true, listeners: { stdout: (data) => { diff --git a/src/init-action.ts b/src/init-action.ts index 614155d209..f733681854 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -2,7 +2,7 @@ import * as fs from "fs"; import * as path from "path"; import * as core from "@actions/core"; -import { safeWhich } from "@chrisgavin/safe-which"; +import * as io from "@actions/io"; import { v4 as uuidV4 } from "uuid"; import { @@ -445,7 +445,7 @@ async function run() { process.platform === "linux" ) { try { - const goBinaryPath = await safeWhich("go"); + const goBinaryPath = await io.which("go", true); const fileOutput = await getFileType(goBinaryPath); // Go 1.21 and above ships with statically linked binaries on Linux. CodeQL cannot currently trace custom builds diff --git a/src/init.ts b/src/init.ts index 859e91c2d2..c0e2a20bd2 100644 --- a/src/init.ts +++ b/src/init.ts @@ -2,7 +2,7 @@ import * as fs from "fs"; import * as path from "path"; import * as toolrunner from "@actions/exec/lib/toolrunner"; -import * as safeWhich from "@chrisgavin/safe-which"; +import * as io from "@actions/io"; import { getOptionalInput, isSelfHostedRunner } from "./actions-util"; import { GitHubApiCombinedDetails, GitHubApiDetails } from "./api-client"; @@ -150,7 +150,7 @@ export async function checkInstallPython311( "../python-setup", "check_python12.ps1", ); - await new toolrunner.ToolRunner(await safeWhich.safeWhich("powershell"), [ + await new toolrunner.ToolRunner(await io.which("powershell", true), [ script, ]).exec(); } diff --git a/src/tar.ts b/src/tar.ts index 93bcab202c..3f9dcec6a2 100644 --- a/src/tar.ts +++ b/src/tar.ts @@ -3,8 +3,8 @@ import * as fs from "fs"; import * as stream from "stream"; import { ToolRunner } from "@actions/exec/lib/toolrunner"; +import * as io from "@actions/io"; import * as toolcache from "@actions/tool-cache"; -import { safeWhich } from "@chrisgavin/safe-which"; import { CommandInvocationError } from "./actions-util"; import { Logger } from "./logging"; @@ -19,7 +19,7 @@ export type TarVersion = { }; async function getTarVersion(): Promise { - const tar = await safeWhich("tar"); + const tar = await io.which("tar", true); let stdout = ""; const exitCode = await new ToolRunner(tar, ["--version"], { listeners: { diff --git a/src/util.ts b/src/util.ts index 2ed17a4ab4..3672797399 100644 --- a/src/util.ts +++ b/src/util.ts @@ -5,7 +5,7 @@ import { promisify } from "util"; import * as core from "@actions/core"; import * as exec from "@actions/exec/lib/exec"; -import { safeWhich } from "@chrisgavin/safe-which"; +import * as io from "@actions/io"; import checkDiskSpace from "check-disk-space"; import del from "del"; import getFolderSize from "get-folder-size"; @@ -1194,7 +1194,7 @@ export async function isBinaryAccessible( logger: Logger, ): Promise { try { - await safeWhich(binary); + await io.which(binary, true); logger.debug(`Found ${binary}.`); return true; } catch (e) { From 7d6d36ce5f3654bed1de7eb8600c22e3a12910a4 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 19 Dec 2024 14:48:14 +0000 Subject: [PATCH 002/132] Add changelog note --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddc1223496..d2394e79c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the ## [UNRELEASED] - Bump the minimum CodeQL bundle version to 2.15.5. [#2655](https://github.com/github/codeql-action/pull/2655) +- Don't fail in the unusual case that a file is on the search path. [#2660](https://github.com/github/codeql-action/pull/2660). ## 3.27.9 - 12 Dec 2024 From 4946b765dee77596c258fee1bc1f8c5a86cb45a2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:16:34 +0000 Subject: [PATCH 003/132] Update changelog for v3.28.0 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2394e79c7..083550e87f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers. -## [UNRELEASED] +## 3.28.0 - 20 Dec 2024 - Bump the minimum CodeQL bundle version to 2.15.5. [#2655](https://github.com/github/codeql-action/pull/2655) - Don't fail in the unusual case that a file is on the search path. [#2660](https://github.com/github/codeql-action/pull/2660). From 2012e4b9c6fdbb93719d3d46fca057b02b4b44a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:50:12 +0000 Subject: [PATCH 004/132] Update changelog and version after v3.28.0 --- 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 083550e87f..d2fe67071e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers. +## [UNRELEASED] + +No user facing changes. + ## 3.28.0 - 20 Dec 2024 - Bump the minimum CodeQL bundle version to 2.15.5. [#2655](https://github.com/github/codeql-action/pull/2655) diff --git a/package-lock.json b/package-lock.json index 3a9bebaeae..dcdd9c1e5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.0", + "version": "3.28.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.0", + "version": "3.28.1", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index 4085e2244b..695a2e22c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.0", + "version": "3.28.1", "private": true, "description": "CodeQL action", "scripts": { From 985eb4f8f28701b7adf1e780a98f9ab6a76c3a35 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:56:44 +0000 Subject: [PATCH 005/132] 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 e25e97497d..383c4ede22 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.0", + "version": "3.28.1", "lockfileVersion": 3, "requires": true, "packages": { From 3239a39f73268cd295975495e781563b6c6fdabb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:25:15 +0000 Subject: [PATCH 006/132] build(deps-dev): bump the npm group with 2 updates Bumps the npm group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 8.18.1 to 8.18.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.2/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.18.1 to 8.18.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.2/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm ... Signed-off-by: dependabot[bot] --- package-lock.json | 168 +++++++++++++++++++++++----------------------- package.json | 4 +- 2 files changed, 86 insertions(+), 86 deletions(-) diff --git a/package-lock.json b/package-lock.json index dcdd9c1e5b..07c04d3b27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,8 +56,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.18.1", - "@typescript-eslint/parser": "^8.18.1", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", @@ -1371,17 +1371,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.1.tgz", - "integrity": "sha512-Ncvsq5CT3Gvh+uJG0Lwlho6suwDfUXH0HztslDf5I+F2wAFAZMRwYLEorumpKLzmO2suAXZ/td1tBg4NZIi9CQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.2.tgz", + "integrity": "sha512-adig4SzPLjeQ0Tm+jvsozSGiCliI2ajeURDGHjZ2llnA+A67HihCQ+a3amtPhUakd1GlwHxSRvzOZktbEvhPPg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/type-utils": "8.18.1", - "@typescript-eslint/utils": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/type-utils": "8.18.2", + "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1401,14 +1401,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz", - "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", + "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1419,9 +1419,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz", - "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", + "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", "dev": true, "license": "MIT", "engines": { @@ -1433,14 +1433,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz", - "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", + "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1460,16 +1460,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.1.tgz", - "integrity": "sha512-8vikiIj2ebrC4WRdcAdDcmnu9Q/MXXwg+STf40BVfT8exDqBCUPdypvzcUPxEqRGKg9ALagZ0UWcYCtn+4W2iQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", + "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1" + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1484,13 +1484,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz", - "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", + "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1541,16 +1541,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.1.tgz", - "integrity": "sha512-rBnTWHCdbYM2lh7hjyXqxk70wvon3p2FyaniZuey5TrcGBpfhVp0OxOa6gxr9Q9YhZFKyfbEnxc24ZnVbbUkCA==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.2.tgz", + "integrity": "sha512-y7tcq4StgxQD4mDr9+Jb26dZ+HTZ/SkfqpXSiqeUXZHxOUyjWDKsmwKhJ0/tApR08DgOhrFAoAhyB80/p3ViuA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4" }, "engines": { @@ -1566,14 +1566,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz", - "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", + "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1584,9 +1584,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz", - "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", + "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", "dev": true, "license": "MIT", "engines": { @@ -1598,14 +1598,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz", - "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", + "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1625,13 +1625,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz", - "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", + "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1700,14 +1700,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.1.tgz", - "integrity": "sha512-jAhTdK/Qx2NJPNOTxXpMwlOiSymtR2j283TtPqXkKBdH8OAMmhiUfP0kJjc/qSE51Xrq02Gj9NY7MwK+UxVwHQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.2.tgz", + "integrity": "sha512-AB/Wr1Lz31bzHfGm/jgbFR0VB0SML/hd2P1yxzKDM48YmP7vbyJNHRExUE/wZsQj2wUCvbWH8poNHFuxLqCTnA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.1", - "@typescript-eslint/utils": "8.18.1", + "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/utils": "8.18.2", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1724,14 +1724,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz", - "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", + "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1742,9 +1742,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz", - "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", + "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", "dev": true, "license": "MIT", "engines": { @@ -1756,14 +1756,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz", - "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", + "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1783,16 +1783,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.1.tgz", - "integrity": "sha512-8vikiIj2ebrC4WRdcAdDcmnu9Q/MXXwg+STf40BVfT8exDqBCUPdypvzcUPxEqRGKg9ALagZ0UWcYCtn+4W2iQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", + "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1" + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1807,13 +1807,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz", - "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", + "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "engines": { diff --git a/package.json b/package.json index 695a2e22c5..d573531ed6 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.18.1", - "@typescript-eslint/parser": "^8.18.1", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", From dd5146d090a32534f80f6ca6b1fdbb0639b95ce5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:26:07 +0000 Subject: [PATCH 007/132] Update checked-in dependencies --- node_modules/.package-lock.json | 164 +++++++++--------- .../rules/consistent-indexed-object-style.js | 23 ++- .../consistent-indexed-object-style.js.map | 2 +- .../dist/rules/consistent-type-assertions.js | 1 - .../rules/consistent-type-assertions.js.map | 2 +- .../eslint-plugin/dist/rules/no-deprecated.js | 15 +- .../dist/rules/no-deprecated.js.map | 2 +- .../dist/rules/no-unnecessary-condition.js | 46 +++-- .../rules/no-unnecessary-condition.js.map | 2 +- .../rules/no-unnecessary-type-arguments.js | 74 +++++--- .../no-unnecessary-type-arguments.js.map | 2 +- .../dist/rules/no-unsafe-assignment.js | 4 +- .../dist/rules/no-unsafe-assignment.js.map | 2 +- .../dist/rules/no-unsafe-type-assertion.js | 56 ++++-- .../rules/no-unsafe-type-assertion.js.map | 2 +- .../rules/prefer-reduce-type-parameter.js | 14 +- .../rules/prefer-reduce-type-parameter.js.map | 2 +- .../docs/rules/prefer-nullish-coalescing.mdx | 2 +- .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../dist/parseSettings/createParseSettings.js | 4 +- .../parseSettings/createParseSettings.js.map | 2 +- .../dist/parseSettings/resolveProjectList.js | 4 +- .../parseSettings/resolveProjectList.js.map | 2 +- .../typescript-estree/package.json | 6 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../eslint-plugin/package.json | 14 +- .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../dist/parseSettings/createParseSettings.js | 4 +- .../parseSettings/createParseSettings.js.map | 2 +- .../dist/parseSettings/resolveProjectList.js | 4 +- .../parseSettings/resolveProjectList.js.map | 2 +- .../typescript-estree/package.json | 6 +- .../visitor-keys/package.json | 4 +- .../@typescript-eslint/parser/package.json | 10 +- .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../dist/parseSettings/createParseSettings.js | 4 +- .../parseSettings/createParseSettings.js.map | 2 +- .../dist/parseSettings/resolveProjectList.js | 4 +- .../parseSettings/resolveProjectList.js.map | 2 +- .../typescript-estree/package.json | 6 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../type-utils/package.json | 8 +- 47 files changed, 342 insertions(+), 217 deletions(-) diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 383c4ede22..5270022db7 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1303,17 +1303,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.1.tgz", - "integrity": "sha512-Ncvsq5CT3Gvh+uJG0Lwlho6suwDfUXH0HztslDf5I+F2wAFAZMRwYLEorumpKLzmO2suAXZ/td1tBg4NZIi9CQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.2.tgz", + "integrity": "sha512-adig4SzPLjeQ0Tm+jvsozSGiCliI2ajeURDGHjZ2llnA+A67HihCQ+a3amtPhUakd1GlwHxSRvzOZktbEvhPPg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/type-utils": "8.18.1", - "@typescript-eslint/utils": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/type-utils": "8.18.2", + "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1333,14 +1333,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz", - "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", + "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1351,9 +1351,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz", - "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", + "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", "dev": true, "license": "MIT", "engines": { @@ -1365,14 +1365,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz", - "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", + "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1392,16 +1392,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.1.tgz", - "integrity": "sha512-8vikiIj2ebrC4WRdcAdDcmnu9Q/MXXwg+STf40BVfT8exDqBCUPdypvzcUPxEqRGKg9ALagZ0UWcYCtn+4W2iQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", + "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1" + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1416,13 +1416,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz", - "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", + "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1473,16 +1473,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.1.tgz", - "integrity": "sha512-rBnTWHCdbYM2lh7hjyXqxk70wvon3p2FyaniZuey5TrcGBpfhVp0OxOa6gxr9Q9YhZFKyfbEnxc24ZnVbbUkCA==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.2.tgz", + "integrity": "sha512-y7tcq4StgxQD4mDr9+Jb26dZ+HTZ/SkfqpXSiqeUXZHxOUyjWDKsmwKhJ0/tApR08DgOhrFAoAhyB80/p3ViuA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4" }, "engines": { @@ -1498,14 +1498,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz", - "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", + "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1516,9 +1516,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz", - "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", + "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", "dev": true, "license": "MIT", "engines": { @@ -1530,14 +1530,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz", - "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", + "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1557,13 +1557,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz", - "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", + "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1632,14 +1632,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.1.tgz", - "integrity": "sha512-jAhTdK/Qx2NJPNOTxXpMwlOiSymtR2j283TtPqXkKBdH8OAMmhiUfP0kJjc/qSE51Xrq02Gj9NY7MwK+UxVwHQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.2.tgz", + "integrity": "sha512-AB/Wr1Lz31bzHfGm/jgbFR0VB0SML/hd2P1yxzKDM48YmP7vbyJNHRExUE/wZsQj2wUCvbWH8poNHFuxLqCTnA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.1", - "@typescript-eslint/utils": "8.18.1", + "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/utils": "8.18.2", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1656,14 +1656,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.1.tgz", - "integrity": "sha512-HxfHo2b090M5s2+/9Z3gkBhI6xBH8OJCFjH9MhQ+nnoZqxU3wNxkLT+VWXWSFWc3UF3Z+CfPAyqdCTdoXtDPCQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", + "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1674,9 +1674,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.1.tgz", - "integrity": "sha512-7uoAUsCj66qdNQNpH2G8MyTFlgerum8ubf21s3TSM3XmKXuIn+H2Sifh/ES2nPOPiYSRJWAk0fDkW0APBWcpfw==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", + "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", "dev": true, "license": "MIT", "engines": { @@ -1688,14 +1688,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.1.tgz", - "integrity": "sha512-z8U21WI5txzl2XYOW7i9hJhxoKKNG1kcU4RzyNvKrdZDmbjkmLBo8bgeiOJmA06kizLI76/CCBAAGlTlEeUfyg==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", + "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1715,16 +1715,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.1.tgz", - "integrity": "sha512-8vikiIj2ebrC4WRdcAdDcmnu9Q/MXXwg+STf40BVfT8exDqBCUPdypvzcUPxEqRGKg9ALagZ0UWcYCtn+4W2iQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", + "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1" + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1739,13 +1739,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.1.tgz", - "integrity": "sha512-Vj0WLm5/ZsD013YeUKn+K0y8p1M0jPpxOkKdbD1wB0ns53a5piVY02zjf072TblEweAbcYiFiPoSMF3kp+VhhQ==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", + "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "engines": { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js index 02e9340279..43f72b0f1a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js @@ -11,8 +11,11 @@ exports.default = (0, util_1.createRule)({ recommended: 'stylistic', }, fixable: 'code', + // eslint-disable-next-line eslint-plugin/require-meta-has-suggestions -- suggestions are exposed through a helper. + hasSuggestions: true, messages: { preferIndexSignature: 'An index signature is preferred over a record.', + preferIndexSignatureSuggestion: 'Change into an index signature instead of a record.', preferRecord: 'A record is preferred over an index signature.', }, schema: [ @@ -86,14 +89,24 @@ exports.default = (0, util_1.createRule)({ if (params?.length !== 2) { return; } + const indexParam = params[0]; + const shouldFix = indexParam.type === utils_1.AST_NODE_TYPES.TSStringKeyword || + indexParam.type === utils_1.AST_NODE_TYPES.TSNumberKeyword || + indexParam.type === utils_1.AST_NODE_TYPES.TSSymbolKeyword; context.report({ node, messageId: 'preferIndexSignature', - fix(fixer) { - const key = context.sourceCode.getText(params[0]); - const type = context.sourceCode.getText(params[1]); - return fixer.replaceText(node, `{ [key: ${key}]: ${type} }`); - }, + ...(0, util_1.getFixOrSuggest)({ + fixOrSuggest: shouldFix ? 'fix' : 'suggest', + suggestion: { + messageId: 'preferIndexSignatureSuggestion', + fix: fixer => { + const key = context.sourceCode.getText(params[0]); + const type = context.sourceCode.getText(params[1]); + return fixer.replaceText(node, `{ [key: ${key}]: ${type} }`); + }, + }, + }), }); }, }), diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map index d5c90bb036..be718270c2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-indexed-object-style.js","sourceRoot":"","sources":["../../src/rules/consistent-indexed-object-style.ts"],"names":[],"mappings":";;AAGA,oDAAoE;AAEpE,kCAAkE;AAKlE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uCAAuC;YACpD,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAAE,gDAAgD;YACtE,YAAY,EAAE,gDAAgD;SAC/D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;gBACrD,IAAI,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;aACpC;SACF;KACF;IACD,cAAc,EAAE,CAAC,QAAQ,CAAC;IAC1B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;QACpB,SAAS,YAAY,CACnB,OAA+B,EAC/B,IAA8D,EAC9D,QAAyC,EACzC,MAAc,EACd,OAAe,EACf,OAAO,GAAG,IAAI;YAEd,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACzB,OAAO;YACT,CAAC;YACD,MAAM,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;YAEzB,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;gBACpD,OAAO;YACT,CAAC;YAED,MAAM,SAAS,GAAG,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAC1C,IAAI,SAAS,EAAE,IAAI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AS,CAAC;AACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-indexed-object-style.js","sourceRoot":"","sources":["../../src/rules/consistent-indexed-object-style.ts"],"names":[],"mappings":";;AAGA,oDAAoE;AAEpE,kCAKiB;AAQjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uCAAuC;YACpD,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,mHAAmH;QACnH,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,oBAAoB,EAAE,gDAAgD;YACtE,8BAA8B,EAC5B,qDAAqD;YACvD,YAAY,EAAE,gDAAgD;SAC/D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;gBACrD,IAAI,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;aACpC;SACF;KACF;IACD,cAAc,EAAE,CAAC,QAAQ,CAAC;IAC1B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;QACpB,SAAS,YAAY,CACnB,OAA+B,EAC/B,IAA8D,EAC9D,QAAyC,EACzC,MAAc,EACd,OAAe,EACf,OAAO,GAAG,IAAI;YAEd,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACzB,OAAO;YACT,CAAC;YACD,MAAM,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;YAEzB,IAAI,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;gBACpD,OAAO;YACT,CAAC;YAED,MAAM,SAAS,GAAG,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAC1C,IAAI,SAAS,EAAE,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;gBAClD,OAAO;YACT,CAAC;YAED,MA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S,qBAAqB,CAC5B,IAAmB;IAEnB,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QACxE,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EAAE,CAAC;YAC/D,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;QACD,OAAO,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js index 6e9c2ed28a..9e4f0f9072 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js @@ -85,7 +85,6 @@ exports.default = (0, util_1.createRule)({ enum: ['allow', 'allow-as-parameter', 'never'], }, }, - required: ['assertionStyle'], }, ], }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map index 205fc4feb0..3c0afbf164 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-type-assertions.js","sourceRoot":"","sources":["../../src/rules/consistent-type-assertions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,2DAAwD;AAoBxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EA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;YACD,eAAe,CAAC,IAAI;gBAClB,IAAI,OAAO,CAAC,cAAc,KAAK,eAAe,EAAE,CAAC;oBAC/C,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-type-assertions.js","sourceRoot":"","sources":["../../src/rules/consistent-type-assertions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,2DAAwD;AAoBxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,4CAA4C;YAC7D,EAAE,EAAE,4CAA4C;YAChD,KAAK,EAAE,iCAAiC;YACxC,wCAAwC,EACtC,0CAA0C;YAC5C,uCAAuC,EACrC,mDAAmD;YACrD,6BAA6B,EAAE,qCAAqC;SACrE;QACD,MAAM,EAAE;YACN;gBACE,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,cAAc,EAAE;gCACd,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,0CAA0C;gCACvD,IAAI,EAAE,CAAC,OAAO,CAAC;6BAChB;yBACF;wBACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;qBAC7B;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,cAAc,EAAE;g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KAAK,CAAC,eAAe,CACnB,IAAI,EACJ,cAAc,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAChE;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,+BAA+B;oBAC1C,OAAO;iBACR,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;oBACpC,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,IAAI,OAAO,CAAC,cAAc,KAAK,eAAe,EAAE,CAAC;oBAC/C,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js index bccd4730fe..a2fd30f966 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js @@ -107,8 +107,13 @@ exports.default = (0, util_1.createRule)({ case utils_1.AST_NODE_TYPES.Property: // foo in "const { foo } = bar" will be processed twice, as parent.key // and parent.value. The second is treated as a declaration. - return ((parent.shorthand && parent.value === node) || - parent.parent.type === utils_1.AST_NODE_TYPES.ObjectExpression); + if (parent.shorthand && parent.value === node) { + return parent.parent.type === utils_1.AST_NODE_TYPES.ObjectPattern; + } + if (parent.value === node) { + return false; + } + return parent.parent.type === utils_1.AST_NODE_TYPES.ObjectExpression; case utils_1.AST_NODE_TYPES.AssignmentPattern: // foo in "const { foo = "" } = bar" will be processed twice, as parent.parent.key // and parent.left. The second is treated as a declaration. @@ -258,7 +263,11 @@ exports.default = (0, util_1.createRule)({ } if (node.parent.type === utils_1.AST_NODE_TYPES.Property && node.type !== utils_1.AST_NODE_TYPES.Super) { - return getJsDocDeprecation(services.getTypeAtLocation(node.parent.parent).getProperty(node.name)); + const property = services + .getTypeAtLocation(node.parent.parent) + .getProperty(node.name); + const symbol = services.getSymbolAtLocation(node); + return getJsDocDeprecation(property) ?? getJsDocDeprecation(symbol); } return searchForDeprecationInAliasesChain(services.getSymbolAtLocation(node), true); } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map index 0f5aa1183a..df370deb6d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map @@ -1 +1 @@ -{"version":3,"file":"no-deprecated.js","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAoE;AAOpE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,6BAA6B;YACzC,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAA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,CAAC"} \ No newline at end of file +{"version":3,"file":"no-deprecated.js","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAoE;AAOpE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,6BAA6B;YACzC,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;QACnD,IAAI,gBAAgB,KAAK,MAAM,IAAI,gBAAgB,KAAK,WAAW,EAAE,CAAC;YACpE,MAAM,IAAI,KAAK,CACb,0CAA0C,gBAAgB,IAAI,CAC/D,CAAC;QACJ,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,gEAAgE;QAChE,EAAE;QACF,oCAAoC;QACpC,EAAE;QACF,0EAA0E;QAC1E,0EAA0E;QAC1E,yEAAyE;QACzE,sCAAsC;QACtC,SAAS,kCAAkC,CACzC,MAA6B,EAC7B,gCAAyC;YAEzC,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC;gBACtE,OAAO,gCAAgC;oBACrC,CAAC,CAAC,mBAAmB,CAAC,M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IAAoB;YAC3C,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC;gBACxD,OAAO;YACT,CAAC;YAED,MAAM,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;YAC1C,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;gBACnB,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;YAEtE,OAAO,CAAC,MAAM,CAAC;gBACb,GAAG,CAAC,MAAM;oBACR,CAAC,CAAC;wBACE,SAAS,EAAE,sBAAsB;wBACjC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;qBACvB;oBACH,CAAC,CAAC;wBACE,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE,EAAE,IAAI,EAAE;qBACf,CAAC;gBACN,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,UAAU,EAAE,eAAe;YAC3B,aAAa,CAAC,IAAI;gBAChB,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;oBAC1D,eAAe,CAAC,IAAI,CAAC,CAAC;gBACxB,CAAC;YACH,CAAC;YACD,KAAK,EAAE,eAAe;SACvB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js index 8c7110bb1e..f47e6db068 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js @@ -198,6 +198,7 @@ exports.default = (0, util_1.createRule)({ const checker = services.program.getTypeChecker(); const compilerOptions = services.program.getCompilerOptions(); const isStrictNullChecks = tsutils.isStrictCompilerOptionEnabled(compilerOptions, 'strictNullChecks'); + const isNoUncheckedIndexedAccess = tsutils.isCompilerOptionEnabled(compilerOptions, 'noUncheckedIndexedAccess'); if (!isStrictNullChecks && allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing !== true) { context.report({ @@ -471,22 +472,44 @@ exports.default = (0, util_1.createRule)({ // Otherwise just do type analysis on the function as a whole. const returnTypes = tsutils .getCallSignaturesOfType((0, util_1.getConstrainedTypeAtLocation)(services, callback)) - .map(sig => sig.getReturnType()); - /* istanbul ignore if */ if (returnTypes.length === 0) { - // Not a callable function + .map(sig => sig.getReturnType()) + .map(t => { + // TODO: use `getConstraintTypeInfoAtLocation` once it's merged + // https://github.com/typescript-eslint/typescript-eslint/pull/10496 + if (tsutils.isTypeParameter(t)) { + return checker.getBaseConstraintOfType(t); + } + return t; + }); + if (returnTypes.length === 0) { + // Not a callable function, e.g. `any` return; } - // Predicate is always necessary if it involves `any` or `unknown` - if (returnTypes.some(t => (0, util_1.isTypeAnyType)(t) || (0, util_1.isTypeUnknownType)(t))) { - return; + let hasFalsyReturnTypes = false; + let hasTruthyReturnTypes = false; + for (const type of returnTypes) { + // Predicate is always necessary if it involves `any` or `unknown` + if (!type || (0, util_1.isTypeAnyType)(type) || (0, util_1.isTypeUnknownType)(type)) { + return; + } + if (isPossiblyFalsy(type)) { + hasFalsyReturnTypes = true; + } + if (isPossiblyTruthy(type)) { + hasTruthyReturnTypes = true; + } + // bail early if both a possibly-truthy and a possibly-falsy have been detected + if (hasFalsyReturnTypes && hasTruthyReturnTypes) { + return; + } } - if (!returnTypes.some(isPossiblyFalsy)) { + if (!hasFalsyReturnTypes) { return context.report({ node: callback, messageId: 'alwaysTruthyFunc', }); } - if (!returnTypes.some(isPossiblyTruthy)) { + if (!hasTruthyReturnTypes) { return context.report({ node: callback, messageId: 'alwaysFalsyFunc', @@ -550,8 +573,11 @@ exports.default = (0, util_1.createRule)({ return (0, util_1.isNullableType)(propType); } const indexInfo = checker.getIndexInfosOfType(type); - return indexInfo.some(info => (0, util_1.getTypeName)(checker, info.keyType) === 'string' && - (0, util_1.isNullableType)(info.type)); + return indexInfo.some(info => { + const isStringTypeName = (0, util_1.getTypeName)(checker, info.keyType) === 'string'; + return (isStringTypeName && + (isNoUncheckedIndexedAccess || (0, util_1.isNullableType)(info.type))); + }); }); return !isOwnNullable && (0, util_1.isNullableType)(prevType); } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map index f029d48558..52029b1336 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAciB;AACjB,2EAGwC;AAExC,uBAAuB;AACvB,UAAU;AACV,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE;IAC/C,OAAO,CACL,OAAO,CAAC,aAAa,CAAC,IAAI,C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ACD,cAAc,EAAE,mBAAmB;YACnC,iCAAiC,EAAE,2BAA2B;YAC9D,qBAAqB,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3D,gBAAgB,EAAE,iCAAiC;YACnD,YAAY,EAAE,iCAAiC;YAC/C,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,iBAAiB,EAAE,gDAAgD;YACnE,mCAAmC,EAAE,6BAA6B;YAClE,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAciB;AACjB,2EAGwC;AAExC,uBAAuB;AACvB,UAAU;AACV,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,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C;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js index 1bbf4f9aee..63e77bebc0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js @@ -33,6 +33,7 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); const util_1 = require("../util"); @@ -106,7 +107,7 @@ exports.default = (0, util_1.createRule)({ return { TSTypeParameterInstantiation(node) { const expression = services.esTreeNodeToTSNodeMap.get(node); - const typeParameters = getTypeParametersFromNode(expression, checker); + const typeParameters = getTypeParametersFromNode(node, expression, checker); if (typeParameters) { checkTSArgsAndParameters(node, typeParameters); } @@ -114,21 +115,21 @@ exports.default = (0, util_1.createRule)({ }; }, }); -function getTypeParametersFromNode(node, checker) { - if (ts.isExpressionWithTypeArguments(node)) { - return getTypeParametersFromType(node.expression, checker); +function getTypeParametersFromNode(node, tsNode, checker) { + if (ts.isExpressionWithTypeArguments(tsNode)) { + return getTypeParametersFromType(node, tsNode.expression, checker); } - if (ts.isTypeReferenceNode(node)) { - return getTypeParametersFromType(node.typeName, checker); + if (ts.isTypeReferenceNode(tsNode)) { + return getTypeParametersFromType(node, tsNode.typeName, checker); } - if (ts.isCallExpression(node) || - ts.isNewExpression(node) || - ts.isTaggedTemplateExpression(node)) { - return getTypeParametersFromCall(node, checker); + if (ts.isCallExpression(tsNode) || + ts.isNewExpression(tsNode) || + ts.isTaggedTemplateExpression(tsNode)) { + return getTypeParametersFromCall(node, tsNode, checker); } return undefined; } -function getTypeParametersFromType(type, checker) { +function getTypeParametersFromType(node, type, checker) { const symAtLocation = checker.getSymbolAtLocation(type); if (!symAtLocation) { return undefined; @@ -138,18 +139,26 @@ function getTypeParametersFromType(type, checker) { if (!declarations) { return undefined; } - return (0, util_1.findFirstResult)(declarations, decl => ts.isClassLike(decl) || - ts.isTypeAliasDeclaration(decl) || - ts.isInterfaceDeclaration(decl) - ? decl.typeParameters - : undefined); + const sortedDeclaraions = sortDeclarationsByTypeValueContext(node, declarations); + return (0, util_1.findFirstResult)(sortedDeclaraions, decl => { + if (ts.isTypeAliasDeclaration(decl) || + ts.isInterfaceDeclaration(decl) || + ts.isClassLike(decl)) { + return decl.typeParameters; + } + if (ts.isVariableDeclaration(decl)) { + return getConstructSignatureDeclaration(symAtLocation, checker) + ?.typeParameters; + } + return undefined; + }); } -function getTypeParametersFromCall(node, checker) { - const sig = checker.getResolvedSignature(node); +function getTypeParametersFromCall(node, tsNode, checker) { + const sig = checker.getResolvedSignature(tsNode); const sigDecl = sig?.getDeclaration(); if (!sigDecl) { - return ts.isNewExpression(node) - ? getTypeParametersFromType(node.expression, checker) + return ts.isNewExpression(tsNode) + ? getTypeParametersFromType(node, tsNode.expression, checker) : undefined; } return sigDecl.typeParameters; @@ -159,4 +168,29 @@ function getAliasedSymbol(symbol, checker) { ? checker.getAliasedSymbol(symbol) : symbol; } +function isInTypeContext(node) { + return (node.parent.type === utils_1.AST_NODE_TYPES.TSInterfaceHeritage || + node.parent.type === utils_1.AST_NODE_TYPES.TSTypeReference || + node.parent.type === utils_1.AST_NODE_TYPES.TSClassImplements); +} +function isTypeContextDeclaration(decl) { + return ts.isTypeAliasDeclaration(decl) || ts.isInterfaceDeclaration(decl); +} +function typeFirstCompare(declA, declB) { + const aIsType = isTypeContextDeclaration(declA); + const bIsType = isTypeContextDeclaration(declB); + return Number(bIsType) - Number(aIsType); +} +function sortDeclarationsByTypeValueContext(node, declarations) { + const sorted = [...declarations].sort(typeFirstCompare); + if (isInTypeContext(node)) { + return sorted; + } + return sorted.reverse(); +} +function getConstructSignatureDeclaration(symbol, checker) { + const type = checker.getTypeOfSymbol(symbol); + const sig = type.getConstructSignatures(); + return sig.at(0)?.getDeclaration(); +} //# sourceMappingURL=no-unnecessary-type-arguments.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map index dd47794c26..d7bba2312c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-arguments.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-arguments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAejB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uDAAuD;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,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,CAAC;YACrD,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,OAAO,OAAO,CAAC,cAAc,CAAC;AAChC,CAAC;AAED,SAAS,gBAAgB,CACvB,MAAiB,EACjB,OAAuB;IAEvB,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;QAC1D,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;QAClC,CAAC,CAAC,MAAM,CAAC;AACb,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-arguments.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-arguments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAejB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uDAAuD;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,oBAAoB,CAAC,IAAa;YAIzC,IAAI,IAAA,0BAAmB,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,OAAO;oBACL,IAAI,EAAE,IAAI,CAAC,MAAM;oBACjB,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC;iBAC9C,CAAC;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AAC;IACxD,IAAI,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,OAAO,MAAM,CAAC,OAAO,EAAE,CAAC;AAC1B,CAAC;AAED,SAAS,gCAAgC,CACvC,MAAiB,EACjB,OAAuB;IAEvB,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;IAC1C,OAAO,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js index aa35a0d7fd..4a2401ce00 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js @@ -191,8 +191,8 @@ exports.default = (0, util_1.createRule)({ function checkAssignment(receiverNode, senderNode, reportingNode, comparisonType) { const receiverTsNode = services.esTreeNodeToTSNodeMap.get(receiverNode); const receiverType = comparisonType === 2 /* ComparisonType.Contextual */ - ? (0, util_1.getContextualType)(checker, receiverTsNode) ?? - services.getTypeAtLocation(receiverNode) + ? ((0, util_1.getContextualType)(checker, receiverTsNode) ?? + services.getTypeAtLocation(receiverNode)) : services.getTypeAtLocation(receiverNode); const senderType = services.getTypeAtLocation(senderNode); if ((0, util_1.isTypeAnyType)(senderType)) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map index a81e758638..a11d3b8bfa 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-assignment.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-assignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAYiB;AAWjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,wEAAwE;YAC1E,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EAAE,2CAA2C;YAC1D,iBAAiB,EAAE;gBACjB,qEAAqE;gBACrE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,kBAAkB,EAChB,0DAA0D;YAC5D,2BAA2B,EACzB,yEAAyE;YAC3E,iBAAiB,EAAE,mDAAmD;YACtE,gBAAgB,EACd,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,0CAA0C;QAC1C,SAAS,2BAA2B,CAClC,YAA2B,EAC3B,UAAyB;YAEzB,IAAI,YAAY,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;gBACtD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,MAAM,YAAY,GAAG,QAA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AAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBACpD,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC3D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,eAAe,CACb,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,oCAEjB,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-assignment.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-assignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AAExC,kCAYiB;AAWjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,wEAAwE;YAC1E,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EAAE,2CAA2C;YAC1D,iBAAiB,EAAE;gBACjB,qEAAqE;gBACrE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,kBAAkB,EAChB,0DAA0D;YAC5D,2BAA2B,EACzB,yEAAyE;YAC3E,iBAAiB,EAAE,mDAAmD;YACtE,gBAAgB,EACd,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,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C9B,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC;qBAC3B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,6BAA6B,CAAC,IAA2B;gBACvD,MAAM,KAAK,GAAG,IAAA,iBAAU,EACtB,IAAI,CAAC,KAAK,EACV,wBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CACnD,CAAC;gBACF,IACE,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBACpD,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC3D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,eAAe,CACb,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,oCAEjB,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js index 719bfc9543..e4164deb8d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js @@ -47,7 +47,9 @@ exports.default = (0, util_1.createRule)({ messages: { unsafeOfAnyTypeAssertion: 'Unsafe assertion from {{type}} detected: consider using type guards or a safer assertion.', unsafeToAnyTypeAssertion: 'Unsafe assertion to {{type}} detected: consider using a more specific type to ensure safety.', + unsafeToUnconstrainedTypeAssertion: "Unsafe type assertion: '{{type}}' could be instantiated with an arbitrary type which could be unrelated to the original type.", unsafeTypeAssertion: "Unsafe type assertion: type '{{type}}' is more narrow than the original type.", + unsafeTypeAssertionAssignableToConstraint: "Unsafe type assertion: the original type is assignable to the constraint of type '{{type}}', but '{{type}}' could be instantiated with a different subtype of its constraint.", }, schema: [], }, @@ -63,8 +65,8 @@ exports.default = (0, util_1.createRule)({ tsutils.isObjectFlagSet(type, ts.ObjectFlags.ObjectLiteral)); } function checkExpression(node) { - const expressionType = (0, util_1.getConstrainedTypeAtLocation)(services, node.expression); - const assertedType = (0, util_1.getConstrainedTypeAtLocation)(services, node.typeAnnotation); + const expressionType = services.getTypeAtLocation(node.expression); + const assertedType = services.getTypeAtLocation(node.typeAnnotation); if (expressionType === assertedType) { return; } @@ -103,19 +105,49 @@ exports.default = (0, util_1.createRule)({ } // Use the widened type in case of an object literal so `isTypeAssignableTo()` // won't fail on excess property check. - const nodeWidenedType = isObjectLiteralType(expressionType) + const expressionWidenedType = isObjectLiteralType(expressionType) ? checker.getWidenedType(expressionType) : expressionType; - const isAssertionSafe = checker.isTypeAssignableTo(nodeWidenedType, assertedType); - if (!isAssertionSafe) { - context.report({ - node, - messageId: 'unsafeTypeAssertion', - data: { - type: checker.typeToString(assertedType), - }, - }); + const isAssertionSafe = checker.isTypeAssignableTo(expressionWidenedType, assertedType); + if (isAssertionSafe) { + return; + } + // Produce a more specific error message when targeting a type parameter + if (tsutils.isTypeParameter(assertedType)) { + const assertedTypeConstraint = checker.getBaseConstraintOfType(assertedType); + if (!assertedTypeConstraint) { + // asserting to an unconstrained type parameter is unsafe + context.report({ + node, + messageId: 'unsafeToUnconstrainedTypeAssertion', + data: { + type: checker.typeToString(assertedType), + }, + }); + return; + } + // special case message if the original type is assignable to the + // constraint of the target type parameter + const isAssignableToConstraint = checker.isTypeAssignableTo(expressionWidenedType, assertedTypeConstraint); + if (isAssignableToConstraint) { + context.report({ + node, + messageId: 'unsafeTypeAssertionAssignableToConstraint', + data: { + type: checker.typeToString(assertedType), + }, + }); + return; + } } + // General error message + context.report({ + node, + messageId: 'unsafeTypeAssertion', + data: { + type: checker.typeToString(assertedType), + }, + }); } return { 'TSAsExpression, TSTypeAssertion'(node) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map index 677c7cd2e8..7be1b399b2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAOiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,wBAAwB,EACtB,2FAA2F;YAC7F,wBAAwB,EACtB,8FAA8F;YAChG,mBAAmB,EACjB,+EAA+E;SAClF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,cAAc,CAAC,IAAa;YACnC,OAAO,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;QACtE,CAAC;QAED,SAAS,mBAAmB,CAAC,IAAa;YACxC,OAAO,CACL,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;gBAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,aAAa,CAAC,CAC5D,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CACtB,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vC,MAAM,eAAe,GAAG,mBAAmB,CAAC,cAAc,CAAC;gBACzD,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC;gBACxC,CAAC,CAAC,cAAc,CAAC;YAEnB,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAChD,eAAe,EACf,YAAY,CACb,CAAC;YAEF,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI;oBACJ,SAAS,EAAE,qBAAqB;oBAChC,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC;qBACzC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,wBAAwB,EACtB,2FAA2F;YAC7F,wBAAwB,EACtB,8FAA8F;YAChG,kCAAkC,EAChC,+HAA+H;YACjI,mBAAmB,EACjB,+EAA+E;YACjF,yCAAyC,EACvC,+KAA+K;SAClL;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,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IAAI,wBAAwB,EAAE,CAAC;oBAC7B,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,2CAA2C;wBACtD,IAAI,EAAE;4BACJ,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC;yBACzC;qBACF,CAAC,CAAC;oBACH,OAAO;gBACT,CAAC;YACH,CAAC;YAED,wBAAwB;YACxB,OAAO,CAAC,MAAM,CAAC;gBACb,IAAI;gBACJ,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC;iBACzC;aACF,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,iCAAiC,CAC/B,IAAwD;gBAExD,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js index bf4f524cea..692d1f028c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js @@ -67,7 +67,19 @@ exports.default = (0, util_1.createRule)({ return; } const [, secondArg] = callee.parent.arguments; - if (callee.parent.arguments.length < 2 || !(0, util_1.isTypeAssertion)(secondArg)) { + if (callee.parent.arguments.length < 2) { + return; + } + if ((0, util_1.isTypeAssertion)(secondArg)) { + const initializerType = services.getTypeAtLocation(secondArg.expression); + const assertedType = services.getTypeAtLocation(secondArg.typeAnnotation); + const isAssertionNecessary = !checker.isTypeAssignableTo(initializerType, assertedType); + // don't report this if the resulting fix will be a type error + if (isAssertionNecessary) { + return; + } + } + else { return; } // Get the symbol of the `reduce` method. diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map index 90ff596d5f..da7b5a775a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-reduce-type-parameter.js","sourceRoot":"","sources":["../../src/rules/prefer-reduce-type-parameter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sDAAwC;AAExC,kCAMiB;AAMjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,4FAA4F;YAC9F,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,mBAAmB,EACjB,qFAAqF;SACxF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,WAAW,CAAC,IAAa;YAChC,OAAO,OAAO;iBACX,cAAc,CAAC,IAAI,CAAC;iBACpB,KAAK,CAAC,SAAS,CAAC,EAAE,CACjB,OAAO;iBACJ,qBAAqB,CAAC,SAAS,CAAC;iBAChC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAChE,CAAC;QACN,CAAC;QAED,OAAO;YACL,0CAA0C,CACxC,MAAgD;gBAE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C;oBAEH,OAAO;gBACT,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-reduce-type-parameter.js","sourceRoot":"","sources":["../../src/rules/prefer-reduce-type-parameter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sDAAwC;AAExC,kCAMiB;AAMjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,4FAA4F;YAC9F,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,mBAAmB,EACjB,qFAAqF;SACxF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,WAAW,CAAC,IAAa;YAChC,OAAO,OAAO;iBACX,cAAc,CAAC,IAAI,CAAC;iBACpB,KAAK,CAAC,SAAS,CAAC,EAAE,CACjB,OAAO;iBACJ,qBAAqB,CAAC,SAAS,CAAC;iBAChC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAChE,CAAC;QACN,CAAC;QAED,OAAO;YACL,0CAA0C,CACxC,MAAgD;gBAEhD,IAAI,CAAC,IAAA,kCAA2B,EAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;oBAC5D,OAAO;gBACT,CAAC;gBAED,MAAM,CAAC,EAAE,SAAS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C,MAAM,CAAC,aAAa,EAAE,CAAC;gCACjC,KAAK,CAAC,IAAI,CACR,KAAK,CAAC,eAAe,CACnB,MAAM,EACN,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,CAC5D,CACF,CAAC;4BACJ,CAAC;4BAED,OAAO,KAAK,CAAC;wBACf,CAAC;qBACF,CAAC,CAAC;oBAEH,OAAO;gBACT,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx index 2c8e1ed65d..f1c1565780 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx @@ -102,7 +102,7 @@ while (a ?? b) {} while ((a ??= b)) {} do {} while (a ?? b); for (let i = 0; a ?? b; i += 1) {} -a ?? b ? true : false; +(a ?? b) ? true : false; ``` ### `ignoreMixedLogicalExpressions` diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json index 2c49bda321..f91543e081 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.18.1", + "version": "8.18.2", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.18.1", + "@typescript-eslint/typescript-estree": "8.18.2", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json index 9c2cbeee2b..8b84acea4c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.18.1", + "version": "8.18.2", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 22f93b8f5c..27ec844fae 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -139,8 +139,8 @@ function createParseSettings(code, tsestreeOptions = {}) { tokens: tsestreeOptions.tokens === true ? [] : null, tsconfigMatchCache: (TSCONFIG_MATCH_CACHE ??= new ExpiringCache_1.ExpiringCache(singleRun ? 'Infinity' - : tsestreeOptions.cacheLifetime?.glob ?? - ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)), + : (tsestreeOptions.cacheLifetime?.glob ?? + ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS))), tsconfigRootDir, }; // debug doesn't support multiple `enable` calls, so have to do it all at once diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index d63d803e3c..2f667cd715 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,EAAE,kBAAkB;IAC3D,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,EAAE,gBAAgB;IACvD,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS;CACjC,CAAC;AACX,+DAA+D;AAE/D,SAAgB,mBAAmB,CACjC,IAA4B,EAC5B,kBAA4C,EAAE;IAE9C,MAAM,YAAY,GAAG,iBAAiB,CAAC,IA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AAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAg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AI,IAAI;QACxC,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC;QACjC,aAAa,CAAC,QAAQ,IAAI,IAAI;QAC9B,aAAa,CAAC,cAAc,IAAI,IAAI,EACpC,CAAC;QACD,aAAa,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC9D,CAAC;IAED,IAAA,uCAAkB,EAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js index 25bb0d74fe..55930e2fbd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js @@ -48,8 +48,8 @@ function resolveProjectList(options) { // try to do complicated setups, so we'll deal with this later if ever. RESOLUTION_CACHE = new ExpiringCache_1.ExpiringCache(options.singleRun ? 'Infinity' - : options.cacheLifetime?.glob ?? - ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS); + : (options.cacheLifetime?.glob ?? + ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)); } else { const cached = RESOLUTION_CACHE.get(cacheKey); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map index e054010809..ff4ddfbc9d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map @@ -1 +1 @@ -{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OA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,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;IAED,MAAM,uBAAuB,GAAG,CAC9B,OAAO,CAAC,uBAAuB,IAAI,CAAC,oBAAoB,CAAC,CAC1D;SACE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,MAAM,KAAK,QAAQ,CAAC;QAC7C,qCAAqC;SACpC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,C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e;YAC5B,MAAM,EAAE,uBAAuB;SAChC,CAAC,CACH,CAAC;IACJ,CAAC;IAED,MAAM,2BAA2B,GAAG,IAAI,GAAG,CACzC,CAAC,GAAG,eAAe,EAAE,GAAG,gBAAgB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACvD,IAAA,6BAAoB,EAClB,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CACrD;QACD,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC;KACrD,CAAC,CACH,CAAC;IAEF,GAAG,CACD,gEAAgE,EAChE,2BAA2B,CAC5B,CAAC;IAEF,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;IAC5D,OAAO,2BAA2B,CAAC;AACrC,CAAC;AAED,SAAS,OAAO,CAAC,EACf,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json index 40080b2878..5c64ff4d89 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.18.1", + "version": "8.18.2", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json index e328e5bace..eb7ac9a7e2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.18.1", + "version": "8.18.2", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1" + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json index b10b4730e1..3fbd201bd0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.18.1", + "version": "8.18.2", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index efce361339..31468fa080 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "8.18.1", + "version": "8.18.2", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -61,10 +61,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/type-utils": "8.18.1", - "@typescript-eslint/utils": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/type-utils": "8.18.2", + "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -75,8 +75,8 @@ "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "8.18.1", - "@typescript-eslint/rule-tester": "8.18.1", + "@typescript-eslint/rule-schema-to-typescript-types": "8.18.2", + "@typescript-eslint/rule-tester": "8.18.2", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json index 2c49bda321..f91543e081 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.18.1", + "version": "8.18.2", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.18.1", + "@typescript-eslint/typescript-estree": "8.18.2", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json index 9c2cbeee2b..8b84acea4c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.18.1", + "version": "8.18.2", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 22f93b8f5c..27ec844fae 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -139,8 +139,8 @@ function createParseSettings(code, tsestreeOptions = {}) { tokens: tsestreeOptions.tokens === true ? [] : null, tsconfigMatchCache: (TSCONFIG_MATCH_CACHE ??= new ExpiringCache_1.ExpiringCache(singleRun ? 'Infinity' - : tsestreeOptions.cacheLifetime?.glob ?? - ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)), + : (tsestreeOptions.cacheLifetime?.glob ?? + ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS))), tsconfigRootDir, }; // debug doesn't support multiple `enable` calls, so have to do it all at once diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index d63d803e3c..2f667cd715 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAg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xC,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC;QACjC,aAAa,CAAC,QAAQ,IAAI,IAAI;QAC9B,aAAa,CAAC,cAAc,IAAI,IAAI,EACpC,CAAC;QACD,aAAa,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC9D,CAAC;IAED,IAAA,uCAAkB,EAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CA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,OAAO,EAAE,IAAA,6CAAqB,EAAC,aAAa,EAAE,eAAe,CAAC,OAAO,CAAC;YACtE,uBAAuB,EAAE,eAAe,CAAC,uBAAuB;YAChE,SAAS,EAAE,aAAa,CAAC,SAAS;YAClC,eAAe;SAChB,CAAC,CAAC;IACL,CAAC;IAED,yFAAyF;IACzF,yEAAyE;IACzE,IACE,eAAe,CAAC,gBAAgB,IAAI,IAAI;QACxC,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC;QACjC,aAAa,CAAC,QAAQ,IAAI,IAAI;QAC9B,aAAa,CAAC,cAAc,IAAI,IAAI,EACpC,CAAC;QACD,aAAa,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC9D,CAAC;IAED,IAAA,uCAAkB,EAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js index 25bb0d74fe..55930e2fbd 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js @@ -48,8 +48,8 @@ function resolveProjectList(options) { // try to do complicated setups, so we'll deal with this later if ever. RESOLUTION_CACHE = new ExpiringCache_1.ExpiringCache(options.singleRun ? 'Infinity' - : options.cacheLifetime?.glob ?? - ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS); + : (options.cacheLifetime?.glob ?? + ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)); } else { const cached = RESOLUTION_CACHE.get(cacheKey); diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map index e054010809..ff4ddfbc9d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map @@ -1 +1 @@ -{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBA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+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;IAED,MAAM,uBAAu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-estree/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json index 40080b2878..5c64ff4d89 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.18.1", + "version": "8.18.2", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json index b10b4730e1..3fbd201bd0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.18.1", + "version": "8.18.2", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index 73f1c49818..e2f35b5537 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "8.18.1", + "version": "8.18.2", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -53,10 +53,10 @@ "typescript": ">=4.8.4 <5.8.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json index 2c49bda321..f91543e081 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.18.1", + "version": "8.18.2", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1" + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.18.1", + "@typescript-eslint/typescript-estree": "8.18.2", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json index 9c2cbeee2b..8b84acea4c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.18.1", + "version": "8.18.2", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 22f93b8f5c..27ec844fae 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -139,8 +139,8 @@ function createParseSettings(code, tsestreeOptions = {}) { tokens: tsestreeOptions.tokens === true ? [] : null, tsconfigMatchCache: (TSCONFIG_MATCH_CACHE ??= new ExpiringCache_1.ExpiringCache(singleRun ? 'Infinity' - : tsestreeOptions.cacheLifetime?.glob ?? - ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)), + : (tsestreeOptions.cacheLifetime?.glob ?? + ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS))), tsconfigRootDir, }; // debug doesn't support multiple `enable` calls, so have to do it all at once diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index d63d803e3c..2f667cd715 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,EAAE,kBAAkB;IAC3D,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,EAAE,gBAAgB;IACvD,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS;CACjC,CAAC;AACX,+DAA+D;AAE/D,SAAgB,mBAAmB,CACjC,IAA4B,EAC5B,kBAA4C,EAAE;IAE9C,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAA,+BAAc,EAAC,eAAe,CAAC,CAAC;IAClD,MAAM,eAAe,GACnB,OAAO,eAAe,CAAC,eAAe,KAAK,QAAQ;QACjD,CAAC,CAAC,eAAe,CAAC,eAAe;QACjC,CAAC,CAAC,OAAO,CAAC,GAAG,EAA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S,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js index 25bb0d74fe..55930e2fbd 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js @@ -48,8 +48,8 @@ function resolveProjectList(options) { // try to do complicated setups, so we'll deal with this later if ever. RESOLUTION_CACHE = new ExpiringCache_1.ExpiringCache(options.singleRun ? 'Infinity' - : options.cacheLifetime?.glob ?? - ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS); + : (options.cacheLifetime?.glob ?? + ExpiringCache_1.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)); } else { const cached = RESOLUTION_CACHE.get(cacheKey); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map index e054010809..ff4ddfbc9d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map @@ -1 +1 @@ -{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;IAED,MAAM,uBAAuB,GAAG,CAC9B,OAAO,CAAC,uBAAuB,IAAI,CAAC,oBAAoB,CAAC,CAC1D;SACE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,MAAM,KAAK,QAAQ,CAAC;QAC7C,qCAAqC;SACpC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC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;IAED,MAAM,2BAA2B,GAAG,IAAI,GAAG,CACzC,CAAC,GAAG,eAAe,EAAE,GAAG,gBAAgB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACvD,IAAA,6BAAoB,EAClB,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CACrD;QACD,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC;KACrD,CAAC,CACH,CAAC;IAEF,GAAG,CACD,gEAAgE,EAChE,2BAA2B,CAC5B,CAAC;IAEF,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;IAC5D,OAAO,2BAA2B,CAAC;AACrC,CAAC;AAED,SAAS,OAAO,CAAC,EACf,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEh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,OAAO,2BAA2B,CAAC;AACrC,CAAC;AAED,SAAS,OAAO,CAAC,EACf,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json index 40080b2878..5c64ff4d89 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.18.1", + "version": "8.18.2", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/visitor-keys": "8.18.1", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/visitor-keys": "8.18.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json index e328e5bace..eb7ac9a7e2 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.18.1", + "version": "8.18.2", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.1", - "@typescript-eslint/types": "8.18.1", - "@typescript-eslint/typescript-estree": "8.18.1" + "@typescript-eslint/scope-manager": "8.18.2", + "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/typescript-estree": "8.18.2" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json index b10b4730e1..3fbd201bd0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.18.1", + "version": "8.18.2", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.1", + "@typescript-eslint/types": "8.18.2", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index 5e9c84f4fb..3e156a83bb 100644 --- a/node_modules/@typescript-eslint/type-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "8.18.1", + "version": "8.18.2", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,8 +46,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.1", - "@typescript-eslint/utils": "8.18.1", + "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/utils": "8.18.2", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -57,7 +57,7 @@ }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "8.18.1", + "@typescript-eslint/parser": "8.18.2", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", From d43af810ecd5ba04949d58b1bdc7412c669b6587 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:33:15 +0000 Subject: [PATCH 008/132] build(deps): bump actions/create-github-app-token in the actions group Bumps the actions group with 1 update: [actions/create-github-app-token](https://github.com/actions/create-github-app-token). Updates `actions/create-github-app-token` from 1.11.0 to 1.11.1 - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/5d869da34e18e7287c1daad50e0b8ea0f506ce69...c1a285145b9d317df6ced56c09f525b5c2b6f755) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/post-release-mergeback.yml | 2 +- .github/workflows/update-release-branch.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-release-mergeback.yml b/.github/workflows/post-release-mergeback.yml index e94352c200..f6896fb22b 100644 --- a/.github/workflows/post-release-mergeback.yml +++ b/.github/workflows/post-release-mergeback.yml @@ -164,7 +164,7 @@ jobs: --draft - name: Generate token - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 + uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 id: app-token with: app-id: ${{ vars.AUTOMATION_APP_ID }} diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index c9ced18ab9..cac2c67b10 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -116,7 +116,7 @@ jobs: TARGET_BRANCH: ${{ matrix.target_branch }} steps: - name: Generate token - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 + uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 id: app-token with: app-id: ${{ vars.AUTOMATION_APP_ID }} From 1e7001479ff4f704450f051479491eb90c37a55c Mon Sep 17 00:00:00 2001 From: Sid Shankar Date: Mon, 23 Dec 2024 19:36:22 +0000 Subject: [PATCH 009/132] Adds new doc URL for build modes --- src/doc-url.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc-url.ts b/src/doc-url.ts index 77431e1c4a..59096fde78 100644 --- a/src/doc-url.ts +++ b/src/doc-url.ts @@ -9,4 +9,5 @@ export enum DocUrl { SCANNING_ON_PUSH = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#scanning-on-push", SPECIFY_BUILD_STEPS_MANUALLY = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-specifying-build-steps-manually", TRACK_CODE_SCANNING_ALERTS_ACROSS_RUNS = "https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs", + CODEQL_BUILD_MODES = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#codeql-build-modes", } From 0a7d6c210bf9e3a235be418693b1188ad75c0a88 Mon Sep 17 00:00:00 2001 From: Sid Shankar Date: Mon, 23 Dec 2024 19:38:43 +0000 Subject: [PATCH 010/132] Improves autobuilder log message --- src/autobuild.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/autobuild.ts b/src/autobuild.ts index 5cb5d0d14d..7f7fd423f2 100644 --- a/src/autobuild.ts +++ b/src/autobuild.ts @@ -23,7 +23,10 @@ export async function determineAutobuildLanguages( (await codeql.supportsFeature(ToolsFeature.TraceCommandUseBuildMode))) || config.buildMode === BuildMode.Manual ) { - logger.info(`Using ${config.buildMode} build mode, nothing to autobuild.`); + logger.info( + `Using build mode "${config.buildMode}", nothing to autobuild. ` + + `See ${DocUrl.CODEQL_BUILD_MODES} for more information.`, + ); return undefined; } From a5a85242b9f048416907d5f3b57da22972a8eb2c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Dec 2024 00:14:47 +0000 Subject: [PATCH 011/132] Update supported GitHub Enterprise Server versions --- lib/api-compatibility.json | 2 +- src/api-compatibility.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api-compatibility.json b/lib/api-compatibility.json index 40789679fc..f41a476807 100644 --- a/lib/api-compatibility.json +++ b/lib/api-compatibility.json @@ -1 +1 @@ -{ "maximumVersion": "3.16", "minimumVersion": "3.11" } +{ "maximumVersion": "3.16", "minimumVersion": "3.12" } diff --git a/src/api-compatibility.json b/src/api-compatibility.json index ce2b35cad2..a56c5acaa1 100644 --- a/src/api-compatibility.json +++ b/src/api-compatibility.json @@ -1 +1 @@ -{"maximumVersion": "3.16", "minimumVersion": "3.11"} +{"maximumVersion": "3.16", "minimumVersion": "3.12"} From ea41240bed65384e7d0fe1ff7a862234da19e105 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Sun, 5 Jan 2025 11:24:42 -0800 Subject: [PATCH 012/132] Fix code scanning alert no. 1114: Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/autobuild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autobuild.ts b/src/autobuild.ts index 7f7fd423f2..30dfc46ae4 100644 --- a/src/autobuild.ts +++ b/src/autobuild.ts @@ -25,7 +25,7 @@ export async function determineAutobuildLanguages( ) { logger.info( `Using build mode "${config.buildMode}", nothing to autobuild. ` + - `See ${DocUrl.CODEQL_BUILD_MODES} for more information.`, + `See ${DocUrl.CODEQL_BUILD_MODES} for more information.`, ); return undefined; } From 5bf0e05e7bce380707adcb0d7b81ca282b7d1596 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 19:27:03 +0000 Subject: [PATCH 013/132] Rebuild --- lib/autobuild.js | 3 ++- lib/autobuild.js.map | 2 +- lib/doc-url.js | 1 + lib/doc-url.js.map | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/autobuild.js b/lib/autobuild.js index f797620faf..cb30873cfb 100644 --- a/lib/autobuild.js +++ b/lib/autobuild.js @@ -51,7 +51,8 @@ async function determineAutobuildLanguages(codeql, config, logger) { if ((config.buildMode === util_1.BuildMode.None && (await codeql.supportsFeature(tools_features_1.ToolsFeature.TraceCommandUseBuildMode))) || config.buildMode === util_1.BuildMode.Manual) { - logger.info(`Using ${config.buildMode} build mode, nothing to autobuild.`); + logger.info(`Using build mode "${config.buildMode}", nothing to autobuild. ` + + `See ${doc_url_1.DocUrl.CODEQL_BUILD_MODES} for more information.`); return undefined; } // Attempt to find a language to autobuild diff --git a/lib/autobuild.js.map b/lib/autobuild.js.map index 6888afa37c..81d9aa6730 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,kEA+FC;AAED,8CAqCC;AAED,oCAsBC;AA7KD,oDAAsC;AAEtC,iDAA6E;AAC7E,6CAAgD;AAChD,qCAA6C;AAE7C,uCAAmC;AACnC,+CAAuC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EAC1B,QAAkB,EAClB,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,IAAI,QAAQ,KAAK,oBAAQ,CAAC,GAAG,EAAE,CAAC;QAC9B,MAAM,iBAAiB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;IACD,IACE,MAAM,CAAC,SAAS;QAChB,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,6BAAY,CAAC,wBAAwB,CAAC,CAAC,EACrE,CAAC;QACD,MAAM,MAAM,CAAC,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACvD,CAAC;SAAM,CAAC;QACN,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,QAAQ,KAAK,oBAAQ,CAAC,EAAE,EAAE,CAAC;QAC7B,IAAI,CAAC,cAAc,CAAC,oBAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC"} \ No newline at end of file diff --git a/lib/doc-url.js b/lib/doc-url.js index 33ea692c03..241c52e730 100644 --- a/lib/doc-url.js +++ b/lib/doc-url.js @@ -12,5 +12,6 @@ var DocUrl; DocUrl["SCANNING_ON_PUSH"] = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#scanning-on-push"; DocUrl["SPECIFY_BUILD_STEPS_MANUALLY"] = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-specifying-build-steps-manually"; DocUrl["TRACK_CODE_SCANNING_ALERTS_ACROSS_RUNS"] = "https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs"; + DocUrl["CODEQL_BUILD_MODES"] = "https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#codeql-build-modes"; })(DocUrl || (exports.DocUrl = DocUrl = {})); //# sourceMappingURL=doc-url.js.map \ No newline at end of file diff --git a/lib/doc-url.js.map b/lib/doc-url.js.map index 7864174bf2..5c0e3e2201 100644 --- a/lib/doc-url.js.map +++ b/lib/doc-url.js.map @@ -1 +1 @@ -{"version":3,"file":"doc-url.js","sourceRoot":"","sources":["../src/doc-url.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,uHAA6G,CAAA;IAC7G,gJAAsI,CAAA;IACtI,yJAA+I,CAAA;IAC/I,qMAA2L,CAAA;IAC3L,gOAAsN,CAAA;IACtN,2PAAiP,CAAA;AACnP,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB"} \ No newline at end of file +{"version":3,"file":"doc-url.js","sourceRoot":"","sources":["../src/doc-url.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,uHAA6G,CAAA;IAC7G,gJAAsI,CAAA;IACtI,yJAA+I,CAAA;IAC/I,qMAA2L,CAAA;IAC3L,gOAAsN,CAAA;IACtN,2PAAiP,CAAA;IACjP,mMAAyL,CAAA;AAC3L,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB"} \ No newline at end of file From 97aec692113923292c8d17ae8205ca04efa06dfe Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 6 Jan 2025 11:02:05 +0000 Subject: [PATCH 014/132] Include registry type in `proxy_urls` output --- lib/start-proxy-action.js | 5 ++++- lib/start-proxy-action.js.map | 2 +- src/start-proxy-action.ts | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 0d95a3ac5e..5c52f46522 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -154,7 +154,10 @@ async function startProxy(binPath, config, logFilePath, logger) { core.setOutput("proxy_ca_certificate", config.ca.cert); const registry_urls = config.all_credentials .filter((credential) => credential.url !== undefined) - .map((credential) => credential.url); + .map((credential) => ({ + type: credential.type, + url: credential.url, + })); core.setOutput("proxy_urls", JSON.stringify(registry_urls)); } catch (error) { diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index bdb4e5dd80..6e26998891 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AA2B3B,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,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SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 71c8888b94..c7b272841d 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -174,7 +174,10 @@ async function startProxy( const registry_urls = config.all_credentials .filter((credential) => credential.url !== undefined) - .map((credential) => credential.url); + .map((credential) => ({ + type: credential.type, + url: credential.url, + })); core.setOutput("proxy_urls", JSON.stringify(registry_urls)); } catch (error) { core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`); From cf733fe86da17d37c5d398e30e181636e9c45677 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:11:56 +0000 Subject: [PATCH 015/132] build(deps): bump the npm group with 3 updates Bumps the npm group with 3 updates: [uuid](https://github.com/uuidjs/uuid), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `uuid` from 11.0.3 to 11.0.4 - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v11.0.3...v11.0.4) Updates `@typescript-eslint/eslint-plugin` from 8.18.2 to 8.19.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.19.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.18.2 to 8.19.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.19.0/packages/parser) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm ... Signed-off-by: dependabot[bot] --- package-lock.json | 177 +++++++++++++++++++++++----------------------- package.json | 6 +- 2 files changed, 92 insertions(+), 91 deletions(-) diff --git a/package-lock.json b/package-lock.json index 07c04d3b27..47ff1dc938 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "node-forge": "^1.3.1", "path": "^0.12.7", "semver": "^7.6.3", - "uuid": "^11.0.3", + "uuid": "^11.0.4", "zlib": "^1.0.5" }, "devDependencies": { @@ -56,8 +56,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.18.2", - "@typescript-eslint/parser": "^8.18.2", + "@typescript-eslint/eslint-plugin": "^8.19.0", + "@typescript-eslint/parser": "^8.19.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", @@ -1371,17 +1371,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.2.tgz", - "integrity": "sha512-adig4SzPLjeQ0Tm+jvsozSGiCliI2ajeURDGHjZ2llnA+A67HihCQ+a3amtPhUakd1GlwHxSRvzOZktbEvhPPg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.0.tgz", + "integrity": "sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/type-utils": "8.18.2", - "@typescript-eslint/utils": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/type-utils": "8.19.0", + "@typescript-eslint/utils": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1401,14 +1401,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", + "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1419,9 +1419,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", + "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", "dev": true, "license": "MIT", "engines": { @@ -1433,14 +1433,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", + "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1460,16 +1460,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", - "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", + "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1484,13 +1484,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", + "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1541,16 +1541,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.2.tgz", - "integrity": "sha512-y7tcq4StgxQD4mDr9+Jb26dZ+HTZ/SkfqpXSiqeUXZHxOUyjWDKsmwKhJ0/tApR08DgOhrFAoAhyB80/p3ViuA==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.0.tgz", + "integrity": "sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4" }, "engines": { @@ -1566,14 +1566,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", + "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1584,9 +1584,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", + "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", "dev": true, "license": "MIT", "engines": { @@ -1598,14 +1598,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", + "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1625,13 +1625,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", + "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1700,14 +1700,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.2.tgz", - "integrity": "sha512-AB/Wr1Lz31bzHfGm/jgbFR0VB0SML/hd2P1yxzKDM48YmP7vbyJNHRExUE/wZsQj2wUCvbWH8poNHFuxLqCTnA==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.0.tgz", + "integrity": "sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/utils": "8.19.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1724,14 +1724,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", + "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1742,9 +1742,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", + "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", "dev": true, "license": "MIT", "engines": { @@ -1756,14 +1756,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", + "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1783,16 +1783,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", - "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", + "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1807,13 +1807,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", + "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -7692,13 +7692,14 @@ "license": "MIT" }, "node_modules/uuid": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz", - "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.4.tgz", + "integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], + "license": "MIT", "bin": { "uuid": "dist/esm/bin/uuid" } diff --git a/package.json b/package.json index d573531ed6..b143b1be27 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "node-forge": "^1.3.1", "path": "^0.12.7", "semver": "^7.6.3", - "uuid": "^11.0.3", + "uuid": "^11.0.4", "zlib": "^1.0.5" }, "//": [ @@ -72,8 +72,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.18.2", - "@typescript-eslint/parser": "^8.18.2", + "@typescript-eslint/eslint-plugin": "^8.19.0", + "@typescript-eslint/parser": "^8.19.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", From 07a86f82ca937a80106bc636da6d70438811c290 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:12:55 +0000 Subject: [PATCH 016/132] Update checked-in dependencies --- node_modules/.package-lock.json | 171 ++++----- .../eslint-plugin/dist/rules/array-type.js | 1 + .../dist/rules/array-type.js.map | 2 +- .../dist/rules/await-thenable.js | 7 +- .../dist/rules/await-thenable.js.map | 2 +- .../rules/consistent-indexed-object-style.js | 70 +++- .../consistent-indexed-object-style.js.map | 2 +- .../dist/rules/member-ordering.js | 4 + .../dist/rules/member-ordering.js.map | 2 +- .../no-unnecessary-boolean-literal-compare.js | 10 +- ...unnecessary-boolean-literal-compare.js.map | 2 +- .../dist/rules/no-unnecessary-condition.js | 19 +- .../rules/no-unnecessary-condition.js.map | 2 +- .../dist/rules/strict-boolean-expressions.js | 71 +++- .../rules/strict-boolean-expressions.js.map | 2 +- .../dist/util/getConstraintInfo.js | 71 ++++ .../dist/util/getConstraintInfo.js.map | 1 + .../eslint-plugin/dist/util/index.js | 1 + .../eslint-plugin/dist/util/index.js.map | 2 +- .../dist/util/needsToBeAwaited.js | 13 +- .../dist/util/needsToBeAwaited.js.map | 2 +- .../docs/rules/strict-boolean-expressions.mdx | 4 + .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/package.json | 6 +- .../utils/dist/json-schema.d.ts.map | 2 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../eslint-plugin/package.json | 14 +- .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/package.json | 6 +- .../visitor-keys/package.json | 4 +- .../@typescript-eslint/parser/package.json | 10 +- .../dist/getConstrainedTypeAtLocation.d.ts | 8 +- .../getConstrainedTypeAtLocation.d.ts.map | 2 +- .../dist/getConstrainedTypeAtLocation.js | 8 +- .../dist/getConstrainedTypeAtLocation.js.map | 2 +- .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/package.json | 6 +- .../utils/dist/json-schema.d.ts.map | 2 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../type-utils/package.json | 8 +- node_modules/uuid/CHANGELOG.md | 335 ------------------ node_modules/uuid/CONTRIBUTING.md | 18 - node_modules/uuid/README.md | 45 ++- node_modules/uuid/dist/cjs-browser/md5.d.ts | 2 +- node_modules/uuid/dist/cjs-browser/parse.d.ts | 2 +- node_modules/uuid/dist/cjs-browser/rng.d.ts | 2 +- .../dist/cjs-browser/test/parse.test.d.ts | 1 - .../uuid/dist/cjs-browser/test/parse.test.js | 50 --- .../uuid/dist/cjs-browser/test/rng.test.d.ts | 1 - .../uuid/dist/cjs-browser/test/rng.test.js | 14 - .../dist/cjs-browser/test/stringify.test.d.ts | 1 - .../dist/cjs-browser/test/stringify.test.js | 23 -- .../dist/cjs-browser/test/test_constants.d.ts | 33 -- .../dist/cjs-browser/test/test_constants.js | 91 ----- .../uuid/dist/cjs-browser/test/v1.test.d.ts | 1 - .../uuid/dist/cjs-browser/test/v1.test.js | 127 ------- .../uuid/dist/cjs-browser/test/v35.test.d.ts | 1 - .../uuid/dist/cjs-browser/test/v35.test.js | 143 -------- .../uuid/dist/cjs-browser/test/v4.test.d.ts | 1 - .../uuid/dist/cjs-browser/test/v4.test.js | 60 ---- .../uuid/dist/cjs-browser/test/v6.test.d.ts | 1 - .../uuid/dist/cjs-browser/test/v6.test.js | 56 --- .../uuid/dist/cjs-browser/test/v7.test.d.ts | 1 - .../uuid/dist/cjs-browser/test/v7.test.js | 194 ---------- .../dist/cjs-browser/test/validate.test.d.ts | 1 - .../dist/cjs-browser/test/validate.test.js | 13 - .../dist/cjs-browser/test/version.test.d.ts | 1 - .../dist/cjs-browser/test/version.test.js | 20 -- node_modules/uuid/dist/cjs-browser/v1.js | 8 + node_modules/uuid/dist/cjs-browser/v35.d.ts | 4 +- node_modules/uuid/dist/cjs-browser/v4.js | 8 +- node_modules/uuid/dist/cjs-browser/v7.js | 8 + node_modules/uuid/dist/cjs/md5.d.ts | 2 +- node_modules/uuid/dist/cjs/parse.d.ts | 2 +- node_modules/uuid/dist/cjs/rng.d.ts | 2 +- node_modules/uuid/dist/cjs/sha1.d.ts | 2 +- .../uuid/dist/cjs/test/parse.test.d.ts | 1 - node_modules/uuid/dist/cjs/test/parse.test.js | 50 --- node_modules/uuid/dist/cjs/test/rng.test.d.ts | 1 - node_modules/uuid/dist/cjs/test/rng.test.js | 14 - .../uuid/dist/cjs/test/stringify.test.d.ts | 1 - .../uuid/dist/cjs/test/stringify.test.js | 23 -- .../uuid/dist/cjs/test/test_constants.d.ts | 33 -- .../uuid/dist/cjs/test/test_constants.js | 91 ----- node_modules/uuid/dist/cjs/test/v1.test.d.ts | 1 - node_modules/uuid/dist/cjs/test/v1.test.js | 127 ------- node_modules/uuid/dist/cjs/test/v35.test.d.ts | 1 - node_modules/uuid/dist/cjs/test/v35.test.js | 143 -------- node_modules/uuid/dist/cjs/test/v4.test.d.ts | 1 - node_modules/uuid/dist/cjs/test/v4.test.js | 60 ---- node_modules/uuid/dist/cjs/test/v6.test.d.ts | 1 - node_modules/uuid/dist/cjs/test/v6.test.js | 56 --- node_modules/uuid/dist/cjs/test/v7.test.d.ts | 1 - node_modules/uuid/dist/cjs/test/v7.test.js | 194 ---------- .../uuid/dist/cjs/test/validate.test.d.ts | 1 - .../uuid/dist/cjs/test/validate.test.js | 13 - .../uuid/dist/cjs/test/version.test.d.ts | 1 - .../uuid/dist/cjs/test/version.test.js | 20 -- node_modules/uuid/dist/cjs/v1.js | 8 + node_modules/uuid/dist/cjs/v35.d.ts | 4 +- node_modules/uuid/dist/cjs/v4.js | 8 +- node_modules/uuid/dist/cjs/v7.js | 8 + node_modules/uuid/dist/esm-browser/md5.d.ts | 2 +- node_modules/uuid/dist/esm-browser/parse.d.ts | 2 +- node_modules/uuid/dist/esm-browser/rng.d.ts | 2 +- .../dist/esm-browser/test/parse.test.d.ts | 1 - .../uuid/dist/esm-browser/test/parse.test.js | 48 --- .../uuid/dist/esm-browser/test/rng.test.d.ts | 1 - .../uuid/dist/esm-browser/test/rng.test.js | 12 - .../dist/esm-browser/test/stringify.test.d.ts | 1 - .../dist/esm-browser/test/stringify.test.js | 21 -- .../dist/esm-browser/test/test_constants.d.ts | 33 -- .../dist/esm-browser/test/test_constants.js | 88 ----- .../uuid/dist/esm-browser/test/v1.test.d.ts | 1 - .../uuid/dist/esm-browser/test/v1.test.js | 125 ------- .../uuid/dist/esm-browser/test/v35.test.d.ts | 1 - .../uuid/dist/esm-browser/test/v35.test.js | 141 -------- .../uuid/dist/esm-browser/test/v4.test.d.ts | 1 - .../uuid/dist/esm-browser/test/v4.test.js | 58 --- .../uuid/dist/esm-browser/test/v6.test.d.ts | 1 - .../uuid/dist/esm-browser/test/v6.test.js | 54 --- .../uuid/dist/esm-browser/test/v7.test.d.ts | 1 - .../uuid/dist/esm-browser/test/v7.test.js | 192 ---------- .../dist/esm-browser/test/validate.test.d.ts | 1 - .../dist/esm-browser/test/validate.test.js | 11 - .../dist/esm-browser/test/version.test.d.ts | 1 - .../dist/esm-browser/test/version.test.js | 18 - node_modules/uuid/dist/esm-browser/v1.js | 8 + node_modules/uuid/dist/esm-browser/v35.d.ts | 4 +- node_modules/uuid/dist/esm-browser/v4.js | 8 +- node_modules/uuid/dist/esm-browser/v7.js | 8 + node_modules/uuid/dist/esm/md5.d.ts | 2 +- node_modules/uuid/dist/esm/parse.d.ts | 2 +- node_modules/uuid/dist/esm/rng.d.ts | 2 +- node_modules/uuid/dist/esm/sha1.d.ts | 2 +- .../uuid/dist/esm/test/parse.test.d.ts | 1 - node_modules/uuid/dist/esm/test/parse.test.js | 48 --- node_modules/uuid/dist/esm/test/rng.test.d.ts | 1 - node_modules/uuid/dist/esm/test/rng.test.js | 12 - .../uuid/dist/esm/test/stringify.test.d.ts | 1 - .../uuid/dist/esm/test/stringify.test.js | 21 -- .../uuid/dist/esm/test/test_constants.d.ts | 33 -- .../uuid/dist/esm/test/test_constants.js | 88 ----- node_modules/uuid/dist/esm/test/v1.test.d.ts | 1 - node_modules/uuid/dist/esm/test/v1.test.js | 125 ------- node_modules/uuid/dist/esm/test/v35.test.d.ts | 1 - node_modules/uuid/dist/esm/test/v35.test.js | 141 -------- node_modules/uuid/dist/esm/test/v4.test.d.ts | 1 - node_modules/uuid/dist/esm/test/v4.test.js | 58 --- node_modules/uuid/dist/esm/test/v6.test.d.ts | 1 - node_modules/uuid/dist/esm/test/v6.test.js | 54 --- node_modules/uuid/dist/esm/test/v7.test.d.ts | 1 - node_modules/uuid/dist/esm/test/v7.test.js | 192 ---------- .../uuid/dist/esm/test/validate.test.d.ts | 1 - .../uuid/dist/esm/test/validate.test.js | 11 - .../uuid/dist/esm/test/version.test.d.ts | 1 - .../uuid/dist/esm/test/version.test.js | 18 - node_modules/uuid/dist/esm/v1.js | 8 + node_modules/uuid/dist/esm/v35.d.ts | 4 +- node_modules/uuid/dist/esm/v4.js | 8 +- node_modules/uuid/dist/esm/v7.js | 8 + node_modules/uuid/package.json | 37 +- 167 files changed, 565 insertions(+), 3893 deletions(-) create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js.map delete mode 100644 node_modules/uuid/CHANGELOG.md delete mode 100644 node_modules/uuid/CONTRIBUTING.md delete mode 100644 node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/parse.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/rng.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/stringify.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/test_constants.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v1.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v35.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v4.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v6.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/v7.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/validate.test.js delete mode 100644 node_modules/uuid/dist/cjs-browser/test/version.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs-browser/test/version.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/parse.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/parse.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/rng.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/rng.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/stringify.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/stringify.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/test_constants.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/test_constants.js delete mode 100644 node_modules/uuid/dist/cjs/test/v1.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/v1.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/v35.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/v35.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/v4.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/v4.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/v6.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/v6.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/v7.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/v7.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/validate.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/validate.test.js delete mode 100644 node_modules/uuid/dist/cjs/test/version.test.d.ts delete mode 100644 node_modules/uuid/dist/cjs/test/version.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/parse.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/parse.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/rng.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/rng.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/stringify.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/test_constants.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/test_constants.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/v1.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/v1.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/v35.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/v35.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/v4.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/v4.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/v6.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/v6.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/v7.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/v7.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/validate.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/validate.test.js delete mode 100644 node_modules/uuid/dist/esm-browser/test/version.test.d.ts delete mode 100644 node_modules/uuid/dist/esm-browser/test/version.test.js delete mode 100644 node_modules/uuid/dist/esm/test/parse.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/parse.test.js delete mode 100644 node_modules/uuid/dist/esm/test/rng.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/rng.test.js delete mode 100644 node_modules/uuid/dist/esm/test/stringify.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/stringify.test.js delete mode 100644 node_modules/uuid/dist/esm/test/test_constants.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/test_constants.js delete mode 100644 node_modules/uuid/dist/esm/test/v1.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/v1.test.js delete mode 100644 node_modules/uuid/dist/esm/test/v35.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/v35.test.js delete mode 100644 node_modules/uuid/dist/esm/test/v4.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/v4.test.js delete mode 100644 node_modules/uuid/dist/esm/test/v6.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/v6.test.js delete mode 100644 node_modules/uuid/dist/esm/test/v7.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/v7.test.js delete mode 100644 node_modules/uuid/dist/esm/test/validate.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/validate.test.js delete mode 100644 node_modules/uuid/dist/esm/test/version.test.d.ts delete mode 100644 node_modules/uuid/dist/esm/test/version.test.js diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 5270022db7..eb4704879a 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1303,17 +1303,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.2.tgz", - "integrity": "sha512-adig4SzPLjeQ0Tm+jvsozSGiCliI2ajeURDGHjZ2llnA+A67HihCQ+a3amtPhUakd1GlwHxSRvzOZktbEvhPPg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.0.tgz", + "integrity": "sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/type-utils": "8.18.2", - "@typescript-eslint/utils": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/type-utils": "8.19.0", + "@typescript-eslint/utils": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1333,14 +1333,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", + "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1351,9 +1351,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", + "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", "dev": true, "license": "MIT", "engines": { @@ -1365,14 +1365,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", + "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1392,16 +1392,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", - "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", + "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1416,13 +1416,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", + "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1473,16 +1473,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.2.tgz", - "integrity": "sha512-y7tcq4StgxQD4mDr9+Jb26dZ+HTZ/SkfqpXSiqeUXZHxOUyjWDKsmwKhJ0/tApR08DgOhrFAoAhyB80/p3ViuA==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.0.tgz", + "integrity": "sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4" }, "engines": { @@ -1498,14 +1498,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", + "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1516,9 +1516,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", + "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", "dev": true, "license": "MIT", "engines": { @@ -1530,14 +1530,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", + "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1557,13 +1557,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", + "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1632,14 +1632,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.2.tgz", - "integrity": "sha512-AB/Wr1Lz31bzHfGm/jgbFR0VB0SML/hd2P1yxzKDM48YmP7vbyJNHRExUE/wZsQj2wUCvbWH8poNHFuxLqCTnA==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.0.tgz", + "integrity": "sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/utils": "8.19.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1656,14 +1656,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", + "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1674,9 +1674,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", + "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", "dev": true, "license": "MIT", "engines": { @@ -1688,14 +1688,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", + "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1715,16 +1715,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", - "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", + "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1739,13 +1739,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", + "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -7624,13 +7624,14 @@ "license": "MIT" }, "node_modules/uuid": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz", - "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.4.tgz", + "integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], + "license": "MIT", "bin": { "uuid": "dist/esm/bin/uuid" } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js index cb4ad9fbfa..2606900425 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js @@ -60,6 +60,7 @@ function typeNeedsParentheses(node) { case utils_1.AST_NODE_TYPES.TSTypeOperator: case utils_1.AST_NODE_TYPES.TSInferType: case utils_1.AST_NODE_TYPES.TSConstructorType: + case utils_1.AST_NODE_TYPES.TSConditionalType: return true; case utils_1.AST_NODE_TYPES.Identifier: return node.name === 'ReadonlyArray'; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map index 7890773f47..baabc2b419 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map @@ -1 +1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AAC,IAAI,CAAC;wBAC1B,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO;wBAC7D,cAAc;qBACf;oBACD,GAAG,CAAC,KAAK;wBACP,OAAO;4BACL,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC;4BAC7D,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;yBAC5D,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"array-type.js","sourceRoot":"","sources":["../../src/rules/array-type.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAsD;AAEtD;;;GAGG;AACH,SAAS,YAAY,CAAC,IAAmB;IACvC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAA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ript-eslint/eslint-plugin/dist/rules/await-thenable.js index 6161a2b87c..17fc2381f0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js @@ -61,9 +61,10 @@ exports.default = (0, util_1.createRule)({ const checker = services.program.getTypeChecker(); return { AwaitExpression(node) { - const type = services.getTypeAtLocation(node.argument); - const originalNode = services.esTreeNodeToTSNodeMap.get(node); - const certainty = (0, util_1.needsToBeAwaited)(checker, originalNode, type); + const awaitArgumentEsNode = node.argument; + const awaitArgumentType = services.getTypeAtLocation(awaitArgumentEsNode); + const awaitArgumentTsNode = services.esTreeNodeToTSNodeMap.get(awaitArgumentEsNode); + const certainty = (0, util_1.needsToBeAwaited)(checker, awaitArgumentTsNode, awaitArgumentType); if (certainty === util_1.Awaitable.Never) { context.report({ node, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map index af9dad6912..396d257fb8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map @@ -1 +1 @@ -{"version":3,"file":"await-thenable.js","sourceRoot":"","sources":["../../src/rules/await-thenable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AAExC,kCAUiB;AACjB,2EAAwE;AASxE,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,KAAK,EAAE,6DAA6D;YACpE,8BAA8B,EAC5B,mEAA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c,CAAC,IAAI,CAAC;yBACpB,IAAI,CACH,QAAQ,CAAC,EAAE,CACT,OAAO,CAAC,gCAAgC,CACtC,QAAQ,EACR,cAAc,EACd,OAAO,CACR,IAAI,IAAI,CACZ,CAAC;oBAEJ,IAAI,CAAC,qBAAqB,EAAE,CAAC;wBAC3B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,IAAI;4BACV,SAAS,EAAE,gCAAgC;4BAC3C,gDAAgD;4BAChD,mCAAmC;4BACnC,oDAAoD;4BACpD,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EACV,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM;gCAErD,UAAU,EAAE;oCACV,SAAS,EAAE,aAAa;oCACxB,GAAG,CAAC,KAAK;wCACP,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,aAAa,CAAC,CACvD,CAAC;wCACF,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;oCAClC,CAAC;iCACF;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"await-thenable.js","sourceRoot":"","sources":["../../src/rules/await-thenable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AAExC,kCAUiB;AACjB,2EAAwE;AASxE,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAA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Q,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;oBAC9C,IAAI,IAAA,oBAAa,EAAC,IAAI,CAAC,EAAE,CAAC;wBACxB,SAAS;oBACX,CAAC;oBAED,MAAM,qBAAqB,GAAG,OAAO;yBAClC,cAAc,CAAC,IAAI,CAAC;yBACpB,IAAI,CACH,QAAQ,CAAC,EAAE,CACT,OAAO,CAAC,gCAAgC,CACtC,QAAQ,EACR,cAAc,EACd,OAAO,CACR,IAAI,IAAI,CACZ,CAAC;oBAEJ,IAAI,CAAC,qBAAqB,EAAE,CAAC;wBAC3B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,IAAI;4BACV,SAAS,EAAE,gCAAgC;4BAC3C,gDAAgD;4BAChD,mCAAmC;4BACnC,oDAAoD;4BACpD,GAAG,IAAA,sBAAe,EAAC;gCACjB,YAAY,EACV,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM;gCAErD,UAAU,EAAE;oCACV,SAAS,EAAE,aAAa;oCACxB,GAAG,CAAC,KAAK;wCACP,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,qBAAc,CAAC,EACtD,wBAAiB,CAAC,YAAY,CAAC,OAAO,EAAE,aAAa,CAAC,CACvD,CAAC;wCACF,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;oCAClC,CAAC;iCACF;6BACF,CAAC;yBACH,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js index 43f72b0f1a..1580bcf1dc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js @@ -51,13 +51,9 @@ exports.default = (0, util_1.createRule)({ if (parentId) { const scope = context.sourceCode.getScope(parentId); const superVar = utils_1.ASTUtils.findVariable(scope, parentId.name); - if (superVar) { - const isCircular = superVar.references.some(item => item.isTypeReference && - node.range[0] <= item.identifier.range[0] && - node.range[1] >= item.identifier.range[1]); - if (isCircular) { - return; - } + if (superVar && + isDeeplyReferencingType(node, superVar, new Set([parentId]))) { + return; } } context.report({ @@ -192,4 +188,64 @@ function findParentDeclaration(node) { } return undefined; } +function isDeeplyReferencingType(node, superVar, visited) { + if (visited.has(node)) { + // something on the chain is circular but it's not the reference being checked + return false; + } + visited.add(node); + switch (node.type) { + case utils_1.AST_NODE_TYPES.TSTypeLiteral: + return node.members.some(member => isDeeplyReferencingType(member, superVar, visited)); + case utils_1.AST_NODE_TYPES.TSTypeAliasDeclaration: + return isDeeplyReferencingType(node.typeAnnotation, superVar, visited); + case utils_1.AST_NODE_TYPES.TSIndexedAccessType: + return [node.indexType, node.objectType].some(type => isDeeplyReferencingType(type, superVar, visited)); + case utils_1.AST_NODE_TYPES.TSConditionalType: + return [ + node.checkType, + node.extendsType, + node.falseType, + node.trueType, + ].some(type => isDeeplyReferencingType(type, superVar, visited)); + case utils_1.AST_NODE_TYPES.TSUnionType: + case utils_1.AST_NODE_TYPES.TSIntersectionType: + return node.types.some(type => isDeeplyReferencingType(type, superVar, visited)); + case utils_1.AST_NODE_TYPES.TSInterfaceDeclaration: + return node.body.body.some(type => isDeeplyReferencingType(type, superVar, visited)); + case utils_1.AST_NODE_TYPES.TSTypeAnnotation: + return isDeeplyReferencingType(node.typeAnnotation, superVar, visited); + case utils_1.AST_NODE_TYPES.TSIndexSignature: { + if (node.typeAnnotation) { + return isDeeplyReferencingType(node.typeAnnotation, superVar, visited); + } + break; + } + case utils_1.AST_NODE_TYPES.TSTypeParameterInstantiation: { + return node.params.some(param => isDeeplyReferencingType(param, superVar, visited)); + } + case utils_1.AST_NODE_TYPES.TSTypeReference: { + if (isDeeplyReferencingType(node.typeName, superVar, visited)) { + return true; + } + if (node.typeArguments && + isDeeplyReferencingType(node.typeArguments, superVar, visited)) { + return true; + } + break; + } + case utils_1.AST_NODE_TYPES.Identifier: { + // check if the identifier is a reference of the type being checked + if (superVar.references.some(ref => (0, util_1.isNodeEqual)(ref.identifier, node))) { + return true; + } + // otherwise, follow its definition(s) + const refVar = utils_1.ASTUtils.findVariable(superVar.scope, node.name); + if (refVar) { + return refVar.defs.some(def => isDeeplyReferencingType(def.node, superVar, visited)); + } + } + } + return false; +} //# sourceMappingURL=consistent-indexed-object-style.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map index be718270c2..4d055f3c16 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-indexed-object-style.js","sourceRoot":"","sources":["../../src/rules/consistent-indexed-object-style.ts"],"names":[],"mappings":";;AAGA,oDAAoE;AAEpE,kCAKiB;AAQjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uCAAuC;YACpD,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,mHAAmH;QACnH,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,oBAAoB,EAAE,gDAAgD;YACtE,8BAA8B,EAC5B,qDAAqD;YACvD,YAAY,EAAE,gDAAgD;SAC/D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBAC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AU,GAAG,CAAC;gCACxC,CAAC;qCAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,EAAE,CAAC;oCACjC,UAAU,GAAG,YAAY,UAAU,GAAG,CAAC;gCACzC,CAAC;gCAED,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;oCACpD,UAAU,GAAG,YAAY,UAAU,GAAG,CAAC;gCACzC,CAAC;gCAED,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;4BAC7C,CAAC;yBACF,CAAC;qBACH,CAAC,CAAC;gBACL,CAAC;gBACD,aAAa,CAAC,IAAI;oBAChB,MAAM,MAAM,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;oBAC3C,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;gBACvD,CAAC;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAC5B,IAAmB;IAEnB,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QACxE,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB,EAAE,CAAC;YAC/D,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;QACD,OAAO,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-indexed-object-style.js","sourceRoot":"","sources":["../../src/rules/consistent-indexed-object-style.ts"],"names":[],"mappings":";;AAIA,oDAAoE;AAEpE,kCAMiB;AAQjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,i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C,YAAY,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;YAEhE,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAC5B,uBAAuB,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CACrD,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js index 1c4b91155b..486361f44b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js @@ -371,6 +371,10 @@ function getAccessibility(node) { */ function getRank(node, orderConfig, supportsModifiers) { const type = getNodeType(node); + if (node.type === utils_1.AST_NODE_TYPES.MethodDefinition && + node.value.type === utils_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression) { + return -1; + } if (type == null) { // shouldn't happen but just in case, put it on the end return orderConfig.length - 1; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map index 442ee739a6..4f4d0a27e8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map @@ -1 +1 @@ -{"version":3,"file":"member-ordering.js","sourceRoot":"","sources":["../../src/rules/member-ordering.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,sDAAsD;;;;;;AAItD,oDAA0D;AAC1D,sEAA6C;AAE7C,kCAKiB;AAgFjB,MAAM,WAAW,GAA2B;IAC1C,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,CAAC,OAAO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AgB,CAAC,IAAI;gBACnB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAQ,EACnC,IAAI,CACL,CAAC;YACJ,CAAC;YACD,uCAAuC,CAAC,IAAI;gBAC1C,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;oBACzB,MAAM;gBACR,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,OAAQ,EAC5C,IAAI,CACL,CAAC;YACJ,CAAC;YACD,sBAAsB,CAAC,IAAI;gBACzB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,OAAQ,EACtC,KAAK,CACN,CAAC;YACJ,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,oBAAoB,CAClB,IAAI,CAAC,OAAO,EACZ,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,OAAQ,EACxC,KAAK,CACN,CAAC;YACJ,CAAC;SACF,CAAC;QACF,4DAA4D;IAC9D,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"member-ordering.js","sourceRoot":"","sources":["../../src/rules/member-ordering.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,sDAAsD;;;;;;AAItD,oDAA0D;AAC1D,sEAA6C;AAE7C,kCAKiB;AAgFjB,MAAM,WAAW,GAA2B;IAC1C,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,CAAC,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,WAAmB,EAA0B,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,IAAI,EAAE,OAAO;gB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CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAQ,EACnC,IAAI,CACL,CAAC;YACJ,CAAC;YACD,uCAAuC,CAAC,IAAI;gBAC1C,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;oBACzB,MAAM;gBACR,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,OAAQ,EAC5C,IAAI,CACL,CAAC;YACJ,CAAC;YACD,sBAAsB,CAAC,IAAI;gBACzB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,OAAQ,EACtC,KAAK,CACN,CAAC;YACJ,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,oBAAoB,CAClB,IAAI,CAAC,OAAO,EACZ,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,OAAQ,EACxC,KAAK,CACN,CAAC;YACJ,CAAC;SACF,CAAC;QACF,4DAA4D;IAC9D,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js index 30eb310226..8902d501a2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js @@ -79,19 +79,23 @@ exports.default = (0, util_1.createRule)({ ], create(context, [options]) { const services = (0, util_1.getParserServices)(context); + const checker = services.program.getTypeChecker(); function getBooleanComparison(node) { const comparison = deconstructComparison(node); if (!comparison) { return undefined; } - const expressionType = (0, util_1.getConstrainedTypeAtLocation)(services, comparison.expression); - if (isBooleanType(expressionType)) { + const { constraintType, isTypeParameter } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(comparison.expression)); + if (isTypeParameter && constraintType == null) { + return undefined; + } + if (isBooleanType(constraintType)) { return { ...comparison, expressionIsNullableBoolean: false, }; } - if (isNullableBoolean(expressionType)) { + if (isNullableBoolean(constraintType)) { return { ...comparison, expressionIsNullableBoolean: true, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map index ea33bc9a23..ff3033adc0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-boolean-literal-compare.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-boolean-literal-compare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AA0BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,oEAAoE;YACtE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,iIAAiI;YACnI,6BAA6B,EAC3B,uGAAuG;YACzG,8BAA8B,EAC5B,iGAAiG;YACnG,MAAM,EACJ,mGAAmG;YACrG,OAAO,EACL,6FAA6F;SAChG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,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;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-boolean-literal-compare.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-boolean-literal-compare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AA0BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,oEAAoE;YACtE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,iIAAiI;YACnI,6BAA6B,EAC3B,uGAAuG;YACzG,8BAA8B,EAC5B,iGAAiG;YACnG,MAAM,EACJ,mGAAmG;YACrG,OAAO,EACL,6FAA6F;SAChG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,qCAAqC,EAAE;wBACrC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8EAA8E;qBACjF;oBACD,oCAAoC,EAAE;wBACpC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,6EAA6E;qBAChF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;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,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js index f47e6db068..6cfaf3f8a6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js @@ -472,15 +472,7 @@ exports.default = (0, util_1.createRule)({ // Otherwise just do type analysis on the function as a whole. const returnTypes = tsutils .getCallSignaturesOfType((0, util_1.getConstrainedTypeAtLocation)(services, callback)) - .map(sig => sig.getReturnType()) - .map(t => { - // TODO: use `getConstraintTypeInfoAtLocation` once it's merged - // https://github.com/typescript-eslint/typescript-eslint/pull/10496 - if (tsutils.isTypeParameter(t)) { - return checker.getBaseConstraintOfType(t); - } - return t; - }); + .map(sig => sig.getReturnType()); if (returnTypes.length === 0) { // Not a callable function, e.g. `any` return; @@ -488,14 +480,17 @@ exports.default = (0, util_1.createRule)({ let hasFalsyReturnTypes = false; let hasTruthyReturnTypes = false; for (const type of returnTypes) { + const { constraintType } = (0, util_1.getConstraintInfo)(checker, type); // Predicate is always necessary if it involves `any` or `unknown` - if (!type || (0, util_1.isTypeAnyType)(type) || (0, util_1.isTypeUnknownType)(type)) { + if (!constraintType || + (0, util_1.isTypeAnyType)(constraintType) || + (0, util_1.isTypeUnknownType)(constraintType)) { return; } - if (isPossiblyFalsy(type)) { + if (isPossiblyFalsy(constraintType)) { hasFalsyReturnTypes = true; } - if (isPossiblyTruthy(type)) { + if (isPossiblyTruthy(constraintType)) { hasTruthyReturnTypes = true; } // bail early if both a possibly-truthy and a possibly-falsy have been detected diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map index 52029b1336..327e780189 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAciB;AACjB,2EAGwC;AAExC,uBAAuB;AACvB,UAAU;AACV,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE;IAC/C,OAAO,CACL,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC;QAC3B,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAC7B,CAAC;AACJ,CAAC,CAAC;AACF,MA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,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAeiB;AACjB,2EAGwC;AAExC,uBAAuB;AACvB,UAAU;AACV,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE;IAC/C,OAAO,CACL,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC;QAC3B,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC;QAC/B,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAC7B,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC/B,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtD,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;IACrB,+DAA+D;IAC/D,8CAA8C;KAC7C,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrD,mEAAmE;I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T,IAAI,CAAC,KAAK,EACV,QAAQ,CACT,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,mBAAmB;YACnC,iCAAiC,EAAE,2BAA2B;YAC9D,qBAAqB,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3D,gBAAgB,EAAE,iCAAiC;YACnD,YAAY,EAAE,iCAAiC;YAC/C,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,iBAAiB,EAAE,gDAAgD;YACnE,mCAAmC,EAAE,6BAA6B;YAClE,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js index 87e711aa84..94f8212515 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js @@ -82,7 +82,10 @@ exports.default = (0, util_1.createRule)({ conditionFixDefaultEmptyString: 'Explicitly treat nullish value the same as an empty string (`value ?? ""`)', conditionFixDefaultFalse: 'Explicitly treat nullish value the same as false (`value ?? false`)', conditionFixDefaultZero: 'Explicitly treat nullish value the same as 0 (`value ?? 0`)', + explicitBooleanReturnType: 'Add an explicit `boolean` return type annotation.', noStrictNullCheck: 'This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.', + predicateCannotBeAsync: "Predicate function should not be 'async'; expected a boolean return type.", + predicateReturnsNonBoolean: 'Predicate function should return a boolean.', }, schema: [ { @@ -203,6 +206,69 @@ exports.default = (0, util_1.createRule)({ if (assertedArgument != null) { traverseNode(assertedArgument, true); } + if ((0, util_1.isArrayMethodCallWithPredicate)(context, services, node)) { + const predicate = node.arguments.at(0); + if (predicate) { + checkArrayMethodCallPredicate(predicate); + } + } + } + /** + * Dedicated function to check array method predicate calls. Reports predicate + * arguments that don't return a boolean value. + * + * Ignores the `allow*` options and requires a boolean value. + */ + function checkArrayMethodCallPredicate(predicateNode) { + const isFunctionExpression = utils_1.ASTUtils.isFunction(predicateNode); + // custom message for accidental `async` function expressions + if (isFunctionExpression && predicateNode.async) { + return context.report({ + node: predicateNode, + messageId: 'predicateCannotBeAsync', + }); + } + const returnTypes = services + .getTypeAtLocation(predicateNode) + .getCallSignatures() + .map(signature => { + const type = signature.getReturnType(); + if (tsutils.isTypeParameter(type)) { + return checker.getBaseConstraintOfType(type) ?? type; + } + return type; + }); + if (returnTypes.every(returnType => isBooleanType(returnType))) { + return; + } + const canFix = isFunctionExpression && !predicateNode.returnType; + return context.report({ + node: predicateNode, + messageId: 'predicateReturnsNonBoolean', + suggest: canFix + ? [ + { + messageId: 'explicitBooleanReturnType', + fix: fixer => { + if (predicateNode.type === + utils_1.AST_NODE_TYPES.ArrowFunctionExpression && + (0, util_1.isParenlessArrowFunction)(predicateNode, context.sourceCode)) { + return [ + fixer.insertTextBefore(predicateNode.params[0], '('), + fixer.insertTextAfter(predicateNode.params[0], '): boolean'), + ]; + } + if (predicateNode.params.length === 0) { + const closingBracket = (0, util_1.nullThrows)(context.sourceCode.getFirstToken(predicateNode, token => token.value === ')'), 'function expression has to have a closing parenthesis.'); + return fixer.insertTextAfter(closingBracket, ': boolean'); + } + const lastClosingParenthesis = (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(predicateNode.params[predicateNode.params.length - 1], token => token.value === ')'), 'function expression has to have a closing parenthesis.'); + return fixer.insertTextAfter(lastClosingParenthesis, ': boolean'); + }, + }, + ] + : null, + }); } /** * Inspects any node. @@ -843,6 +909,9 @@ function isArrayLengthExpression(node, typeChecker, services) { */ function isBrandedBoolean(type) { return (type.isIntersection() && - type.types.some(childType => tsutils.isTypeFlagSet(childType, ts.TypeFlags.BooleanLiteral | ts.TypeFlags.Boolean))); + type.types.some(childType => isBooleanType(childType))); +} +function isBooleanType(expressionType) { + return tsutils.isTypeFlagSet(expressionType, ts.TypeFlags.Boolean | ts.TypeFlags.BooleanLiteral); } //# sourceMappingURL=strict-boolean-expressions.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map index 09b996d5b2..0f059fcf55 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map @@ -1 +1 @@ -{"version":3,"file":"strict-boolean-expressions.js","sourceRoot":"","sources":["../../src/rules/strict-boolean-expressions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AACjB,2EAAgF;AAyChF,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,+CAA+C;YAC5D,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,uCAAuC;gBACvC,wDAAwD;YAC1D,6BAA6B,EAC3B,oDAAoD;gBACpD,4CAA4C;YAC9C,0BAA0B,EACxB,iDAAiD;gBACjD,sDAAsD;YACxD,4BAA4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CAC1B,OAAO,CAAC,aAAa,CACnB,SAAS,EACT,EAAE,CAAC,SAAS,CAAC,cAAc,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CACnD,CACF,CACF,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"strict-boolean-expressions.js","sourceRoot":"","sources":["../../src/rules/strict-boolean-expressions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AACjB,2EAAgF;AA4ChF,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,+CAA+C;YAC5D,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,uCAAuC;gBACvC,wDAAwD;YAC1D,6BAA6B,EAC3B,oDAAoD;gBACpD,4CAA4C;YAC9C,0BAA0B,EACxB,iDAAiD;gBACjD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,qCAAqC;YACvC,4BAA4B,EAC1B,mDAAmD;gBACnD,mDAAmD;YACrD,qBAAqB,EACnB,2CAA2C;gBAC3C,gCAAgC;YAClC,oBAAoB,EAClB,0CAA0C;gBAC1C,yCAAyC;YAC3C,oBAAoB,EAClB,0CAA0C;gBAC1C,+BAA+B;YACjC,mBAAmB,EACjB,mCAAmC;gBACnC,mCAAmC;YACrC,oBAAoB,EAClB,0CAA0C;gBAC1C,6CAA6C;YAC/C,uBAAuB,EACrB,0DAA0D;YAE5D,8BAA8B,EAC5B,6DAA6D;YAC/D,wBAAwB,EACtB,wDAAwD;YAC1D,sBAAsB,EACpB,4DAA4D;YAC9D,0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AClC,IAAmB;IAEnB,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,IAAI,IAAI,CAAC,QAAQ,KAAK,GAAG,CAAC;AAC/E,CAAC;AAED,SAAS,uBAAuB,CAC9B,IAAmB,EACnB,WAA2B,EAC3B,QAA2C;IAE3C,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QACpC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,UAAU,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACvE,OAAO,IAAA,yCAAkC,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AACrE,CAAC;AAED;;;;GAIG;AACH,SAAS,gBAAgB,CAAC,IAAa;IACrC,OAAO,CACL,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CACvD,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,cAAuB;IAC5C,OAAO,OAAO,CAAC,aAAa,CAC1B,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CACnD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js new file mode 100644 index 0000000000..b3e3876878 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js @@ -0,0 +1,71 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (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 () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getConstraintInfo = getConstraintInfo; +const tsutils = __importStar(require("ts-api-utils")); +/** + * Returns whether the type is a generic and what its constraint is. + * + * If the type is not a generic, `isTypeParameter` will be `false`, and + * `constraintType` will be the same as the input type. + * + * If the type is a generic, and it is constrained, `isTypeParameter` will be + * `true`, and `constraintType` will be the constraint type. + * + * If the type is a generic, but it is not constrained, `constraintType` will be + * `undefined` (rather than an `unknown` type), due to https://github.com/microsoft/TypeScript/issues/60475 + * + * Successor to {@link getConstrainedTypeAtLocation} due to https://github.com/typescript-eslint/typescript-eslint/issues/10438 + * + * This is considered internal since it is unstable for now and may have breaking changes at any time. + * Use at your own risk. + * + * @internal + * + */ +function getConstraintInfo(checker, type) { + if (tsutils.isTypeParameter(type)) { + const constraintType = checker.getBaseConstraintOfType(type); + return { + constraintType, + isTypeParameter: true, + }; + } + return { + constraintType: type, + isTypeParameter: false, + }; +} +//# sourceMappingURL=getConstraintInfo.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js.map new file mode 100644 index 0000000000..e9dee2d785 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getConstraintInfo.js","sourceRoot":"","sources":["../../src/util/getConstraintInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,8CAeC;AAzDD,sDAAwC;AAsBxC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,iBAAiB,CAC/B,OAAuB,EACvB,IAAa;IAEb,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;QAC7D,OAAO;YACL,cAAc;YACd,eAAe,EAAE,IAAI;SACtB,CAAC;IACJ,CAAC;IACD,OAAO;QACL,cAAc,EAAE,IAAI;QACpB,eAAe,EAAE,KAAK;KACvB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js index 860e8b60d7..df8b40e45a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js @@ -39,6 +39,7 @@ __exportStar(require("./objectIterators"), exports); __exportStar(require("./needsToBeAwaited"), exports); __exportStar(require("./scopeUtils"), exports); __exportStar(require("./types"), exports); +__exportStar(require("./getConstraintInfo"), exports); // this is done for convenience - saves migrating all of the old rules __exportStar(require("@typescript-eslint/type-utils"), exports); const { applyDefault, deepMerge, getParserServices, isObjectNotArray, nullThrows, NullThrowsReasons, } = utils_1.ESLintUtils; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map index 1cdac1f49f..a5e60bdc09 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,mEAAiD;AACjD,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,oDAAkC;AAClC,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB;AAExB,sEAAsE;AACtE,gEAA8C;AAC9C,MAAM,EACJ,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,GAClB,GAAG,mBAAW,CAAC;AAMd,oCAAY;AACZ,8BAAS;AACT,8CAAiB;AAGjB,4CAAgB;AAChB,gCAAU;AACV,8CAAiB"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,mEAAiD;AACjD,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,oDAAkC;AAClC,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB;AACxB,sDAAoC;AAEpC,sEAAsE;AACtE,gEAA8C;AAE9C,MAAM,EACJ,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,GAClB,GAAG,mBAAW,CAAC;AAMd,oCAAY;AACZ,8BAAS;AACT,8CAAiB;AAGjB,4CAAgB;AAChB,gCAAU;AACV,8CAAiB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js index 719f147fad..d2a89b02a3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js @@ -37,6 +37,7 @@ exports.Awaitable = void 0; exports.needsToBeAwaited = needsToBeAwaited; const type_utils_1 = require("@typescript-eslint/type-utils"); const tsutils = __importStar(require("ts-api-utils")); +const getConstraintInfo_1 = require("./getConstraintInfo"); var Awaitable; (function (Awaitable) { Awaitable[Awaitable["Always"] = 0] = "Always"; @@ -44,21 +45,17 @@ var Awaitable; Awaitable[Awaitable["May"] = 2] = "May"; })(Awaitable || (exports.Awaitable = Awaitable = {})); function needsToBeAwaited(checker, node, type) { - // can't use `getConstrainedTypeAtLocation` directly since it's bugged for - // unconstrained generics. - const constrainedType = !tsutils.isTypeParameter(type) - ? type - : checker.getBaseConstraintOfType(type); + const { constraintType, isTypeParameter } = (0, getConstraintInfo_1.getConstraintInfo)(checker, type); // unconstrained generic types should be treated as unknown - if (constrainedType == null) { + if (isTypeParameter && constraintType == null) { return Awaitable.May; } // `any` and `unknown` types may need to be awaited - if ((0, type_utils_1.isTypeAnyType)(constrainedType) || (0, type_utils_1.isTypeUnknownType)(constrainedType)) { + if ((0, type_utils_1.isTypeAnyType)(constraintType) || (0, type_utils_1.isTypeUnknownType)(constraintType)) { return Awaitable.May; } // 'thenable' values should always be be awaited - if (tsutils.isThenableType(checker, node, constrainedType)) { + if (tsutils.isThenableType(checker, node, constraintType)) { return Awaitable.Always; } // anything else should not be awaited diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map index 9e8c72ac82..1115c93390 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js.map @@ -1 +1 @@ -{"version":3,"file":"needsToBeAwaited.js","sourceRoot":"","sources":["../../src/util/needsToBeAwaited.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,4CA4BC;AAxCD,8DAGuC;AACvC,sDAAwC;AAExC,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,6CAAM,CAAA;IACN,2CAAK,CAAA;IACL,uCAAG,CAAA;AACL,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,SAAgB,gBAAgB,CAC9B,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,0EAA0E;IAC1E,0BAA0B;IAC1B,MAAM,eAAe,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC;QACpD,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAE1C,2DAA2D;IAC3D,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,mDAAmD;IACnD,IAAI,IAAA,0BAAa,EAAC,eAAe,CAAC,IAAI,IAAA,8BAAiB,EAAC,eAAe,CAAC,EAAE,CAAC;QACzE,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,gDAAgD;IAChD,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,eAAe,CAAC,EAAE,CAAC;QAC3D,OAAO,SAAS,CAAC,MAAM,CAAC;IAC1B,CAAC;IAED,sCAAsC;IACtC,OAAO,SAAS,CAAC,KAAK,CAAC;AACzB,CAAC"} \ No newline at end of file +{"version":3,"file":"needsToBeAwaited.js","sourceRoot":"","sources":["../../src/util/needsToBeAwaited.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,4CAwBC;AAtCD,8DAGuC;AACvC,sDAAwC;AAExC,2DAAwD;AAExD,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,6CAAM,CAAA;IACN,2CAAK,CAAA;IACL,uCAAG,CAAA;AACL,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,SAAgB,gBAAgB,CAC9B,OAAuB,EACvB,IAAa,EACb,IAAa;IAEb,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG,IAAA,qCAAiB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAE7E,2DAA2D;IAC3D,IAAI,eAAe,IAAI,cAAc,IAAI,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,mDAAmD;IACnD,IAAI,IAAA,0BAAa,EAAC,cAAc,CAAC,IAAI,IAAA,8BAAiB,EAAC,cAAc,CAAC,EAAE,CAAC;QACvE,OAAO,SAAS,CAAC,GAAG,CAAC;IACvB,CAAC;IAED,gDAAgD;IAChD,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,CAAC;QAC1D,OAAO,SAAS,CAAC,MAAM,CAAC;IAC1B,CAAC;IAED,sCAAsC;IACtC,OAAO,SAAS,CAAC,KAAK,CAAC;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx index 94e647872a..c0e71ec42c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx @@ -22,6 +22,7 @@ The following nodes are considered boolean expressions and their type is checked - Right-hand side operand is ignored when it's not a descendant of another boolean expression. This is to allow usage of boolean operators for their short-circuiting behavior. - Asserted argument of an assertion function (`assert(arg)`). +- Return type of array predicate functions such as `filter()`, `some()`, etc. ## Examples @@ -61,6 +62,9 @@ while (obj) { declare function assert(value: unknown): asserts value; let maybeString = Math.random() > 0.5 ? '' : undefined; assert(maybeString); + +// array predicates' return types are boolean contexts. +['one', null].filter(x => x); ``` diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json index f91543e081..7665258566 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.18.2", + "version": "8.19.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json index 8b84acea4c..50ed2e2b8d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.18.2", + "version": "8.19.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json index 5c64ff4d89..a9b75afc04 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.18.2", + "version": "8.19.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map index 780f1c3720..7e85351c44 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"json-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AE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC9D;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAE5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,eAAe;IAC/D;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAE7B,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAE1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,IAAI,EAAE,KAAK,CAAC;CACb"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json index eb7ac9a7e2..603265f73c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.18.2", + "version": "8.19.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json index 3fbd201bd0..7d7edd0ccf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.18.2", + "version": "8.19.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index 31468fa080..ab47506850 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "8.18.2", + "version": "8.19.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -61,10 +61,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/type-utils": "8.18.2", - "@typescript-eslint/utils": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/type-utils": "8.19.0", + "@typescript-eslint/utils": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -75,8 +75,8 @@ "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "8.18.2", - "@typescript-eslint/rule-tester": "8.18.2", + "@typescript-eslint/rule-schema-to-typescript-types": "8.19.0", + "@typescript-eslint/rule-tester": "8.19.0", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json index f91543e081..7665258566 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.18.2", + "version": "8.19.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json index 8b84acea4c..50ed2e2b8d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.18.2", + "version": "8.19.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json index 5c64ff4d89..a9b75afc04 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.18.2", + "version": "8.19.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json index 3fbd201bd0..7d7edd0ccf 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.18.2", + "version": "8.19.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index e2f35b5537..b5be2259dd 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "8.18.2", + "version": "8.19.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -53,10 +53,10 @@ "typescript": ">=4.8.4 <5.8.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts index 88c2d48de3..54c2717055 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +++ b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts @@ -1,7 +1,13 @@ import type { ParserServicesWithTypeInformation, TSESTree } from '@typescript-eslint/typescript-estree'; import type * as ts from 'typescript'; /** - * Resolves the given node's type. Will resolve to the type's generic constraint, if it has one. + * Resolves the given node's type. Will return the type's generic constraint, if it has one. + * + * Warning - if the type is generic and does _not_ have a constraint, the type will be + * returned as-is, rather than returning an `unknown` type. This can be checked + * for by checking for the type flag ts.TypeFlags.TypeParameter. + * + * @see https://github.com/typescript-eslint/typescript-eslint/issues/10438 */ export declare function getConstrainedTypeAtLocation(services: ParserServicesWithTypeInformation, node: TSESTree.Node): ts.Type; //# sourceMappingURL=getConstrainedTypeAtLocation.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map index 57b85997be..6248b21bab 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getConstrainedTypeAtLocation.d.ts","sourceRoot":"","sources":["../src/getConstrainedTypeAtLocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,QAAQ,EACT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,iCAAiC,EAC3C,IAAI,EAAE,QAAQ,CAAC,IAAI,GAClB,EAAE,CAAC,IAAI,CAOT"} \ No newline at end of file +{"version":3,"file":"getConstrainedTypeAtLocation.d.ts","sourceRoot":"","sources":["../src/getConstrainedTypeAtLocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,QAAQ,EACT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,iCAAiC,EAC3C,IAAI,EAAE,QAAQ,CAAC,IAAI,GAClB,EAAE,CAAC,IAAI,CAOT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js index 2bb33280a5..d337014451 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +++ b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js @@ -2,7 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getConstrainedTypeAtLocation = getConstrainedTypeAtLocation; /** - * Resolves the given node's type. Will resolve to the type's generic constraint, if it has one. + * Resolves the given node's type. Will return the type's generic constraint, if it has one. + * + * Warning - if the type is generic and does _not_ have a constraint, the type will be + * returned as-is, rather than returning an `unknown` type. This can be checked + * for by checking for the type flag ts.TypeFlags.TypeParameter. + * + * @see https://github.com/typescript-eslint/typescript-eslint/issues/10438 */ function getConstrainedTypeAtLocation(services, node) { const nodeType = services.getTypeAtLocation(node); diff --git a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map index 3080507b24..1e083dcef9 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map @@ -1 +1 @@ -{"version":3,"file":"getConstrainedTypeAtLocation.js","sourceRoot":"","sources":["../src/getConstrainedTypeAtLocation.ts"],"names":[],"mappings":";;AASA,oEAUC;AAbD;;GAEG;AACH,SAAgB,4BAA4B,CAC1C,QAA2C,EAC3C,IAAmB;IAEnB,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAClD,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO;SACjC,cAAc,EAAE;SAChB,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAErC,OAAO,WAAW,IAAI,QAAQ,CAAC;AACjC,CAAC"} \ No newline at end of file +{"version":3,"file":"getConstrainedTypeAtLocation.js","sourceRoot":"","sources":["../src/getConstrainedTypeAtLocation.ts"],"names":[],"mappings":";;AAeA,oEAUC;AAnBD;;;;;;;;GAQG;AACH,SAAgB,4BAA4B,CAC1C,QAA2C,EAC3C,IAAmB;IAEnB,MAAM,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAClD,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO;SACjC,cAAc,EAAE;SAChB,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAErC,OAAO,WAAW,IAAI,QAAQ,CAAC;AACjC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json index f91543e081..7665258566 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.18.2", + "version": "8.19.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json index 8b84acea4c..50ed2e2b8d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.18.2", + "version": "8.19.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json index 5c64ff4d89..a9b75afc04 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.18.2", + "version": "8.19.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/visitor-keys": "8.19.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map index 780f1c3720..7e85351c44 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../src/json-schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,KAAK,GACL,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,I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AED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAE1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,IAAI,EAAE,KAAK,CAAC;CACb"} \ No newline at end of file +{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../src/json-schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,KAAK,GACL,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAC/B,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,CAAC;AAEpB,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAC;CACxC;AAKD,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,uBAAuB,CAAC;CAAG;AAE3E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAExC;;;GAGG;AACH,MAAM,MAAM,WAAW,GACnB,sBAAsB,GACtB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,wBAAwB,GACxB,sBAAsB,GACtB,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,GACvB,sBAAsB,GACtB,oBAAoB,GACpB,uBAAuB,CAAC;AAE5B,UAAU,eAAe;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,SAAS,CAAC;IAEhD;;;;;;;;;;;;;;OAcG;IACH,IAAI,CAAC,EAAE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AAS,CAAC;IAE5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,eAAe;IAC/D;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAE7B,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAE1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,IAAI,EAAE,KAAK,CAAC;CACb"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json index eb7ac9a7e2..603265f73c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.18.2", + "version": "8.19.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.0", + "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/typescript-estree": "8.19.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json index 3fbd201bd0..7d7edd0ccf 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.18.2", + "version": "8.19.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index 3e156a83bb..667910689c 100644 --- a/node_modules/@typescript-eslint/type-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "8.18.2", + "version": "8.19.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,8 +46,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/utils": "8.19.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -57,7 +57,7 @@ }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "8.18.2", + "@typescript-eslint/parser": "8.19.0", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", diff --git a/node_modules/uuid/CHANGELOG.md b/node_modules/uuid/CHANGELOG.md deleted file mode 100644 index 8f9e0eb88d..0000000000 --- a/node_modules/uuid/CHANGELOG.md +++ /dev/null @@ -1,335 +0,0 @@ -# Change Log - -## [11.0.3](https://github.com/uuidjs/uuid/compare/v11.0.2...v11.0.3) (2024-11-04) - - -### Bug Fixes - -* apply stricter typing to the v* signatures ([#831](https://github.com/uuidjs/uuid/issues/831)) ([c2d3fed](https://github.com/uuidjs/uuid/commit/c2d3fed22cfd47c22c8f22f6154abb5060648ce5)) -* export internal uuid types ([#833](https://github.com/uuidjs/uuid/issues/833)) ([341edf4](https://github.com/uuidjs/uuid/commit/341edf444ced63708ba336285dbec29443523939)) -* remove sourcemaps ([#827](https://github.com/uuidjs/uuid/issues/827)) ([b93ea10](https://github.com/uuidjs/uuid/commit/b93ea101af7382053032d4fb61cc85599d6c7216)) -* revert "simplify type for v3 and v5" ([#835](https://github.com/uuidjs/uuid/issues/835)) ([e2dee69](https://github.com/uuidjs/uuid/commit/e2dee691e95aba854a892d2507d8cd9f009bf61d)) - -## [11.0.2](https://github.com/uuidjs/uuid/compare/v11.0.1...v11.0.2) (2024-10-28) - -### Bug Fixes - -* remove wrapper.mjs ([#822](https://github.com/uuidjs/uuid/issues/822)) ([6683ad3](https://github.com/uuidjs/uuid/commit/6683ad38b048375b451eac1194960f24ba20e0ca)) - -## [11.0.1](https://github.com/uuidjs/uuid/compare/v11.0.0...v11.0.1) (2024-10-27) - -### Bug Fixes - -* restore package.json#browser field ([#817](https://github.com/uuidjs/uuid/issues/817)) ([ae8f386](https://github.com/uuidjs/uuid/commit/ae8f38657bca0ee053bf29c88c006b1ea05af1b5)) - -## [11.0.0](https://github.com/uuidjs/uuid/compare/v9.0.0...v11.0.0) (2024-10-26) - -### ⚠ BREAKING CHANGES - -- refactor v1 internal state and options logic (#780) -- refactor v7 internal state and options logic, fixes #764 (#779) -- Port to TypeScript, closes #762 (#763) -- update node support matrix (only support node 16-20) (#750) - -### Features - -- Port to TypeScript, closes [#762](https://github.com/uuidjs/uuid/issues/762) ([#763](https://github.com/uuidjs/uuid/issues/763)) ([1e0f987](https://github.com/uuidjs/uuid/commit/1e0f9870db864ca93f7a69db0d468b5e1b7605e7)) -- update node support matrix (only support node 16-20) ([#750](https://github.com/uuidjs/uuid/issues/750)) ([883b163](https://github.com/uuidjs/uuid/commit/883b163b9ab9d6655bfbd8a35e61a3c71674dfe1)) - -### Bug Fixes - -- missing v7 expectations in browser spec ([#751](https://github.com/uuidjs/uuid/issues/751)) ([f54a866](https://github.com/uuidjs/uuid/commit/f54a866cedb2b3b96581157c1f4ac935a0b11411)) -- refactor v1 internal state and options logic ([#780](https://github.com/uuidjs/uuid/issues/780)) ([031b3d3](https://github.com/uuidjs/uuid/commit/031b3d3d738bc6694501ac0a37152b95ed500989)) -- refactor v7 internal state and options logic, fixes [#764](https://github.com/uuidjs/uuid/issues/764) ([#779](https://github.com/uuidjs/uuid/issues/779)) ([9dbd1cd](https://github.com/uuidjs/uuid/commit/9dbd1cd4177c43fcaac961a3b16fb2d044c9940a)) -- remove v4 options default assignment preventing native.randomUUID from being used ([#786](https://github.com/uuidjs/uuid/issues/786)) ([afe6232](https://github.com/uuidjs/uuid/commit/afe62323c4408a824755a39d7b971a8ae06f7199)), closes [#763](https://github.com/uuidjs/uuid/issues/763) -- seq_hi shift for byte 6 ([#775](https://github.com/uuidjs/uuid/issues/775)) ([1d532ca](https://github.com/uuidjs/uuid/commit/1d532ca374f181932a24a83fa98f71a5bd4f3e96)) -- tsconfig module type ([#778](https://github.com/uuidjs/uuid/issues/778)) ([7eff835](https://github.com/uuidjs/uuid/commit/7eff835cba334ad418f57768c00d15b918a9b419)) - -## [10.0.0](https://github.com/uuidjs/uuid/compare/v9.0.0...v10.0.0) (2024-06-07) - -### ⚠ BREAKING CHANGES - -- update node support (drop node@12, node@14, add node@20) (#750) - -### Features - -- support support rfc9562 MAX uuid (new in RFC9562) ([#714](https://github.com/uuidjs/uuid/issues/714)) ([0385cd3](https://github.com/uuidjs/uuid/commit/0385cd3f18ae9920678b2849932fa7a9d9aee7d0)) -- support rfc9562 v6 uuids ([#754](https://github.com/uuidjs/uuid/issues/754)) ([c4ed13e](https://github.com/uuidjs/uuid/commit/c4ed13e7159d87c9e42a349bdd9dc955f1af46b6)) -- support rfc9562 v7 uuids ([#681](https://github.com/uuidjs/uuid/issues/681)) ([db76a12](https://github.com/uuidjs/uuid/commit/db76a1284760c441438f50a57924b322dae08891)) -- update node support matrix (only support node 16-20) ([#750](https://github.com/uuidjs/uuid/issues/750)) ([883b163](https://github.com/uuidjs/uuid/commit/883b163b9ab9d6655bfbd8a35e61a3c71674dfe1)) -- support rfc9562 v8 uuids ([#759](https://github.com/uuidjs/uuid/issues/759)) ([35a5342](https://github.com/uuidjs/uuid/commit/35a53428202657e402e6b4aa68f56c08194541bf)) - -### Bug Fixes - -- revert "perf: remove superfluous call to toLowerCase ([#677](https://github.com/uuidjs/uuid/issues/677))" ([#738](https://github.com/uuidjs/uuid/issues/738)) ([e267b90](https://github.com/uuidjs/uuid/commit/e267b9073df1d0ce119ee53c0487fe76acb2be37)) - -## [9.0.1](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1) (2023-09-12) - -### build - -- Fix CI to work with Node.js 20.x - -## [9.0.0](https://github.com/uuidjs/uuid/compare/v8.3.2...v9.0.0) (2022-09-05) - -### ⚠ BREAKING CHANGES - -- Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022. - -- Remove the minified UMD build from the package. - - Minified code is hard to audit and since this is a widely used library it seems more appropriate nowadays to optimize for auditability than to ship a legacy module format that, at best, serves educational purposes nowadays. - - For production browser use cases, users should be using a bundler. For educational purposes, today's online sandboxes like replit.com offer convenient ways to load npm modules, so the use case for UMD through repos like UNPKG or jsDelivr has largely vanished. - -- Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015. - - This also removes the fallback on msCrypto instead of the crypto API. - - Browser tests are run in the first supported version of each supported browser and in the latest (as of this commit) version available on Browserstack. - -### Features - -- optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%) ([#597](https://github.com/uuidjs/uuid/issues/597)) ([3a033f6](https://github.com/uuidjs/uuid/commit/3a033f6bab6bb3780ece6d645b902548043280bc)) -- remove UMD build ([#645](https://github.com/uuidjs/uuid/issues/645)) ([e948a0f](https://github.com/uuidjs/uuid/commit/e948a0f22bf22f4619b27bd913885e478e20fe6f)), closes [#620](https://github.com/uuidjs/uuid/issues/620) -- use native crypto.randomUUID when available ([#600](https://github.com/uuidjs/uuid/issues/600)) ([c9e076c](https://github.com/uuidjs/uuid/commit/c9e076c852edad7e9a06baaa1d148cf4eda6c6c4)) - -### Bug Fixes - -- add Jest/jsdom compatibility ([#642](https://github.com/uuidjs/uuid/issues/642)) ([16f9c46](https://github.com/uuidjs/uuid/commit/16f9c469edf46f0786164cdf4dc980743984a6fd)) -- change default export to named function ([#545](https://github.com/uuidjs/uuid/issues/545)) ([c57bc5a](https://github.com/uuidjs/uuid/commit/c57bc5a9a0653273aa639cda9177ce52efabe42a)) -- handle error when parameter is not set in v3 and v5 ([#622](https://github.com/uuidjs/uuid/issues/622)) ([fcd7388](https://github.com/uuidjs/uuid/commit/fcd73881692d9fabb63872576ba28e30ff852091)) -- run npm audit fix ([#644](https://github.com/uuidjs/uuid/issues/644)) ([04686f5](https://github.com/uuidjs/uuid/commit/04686f54c5fed2cfffc1b619f4970c4bb8532353)) -- upgrading from uuid3 broken link ([#568](https://github.com/uuidjs/uuid/issues/568)) ([1c849da](https://github.com/uuidjs/uuid/commit/1c849da6e164259e72e18636726345b13a7eddd6)) - -### build - -- drop Node.js 8.x from babel transpile target ([#603](https://github.com/uuidjs/uuid/issues/603)) ([aa11485](https://github.com/uuidjs/uuid/commit/aa114858260402107ec8a1e1a825dea0a259bcb5)) -- drop support for legacy browsers (IE11, Safari 10) ([#604](https://github.com/uuidjs/uuid/issues/604)) ([0f433e5](https://github.com/uuidjs/uuid/commit/0f433e5ec444edacd53016de67db021102f36148)) - -- drop node 10.x to upgrade dev dependencies ([#653](https://github.com/uuidjs/uuid/issues/653)) ([28a5712](https://github.com/uuidjs/uuid/commit/28a571283f8abda6b9d85e689f95b7d3ee9e282e)), closes [#643](https://github.com/uuidjs/uuid/issues/643) - -### [8.3.2](https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2) (2020-12-08) - -### Bug Fixes - -- lazy load getRandomValues ([#537](https://github.com/uuidjs/uuid/issues/537)) ([16c8f6d](https://github.com/uuidjs/uuid/commit/16c8f6df2f6b09b4d6235602d6a591188320a82e)), closes [#536](https://github.com/uuidjs/uuid/issues/536) - -### [8.3.1](https://github.com/uuidjs/uuid/compare/v8.3.0...v8.3.1) (2020-10-04) - -### Bug Fixes - -- support expo>=39.0.0 ([#515](https://github.com/uuidjs/uuid/issues/515)) ([c65a0f3](https://github.com/uuidjs/uuid/commit/c65a0f3fa73b901959d638d1e3591dfacdbed867)), closes [#375](https://github.com/uuidjs/uuid/issues/375) - -## [8.3.0](https://github.com/uuidjs/uuid/compare/v8.2.0...v8.3.0) (2020-07-27) - -### Features - -- add parse/stringify/validate/version/NIL APIs ([#479](https://github.com/uuidjs/uuid/issues/479)) ([0e6c10b](https://github.com/uuidjs/uuid/commit/0e6c10ba1bf9517796ff23c052fc0468eedfd5f4)), closes [#475](https://github.com/uuidjs/uuid/issues/475) [#478](https://github.com/uuidjs/uuid/issues/478) [#480](https://github.com/uuidjs/uuid/issues/480) [#481](https://github.com/uuidjs/uuid/issues/481) [#180](https://github.com/uuidjs/uuid/issues/180) - -## [8.2.0](https://github.com/uuidjs/uuid/compare/v8.1.0...v8.2.0) (2020-06-23) - -### Features - -- improve performance of v1 string representation ([#453](https://github.com/uuidjs/uuid/issues/453)) ([0ee0b67](https://github.com/uuidjs/uuid/commit/0ee0b67c37846529c66089880414d29f3ae132d5)) -- remove deprecated v4 string parameter ([#454](https://github.com/uuidjs/uuid/issues/454)) ([88ce3ca](https://github.com/uuidjs/uuid/commit/88ce3ca0ba046f60856de62c7ce03f7ba98ba46c)), closes [#437](https://github.com/uuidjs/uuid/issues/437) -- support jspm ([#473](https://github.com/uuidjs/uuid/issues/473)) ([e9f2587](https://github.com/uuidjs/uuid/commit/e9f2587a92575cac31bc1d4ae944e17c09756659)) - -### Bug Fixes - -- prepare package exports for webpack 5 ([#468](https://github.com/uuidjs/uuid/issues/468)) ([8d6e6a5](https://github.com/uuidjs/uuid/commit/8d6e6a5f8965ca9575eb4d92e99a43435f4a58a8)) - -## [8.1.0](https://github.com/uuidjs/uuid/compare/v8.0.0...v8.1.0) (2020-05-20) - -### Features - -- improve v4 performance by reusing random number array ([#435](https://github.com/uuidjs/uuid/issues/435)) ([bf4af0d](https://github.com/uuidjs/uuid/commit/bf4af0d711b4d2ed03d1f74fd12ad0baa87dc79d)) -- optimize V8 performance of bytesToUuid ([#434](https://github.com/uuidjs/uuid/issues/434)) ([e156415](https://github.com/uuidjs/uuid/commit/e156415448ec1af2351fa0b6660cfb22581971f2)) - -### Bug Fixes - -- export package.json required by react-native and bundlers ([#449](https://github.com/uuidjs/uuid/issues/449)) ([be1c8fe](https://github.com/uuidjs/uuid/commit/be1c8fe9a3206c358e0059b52fafd7213aa48a52)), closes [ai/nanoevents#44](https://github.com/ai/nanoevents/issues/44#issuecomment-602010343) [#444](https://github.com/uuidjs/uuid/issues/444) - -## [8.0.0](https://github.com/uuidjs/uuid/compare/v7.0.3...v8.0.0) (2020-04-29) - -### ⚠ BREAKING CHANGES - -- For native ECMAScript Module (ESM) usage in Node.js only named exports are exposed, there is no more default export. - - ```diff - -import uuid from 'uuid'; - -console.log(uuid.v4()); // -> 'cd6c3b08-0adc-4f4b-a6ef-36087a1c9869' - +import { v4 as uuidv4 } from 'uuid'; - +uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d' - ``` - -- Deep requiring specific algorithms of this library like `require('uuid/v4')`, which has been deprecated in `uuid@7`, is no longer supported. - - Instead use the named exports that this module exports. - - For ECMAScript Modules (ESM): - - ```diff - -import uuidv4 from 'uuid/v4'; - +import { v4 as uuidv4 } from 'uuid'; - uuidv4(); - ``` - - For CommonJS: - - ```diff - -const uuidv4 = require('uuid/v4'); - +const { v4: uuidv4 } = require('uuid'); - uuidv4(); - ``` - -### Features - -- native Node.js ES Modules (wrapper approach) ([#423](https://github.com/uuidjs/uuid/issues/423)) ([2d9f590](https://github.com/uuidjs/uuid/commit/2d9f590ad9701d692625c07ed62f0a0f91227991)), closes [#245](https://github.com/uuidjs/uuid/issues/245) [#419](https://github.com/uuidjs/uuid/issues/419) [#342](https://github.com/uuidjs/uuid/issues/342) -- remove deep requires ([#426](https://github.com/uuidjs/uuid/issues/426)) ([daf72b8](https://github.com/uuidjs/uuid/commit/daf72b84ceb20272a81bb5fbddb05dd95922cbba)) - -### Bug Fixes - -- add CommonJS syntax example to README quickstart section ([#417](https://github.com/uuidjs/uuid/issues/417)) ([e0ec840](https://github.com/uuidjs/uuid/commit/e0ec8402c7ad44b7ef0453036c612f5db513fda0)) - -### [7.0.3](https://github.com/uuidjs/uuid/compare/v7.0.2...v7.0.3) (2020-03-31) - -### Bug Fixes - -- make deep require deprecation warning work in browsers ([#409](https://github.com/uuidjs/uuid/issues/409)) ([4b71107](https://github.com/uuidjs/uuid/commit/4b71107d8c0d2ef56861ede6403fc9dc35a1e6bf)), closes [#408](https://github.com/uuidjs/uuid/issues/408) - -### [7.0.2](https://github.com/uuidjs/uuid/compare/v7.0.1...v7.0.2) (2020-03-04) - -### Bug Fixes - -- make access to msCrypto consistent ([#393](https://github.com/uuidjs/uuid/issues/393)) ([8bf2a20](https://github.com/uuidjs/uuid/commit/8bf2a20f3565df743da7215eebdbada9d2df118c)) -- simplify link in deprecation warning ([#391](https://github.com/uuidjs/uuid/issues/391)) ([bb2c8e4](https://github.com/uuidjs/uuid/commit/bb2c8e4e9f4c5f9c1eaaf3ea59710c633cd90cb7)) -- update links to match content in readme ([#386](https://github.com/uuidjs/uuid/issues/386)) ([44f2f86](https://github.com/uuidjs/uuid/commit/44f2f86e9d2bbf14ee5f0f00f72a3db1292666d4)) - -### [7.0.1](https://github.com/uuidjs/uuid/compare/v7.0.0...v7.0.1) (2020-02-25) - -### Bug Fixes - -- clean up esm builds for node and browser ([#383](https://github.com/uuidjs/uuid/issues/383)) ([59e6a49](https://github.com/uuidjs/uuid/commit/59e6a49e7ce7b3e8fb0f3ee52b9daae72af467dc)) -- provide browser versions independent from module system ([#380](https://github.com/uuidjs/uuid/issues/380)) ([4344a22](https://github.com/uuidjs/uuid/commit/4344a22e7aed33be8627eeaaf05360f256a21753)), closes [#378](https://github.com/uuidjs/uuid/issues/378) - -## [7.0.0](https://github.com/uuidjs/uuid/compare/v3.4.0...v7.0.0) (2020-02-24) - -### ⚠ BREAKING CHANGES - -- The default export, which used to be the v4() method but which was already discouraged in v3.x of this library, has been removed. -- Explicitly note that deep imports of the different uuid version functions are deprecated and no longer encouraged and that ECMAScript module named imports should be used instead. Emit a deprecation warning for people who deep-require the different algorithm variants. -- Remove builtin support for insecure random number generators in the browser. Users who want that will have to supply their own random number generator function. -- Remove support for generating v3 and v5 UUIDs in Node.js<4.x -- Convert code base to ECMAScript Modules (ESM) and release CommonJS build for node and ESM build for browser bundlers. - -### Features - -- add UMD build to npm package ([#357](https://github.com/uuidjs/uuid/issues/357)) ([4e75adf](https://github.com/uuidjs/uuid/commit/4e75adf435196f28e3fbbe0185d654b5ded7ca2c)), closes [#345](https://github.com/uuidjs/uuid/issues/345) -- add various es module and CommonJS examples ([b238510](https://github.com/uuidjs/uuid/commit/b238510bf352463521f74bab175a3af9b7a42555)) -- ensure that docs are up-to-date in CI ([ee5e77d](https://github.com/uuidjs/uuid/commit/ee5e77db547474f5a8f23d6c857a6d399209986b)) -- hybrid CommonJS & ECMAScript modules build ([a3f078f](https://github.com/uuidjs/uuid/commit/a3f078faa0baff69ab41aed08e041f8f9c8993d0)) -- remove insecure fallback random number generator ([3a5842b](https://github.com/uuidjs/uuid/commit/3a5842b141a6e5de0ae338f391661e6b84b167c9)), closes [#173](https://github.com/uuidjs/uuid/issues/173) -- remove support for pre Node.js v4 Buffer API ([#356](https://github.com/uuidjs/uuid/issues/356)) ([b59b5c5](https://github.com/uuidjs/uuid/commit/b59b5c5ecad271c5453f1a156f011671f6d35627)) -- rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([c37a518](https://github.com/uuidjs/uuid/commit/c37a518e367ac4b6d0aa62dba1bc6ce9e85020f7)), closes [#338](https://github.com/uuidjs/uuid/issues/338) - -### Bug Fixes - -- add deep-require proxies for local testing and adjust tests ([#365](https://github.com/uuidjs/uuid/issues/365)) ([7fedc79](https://github.com/uuidjs/uuid/commit/7fedc79ac8fda4bfd1c566c7f05ef4ac13b2db48)) -- add note about removal of default export ([#372](https://github.com/uuidjs/uuid/issues/372)) ([12749b7](https://github.com/uuidjs/uuid/commit/12749b700eb49db8a9759fd306d8be05dbfbd58c)), closes [#370](https://github.com/uuidjs/uuid/issues/370) -- deprecated deep requiring of the different algorithm versions ([#361](https://github.com/uuidjs/uuid/issues/361)) ([c0bdf15](https://github.com/uuidjs/uuid/commit/c0bdf15e417639b1aeb0b247b2fb11f7a0a26b23)) - -## [3.4.0](https://github.com/uuidjs/uuid/compare/v3.3.3...v3.4.0) (2020-01-16) - -### Features - -- rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([e2d7314](https://github.com/uuidjs/uuid/commit/e2d7314)), closes [#338](https://github.com/uuidjs/uuid/issues/338) - -## [3.3.3](https://github.com/uuidjs/uuid/compare/v3.3.2...v3.3.3) (2019-08-19) - -### Bug Fixes - -- no longer run ci tests on node v4 -- upgrade dependencies - -## [3.3.2](https://github.com/uuidjs/uuid/compare/v3.3.1...v3.3.2) (2018-06-28) - -### Bug Fixes - -- typo ([305d877](https://github.com/uuidjs/uuid/commit/305d877)) - -## [3.3.1](https://github.com/uuidjs/uuid/compare/v3.3.0...v3.3.1) (2018-06-28) - -### Bug Fixes - -- fix [#284](https://github.com/uuidjs/uuid/issues/284) by setting function name in try-catch ([f2a60f2](https://github.com/uuidjs/uuid/commit/f2a60f2)) - -# [3.3.0](https://github.com/uuidjs/uuid/compare/v3.2.1...v3.3.0) (2018-06-22) - -### Bug Fixes - -- assignment to readonly property to allow running in strict mode ([#270](https://github.com/uuidjs/uuid/issues/270)) ([d062fdc](https://github.com/uuidjs/uuid/commit/d062fdc)) -- fix [#229](https://github.com/uuidjs/uuid/issues/229) ([c9684d4](https://github.com/uuidjs/uuid/commit/c9684d4)) -- Get correct version of IE11 crypto ([#274](https://github.com/uuidjs/uuid/issues/274)) ([153d331](https://github.com/uuidjs/uuid/commit/153d331)) -- mem issue when generating uuid ([#267](https://github.com/uuidjs/uuid/issues/267)) ([c47702c](https://github.com/uuidjs/uuid/commit/c47702c)) - -### Features - -- enforce Conventional Commit style commit messages ([#282](https://github.com/uuidjs/uuid/issues/282)) ([cc9a182](https://github.com/uuidjs/uuid/commit/cc9a182)) - -## [3.2.1](https://github.com/uuidjs/uuid/compare/v3.2.0...v3.2.1) (2018-01-16) - -### Bug Fixes - -- use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b)) - -# [3.2.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.2.0) (2018-01-16) - -### Bug Fixes - -- remove mistakenly added typescript dependency, rollback version (standard-version will auto-increment) ([09fa824](https://github.com/uuidjs/uuid/commit/09fa824)) -- use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b)) - -### Features - -- Add v3 Support ([#217](https://github.com/uuidjs/uuid/issues/217)) ([d94f726](https://github.com/uuidjs/uuid/commit/d94f726)) - -# [3.1.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.0.1) (2017-06-17) - -### Bug Fixes - -- (fix) Add .npmignore file to exclude test/ and other non-essential files from packing. (#183) -- Fix typo (#178) -- Simple typo fix (#165) - -### Features - -- v5 support in CLI (#197) -- V5 support (#188) - -# 3.0.1 (2016-11-28) - -- split uuid versions into separate files - -# 3.0.0 (2016-11-17) - -- remove .parse and .unparse - -# 2.0.0 - -- Removed uuid.BufferClass - -# 1.4.0 - -- Improved module context detection -- Removed public RNG functions - -# 1.3.2 - -- Improve tests and handling of v1() options (Issue #24) -- Expose RNG option to allow for perf testing with different generators - -# 1.3.0 - -- Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)! -- Support for node.js crypto API -- De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code diff --git a/node_modules/uuid/CONTRIBUTING.md b/node_modules/uuid/CONTRIBUTING.md deleted file mode 100644 index 4a4503d02c..0000000000 --- a/node_modules/uuid/CONTRIBUTING.md +++ /dev/null @@ -1,18 +0,0 @@ -# Contributing - -Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library! - -## Testing - -```shell -npm test -``` - -## Releasing - -Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version): - -```shell -npm run release -- --dry-run # verify output manually -npm run release # follow the instructions from the output of this command -``` diff --git a/node_modules/uuid/README.md b/node_modules/uuid/README.md index 82349bfac5..72730cfb03 100644 --- a/node_modules/uuid/README.md +++ b/node_modules/uuid/README.md @@ -2,16 +2,15 @@ -- This file is auto-generated from README_js.md. Changes should be made there. --> - # uuid [![CI](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [![Browser](https://github.com/uuidjs/uuid/workflows/Browser/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ABrowser) For the creation of [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) (formally [RFC4122](https://www.rfc-editor.org/rfc/rfc4122.html)) UUIDs - **Complete** - Support for all RFC9562 UUID versions -- **Cross-platform** - Support for ... - - CommonJS, [ECMAScript Modules](#ecmascript-modules) - - NodeJS 16+ ([LTS releases](https://github.com/nodejs/Release)) - - Chrome, Safari, Firefox, Edge browsers +- **Cross-platform** - Support for... + - ESM & Common JS + - [Chrome, Safari, Firefox, Edge browsers](#support) + - [NodeJS](#support) - [React Native / Expo](#react-native--expo) - **Secure** - Cryptographically-strong random values - **Compact** - No dependencies, [tree-shakable](https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking) @@ -117,13 +116,13 @@ Example: import { parse as uuidParse } from 'uuid'; // Parse a UUID -uuidParse('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ - // Uint8Array(16) [ - // 110, 192, 189, 127, 17, - // 192, 67, 218, 151, 94, - // 42, 138, 217, 235, 174, - // 11 - // ] +uuidParse('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ +// Uint8Array(16) [ +// 110, 192, 189, 127, 17, +// 192, 67, 218, 151, 94, +// 42, 138, 217, 235, 174, +// 11 +// ] ``` ### uuid.stringify(arr[, offset]) @@ -367,7 +366,7 @@ Create an RFC version 7 (random) UUID | [`options.msecs = (current time)`] | RFC "timestamp" field (`Number` of milliseconds, unix epoch) | | [`options.random = (random)`] | `Array` of 16 random bytes (0-255) used to generate other fields, above | | [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) | -| [`options.seq = (random)`] | 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help insure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. | +| [`options.seq = (random)`] | 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help ensure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. | | [`buffer`] | `Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` | | [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` | | _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` | @@ -475,14 +474,28 @@ defined by RFC9562 ## `options` Handling for Timestamp UUIDs -Prior to `uuid@11`, it was possible for `options` state to interfere with the internal state used to insure uniqueness of timestamp-based UUIDs (the `v1()`, `v6()`, and `v7()` methods). Starting with `uuid@11`, this issue has been addressed by using the presence of the `options` argument as a flag to select between two possible behaviors: +Prior to `uuid@11`, it was possible for `options` state to interfere with the internal state used to ensure uniqueness of timestamp-based UUIDs (the `v1()`, `v6()`, and `v7()` methods). Starting with `uuid@11`, this issue has been addressed by using the presence of the `options` argument as a flag to select between two possible behaviors: - Without `options`: Internal state is utilized to improve UUID uniqueness. - With `options`: Internal state is **NOT** used and, instead, appropriate defaults are applied as needed. +## Support + +**Browsers**: `uuid` [builds are tested](/uuidjs/uuid/blob/main/wdio.conf.js) against the latest version of desktop Chrome, Safari, Firefox, and Edge. Mobile versions of these same browsers are expected to work but aren't currently tested. + +**Node**: `uuid` [builds are tested](https://github.com/uuidjs/uuid/blob/main/.github/workflows/ci.yml#L26-L27) against node ([LTS releases](https://github.com/nodejs/Release)), plus one prior. E.g. `node@18` is in maintainence mode, and `node@22` is the current LTS release. So `uuid` supports `node@16`-`node@22`. + +**Typescript**: TS versions released within the past two years are supported. [source](https://github.com/microsoft/TypeScript/issues/49088#issuecomment-2468723715) + ## Known issues -### React Native / Expo + + +### "getRandomValues() not supported" + +This error occurs in environments where the standard [`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues) API is not supported. This issue can be resolved by adding an appropriate polyfill: + +#### React Native / Expo 1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme) 1. Import it _before_ `uuid`. Since `uuid` might also appear as a transitive dependency of some other imports it's safest to just import `react-native-get-random-values` as the very first thing in your entry point: @@ -494,4 +507,4 @@ import { v4 as uuidv4 } from 'uuid'; --- -Markdown generated from [README_js.md](README_js.md) by +Markdown generated from [README_js.md](README_js.md) by diff --git a/node_modules/uuid/dist/cjs-browser/md5.d.ts b/node_modules/uuid/dist/cjs-browser/md5.d.ts index 5a55f51ebd..44bc824b1b 100644 --- a/node_modules/uuid/dist/cjs-browser/md5.d.ts +++ b/node_modules/uuid/dist/cjs-browser/md5.d.ts @@ -1,2 +1,2 @@ -declare function md5(bytes: Uint8Array): Uint8Array; +declare function md5(bytes: Uint8Array): Uint8Array; export default md5; diff --git a/node_modules/uuid/dist/cjs-browser/parse.d.ts b/node_modules/uuid/dist/cjs-browser/parse.d.ts index a316fb1178..86d55ef9c5 100644 --- a/node_modules/uuid/dist/cjs-browser/parse.d.ts +++ b/node_modules/uuid/dist/cjs-browser/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/cjs-browser/rng.d.ts b/node_modules/uuid/dist/cjs-browser/rng.d.ts index 73e60cf348..1fbb163599 100644 --- a/node_modules/uuid/dist/cjs-browser/rng.d.ts +++ b/node_modules/uuid/dist/cjs-browser/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/parse.test.js b/node_modules/uuid/dist/cjs-browser/test/parse.test.js deleted file mode 100644 index f9053a419e..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/parse.test.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const parse_js_1 = require("../parse.js"); -const stringify_js_1 = require("../stringify.js"); -const v4_js_1 = require("../v4.js"); -function splitmix32(a) { - return function () { - a |= 0; - a = (a + 0x9e3779b9) | 0; - let t = a ^ (a >>> 16); - t = Math.imul(t, 0x21f0aaad); - t = t ^ (t >>> 15); - t = Math.imul(t, 0x735a2d97); - return ((t = t ^ (t >>> 15)) >>> 0) / 4294967296; - }; -} -const rand = splitmix32(0x12345678); -function rng(bytes = new Uint8Array(16)) { - for (let i = 0; i < 16; i++) { - bytes[i] = rand() * 256; - } - return bytes; -} -(0, node_test_1.describe)('parse', () => { - (0, node_test_1.default)('String -> bytes parsing', () => { - assert.deepStrictEqual((0, parse_js_1.default)('0f5abcd1-c194-47f3-905b-2df7263a084b'), Uint8Array.from([ - 0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, - 0x4b, - ])); - }); - (0, node_test_1.default)('String -> bytes -> string symmetry for assorted uuids', () => { - for (let i = 0; i < 1000; i++) { - const uuid = (0, v4_js_1.default)({ rng }); - assert.equal((0, stringify_js_1.default)((0, parse_js_1.default)(uuid)), uuid); - } - }); - (0, node_test_1.default)('Case neutrality', () => { - assert.deepStrictEqual((0, parse_js_1.default)('0f5abcd1-c194-47f3-905b-2df7263a084b'), (0, parse_js_1.default)('0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase())); - }); - (0, node_test_1.default)('Null UUID case', () => { - assert.deepStrictEqual((0, parse_js_1.default)('00000000-0000-0000-0000-000000000000'), Uint8Array.from(new Array(16).fill(0))); - }); - (0, node_test_1.default)('UUID validation', () => { - assert.throws(() => (0, parse_js_1.default)()); - assert.throws(() => (0, parse_js_1.default)('invalid uuid')); - assert.throws(() => (0, parse_js_1.default)('zyxwvuts-rqpo-nmlk-jihg-fedcba000000')); - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/rng.test.js b/node_modules/uuid/dist/cjs-browser/test/rng.test.js deleted file mode 100644 index 72c392afc1..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/rng.test.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const rng_js_1 = require("../rng.js"); -(0, node_test_1.describe)('rng', () => { - (0, node_test_1.default)('Node.js RNG', () => { - const bytes = (0, rng_js_1.default)(); - assert.equal(bytes.length, 16); - for (let i = 0; i < bytes.length; ++i) { - assert.equal(typeof bytes[i], 'number'); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/stringify.test.js b/node_modules/uuid/dist/cjs-browser/test/stringify.test.js deleted file mode 100644 index 8b44b5c7b4..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/stringify.test.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const stringify_js_1 = require("../stringify.js"); -const BYTES = Uint8Array.of(0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, 0x4b); -(0, node_test_1.describe)('stringify', () => { - (0, node_test_1.default)('Stringify Array (unsafe)', () => { - assert.equal((0, stringify_js_1.unsafeStringify)(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - (0, node_test_1.default)('Stringify w/ offset (unsafe)', () => { - const bytes = new Uint8Array(19).fill(0); - bytes.set(BYTES, 3); - assert.equal((0, stringify_js_1.unsafeStringify)(bytes, 3), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - (0, node_test_1.default)('Stringify Array (safe)', () => { - assert.equal((0, stringify_js_1.default)(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - (0, node_test_1.default)('Throws on not enough values (safe)', () => { - const bytes = BYTES.slice(0, 15); - assert.throws(() => (0, stringify_js_1.default)(bytes)); - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts b/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts deleted file mode 100644 index 959a679fd0..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export declare const TESTS: ({ - value: string; - expectedValidate: boolean; - expectedVersion: number; -} | { - value: string; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: undefined; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: null; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: number; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: RegExp; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: Date; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: boolean; - expectedValidate: boolean; - expectedVersion?: undefined; -})[]; diff --git a/node_modules/uuid/dist/cjs-browser/test/test_constants.js b/node_modules/uuid/dist/cjs-browser/test/test_constants.js deleted file mode 100644 index e1c2752079..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/test_constants.js +++ /dev/null @@ -1,91 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TESTS = void 0; -const max_js_1 = require("../max.js"); -const nil_js_1 = require("../nil.js"); -exports.TESTS = [ - { value: nil_js_1.default, expectedValidate: true, expectedVersion: 0 }, - { value: max_js_1.default, expectedValidate: true, expectedVersion: 15 }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: 'ffffffff-ffff-1fff-8fff-ffffffffffff', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-2000-8000-000000000000', expectedValidate: true, expectedVersion: 2 }, - { value: 'ffffffff-ffff-2fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 2 }, - { value: '00000000-0000-3000-8000-000000000000', expectedValidate: true, expectedVersion: 3 }, - { value: 'ffffffff-ffff-3fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 3 }, - { value: '00000000-0000-4000-8000-000000000000', expectedValidate: true, expectedVersion: 4 }, - { value: 'ffffffff-ffff-4fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 4 }, - { value: '00000000-0000-5000-8000-000000000000', expectedValidate: true, expectedVersion: 5 }, - { value: 'ffffffff-ffff-5fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 5 }, - { value: '00000000-0000-6000-8000-000000000000', expectedValidate: true, expectedVersion: 6 }, - { value: 'ffffffff-ffff-6fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 6 }, - { value: '00000000-0000-7000-8000-000000000000', expectedValidate: true, expectedVersion: 7 }, - { value: 'ffffffff-ffff-7fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 7 }, - { value: '00000000-0000-8000-8000-000000000000', expectedValidate: true, expectedVersion: 8 }, - { value: 'ffffffff-ffff-8fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-9000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-9fff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-a000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-afff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-b000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-bfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-c000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-cfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-d000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-dfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-e000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-efff-bfff-ffffffffffff', expectedValidate: false }, - { value: 'd9428888-122b-11e1-b85c-61cd3cbb3210', expectedValidate: true, expectedVersion: 1 }, - { value: '000003e8-2363-21ef-b200-325096b39f47', expectedValidate: true, expectedVersion: 2 }, - { value: 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec', expectedValidate: true, expectedVersion: 3 }, - { value: '109156be-c4fb-41ea-b1b4-efe1671c5836', expectedValidate: true, expectedVersion: 4 }, - { value: '90123e1c-7512-523e-bb28-76fab9f2f73d', expectedValidate: true, expectedVersion: 5 }, - { value: '1ef21d2f-1207-6660-8c4f-419efbd44d48', expectedValidate: true, expectedVersion: 6 }, - { value: '017f22e2-79b0-7cc3-98c4-dc0c0c07398f', expectedValidate: true, expectedVersion: 7 }, - { value: '0d8f23a0-697f-83ae-802e-48f3756dd581', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-1000-0000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-1000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-2000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-3000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-4000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-5000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-6000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-7000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-9000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-a000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-b000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-c000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-d000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-e000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-f000-000000000000', expectedValidate: false }, - { value: '00000000000000000000000000000000', expectedValidate: false }, - { value: '', expectedValidate: false }, - { value: 'invalid uuid string', expectedValidate: false }, - { - value: '=Y00a-f*vb*-c-d#-p00f\b-g0h-#i^-j*3&-L00k-\nl---00n-fg000-00p-00r+', - expectedValidate: false, - }, - { value: undefined, expectedValidate: false }, - { value: null, expectedValidate: false }, - { value: 123, expectedValidate: false }, - { value: /regex/, expectedValidate: false }, - { value: new Date(0), expectedValidate: false }, - { value: false, expectedValidate: false }, -]; -for (let charIndex = 0; charIndex < 36; charIndex++) { - if (charIndex === 8 || - charIndex === 13 || - charIndex === 14 || - charIndex === 18 || - charIndex === 23) { - continue; - } - const nilChars = nil_js_1.default.split(''); - const maxChars = max_js_1.default.split(''); - for (let i = 0; i < 4; i++) { - nilChars[charIndex] = (0x0 ^ (1 << i)).toString(16); - exports.TESTS.push({ value: nilChars.join(''), expectedValidate: false }); - maxChars[charIndex] = (0xf ^ (1 << i)).toString(16); - exports.TESTS.push({ value: maxChars.join(''), expectedValidate: false }); - } -} diff --git a/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/v1.test.js b/node_modules/uuid/dist/cjs-browser/test/v1.test.js deleted file mode 100644 index 2013927198..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v1.test.js +++ /dev/null @@ -1,127 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const parse_js_1 = require("../parse.js"); -const v1_js_1 = require("../v1.js"); -const TIME = 1321644961388; -const RFC_V1 = 'c232ab00-9414-11ec-b3c8-9f68deced846'; -const RFC_V1_BYTES = (0, parse_js_1.default)(RFC_V1); -const RFC_OPTIONS = { - msecs: 0x17f22e279b0, - nsecs: 0, - clockseq: 0x33c8, - node: Uint8Array.of(0x9f, 0x68, 0xde, 0xce, 0xd8, 0x46), -}; -const RFC_RANDOM = Uint8Array.of(0, 0, 0, 0, 0, 0, 0, 0, RFC_OPTIONS.clockseq >> 8, RFC_OPTIONS.clockseq & 0xff, ...RFC_OPTIONS.node); -function compareV1TimeField(a, b) { - a = a.split('-').slice(0, 3).reverse().join(''); - b = b.split('-').slice(0, 3).reverse().join(''); - return a < b ? -1 : a > b ? 1 : 0; -} -(0, node_test_1.describe)('v1', () => { - (0, node_test_1.default)('v1 sort order (default)', () => { - const ids = [(0, v1_js_1.default)(), (0, v1_js_1.default)(), (0, v1_js_1.default)(), (0, v1_js_1.default)(), (0, v1_js_1.default)()]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - (0, node_test_1.default)('v1 sort order (time option)', () => { - const ids = [ - (0, v1_js_1.default)({ msecs: TIME - 10 * 3600 * 1000 }), - (0, v1_js_1.default)({ msecs: TIME - 1 }), - (0, v1_js_1.default)({ msecs: TIME }), - (0, v1_js_1.default)({ msecs: TIME + 1 }), - (0, v1_js_1.default)({ msecs: TIME + 28 * 24 * 3600 * 1000 }), - ]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - (0, node_test_1.default)('v1(options)', () => { - assert.equal((0, v1_js_1.default)({ msecs: RFC_OPTIONS.msecs, random: RFC_RANDOM }), RFC_V1, 'minimal options'); - assert.equal((0, v1_js_1.default)(RFC_OPTIONS), RFC_V1, 'full options'); - }); - (0, node_test_1.default)('v1(options) equality', () => { - assert.notEqual((0, v1_js_1.default)({ msecs: TIME }), (0, v1_js_1.default)({ msecs: TIME }), 'UUIDs with minimal options differ'); - assert.equal((0, v1_js_1.default)(RFC_OPTIONS), (0, v1_js_1.default)(RFC_OPTIONS), 'UUIDs with full options are identical'); - }); - (0, node_test_1.default)('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = (0, v1_js_1.default)(RFC_OPTIONS, buffer); - assert.deepEqual(buffer, RFC_V1_BYTES); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - (0, v1_js_1.default)(RFC_OPTIONS, buffer, 0); - (0, v1_js_1.default)(RFC_OPTIONS, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(RFC_V1_BYTES); - expectedBuf.set(RFC_V1_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - (0, node_test_1.default)('v1() state transitions', () => { - const PRE_STATE = { - msecs: 10, - nsecs: 20, - clockseq: 0x1234, - node: Uint8Array.of(0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc), - }; - const tests = [ - { - title: 'initial state', - state: {}, - now: 10, - expected: { - msecs: 10, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'same time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 21, - }, - }, - { - title: 'new time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs + 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs + 1, - nsecs: 0, - }, - }, - { - title: 'same time interval (nsecs overflow)', - state: { ...PRE_STATE, nsecs: 9999 }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'time regression', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs - 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs - 1, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual((0, v1_js_1.updateV1State)(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/v35.test.js b/node_modules/uuid/dist/cjs-browser/test/v35.test.js deleted file mode 100644 index d12394b9c0..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v35.test.js +++ /dev/null @@ -1,143 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const md5_js_1 = require("../md5.js"); -const sha1_js_1 = require("../sha1.js"); -const v3_js_1 = require("../v3.js"); -const v35_js_1 = require("../v35.js"); -const v5_js_1 = require("../v5.js"); -(0, node_test_1.describe)('v35', () => { - const HASH_SAMPLES = [ - { - input: (0, v35_js_1.stringToBytes)(''), - sha1: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', - md5: 'd41d8cd98f00b204e9800998ecf8427e', - }, - { - input: (0, v35_js_1.stringToBytes)('\t\b\f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF'), - sha1: 'ca4a426a3d536f14cfd79011e79e10d64de950a0', - md5: 'e8098ec21950f841731d28749129d3ee', - }, - { - input: (0, v35_js_1.stringToBytes)('\u00A5\u0104\u018F\u0256\u02B1o\u0315\u038E\u0409\u0500\u0531\u05E1\u05B6\u0920\u0903\u09A4\u0983\u0A20\u0A02\u0AA0\u0A83\u0B06\u0C05\u0C03\u1401\u16A0'), - sha1: 'f2753ebc390e5f637e333c2a4179644a93ae9f65', - md5: '231b309e277b6be8bb3d6c688b7f098b', - }, - ]; - function hashToHex(hash) { - const chars = new Array(hash.length); - for (let i = 0; i < hash.length; i++) { - chars[i] = hash[i].toString(16).padStart(2, '0'); - } - return chars.join(''); - } - HASH_SAMPLES.forEach(function (sample, i) { - (0, node_test_1.default)(`sha1(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex((0, sha1_js_1.default)(sample.input)), sample.sha1); - }); - }); - HASH_SAMPLES.forEach(function (sample, i) { - (0, node_test_1.default)(`md5(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex((0, md5_js_1.default)(sample.input)), sample.md5); - }); - }); - (0, node_test_1.default)('v3', () => { - assert.strictEqual((0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual((0, v3_js_1.default)('http://example.com/hello', v3_js_1.default.URL), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual((0, v3_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - (0, node_test_1.default)('v3 namespace.toUpperCase', () => { - assert.strictEqual((0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS.toUpperCase()), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual((0, v3_js_1.default)('http://example.com/hello', v3_js_1.default.URL.toUpperCase()), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual((0, v3_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - (0, node_test_1.default)('v3 namespace string validation', () => { - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', 'invalid uuid value'); - }); - assert.ok((0, v3_js_1.default)('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - (0, node_test_1.default)('v3 namespace buffer validation', () => { - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', new Uint8Array(17)); - }); - assert.ok((0, v3_js_1.default)('hello.example.com', new Uint8Array(16).fill(0))); - }); - (0, node_test_1.default)('v3 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0x91, 0x25, 0xa8, 0xdc, 0x52, 0xee, 0x36, 0x5b, 0xa5, 0xaa, 0x81, 0xb0, 0xb3, 0x68, 0x1c, 0xf6); - const result = (0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - (0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - (0, node_test_1.default)('v3 undefined/null', () => { - assert.throws(() => (0, v3_js_1.default)()); - assert.throws(() => (0, v3_js_1.default)('hello')); - assert.throws(() => (0, v3_js_1.default)('hello.example.com', undefined)); - assert.throws(() => (0, v3_js_1.default)('hello.example.com', null, new Uint8Array(16))); - }); - (0, node_test_1.default)('v5', () => { - assert.strictEqual((0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual((0, v5_js_1.default)('http://example.com/hello', v5_js_1.default.URL), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual((0, v5_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - (0, node_test_1.default)('v5 namespace.toUpperCase', () => { - assert.strictEqual((0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS.toUpperCase()), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual((0, v5_js_1.default)('http://example.com/hello', v5_js_1.default.URL.toUpperCase()), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual((0, v5_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - (0, node_test_1.default)('v5 namespace string validation', () => { - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', 'invalid uuid value'); - }); - assert.ok((0, v5_js_1.default)('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - (0, node_test_1.default)('v5 namespace buffer validation', () => { - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', new Uint8Array(17)); - }); - assert.ok((0, v5_js_1.default)('hello.example.com', new Uint8Array(16).fill(0))); - }); - (0, node_test_1.default)('v5 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0xfd, 0xda, 0x76, 0x5f, 0xfc, 0x57, 0x56, 0x04, 0xa2, 0x69, 0x52, 0xa7, 0xdf, 0x81, 0x64, 0xec); - const result = (0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - (0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - (0, node_test_1.default)('v5 undefined/null', () => { - assert.throws(() => (0, v5_js_1.default)()); - assert.throws(() => (0, v5_js_1.default)('hello')); - assert.throws(() => (0, v5_js_1.default)('hello.example.com', undefined)); - assert.throws(() => (0, v5_js_1.default)('hello.example.com', null, new Uint8Array(16))); - }); - (0, node_test_1.default)('v3/v5 constants', () => { - assert.strictEqual(v3_js_1.default.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v3_js_1.default.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5_js_1.default.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5_js_1.default.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/v4.test.js b/node_modules/uuid/dist/cjs-browser/test/v4.test.js deleted file mode 100644 index db2680f76f..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v4.test.js +++ /dev/null @@ -1,60 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const native_js_1 = require("../native.js"); -const v4_js_1 = require("../v4.js"); -const randomBytesFixture = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea, 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36); -const expectedBytes = Uint8Array.of(16, 145, 86, 190, 196, 251, 65, 234, 177, 180, 239, 225, 103, 28, 88, 54); -(0, node_test_1.describe)('v4', () => { - (0, node_test_1.default)('subsequent UUIDs are different', () => { - const id1 = (0, v4_js_1.default)(); - const id2 = (0, v4_js_1.default)(); - assert.ok(id1 !== id2); - }); - (0, node_test_1.default)('should uses native randomUUID() if no option is passed', async () => { - const mock = (await Promise.resolve().then(() => require('node:test'))).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native_js_1.default, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - (0, v4_js_1.default)(); - assert.equal(mockRandomUUID.mock.callCount(), 1); - mock.restoreAll(); - }); - (0, node_test_1.default)('should not use native randomUUID() if an option is passed', async () => { - const mock = (await Promise.resolve().then(() => require('node:test'))).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native_js_1.default, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - (0, v4_js_1.default)({}); - assert.equal(mockRandomUUID.mock.callCount(), 0); - mock.restoreAll(); - }); - (0, node_test_1.default)('explicit options.random produces expected result', () => { - const id = (0, v4_js_1.default)({ random: randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - (0, node_test_1.default)('explicit options.rng produces expected result', () => { - const id = (0, v4_js_1.default)({ rng: () => randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - (0, node_test_1.default)('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = (0, v4_js_1.default)({ random: randomBytesFixture }, buffer); - assert.deepEqual(buffer, expectedBytes); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - (0, v4_js_1.default)({ random: randomBytesFixture }, buffer, 0); - (0, v4_js_1.default)({ random: randomBytesFixture }, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(expectedBytes); - expectedBuf.set(expectedBytes, 16); - assert.deepEqual(buffer, expectedBuf); - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/v6.test.js b/node_modules/uuid/dist/cjs-browser/test/v6.test.js deleted file mode 100644 index 32ba29240e..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v6.test.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const v1ToV6_js_1 = require("../v1ToV6.js"); -const v6_js_1 = require("../v6.js"); -const v6ToV1_js_1 = require("../v6ToV1.js"); -(0, node_test_1.describe)('v6', () => { - const V1_ID = 'f1207660-21d2-11ef-8c4f-419efbd44d48'; - const V6_ID = '1ef21d2f-1207-6660-8c4f-419efbd44d48'; - const fullOptions = { - msecs: 0x133b891f705, - nsecs: 0x1538, - clockseq: 0x385c, - node: Uint8Array.of(0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10), - }; - const EXPECTED_BYTES = Uint8Array.of(0x1e, 0x11, 0x22, 0xbd, 0x94, 0x28, 0x68, 0x88, 0xb8, 0x5c, 0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10); - (0, node_test_1.default)('default behavior', () => { - const id = (0, v6_js_1.default)(); - assert.ok(/[0-9a-f]{8}-[0-9a-f]{4}-6[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/.test(id), 'id is valid v6 UUID'); - }); - (0, node_test_1.default)('default behavior (binary type)', () => { - const buffer = new Uint8Array(16); - const result = (0, v6_js_1.default)(fullOptions, buffer); - assert.deepEqual(buffer, EXPECTED_BYTES); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('all options', () => { - const id = (0, v6_js_1.default)(fullOptions); - assert.equal(id, '1e1122bd-9428-6888-b85c-61cd3cbb3210'); - }); - (0, node_test_1.default)('sort by creation time', () => { - const ids = []; - for (let i = 0; i < 5; i++) { - ids.push((0, v6_js_1.default)({ msecs: i * 1000 })); - } - assert.deepEqual(ids, ids.slice().sort()); - }); - (0, node_test_1.default)('creating at array offset', () => { - const buffer = new Uint8Array(32); - (0, v6_js_1.default)(fullOptions, buffer, 0); - (0, v6_js_1.default)(fullOptions, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(EXPECTED_BYTES, 0); - expectedBuf.set(EXPECTED_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - (0, node_test_1.default)('v1 -> v6 conversion', () => { - const id = (0, v1ToV6_js_1.default)(V1_ID); - assert.equal(id, V6_ID); - }); - (0, node_test_1.default)('v6 -> v1 conversion', () => { - const id = (0, v6ToV1_js_1.default)(V6_ID); - assert.equal(id, V1_ID); - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/v7.test.js b/node_modules/uuid/dist/cjs-browser/test/v7.test.js deleted file mode 100644 index 2c549d534a..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/v7.test.js +++ /dev/null @@ -1,194 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const parse_js_1 = require("../parse.js"); -const stringify_js_1 = require("../stringify.js"); -const v7_js_1 = require("../v7.js"); -const RFC_V7 = '017f22e2-79b0-7cc3-98c4-dc0c0c07398f'; -const RFC_V7_BYTES = (0, parse_js_1.default)('017f22e2-79b0-7cc3-98c4-dc0c0c07398f'); -const RFC_MSECS = 0x17f22e279b0; -const RFC_SEQ = (0x0cc3 << 20) | (0x98c4dc >> 2); -const RFC_RANDOM = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0x0c, 0xc3, 0x18, 0xc4, 0x6c, 0x0c, 0x0c, 0x07, 0x39, 0x8f); -(0, node_test_1.describe)('v7', () => { - (0, node_test_1.default)('subsequent UUIDs are different', () => { - const id1 = (0, v7_js_1.default)(); - const id2 = (0, v7_js_1.default)(); - assert.ok(id1 !== id2); - }); - (0, node_test_1.default)('explicit options.random and options.msecs produces expected result', () => { - const id = (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - (0, node_test_1.default)('explicit options.rng produces expected result', () => { - const id = (0, v7_js_1.default)({ - rng: () => RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - (0, node_test_1.default)('explicit options.msecs produces expected result', () => { - const id = (0, v7_js_1.default)({ - msecs: RFC_MSECS, - }); - assert.strictEqual(id.indexOf('017f22e2'), 0); - }); - (0, node_test_1.default)('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer); - (0, stringify_js_1.default)(buffer); - assert.deepEqual(buffer, RFC_V7_BYTES); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 0); - (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 16); - const expected = new Uint8Array(32); - expected.set(RFC_V7_BYTES); - expected.set(RFC_V7_BYTES, 16); - assert.deepEqual(buffer, expected); - }); - (0, node_test_1.default)('lexicographical sorting is preserved', () => { - let id; - let prior; - let msecs = RFC_MSECS; - for (let i = 0; i < 20000; ++i) { - if (i % 1500 === 0) { - msecs += 1; - } - id = (0, v7_js_1.default)({ msecs, seq: i }); - if (prior !== undefined) { - assert.ok(prior < id, `${prior} < ${id}`); - } - prior = id; - } - }); - (0, node_test_1.default)('can supply seq', () => { - let seq = 0x12345; - let uuid = (0, v7_js_1.default)({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substr(0, 25), '017f22e2-79b0-7000-848d-1'); - seq = 0x6fffffff; - uuid = (0, v7_js_1.default)({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substring(0, 25), '017f22e2-79b0-76ff-bfff-f'); - }); - (0, node_test_1.default)('internal seq is reset upon timestamp change', () => { - (0, v7_js_1.default)({ - msecs: RFC_MSECS, - seq: 0x6fffffff, - }); - const uuid = (0, v7_js_1.default)({ - msecs: RFC_MSECS + 1, - }); - assert.ok(uuid.indexOf('fff') !== 15); - }); - (0, node_test_1.default)('v7() state transitions', () => { - const tests = [ - { - title: 'new time interval', - state: { msecs: 1, seq: 123 }, - now: 2, - expected: { - msecs: 2, - seq: 0x6c318c4, - }, - }, - { - title: 'same time interval', - state: { msecs: 1, seq: 123 }, - now: 1, - expected: { - msecs: 1, - seq: 124, - }, - }, - { - title: 'same time interval (sequence rollover)', - state: { msecs: 1, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 2, - seq: 0, - }, - }, - { - title: 'time regression', - state: { msecs: 2, seq: 123 }, - now: 1, - expected: { - msecs: 2, - seq: 124, - }, - }, - { - title: 'time regression (sequence rollover)', - state: { msecs: 2, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 3, - seq: 0, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual((0, v7_js_1.updateV7State)(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); - (0, node_test_1.default)('flipping bits changes the result', () => { - const asBigInt = (buf) => buf.reduce((acc, v) => (acc << 8n) | BigInt(v), 0n); - const asNumber = (bits, data) => Number(BigInt.asUintN(bits, data)); - const flip = (data, n) => data ^ (1n << BigInt(127 - n)); - const optionsFrom = (data) => { - const ms = asNumber(48, data >> 80n); - const hi = asNumber(12, data >> 64n); - const lo = asNumber(20, data >> 42n); - const r = BigInt.asUintN(42, data); - return { - msecs: ms, - seq: (hi << 20) | lo, - random: Uint8Array.from([ - ...Array(10).fill(0), - ...Array(6) - .fill(0) - .map((_, i) => asNumber(8, r >> (BigInt(i) * 8n))) - .reverse(), - ]), - }; - }; - const buf = new Uint8Array(16); - const data = asBigInt((0, v7_js_1.default)({}, buf)); - const id = (0, stringify_js_1.default)(buf); - const reserved = [48, 49, 50, 51, 64, 65]; - for (let i = 0; i < 128; ++i) { - if (reserved.includes(i)) { - continue; - } - const flipped = flip(data, i); - assert.strictEqual(asBigInt((0, v7_js_1.default)(optionsFrom(flipped), buf)).toString(16), flipped.toString(16), `Unequal uuids at bit ${i}`); - assert.notStrictEqual((0, stringify_js_1.default)(buf), id); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/validate.test.js b/node_modules/uuid/dist/cjs-browser/test/validate.test.js deleted file mode 100644 index 234db5501e..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/validate.test.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const validate_js_1 = require("../validate.js"); -const test_constants_js_1 = require("./test_constants.js"); -(0, node_test_1.describe)('validate()', () => { - (0, node_test_1.default)('TESTS cases', () => { - for (const { value, expectedValidate } of test_constants_js_1.TESTS) { - assert.strictEqual((0, validate_js_1.default)(value), expectedValidate, `validate(${value}) should be ${expectedValidate}`); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts b/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs-browser/test/version.test.js b/node_modules/uuid/dist/cjs-browser/test/version.test.js deleted file mode 100644 index 2846e3e045..0000000000 --- a/node_modules/uuid/dist/cjs-browser/test/version.test.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const version_js_1 = require("../version.js"); -const test_constants_js_1 = require("./test_constants.js"); -(0, node_test_1.describe)('version()', () => { - (0, node_test_1.default)('TESTS cases', () => { - for (const { value, expectedValidate, expectedVersion } of test_constants_js_1.TESTS) { - try { - const actualVersion = (0, version_js_1.default)(value); - assert.ok(expectedValidate, `version(${value}) should throw`); - assert.strictEqual(actualVersion, expectedVersion); - } - catch { - assert.ok(!expectedValidate, `version(${value}) threw unexpectedly`); - } - } - }); -}); diff --git a/node_modules/uuid/dist/cjs-browser/v1.js b/node_modules/uuid/dist/cjs-browser/v1.js index e3d492c81d..667fade140 100644 --- a/node_modules/uuid/dist/cjs-browser/v1.js +++ b/node_modules/uuid/dist/cjs-browser/v1.js @@ -49,10 +49,18 @@ function updateV1State(state, now, rnds) { return state; } function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); nsecs ??= 0; clockseq ??= ((rnds[8] << 8) | rnds[9]) & 0x3fff; diff --git a/node_modules/uuid/dist/cjs-browser/v35.d.ts b/node_modules/uuid/dist/cjs-browser/v35.d.ts index 5d1d06daef..a2c132633f 100644 --- a/node_modules/uuid/dist/cjs-browser/v35.d.ts +++ b/node_modules/uuid/dist/cjs-browser/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/dist/cjs-browser/v4.js b/node_modules/uuid/dist/cjs-browser/v4.js index 61be26e73c..69c975e48d 100644 --- a/node_modules/uuid/dist/cjs-browser/v4.js +++ b/node_modules/uuid/dist/cjs-browser/v4.js @@ -8,11 +8,17 @@ function v4(options, buf, offset) { return native_js_1.default.randomUUID(); } options = options || {}; - const rnds = options.random || (options.rng || rng_js_1.default)(); + const rnds = options.random ?? options.rng?.() ?? (0, rng_js_1.default)(); + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } rnds[6] = (rnds[6] & 0x0f) | 0x40; rnds[8] = (rnds[8] & 0x3f) | 0x80; if (buf) { offset = offset || 0; + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } for (let i = 0; i < 16; ++i) { buf[offset + i] = rnds[i]; } diff --git a/node_modules/uuid/dist/cjs-browser/v7.js b/node_modules/uuid/dist/cjs-browser/v7.js index 72cd1f17f7..ff01dc08cc 100644 --- a/node_modules/uuid/dist/cjs-browser/v7.js +++ b/node_modules/uuid/dist/cjs-browser/v7.js @@ -33,10 +33,18 @@ function updateV7State(state, now, rnds) { return state; } function v7Bytes(rnds, msecs, seq, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; buf[offset++] = (msecs / 0x10000000000) & 0xff; diff --git a/node_modules/uuid/dist/cjs/md5.d.ts b/node_modules/uuid/dist/cjs/md5.d.ts index 26cb1a01f9..1d00cf700a 100644 --- a/node_modules/uuid/dist/cjs/md5.d.ts +++ b/node_modules/uuid/dist/cjs/md5.d.ts @@ -1,2 +1,2 @@ -declare function md5(bytes: Uint8Array): Buffer; +declare function md5(bytes: Uint8Array): Buffer; export default md5; diff --git a/node_modules/uuid/dist/cjs/parse.d.ts b/node_modules/uuid/dist/cjs/parse.d.ts index a316fb1178..86d55ef9c5 100644 --- a/node_modules/uuid/dist/cjs/parse.d.ts +++ b/node_modules/uuid/dist/cjs/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/cjs/rng.d.ts b/node_modules/uuid/dist/cjs/rng.d.ts index 73e60cf348..1fbb163599 100644 --- a/node_modules/uuid/dist/cjs/rng.d.ts +++ b/node_modules/uuid/dist/cjs/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/cjs/sha1.d.ts b/node_modules/uuid/dist/cjs/sha1.d.ts index c37bda8e9f..8e272a55be 100644 --- a/node_modules/uuid/dist/cjs/sha1.d.ts +++ b/node_modules/uuid/dist/cjs/sha1.d.ts @@ -1,2 +1,2 @@ -declare function sha1(bytes: Uint8Array): Buffer; +declare function sha1(bytes: Uint8Array): Buffer; export default sha1; diff --git a/node_modules/uuid/dist/cjs/test/parse.test.d.ts b/node_modules/uuid/dist/cjs/test/parse.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/parse.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/parse.test.js b/node_modules/uuid/dist/cjs/test/parse.test.js deleted file mode 100644 index f9053a419e..0000000000 --- a/node_modules/uuid/dist/cjs/test/parse.test.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const parse_js_1 = require("../parse.js"); -const stringify_js_1 = require("../stringify.js"); -const v4_js_1 = require("../v4.js"); -function splitmix32(a) { - return function () { - a |= 0; - a = (a + 0x9e3779b9) | 0; - let t = a ^ (a >>> 16); - t = Math.imul(t, 0x21f0aaad); - t = t ^ (t >>> 15); - t = Math.imul(t, 0x735a2d97); - return ((t = t ^ (t >>> 15)) >>> 0) / 4294967296; - }; -} -const rand = splitmix32(0x12345678); -function rng(bytes = new Uint8Array(16)) { - for (let i = 0; i < 16; i++) { - bytes[i] = rand() * 256; - } - return bytes; -} -(0, node_test_1.describe)('parse', () => { - (0, node_test_1.default)('String -> bytes parsing', () => { - assert.deepStrictEqual((0, parse_js_1.default)('0f5abcd1-c194-47f3-905b-2df7263a084b'), Uint8Array.from([ - 0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, - 0x4b, - ])); - }); - (0, node_test_1.default)('String -> bytes -> string symmetry for assorted uuids', () => { - for (let i = 0; i < 1000; i++) { - const uuid = (0, v4_js_1.default)({ rng }); - assert.equal((0, stringify_js_1.default)((0, parse_js_1.default)(uuid)), uuid); - } - }); - (0, node_test_1.default)('Case neutrality', () => { - assert.deepStrictEqual((0, parse_js_1.default)('0f5abcd1-c194-47f3-905b-2df7263a084b'), (0, parse_js_1.default)('0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase())); - }); - (0, node_test_1.default)('Null UUID case', () => { - assert.deepStrictEqual((0, parse_js_1.default)('00000000-0000-0000-0000-000000000000'), Uint8Array.from(new Array(16).fill(0))); - }); - (0, node_test_1.default)('UUID validation', () => { - assert.throws(() => (0, parse_js_1.default)()); - assert.throws(() => (0, parse_js_1.default)('invalid uuid')); - assert.throws(() => (0, parse_js_1.default)('zyxwvuts-rqpo-nmlk-jihg-fedcba000000')); - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/rng.test.d.ts b/node_modules/uuid/dist/cjs/test/rng.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/rng.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/rng.test.js b/node_modules/uuid/dist/cjs/test/rng.test.js deleted file mode 100644 index 72c392afc1..0000000000 --- a/node_modules/uuid/dist/cjs/test/rng.test.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const rng_js_1 = require("../rng.js"); -(0, node_test_1.describe)('rng', () => { - (0, node_test_1.default)('Node.js RNG', () => { - const bytes = (0, rng_js_1.default)(); - assert.equal(bytes.length, 16); - for (let i = 0; i < bytes.length; ++i) { - assert.equal(typeof bytes[i], 'number'); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/stringify.test.d.ts b/node_modules/uuid/dist/cjs/test/stringify.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/stringify.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/stringify.test.js b/node_modules/uuid/dist/cjs/test/stringify.test.js deleted file mode 100644 index 8b44b5c7b4..0000000000 --- a/node_modules/uuid/dist/cjs/test/stringify.test.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const stringify_js_1 = require("../stringify.js"); -const BYTES = Uint8Array.of(0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, 0x4b); -(0, node_test_1.describe)('stringify', () => { - (0, node_test_1.default)('Stringify Array (unsafe)', () => { - assert.equal((0, stringify_js_1.unsafeStringify)(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - (0, node_test_1.default)('Stringify w/ offset (unsafe)', () => { - const bytes = new Uint8Array(19).fill(0); - bytes.set(BYTES, 3); - assert.equal((0, stringify_js_1.unsafeStringify)(bytes, 3), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - (0, node_test_1.default)('Stringify Array (safe)', () => { - assert.equal((0, stringify_js_1.default)(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - (0, node_test_1.default)('Throws on not enough values (safe)', () => { - const bytes = BYTES.slice(0, 15); - assert.throws(() => (0, stringify_js_1.default)(bytes)); - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/test_constants.d.ts b/node_modules/uuid/dist/cjs/test/test_constants.d.ts deleted file mode 100644 index 959a679fd0..0000000000 --- a/node_modules/uuid/dist/cjs/test/test_constants.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export declare const TESTS: ({ - value: string; - expectedValidate: boolean; - expectedVersion: number; -} | { - value: string; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: undefined; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: null; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: number; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: RegExp; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: Date; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: boolean; - expectedValidate: boolean; - expectedVersion?: undefined; -})[]; diff --git a/node_modules/uuid/dist/cjs/test/test_constants.js b/node_modules/uuid/dist/cjs/test/test_constants.js deleted file mode 100644 index e1c2752079..0000000000 --- a/node_modules/uuid/dist/cjs/test/test_constants.js +++ /dev/null @@ -1,91 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TESTS = void 0; -const max_js_1 = require("../max.js"); -const nil_js_1 = require("../nil.js"); -exports.TESTS = [ - { value: nil_js_1.default, expectedValidate: true, expectedVersion: 0 }, - { value: max_js_1.default, expectedValidate: true, expectedVersion: 15 }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: 'ffffffff-ffff-1fff-8fff-ffffffffffff', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-2000-8000-000000000000', expectedValidate: true, expectedVersion: 2 }, - { value: 'ffffffff-ffff-2fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 2 }, - { value: '00000000-0000-3000-8000-000000000000', expectedValidate: true, expectedVersion: 3 }, - { value: 'ffffffff-ffff-3fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 3 }, - { value: '00000000-0000-4000-8000-000000000000', expectedValidate: true, expectedVersion: 4 }, - { value: 'ffffffff-ffff-4fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 4 }, - { value: '00000000-0000-5000-8000-000000000000', expectedValidate: true, expectedVersion: 5 }, - { value: 'ffffffff-ffff-5fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 5 }, - { value: '00000000-0000-6000-8000-000000000000', expectedValidate: true, expectedVersion: 6 }, - { value: 'ffffffff-ffff-6fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 6 }, - { value: '00000000-0000-7000-8000-000000000000', expectedValidate: true, expectedVersion: 7 }, - { value: 'ffffffff-ffff-7fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 7 }, - { value: '00000000-0000-8000-8000-000000000000', expectedValidate: true, expectedVersion: 8 }, - { value: 'ffffffff-ffff-8fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-9000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-9fff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-a000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-afff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-b000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-bfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-c000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-cfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-d000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-dfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-e000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-efff-bfff-ffffffffffff', expectedValidate: false }, - { value: 'd9428888-122b-11e1-b85c-61cd3cbb3210', expectedValidate: true, expectedVersion: 1 }, - { value: '000003e8-2363-21ef-b200-325096b39f47', expectedValidate: true, expectedVersion: 2 }, - { value: 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec', expectedValidate: true, expectedVersion: 3 }, - { value: '109156be-c4fb-41ea-b1b4-efe1671c5836', expectedValidate: true, expectedVersion: 4 }, - { value: '90123e1c-7512-523e-bb28-76fab9f2f73d', expectedValidate: true, expectedVersion: 5 }, - { value: '1ef21d2f-1207-6660-8c4f-419efbd44d48', expectedValidate: true, expectedVersion: 6 }, - { value: '017f22e2-79b0-7cc3-98c4-dc0c0c07398f', expectedValidate: true, expectedVersion: 7 }, - { value: '0d8f23a0-697f-83ae-802e-48f3756dd581', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-1000-0000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-1000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-2000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-3000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-4000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-5000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-6000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-7000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-9000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-a000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-b000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-c000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-d000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-e000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-f000-000000000000', expectedValidate: false }, - { value: '00000000000000000000000000000000', expectedValidate: false }, - { value: '', expectedValidate: false }, - { value: 'invalid uuid string', expectedValidate: false }, - { - value: '=Y00a-f*vb*-c-d#-p00f\b-g0h-#i^-j*3&-L00k-\nl---00n-fg000-00p-00r+', - expectedValidate: false, - }, - { value: undefined, expectedValidate: false }, - { value: null, expectedValidate: false }, - { value: 123, expectedValidate: false }, - { value: /regex/, expectedValidate: false }, - { value: new Date(0), expectedValidate: false }, - { value: false, expectedValidate: false }, -]; -for (let charIndex = 0; charIndex < 36; charIndex++) { - if (charIndex === 8 || - charIndex === 13 || - charIndex === 14 || - charIndex === 18 || - charIndex === 23) { - continue; - } - const nilChars = nil_js_1.default.split(''); - const maxChars = max_js_1.default.split(''); - for (let i = 0; i < 4; i++) { - nilChars[charIndex] = (0x0 ^ (1 << i)).toString(16); - exports.TESTS.push({ value: nilChars.join(''), expectedValidate: false }); - maxChars[charIndex] = (0xf ^ (1 << i)).toString(16); - exports.TESTS.push({ value: maxChars.join(''), expectedValidate: false }); - } -} diff --git a/node_modules/uuid/dist/cjs/test/v1.test.d.ts b/node_modules/uuid/dist/cjs/test/v1.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/v1.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/v1.test.js b/node_modules/uuid/dist/cjs/test/v1.test.js deleted file mode 100644 index 2013927198..0000000000 --- a/node_modules/uuid/dist/cjs/test/v1.test.js +++ /dev/null @@ -1,127 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const parse_js_1 = require("../parse.js"); -const v1_js_1 = require("../v1.js"); -const TIME = 1321644961388; -const RFC_V1 = 'c232ab00-9414-11ec-b3c8-9f68deced846'; -const RFC_V1_BYTES = (0, parse_js_1.default)(RFC_V1); -const RFC_OPTIONS = { - msecs: 0x17f22e279b0, - nsecs: 0, - clockseq: 0x33c8, - node: Uint8Array.of(0x9f, 0x68, 0xde, 0xce, 0xd8, 0x46), -}; -const RFC_RANDOM = Uint8Array.of(0, 0, 0, 0, 0, 0, 0, 0, RFC_OPTIONS.clockseq >> 8, RFC_OPTIONS.clockseq & 0xff, ...RFC_OPTIONS.node); -function compareV1TimeField(a, b) { - a = a.split('-').slice(0, 3).reverse().join(''); - b = b.split('-').slice(0, 3).reverse().join(''); - return a < b ? -1 : a > b ? 1 : 0; -} -(0, node_test_1.describe)('v1', () => { - (0, node_test_1.default)('v1 sort order (default)', () => { - const ids = [(0, v1_js_1.default)(), (0, v1_js_1.default)(), (0, v1_js_1.default)(), (0, v1_js_1.default)(), (0, v1_js_1.default)()]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - (0, node_test_1.default)('v1 sort order (time option)', () => { - const ids = [ - (0, v1_js_1.default)({ msecs: TIME - 10 * 3600 * 1000 }), - (0, v1_js_1.default)({ msecs: TIME - 1 }), - (0, v1_js_1.default)({ msecs: TIME }), - (0, v1_js_1.default)({ msecs: TIME + 1 }), - (0, v1_js_1.default)({ msecs: TIME + 28 * 24 * 3600 * 1000 }), - ]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - (0, node_test_1.default)('v1(options)', () => { - assert.equal((0, v1_js_1.default)({ msecs: RFC_OPTIONS.msecs, random: RFC_RANDOM }), RFC_V1, 'minimal options'); - assert.equal((0, v1_js_1.default)(RFC_OPTIONS), RFC_V1, 'full options'); - }); - (0, node_test_1.default)('v1(options) equality', () => { - assert.notEqual((0, v1_js_1.default)({ msecs: TIME }), (0, v1_js_1.default)({ msecs: TIME }), 'UUIDs with minimal options differ'); - assert.equal((0, v1_js_1.default)(RFC_OPTIONS), (0, v1_js_1.default)(RFC_OPTIONS), 'UUIDs with full options are identical'); - }); - (0, node_test_1.default)('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = (0, v1_js_1.default)(RFC_OPTIONS, buffer); - assert.deepEqual(buffer, RFC_V1_BYTES); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - (0, v1_js_1.default)(RFC_OPTIONS, buffer, 0); - (0, v1_js_1.default)(RFC_OPTIONS, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(RFC_V1_BYTES); - expectedBuf.set(RFC_V1_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - (0, node_test_1.default)('v1() state transitions', () => { - const PRE_STATE = { - msecs: 10, - nsecs: 20, - clockseq: 0x1234, - node: Uint8Array.of(0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc), - }; - const tests = [ - { - title: 'initial state', - state: {}, - now: 10, - expected: { - msecs: 10, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'same time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 21, - }, - }, - { - title: 'new time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs + 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs + 1, - nsecs: 0, - }, - }, - { - title: 'same time interval (nsecs overflow)', - state: { ...PRE_STATE, nsecs: 9999 }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'time regression', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs - 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs - 1, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual((0, v1_js_1.updateV1State)(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/v35.test.d.ts b/node_modules/uuid/dist/cjs/test/v35.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/v35.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/v35.test.js b/node_modules/uuid/dist/cjs/test/v35.test.js deleted file mode 100644 index d12394b9c0..0000000000 --- a/node_modules/uuid/dist/cjs/test/v35.test.js +++ /dev/null @@ -1,143 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const md5_js_1 = require("../md5.js"); -const sha1_js_1 = require("../sha1.js"); -const v3_js_1 = require("../v3.js"); -const v35_js_1 = require("../v35.js"); -const v5_js_1 = require("../v5.js"); -(0, node_test_1.describe)('v35', () => { - const HASH_SAMPLES = [ - { - input: (0, v35_js_1.stringToBytes)(''), - sha1: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', - md5: 'd41d8cd98f00b204e9800998ecf8427e', - }, - { - input: (0, v35_js_1.stringToBytes)('\t\b\f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF'), - sha1: 'ca4a426a3d536f14cfd79011e79e10d64de950a0', - md5: 'e8098ec21950f841731d28749129d3ee', - }, - { - input: (0, v35_js_1.stringToBytes)('\u00A5\u0104\u018F\u0256\u02B1o\u0315\u038E\u0409\u0500\u0531\u05E1\u05B6\u0920\u0903\u09A4\u0983\u0A20\u0A02\u0AA0\u0A83\u0B06\u0C05\u0C03\u1401\u16A0'), - sha1: 'f2753ebc390e5f637e333c2a4179644a93ae9f65', - md5: '231b309e277b6be8bb3d6c688b7f098b', - }, - ]; - function hashToHex(hash) { - const chars = new Array(hash.length); - for (let i = 0; i < hash.length; i++) { - chars[i] = hash[i].toString(16).padStart(2, '0'); - } - return chars.join(''); - } - HASH_SAMPLES.forEach(function (sample, i) { - (0, node_test_1.default)(`sha1(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex((0, sha1_js_1.default)(sample.input)), sample.sha1); - }); - }); - HASH_SAMPLES.forEach(function (sample, i) { - (0, node_test_1.default)(`md5(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex((0, md5_js_1.default)(sample.input)), sample.md5); - }); - }); - (0, node_test_1.default)('v3', () => { - assert.strictEqual((0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual((0, v3_js_1.default)('http://example.com/hello', v3_js_1.default.URL), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual((0, v3_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - (0, node_test_1.default)('v3 namespace.toUpperCase', () => { - assert.strictEqual((0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS.toUpperCase()), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual((0, v3_js_1.default)('http://example.com/hello', v3_js_1.default.URL.toUpperCase()), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual((0, v3_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - (0, node_test_1.default)('v3 namespace string validation', () => { - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', 'invalid uuid value'); - }); - assert.ok((0, v3_js_1.default)('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - (0, node_test_1.default)('v3 namespace buffer validation', () => { - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - (0, v3_js_1.default)('hello.example.com', new Uint8Array(17)); - }); - assert.ok((0, v3_js_1.default)('hello.example.com', new Uint8Array(16).fill(0))); - }); - (0, node_test_1.default)('v3 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0x91, 0x25, 0xa8, 0xdc, 0x52, 0xee, 0x36, 0x5b, 0xa5, 0xaa, 0x81, 0xb0, 0xb3, 0x68, 0x1c, 0xf6); - const result = (0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - (0, v3_js_1.default)('hello.example.com', v3_js_1.default.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - (0, node_test_1.default)('v3 undefined/null', () => { - assert.throws(() => (0, v3_js_1.default)()); - assert.throws(() => (0, v3_js_1.default)('hello')); - assert.throws(() => (0, v3_js_1.default)('hello.example.com', undefined)); - assert.throws(() => (0, v3_js_1.default)('hello.example.com', null, new Uint8Array(16))); - }); - (0, node_test_1.default)('v5', () => { - assert.strictEqual((0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual((0, v5_js_1.default)('http://example.com/hello', v5_js_1.default.URL), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual((0, v5_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - (0, node_test_1.default)('v5 namespace.toUpperCase', () => { - assert.strictEqual((0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS.toUpperCase()), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual((0, v5_js_1.default)('http://example.com/hello', v5_js_1.default.URL.toUpperCase()), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual((0, v5_js_1.default)('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - (0, node_test_1.default)('v5 namespace string validation', () => { - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', 'invalid uuid value'); - }); - assert.ok((0, v5_js_1.default)('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - (0, node_test_1.default)('v5 namespace buffer validation', () => { - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - (0, v5_js_1.default)('hello.example.com', new Uint8Array(17)); - }); - assert.ok((0, v5_js_1.default)('hello.example.com', new Uint8Array(16).fill(0))); - }); - (0, node_test_1.default)('v5 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0xfd, 0xda, 0x76, 0x5f, 0xfc, 0x57, 0x56, 0x04, 0xa2, 0x69, 0x52, 0xa7, 0xdf, 0x81, 0x64, 0xec); - const result = (0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - (0, v5_js_1.default)('hello.example.com', v5_js_1.default.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - (0, node_test_1.default)('v5 undefined/null', () => { - assert.throws(() => (0, v5_js_1.default)()); - assert.throws(() => (0, v5_js_1.default)('hello')); - assert.throws(() => (0, v5_js_1.default)('hello.example.com', undefined)); - assert.throws(() => (0, v5_js_1.default)('hello.example.com', null, new Uint8Array(16))); - }); - (0, node_test_1.default)('v3/v5 constants', () => { - assert.strictEqual(v3_js_1.default.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v3_js_1.default.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5_js_1.default.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5_js_1.default.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/v4.test.d.ts b/node_modules/uuid/dist/cjs/test/v4.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/v4.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/v4.test.js b/node_modules/uuid/dist/cjs/test/v4.test.js deleted file mode 100644 index db2680f76f..0000000000 --- a/node_modules/uuid/dist/cjs/test/v4.test.js +++ /dev/null @@ -1,60 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const native_js_1 = require("../native.js"); -const v4_js_1 = require("../v4.js"); -const randomBytesFixture = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea, 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36); -const expectedBytes = Uint8Array.of(16, 145, 86, 190, 196, 251, 65, 234, 177, 180, 239, 225, 103, 28, 88, 54); -(0, node_test_1.describe)('v4', () => { - (0, node_test_1.default)('subsequent UUIDs are different', () => { - const id1 = (0, v4_js_1.default)(); - const id2 = (0, v4_js_1.default)(); - assert.ok(id1 !== id2); - }); - (0, node_test_1.default)('should uses native randomUUID() if no option is passed', async () => { - const mock = (await Promise.resolve().then(() => require('node:test'))).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native_js_1.default, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - (0, v4_js_1.default)(); - assert.equal(mockRandomUUID.mock.callCount(), 1); - mock.restoreAll(); - }); - (0, node_test_1.default)('should not use native randomUUID() if an option is passed', async () => { - const mock = (await Promise.resolve().then(() => require('node:test'))).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native_js_1.default, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - (0, v4_js_1.default)({}); - assert.equal(mockRandomUUID.mock.callCount(), 0); - mock.restoreAll(); - }); - (0, node_test_1.default)('explicit options.random produces expected result', () => { - const id = (0, v4_js_1.default)({ random: randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - (0, node_test_1.default)('explicit options.rng produces expected result', () => { - const id = (0, v4_js_1.default)({ rng: () => randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - (0, node_test_1.default)('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = (0, v4_js_1.default)({ random: randomBytesFixture }, buffer); - assert.deepEqual(buffer, expectedBytes); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - (0, v4_js_1.default)({ random: randomBytesFixture }, buffer, 0); - (0, v4_js_1.default)({ random: randomBytesFixture }, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(expectedBytes); - expectedBuf.set(expectedBytes, 16); - assert.deepEqual(buffer, expectedBuf); - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/v6.test.d.ts b/node_modules/uuid/dist/cjs/test/v6.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/v6.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/v6.test.js b/node_modules/uuid/dist/cjs/test/v6.test.js deleted file mode 100644 index 32ba29240e..0000000000 --- a/node_modules/uuid/dist/cjs/test/v6.test.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const v1ToV6_js_1 = require("../v1ToV6.js"); -const v6_js_1 = require("../v6.js"); -const v6ToV1_js_1 = require("../v6ToV1.js"); -(0, node_test_1.describe)('v6', () => { - const V1_ID = 'f1207660-21d2-11ef-8c4f-419efbd44d48'; - const V6_ID = '1ef21d2f-1207-6660-8c4f-419efbd44d48'; - const fullOptions = { - msecs: 0x133b891f705, - nsecs: 0x1538, - clockseq: 0x385c, - node: Uint8Array.of(0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10), - }; - const EXPECTED_BYTES = Uint8Array.of(0x1e, 0x11, 0x22, 0xbd, 0x94, 0x28, 0x68, 0x88, 0xb8, 0x5c, 0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10); - (0, node_test_1.default)('default behavior', () => { - const id = (0, v6_js_1.default)(); - assert.ok(/[0-9a-f]{8}-[0-9a-f]{4}-6[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/.test(id), 'id is valid v6 UUID'); - }); - (0, node_test_1.default)('default behavior (binary type)', () => { - const buffer = new Uint8Array(16); - const result = (0, v6_js_1.default)(fullOptions, buffer); - assert.deepEqual(buffer, EXPECTED_BYTES); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('all options', () => { - const id = (0, v6_js_1.default)(fullOptions); - assert.equal(id, '1e1122bd-9428-6888-b85c-61cd3cbb3210'); - }); - (0, node_test_1.default)('sort by creation time', () => { - const ids = []; - for (let i = 0; i < 5; i++) { - ids.push((0, v6_js_1.default)({ msecs: i * 1000 })); - } - assert.deepEqual(ids, ids.slice().sort()); - }); - (0, node_test_1.default)('creating at array offset', () => { - const buffer = new Uint8Array(32); - (0, v6_js_1.default)(fullOptions, buffer, 0); - (0, v6_js_1.default)(fullOptions, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(EXPECTED_BYTES, 0); - expectedBuf.set(EXPECTED_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - (0, node_test_1.default)('v1 -> v6 conversion', () => { - const id = (0, v1ToV6_js_1.default)(V1_ID); - assert.equal(id, V6_ID); - }); - (0, node_test_1.default)('v6 -> v1 conversion', () => { - const id = (0, v6ToV1_js_1.default)(V6_ID); - assert.equal(id, V1_ID); - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/v7.test.d.ts b/node_modules/uuid/dist/cjs/test/v7.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/v7.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/v7.test.js b/node_modules/uuid/dist/cjs/test/v7.test.js deleted file mode 100644 index 2c549d534a..0000000000 --- a/node_modules/uuid/dist/cjs/test/v7.test.js +++ /dev/null @@ -1,194 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const parse_js_1 = require("../parse.js"); -const stringify_js_1 = require("../stringify.js"); -const v7_js_1 = require("../v7.js"); -const RFC_V7 = '017f22e2-79b0-7cc3-98c4-dc0c0c07398f'; -const RFC_V7_BYTES = (0, parse_js_1.default)('017f22e2-79b0-7cc3-98c4-dc0c0c07398f'); -const RFC_MSECS = 0x17f22e279b0; -const RFC_SEQ = (0x0cc3 << 20) | (0x98c4dc >> 2); -const RFC_RANDOM = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0x0c, 0xc3, 0x18, 0xc4, 0x6c, 0x0c, 0x0c, 0x07, 0x39, 0x8f); -(0, node_test_1.describe)('v7', () => { - (0, node_test_1.default)('subsequent UUIDs are different', () => { - const id1 = (0, v7_js_1.default)(); - const id2 = (0, v7_js_1.default)(); - assert.ok(id1 !== id2); - }); - (0, node_test_1.default)('explicit options.random and options.msecs produces expected result', () => { - const id = (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - (0, node_test_1.default)('explicit options.rng produces expected result', () => { - const id = (0, v7_js_1.default)({ - rng: () => RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - (0, node_test_1.default)('explicit options.msecs produces expected result', () => { - const id = (0, v7_js_1.default)({ - msecs: RFC_MSECS, - }); - assert.strictEqual(id.indexOf('017f22e2'), 0); - }); - (0, node_test_1.default)('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer); - (0, stringify_js_1.default)(buffer); - assert.deepEqual(buffer, RFC_V7_BYTES); - assert.strictEqual(buffer, result); - }); - (0, node_test_1.default)('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 0); - (0, v7_js_1.default)({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 16); - const expected = new Uint8Array(32); - expected.set(RFC_V7_BYTES); - expected.set(RFC_V7_BYTES, 16); - assert.deepEqual(buffer, expected); - }); - (0, node_test_1.default)('lexicographical sorting is preserved', () => { - let id; - let prior; - let msecs = RFC_MSECS; - for (let i = 0; i < 20000; ++i) { - if (i % 1500 === 0) { - msecs += 1; - } - id = (0, v7_js_1.default)({ msecs, seq: i }); - if (prior !== undefined) { - assert.ok(prior < id, `${prior} < ${id}`); - } - prior = id; - } - }); - (0, node_test_1.default)('can supply seq', () => { - let seq = 0x12345; - let uuid = (0, v7_js_1.default)({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substr(0, 25), '017f22e2-79b0-7000-848d-1'); - seq = 0x6fffffff; - uuid = (0, v7_js_1.default)({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substring(0, 25), '017f22e2-79b0-76ff-bfff-f'); - }); - (0, node_test_1.default)('internal seq is reset upon timestamp change', () => { - (0, v7_js_1.default)({ - msecs: RFC_MSECS, - seq: 0x6fffffff, - }); - const uuid = (0, v7_js_1.default)({ - msecs: RFC_MSECS + 1, - }); - assert.ok(uuid.indexOf('fff') !== 15); - }); - (0, node_test_1.default)('v7() state transitions', () => { - const tests = [ - { - title: 'new time interval', - state: { msecs: 1, seq: 123 }, - now: 2, - expected: { - msecs: 2, - seq: 0x6c318c4, - }, - }, - { - title: 'same time interval', - state: { msecs: 1, seq: 123 }, - now: 1, - expected: { - msecs: 1, - seq: 124, - }, - }, - { - title: 'same time interval (sequence rollover)', - state: { msecs: 1, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 2, - seq: 0, - }, - }, - { - title: 'time regression', - state: { msecs: 2, seq: 123 }, - now: 1, - expected: { - msecs: 2, - seq: 124, - }, - }, - { - title: 'time regression (sequence rollover)', - state: { msecs: 2, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 3, - seq: 0, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual((0, v7_js_1.updateV7State)(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); - (0, node_test_1.default)('flipping bits changes the result', () => { - const asBigInt = (buf) => buf.reduce((acc, v) => (acc << 8n) | BigInt(v), 0n); - const asNumber = (bits, data) => Number(BigInt.asUintN(bits, data)); - const flip = (data, n) => data ^ (1n << BigInt(127 - n)); - const optionsFrom = (data) => { - const ms = asNumber(48, data >> 80n); - const hi = asNumber(12, data >> 64n); - const lo = asNumber(20, data >> 42n); - const r = BigInt.asUintN(42, data); - return { - msecs: ms, - seq: (hi << 20) | lo, - random: Uint8Array.from([ - ...Array(10).fill(0), - ...Array(6) - .fill(0) - .map((_, i) => asNumber(8, r >> (BigInt(i) * 8n))) - .reverse(), - ]), - }; - }; - const buf = new Uint8Array(16); - const data = asBigInt((0, v7_js_1.default)({}, buf)); - const id = (0, stringify_js_1.default)(buf); - const reserved = [48, 49, 50, 51, 64, 65]; - for (let i = 0; i < 128; ++i) { - if (reserved.includes(i)) { - continue; - } - const flipped = flip(data, i); - assert.strictEqual(asBigInt((0, v7_js_1.default)(optionsFrom(flipped), buf)).toString(16), flipped.toString(16), `Unequal uuids at bit ${i}`); - assert.notStrictEqual((0, stringify_js_1.default)(buf), id); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/validate.test.d.ts b/node_modules/uuid/dist/cjs/test/validate.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/validate.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/validate.test.js b/node_modules/uuid/dist/cjs/test/validate.test.js deleted file mode 100644 index 234db5501e..0000000000 --- a/node_modules/uuid/dist/cjs/test/validate.test.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const validate_js_1 = require("../validate.js"); -const test_constants_js_1 = require("./test_constants.js"); -(0, node_test_1.describe)('validate()', () => { - (0, node_test_1.default)('TESTS cases', () => { - for (const { value, expectedValidate } of test_constants_js_1.TESTS) { - assert.strictEqual((0, validate_js_1.default)(value), expectedValidate, `validate(${value}) should be ${expectedValidate}`); - } - }); -}); diff --git a/node_modules/uuid/dist/cjs/test/version.test.d.ts b/node_modules/uuid/dist/cjs/test/version.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/cjs/test/version.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/cjs/test/version.test.js b/node_modules/uuid/dist/cjs/test/version.test.js deleted file mode 100644 index 2846e3e045..0000000000 --- a/node_modules/uuid/dist/cjs/test/version.test.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const node_test_1 = require("node:test"); -const version_js_1 = require("../version.js"); -const test_constants_js_1 = require("./test_constants.js"); -(0, node_test_1.describe)('version()', () => { - (0, node_test_1.default)('TESTS cases', () => { - for (const { value, expectedValidate, expectedVersion } of test_constants_js_1.TESTS) { - try { - const actualVersion = (0, version_js_1.default)(value); - assert.ok(expectedValidate, `version(${value}) should throw`); - assert.strictEqual(actualVersion, expectedVersion); - } - catch { - assert.ok(!expectedValidate, `version(${value}) threw unexpectedly`); - } - } - }); -}); diff --git a/node_modules/uuid/dist/cjs/v1.js b/node_modules/uuid/dist/cjs/v1.js index e3d492c81d..667fade140 100644 --- a/node_modules/uuid/dist/cjs/v1.js +++ b/node_modules/uuid/dist/cjs/v1.js @@ -49,10 +49,18 @@ function updateV1State(state, now, rnds) { return state; } function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); nsecs ??= 0; clockseq ??= ((rnds[8] << 8) | rnds[9]) & 0x3fff; diff --git a/node_modules/uuid/dist/cjs/v35.d.ts b/node_modules/uuid/dist/cjs/v35.d.ts index 5d1d06daef..a2c132633f 100644 --- a/node_modules/uuid/dist/cjs/v35.d.ts +++ b/node_modules/uuid/dist/cjs/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/dist/cjs/v4.js b/node_modules/uuid/dist/cjs/v4.js index 61be26e73c..69c975e48d 100644 --- a/node_modules/uuid/dist/cjs/v4.js +++ b/node_modules/uuid/dist/cjs/v4.js @@ -8,11 +8,17 @@ function v4(options, buf, offset) { return native_js_1.default.randomUUID(); } options = options || {}; - const rnds = options.random || (options.rng || rng_js_1.default)(); + const rnds = options.random ?? options.rng?.() ?? (0, rng_js_1.default)(); + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } rnds[6] = (rnds[6] & 0x0f) | 0x40; rnds[8] = (rnds[8] & 0x3f) | 0x80; if (buf) { offset = offset || 0; + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } for (let i = 0; i < 16; ++i) { buf[offset + i] = rnds[i]; } diff --git a/node_modules/uuid/dist/cjs/v7.js b/node_modules/uuid/dist/cjs/v7.js index 72cd1f17f7..ff01dc08cc 100644 --- a/node_modules/uuid/dist/cjs/v7.js +++ b/node_modules/uuid/dist/cjs/v7.js @@ -33,10 +33,18 @@ function updateV7State(state, now, rnds) { return state; } function v7Bytes(rnds, msecs, seq, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; buf[offset++] = (msecs / 0x10000000000) & 0xff; diff --git a/node_modules/uuid/dist/esm-browser/md5.d.ts b/node_modules/uuid/dist/esm-browser/md5.d.ts index 5a55f51ebd..44bc824b1b 100644 --- a/node_modules/uuid/dist/esm-browser/md5.d.ts +++ b/node_modules/uuid/dist/esm-browser/md5.d.ts @@ -1,2 +1,2 @@ -declare function md5(bytes: Uint8Array): Uint8Array; +declare function md5(bytes: Uint8Array): Uint8Array; export default md5; diff --git a/node_modules/uuid/dist/esm-browser/parse.d.ts b/node_modules/uuid/dist/esm-browser/parse.d.ts index a316fb1178..86d55ef9c5 100644 --- a/node_modules/uuid/dist/esm-browser/parse.d.ts +++ b/node_modules/uuid/dist/esm-browser/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/esm-browser/rng.d.ts b/node_modules/uuid/dist/esm-browser/rng.d.ts index 73e60cf348..1fbb163599 100644 --- a/node_modules/uuid/dist/esm-browser/rng.d.ts +++ b/node_modules/uuid/dist/esm-browser/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts b/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/parse.test.js b/node_modules/uuid/dist/esm-browser/test/parse.test.js deleted file mode 100644 index e5081d2cf4..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/parse.test.js +++ /dev/null @@ -1,48 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import parse from '../parse.js'; -import stringify from '../stringify.js'; -import uuidv4 from '../v4.js'; -function splitmix32(a) { - return function () { - a |= 0; - a = (a + 0x9e3779b9) | 0; - let t = a ^ (a >>> 16); - t = Math.imul(t, 0x21f0aaad); - t = t ^ (t >>> 15); - t = Math.imul(t, 0x735a2d97); - return ((t = t ^ (t >>> 15)) >>> 0) / 4294967296; - }; -} -const rand = splitmix32(0x12345678); -function rng(bytes = new Uint8Array(16)) { - for (let i = 0; i < 16; i++) { - bytes[i] = rand() * 256; - } - return bytes; -} -describe('parse', () => { - test('String -> bytes parsing', () => { - assert.deepStrictEqual(parse('0f5abcd1-c194-47f3-905b-2df7263a084b'), Uint8Array.from([ - 0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, - 0x4b, - ])); - }); - test('String -> bytes -> string symmetry for assorted uuids', () => { - for (let i = 0; i < 1000; i++) { - const uuid = uuidv4({ rng }); - assert.equal(stringify(parse(uuid)), uuid); - } - }); - test('Case neutrality', () => { - assert.deepStrictEqual(parse('0f5abcd1-c194-47f3-905b-2df7263a084b'), parse('0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase())); - }); - test('Null UUID case', () => { - assert.deepStrictEqual(parse('00000000-0000-0000-0000-000000000000'), Uint8Array.from(new Array(16).fill(0))); - }); - test('UUID validation', () => { - assert.throws(() => parse()); - assert.throws(() => parse('invalid uuid')); - assert.throws(() => parse('zyxwvuts-rqpo-nmlk-jihg-fedcba000000')); - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts b/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/rng.test.js b/node_modules/uuid/dist/esm-browser/test/rng.test.js deleted file mode 100644 index e6c1e789b1..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/rng.test.js +++ /dev/null @@ -1,12 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import rng from '../rng.js'; -describe('rng', () => { - test('Node.js RNG', () => { - const bytes = rng(); - assert.equal(bytes.length, 16); - for (let i = 0; i < bytes.length; ++i) { - assert.equal(typeof bytes[i], 'number'); - } - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts b/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/stringify.test.js b/node_modules/uuid/dist/esm-browser/test/stringify.test.js deleted file mode 100644 index 10fca3a5f5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/stringify.test.js +++ /dev/null @@ -1,21 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import stringify, { unsafeStringify } from '../stringify.js'; -const BYTES = Uint8Array.of(0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, 0x4b); -describe('stringify', () => { - test('Stringify Array (unsafe)', () => { - assert.equal(unsafeStringify(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - test('Stringify w/ offset (unsafe)', () => { - const bytes = new Uint8Array(19).fill(0); - bytes.set(BYTES, 3); - assert.equal(unsafeStringify(bytes, 3), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - test('Stringify Array (safe)', () => { - assert.equal(stringify(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - test('Throws on not enough values (safe)', () => { - const bytes = BYTES.slice(0, 15); - assert.throws(() => stringify(bytes)); - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts b/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts deleted file mode 100644 index 959a679fd0..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export declare const TESTS: ({ - value: string; - expectedValidate: boolean; - expectedVersion: number; -} | { - value: string; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: undefined; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: null; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: number; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: RegExp; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: Date; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: boolean; - expectedValidate: boolean; - expectedVersion?: undefined; -})[]; diff --git a/node_modules/uuid/dist/esm-browser/test/test_constants.js b/node_modules/uuid/dist/esm-browser/test/test_constants.js deleted file mode 100644 index ec77a2e1cf..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/test_constants.js +++ /dev/null @@ -1,88 +0,0 @@ -import MAX from '../max.js'; -import NIL from '../nil.js'; -export const TESTS = [ - { value: NIL, expectedValidate: true, expectedVersion: 0 }, - { value: MAX, expectedValidate: true, expectedVersion: 15 }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: 'ffffffff-ffff-1fff-8fff-ffffffffffff', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-2000-8000-000000000000', expectedValidate: true, expectedVersion: 2 }, - { value: 'ffffffff-ffff-2fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 2 }, - { value: '00000000-0000-3000-8000-000000000000', expectedValidate: true, expectedVersion: 3 }, - { value: 'ffffffff-ffff-3fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 3 }, - { value: '00000000-0000-4000-8000-000000000000', expectedValidate: true, expectedVersion: 4 }, - { value: 'ffffffff-ffff-4fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 4 }, - { value: '00000000-0000-5000-8000-000000000000', expectedValidate: true, expectedVersion: 5 }, - { value: 'ffffffff-ffff-5fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 5 }, - { value: '00000000-0000-6000-8000-000000000000', expectedValidate: true, expectedVersion: 6 }, - { value: 'ffffffff-ffff-6fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 6 }, - { value: '00000000-0000-7000-8000-000000000000', expectedValidate: true, expectedVersion: 7 }, - { value: 'ffffffff-ffff-7fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 7 }, - { value: '00000000-0000-8000-8000-000000000000', expectedValidate: true, expectedVersion: 8 }, - { value: 'ffffffff-ffff-8fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-9000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-9fff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-a000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-afff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-b000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-bfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-c000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-cfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-d000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-dfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-e000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-efff-bfff-ffffffffffff', expectedValidate: false }, - { value: 'd9428888-122b-11e1-b85c-61cd3cbb3210', expectedValidate: true, expectedVersion: 1 }, - { value: '000003e8-2363-21ef-b200-325096b39f47', expectedValidate: true, expectedVersion: 2 }, - { value: 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec', expectedValidate: true, expectedVersion: 3 }, - { value: '109156be-c4fb-41ea-b1b4-efe1671c5836', expectedValidate: true, expectedVersion: 4 }, - { value: '90123e1c-7512-523e-bb28-76fab9f2f73d', expectedValidate: true, expectedVersion: 5 }, - { value: '1ef21d2f-1207-6660-8c4f-419efbd44d48', expectedValidate: true, expectedVersion: 6 }, - { value: '017f22e2-79b0-7cc3-98c4-dc0c0c07398f', expectedValidate: true, expectedVersion: 7 }, - { value: '0d8f23a0-697f-83ae-802e-48f3756dd581', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-1000-0000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-1000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-2000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-3000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-4000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-5000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-6000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-7000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-9000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-a000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-b000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-c000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-d000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-e000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-f000-000000000000', expectedValidate: false }, - { value: '00000000000000000000000000000000', expectedValidate: false }, - { value: '', expectedValidate: false }, - { value: 'invalid uuid string', expectedValidate: false }, - { - value: '=Y00a-f*vb*-c-d#-p00f\b-g0h-#i^-j*3&-L00k-\nl---00n-fg000-00p-00r+', - expectedValidate: false, - }, - { value: undefined, expectedValidate: false }, - { value: null, expectedValidate: false }, - { value: 123, expectedValidate: false }, - { value: /regex/, expectedValidate: false }, - { value: new Date(0), expectedValidate: false }, - { value: false, expectedValidate: false }, -]; -for (let charIndex = 0; charIndex < 36; charIndex++) { - if (charIndex === 8 || - charIndex === 13 || - charIndex === 14 || - charIndex === 18 || - charIndex === 23) { - continue; - } - const nilChars = NIL.split(''); - const maxChars = MAX.split(''); - for (let i = 0; i < 4; i++) { - nilChars[charIndex] = (0x0 ^ (1 << i)).toString(16); - TESTS.push({ value: nilChars.join(''), expectedValidate: false }); - maxChars[charIndex] = (0xf ^ (1 << i)).toString(16); - TESTS.push({ value: maxChars.join(''), expectedValidate: false }); - } -} diff --git a/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts b/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/v1.test.js b/node_modules/uuid/dist/esm-browser/test/v1.test.js deleted file mode 100644 index 91e1783bff..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v1.test.js +++ /dev/null @@ -1,125 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import parse from '../parse.js'; -import v1, { updateV1State } from '../v1.js'; -const TIME = 1321644961388; -const RFC_V1 = 'c232ab00-9414-11ec-b3c8-9f68deced846'; -const RFC_V1_BYTES = parse(RFC_V1); -const RFC_OPTIONS = { - msecs: 0x17f22e279b0, - nsecs: 0, - clockseq: 0x33c8, - node: Uint8Array.of(0x9f, 0x68, 0xde, 0xce, 0xd8, 0x46), -}; -const RFC_RANDOM = Uint8Array.of(0, 0, 0, 0, 0, 0, 0, 0, RFC_OPTIONS.clockseq >> 8, RFC_OPTIONS.clockseq & 0xff, ...RFC_OPTIONS.node); -function compareV1TimeField(a, b) { - a = a.split('-').slice(0, 3).reverse().join(''); - b = b.split('-').slice(0, 3).reverse().join(''); - return a < b ? -1 : a > b ? 1 : 0; -} -describe('v1', () => { - test('v1 sort order (default)', () => { - const ids = [v1(), v1(), v1(), v1(), v1()]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - test('v1 sort order (time option)', () => { - const ids = [ - v1({ msecs: TIME - 10 * 3600 * 1000 }), - v1({ msecs: TIME - 1 }), - v1({ msecs: TIME }), - v1({ msecs: TIME + 1 }), - v1({ msecs: TIME + 28 * 24 * 3600 * 1000 }), - ]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - test('v1(options)', () => { - assert.equal(v1({ msecs: RFC_OPTIONS.msecs, random: RFC_RANDOM }), RFC_V1, 'minimal options'); - assert.equal(v1(RFC_OPTIONS), RFC_V1, 'full options'); - }); - test('v1(options) equality', () => { - assert.notEqual(v1({ msecs: TIME }), v1({ msecs: TIME }), 'UUIDs with minimal options differ'); - assert.equal(v1(RFC_OPTIONS), v1(RFC_OPTIONS), 'UUIDs with full options are identical'); - }); - test('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = v1(RFC_OPTIONS, buffer); - assert.deepEqual(buffer, RFC_V1_BYTES); - assert.strictEqual(buffer, result); - }); - test('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - v1(RFC_OPTIONS, buffer, 0); - v1(RFC_OPTIONS, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(RFC_V1_BYTES); - expectedBuf.set(RFC_V1_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - test('v1() state transitions', () => { - const PRE_STATE = { - msecs: 10, - nsecs: 20, - clockseq: 0x1234, - node: Uint8Array.of(0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc), - }; - const tests = [ - { - title: 'initial state', - state: {}, - now: 10, - expected: { - msecs: 10, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'same time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 21, - }, - }, - { - title: 'new time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs + 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs + 1, - nsecs: 0, - }, - }, - { - title: 'same time interval (nsecs overflow)', - state: { ...PRE_STATE, nsecs: 9999 }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'time regression', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs - 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs - 1, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual(updateV1State(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts b/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/v35.test.js b/node_modules/uuid/dist/esm-browser/test/v35.test.js deleted file mode 100644 index 35d38d26e8..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v35.test.js +++ /dev/null @@ -1,141 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import md5 from '../md5.js'; -import sha1 from '../sha1.js'; -import v3 from '../v3.js'; -import { stringToBytes } from '../v35.js'; -import v5 from '../v5.js'; -describe('v35', () => { - const HASH_SAMPLES = [ - { - input: stringToBytes(''), - sha1: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', - md5: 'd41d8cd98f00b204e9800998ecf8427e', - }, - { - input: stringToBytes('\t\b\f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF'), - sha1: 'ca4a426a3d536f14cfd79011e79e10d64de950a0', - md5: 'e8098ec21950f841731d28749129d3ee', - }, - { - input: stringToBytes('\u00A5\u0104\u018F\u0256\u02B1o\u0315\u038E\u0409\u0500\u0531\u05E1\u05B6\u0920\u0903\u09A4\u0983\u0A20\u0A02\u0AA0\u0A83\u0B06\u0C05\u0C03\u1401\u16A0'), - sha1: 'f2753ebc390e5f637e333c2a4179644a93ae9f65', - md5: '231b309e277b6be8bb3d6c688b7f098b', - }, - ]; - function hashToHex(hash) { - const chars = new Array(hash.length); - for (let i = 0; i < hash.length; i++) { - chars[i] = hash[i].toString(16).padStart(2, '0'); - } - return chars.join(''); - } - HASH_SAMPLES.forEach(function (sample, i) { - test(`sha1(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex(sha1(sample.input)), sample.sha1); - }); - }); - HASH_SAMPLES.forEach(function (sample, i) { - test(`md5(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex(md5(sample.input)), sample.md5); - }); - }); - test('v3', () => { - assert.strictEqual(v3('hello.example.com', v3.DNS), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual(v3('http://example.com/hello', v3.URL), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual(v3('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - test('v3 namespace.toUpperCase', () => { - assert.strictEqual(v3('hello.example.com', v3.DNS.toUpperCase()), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual(v3('http://example.com/hello', v3.URL.toUpperCase()), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual(v3('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - test('v3 namespace string validation', () => { - assert.throws(() => { - v3('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - v3('hello.example.com', 'invalid uuid value'); - }); - assert.ok(v3('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - test('v3 namespace buffer validation', () => { - assert.throws(() => { - v3('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - v3('hello.example.com', new Uint8Array(17)); - }); - assert.ok(v3('hello.example.com', new Uint8Array(16).fill(0))); - }); - test('v3 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0x91, 0x25, 0xa8, 0xdc, 0x52, 0xee, 0x36, 0x5b, 0xa5, 0xaa, 0x81, 0xb0, 0xb3, 0x68, 0x1c, 0xf6); - const result = v3('hello.example.com', v3.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - v3('hello.example.com', v3.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - test('v3 undefined/null', () => { - assert.throws(() => v3()); - assert.throws(() => v3('hello')); - assert.throws(() => v3('hello.example.com', undefined)); - assert.throws(() => v3('hello.example.com', null, new Uint8Array(16))); - }); - test('v5', () => { - assert.strictEqual(v5('hello.example.com', v5.DNS), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual(v5('http://example.com/hello', v5.URL), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual(v5('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - test('v5 namespace.toUpperCase', () => { - assert.strictEqual(v5('hello.example.com', v5.DNS.toUpperCase()), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual(v5('http://example.com/hello', v5.URL.toUpperCase()), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual(v5('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - test('v5 namespace string validation', () => { - assert.throws(() => { - v5('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - v5('hello.example.com', 'invalid uuid value'); - }); - assert.ok(v5('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - test('v5 namespace buffer validation', () => { - assert.throws(() => { - v5('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - v5('hello.example.com', new Uint8Array(17)); - }); - assert.ok(v5('hello.example.com', new Uint8Array(16).fill(0))); - }); - test('v5 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0xfd, 0xda, 0x76, 0x5f, 0xfc, 0x57, 0x56, 0x04, 0xa2, 0x69, 0x52, 0xa7, 0xdf, 0x81, 0x64, 0xec); - const result = v5('hello.example.com', v5.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - v5('hello.example.com', v5.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - test('v5 undefined/null', () => { - assert.throws(() => v5()); - assert.throws(() => v5('hello')); - assert.throws(() => v5('hello.example.com', undefined)); - assert.throws(() => v5('hello.example.com', null, new Uint8Array(16))); - }); - test('v3/v5 constants', () => { - assert.strictEqual(v3.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v3.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts b/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/v4.test.js b/node_modules/uuid/dist/esm-browser/test/v4.test.js deleted file mode 100644 index 92c9ce2d58..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v4.test.js +++ /dev/null @@ -1,58 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import native from '../native.js'; -import v4 from '../v4.js'; -const randomBytesFixture = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea, 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36); -const expectedBytes = Uint8Array.of(16, 145, 86, 190, 196, 251, 65, 234, 177, 180, 239, 225, 103, 28, 88, 54); -describe('v4', () => { - test('subsequent UUIDs are different', () => { - const id1 = v4(); - const id2 = v4(); - assert.ok(id1 !== id2); - }); - test('should uses native randomUUID() if no option is passed', async () => { - const mock = (await import('node:test')).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - v4(); - assert.equal(mockRandomUUID.mock.callCount(), 1); - mock.restoreAll(); - }); - test('should not use native randomUUID() if an option is passed', async () => { - const mock = (await import('node:test')).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - v4({}); - assert.equal(mockRandomUUID.mock.callCount(), 0); - mock.restoreAll(); - }); - test('explicit options.random produces expected result', () => { - const id = v4({ random: randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - test('explicit options.rng produces expected result', () => { - const id = v4({ rng: () => randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - test('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = v4({ random: randomBytesFixture }, buffer); - assert.deepEqual(buffer, expectedBytes); - assert.strictEqual(buffer, result); - }); - test('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - v4({ random: randomBytesFixture }, buffer, 0); - v4({ random: randomBytesFixture }, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(expectedBytes); - expectedBuf.set(expectedBytes, 16); - assert.deepEqual(buffer, expectedBuf); - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts b/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/v6.test.js b/node_modules/uuid/dist/esm-browser/test/v6.test.js deleted file mode 100644 index 46cb865cc6..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v6.test.js +++ /dev/null @@ -1,54 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import v1ToV6 from '../v1ToV6.js'; -import v6 from '../v6.js'; -import v6ToV1 from '../v6ToV1.js'; -describe('v6', () => { - const V1_ID = 'f1207660-21d2-11ef-8c4f-419efbd44d48'; - const V6_ID = '1ef21d2f-1207-6660-8c4f-419efbd44d48'; - const fullOptions = { - msecs: 0x133b891f705, - nsecs: 0x1538, - clockseq: 0x385c, - node: Uint8Array.of(0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10), - }; - const EXPECTED_BYTES = Uint8Array.of(0x1e, 0x11, 0x22, 0xbd, 0x94, 0x28, 0x68, 0x88, 0xb8, 0x5c, 0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10); - test('default behavior', () => { - const id = v6(); - assert.ok(/[0-9a-f]{8}-[0-9a-f]{4}-6[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/.test(id), 'id is valid v6 UUID'); - }); - test('default behavior (binary type)', () => { - const buffer = new Uint8Array(16); - const result = v6(fullOptions, buffer); - assert.deepEqual(buffer, EXPECTED_BYTES); - assert.strictEqual(buffer, result); - }); - test('all options', () => { - const id = v6(fullOptions); - assert.equal(id, '1e1122bd-9428-6888-b85c-61cd3cbb3210'); - }); - test('sort by creation time', () => { - const ids = []; - for (let i = 0; i < 5; i++) { - ids.push(v6({ msecs: i * 1000 })); - } - assert.deepEqual(ids, ids.slice().sort()); - }); - test('creating at array offset', () => { - const buffer = new Uint8Array(32); - v6(fullOptions, buffer, 0); - v6(fullOptions, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(EXPECTED_BYTES, 0); - expectedBuf.set(EXPECTED_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - test('v1 -> v6 conversion', () => { - const id = v1ToV6(V1_ID); - assert.equal(id, V6_ID); - }); - test('v6 -> v1 conversion', () => { - const id = v6ToV1(V6_ID); - assert.equal(id, V1_ID); - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts b/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/v7.test.js b/node_modules/uuid/dist/esm-browser/test/v7.test.js deleted file mode 100644 index 69356c8660..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/v7.test.js +++ /dev/null @@ -1,192 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import parse from '../parse.js'; -import stringify from '../stringify.js'; -import v7, { updateV7State } from '../v7.js'; -const RFC_V7 = '017f22e2-79b0-7cc3-98c4-dc0c0c07398f'; -const RFC_V7_BYTES = parse('017f22e2-79b0-7cc3-98c4-dc0c0c07398f'); -const RFC_MSECS = 0x17f22e279b0; -const RFC_SEQ = (0x0cc3 << 20) | (0x98c4dc >> 2); -const RFC_RANDOM = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0x0c, 0xc3, 0x18, 0xc4, 0x6c, 0x0c, 0x0c, 0x07, 0x39, 0x8f); -describe('v7', () => { - test('subsequent UUIDs are different', () => { - const id1 = v7(); - const id2 = v7(); - assert.ok(id1 !== id2); - }); - test('explicit options.random and options.msecs produces expected result', () => { - const id = v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - test('explicit options.rng produces expected result', () => { - const id = v7({ - rng: () => RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - test('explicit options.msecs produces expected result', () => { - const id = v7({ - msecs: RFC_MSECS, - }); - assert.strictEqual(id.indexOf('017f22e2'), 0); - }); - test('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer); - stringify(buffer); - assert.deepEqual(buffer, RFC_V7_BYTES); - assert.strictEqual(buffer, result); - }); - test('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 0); - v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 16); - const expected = new Uint8Array(32); - expected.set(RFC_V7_BYTES); - expected.set(RFC_V7_BYTES, 16); - assert.deepEqual(buffer, expected); - }); - test('lexicographical sorting is preserved', () => { - let id; - let prior; - let msecs = RFC_MSECS; - for (let i = 0; i < 20000; ++i) { - if (i % 1500 === 0) { - msecs += 1; - } - id = v7({ msecs, seq: i }); - if (prior !== undefined) { - assert.ok(prior < id, `${prior} < ${id}`); - } - prior = id; - } - }); - test('can supply seq', () => { - let seq = 0x12345; - let uuid = v7({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substr(0, 25), '017f22e2-79b0-7000-848d-1'); - seq = 0x6fffffff; - uuid = v7({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substring(0, 25), '017f22e2-79b0-76ff-bfff-f'); - }); - test('internal seq is reset upon timestamp change', () => { - v7({ - msecs: RFC_MSECS, - seq: 0x6fffffff, - }); - const uuid = v7({ - msecs: RFC_MSECS + 1, - }); - assert.ok(uuid.indexOf('fff') !== 15); - }); - test('v7() state transitions', () => { - const tests = [ - { - title: 'new time interval', - state: { msecs: 1, seq: 123 }, - now: 2, - expected: { - msecs: 2, - seq: 0x6c318c4, - }, - }, - { - title: 'same time interval', - state: { msecs: 1, seq: 123 }, - now: 1, - expected: { - msecs: 1, - seq: 124, - }, - }, - { - title: 'same time interval (sequence rollover)', - state: { msecs: 1, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 2, - seq: 0, - }, - }, - { - title: 'time regression', - state: { msecs: 2, seq: 123 }, - now: 1, - expected: { - msecs: 2, - seq: 124, - }, - }, - { - title: 'time regression (sequence rollover)', - state: { msecs: 2, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 3, - seq: 0, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual(updateV7State(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); - test('flipping bits changes the result', () => { - const asBigInt = (buf) => buf.reduce((acc, v) => (acc << 8n) | BigInt(v), 0n); - const asNumber = (bits, data) => Number(BigInt.asUintN(bits, data)); - const flip = (data, n) => data ^ (1n << BigInt(127 - n)); - const optionsFrom = (data) => { - const ms = asNumber(48, data >> 80n); - const hi = asNumber(12, data >> 64n); - const lo = asNumber(20, data >> 42n); - const r = BigInt.asUintN(42, data); - return { - msecs: ms, - seq: (hi << 20) | lo, - random: Uint8Array.from([ - ...Array(10).fill(0), - ...Array(6) - .fill(0) - .map((_, i) => asNumber(8, r >> (BigInt(i) * 8n))) - .reverse(), - ]), - }; - }; - const buf = new Uint8Array(16); - const data = asBigInt(v7({}, buf)); - const id = stringify(buf); - const reserved = [48, 49, 50, 51, 64, 65]; - for (let i = 0; i < 128; ++i) { - if (reserved.includes(i)) { - continue; - } - const flipped = flip(data, i); - assert.strictEqual(asBigInt(v7(optionsFrom(flipped), buf)).toString(16), flipped.toString(16), `Unequal uuids at bit ${i}`); - assert.notStrictEqual(stringify(buf), id); - } - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts b/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/validate.test.js b/node_modules/uuid/dist/esm-browser/test/validate.test.js deleted file mode 100644 index ac2616532b..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/validate.test.js +++ /dev/null @@ -1,11 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import validate from '../validate.js'; -import { TESTS } from './test_constants.js'; -describe('validate()', () => { - test('TESTS cases', () => { - for (const { value, expectedValidate } of TESTS) { - assert.strictEqual(validate(value), expectedValidate, `validate(${value}) should be ${expectedValidate}`); - } - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/test/version.test.d.ts b/node_modules/uuid/dist/esm-browser/test/version.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/version.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm-browser/test/version.test.js b/node_modules/uuid/dist/esm-browser/test/version.test.js deleted file mode 100644 index 424012ed37..0000000000 --- a/node_modules/uuid/dist/esm-browser/test/version.test.js +++ /dev/null @@ -1,18 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import version from '../version.js'; -import { TESTS } from './test_constants.js'; -describe('version()', () => { - test('TESTS cases', () => { - for (const { value, expectedValidate, expectedVersion } of TESTS) { - try { - const actualVersion = version(value); - assert.ok(expectedValidate, `version(${value}) should throw`); - assert.strictEqual(actualVersion, expectedVersion); - } - catch { - assert.ok(!expectedValidate, `version(${value}) threw unexpectedly`); - } - } - }); -}); diff --git a/node_modules/uuid/dist/esm-browser/v1.js b/node_modules/uuid/dist/esm-browser/v1.js index d35e0a5908..eee9b01f35 100644 --- a/node_modules/uuid/dist/esm-browser/v1.js +++ b/node_modules/uuid/dist/esm-browser/v1.js @@ -46,10 +46,18 @@ export function updateV1State(state, now, rnds) { return state; } function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); nsecs ??= 0; clockseq ??= ((rnds[8] << 8) | rnds[9]) & 0x3fff; diff --git a/node_modules/uuid/dist/esm-browser/v35.d.ts b/node_modules/uuid/dist/esm-browser/v35.d.ts index 5d1d06daef..a2c132633f 100644 --- a/node_modules/uuid/dist/esm-browser/v35.d.ts +++ b/node_modules/uuid/dist/esm-browser/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/dist/esm-browser/v4.js b/node_modules/uuid/dist/esm-browser/v4.js index ac79ac5243..dd9067a6e3 100644 --- a/node_modules/uuid/dist/esm-browser/v4.js +++ b/node_modules/uuid/dist/esm-browser/v4.js @@ -6,11 +6,17 @@ function v4(options, buf, offset) { return native.randomUUID(); } options = options || {}; - const rnds = options.random || (options.rng || rng)(); + const rnds = options.random ?? options.rng?.() ?? rng(); + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } rnds[6] = (rnds[6] & 0x0f) | 0x40; rnds[8] = (rnds[8] & 0x3f) | 0x80; if (buf) { offset = offset || 0; + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } for (let i = 0; i < 16; ++i) { buf[offset + i] = rnds[i]; } diff --git a/node_modules/uuid/dist/esm-browser/v7.js b/node_modules/uuid/dist/esm-browser/v7.js index e00e295073..482aca7b5c 100644 --- a/node_modules/uuid/dist/esm-browser/v7.js +++ b/node_modules/uuid/dist/esm-browser/v7.js @@ -30,10 +30,18 @@ export function updateV7State(state, now, rnds) { return state; } function v7Bytes(rnds, msecs, seq, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; buf[offset++] = (msecs / 0x10000000000) & 0xff; diff --git a/node_modules/uuid/dist/esm/md5.d.ts b/node_modules/uuid/dist/esm/md5.d.ts index 26cb1a01f9..1d00cf700a 100644 --- a/node_modules/uuid/dist/esm/md5.d.ts +++ b/node_modules/uuid/dist/esm/md5.d.ts @@ -1,2 +1,2 @@ -declare function md5(bytes: Uint8Array): Buffer; +declare function md5(bytes: Uint8Array): Buffer; export default md5; diff --git a/node_modules/uuid/dist/esm/parse.d.ts b/node_modules/uuid/dist/esm/parse.d.ts index a316fb1178..86d55ef9c5 100644 --- a/node_modules/uuid/dist/esm/parse.d.ts +++ b/node_modules/uuid/dist/esm/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/esm/rng.d.ts b/node_modules/uuid/dist/esm/rng.d.ts index 73e60cf348..1fbb163599 100644 --- a/node_modules/uuid/dist/esm/rng.d.ts +++ b/node_modules/uuid/dist/esm/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/esm/sha1.d.ts b/node_modules/uuid/dist/esm/sha1.d.ts index c37bda8e9f..8e272a55be 100644 --- a/node_modules/uuid/dist/esm/sha1.d.ts +++ b/node_modules/uuid/dist/esm/sha1.d.ts @@ -1,2 +1,2 @@ -declare function sha1(bytes: Uint8Array): Buffer; +declare function sha1(bytes: Uint8Array): Buffer; export default sha1; diff --git a/node_modules/uuid/dist/esm/test/parse.test.d.ts b/node_modules/uuid/dist/esm/test/parse.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/parse.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/parse.test.js b/node_modules/uuid/dist/esm/test/parse.test.js deleted file mode 100644 index e5081d2cf4..0000000000 --- a/node_modules/uuid/dist/esm/test/parse.test.js +++ /dev/null @@ -1,48 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import parse from '../parse.js'; -import stringify from '../stringify.js'; -import uuidv4 from '../v4.js'; -function splitmix32(a) { - return function () { - a |= 0; - a = (a + 0x9e3779b9) | 0; - let t = a ^ (a >>> 16); - t = Math.imul(t, 0x21f0aaad); - t = t ^ (t >>> 15); - t = Math.imul(t, 0x735a2d97); - return ((t = t ^ (t >>> 15)) >>> 0) / 4294967296; - }; -} -const rand = splitmix32(0x12345678); -function rng(bytes = new Uint8Array(16)) { - for (let i = 0; i < 16; i++) { - bytes[i] = rand() * 256; - } - return bytes; -} -describe('parse', () => { - test('String -> bytes parsing', () => { - assert.deepStrictEqual(parse('0f5abcd1-c194-47f3-905b-2df7263a084b'), Uint8Array.from([ - 0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, - 0x4b, - ])); - }); - test('String -> bytes -> string symmetry for assorted uuids', () => { - for (let i = 0; i < 1000; i++) { - const uuid = uuidv4({ rng }); - assert.equal(stringify(parse(uuid)), uuid); - } - }); - test('Case neutrality', () => { - assert.deepStrictEqual(parse('0f5abcd1-c194-47f3-905b-2df7263a084b'), parse('0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase())); - }); - test('Null UUID case', () => { - assert.deepStrictEqual(parse('00000000-0000-0000-0000-000000000000'), Uint8Array.from(new Array(16).fill(0))); - }); - test('UUID validation', () => { - assert.throws(() => parse()); - assert.throws(() => parse('invalid uuid')); - assert.throws(() => parse('zyxwvuts-rqpo-nmlk-jihg-fedcba000000')); - }); -}); diff --git a/node_modules/uuid/dist/esm/test/rng.test.d.ts b/node_modules/uuid/dist/esm/test/rng.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/rng.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/rng.test.js b/node_modules/uuid/dist/esm/test/rng.test.js deleted file mode 100644 index e6c1e789b1..0000000000 --- a/node_modules/uuid/dist/esm/test/rng.test.js +++ /dev/null @@ -1,12 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import rng from '../rng.js'; -describe('rng', () => { - test('Node.js RNG', () => { - const bytes = rng(); - assert.equal(bytes.length, 16); - for (let i = 0; i < bytes.length; ++i) { - assert.equal(typeof bytes[i], 'number'); - } - }); -}); diff --git a/node_modules/uuid/dist/esm/test/stringify.test.d.ts b/node_modules/uuid/dist/esm/test/stringify.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/stringify.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/stringify.test.js b/node_modules/uuid/dist/esm/test/stringify.test.js deleted file mode 100644 index 10fca3a5f5..0000000000 --- a/node_modules/uuid/dist/esm/test/stringify.test.js +++ /dev/null @@ -1,21 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import stringify, { unsafeStringify } from '../stringify.js'; -const BYTES = Uint8Array.of(0x0f, 0x5a, 0xbc, 0xd1, 0xc1, 0x94, 0x47, 0xf3, 0x90, 0x5b, 0x2d, 0xf7, 0x26, 0x3a, 0x08, 0x4b); -describe('stringify', () => { - test('Stringify Array (unsafe)', () => { - assert.equal(unsafeStringify(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - test('Stringify w/ offset (unsafe)', () => { - const bytes = new Uint8Array(19).fill(0); - bytes.set(BYTES, 3); - assert.equal(unsafeStringify(bytes, 3), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - test('Stringify Array (safe)', () => { - assert.equal(stringify(BYTES), '0f5abcd1-c194-47f3-905b-2df7263a084b'); - }); - test('Throws on not enough values (safe)', () => { - const bytes = BYTES.slice(0, 15); - assert.throws(() => stringify(bytes)); - }); -}); diff --git a/node_modules/uuid/dist/esm/test/test_constants.d.ts b/node_modules/uuid/dist/esm/test/test_constants.d.ts deleted file mode 100644 index 959a679fd0..0000000000 --- a/node_modules/uuid/dist/esm/test/test_constants.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export declare const TESTS: ({ - value: string; - expectedValidate: boolean; - expectedVersion: number; -} | { - value: string; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: undefined; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: null; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: number; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: RegExp; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: Date; - expectedValidate: boolean; - expectedVersion?: undefined; -} | { - value: boolean; - expectedValidate: boolean; - expectedVersion?: undefined; -})[]; diff --git a/node_modules/uuid/dist/esm/test/test_constants.js b/node_modules/uuid/dist/esm/test/test_constants.js deleted file mode 100644 index ec77a2e1cf..0000000000 --- a/node_modules/uuid/dist/esm/test/test_constants.js +++ /dev/null @@ -1,88 +0,0 @@ -import MAX from '../max.js'; -import NIL from '../nil.js'; -export const TESTS = [ - { value: NIL, expectedValidate: true, expectedVersion: 0 }, - { value: MAX, expectedValidate: true, expectedVersion: 15 }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: 'ffffffff-ffff-1fff-8fff-ffffffffffff', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-2000-8000-000000000000', expectedValidate: true, expectedVersion: 2 }, - { value: 'ffffffff-ffff-2fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 2 }, - { value: '00000000-0000-3000-8000-000000000000', expectedValidate: true, expectedVersion: 3 }, - { value: 'ffffffff-ffff-3fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 3 }, - { value: '00000000-0000-4000-8000-000000000000', expectedValidate: true, expectedVersion: 4 }, - { value: 'ffffffff-ffff-4fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 4 }, - { value: '00000000-0000-5000-8000-000000000000', expectedValidate: true, expectedVersion: 5 }, - { value: 'ffffffff-ffff-5fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 5 }, - { value: '00000000-0000-6000-8000-000000000000', expectedValidate: true, expectedVersion: 6 }, - { value: 'ffffffff-ffff-6fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 6 }, - { value: '00000000-0000-7000-8000-000000000000', expectedValidate: true, expectedVersion: 7 }, - { value: 'ffffffff-ffff-7fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 7 }, - { value: '00000000-0000-8000-8000-000000000000', expectedValidate: true, expectedVersion: 8 }, - { value: 'ffffffff-ffff-8fff-bfff-ffffffffffff', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-9000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-9fff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-a000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-afff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-b000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-bfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-c000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-cfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-d000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-dfff-bfff-ffffffffffff', expectedValidate: false }, - { value: '00000000-0000-e000-8000-000000000000', expectedValidate: false }, - { value: 'ffffffff-ffff-efff-bfff-ffffffffffff', expectedValidate: false }, - { value: 'd9428888-122b-11e1-b85c-61cd3cbb3210', expectedValidate: true, expectedVersion: 1 }, - { value: '000003e8-2363-21ef-b200-325096b39f47', expectedValidate: true, expectedVersion: 2 }, - { value: 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec', expectedValidate: true, expectedVersion: 3 }, - { value: '109156be-c4fb-41ea-b1b4-efe1671c5836', expectedValidate: true, expectedVersion: 4 }, - { value: '90123e1c-7512-523e-bb28-76fab9f2f73d', expectedValidate: true, expectedVersion: 5 }, - { value: '1ef21d2f-1207-6660-8c4f-419efbd44d48', expectedValidate: true, expectedVersion: 6 }, - { value: '017f22e2-79b0-7cc3-98c4-dc0c0c07398f', expectedValidate: true, expectedVersion: 7 }, - { value: '0d8f23a0-697f-83ae-802e-48f3756dd581', expectedValidate: true, expectedVersion: 8 }, - { value: '00000000-0000-1000-0000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-1000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-2000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-3000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-4000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-5000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-6000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-7000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-8000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-9000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-a000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-b000-000000000000', expectedValidate: true, expectedVersion: 1 }, - { value: '00000000-0000-1000-c000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-d000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-e000-000000000000', expectedValidate: false }, - { value: '00000000-0000-1000-f000-000000000000', expectedValidate: false }, - { value: '00000000000000000000000000000000', expectedValidate: false }, - { value: '', expectedValidate: false }, - { value: 'invalid uuid string', expectedValidate: false }, - { - value: '=Y00a-f*vb*-c-d#-p00f\b-g0h-#i^-j*3&-L00k-\nl---00n-fg000-00p-00r+', - expectedValidate: false, - }, - { value: undefined, expectedValidate: false }, - { value: null, expectedValidate: false }, - { value: 123, expectedValidate: false }, - { value: /regex/, expectedValidate: false }, - { value: new Date(0), expectedValidate: false }, - { value: false, expectedValidate: false }, -]; -for (let charIndex = 0; charIndex < 36; charIndex++) { - if (charIndex === 8 || - charIndex === 13 || - charIndex === 14 || - charIndex === 18 || - charIndex === 23) { - continue; - } - const nilChars = NIL.split(''); - const maxChars = MAX.split(''); - for (let i = 0; i < 4; i++) { - nilChars[charIndex] = (0x0 ^ (1 << i)).toString(16); - TESTS.push({ value: nilChars.join(''), expectedValidate: false }); - maxChars[charIndex] = (0xf ^ (1 << i)).toString(16); - TESTS.push({ value: maxChars.join(''), expectedValidate: false }); - } -} diff --git a/node_modules/uuid/dist/esm/test/v1.test.d.ts b/node_modules/uuid/dist/esm/test/v1.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/v1.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/v1.test.js b/node_modules/uuid/dist/esm/test/v1.test.js deleted file mode 100644 index 91e1783bff..0000000000 --- a/node_modules/uuid/dist/esm/test/v1.test.js +++ /dev/null @@ -1,125 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import parse from '../parse.js'; -import v1, { updateV1State } from '../v1.js'; -const TIME = 1321644961388; -const RFC_V1 = 'c232ab00-9414-11ec-b3c8-9f68deced846'; -const RFC_V1_BYTES = parse(RFC_V1); -const RFC_OPTIONS = { - msecs: 0x17f22e279b0, - nsecs: 0, - clockseq: 0x33c8, - node: Uint8Array.of(0x9f, 0x68, 0xde, 0xce, 0xd8, 0x46), -}; -const RFC_RANDOM = Uint8Array.of(0, 0, 0, 0, 0, 0, 0, 0, RFC_OPTIONS.clockseq >> 8, RFC_OPTIONS.clockseq & 0xff, ...RFC_OPTIONS.node); -function compareV1TimeField(a, b) { - a = a.split('-').slice(0, 3).reverse().join(''); - b = b.split('-').slice(0, 3).reverse().join(''); - return a < b ? -1 : a > b ? 1 : 0; -} -describe('v1', () => { - test('v1 sort order (default)', () => { - const ids = [v1(), v1(), v1(), v1(), v1()]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - test('v1 sort order (time option)', () => { - const ids = [ - v1({ msecs: TIME - 10 * 3600 * 1000 }), - v1({ msecs: TIME - 1 }), - v1({ msecs: TIME }), - v1({ msecs: TIME + 1 }), - v1({ msecs: TIME + 28 * 24 * 3600 * 1000 }), - ]; - const sorted = [...ids].sort(compareV1TimeField); - assert.deepEqual(ids, sorted); - }); - test('v1(options)', () => { - assert.equal(v1({ msecs: RFC_OPTIONS.msecs, random: RFC_RANDOM }), RFC_V1, 'minimal options'); - assert.equal(v1(RFC_OPTIONS), RFC_V1, 'full options'); - }); - test('v1(options) equality', () => { - assert.notEqual(v1({ msecs: TIME }), v1({ msecs: TIME }), 'UUIDs with minimal options differ'); - assert.equal(v1(RFC_OPTIONS), v1(RFC_OPTIONS), 'UUIDs with full options are identical'); - }); - test('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = v1(RFC_OPTIONS, buffer); - assert.deepEqual(buffer, RFC_V1_BYTES); - assert.strictEqual(buffer, result); - }); - test('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - v1(RFC_OPTIONS, buffer, 0); - v1(RFC_OPTIONS, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(RFC_V1_BYTES); - expectedBuf.set(RFC_V1_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - test('v1() state transitions', () => { - const PRE_STATE = { - msecs: 10, - nsecs: 20, - clockseq: 0x1234, - node: Uint8Array.of(0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc), - }; - const tests = [ - { - title: 'initial state', - state: {}, - now: 10, - expected: { - msecs: 10, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'same time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 21, - }, - }, - { - title: 'new time interval', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs + 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs + 1, - nsecs: 0, - }, - }, - { - title: 'same time interval (nsecs overflow)', - state: { ...PRE_STATE, nsecs: 9999 }, - now: PRE_STATE.msecs, - expected: { - ...PRE_STATE, - nsecs: 0, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - { - title: 'time regression', - state: { ...PRE_STATE }, - now: PRE_STATE.msecs - 1, - expected: { - ...PRE_STATE, - msecs: PRE_STATE.msecs - 1, - clockseq: RFC_OPTIONS.clockseq, - node: RFC_OPTIONS.node, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual(updateV1State(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); -}); diff --git a/node_modules/uuid/dist/esm/test/v35.test.d.ts b/node_modules/uuid/dist/esm/test/v35.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/v35.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/v35.test.js b/node_modules/uuid/dist/esm/test/v35.test.js deleted file mode 100644 index 35d38d26e8..0000000000 --- a/node_modules/uuid/dist/esm/test/v35.test.js +++ /dev/null @@ -1,141 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import md5 from '../md5.js'; -import sha1 from '../sha1.js'; -import v3 from '../v3.js'; -import { stringToBytes } from '../v35.js'; -import v5 from '../v5.js'; -describe('v35', () => { - const HASH_SAMPLES = [ - { - input: stringToBytes(''), - sha1: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', - md5: 'd41d8cd98f00b204e9800998ecf8427e', - }, - { - input: stringToBytes('\t\b\f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF'), - sha1: 'ca4a426a3d536f14cfd79011e79e10d64de950a0', - md5: 'e8098ec21950f841731d28749129d3ee', - }, - { - input: stringToBytes('\u00A5\u0104\u018F\u0256\u02B1o\u0315\u038E\u0409\u0500\u0531\u05E1\u05B6\u0920\u0903\u09A4\u0983\u0A20\u0A02\u0AA0\u0A83\u0B06\u0C05\u0C03\u1401\u16A0'), - sha1: 'f2753ebc390e5f637e333c2a4179644a93ae9f65', - md5: '231b309e277b6be8bb3d6c688b7f098b', - }, - ]; - function hashToHex(hash) { - const chars = new Array(hash.length); - for (let i = 0; i < hash.length; i++) { - chars[i] = hash[i].toString(16).padStart(2, '0'); - } - return chars.join(''); - } - HASH_SAMPLES.forEach(function (sample, i) { - test(`sha1(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex(sha1(sample.input)), sample.sha1); - }); - }); - HASH_SAMPLES.forEach(function (sample, i) { - test(`md5(node) HASH_SAMPLES[${i}]`, () => { - assert.equal(hashToHex(md5(sample.input)), sample.md5); - }); - }); - test('v3', () => { - assert.strictEqual(v3('hello.example.com', v3.DNS), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual(v3('http://example.com/hello', v3.URL), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual(v3('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - test('v3 namespace.toUpperCase', () => { - assert.strictEqual(v3('hello.example.com', v3.DNS.toUpperCase()), '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'); - assert.strictEqual(v3('http://example.com/hello', v3.URL.toUpperCase()), 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'); - assert.strictEqual(v3('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), 'a981a0c2-68b1-35dc-bcfc-296e52ab01ec'); - }); - test('v3 namespace string validation', () => { - assert.throws(() => { - v3('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - v3('hello.example.com', 'invalid uuid value'); - }); - assert.ok(v3('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - test('v3 namespace buffer validation', () => { - assert.throws(() => { - v3('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - v3('hello.example.com', new Uint8Array(17)); - }); - assert.ok(v3('hello.example.com', new Uint8Array(16).fill(0))); - }); - test('v3 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0x91, 0x25, 0xa8, 0xdc, 0x52, 0xee, 0x36, 0x5b, 0xa5, 0xaa, 0x81, 0xb0, 0xb3, 0x68, 0x1c, 0xf6); - const result = v3('hello.example.com', v3.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - v3('hello.example.com', v3.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - test('v3 undefined/null', () => { - assert.throws(() => v3()); - assert.throws(() => v3('hello')); - assert.throws(() => v3('hello.example.com', undefined)); - assert.throws(() => v3('hello.example.com', null, new Uint8Array(16))); - }); - test('v5', () => { - assert.strictEqual(v5('hello.example.com', v5.DNS), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual(v5('http://example.com/hello', v5.URL), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual(v5('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - test('v5 namespace.toUpperCase', () => { - assert.strictEqual(v5('hello.example.com', v5.DNS.toUpperCase()), 'fdda765f-fc57-5604-a269-52a7df8164ec'); - assert.strictEqual(v5('http://example.com/hello', v5.URL.toUpperCase()), '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'); - assert.strictEqual(v5('hello', '0f5abcd1-c194-47f3-905b-2df7263a084b'.toUpperCase()), '90123e1c-7512-523e-bb28-76fab9f2f73d'); - }); - test('v5 namespace string validation', () => { - assert.throws(() => { - v5('hello.example.com', 'zyxwvuts-rqpo-nmlk-jihg-fedcba000000'); - }); - assert.throws(() => { - v5('hello.example.com', 'invalid uuid value'); - }); - assert.ok(v5('hello.example.com', '00000000-0000-0000-0000-000000000000')); - }); - test('v5 namespace buffer validation', () => { - assert.throws(() => { - v5('hello.example.com', new Uint8Array(15)); - }); - assert.throws(() => { - v5('hello.example.com', new Uint8Array(17)); - }); - assert.ok(v5('hello.example.com', new Uint8Array(16).fill(0))); - }); - test('v5 fill buffer', () => { - let buf = new Uint8Array(16); - const expectedUuid = Uint8Array.of(0xfd, 0xda, 0x76, 0x5f, 0xfc, 0x57, 0x56, 0x04, 0xa2, 0x69, 0x52, 0xa7, 0xdf, 0x81, 0x64, 0xec); - const result = v5('hello.example.com', v5.DNS, buf); - assert.deepEqual(buf, expectedUuid); - assert.strictEqual(result, buf); - buf = new Uint8Array(19).fill(0xaa); - const expectedBuf = new Uint8Array(19).fill(0xaa); - expectedBuf.set(expectedUuid, 3); - v5('hello.example.com', v5.DNS, buf, 3); - assert.deepEqual(buf, expectedBuf); - }); - test('v5 undefined/null', () => { - assert.throws(() => v5()); - assert.throws(() => v5('hello')); - assert.throws(() => v5('hello.example.com', undefined)); - assert.throws(() => v5('hello.example.com', null, new Uint8Array(16))); - }); - test('v3/v5 constants', () => { - assert.strictEqual(v3.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v3.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5.DNS, '6ba7b810-9dad-11d1-80b4-00c04fd430c8'); - assert.strictEqual(v5.URL, '6ba7b811-9dad-11d1-80b4-00c04fd430c8'); - }); -}); diff --git a/node_modules/uuid/dist/esm/test/v4.test.d.ts b/node_modules/uuid/dist/esm/test/v4.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/v4.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/v4.test.js b/node_modules/uuid/dist/esm/test/v4.test.js deleted file mode 100644 index 92c9ce2d58..0000000000 --- a/node_modules/uuid/dist/esm/test/v4.test.js +++ /dev/null @@ -1,58 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import native from '../native.js'; -import v4 from '../v4.js'; -const randomBytesFixture = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea, 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36); -const expectedBytes = Uint8Array.of(16, 145, 86, 190, 196, 251, 65, 234, 177, 180, 239, 225, 103, 28, 88, 54); -describe('v4', () => { - test('subsequent UUIDs are different', () => { - const id1 = v4(); - const id2 = v4(); - assert.ok(id1 !== id2); - }); - test('should uses native randomUUID() if no option is passed', async () => { - const mock = (await import('node:test')).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - v4(); - assert.equal(mockRandomUUID.mock.callCount(), 1); - mock.restoreAll(); - }); - test('should not use native randomUUID() if an option is passed', async () => { - const mock = (await import('node:test')).default.mock; - if (!mock) { - return; - } - const mockRandomUUID = mock.method(native, 'randomUUID'); - assert.equal(mockRandomUUID.mock.callCount(), 0); - v4({}); - assert.equal(mockRandomUUID.mock.callCount(), 0); - mock.restoreAll(); - }); - test('explicit options.random produces expected result', () => { - const id = v4({ random: randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - test('explicit options.rng produces expected result', () => { - const id = v4({ rng: () => randomBytesFixture }); - assert.strictEqual(id, '109156be-c4fb-41ea-b1b4-efe1671c5836'); - }); - test('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = v4({ random: randomBytesFixture }, buffer); - assert.deepEqual(buffer, expectedBytes); - assert.strictEqual(buffer, result); - }); - test('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - v4({ random: randomBytesFixture }, buffer, 0); - v4({ random: randomBytesFixture }, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(expectedBytes); - expectedBuf.set(expectedBytes, 16); - assert.deepEqual(buffer, expectedBuf); - }); -}); diff --git a/node_modules/uuid/dist/esm/test/v6.test.d.ts b/node_modules/uuid/dist/esm/test/v6.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/v6.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/v6.test.js b/node_modules/uuid/dist/esm/test/v6.test.js deleted file mode 100644 index 46cb865cc6..0000000000 --- a/node_modules/uuid/dist/esm/test/v6.test.js +++ /dev/null @@ -1,54 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import v1ToV6 from '../v1ToV6.js'; -import v6 from '../v6.js'; -import v6ToV1 from '../v6ToV1.js'; -describe('v6', () => { - const V1_ID = 'f1207660-21d2-11ef-8c4f-419efbd44d48'; - const V6_ID = '1ef21d2f-1207-6660-8c4f-419efbd44d48'; - const fullOptions = { - msecs: 0x133b891f705, - nsecs: 0x1538, - clockseq: 0x385c, - node: Uint8Array.of(0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10), - }; - const EXPECTED_BYTES = Uint8Array.of(0x1e, 0x11, 0x22, 0xbd, 0x94, 0x28, 0x68, 0x88, 0xb8, 0x5c, 0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10); - test('default behavior', () => { - const id = v6(); - assert.ok(/[0-9a-f]{8}-[0-9a-f]{4}-6[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/.test(id), 'id is valid v6 UUID'); - }); - test('default behavior (binary type)', () => { - const buffer = new Uint8Array(16); - const result = v6(fullOptions, buffer); - assert.deepEqual(buffer, EXPECTED_BYTES); - assert.strictEqual(buffer, result); - }); - test('all options', () => { - const id = v6(fullOptions); - assert.equal(id, '1e1122bd-9428-6888-b85c-61cd3cbb3210'); - }); - test('sort by creation time', () => { - const ids = []; - for (let i = 0; i < 5; i++) { - ids.push(v6({ msecs: i * 1000 })); - } - assert.deepEqual(ids, ids.slice().sort()); - }); - test('creating at array offset', () => { - const buffer = new Uint8Array(32); - v6(fullOptions, buffer, 0); - v6(fullOptions, buffer, 16); - const expectedBuf = new Uint8Array(32); - expectedBuf.set(EXPECTED_BYTES, 0); - expectedBuf.set(EXPECTED_BYTES, 16); - assert.deepEqual(buffer, expectedBuf); - }); - test('v1 -> v6 conversion', () => { - const id = v1ToV6(V1_ID); - assert.equal(id, V6_ID); - }); - test('v6 -> v1 conversion', () => { - const id = v6ToV1(V6_ID); - assert.equal(id, V1_ID); - }); -}); diff --git a/node_modules/uuid/dist/esm/test/v7.test.d.ts b/node_modules/uuid/dist/esm/test/v7.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/v7.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/v7.test.js b/node_modules/uuid/dist/esm/test/v7.test.js deleted file mode 100644 index 69356c8660..0000000000 --- a/node_modules/uuid/dist/esm/test/v7.test.js +++ /dev/null @@ -1,192 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import parse from '../parse.js'; -import stringify from '../stringify.js'; -import v7, { updateV7State } from '../v7.js'; -const RFC_V7 = '017f22e2-79b0-7cc3-98c4-dc0c0c07398f'; -const RFC_V7_BYTES = parse('017f22e2-79b0-7cc3-98c4-dc0c0c07398f'); -const RFC_MSECS = 0x17f22e279b0; -const RFC_SEQ = (0x0cc3 << 20) | (0x98c4dc >> 2); -const RFC_RANDOM = Uint8Array.of(0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0x0c, 0xc3, 0x18, 0xc4, 0x6c, 0x0c, 0x0c, 0x07, 0x39, 0x8f); -describe('v7', () => { - test('subsequent UUIDs are different', () => { - const id1 = v7(); - const id2 = v7(); - assert.ok(id1 !== id2); - }); - test('explicit options.random and options.msecs produces expected result', () => { - const id = v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - test('explicit options.rng produces expected result', () => { - const id = v7({ - rng: () => RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }); - assert.strictEqual(id, RFC_V7); - }); - test('explicit options.msecs produces expected result', () => { - const id = v7({ - msecs: RFC_MSECS, - }); - assert.strictEqual(id.indexOf('017f22e2'), 0); - }); - test('fills one UUID into a buffer as expected', () => { - const buffer = new Uint8Array(16); - const result = v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer); - stringify(buffer); - assert.deepEqual(buffer, RFC_V7_BYTES); - assert.strictEqual(buffer, result); - }); - test('fills two UUIDs into a buffer as expected', () => { - const buffer = new Uint8Array(32); - v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 0); - v7({ - random: RFC_RANDOM, - msecs: RFC_MSECS, - seq: RFC_SEQ, - }, buffer, 16); - const expected = new Uint8Array(32); - expected.set(RFC_V7_BYTES); - expected.set(RFC_V7_BYTES, 16); - assert.deepEqual(buffer, expected); - }); - test('lexicographical sorting is preserved', () => { - let id; - let prior; - let msecs = RFC_MSECS; - for (let i = 0; i < 20000; ++i) { - if (i % 1500 === 0) { - msecs += 1; - } - id = v7({ msecs, seq: i }); - if (prior !== undefined) { - assert.ok(prior < id, `${prior} < ${id}`); - } - prior = id; - } - }); - test('can supply seq', () => { - let seq = 0x12345; - let uuid = v7({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substr(0, 25), '017f22e2-79b0-7000-848d-1'); - seq = 0x6fffffff; - uuid = v7({ - msecs: RFC_MSECS, - seq, - }); - assert.strictEqual(uuid.substring(0, 25), '017f22e2-79b0-76ff-bfff-f'); - }); - test('internal seq is reset upon timestamp change', () => { - v7({ - msecs: RFC_MSECS, - seq: 0x6fffffff, - }); - const uuid = v7({ - msecs: RFC_MSECS + 1, - }); - assert.ok(uuid.indexOf('fff') !== 15); - }); - test('v7() state transitions', () => { - const tests = [ - { - title: 'new time interval', - state: { msecs: 1, seq: 123 }, - now: 2, - expected: { - msecs: 2, - seq: 0x6c318c4, - }, - }, - { - title: 'same time interval', - state: { msecs: 1, seq: 123 }, - now: 1, - expected: { - msecs: 1, - seq: 124, - }, - }, - { - title: 'same time interval (sequence rollover)', - state: { msecs: 1, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 2, - seq: 0, - }, - }, - { - title: 'time regression', - state: { msecs: 2, seq: 123 }, - now: 1, - expected: { - msecs: 2, - seq: 124, - }, - }, - { - title: 'time regression (sequence rollover)', - state: { msecs: 2, seq: 0xffffffff }, - now: 1, - expected: { - msecs: 3, - seq: 0, - }, - }, - ]; - for (const { title, state, now, expected } of tests) { - assert.deepStrictEqual(updateV7State(state, now, RFC_RANDOM), expected, `Failed: ${title}`); - } - }); - test('flipping bits changes the result', () => { - const asBigInt = (buf) => buf.reduce((acc, v) => (acc << 8n) | BigInt(v), 0n); - const asNumber = (bits, data) => Number(BigInt.asUintN(bits, data)); - const flip = (data, n) => data ^ (1n << BigInt(127 - n)); - const optionsFrom = (data) => { - const ms = asNumber(48, data >> 80n); - const hi = asNumber(12, data >> 64n); - const lo = asNumber(20, data >> 42n); - const r = BigInt.asUintN(42, data); - return { - msecs: ms, - seq: (hi << 20) | lo, - random: Uint8Array.from([ - ...Array(10).fill(0), - ...Array(6) - .fill(0) - .map((_, i) => asNumber(8, r >> (BigInt(i) * 8n))) - .reverse(), - ]), - }; - }; - const buf = new Uint8Array(16); - const data = asBigInt(v7({}, buf)); - const id = stringify(buf); - const reserved = [48, 49, 50, 51, 64, 65]; - for (let i = 0; i < 128; ++i) { - if (reserved.includes(i)) { - continue; - } - const flipped = flip(data, i); - assert.strictEqual(asBigInt(v7(optionsFrom(flipped), buf)).toString(16), flipped.toString(16), `Unequal uuids at bit ${i}`); - assert.notStrictEqual(stringify(buf), id); - } - }); -}); diff --git a/node_modules/uuid/dist/esm/test/validate.test.d.ts b/node_modules/uuid/dist/esm/test/validate.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/validate.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/validate.test.js b/node_modules/uuid/dist/esm/test/validate.test.js deleted file mode 100644 index ac2616532b..0000000000 --- a/node_modules/uuid/dist/esm/test/validate.test.js +++ /dev/null @@ -1,11 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import validate from '../validate.js'; -import { TESTS } from './test_constants.js'; -describe('validate()', () => { - test('TESTS cases', () => { - for (const { value, expectedValidate } of TESTS) { - assert.strictEqual(validate(value), expectedValidate, `validate(${value}) should be ${expectedValidate}`); - } - }); -}); diff --git a/node_modules/uuid/dist/esm/test/version.test.d.ts b/node_modules/uuid/dist/esm/test/version.test.d.ts deleted file mode 100644 index cb0ff5c3b5..0000000000 --- a/node_modules/uuid/dist/esm/test/version.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/uuid/dist/esm/test/version.test.js b/node_modules/uuid/dist/esm/test/version.test.js deleted file mode 100644 index 424012ed37..0000000000 --- a/node_modules/uuid/dist/esm/test/version.test.js +++ /dev/null @@ -1,18 +0,0 @@ -import * as assert from 'assert'; -import test, { describe } from 'node:test'; -import version from '../version.js'; -import { TESTS } from './test_constants.js'; -describe('version()', () => { - test('TESTS cases', () => { - for (const { value, expectedValidate, expectedVersion } of TESTS) { - try { - const actualVersion = version(value); - assert.ok(expectedValidate, `version(${value}) should throw`); - assert.strictEqual(actualVersion, expectedVersion); - } - catch { - assert.ok(!expectedValidate, `version(${value}) threw unexpectedly`); - } - } - }); -}); diff --git a/node_modules/uuid/dist/esm/v1.js b/node_modules/uuid/dist/esm/v1.js index d35e0a5908..eee9b01f35 100644 --- a/node_modules/uuid/dist/esm/v1.js +++ b/node_modules/uuid/dist/esm/v1.js @@ -46,10 +46,18 @@ export function updateV1State(state, now, rnds) { return state; } function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); nsecs ??= 0; clockseq ??= ((rnds[8] << 8) | rnds[9]) & 0x3fff; diff --git a/node_modules/uuid/dist/esm/v35.d.ts b/node_modules/uuid/dist/esm/v35.d.ts index 5d1d06daef..a2c132633f 100644 --- a/node_modules/uuid/dist/esm/v35.d.ts +++ b/node_modules/uuid/dist/esm/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/dist/esm/v4.js b/node_modules/uuid/dist/esm/v4.js index ac79ac5243..dd9067a6e3 100644 --- a/node_modules/uuid/dist/esm/v4.js +++ b/node_modules/uuid/dist/esm/v4.js @@ -6,11 +6,17 @@ function v4(options, buf, offset) { return native.randomUUID(); } options = options || {}; - const rnds = options.random || (options.rng || rng)(); + const rnds = options.random ?? options.rng?.() ?? rng(); + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } rnds[6] = (rnds[6] & 0x0f) | 0x40; rnds[8] = (rnds[8] & 0x3f) | 0x80; if (buf) { offset = offset || 0; + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } for (let i = 0; i < 16; ++i) { buf[offset + i] = rnds[i]; } diff --git a/node_modules/uuid/dist/esm/v7.js b/node_modules/uuid/dist/esm/v7.js index e00e295073..482aca7b5c 100644 --- a/node_modules/uuid/dist/esm/v7.js +++ b/node_modules/uuid/dist/esm/v7.js @@ -30,10 +30,18 @@ export function updateV7State(state, now, rnds) { return state; } function v7Bytes(rnds, msecs, seq, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } if (!buf) { buf = new Uint8Array(16); offset = 0; } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } msecs ??= Date.now(); seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; buf[offset++] = (msecs / 0x10000000000) & 0xff; diff --git a/node_modules/uuid/package.json b/node_modules/uuid/package.json index 77cd378859..a7461c0737 100644 --- a/node_modules/uuid/package.json +++ b/node_modules/uuid/package.json @@ -1,6 +1,6 @@ { "name": "uuid", - "version": "11.0.3", + "version": "11.0.4", "description": "RFC9562 UUIDs", "type": "module", "funding": [ @@ -44,35 +44,32 @@ "./dist/cjs/index.js": "./dist/cjs-browser/index.js" }, "files": [ - "CHANGELOG.md", - "CONTRIBUTING.md", - "LICENSE.md", - "README.md", - "dist" + "dist", + "!dist/**/test" ], "devDependencies": { "@babel/eslint-parser": "7.25.9", - "@commitlint/cli": "19.5.0", - "@commitlint/config-conventional": "19.5.0", - "@eslint/js": "9.13.0", + "@commitlint/cli": "19.6.1", + "@commitlint/config-conventional": "19.6.0", + "@eslint/js": "9.17.0", "@types/eslint__js": "8.42.3", "bundlewatch": "0.4.0", "commander": "12.1.0", - "eslint": "9.13.0", + "eslint": "9.17.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.1", - "globals": "15.11.0", - "husky": "9.1.6", + "globals": "15.14.0", + "husky": "9.1.7", "jest": "29.7.0", - "lint-staged": "15.2.10", - "neostandard": "0.11.7", + "lint-staged": "15.2.11", + "neostandard": "0.12.0", "npm-run-all": "4.1.5", - "prettier": "3.3.3", - "release-please": "16.14.3", - "runmd": "1.3.9", + "prettier": "3.4.2", + "release-please": "16.15.0", + "runmd": "1.4.1", "standard-version": "9.5.0", - "typescript": "5.6.3", - "typescript-eslint": "8.11.0" + "typescript": "5.7.2", + "typescript-eslint": "8.18.2" }, "optionalDevDependencies": { "@wdio/browserstack-service": "9.2.1", @@ -130,5 +127,5 @@ "postchangelog": "prettier --write CHANGELOG.md" } }, - "packageManager": "npm@10.9.0" + "packageManager": "npm@11.0.0" } From a06dbc607dd63667b5c4ce35d436c98d5ed88acd Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Tue, 7 Jan 2025 13:59:27 -0800 Subject: [PATCH 017/132] Change `OLDEST_SUPPORTED_MAJOR_VERSION` to 3 --- .github/releases.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/releases.ini b/.github/releases.ini index 83aee4b155..69afa026d4 100644 --- a/.github/releases.ini +++ b/.github/releases.ini @@ -1 +1 @@ -OLDEST_SUPPORTED_MAJOR_VERSION=2 +OLDEST_SUPPORTED_MAJOR_VERSION=3 From 04b5afaa7272be7d396a38c0624ea879110bef1d Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Tue, 7 Jan 2025 13:59:42 -0800 Subject: [PATCH 018/132] Convert deprecation warning to error --- lib/environment.js | 2 ++ lib/environment.js.map | 2 +- lib/util.js | 17 ++++++++--------- lib/util.js.map | 2 +- lib/util.test.js | 16 ++++++++-------- lib/util.test.js.map | 2 +- src/environment.ts | 3 +++ src/util.test.ts | 18 ++++++++++-------- src/util.ts | 21 ++++++++++----------- 9 files changed, 44 insertions(+), 39 deletions(-) diff --git a/lib/environment.js b/lib/environment.js index aa1b73667b..2efae79b71 100644 --- a/lib/environment.js +++ b/lib/environment.js @@ -43,6 +43,8 @@ var EnvVar; EnvVar["HAS_WARNED_ABOUT_DISK_SPACE"] = "CODEQL_ACTION_HAS_WARNED_ABOUT_DISK_SPACE"; /** Whether the init action has been run. */ EnvVar["INIT_ACTION_HAS_RUN"] = "CODEQL_ACTION_INIT_HAS_RUN"; + /** Whether the error for a deprecated version of the CodeQL Action was logged. */ + EnvVar["LOG_VERSION_DEPRECATION"] = "CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION"; /** * For macOS. Result of `csrutil status` to determine whether System Integrity * Protection is enabled. diff --git a/lib/environment.js.map b/lib/environment.js.map index fb75e58cc5..4bb33f054f 100644 --- a/lib/environment.js.map +++ b/lib/environment.js.map @@ -1 +1 @@ -{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MA2GX;AA3GD,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF;;;OAGG;IACH,4CAAkC,CAAA;IAElC,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD;;;OAGG;IACH,yDAA+C,CAAA;IAE/C,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD,8DAA8D;IAC9D,6EAAmE,CAAA;IAEnE;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;IAE9C;;;;OAIG;IACH,iEAAuD,CAAA;IAEvD;;;OAGG;IACH,6EAAmE,CAAA;AACrE,CAAC,EA3GW,MAAM,sBAAN,MAAM,QA2GjB"} \ No newline at end of file +{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MA8GX;AA9GD,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF;;;OAGG;IACH,4CAAkC,CAAA;IAElC,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD,kFAAkF;IAClF,+EAAqE,CAAA;IAErE;;;OAGG;IACH,yDAA+C,CAAA;IAE/C,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD,8DAA8D;IAC9D,6EAAmE,CAAA;IAEnE;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;IAE9C;;;;OAIG;IACH,iEAAuD,CAAA;IAEvD;;;OAGG;IACH,6EAAmE,CAAA;AACrE,CAAC,EA9GW,MAAM,sBAAN,MAAM,QA8GjB"} \ No newline at end of file diff --git a/lib/util.js b/lib/util.js index 27878936bf..9ea70f052c 100644 --- a/lib/util.js +++ b/lib/util.js @@ -848,15 +848,14 @@ async function checkDiskUsage(logger) { /** * Prompt the customer to upgrade to CodeQL Action v3, if appropriate. * - * Check whether a customer is running v2. If they are, and we can determine that the GitHub - * instance supports v3, then log a warning about v2's upcoming deprecation prompting the customer - * to upgrade to v3. + * Check whether a customer is running v1 or v2. If they are, and we can determine that the GitHub + * instance supports v3, then log an error prompting the customer to upgrade to v3. */ function checkActionVersion(version, githubVersion) { - if (!semver.satisfies(version, ">=3") && // do not warn if the customer is already running v3 - !process.env.CODEQL_V2_DEPRECATION_WARNING // do not warn if we have already warned + if (!semver.satisfies(version, ">=3") && // do not log error if the customer is already running v3 + !process.env[environment_1.EnvVar.LOG_VERSION_DEPRECATION] // do not log error if we have already ) { - // Only log a warning for versions of GHES that are compatible with CodeQL Action version 3. + // Only error for versions of GHES that are compatible with CodeQL Action version 3. // // GHES 3.11 shipped without the v3 tag, but it also shipped without this warning message code. // Therefore users who are seeing this warning message code have pulled in a new version of the @@ -865,12 +864,12 @@ function checkActionVersion(version, githubVersion) { githubVersion.type === GitHubVariant.GHE_DOTCOM || (githubVersion.type === GitHubVariant.GHES && semver.satisfies(semver.coerce(githubVersion.version) ?? "0.0.0", ">=3.11"))) { - core.warning("CodeQL Action v2 will be deprecated on December 5th, 2024. " + + core.error("CodeQL Action major versions v1 and v2 have been deprecated. " + "Please update all occurrences of the CodeQL Action in your workflow files to v3. " + "For more information, see " + "https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/"); - // set CODEQL_V2_DEPRECATION_WARNING env var to prevent the warning from being logged multiple times - core.exportVariable("CODEQL_V2_DEPRECATION_WARNING", "true"); + // set LOG_VERSION_DEPRECATION env var to prevent the warning from being logged multiple times + core.exportVariable(environment_1.EnvVar.LOG_VERSION_DEPRECATION, "true"); } } } diff --git a/lib/util.js.map b/lib/util.js.map index 2992d5d208..f411718fa0 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsHA,0DAcC;AAOD,oCAYC;AAID,gCAOC;AAyCD,sEAsBC;AAqFD,gDASC;AASD,sCAMC;AAOD,gDAQC;AAUD,kDA8CC;AA2CD,8DAiCC;AAUD,wCAKC;AAKD,sDAEC;AAMD,wCAqCC;AAiBD,8DA8BC;AAOD,8CAYC;AAeD,kCAEC;AAMD,sDAMC;AAKD,kDAMC;AAqBD,kCAEC;AAID,gDAKC;AAED,wDAEC;AAED,oDAKC;AAGD,4BAkBC;AAOD,sBAaC;AAED,sCAEC;AAOD,oCAEC;AAKD,gDAOC;AAKD,gCAcC;AAYD,8CAeC;AAwBD,kCAwBC;AAQD,0CAQC;AAYD,wCASC;AAED,4CAOC;AAcD,0DA4DC;AAYD,sEAgBC;AAED,8BAEC;AAQD,0CAEC;AAED,0CAIC;AAOD,wCAsCC;AASD,gDAgCC;AAiBD,kCAEC;AAMD,gDAqCC;AAED,kCAgBC;AAED,gDAYC;AAnrCD,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAC7B,+BAAiC;AAEjC,oDAAsC;AACtC,6DAA+C;AAC/C,gDAAkC;AAClC,wEAA8C;AAC9C,8CAAsB;AACtB,sEAA4C;AAC5C,8CAAgC;AAChC,+CAAiC;AAEjC,2EAA6D;AAG7D,+CAAuC;AAIvC;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAE3C;;GAEG;AACU,QAAA,iBAAiB,GAAG,oBAAoB,CAAC;AAEtD;;GAEG;AACU,QAAA,2BAA2B,GAAG,iBAAiB,CAAC;AAE7D;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEhD;;GAEG;AACH,MAAM,mCAAmC,GAAG,IAAI,CAAC;AAE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AE,CAAC;YACrC,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,GAAG,CAAC,CAAC;QACtC,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,KAAK,YAAY,CAAC,MAAM,UAAU,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,OAAO,CAAC,sBAAsB,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;IACtD,CAAC;AACH,CAAC;AAEM,KAAK,UAAU,kBAAkB,CACtC,MAAc,EACd,MAAc;IAEd,IAAI,CAAC;QACH,MAAM,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC7B,MAAM,CAAC,KAAK,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,KAAK,CAAC,kBAAkB,MAAM,KAAK,CAAC,EAAE,CAAC,CAAC;QAC/C,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/util.test.js b/lib/util.test.js index 57449b2e82..5317cb6def 100644 --- a/lib/util.test.js +++ b/lib/util.test.js @@ -350,21 +350,21 @@ const CHECK_ACTION_VERSION_TESTS = [ ["3.2.1", { type: util.GitHubVariant.GHES, version: "3.11" }, false], ["3.2.1", { type: util.GitHubVariant.GHES, version: "3.12" }, false], ]; -for (const [version, githubVersion, shouldReportWarning,] of CHECK_ACTION_VERSION_TESTS) { - const reportWarningDescription = shouldReportWarning - ? "reports warning" - : "doesn't report warning"; +for (const [version, githubVersion, shouldReportError,] of CHECK_ACTION_VERSION_TESTS) { + const reportErrorDescription = shouldReportError + ? "reports error" + : "doesn't report error"; const versionsDescription = `CodeQL Action version ${version} and GitHub version ${formatGitHubVersion(githubVersion)}`; - (0, ava_1.default)(`checkActionVersion ${reportWarningDescription} for ${versionsDescription}`, async (t) => { - const warningSpy = sinon.spy(core, "warning"); + (0, ava_1.default)(`checkActionVersion ${reportErrorDescription} for ${versionsDescription}`, async (t) => { + const warningSpy = sinon.spy(core, "error"); const versionStub = sinon .stub(api, "getGitHubVersion") .resolves(githubVersion); // call checkActionVersion twice and assert below that warning is reported only once util.checkActionVersion(version, await api.getGitHubVersion()); util.checkActionVersion(version, await api.getGitHubVersion()); - if (shouldReportWarning) { - t.true(warningSpy.calledOnceWithExactly(sinon.match("CodeQL Action v2 will be deprecated"))); + if (shouldReportError) { + t.true(warningSpy.calledOnceWithExactly(sinon.match("CodeQL Action major versions v1 and v2 have been deprecated."))); } else { t.false(warningSpy.called); diff --git a/lib/util.test.js.map b/lib/util.test.js.map index 18b028835f..7c3a25629f 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;AAExB,oDAAsC;AACtC,8CAAuB;AACvB,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,+CAAuC;AACvC,uCAA4C;AAC5C,mDAAgF;AAChF,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,CAAmB,CAAC,CAAC;IACzE,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,+BAA+B,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC,CAAC;AAEH,M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,CAAC,SAAS,CACT,IAAI,CAAC,yBAAyB,CAAC,WAAW,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC,EAClE,SAAS,CACV,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"util.test.js","sourceRoot":"","sources":["../src/util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,gDAAwB;AAExB,oDAAsC;AACtC,8CAAuB;AACvB,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,+CAAuC;AACvC,uCAA4C;AAC5C,mDAAgF;AAChF,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,CAAmB,CAAC,CAAC;IACzE,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,+BAA+B,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG;IAC5B;QACE,KAAK,EAAE,SAAS;QAChB,aAAa,EAAE,CAAC,GAAG,IAAI;QACvB,QAAQ,EAAE,OAAO;QACjB,mBAAmB,EAAE,CAAC,GAAG,IAAI;KAC9B;IACD;QACE,KAAK,EAAE,SAAS;QAChB,aAAa,EAAE,CAAC,GAAG,IAAI;QACvB,QAAQ,EAAE,OAAO;QACjB,mBAAmB,EAAE,GAAG,GAAG,IAAI;KAChC;IACD;QACE,KAAK,EAAE,EAAE;QACT,aAAa,EAAE,CAAC,GAAG,IAAI;QACvB,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CAAC,SAAS,CACT,IAAI,CAAC,yBAAyB,CAAC,WAAW,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC,EAClE,CAAC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,2EAA2E,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC5F,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;QAC7C,MAAM,WAAW,GAAG,GAAG,MAAM,YAAY,CAAC;QAC1C,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;QACpC,CAAC,CAAC,SAAS,CACT,IAAI,CAAC,yBAAyB,CAAC,WAAW,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC,EAClE,SAAS,CACV,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iFAAiF,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAClG,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;QAC7C,MAAM,WAAW,GAAG,GAAG,MAAM,YAAY,CAAC;QAC1C,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7C,CAAC,CAAC,SAAS,CACT,IAAI,CAAC,yBAAyB,CAAC,WAAW,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC,EAClE,SAAS,CACV,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/environment.ts b/src/environment.ts index 83f0919212..42dcfc4e0c 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -50,6 +50,9 @@ export enum EnvVar { /** Whether the init action has been run. */ INIT_ACTION_HAS_RUN = "CODEQL_ACTION_INIT_HAS_RUN", + /** Whether the error for a deprecated version of the CodeQL Action was logged. */ + LOG_VERSION_DEPRECATION = "CODEQL_ACTION_DID_LOG_VERSION_DEPRECATION", + /** * For macOS. Result of `csrutil status` to determine whether System Integrity * Protection is enabled. diff --git a/src/util.test.ts b/src/util.test.ts index 2091e2ffea..9fa3ed4973 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -431,16 +431,16 @@ const CHECK_ACTION_VERSION_TESTS: Array<[string, util.GitHubVersion, boolean]> = for (const [ version, githubVersion, - shouldReportWarning, + shouldReportError, ] of CHECK_ACTION_VERSION_TESTS) { - const reportWarningDescription = shouldReportWarning - ? "reports warning" - : "doesn't report warning"; + const reportErrorDescription = shouldReportError + ? "reports error" + : "doesn't report error"; const versionsDescription = `CodeQL Action version ${version} and GitHub version ${formatGitHubVersion( githubVersion, )}`; - test(`checkActionVersion ${reportWarningDescription} for ${versionsDescription}`, async (t) => { - const warningSpy = sinon.spy(core, "warning"); + test(`checkActionVersion ${reportErrorDescription} for ${versionsDescription}`, async (t) => { + const warningSpy = sinon.spy(core, "error"); const versionStub = sinon .stub(api, "getGitHubVersion") .resolves(githubVersion); @@ -449,10 +449,12 @@ for (const [ util.checkActionVersion(version, await api.getGitHubVersion()); util.checkActionVersion(version, await api.getGitHubVersion()); - if (shouldReportWarning) { + if (shouldReportError) { t.true( warningSpy.calledOnceWithExactly( - sinon.match("CodeQL Action v2 will be deprecated"), + sinon.match( + "CodeQL Action major versions v1 and v2 have been deprecated.", + ), ), ); } else { diff --git a/src/util.ts b/src/util.ts index 3672797399..2c23d5c5a1 100644 --- a/src/util.ts +++ b/src/util.ts @@ -1071,19 +1071,18 @@ export async function checkDiskUsage( /** * Prompt the customer to upgrade to CodeQL Action v3, if appropriate. * - * Check whether a customer is running v2. If they are, and we can determine that the GitHub - * instance supports v3, then log a warning about v2's upcoming deprecation prompting the customer - * to upgrade to v3. + * Check whether a customer is running v1 or v2. If they are, and we can determine that the GitHub + * instance supports v3, then log an error prompting the customer to upgrade to v3. */ export function checkActionVersion( version: string, githubVersion: GitHubVersion, ) { if ( - !semver.satisfies(version, ">=3") && // do not warn if the customer is already running v3 - !process.env.CODEQL_V2_DEPRECATION_WARNING // do not warn if we have already warned + !semver.satisfies(version, ">=3") && // do not log error if the customer is already running v3 + !process.env[EnvVar.LOG_VERSION_DEPRECATION] // do not log error if we have already ) { - // Only log a warning for versions of GHES that are compatible with CodeQL Action version 3. + // Only error for versions of GHES that are compatible with CodeQL Action version 3. // // GHES 3.11 shipped without the v3 tag, but it also shipped without this warning message code. // Therefore users who are seeing this warning message code have pulled in a new version of the @@ -1097,14 +1096,14 @@ export function checkActionVersion( ">=3.11", )) ) { - core.warning( - "CodeQL Action v2 will be deprecated on December 5th, 2024. " + + core.error( + "CodeQL Action major versions v1 and v2 have been deprecated. " + "Please update all occurrences of the CodeQL Action in your workflow files to v3. " + "For more information, see " + - "https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/", + "https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/", // TODO: update to new changelog post when published ); - // set CODEQL_V2_DEPRECATION_WARNING env var to prevent the warning from being logged multiple times - core.exportVariable("CODEQL_V2_DEPRECATION_WARNING", "true"); + // set LOG_VERSION_DEPRECATION env var to prevent the warning from being logged multiple times + core.exportVariable(EnvVar.LOG_VERSION_DEPRECATION, "true"); } } } From 913d60579d4b560addf53ec3c493d491dd3c1378 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Tue, 7 Jan 2025 14:00:12 -0800 Subject: [PATCH 019/132] Remove mentions to v2 in documentation --- CONTRIBUTING.md | 9 +++++---- README.md | 11 +---------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 63905446db..95b8d26221 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,8 +62,9 @@ Here are a few things you can do that will increase the likelihood of your pull You can start a release by triggering this workflow via [workflow dispatch](https://github.com/github/codeql-action/actions/workflows/update-release-branch.yml). 1. The workflow run will open a pull request titled "Merge main into releases/v3". Follow the steps on the checklist in the pull request. Once you've checked off all but the last two of these, approve the PR and automerge it. -1. When the "Merge main into releases/v3" pull request is merged into the `releases/v3` branch, a mergeback pull request to `main` and a backport pull request to `releases/v2` will both be automatically created. This mergeback pull request incorporates the changelog updates into `main`, tags the release using the merge commit of the "Merge main into releases/v3" pull request, and bumps the patch version of the CodeQL Action. The backport pull request will incorporate the updates into `releases/v2`. -1. Approve the mergeback and backport pull requests and automerge them. +1. When the "Merge main into releases/v3" pull request is merged into the `releases/v3` branch, a mergeback pull request to `main` will be automatically created. This mergeback pull request incorporates the changelog updates into `main`, tags the release using the merge commit of the "Merge main into releases/v3" pull request, and bumps the patch version of the CodeQL Action. +1. If a backport to an older major version is required, a pull request targeting that version's branch will also be automatically created +1. Approve the mergeback and backport pull request (if applicable) and automerge them. Once the mergeback and backport pull request have been merged, the release is complete. @@ -73,9 +74,9 @@ Since the `codeql-action` runs most of its testing through individual Actions wo 1. By default, this script retrieves the checks from the latest SHA on `main`, so make sure that your `main` branch is up to date. 2. Run the script. If there's a reason to, you can pass in a different SHA as a CLI argument. -3. After running, go to the [branch protection rules settings page](https://github.com/github/codeql-action/settings/branches) and validate that the rules for `main`, `v2`, and `v3` have been updated. +3. After running, go to the [branch protection rules settings page](https://github.com/github/codeql-action/settings/branches) and validate that the rules for `main`, `v3`, and any other currently supported major versions have been updated. -Note that any updates to checks need to be backported to the `releases/v2` branch, in order to maintain the same set of names for required checks. +Note that any updates to checks on `main` need to be backported to all currently supported major version branches, in order to maintain the same set of names for required checks. ## Deprecating a CodeQL version (write access required) diff --git a/README.md b/README.md index a32bf37bf6..7c6a3c1c2b 100644 --- a/README.md +++ b/README.md @@ -63,13 +63,6 @@ For compiled languages: The following versions of the CodeQL Action are currently supported: - v3 (latest) -- v2 (deprecated, support will end on December 5th, 2024) - -The only difference between CodeQL Action v2 and v3 is the version of Node.js on which they run. CodeQL Action v3 runs on Node 20, while CodeQL Action v2 runs on Node 16. - -To provide the best experience to customers using older versions of GitHub Enterprise Server, we will continue to release CodeQL Action v2 so that these customers can continue to run the latest version of CodeQL as long as their version of GitHub Enterprise Server is supported. For example CodeQL Action v3.22.11 was the first release of CodeQL Action v3 and is functionally identical to v2.22.11. This approach provides an easy way to track exactly which features are included in different versions by looking at the minor and patch version numbers. - -For more information, see "[Code scanning: deprecation of CodeQL Action v2](https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/)." ## Supported versions of the CodeQL Bundle on GitHub Enterprise Server @@ -77,13 +70,11 @@ We typically release new minor versions of the CodeQL Action and Bundle when a n | Minimum CodeQL Action | Minimum CodeQL Bundle Version | GitHub Environment | Notes | |-----------------------|-------------------------------|--------------------|-------| -| `v3.26.6` | `2.18.4` | Enterprise Server 3.15 | | +| `v3.26.6` | `2.18.4` | Enterprise Server 3.15 | | | `v3.25.11` | `2.17.6` | Enterprise Server 3.14 | | | `v3.24.11` | `2.16.6` | Enterprise Server 3.13 | | | `v3.22.12` | `2.15.5` | Enterprise Server 3.12 | | -CodeQL Action v2 has stopped receiving updates now that GHES 3.11 is deprecated. - See the full list of GHES release and deprecation dates at [GitHub Enterprise Server releases](https://docs.github.com/en/enterprise-server/admin/all-releases#releases-of-github-enterprise-server). ## Troubleshooting From 4541c135a41a39e013fd34061857dc8403bfae7a Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Tue, 7 Jan 2025 14:00:28 -0800 Subject: [PATCH 020/132] [WIP] Add changenote for deprecation --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2fe67071e..67d5f14933 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,9 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers. - ## [UNRELEASED] -No user facing changes. +- CodeQL Action v2 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v3. For more information, see [this changelog post](TODO). [#1467](https://github.com/github/codeql-action/pull/2677) ## 3.28.0 - 20 Dec 2024 From 66f5682768e9f649f5e410948af56e64a3491395 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Tue, 7 Jan 2025 14:48:54 -0800 Subject: [PATCH 021/132] Add section on adding a new major version --- CONTRIBUTING.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 95b8d26221..6905ad02e9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -100,10 +100,18 @@ We typically deprecate a version of CodeQL when the GitHub Enterprise Server (GH - Add a changelog note announcing the new minimum version of CodeQL that is now required. - Example PR: https://github.com/github/codeql-action/pull/1907 -## Deprecating a CodeQL Action version (write access required) +## Adding a new CodeQL Action major version We sometimes maintain multiple versions of the CodeQL Action to enable customers on older but still supported versions of GitHub Enterprise Server (GHES) to continue to benefit from the latest CodeQL improvements. To accomplish this, the release process automation listens to updates to the release branch for the newest supported version. When this branch is updated, the release process automatically opens backport PRs to update the release branches for older versions. +To add a new major version of the Action: + +1. Change the `version` field of `package.json` by running `npm version x.y.z` where `x` is the new major version, and `y` and `z` match the latest minor and patch versions of the last release. +1. Update appropriate documentation to explain the reasoning behind the releases: see [the diff](https://github.com/github/codeql-action/pull/2677/commits/913d60579d4b560addf53ec3c493d491dd3c1378) in our last major version deprecation for examples on which parts of the documentation should be updated. +1. Consider the timeline behind deprecating the prior Action version: see [CodeQL Action deprecation documentation](#deprecating-a-codeql-action-major-version-write-access-required) + +## Deprecating a CodeQL Action major version (write access required) + We typically deprecate older versions of the Action once all supported GHES versions are compatible with the version of Node.js we are using on `main`. To deprecate an older version of the Action: From 03d573167f664536682fe4d8edff5ad77efdfff5 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Tue, 7 Jan 2025 14:49:34 -0800 Subject: [PATCH 022/132] Keep `OLDEST_SUPPORTED_MAJOR_VERSION` to 2 for now So that our changes can go into `releases/v2`. We will bump `OLDEST_SUPPORTED_MAJOR_VERSION` immediately after the next release. --- .github/releases.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/releases.ini b/.github/releases.ini index 69afa026d4..83aee4b155 100644 --- a/.github/releases.ini +++ b/.github/releases.ini @@ -1 +1 @@ -OLDEST_SUPPORTED_MAJOR_VERSION=3 +OLDEST_SUPPORTED_MAJOR_VERSION=2 From 4daa59537bc2621ad40aa40f0cdb9ea3ee8efa4a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 04:50:08 +0000 Subject: [PATCH 023/132] Update default bundle to codeql-bundle-v2.20.1 --- lib/defaults.json | 8 ++++---- src/defaults.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/defaults.json b/lib/defaults.json index 6ece99d325..1afbbc52d3 100644 --- a/lib/defaults.json +++ b/lib/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.20.0", - "cliVersion": "2.20.0", - "priorBundleVersion": "codeql-bundle-v2.19.4", - "priorCliVersion": "2.19.4" + "bundleVersion": "codeql-bundle-v2.20.1", + "cliVersion": "2.20.1", + "priorBundleVersion": "codeql-bundle-v2.20.0", + "priorCliVersion": "2.20.0" } diff --git a/src/defaults.json b/src/defaults.json index 605f18897b..3c3e56944a 100644 --- a/src/defaults.json +++ b/src/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.20.0", - "cliVersion": "2.20.0", - "priorBundleVersion": "codeql-bundle-v2.19.4", - "priorCliVersion": "2.19.4" + "bundleVersion": "codeql-bundle-v2.20.1", + "cliVersion": "2.20.1", + "priorBundleVersion": "codeql-bundle-v2.20.0", + "priorCliVersion": "2.20.0" } From 9dab6bb65ded5202dba33fbb58e826d0f8abdbc9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 04:50:12 +0000 Subject: [PATCH 024/132] Add changelog note --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2fe67071e..747866b400 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the ## [UNRELEASED] -No user facing changes. +- Update default CodeQL bundle version to 2.20.1. [#2678](https://github.com/github/codeql-action/pull/2678) ## 3.28.0 - 20 Dec 2024 From b25558b211a0e7b1147c19fee601e885606bb97f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 8 Jan 2025 14:10:32 +0000 Subject: [PATCH 025/132] Update `proxy_urls` description --- start-proxy/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-proxy/action.yml b/start-proxy/action.yml index 2cd800b096..2bcce1d9e6 100644 --- a/start-proxy/action.yml +++ b/start-proxy/action.yml @@ -24,7 +24,7 @@ outputs: proxy_ca_certificate: description: The proxy's internal CA certificate in PEM format proxy_urls: - description: The URLs of the configured registries, as a JSON array. + description: A stringified JSON array of objects containing the types and URLs of the configured registries. runs: using: node20 main: "../lib/start-proxy-action.js" From 8d2753b250830f4073d10fc13a3264a17ba82a20 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 10 Jan 2025 08:52:16 -0800 Subject: [PATCH 026/132] Add public changelog blog post link --- CHANGELOG.md | 2 +- lib/util.js | 2 +- lib/util.js.map | 2 +- src/util.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67d5f14933..05dd2e3d18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -- CodeQL Action v2 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v3. For more information, see [this changelog post](TODO). [#1467](https://github.com/github/codeql-action/pull/2677) +- CodeQL Action v2 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v3. For more information, see [this changelog post](https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/). [#1467](https://github.com/github/codeql-action/pull/2677) ## 3.28.0 - 20 Dec 2024 diff --git a/lib/util.js b/lib/util.js index 9ea70f052c..f2a98dc5fe 100644 --- a/lib/util.js +++ b/lib/util.js @@ -867,7 +867,7 @@ function checkActionVersion(version, githubVersion) { core.error("CodeQL Action major versions v1 and v2 have been deprecated. " + "Please update all occurrences of the CodeQL Action in your workflow files to v3. " + "For more information, see " + - "https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/"); + "https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/"); // set LOG_VERSION_DEPRECATION env var to prevent the warning from being logged multiple times core.exportVariable(environment_1.EnvVar.LOG_VERSION_DEPRECATION, "true"); } diff --git a/lib/util.js.map b/lib/util.js.map index f411718fa0..9548758e97 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsHA,0DAcC;AAOD,oCAYC;AAID,gCAOC;AAyCD,sEAsBC;AAqFD,gDASC;AASD,sCAMC;AAOD,gDAQC;AAUD,kDA8CC;AA2CD,8DAiCC;AAUD,wCAKC;AAKD,sDAEC;AAMD,wCAqCC;AAiBD,8DA8BC;AAOD,8CAYC;AAeD,kCAEC;AAMD,sDAMC;AAKD,kDAMC;AAqBD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d,MAAc;IAEd,IAAI,CAAC;QACH,MAAM,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC7B,MAAM,CAAC,KAAK,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,KAAK,CAAC,kBAAkB,MAAM,KAAK,CAAC,EAAE,CAAC,CAAC;QAC/C,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/src/util.ts b/src/util.ts index 2c23d5c5a1..64fa0cd9d2 100644 --- a/src/util.ts +++ b/src/util.ts @@ -1100,7 +1100,7 @@ export function checkActionVersion( "CodeQL Action major versions v1 and v2 have been deprecated. " + "Please update all occurrences of the CodeQL Action in your workflow files to v3. " + "For more information, see " + - "https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/", // TODO: update to new changelog post when published + "https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/", ); // set LOG_VERSION_DEPRECATION env var to prevent the warning from being logged multiple times core.exportVariable(EnvVar.LOG_VERSION_DEPRECATION, "true"); From a05a7eb09cb4faebee87507a854cbd429fbe6bc6 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 10 Jan 2025 08:54:07 -0800 Subject: [PATCH 027/132] Fix PR number in changenote --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05dd2e3d18..377b10a765 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -- CodeQL Action v2 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v3. For more information, see [this changelog post](https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/). [#1467](https://github.com/github/codeql-action/pull/2677) +- CodeQL Action v2 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v3. For more information, see [this changelog post](https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/). [#2677](https://github.com/github/codeql-action/pull/2677) ## 3.28.0 - 20 Dec 2024 From bb999b434f581db70696c32bf01941ec0391c3cb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:06:44 +0000 Subject: [PATCH 028/132] Update changelog for v3.28.1 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d19149bd4c..55a45268cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.1 - 10 Jan 2025 - CodeQL Action v2 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v3. For more information, see [this changelog post](https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/). [#2677](https://github.com/github/codeql-action/pull/2677) - Update default CodeQL bundle version to 2.20.1. [#2678](https://github.com/github/codeql-action/pull/2678) From 18c1cbf7f66f1c9260a5fb64d9f263f0e5e3f821 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:25:54 +0000 Subject: [PATCH 029/132] Update changelog and version after v3.28.1 --- 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 55a45268cc..e9e529696b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.1 - 10 Jan 2025 - CodeQL Action v2 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v3. For more information, see [this changelog post](https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/). [#2677](https://github.com/github/codeql-action/pull/2677) diff --git a/package-lock.json b/package-lock.json index 47ff1dc938..c7416bc56d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.1", + "version": "3.28.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.1", + "version": "3.28.2", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index b143b1be27..557e47f645 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.1", + "version": "3.28.2", "private": true, "description": "CodeQL action", "scripts": { From fd3c034df5041409f79835343ba89f9ef2004965 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:35:55 +0000 Subject: [PATCH 030/132] 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 eb4704879a..725a901a43 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.1", + "version": "3.28.2", "lockfileVersion": 3, "requires": true, "packages": { From c050c403798621a7a2b7532f311a52d9ff1362bc Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 10 Jan 2025 10:59:20 -0800 Subject: [PATCH 031/132] Stop updating `releases/v2` branch CodeQL Action v2 is now deprecated: https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/ and this PR will prevent the automation from backporting new changes to the `v2` branch when we replease. --- .github/releases.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/releases.ini b/.github/releases.ini index 83aee4b155..69afa026d4 100644 --- a/.github/releases.ini +++ b/.github/releases.ini @@ -1 +1 @@ -OLDEST_SUPPORTED_MAJOR_VERSION=2 +OLDEST_SUPPORTED_MAJOR_VERSION=3 From fe593c34e64772a3f003779c9b60c9d098e8dfc9 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 10 Jan 2025 20:41:24 +0000 Subject: [PATCH 032/132] Mark invalid external repo specifiers as configuration error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a workaround — the proper fix is to better separate out user input vs the Action in `database init` so we can better attribute configuration errors. --- lib/cli-errors.js | 6 ++++++ lib/cli-errors.js.map | 2 +- src/cli-errors.ts | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/cli-errors.js b/lib/cli-errors.js index ac84a0d736..89ca46d784 100644 --- a/lib/cli-errors.js +++ b/lib/cli-errors.js @@ -115,6 +115,7 @@ var CliConfigErrorCategory; CliConfigErrorCategory["IncompatibleWithActionVersion"] = "IncompatibleWithActionVersion"; CliConfigErrorCategory["InitCalledTwice"] = "InitCalledTwice"; CliConfigErrorCategory["InvalidConfigFile"] = "InvalidConfigFile"; + CliConfigErrorCategory["InvalidExternalRepoSpecifier"] = "InvalidExternalRepoSpecifier"; CliConfigErrorCategory["InvalidSourceRoot"] = "InvalidSourceRoot"; CliConfigErrorCategory["MavenBuildFailed"] = "MavenBuildFailed"; CliConfigErrorCategory["NoBuildCommandAutodetected"] = "NoBuildCommandAutodetected"; @@ -166,6 +167,11 @@ exports.cliErrorsConfig = { new RegExp("The supplied config file is empty"), ], }, + [CliConfigErrorCategory.InvalidExternalRepoSpecifier]: { + cliErrorMessageCandidates: [ + new RegExp("Specifier for external repository is invalid"), + ], + }, // Expected source location for database creation does not exist [CliConfigErrorCategory.InvalidSourceRoot]: { cliErrorMessageCandidates: [new RegExp("Invalid source root")], diff --git a/lib/cli-errors.js.map b/lib/cli-errors.js.map index a56e893926..e2c7b5ee0e 100644 --- a/lib/cli-errors.js.map +++ b/lib/cli-errors.js.map @@ -1 +1 @@ -{"version":3,"file":"cli-errors.js","sourceRoot":"","sources":["../src/cli-errors.ts"],"names":[],"mappings":";;;AAwRA,oEAoBC;AAOD,8DAeC;AAlUD,iDAIwB;AACxB,uCAAmC;AACnC,iCAA4C;AAE5C;;GAEG;AACH,MAAa,QAAS,SAAQ,KAAK;IAIjC,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAA0B;QACjE,MAAM,aAAa,GAAG,IAAA,oCAAqB,EAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QAEvD,MAAM,WAAW,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAC/C,MAAM,eAAe,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;QACvD,IAAI,OAAe,CAAC;QAEpB,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO;gBACL,4CAA4C,aAAa,KAAK;oBAC9D,iBAAiB,QAAQ,mBAAmB,IAAA,iCAAkB,EAC5D,WAAW,CAAC,IAAI,EAAE,CACnB,iCAAiC,CAAC;QACvC,CAAC;aAAM,IAAI,eAAe,EAAE,CAAC;YAC3B,OAAO;gBACL,sFAAsF;oBACtF,OAAO,gBAAM,CAAC,sBAAsB,yBAAyB;oBAC7D,oCAAoC,eAAe,EAAE,CAAC;QAC1D,CAAC;aAAM,CAAC;YACN,MAAM,QAAQ,GAAG,IAAA,iCAAkB,EACjC,MAAM,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,KAAK,CACjD,CAAC;YACF,OAAO;gBACL,4CAA4C,aAAa,KAAK;oBAC9D,iBAAiB,QAAQ,2BAA2B,QAAQ,iCAAiC,CAAC;QAClG,CAAC;QAED,KAAK,CAAC,OAAO,CAAC,CAAC;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AC;QAC5C,CAAC;QAED,KAAK,MAAM,CAAC,IAAI,aAAa,CAAC,yBAAyB,EAAE,CAAC;YACxD,IAAI,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC1D,OAAO,QAAkC,CAAC;YAC5C,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,QAAkB;IAC1D,MAAM,sBAAsB,GAAG,4BAA4B,CAAC,QAAQ,CAAC,CAAC;IACtE,IAAI,sBAAsB,KAAK,SAAS,EAAE,CAAC;QACzC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,IAAI,mBAAmB,GAAG,QAAQ,CAAC,OAAO,CAAC;IAE3C,MAAM,8BAA8B,GAClC,uBAAe,CAAC,sBAAsB,CAAC,CAAC,8BAA8B,CAAC;IACzE,IAAI,8BAA8B,KAAK,SAAS,EAAE,CAAC;QACjD,mBAAmB,GAAG,GAAG,mBAAmB,IAAI,8BAA8B,EAAE,CAAC;IACnF,CAAC;IAED,OAAO,IAAI,yBAAkB,CAAC,mBAAmB,CAAC,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/src/cli-errors.ts b/src/cli-errors.ts index 575e816c76..c2fcce1c9a 100644 --- a/src/cli-errors.ts +++ b/src/cli-errors.ts @@ -124,6 +124,7 @@ export enum CliConfigErrorCategory { IncompatibleWithActionVersion = "IncompatibleWithActionVersion", InitCalledTwice = "InitCalledTwice", InvalidConfigFile = "InvalidConfigFile", + InvalidExternalRepoSpecifier = "InvalidExternalRepoSpecifier", InvalidSourceRoot = "InvalidSourceRoot", MavenBuildFailed = "MavenBuildFailed", NoBuildCommandAutodetected = "NoBuildCommandAutodetected", @@ -188,6 +189,11 @@ export const cliErrorsConfig: Record< new RegExp("The supplied config file is empty"), ], }, + [CliConfigErrorCategory.InvalidExternalRepoSpecifier]: { + cliErrorMessageCandidates: [ + new RegExp("Specifier for external repository is invalid"), + ], + }, // Expected source location for database creation does not exist [CliConfigErrorCategory.InvalidSourceRoot]: { cliErrorMessageCandidates: [new RegExp("Invalid source root")], From 79c94942ec2ede0d82d9f82be5982313060a9ec8 Mon Sep 17 00:00:00 2001 From: Josiah Altschuler Date: Fri, 10 Jan 2025 17:07:04 -0600 Subject: [PATCH 033/132] Remove the word 'to' --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9e529696b..e9396160ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,7 +76,7 @@ No user facing changes. - _Upcoming breaking change_: Add support for using `actions/download-artifact@v4` to programmatically consume CodeQL Action debug artifacts. - Starting November 30, 2024, GitHub.com customers will [no longer be able to use `actions/download-artifact@v3`](https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/). Therefore, to avoid breakage, customers who programmatically download the CodeQL Action debug artifacts should set the `CODEQL_ACTION_ARTIFACT_V4_UPGRADE` environment variable to `true` and bump `actions/download-artifact@v3` to `actions/download-artifact@v4` in their workflows. The CodeQL Action will enable this behavior by default in early November and workflows that have not yet bumped to `actions/download-artifact@v3` to `actions/download-artifact@v4` will begin failing then. + Starting November 30, 2024, GitHub.com customers will [no longer be able to use `actions/download-artifact@v3`](https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/). Therefore, to avoid breakage, customers who programmatically download the CodeQL Action debug artifacts should set the `CODEQL_ACTION_ARTIFACT_V4_UPGRADE` environment variable to `true` and bump `actions/download-artifact@v3` to `actions/download-artifact@v4` in their workflows. The CodeQL Action will enable this behavior by default in early November and workflows that have not yet bumped `actions/download-artifact@v3` to `actions/download-artifact@v4` will begin failing then. This change is currently unavailable for GitHub Enterprise Server customers, as `actions/upload-artifact@v4` and `actions/download-artifact@v4` are not yet compatible with GHES. - Update default CodeQL bundle version to 2.19.1. [#2519](https://github.com/github/codeql-action/pull/2519) From a477602004d006645dd6d1897bdbc87b4fbf7bff Mon Sep 17 00:00:00 2001 From: Josiah Altschuler Date: Fri, 10 Jan 2025 20:20:12 -0600 Subject: [PATCH 034/132] Change 'an' to 'a' --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6905ad02e9..584a084c48 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ You may want to run `tsc --watch` from the command line or inside of vscode in o ### Checking in compiled artifacts and `node_modules` -Because CodeQL Action users consume the code directly from this repository, and there can be no build step during an GitHub Actions run, this repository contains all compiled artifacts and node modules. There is a PR check that will fail if any of the compiled artifacts are not up to date. Compiled artifacts are stored in the `lib/` directory. For all day-to-day development purposes, this folder can be ignored. +Because CodeQL Action users consume the code directly from this repository, and there can be no build step during a GitHub Actions run, this repository contains all compiled artifacts and node modules. There is a PR check that will fail if any of the compiled artifacts are not up to date. Compiled artifacts are stored in the `lib/` directory. For all day-to-day development purposes, this folder can be ignored. Only run `npm install` if you are explicitly changing the set of dependencies in `package.json`. The `node_modules` directory should be up to date when you check out, but if for some reason, there is an inconsistency use `npm ci && npm run removeNPMAbsolutePaths` to ensure the directory is in a state consistent with the `package-lock.json`. Note that due to a macOS-specific dependency, this command should be run on a macOS machine. There is a PR check to ensure the consistency of the `node_modules` directory. From c0addecf246e49e22611dec6bcf5560900a21b13 Mon Sep 17 00:00:00 2001 From: Josiah Altschuler Date: Fri, 10 Jan 2025 21:37:36 -0600 Subject: [PATCH 035/132] Add period to end of sentence --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6905ad02e9..1a4ce25375 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -63,7 +63,7 @@ Here are a few things you can do that will increase the likelihood of your pull You can start a release by triggering this workflow via [workflow dispatch](https://github.com/github/codeql-action/actions/workflows/update-release-branch.yml). 1. The workflow run will open a pull request titled "Merge main into releases/v3". Follow the steps on the checklist in the pull request. Once you've checked off all but the last two of these, approve the PR and automerge it. 1. When the "Merge main into releases/v3" pull request is merged into the `releases/v3` branch, a mergeback pull request to `main` will be automatically created. This mergeback pull request incorporates the changelog updates into `main`, tags the release using the merge commit of the "Merge main into releases/v3" pull request, and bumps the patch version of the CodeQL Action. -1. If a backport to an older major version is required, a pull request targeting that version's branch will also be automatically created +1. If a backport to an older major version is required, a pull request targeting that version's branch will also be automatically created. 1. Approve the mergeback and backport pull request (if applicable) and automerge them. Once the mergeback and backport pull request have been merged, the release is complete. From e02d65ac18e21528cf9891656f2998d2902dbe41 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Fri, 10 Jan 2025 11:06:57 +0000 Subject: [PATCH 036/132] Filter registry credentials by language --- lib/start-proxy-action.js | 10 ++++++++++ lib/start-proxy-action.js.map | 2 +- src/start-proxy-action.ts | 13 +++++++++++++ start-proxy/action.yml | 3 +++ 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 5c52f46522..ea651f8f78 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -47,6 +47,10 @@ const UPDATEJOB_PROXY_URL_PREFIX = "https://github.com/github/codeql-action/rele const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; +const LANGUAGE_TO_REGISTRY_TYPE = { + "java-kotlin": "maven_repository", + csharp: "nuget_feed", +}; const CERT_SUBJECT = [ { name: "commonName", @@ -170,6 +174,7 @@ async function startProxy(binPath, config, logFilePath, logger) { function getCredentials(logger) { const registriesCredentials = actionsUtil.getOptionalInput("registries_credentials"); const registrySecrets = actionsUtil.getOptionalInput("registry_secrets"); + const language = actionsUtil.getOptionalInput("language"); let credentialsStr; if (registriesCredentials !== undefined) { logger.info(`Using registries_credentials input.`); @@ -190,6 +195,11 @@ function getCredentials(logger) { if (e.url === undefined && e.host === undefined) { throw new Error("Invalid credentials - must specify host or url"); } + // Filter credentials based on language if specified. `type` is the registry type. + // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. + if (language && LANGUAGE_TO_REGISTRY_TYPE[language] !== e.type) { + continue; + } out.push({ type: e.type, host: e.host, diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index 6e26998891..d66e2a774d 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AA2B3B,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,eAAe;KACvB;CACF,CAAC;AAEF,SA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AG,MAAM,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACnD,QAAQ,GAAG,MAAM,SAAS,CAAC,QAAQ,CACjC,SAAS,EACT,aAAa,EACb,uBAAuB,CACxB,CAAC;IACJ,CAAC;IACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,eAAe,CAAC,CAAa;IACpC,OAAO,SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index c7b272841d..2dfc1b9c97 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -17,6 +17,11 @@ const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; +const LANGUAGE_TO_REGISTRY_TYPE = { + "java-kotlin": "maven_repository", + csharp: "nuget_feed", +} as const; + type CertificateAuthority = { cert: string; key: string; @@ -192,6 +197,7 @@ function getCredentials(logger: Logger): Credential[] { "registries_credentials", ); const registrySecrets = actionsUtil.getOptionalInput("registry_secrets"); + const language = actionsUtil.getOptionalInput("language"); let credentialsStr: string; if (registriesCredentials !== undefined) { @@ -212,6 +218,13 @@ function getCredentials(logger: Logger): Credential[] { if (e.url === undefined && e.host === undefined) { throw new Error("Invalid credentials - must specify host or url"); } + + // Filter credentials based on language if specified. `type` is the registry type. + // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. + if (language && LANGUAGE_TO_REGISTRY_TYPE[language] !== e.type) { + continue; + } + out.push({ type: e.type, host: e.host, diff --git a/start-proxy/action.yml b/start-proxy/action.yml index 2bcce1d9e6..cf52125dd7 100644 --- a/start-proxy/action.yml +++ b/start-proxy/action.yml @@ -16,6 +16,9 @@ inputs: description: GitHub token to use for authenticating with this instance of GitHub, used to upload debug artifacts. default: ${{ github.token }} required: false + language: + description: The programming language to setup the proxy for the correct ecosystem + required: false outputs: proxy_host: description: The IP address of the proxy From 68378a359ac317d632ec5fb17a2a5f39f7f33da6 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 13 Jan 2025 07:35:44 -0800 Subject: [PATCH 037/132] getPullRequestEditedDiffRanges: use GitHub API --- src/analyze-action.ts | 2 +- src/analyze.ts | 156 +++++++++++++++--------------------------- 2 files changed, 57 insertions(+), 101 deletions(-) diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 112e069a84..ff678b964a 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -268,7 +268,7 @@ async function run() { pull_request && (await setupDiffInformedQueryRun( pull_request.base.ref as string, - pull_request.head.ref as string, + pull_request.head.label as string, codeql, logger, features, diff --git a/src/analyze.ts b/src/analyze.ts index 7e82df4a56..2c3b714dce 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -7,6 +7,7 @@ import del from "del"; import * as yaml from "js-yaml"; import * as actionsUtil from "./actions-util"; +import { getApiClient } from "./api-client"; import { setupCppAutobuild } from "./autobuild"; import { CODEQL_VERSION_ANALYSIS_SUMMARY_V2, @@ -17,7 +18,6 @@ import * as configUtils from "./config-utils"; import { addDiagnostic, makeDiagnostic } from "./diagnostics"; import { EnvVar } from "./environment"; import { FeatureEnablement, Feature } from "./feature-flags"; -import * as gitUtils from "./git-utils"; import { isScannedLanguage, Language } from "./languages"; import { Logger, withGroupAsync } from "./logging"; import { DatabaseCreationTimings, EventReport } from "./status-report"; @@ -240,7 +240,8 @@ async function finalizeDatabaseCreation( * Set up the diff-informed analysis feature. * * @param baseRef The base branch name, used for calculating the diff range. - * @param headRef The head branch name, used for calculating the diff range. + * @param headLabel The label that uniquely identifies the head branch across + * repositories, used for calculating the diff range. * @param codeql * @param logger * @param features @@ -249,7 +250,7 @@ async function finalizeDatabaseCreation( */ export async function setupDiffInformedQueryRun( baseRef: string, - headRef: string, + headLabel: string, codeql: CodeQL, logger: Logger, features: FeatureEnablement, @@ -262,7 +263,7 @@ export async function setupDiffInformedQueryRun( async () => { const diffRanges = await getPullRequestEditedDiffRanges( baseRef, - headRef, + headLabel, logger, ); return writeDiffRangeDataExtensionPack(logger, diffRanges); @@ -280,7 +281,8 @@ interface DiffThunkRange { * Return the file line ranges that were added or modified in the pull request. * * @param baseRef The base branch name, used for calculating the diff range. - * @param headRef The head branch name, used for calculating the diff range. + * @param headLabel The label that uniquely identifies the head branch across + * repositories, used for calculating the diff range. * @param logger * @returns An array of tuples, where each tuple contains the absolute path of a * file, the start line and the end line (both 1-based and inclusive) of an @@ -289,107 +291,61 @@ interface DiffThunkRange { */ async function getPullRequestEditedDiffRanges( baseRef: string, - headRef: string, + headLabel: string, logger: Logger, ): Promise { - const checkoutPath = actionsUtil.getOptionalInput("checkout_path"); - if (checkoutPath === undefined) { - return undefined; - } - - // To compute the merge bases between the base branch and the PR topic branch, - // we need to fetch the commit graph from the branch heads to those merge - // babes. The following 6-step procedure does so while limiting the amount of - // history fetched. - - // Step 1: Deepen from the PR merge commit to the base branch head and the PR - // topic branch head, so that the PR merge commit is no longer considered a - // grafted commit. - await gitUtils.deepenGitHistory(); - // Step 2: Fetch the base branch shallow history. This step ensures that the - // base branch name is present in the local repository. Normally the base - // branch name would be added by Step 4. However, if the base branch head is - // an ancestor of the PR topic branch head, Step 4 would fail without doing - // anything, so we need to fetch the base branch explicitly. - await gitUtils.gitFetch(baseRef, ["--depth=1"]); - // Step 3: Fetch the PR topic branch history, stopping when we reach commits - // that are reachable from the base branch head. - await gitUtils.gitFetch(headRef, [`--shallow-exclude=${baseRef}`]); - // Step 4: Fetch the base branch history, stopping when we reach commits that - // are reachable from the PR topic branch head. - await gitUtils.gitFetch(baseRef, [`--shallow-exclude=${headRef}`]); - // Step 5: Repack the history to remove the shallow grafts that were added by - // the previous fetches. This step works around a bug that causes subsequent - // deepening fetches to fail with "fatal: error in object: unshallow ". - // See https://stackoverflow.com/q/63878612 - await gitUtils.gitRepack(["-d"]); - // Step 6: Deepen the history so that we have the merge bases between the base - // branch and the PR topic branch. - await gitUtils.deepenGitHistory(); - - // To compute the exact same diff as GitHub would compute for the PR, we need - // to use the same merge base as GitHub. That is easy to do if there is only - // one merge base, which is by far the most common case. If there are multiple - // merge bases, we stop without producing a diff range. - const mergeBases = await gitUtils.getAllGitMergeBases([baseRef, headRef]); - logger.info(`Merge bases: ${mergeBases.join(", ")}`); - if (mergeBases.length !== 1) { - logger.info( - "Cannot compute diff range because baseRef and headRef " + - `have ${mergeBases.length} merge bases (instead of exactly 1).`, - ); - return undefined; - } - - const diffHunkHeaders = await gitUtils.getGitDiffHunkHeaders( - mergeBases[0], - headRef, - ); - if (diffHunkHeaders === undefined) { - return undefined; - } + await getFileDiffsWithBasehead(baseRef, headLabel, logger); + return undefined; +} - const results = new Array(); - - let changedFile = ""; - for (const line of diffHunkHeaders) { - if (line.startsWith("+++ ")) { - const filePath = gitUtils.decodeGitFilePath(line.substring(4)); - if (filePath.startsWith("b/")) { - // The file was edited: track all hunks in the file - changedFile = filePath.substring(2); - } else if (filePath === "/dev/null") { - // The file was deleted: skip all hunks in the file - changedFile = ""; - } else { - logger.warning(`Failed to parse diff hunk header line: ${line}`); - return undefined; - } - continue; - } - if (line.startsWith("@@ ")) { - if (changedFile === "") continue; +/** + * This interface is an abbreviated version of the file diff object returned by + * the GitHub API. + */ +interface FileDiff { + filename: string; + changes: number; + // A patch may be absent if the file is binary, if the file diff is too large, + // or if the file is unchanged. + patch?: string | undefined; +} - const match = line.match(/^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@/); - if (match === null) { - logger.warning(`Failed to parse diff hunk header line: ${line}`); - return undefined; - } - const startLine = parseInt(match[1], 10); - const numLines = parseInt(match[2], 10); - if (numLines === 0) { - // The hunk was a deletion: skip it - continue; - } - const endLine = startLine + (numLines || 1) - 1; - results.push({ - path: path.join(checkoutPath, changedFile), - startLine, - endLine, - }); +async function getFileDiffsWithBasehead( + baseRef: string, + headLabel: string, + logger: Logger, +): Promise { + const ownerRepo = util.getRequiredEnvParam("GITHUB_REPOSITORY").split("/"); + const owner = ownerRepo[0]; + const repo = ownerRepo[1]; + const basehead = `${baseRef}...${headLabel}`; + try { + const response = await getApiClient().rest.repos.compareCommitsWithBasehead( + { + owner, + repo, + basehead, + per_page: 1, + }, + ); + logger.debug( + `Response from compareCommitsWithBasehead(${basehead}):` + + `\n${JSON.stringify(response, null, 2)}`, + ); + return response.data.files; + } catch (error: any) { + if (error.status) { + logger.warning(`Error retrieving diff ${basehead}: ${error.message}`); + logger.debug( + `Error running compareCommitsWithBasehead(${basehead}):` + + `\nRequest: ${JSON.stringify(error.request, null, 2)}` + + `\nError Response: ${JSON.stringify(error.response, null, 2)}`, + ); + return undefined; + } else { + throw error; } } - return results; } /** From de0f9cf31621946365aa32e7df93af74cf73dfbd Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Mon, 13 Jan 2025 16:09:48 +0000 Subject: [PATCH 038/132] Support both namings for java --- lib/start-proxy-action.js | 1 + lib/start-proxy-action.js.map | 2 +- src/start-proxy-action.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index ea651f8f78..2083b6bf34 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -49,6 +49,7 @@ const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; const LANGUAGE_TO_REGISTRY_TYPE = { "java-kotlin": "maven_repository", + java: "maven_repository", csharp: "nuget_feed", }; const CERT_SUBJECT = [ diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index d66e2a774d..cd91fbacd9 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B,MAAM,yBAAyB,GAAG;IAChC,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,YAAY;CACZ,CAAC;AA2BX,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,eAAe;KACvB;CACF,CAAC;AAEF,SAAS,4BAA4B;IACnC,MAAM,IAAI,GAAG,gBAAG,CAAC,GAAG,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,IAAI,GAAG,gBAAG,CAAC,iBAAiB,EAAE,CAAC;IACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IAChC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IACz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,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACnD,QAAQ,GAAG,MAAM,SAAS,CAAC,QAAQ,CACjC,SAAS,EACT,aAAa,EACb,uBAAuB,CACxB,CAAC;IACJ,CAAC;IACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,eAAe,CAAC,CAAa;IACpC,OAAO,SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 2dfc1b9c97..8c2c8d7d5b 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -19,6 +19,7 @@ const KEY_EXPIRY_YEARS = 2; const LANGUAGE_TO_REGISTRY_TYPE = { "java-kotlin": "maven_repository", + java: "maven_repository", csharp: "nuget_feed", } as const; From 7269bf610b57cdfcf8b1c532fe8033568e9e720a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:22:41 +0000 Subject: [PATCH 039/132] build(deps): bump the npm group with 8 updates Bumps the npm group with 8 updates: | Package | From | To | | --- | --- | --- | | [@octokit/types](https://github.com/octokit/types.ts) | `13.6.2` | `13.7.0` | | [long](https://github.com/dcodeIO/long.js) | `5.2.3` | `5.2.4` | | [uuid](https://github.com/uuidjs/uuid) | `11.0.4` | `11.0.5` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.17.0` | `9.18.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.19.0` | `8.20.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.19.0` | `8.20.0` | | [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | `5.1.4` | `5.1.5` | | [typescript](https://github.com/microsoft/TypeScript) | `5.7.2` | `5.7.3` | Updates `@octokit/types` from 13.6.2 to 13.7.0 - [Release notes](https://github.com/octokit/types.ts/releases) - [Commits](https://github.com/octokit/types.ts/compare/v13.6.2...v13.7.0) Updates `long` from 5.2.3 to 5.2.4 - [Release notes](https://github.com/dcodeIO/long.js/releases) - [Commits](https://github.com/dcodeIO/long.js/compare/v5.2.3...v5.2.4) Updates `uuid` from 11.0.4 to 11.0.5 - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v11.0.4...v11.0.5) Updates `@eslint/js` from 9.17.0 to 9.18.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.18.0/packages/js) Updates `@typescript-eslint/eslint-plugin` from 8.19.0 to 8.20.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.20.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.19.0 to 8.20.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.20.0/packages/parser) Updates `eslint-plugin-github` from 5.1.4 to 5.1.5 - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](https://github.com/github/eslint-plugin-github/compare/v5.1.4...v5.1.5) Updates `typescript` from 5.7.2 to 5.7.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.2...v5.7.3) --- updated-dependencies: - dependency-name: "@octokit/types" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm - dependency-name: long dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: eslint-plugin-github dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm ... Signed-off-by: dependabot[bot] --- package-lock.json | 270 +++++++++++++++++++++++++++------------------- package.json | 16 +-- 2 files changed, 165 insertions(+), 121 deletions(-) diff --git a/package-lock.json b/package-lock.json index c7416bc56d..c7dbdb60ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.1", "@octokit/plugin-retry": "^5.0.2", - "@octokit/types": "^13.6.2", + "@octokit/types": "^13.7.0", "@schemastore/package": "0.0.10", "@types/node-forge": "^1.3.11", "@types/uuid": "^10.0.0", @@ -35,18 +35,18 @@ "get-folder-size": "^2.0.1", "js-yaml": "^4.1.0", "jsonschema": "1.4.1", - "long": "^5.2.3", + "long": "^5.2.4", "node-forge": "^1.3.1", "path": "^0.12.7", "semver": "^7.6.3", - "uuid": "^11.0.4", + "uuid": "^11.0.5", "zlib": "^1.0.5" }, "devDependencies": { "@ava/typescript": "4.1.0", "@eslint/compat": "^1.1.1", "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.17.0", + "@eslint/js": "^9.18.0", "@microsoft/eslint-formatter-sarif": "^3.1.0", "@types/adm-zip": "^0.5.7", "@types/console-log-level": "^1.4.5", @@ -56,20 +56,20 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.19.0", - "@typescript-eslint/parser": "^8.19.0", + "@typescript-eslint/eslint-plugin": "^8.20.0", + "@typescript-eslint/parser": "^8.20.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^5.1.4", + "eslint-plugin-github": "^5.1.5", "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", "nock": "^13.5.6", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^19.0.2", - "typescript": "^5.7.2" + "typescript": "^5.7.3" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -719,9 +719,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.17.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.17.0.tgz", - "integrity": "sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==", + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz", + "integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==", "dev": true, "license": "MIT", "engines": { @@ -1128,16 +1128,18 @@ } }, "node_modules/@octokit/types": { - "version": "13.6.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.2.tgz", - "integrity": "sha512-WpbZfZUcZU77DrSW4wbsSgTPfKcp286q3ItaIgvSbBpZJlu6mnYXAkjZz6LVZPXkEvLIM8McanyZejKTYUHipA==", + "version": "13.7.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.7.0.tgz", + "integrity": "sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==", "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^22.2.0" + "@octokit/openapi-types": "^23.0.1" } }, "node_modules/@octokit/types/node_modules/@octokit/openapi-types": { - "version": "22.2.0", + "version": "23.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-23.0.1.tgz", + "integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==", "license": "MIT" }, "node_modules/@pkgjs/parseargs": { @@ -1371,21 +1373,21 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.0.tgz", - "integrity": "sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.20.0.tgz", + "integrity": "sha512-naduuphVw5StFfqp4Gq4WhIBE2gN1GEmMUExpJYknZJdRnc+2gDzB8Z3+5+/Kv33hPQRDGzQO/0opHE72lZZ6A==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/type-utils": "8.19.0", - "@typescript-eslint/utils": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/type-utils": "8.20.0", + "@typescript-eslint/utils": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1401,14 +1403,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", - "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", + "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1419,9 +1421,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", - "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", + "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", "dev": true, "license": "MIT", "engines": { @@ -1433,20 +1435,20 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", - "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", + "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1460,16 +1462,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", - "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", + "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0" + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1484,13 +1486,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", - "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", + "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1540,17 +1542,30 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, "node_modules/@typescript-eslint/parser": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.0.tgz", - "integrity": "sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.20.0.tgz", + "integrity": "sha512-gKXG7A5HMyjDIedBi6bUrDcun8GIjnI8qOwVLiY3rx6T/sHP/19XLJOnIq/FgQvWLHja5JN/LSE7eklNBr612g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4" }, "engines": { @@ -1566,14 +1581,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", - "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", + "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1584,9 +1599,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", - "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", + "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", "dev": true, "license": "MIT", "engines": { @@ -1598,20 +1613,20 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", - "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", + "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1625,13 +1640,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", - "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", + "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1681,6 +1696,19 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@typescript-eslint/parser/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, "node_modules/@typescript-eslint/scope-manager": { "version": "8.17.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.17.0.tgz", @@ -1700,16 +1728,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.0.tgz", - "integrity": "sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.20.0.tgz", + "integrity": "sha512-bPC+j71GGvA7rVNAHAtOjbVXbLN5PkwqMvy1cwGeaxUoRQXVuKCebRoLzm+IPW/NtFFpstn1ummSIasD5t60GA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.19.0", - "@typescript-eslint/utils": "8.19.0", + "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/utils": "8.20.0", "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1724,14 +1752,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", - "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", + "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1742,9 +1770,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", - "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", + "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", "dev": true, "license": "MIT", "engines": { @@ -1756,20 +1784,20 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", - "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", + "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1783,16 +1811,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", - "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", + "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0" + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1807,13 +1835,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", - "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", + "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1863,6 +1891,19 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, "node_modules/@typescript-eslint/types": { "version": "8.17.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.17.0.tgz", @@ -3782,10 +3823,11 @@ } }, "node_modules/eslint-plugin-github": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.4.tgz", - "integrity": "sha512-j5IgIxsDoch06zJzeqPvenfzRXDKI9Z8YwfUg1pm2ay1q44tMSFwvEu6l0uEIrTpA3v8QdPyLr98LqDl1TIhSA==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.5.tgz", + "integrity": "sha512-vRgIVJ88FfESAGGYsJlf7SQhQlFEJaa7/I9z/5K5vKbWEQ3DnRkg8cvoj8LZA30MFb2uW1SltOcEj+Q8UR8LxA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint/compat": "^1.2.3", "@eslint/eslintrc": "^3.1.0", @@ -5623,7 +5665,9 @@ "license": "MIT" }, "node_modules/long": { - "version": "5.2.3", + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.4.tgz", + "integrity": "sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==", "license": "Apache-2.0" }, "node_modules/lower-case": { @@ -7462,9 +7506,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -7692,9 +7736,9 @@ "license": "MIT" }, "node_modules/uuid": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.4.tgz", - "integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==", + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.5.tgz", + "integrity": "sha512-508e6IcKLrhxKdBbcA2b4KQZlLVp2+J5UwQ6F7Drckkc5N9ZJwFa4TgWtsww9UG8fGHbm6gbV19TdM5pQ4GaIA==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" diff --git a/package.json b/package.json index 557e47f645..7543cb6e00 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.1", "@octokit/plugin-retry": "^5.0.2", - "@octokit/types": "^13.6.2", + "@octokit/types": "^13.7.0", "@schemastore/package": "0.0.10", "@types/node-forge": "^1.3.11", "@types/uuid": "^10.0.0", @@ -48,11 +48,11 @@ "get-folder-size": "^2.0.1", "js-yaml": "^4.1.0", "jsonschema": "1.4.1", - "long": "^5.2.3", + "long": "^5.2.4", "node-forge": "^1.3.1", "path": "^0.12.7", "semver": "^7.6.3", - "uuid": "^11.0.4", + "uuid": "^11.0.5", "zlib": "^1.0.5" }, "//": [ @@ -62,7 +62,7 @@ "@ava/typescript": "4.1.0", "@eslint/compat": "^1.1.1", "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.17.0", + "@eslint/js": "^9.18.0", "@microsoft/eslint-formatter-sarif": "^3.1.0", "@types/adm-zip": "^0.5.7", "@types/console-log-level": "^1.4.5", @@ -72,20 +72,20 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.19.0", - "@typescript-eslint/parser": "^8.19.0", + "@typescript-eslint/eslint-plugin": "^8.20.0", + "@typescript-eslint/parser": "^8.20.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^5.1.4", + "eslint-plugin-github": "^5.1.5", "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", "nock": "^13.5.6", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^19.0.2", - "typescript": "^5.7.2" + "typescript": "^5.7.3" }, "overrides": { "@actions/tool-cache": { From e5a7c904c1b1c0f3cef1a8fa6f0b7b51ad17c6da Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:23:46 +0000 Subject: [PATCH 040/132] Update checked-in dependencies --- node_modules/.package-lock.json | 254 +- node_modules/@eslint/js/package.json | 2 +- node_modules/@eslint/js/src/index.js | 4 +- .../@octokit/types/dist-types/VERSION.d.ts | 2 +- .../types/dist-types/generated/Endpoints.d.ts | 290 +- .../@octokit/openapi-types/package.json | 4 +- .../@octokit/openapi-types/types.d.ts | 10649 ++++++++++++---- node_modules/@octokit/types/package.json | 8 +- .../eslint-plugin/dist/configs/all.js | 1 + .../eslint-plugin/dist/configs/all.js.map | 2 +- .../dist/configs/disable-type-checked.js | 3 +- .../dist/configs/disable-type-checked.js.map | 2 +- .../dist/configs/strict-type-checked-only.js | 3 +- .../configs/strict-type-checked-only.js.map | 2 +- .../dist/configs/strict-type-checked.js | 1 + .../dist/configs/strict-type-checked.js.map | 2 +- .../dist/rules/ban-ts-comment.js.map | 2 +- .../dist/rules/consistent-type-assertions.js | 100 +- .../rules/consistent-type-assertions.js.map | 2 +- .../eslint-plugin/dist/rules/index.js | 2 + .../eslint-plugin/dist/rules/index.js.map | 2 +- .../dist/rules/no-base-to-string.js | 35 +- .../dist/rules/no-base-to-string.js.map | 2 +- .../eslint-plugin/dist/rules/no-deprecated.js | 33 +- .../dist/rules/no-deprecated.js.map | 2 +- .../dist/rules/no-loss-of-precision.js.map | 2 +- .../dist/rules/no-misused-spread.js | 204 + .../dist/rules/no-misused-spread.js.map | 1 + .../dist/rules/no-redeclare.js.map | 2 +- .../eslint-plugin/dist/rules/no-shadow.js | 37 +- .../eslint-plugin/dist/rules/no-shadow.js.map | 2 +- .../dist/rules/no-unnecessary-condition.js | 34 +- .../rules/no-unnecessary-condition.js.map | 2 +- .../no-unnecessary-template-expression.js | 16 +- .../no-unnecessary-template-expression.js.map | 2 +- .../rules/no-unnecessary-type-parameters.js | 1 - .../no-unnecessary-type-parameters.js.map | 2 +- .../restrict-template-expressions.js.map | 2 +- .../eslint-plugin/dist/rules/return-await.js | 1 - .../dist/rules/return-await.js.map | 2 +- .../dist/rules/strict-boolean-expressions.js | 67 +- .../rules/strict-boolean-expressions.js.map | 2 +- .../eslint-plugin/dist/rules/typedef.js.map | 2 +- .../docs/rules/consistent-type-assertions.mdx | 73 + .../docs/rules/no-deprecated.mdx | 50 + .../docs/rules/no-misused-spread.mdx | 132 + .../eslint-plugin/docs/rules/no-shadow.mdx | 34 + .../docs/rules/no-unnecessary-condition.mdx | 2 +- .../docs/rules/prefer-nullish-coalescing.mdx | 10 +- .../eslint-plugin/docs/rules/return-await.mdx | 21 +- .../docs/rules/strict-boolean-expressions.mdx | 32 - .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../createIsolatedProgram.d.ts.map | 2 +- .../create-program/createIsolatedProgram.js | 2 +- .../createIsolatedProgram.js.map | 2 +- .../createProjectProgram.d.ts.map | 2 +- .../create-program/createProjectProgram.js | 2 +- .../createProjectProgram.js.map | 2 +- .../createProjectService.d.ts.map | 2 +- .../create-program/createProjectService.js | 2 +- .../createProjectService.js.map | 2 +- .../create-program/createSourceFile.d.ts.map | 2 +- .../dist/create-program/createSourceFile.js | 2 +- .../create-program/createSourceFile.js.map | 2 +- .../getWatchProgramsForProjects.d.ts.map | 2 +- .../getWatchProgramsForProjects.js | 2 +- .../getWatchProgramsForProjects.js.map | 2 +- .../useProvidedPrograms.d.ts.map | 2 +- .../create-program/useProvidedPrograms.js | 2 +- .../create-program/useProvidedPrograms.js.map | 2 +- .../dist/parseSettings/createParseSettings.js | 2 +- .../parseSettings/createParseSettings.js.map | 2 +- .../getProjectConfigFiles.d.ts.map | 2 +- .../parseSettings/getProjectConfigFiles.js | 2 +- .../getProjectConfigFiles.js.map | 2 +- .../dist/parseSettings/resolveProjectList.js | 2 +- .../parseSettings/resolveProjectList.js.map | 2 +- .../typescript-estree/package.json | 8 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../node_modules/ts-api-utils/LICENSE.md | 20 + .../node_modules/ts-api-utils/README.md | 84 + .../node_modules/ts-api-utils/lib/index.cjs | 2274 ++++ .../node_modules/ts-api-utils/lib/index.d.cts | 3003 +++++ .../node_modules/ts-api-utils/lib/index.d.ts | 3003 +++++ .../node_modules/ts-api-utils/lib/index.js | 2078 +++ .../node_modules/ts-api-utils/package.json | 105 + .../eslint-plugin/package.json | 16 +- .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../createIsolatedProgram.d.ts.map | 2 +- .../create-program/createIsolatedProgram.js | 2 +- .../createIsolatedProgram.js.map | 2 +- .../createProjectProgram.d.ts.map | 2 +- .../create-program/createProjectProgram.js | 2 +- .../createProjectProgram.js.map | 2 +- .../createProjectService.d.ts.map | 2 +- .../create-program/createProjectService.js | 2 +- .../createProjectService.js.map | 2 +- .../create-program/createSourceFile.d.ts.map | 2 +- .../dist/create-program/createSourceFile.js | 2 +- .../create-program/createSourceFile.js.map | 2 +- .../getWatchProgramsForProjects.d.ts.map | 2 +- .../getWatchProgramsForProjects.js | 2 +- .../getWatchProgramsForProjects.js.map | 2 +- .../useProvidedPrograms.d.ts.map | 2 +- .../create-program/useProvidedPrograms.js | 2 +- .../create-program/useProvidedPrograms.js.map | 2 +- .../dist/parseSettings/createParseSettings.js | 2 +- .../parseSettings/createParseSettings.js.map | 2 +- .../getProjectConfigFiles.d.ts.map | 2 +- .../parseSettings/getProjectConfigFiles.js | 2 +- .../getProjectConfigFiles.js.map | 2 +- .../dist/parseSettings/resolveProjectList.js | 2 +- .../parseSettings/resolveProjectList.js.map | 2 +- .../typescript-estree/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../node_modules/ts-api-utils/LICENSE.md | 20 + .../node_modules/ts-api-utils/README.md | 84 + .../node_modules/ts-api-utils/lib/index.cjs | 2274 ++++ .../node_modules/ts-api-utils/lib/index.d.cts | 3003 +++++ .../node_modules/ts-api-utils/lib/index.d.ts | 3003 +++++ .../node_modules/ts-api-utils/lib/index.js | 2078 +++ .../node_modules/ts-api-utils/package.json | 105 + .../@typescript-eslint/parser/package.json | 10 +- .../dist/builtinSymbolLikes.d.ts.map | 2 +- .../type-utils/dist/builtinSymbolLikes.js | 1 - .../type-utils/dist/builtinSymbolLikes.js.map | 2 +- .../type-utils/dist/predicates.js | 2 +- .../type-utils/dist/predicates.js.map | 2 +- .../scope-manager/package.json | 8 +- .../@typescript-eslint/types/package.json | 2 +- .../createIsolatedProgram.d.ts.map | 2 +- .../create-program/createIsolatedProgram.js | 2 +- .../createIsolatedProgram.js.map | 2 +- .../createProjectProgram.d.ts.map | 2 +- .../create-program/createProjectProgram.js | 2 +- .../createProjectProgram.js.map | 2 +- .../createProjectService.d.ts.map | 2 +- .../create-program/createProjectService.js | 2 +- .../createProjectService.js.map | 2 +- .../create-program/createSourceFile.d.ts.map | 2 +- .../dist/create-program/createSourceFile.js | 2 +- .../create-program/createSourceFile.js.map | 2 +- .../getWatchProgramsForProjects.d.ts.map | 2 +- .../getWatchProgramsForProjects.js | 2 +- .../getWatchProgramsForProjects.js.map | 2 +- .../useProvidedPrograms.d.ts.map | 2 +- .../create-program/useProvidedPrograms.js | 2 +- .../create-program/useProvidedPrograms.js.map | 2 +- .../dist/parseSettings/createParseSettings.js | 2 +- .../parseSettings/createParseSettings.js.map | 2 +- .../getProjectConfigFiles.d.ts.map | 2 +- .../parseSettings/getProjectConfigFiles.js | 2 +- .../getProjectConfigFiles.js.map | 2 +- .../dist/parseSettings/resolveProjectList.js | 2 +- .../parseSettings/resolveProjectList.js.map | 2 +- .../typescript-estree/package.json | 8 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../node_modules/ts-api-utils/LICENSE.md | 20 + .../node_modules/ts-api-utils/README.md | 84 + .../node_modules/ts-api-utils/lib/index.cjs | 2274 ++++ .../node_modules/ts-api-utils/lib/index.d.cts | 3003 +++++ .../node_modules/ts-api-utils/lib/index.d.ts | 3003 +++++ .../node_modules/ts-api-utils/lib/index.js | 2078 +++ .../node_modules/ts-api-utils/package.json | 105 + .../type-utils/package.json | 10 +- .../lib/rules/async-currenttarget.js | 18 +- .../lib/rules/async-preventdefault.js | 18 +- .../lib/rules/filenames-match-regex.js | 2 +- .../lib/rules/no-useless-passive.js | 2 +- .../eslint-plugin-github/package.json | 6 +- node_modules/long/index.d.ts | 457 +- node_modules/long/package.json | 2 +- node_modules/long/umd/index.d.ts | 457 +- node_modules/typescript/lib/_tsc.js | 57 +- node_modules/typescript/lib/typescript.js | 57 +- node_modules/typescript/package.json | 4 +- node_modules/uuid/dist/cjs-browser/md5.d.ts | 2 +- node_modules/uuid/dist/cjs-browser/parse.d.ts | 2 +- node_modules/uuid/dist/cjs-browser/rng.d.ts | 2 +- node_modules/uuid/dist/cjs-browser/rng.js | 2 +- .../uuid/dist/cjs-browser/stringify.js | 3 +- node_modules/uuid/dist/cjs-browser/v1.js | 3 +- node_modules/uuid/dist/cjs-browser/v1ToV6.js | 2 +- node_modules/uuid/dist/cjs-browser/v35.d.ts | 4 +- node_modules/uuid/dist/cjs-browser/v35.js | 6 +- node_modules/uuid/dist/cjs-browser/v6ToV1.js | 2 +- node_modules/uuid/dist/cjs-browser/v7.js | 3 +- node_modules/uuid/dist/cjs/md5.d.ts | 4 +- node_modules/uuid/dist/cjs/native.d.ts | 1 + node_modules/uuid/dist/cjs/parse.d.ts | 2 +- node_modules/uuid/dist/cjs/rng.d.ts | 2 +- node_modules/uuid/dist/cjs/rng.js | 2 +- node_modules/uuid/dist/cjs/sha1.d.ts | 4 +- node_modules/uuid/dist/cjs/stringify.js | 3 +- node_modules/uuid/dist/cjs/v1.js | 3 +- node_modules/uuid/dist/cjs/v1ToV6.js | 2 +- node_modules/uuid/dist/cjs/v35.d.ts | 4 +- node_modules/uuid/dist/cjs/v35.js | 6 +- node_modules/uuid/dist/cjs/v6ToV1.js | 2 +- node_modules/uuid/dist/cjs/v7.js | 3 +- node_modules/uuid/dist/esm-browser/md5.d.ts | 2 +- node_modules/uuid/dist/esm-browser/parse.d.ts | 2 +- node_modules/uuid/dist/esm-browser/rng.d.ts | 2 +- node_modules/uuid/dist/esm-browser/v35.d.ts | 4 +- node_modules/uuid/dist/esm/md5.d.ts | 4 +- node_modules/uuid/dist/esm/native.d.ts | 1 + node_modules/uuid/dist/esm/parse.d.ts | 2 +- node_modules/uuid/dist/esm/rng.d.ts | 2 +- node_modules/uuid/dist/esm/sha1.d.ts | 4 +- node_modules/uuid/dist/esm/v35.d.ts | 4 +- node_modules/uuid/package.json | 21 +- 215 files changed, 41829 insertions(+), 3490 deletions(-) create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map create mode 100644 node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx create mode 100644 node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/LICENSE.md create mode 100644 node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/README.md create mode 100644 node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs create mode 100644 node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.cts create mode 100644 node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.ts create mode 100644 node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js create mode 100644 node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json create mode 100644 node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/LICENSE.md create mode 100644 node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/README.md create mode 100644 node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs create mode 100644 node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.cts create mode 100644 node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.ts create mode 100644 node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js create mode 100644 node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json create mode 100644 node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/LICENSE.md create mode 100644 node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/README.md create mode 100644 node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs create mode 100644 node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.cts create mode 100644 node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.ts create mode 100644 node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js create mode 100644 node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 725a901a43..774327a9b1 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -651,9 +651,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.17.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.17.0.tgz", - "integrity": "sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==", + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz", + "integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==", "dev": true, "license": "MIT", "engines": { @@ -1060,16 +1060,18 @@ } }, "node_modules/@octokit/types": { - "version": "13.6.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.2.tgz", - "integrity": "sha512-WpbZfZUcZU77DrSW4wbsSgTPfKcp286q3ItaIgvSbBpZJlu6mnYXAkjZz6LVZPXkEvLIM8McanyZejKTYUHipA==", + "version": "13.7.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.7.0.tgz", + "integrity": "sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==", "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^22.2.0" + "@octokit/openapi-types": "^23.0.1" } }, "node_modules/@octokit/types/node_modules/@octokit/openapi-types": { - "version": "22.2.0", + "version": "23.0.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-23.0.1.tgz", + "integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==", "license": "MIT" }, "node_modules/@pkgjs/parseargs": { @@ -1303,21 +1305,21 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.0.tgz", - "integrity": "sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.20.0.tgz", + "integrity": "sha512-naduuphVw5StFfqp4Gq4WhIBE2gN1GEmMUExpJYknZJdRnc+2gDzB8Z3+5+/Kv33hPQRDGzQO/0opHE72lZZ6A==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/type-utils": "8.19.0", - "@typescript-eslint/utils": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/type-utils": "8.20.0", + "@typescript-eslint/utils": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1333,14 +1335,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", - "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", + "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1351,9 +1353,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", - "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", + "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", "dev": true, "license": "MIT", "engines": { @@ -1365,20 +1367,20 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", - "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", + "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1392,16 +1394,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", - "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", + "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0" + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1416,13 +1418,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", - "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", + "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1472,17 +1474,30 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, "node_modules/@typescript-eslint/parser": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.0.tgz", - "integrity": "sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.20.0.tgz", + "integrity": "sha512-gKXG7A5HMyjDIedBi6bUrDcun8GIjnI8qOwVLiY3rx6T/sHP/19XLJOnIq/FgQvWLHja5JN/LSE7eklNBr612g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4" }, "engines": { @@ -1498,14 +1513,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", - "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", + "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1516,9 +1531,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", - "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", + "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", "dev": true, "license": "MIT", "engines": { @@ -1530,20 +1545,20 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", - "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", + "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1557,13 +1572,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", - "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", + "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1613,6 +1628,19 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@typescript-eslint/parser/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, "node_modules/@typescript-eslint/scope-manager": { "version": "8.17.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.17.0.tgz", @@ -1632,16 +1660,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.0.tgz", - "integrity": "sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.20.0.tgz", + "integrity": "sha512-bPC+j71GGvA7rVNAHAtOjbVXbLN5PkwqMvy1cwGeaxUoRQXVuKCebRoLzm+IPW/NtFFpstn1ummSIasD5t60GA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.19.0", - "@typescript-eslint/utils": "8.19.0", + "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/utils": "8.20.0", "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1656,14 +1684,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz", - "integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", + "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1674,9 +1702,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz", - "integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", + "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", "dev": true, "license": "MIT", "engines": { @@ -1688,20 +1716,20 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz", - "integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", + "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1715,16 +1743,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz", - "integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", + "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0" + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1739,13 +1767,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz", - "integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", + "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1795,6 +1823,19 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, "node_modules/@typescript-eslint/types": { "version": "8.17.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.17.0.tgz", @@ -3714,10 +3755,11 @@ } }, "node_modules/eslint-plugin-github": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.4.tgz", - "integrity": "sha512-j5IgIxsDoch06zJzeqPvenfzRXDKI9Z8YwfUg1pm2ay1q44tMSFwvEu6l0uEIrTpA3v8QdPyLr98LqDl1TIhSA==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.5.tgz", + "integrity": "sha512-vRgIVJ88FfESAGGYsJlf7SQhQlFEJaa7/I9z/5K5vKbWEQ3DnRkg8cvoj8LZA30MFb2uW1SltOcEj+Q8UR8LxA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint/compat": "^1.2.3", "@eslint/eslintrc": "^3.1.0", @@ -5555,7 +5597,9 @@ "license": "MIT" }, "node_modules/long": { - "version": "5.2.3", + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.4.tgz", + "integrity": "sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==", "license": "Apache-2.0" }, "node_modules/lower-case": { @@ -7394,9 +7438,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -7624,9 +7668,9 @@ "license": "MIT" }, "node_modules/uuid": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.4.tgz", - "integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==", + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.5.tgz", + "integrity": "sha512-508e6IcKLrhxKdBbcA2b4KQZlLVp2+J5UwQ6F7Drckkc5N9ZJwFa4TgWtsww9UG8fGHbm6gbV19TdM5pQ4GaIA==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" diff --git a/node_modules/@eslint/js/package.json b/node_modules/@eslint/js/package.json index d1175fff13..185c2eee11 100644 --- a/node_modules/@eslint/js/package.json +++ b/node_modules/@eslint/js/package.json @@ -1,6 +1,6 @@ { "name": "@eslint/js", - "version": "9.17.0", + "version": "9.18.0", "description": "ESLint JavaScript language implementation", "main": "./src/index.js", "types": "./types/index.d.ts", diff --git a/node_modules/@eslint/js/src/index.js b/node_modules/@eslint/js/src/index.js index f58dd798a8..ec252bcd51 100644 --- a/node_modules/@eslint/js/src/index.js +++ b/node_modules/@eslint/js/src/index.js @@ -5,7 +5,7 @@ "use strict"; -const { version } = require("../package.json"); +const { name, version } = require("../package.json"); //------------------------------------------------------------------------------ // Public Interface @@ -13,7 +13,7 @@ const { version } = require("../package.json"); module.exports = { meta: { - name: "@eslint/js", + name, version }, configs: { diff --git a/node_modules/@octokit/types/dist-types/VERSION.d.ts b/node_modules/@octokit/types/dist-types/VERSION.d.ts index e36ca410cf..9d5f7d513b 100644 --- a/node_modules/@octokit/types/dist-types/VERSION.d.ts +++ b/node_modules/@octokit/types/dist-types/VERSION.d.ts @@ -1 +1 @@ -export declare const VERSION = "13.6.2"; +export declare const VERSION = "13.7.0"; diff --git a/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts b/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts index 837e68ae0b..8adbfec50f 100644 --- a/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts +++ b/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts @@ -75,6 +75,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/apps/oauth-applications#delete-an-app-token */ "DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">; + /** + * @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise + */ + "DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "delete">; /** * @see https://docs.github.com/rest/gists/gists#delete-a-gist */ @@ -107,6 +111,18 @@ export interface Endpoints { * @see https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization */ "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization + */ + "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "delete">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization + */ + "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "delete">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization + */ + "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "delete">; /** * @see https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization */ @@ -139,6 +155,14 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization */ "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">; + /** + * @see https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories + */ + "DELETE /orgs/{org}/code-security/configurations/detach": Operation<"/orgs/{org}/code-security/configurations/detach", "delete">; + /** + * @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration + */ + "DELETE /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "delete">; /** * @see https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization */ @@ -215,10 +239,6 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user */ "DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}": Operation<"/orgs/{org}/organization-roles/users/{username}/{role_id}", "delete">; - /** - * @see https://docs.github.com/rest/orgs/organization-roles#delete-a-custom-organization-role - */ - "DELETE /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "delete">; /** * @see https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization */ @@ -231,6 +251,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization */ "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">; + /** + * @see https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization + */ + "DELETE /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "delete">; /** * @see https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization */ @@ -391,6 +415,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository */ "DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}": Operation<"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", "delete">; + /** + * @see https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database + */ + "DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", "delete">; /** * @see https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret */ @@ -487,6 +515,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction */ "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", "delete">; + /** + * @see https://docs.github.com/rest/issues/sub-issues#remove-sub-issue + */ + "DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issue", "delete">; /** * @see https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key */ @@ -544,7 +576,7 @@ export interface Endpoints { */ "DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">; /** - * @see https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository + * @see https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository */ "DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}": Operation<"/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", "delete">; /** @@ -740,9 +772,21 @@ export interface Endpoints { */ "GET /emojis": Operation<"/emojis", "get">; /** - * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members + * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise */ - "GET /enterprises/{enterprise}/copilot/usage": Operation<"/enterprises/{enterprise}/copilot/usage", "get">; + "GET /enterprises/{enterprise}/code-security/configurations": Operation<"/enterprises/{enterprise}/code-security/configurations", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise + */ + "GET /enterprises/{enterprise}/code-security/configurations/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/defaults", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise + */ + "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration + */ + "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories", "get">; /** * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise */ @@ -875,6 +919,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/orgs#list-organizations */ "GET /organizations": Operation<"/organizations", "get">; + /** + * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + */ + "GET /organizations/{org}/settings/billing/usage": Operation<"/organizations/{org}/settings/billing/usage", "get">; /** * @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization * @deprecated "org_id" is now "org" @@ -912,6 +960,22 @@ export interface Endpoints { * @see https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization */ "GET /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "get">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization + */ + "GET /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "get">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization + */ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "get">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization + */ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "get">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization + */ + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "get">; /** * @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization */ @@ -956,6 +1020,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable */ "GET /orgs/{org}/actions/variables/{name}/repositories": Operation<"/orgs/{org}/actions/variables/{name}/repositories", "get">; + /** + * @see https://docs.github.com/rest/orgs/orgs#list-attestations + */ + "GET /orgs/{org}/attestations/{subject_digest}": Operation<"/orgs/{org}/attestations/{subject_digest}", "get">; /** * @see https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization */ @@ -968,6 +1036,22 @@ export interface Endpoints { * @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization */ "GET /orgs/{org}/code-scanning/alerts": Operation<"/orgs/{org}/code-scanning/alerts", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization + */ + "GET /orgs/{org}/code-security/configurations": Operation<"/orgs/{org}/code-security/configurations", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations + */ + "GET /orgs/{org}/code-security/configurations/defaults": Operation<"/orgs/{org}/code-security/configurations/defaults", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration + */ + "GET /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration + */ + "GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/repositories", "get">; /** * @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization */ @@ -996,6 +1080,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization */ "GET /orgs/{org}/copilot/billing/seats": Operation<"/orgs/{org}/copilot/billing/seats", "get">; + /** + * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization + */ + "GET /orgs/{org}/copilot/metrics": Operation<"/orgs/{org}/copilot/metrics", "get">; /** * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members */ @@ -1052,6 +1140,42 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook */ "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor + */ + "GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-subject-stats + */ + "GET /orgs/{org}/insights/api/subject-stats": Operation<"/orgs/{org}/insights/api/subject-stats", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats + */ + "GET /orgs/{org}/insights/api/summary-stats": Operation<"/orgs/{org}/insights/api/summary-stats", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user + */ + "GET /orgs/{org}/insights/api/summary-stats/users/{user_id}": Operation<"/orgs/{org}/insights/api/summary-stats/users/{user_id}", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor + */ + "GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-time-stats + */ + "GET /orgs/{org}/insights/api/time-stats": Operation<"/orgs/{org}/insights/api/time-stats", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user + */ + "GET /orgs/{org}/insights/api/time-stats/users/{user_id}": Operation<"/orgs/{org}/insights/api/time-stats/users/{user_id}", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor + */ + "GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}", "get">; + /** + * @see https://docs.github.com/rest/orgs/api-insights#get-user-stats + */ + "GET /orgs/{org}/insights/api/user-stats/{user_id}": Operation<"/orgs/{org}/insights/api/user-stats/{user_id}", "get">; /** * @see https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app */ @@ -1168,6 +1292,18 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to */ "GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories": Operation<"/orgs/{org}/personal-access-tokens/{pat_id}/repositories", "get">; + /** + * @see https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization + */ + "GET /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "get">; + /** + * @see https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization + */ + "GET /orgs/{org}/private-registries/public-key": Operation<"/orgs/{org}/private-registries/public-key", "get">; + /** + * @see https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization + */ + "GET /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "get">; /** * @see https://docs.github.com/rest/projects/projects#list-organization-projects */ @@ -1236,6 +1372,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization */ "GET /orgs/{org}/settings/billing/shared-storage": Operation<"/orgs/{org}/settings/billing/shared-storage", "get">; + /** + * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team + */ + "GET /orgs/{org}/team/{team_slug}/copilot/metrics": Operation<"/orgs/{org}/team/{team_slug}/copilot/metrics", "get">; /** * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team */ @@ -1504,6 +1644,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned */ "GET /repos/{owner}/{repo}/assignees/{assignee}": Operation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">; + /** + * @see https://docs.github.com/rest/repos/repos#list-attestations + */ + "GET /repos/{owner}/{repo}/attestations/{subject_digest}": Operation<"/repos/{owner}/{repo}/attestations/{subject_digest}", "get">; /** * @see https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository */ @@ -1593,6 +1737,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert */ "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "get">; + /** + * @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert + */ + "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix", "get">; /** * @see https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert */ @@ -1613,6 +1761,14 @@ export interface Endpoints { * @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository */ "GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", "get">; + /** + * @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis + */ + "GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}", "get">; + /** + * @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis + */ + "GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}", "get">; /** * @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration */ @@ -1621,6 +1777,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload */ "GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": Operation<"/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", "get">; + /** + * @see https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository + */ + "GET /repos/{owner}/{repo}/code-security-configuration": Operation<"/repos/{owner}/{repo}/code-security-configuration", "get">; /** * @see https://docs.github.com/rest/repos/repos#list-codeowners-errors */ @@ -1953,6 +2113,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue */ "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "get">; + /** + * @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues + */ + "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "get">; /** * @see https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue */ @@ -2153,6 +2317,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert */ "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get">; + /** + * @see https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository + */ + "GET /repos/{owner}/{repo}/secret-scanning/scan-history": Operation<"/repos/{owner}/{repo}/secret-scanning/scan-history", "get">; /** * @see https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories */ @@ -2198,7 +2366,7 @@ export interface Endpoints { */ "GET /repos/{owner}/{repo}/tags": Operation<"/repos/{owner}/{repo}/tags", "get">; /** - * @see https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository + * @see https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository */ "GET /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "get">; /** @@ -2521,6 +2689,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/teams/teams#list-teams-for-the-authenticated-user */ "GET /user/teams": Operation<"/user/teams", "get">; + /** + * @see https://docs.github.com/rest/users/users#get-a-user-using-their-id + */ + "GET /user/{account_id}": Operation<"/user/{account_id}", "get">; /** * @see https://docs.github.com/rest/users/users#list-users */ @@ -2529,6 +2701,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/users/users#get-a-user */ "GET /users/{username}": Operation<"/users/{username}", "get">; + /** + * @see https://docs.github.com/rest/users/attestations#list-attestations + */ + "GET /users/{username}/attestations/{subject_digest}": Operation<"/users/{username}/attestations/{subject_digest}", "get">; /** * @see https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user */ @@ -2657,6 +2833,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/apps/oauth-applications#reset-a-token */ "PATCH /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "patch">; + /** + * @see https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise + */ + "PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "patch">; /** * @see https://docs.github.com/rest/reference/gists/#update-a-gist */ @@ -2673,10 +2853,18 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/orgs#update-an-organization */ "PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization + */ + "PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "patch">; /** * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable */ "PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">; + /** + * @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration + */ + "PATCH /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "patch">; /** * @see https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook */ @@ -2686,9 +2874,9 @@ export interface Endpoints { */ "PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">; /** - * @see https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role + * @see https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization */ - "PATCH /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "patch">; + "PATCH /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "patch">; /** * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization */ @@ -2801,6 +2989,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/issues/issues#update-an-issue */ "PATCH /repos/{owner}/{repo}/issues/{issue_number}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}", "patch">; + /** + * @see https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue + */ + "PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority", "patch">; /** * @see https://docs.github.com/rest/issues/labels#update-a-label */ @@ -2889,6 +3081,14 @@ export interface Endpoints { * @see https://docs.github.com/rest/apps/apps#create-a-scoped-access-token */ "POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">; + /** + * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise + */ + "POST /enterprises/{enterprise}/code-security/configurations": Operation<"/enterprises/{enterprise}/code-security/configurations", "post">; + /** + * @see https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories + */ + "POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach", "post">; /** * @see https://docs.github.com/rest/gists/gists#create-a-gist */ @@ -2909,6 +3109,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode */ "POST /markdown/raw": Operation<"/markdown/raw", "post">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization + */ + "POST /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "post">; /** * @see https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization */ @@ -2929,6 +3133,14 @@ export interface Endpoints { * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable */ "POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">; + /** + * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration + */ + "POST /orgs/{org}/code-security/configurations": Operation<"/orgs/{org}/code-security/configurations", "post">; + /** + * @see https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories + */ + "POST /orgs/{org}/code-security/configurations/{configuration_id}/attach": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/attach", "post">; /** * @see https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization */ @@ -2965,10 +3177,6 @@ export interface Endpoints { * @see https://docs.github.com/rest/migrations/orgs#start-an-organization-migration */ "POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">; - /** - * @see https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role - */ - "POST /orgs/{org}/organization-roles": Operation<"/orgs/{org}/organization-roles", "post">; /** * @see https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization */ @@ -2993,6 +3201,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources */ "POST /orgs/{org}/personal-access-tokens/{pat_id}": Operation<"/orgs/{org}/personal-access-tokens/{pat_id}", "post">; + /** + * @see https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization + */ + "POST /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "post">; /** * @see https://docs.github.com/rest/projects/projects#create-an-organization-project */ @@ -3101,6 +3313,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event */ "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">; + /** + * @see https://docs.github.com/rest/repos/repos#create-an-attestation + */ + "POST /repos/{owner}/{repo}/attestations": Operation<"/repos/{owner}/{repo}/attestations", "post">; /** * @see https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository */ @@ -3149,6 +3365,18 @@ export interface Endpoints { * @see https://docs.github.com/rest/checks/suites#rerequest-a-check-suite */ "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": Operation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", "post">; + /** + * @see https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert + */ + "POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix", "post">; + /** + * @see https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert + */ + "POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits", "post">; + /** + * @see https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis + */ + "POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses", "post">; /** * @see https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data */ @@ -3257,6 +3485,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue */ "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "post">; + /** + * @see https://docs.github.com/rest/issues/sub-issues#add-sub-issue + */ + "POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "post">; /** * @see https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key */ @@ -3345,6 +3577,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/repos/rules#create-a-repository-ruleset */ "POST /repos/{owner}/{repo}/rulesets": Operation<"/repos/{owner}/{repo}/rulesets", "post">; + /** + * @see https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass + */ + "POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": Operation<"/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", "post">; /** * @see https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory */ @@ -3366,7 +3602,7 @@ export interface Endpoints { */ "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">; /** - * @see https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository + * @see https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository */ "POST /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "post">; /** @@ -3469,6 +3705,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/apps/apps#suspend-an-app-installation */ "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">; + /** + * @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise + */ + "PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults", "put">; /** * @see https://docs.github.com/rest/gists/gists#star-a-gist */ @@ -3505,6 +3745,22 @@ export interface Endpoints { * @see https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization */ "PUT /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "put">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization + */ + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "put">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization + */ + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "put">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization + */ + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "put">; + /** + * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization + */ + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">; /** * @see https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization */ @@ -3533,6 +3789,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization */ "PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put">; + /** + * @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization + */ + "PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/defaults", "put">; /** * @see https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces */ diff --git a/node_modules/@octokit/types/node_modules/@octokit/openapi-types/package.json b/node_modules/@octokit/types/node_modules/@octokit/openapi-types/package.json index 350a5825dc..9163156acb 100644 --- a/node_modules/@octokit/types/node_modules/@octokit/openapi-types/package.json +++ b/node_modules/@octokit/types/node_modules/@octokit/openapi-types/package.json @@ -10,12 +10,12 @@ "access": "public", "provenance": true }, - "version": "22.2.0", + "version": "23.0.1", "main": "", "types": "types.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "16.5.0" + "openapi-version": "17.1.1" } } diff --git a/node_modules/@octokit/types/node_modules/@octokit/openapi-types/types.d.ts b/node_modules/@octokit/types/node_modules/@octokit/openapi-types/types.d.ts index afa653c542..998a326de8 100644 --- a/node_modules/@octokit/types/node_modules/@octokit/openapi-types/types.d.ts +++ b/node_modules/@octokit/types/node_modules/@octokit/openapi-types/types.d.ts @@ -138,8 +138,6 @@ export interface paths { * * Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. * - * When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - * * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. */ post: operations["apps/create-installation-access-token"]; @@ -163,7 +161,7 @@ export interface paths { "/applications/{client_id}/grant": { /** * Delete an app authorization - * @description OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. + * @description OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. * Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). */ delete: operations["apps/delete-authorization"]; @@ -171,17 +169,17 @@ export interface paths { "/applications/{client_id}/token": { /** * Check a token - * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. */ post: operations["apps/check-token"]; /** * Delete an app token - * @description OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + * @description OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. */ delete: operations["apps/delete-token"]; /** * Reset a token - * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. */ patch: operations["apps/reset-token"]; }; @@ -193,17 +191,14 @@ export interface paths { * token. * * Invalid tokens will return `404 NOT FOUND`. - * - * You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - * when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App - * as the username and password. */ post: operations["apps/scope-token"]; }; "/apps/{app_slug}": { /** * Get an app - * @description **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + * @description > [!NOTE] + * > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). */ get: operations["apps/get-by-slug"]; }; @@ -270,25 +265,104 @@ export interface paths { */ get: operations["emojis/get"]; }; - "/enterprises/{enterprise}/copilot/usage": { + "/enterprises/{enterprise}/code-security/configurations": { /** - * Get a summary of Copilot usage for enterprise members - * @description **Note**: This endpoint is in beta and is subject to change. + * Get code security configurations for an enterprise + * @description Lists all code security configurations available in an enterprise. * - * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, - * and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. * - * The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, - * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - * they must have telemetry enabled in their IDE. + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + */ + get: operations["code-security/get-configurations-for-enterprise"]; + /** + * Create a code security configuration for an enterprise + * @description Creates a code security configuration in an enterprise. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + post: operations["code-security/create-configuration-for-enterprise"]; + }; + "/enterprises/{enterprise}/code-security/configurations/defaults": { + /** + * Get default code security configurations for an enterprise + * @description Lists the default code security configurations for an enterprise. * - * Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage - * metrics for the enterprise. + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. * - * OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. */ - get: operations["copilot/usage-metrics-for-enterprise"]; + get: operations["code-security/get-default-configurations-for-enterprise"]; + }; + "/enterprises/{enterprise}/code-security/configurations/{configuration_id}": { + /** + * Retrieve a code security configuration of an enterprise + * @description Gets a code security configuration available in an enterprise. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + */ + get: operations["code-security/get-single-configuration-for-enterprise"]; + /** + * Delete a code security configuration for an enterprise + * @description Deletes a code security configuration from an enterprise. + * Repositories attached to the configuration will retain their settings but will no longer be associated with + * the configuration. + * + * The authenticated user must be an administrator for the enterprise to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + delete: operations["code-security/delete-configuration-for-enterprise"]; + /** + * Update a custom code security configuration for an enterprise + * @description Updates a code security configuration in an enterprise. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + patch: operations["code-security/update-enterprise-configuration"]; + }; + "/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach": { + /** + * Attach an enterprise configuration to repositories + * @description Attaches an enterprise code security configuration to repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration. + * + * If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled. + * + * The authenticated user must be an administrator for the enterprise to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + post: operations["code-security/attach-enterprise-configuration"]; + }; + "/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults": { + /** + * Set a code security configuration as a default for an enterprise + * @description Sets a code security configuration as a default to be applied to new repositories in your enterprise. + * + * This configuration will be applied by default to the matching repository type when created, but only for organizations within the enterprise that do not already have a default code security configuration set. + * + * The authenticated user must be an administrator for the enterprise to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + put: operations["code-security/set-configuration-as-default-for-enterprise"]; + }; + "/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories": { + /** + * Get repositories associated with an enterprise code security configuration + * @description Lists the repositories associated with an enterprise code security configuration in an organization. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + */ + get: operations["code-security/get-repositories-for-enterprise-configuration"]; }; "/enterprises/{enterprise}/dependabot/alerts": { /** @@ -319,7 +393,8 @@ export interface paths { "/events": { /** * List public events - * @description We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ get: operations["activity/list-public-events"]; }; @@ -338,7 +413,8 @@ export interface paths { * * By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * - * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. + * > [!NOTE] + * > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. */ get: operations["activity/get-feeds"]; }; @@ -352,7 +428,8 @@ export interface paths { * Create a gist * @description Allows you to add a new gist with one or more files. * - * **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + * > [!NOTE] + * > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. */ post: operations["gists/create"]; }; @@ -511,10 +588,8 @@ export interface paths { * repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not * necessarily assigned to you. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -555,7 +630,7 @@ export interface paths { * Get a subscription plan for an account * @description Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ get: operations["apps/get-subscription-plan-for-account"]; }; @@ -564,7 +639,7 @@ export interface paths { * List plans * @description Lists all plans that are part of your GitHub Marketplace listing. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ get: operations["apps/list-plans"]; }; @@ -573,7 +648,7 @@ export interface paths { * List accounts for a plan * @description Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ get: operations["apps/list-accounts-for-plan"]; }; @@ -582,7 +657,7 @@ export interface paths { * Get a subscription plan for an account (stubbed) * @description Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ get: operations["apps/get-subscription-plan-for-account-stubbed"]; }; @@ -591,7 +666,7 @@ export interface paths { * List plans (stubbed) * @description Lists all plans that are part of your GitHub Marketplace listing. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ get: operations["apps/list-plans-stubbed"]; }; @@ -600,7 +675,7 @@ export interface paths { * List accounts for a plan (stubbed) * @description Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ get: operations["apps/list-accounts-for-plan-stubbed"]; }; @@ -613,12 +688,17 @@ export interface paths { * * The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. * - * **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + * > [!NOTE] + * > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. */ get: operations["meta/get"]; }; "/networks/{owner}/{repo}/events": { - /** List public events for a network of repositories */ + /** + * List public events for a network of repositories + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ get: operations["activity/list-public-events-for-repo-network"]; }; "/notifications": { @@ -685,10 +765,20 @@ export interface paths { * List organizations * @description Lists all organizations, in the order that they were created. * - * **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + * > [!NOTE] + * > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. */ get: operations["orgs/list"]; }; + "/organizations/{org}/settings/billing/usage": { + /** + * Get billing usage report for an organization + * @description Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + * + * **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + */ + get: operations["billing/get-github-billing-usage-report-org"]; + }; "/orgs/{org}": { /** * Get an organization @@ -698,17 +788,6 @@ export interface paths { * * To see the full details about an organization, the authenticated user must be an organization owner. * - * The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration: - * - * - advanced_security_enabled_for_new_repositories - * - dependabot_alerts_enabled_for_new_repositories - * - dependabot_security_updates_enabled_for_new_repositories - * - dependency_graph_enabled_for_new_repositories - * - secret_scanning_enabled_for_new_repositories - * - secret_scanning_push_protection_enabled_for_new_repositories - * - * For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." - * * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization. * * To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. @@ -727,20 +806,13 @@ export interface paths { delete: operations["orgs/delete"]; /** * Update an organization - * @description **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - * - * Updates the organization's profile and member privileges. - * - * With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration: + * @description > [!WARNING] + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * - * - advanced_security_enabled_for_new_repositories - * - dependabot_alerts_enabled_for_new_repositories - * - dependabot_security_updates_enabled_for_new_repositories - * - dependency_graph_enabled_for_new_repositories - * - secret_scanning_enabled_for_new_repositories - * - secret_scanning_push_protection_enabled_for_new_repositories + * > [!WARNING] + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * - * For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." + * Updates the organization's profile and member privileges. * * The authenticated user must be an organization owner to use this endpoint. * @@ -869,6 +941,109 @@ export interface paths { */ put: operations["actions/set-github-actions-default-workflow-permissions-organization"]; }; + "/orgs/{org}/actions/runner-groups": { + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runner-groups-for-org"]; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + post: operations["actions/create-self-hosted-runner-group-for-org"]; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}": { + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/get-self-hosted-runner-group-for-org"]; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/delete-self-hosted-runner-group-from-org"]; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + patch: operations["actions/update-self-hosted-runner-group-for-org"]; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runners-in-group-for-org"]; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-self-hosted-runners-in-group-for-org"]; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-self-hosted-runner-to-group-for-org"]; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; + }; "/orgs/{org}/actions/runners": { /** * List self-hosted runners for an organization @@ -1276,6 +1451,17 @@ export interface paths { */ delete: operations["actions/remove-selected-repo-from-org-variable"]; }; + "/orgs/{org}/attestations/{subject_digest}": { + /** + * List attestations + * @description List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization. + * + * The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + * + * **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + get: operations["orgs/list-attestations"]; + }; "/orgs/{org}/blocks": { /** * List users blocked by an organization @@ -1311,6 +1497,117 @@ export interface paths { */ get: operations["code-scanning/list-alerts-for-org"]; }; + "/orgs/{org}/code-security/configurations": { + /** + * Get code security configurations for an organization + * @description Lists all code security configurations available in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + get: operations["code-security/get-configurations-for-org"]; + /** + * Create a code security configuration + * @description Creates a code security configuration in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + post: operations["code-security/create-configuration"]; + }; + "/orgs/{org}/code-security/configurations/defaults": { + /** + * Get default code security configurations + * @description Lists the default code security configurations for an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + get: operations["code-security/get-default-configurations"]; + }; + "/orgs/{org}/code-security/configurations/detach": { + /** + * Detach configurations from repositories + * @description Detach code security configuration(s) from a set of repositories. + * Repositories will retain their settings but will no longer be associated with the configuration. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + delete: operations["code-security/detach-configuration"]; + }; + "/orgs/{org}/code-security/configurations/{configuration_id}": { + /** + * Get a code security configuration + * @description Gets a code security configuration available in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + get: operations["code-security/get-configuration"]; + /** + * Delete a code security configuration + * @description Deletes the desired code security configuration from an organization. + * Repositories attached to the configuration will retain their settings but will no longer be associated with + * the configuration. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + delete: operations["code-security/delete-configuration"]; + /** + * Update a code security configuration + * @description Updates a code security configuration in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + patch: operations["code-security/update-configuration"]; + }; + "/orgs/{org}/code-security/configurations/{configuration_id}/attach": { + /** + * Attach a configuration to repositories + * @description Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration. + * + * If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + post: operations["code-security/attach-configuration"]; + }; + "/orgs/{org}/code-security/configurations/{configuration_id}/defaults": { + /** + * Set a code security configuration as a default for an organization + * @description Sets a code security configuration as a default to be applied to new repositories in your organization. + * + * This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + put: operations["code-security/set-configuration-as-default"]; + }; + "/orgs/{org}/code-security/configurations/{configuration_id}/repositories": { + /** + * Get repositories associated with a code security configuration + * @description Lists the repositories associated with a code security configuration in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + get: operations["code-security/get-repositories-for-configuration"]; + }; "/orgs/{org}/codespaces": { /** * List codespaces for the organization @@ -1434,116 +1731,141 @@ export interface paths { "/orgs/{org}/copilot/billing": { /** * Get Copilot seat information and settings for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown - * and code matching policies. To configure these settings, go to your organization's settings on GitHub.com. - * For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)". + * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. + * For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)." * - * Only organization owners can configure and view details about the organization's Copilot Business subscription. + * Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription. * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. */ get: operations["copilot/get-copilot-organization-details"]; }; "/orgs/{org}/copilot/billing/seats": { /** * List all Copilot seat assignments for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * - * Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle). + * Lists all Copilot seats for which an organization with a Copilot Business or Copilot Enterprise subscription is currently being billed. + * Only organization owners can view assigned seats. * - * Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription. + * Each seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`. + * For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)." * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. */ get: operations["copilot/list-copilot-seats"]; }; "/orgs/{org}/copilot/billing/selected_teams": { /** * Add teams to the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. - * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." * - * Only organization owners can configure GitHub Copilot in their organization. + * Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. + * For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." + * For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." * - * In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. - * For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". - * For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". + * The response contains the total number of new seats that were created and existing seats that were refreshed. * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ post: operations["copilot/add-copilot-seats-for-teams"]; /** * Remove teams from the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. - * - * Cancels the Copilot seat assignment for all members of each team specified. - * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * - * For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * Sets seats for all members of each team specified to "pending cancellation". + * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. + * For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." * - * For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". + * Only organization owners can cancel Copilot seats for their organization members. * - * Only organization owners can configure GitHub Copilot in their organization. + * The response contains the total number of seats set to "pending cancellation". * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ delete: operations["copilot/cancel-copilot-seat-assignment-for-teams"]; }; "/orgs/{org}/copilot/billing/selected_users": { /** * Add users to the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. - * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." * - * Only organization owners can configure GitHub Copilot in their organization. + * Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. + * For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." + * For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." * - * In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. - * For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". - * For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". + * The response contains the total number of new seats that were created and existing seats that were refreshed. * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ post: operations["copilot/add-copilot-seats-for-users"]; /** * Remove users from the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * - * Cancels the Copilot seat assignment for each user specified. - * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. + * Sets seats for all users specified to "pending cancellation". + * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. + * For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." * - * For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * Only organization owners can cancel Copilot seats for their organization members. * - * For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". + * The response contains the total number of seats set to "pending cancellation". * - * Only organization owners can configure GitHub Copilot in their organization. - * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ delete: operations["copilot/cancel-copilot-seat-assignment-for-users"]; }; + "/orgs/{org}/copilot/metrics": { + /** + * Get Copilot metrics for an organization + * @description Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. + * + * > [!NOTE] + * > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. + * + * The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + * they must have telemetry enabled in their IDE. + * + * To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. + * Only organization owners and owners and billing managers of the parent enterprise can view Copilot metrics. + * + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + */ + get: operations["copilot/copilot-metrics-for-organization"]; + }; "/orgs/{org}/copilot/usage": { /** * Get a summary of Copilot usage for organization members - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. * See the response schema tab for detailed metrics definitions. * - * The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + * The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, * they must have telemetry enabled in their IDE. * - * Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view - * Copilot usage metrics. + * Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. * - * OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. */ get: operations["copilot/usage-metrics-for-org"]; }; @@ -1722,7 +2044,11 @@ export interface paths { get: operations["packages/list-docker-migration-conflicting-packages-for-organization"]; }; "/orgs/{org}/events": { - /** List public organization events */ + /** + * List public organization events + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ get: operations["activity/list-public-org-events"]; }; "/orgs/{org}/failed_invitations": { @@ -1735,7 +2061,9 @@ export interface paths { "/orgs/{org}/hooks": { /** * List organization webhooks - * @description You must be an organization owner to use this endpoint. + * @description List webhooks for an organization. + * + * The authenticated user must be an organization owner to use this endpoint. * * OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit * webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. @@ -1766,7 +2094,9 @@ export interface paths { get: operations["orgs/get-webhook"]; /** * Delete an organization webhook - * @description You must be an organization owner to use this endpoint. + * @description Delete a webhook for an organization. + * + * The authenticated user must be an organization owner to use this endpoint. * * OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit * webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. @@ -1858,6 +2188,69 @@ export interface paths { */ post: operations["orgs/ping-webhook"]; }; + "/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": { + /** + * Get route stats by actor + * @description Get API request count statistics for an actor broken down by route within a specified time frame. + */ + get: operations["api-insights/get-route-stats-by-actor"]; + }; + "/orgs/{org}/insights/api/subject-stats": { + /** + * Get subject stats + * @description Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps. + */ + get: operations["api-insights/get-subject-stats"]; + }; + "/orgs/{org}/insights/api/summary-stats": { + /** + * Get summary stats + * @description Get overall statistics of API requests made within an organization by all users and apps within a specified time frame. + */ + get: operations["api-insights/get-summary-stats"]; + }; + "/orgs/{org}/insights/api/summary-stats/users/{user_id}": { + /** + * Get summary stats by user + * @description Get overall statistics of API requests within the organization for a user. + */ + get: operations["api-insights/get-summary-stats-by-user"]; + }; + "/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": { + /** + * Get summary stats by actor + * @description Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user. + */ + get: operations["api-insights/get-summary-stats-by-actor"]; + }; + "/orgs/{org}/insights/api/time-stats": { + /** + * Get time stats + * @description Get the number of API requests and rate-limited requests made within an organization over a specified time period. + */ + get: operations["api-insights/get-time-stats"]; + }; + "/orgs/{org}/insights/api/time-stats/users/{user_id}": { + /** + * Get time stats by user + * @description Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period. + */ + get: operations["api-insights/get-time-stats-by-user"]; + }; + "/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": { + /** + * Get time stats by actor + * @description Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period. + */ + get: operations["api-insights/get-time-stats-by-actor"]; + }; + "/orgs/{org}/insights/api/user-stats/{user_id}": { + /** + * Get user stats + * @description Get API usage statistics within an organization for a user broken down by the type of access. + */ + get: operations["api-insights/get-user-stats"]; + }; "/orgs/{org}/installation": { /** * Get an organization installation for the authenticated app @@ -1899,14 +2292,17 @@ export interface paths { "/orgs/{org}/invitations": { /** * List pending organization invitations - * @description The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + * @description The return hash contains a `role` field which refers to the Organization + * Invitation role and will be one of the following values: `direct_member`, `admin`, + * `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub + * member, the `login` field in the return hash will be `null`. */ get: operations["orgs/list-pending-invitations"]; /** * Create an organization invitation * @description Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." */ post: operations["orgs/create-invitation"]; @@ -1932,10 +2328,8 @@ export interface paths { * List organization issues assigned to the authenticated user * @description List issues in an organization assigned to the authenticated user. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -1995,13 +2389,17 @@ export interface paths { "/orgs/{org}/members/{username}/copilot": { /** * Get Copilot seat assignment details for a user - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * - * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. + * Gets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot. * - * Organization owners can view GitHub Copilot seat assignment details for members in their organization. + * The seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`. + * For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)." * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * Only organization owners can view Copilot seat assignment details for members of their organization. + * + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. */ get: operations["copilot/get-copilot-seat-details-for-user"]; }; @@ -2021,7 +2419,7 @@ export interface paths { * * **Rate limits** * - * To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + * To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. */ put: operations["orgs/set-membership-for-user"]; /** @@ -2086,26 +2484,10 @@ export interface paths { */ get: operations["migrations/list-repos-for-org"]; }; - "/orgs/{org}/organization-fine-grained-permissions": { - /** - * List organization fine-grained permissions for an organization - * @description Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)." - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - get: operations["orgs/list-organization-fine-grained-permissions"]; - }; "/orgs/{org}/organization-roles": { /** * Get all organization roles for an organization - * @description Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, the authenticated user must be one of: * @@ -2115,23 +2497,11 @@ export interface paths { * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. */ get: operations["orgs/list-org-roles"]; - /** - * Create a custom organization role - * @description Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - post: operations["orgs/create-custom-organization-role"]; }; "/orgs/{org}/organization-roles/teams/{team_slug}": { /** * Remove all organization roles for a team - * @description Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -2142,7 +2512,7 @@ export interface paths { "/orgs/{org}/organization-roles/teams/{team_slug}/{role_id}": { /** * Assign an organization role to a team - * @description Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -2151,7 +2521,7 @@ export interface paths { put: operations["orgs/assign-team-to-org-role"]; /** * Remove an organization role from a team - * @description Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -2162,7 +2532,7 @@ export interface paths { "/orgs/{org}/organization-roles/users/{username}": { /** * Remove all organization roles for a user - * @description Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -2173,7 +2543,7 @@ export interface paths { "/orgs/{org}/organization-roles/users/{username}/{role_id}": { /** * Assign an organization role to a user - * @description Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -2182,7 +2552,7 @@ export interface paths { put: operations["orgs/assign-user-to-org-role"]; /** * Remove an organization role from a user - * @description Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -2193,7 +2563,7 @@ export interface paths { "/orgs/{org}/organization-roles/{role_id}": { /** * Get an organization role - * @description Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, the authenticated user must be one of: * @@ -2203,36 +2573,11 @@ export interface paths { * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. */ get: operations["orgs/get-org-role"]; - /** - * Delete a custom organization role. - * @description Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - delete: operations["orgs/delete-custom-organization-role"]; - /** - * Update a custom organization role - * @description Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - patch: operations["orgs/patch-custom-organization-role"]; }; "/orgs/{org}/organization-roles/{role_id}/teams": { /** * List teams that are assigned to an organization role - * @description Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, you must be an administrator for the organization. * @@ -2243,7 +2588,7 @@ export interface paths { "/orgs/{org}/organization-roles/{role_id}/users": { /** * List users that are assigned to an organization role - * @description Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, you must be an administrator for the organization. * @@ -2275,7 +2620,7 @@ export interface paths { * List packages for an organization * @description Lists packages in an organization readable by the user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/list-packages-for-organization"]; }; @@ -2284,7 +2629,7 @@ export interface paths { * Get a package for an organization * @description Gets a specific package in an organization. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-package-for-organization"]; /** @@ -2293,7 +2638,7 @@ export interface paths { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ delete: operations["packages/delete-package-for-org"]; }; @@ -2308,7 +2653,7 @@ export interface paths { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ post: operations["packages/restore-package-for-org"]; }; @@ -2317,7 +2662,7 @@ export interface paths { * List package versions for a package owned by an organization * @description Lists package versions for a package owned by an organization. * - * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-all-package-versions-for-package-owned-by-org"]; }; @@ -2326,7 +2671,7 @@ export interface paths { * Get a package version for an organization * @description Gets a specific package version in an organization. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-package-version-for-organization"]; /** @@ -2335,7 +2680,7 @@ export interface paths { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ delete: operations["packages/delete-package-version-for-org"]; }; @@ -2350,7 +2695,7 @@ export interface paths { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ post: operations["packages/restore-package-version-for-org"]; }; @@ -2422,6 +2767,73 @@ export interface paths { */ get: operations["orgs/list-pat-grant-repositories"]; }; + "/orgs/{org}/private-registries": { + /** + * List private registries for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Lists all private registry configurations available at the organization-level without revealing their encrypted + * values. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["private-registries/list-org-private-registries"]; + /** + * Create a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + post: operations["private-registries/create-org-private-registry"]; + }; + "/orgs/{org}/private-registries/public-key": { + /** + * Get private registries public key for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["private-registries/get-org-public-key"]; + }; + "/orgs/{org}/private-registries/{secret_name}": { + /** + * Get a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["private-registries/get-org-private-registry"]; + /** + * Delete a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Delete a private registry configuration at the organization-level. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["private-registries/delete-org-private-registry"]; + /** + * Update a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + patch: operations["private-registries/update-org-private-registry"]; + }; "/orgs/{org}/projects": { /** * List organization projects @@ -2530,7 +2942,8 @@ export interface paths { * List organization repositories * @description Lists repositories for the specified organization. * - * **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + * > [!NOTE] + * > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." */ get: operations["repos/list-for-org"]; /** @@ -2573,6 +2986,9 @@ export interface paths { /** * Get an organization repository ruleset * @description Get a repository ruleset for an organization. + * + * **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + * making the API request has write access to the ruleset. */ get: operations["repos/get-org-ruleset"]; /** @@ -2611,31 +3027,25 @@ export interface paths { "/orgs/{org}/security-managers": { /** * List security manager teams - * @description Lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." - * - * The authenticated user must be an administrator or security manager for the organization to use this endpoint. - * - * OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. */ get: operations["orgs/list-security-manager-teams"]; }; "/orgs/{org}/security-managers/teams/{team_slug}": { /** * Add a security manager team - * @description Adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization." - * - * The authenticated user must be an administrator for the organization to use this endpoint. - * - * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. */ put: operations["orgs/add-security-manager-team"]; /** * Remove a security manager team - * @description Removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization." - * - * The authenticated user must be an administrator for the organization to use this endpoint. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. */ delete: operations["orgs/remove-security-manager-team"]; }; @@ -2672,25 +3082,45 @@ export interface paths { */ get: operations["billing/get-shared-storage-billing-org"]; }; + "/orgs/{org}/team/{team_slug}/copilot/metrics": { + /** + * Get Copilot metrics for a team + * @description Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. + * + * > [!NOTE] + * > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. + * + * The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + * they must have telemetry enabled in their IDE. + * + * To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. + * Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot metrics for a team. + * + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + */ + get: operations["copilot/copilot-metrics-for-team"]; + }; "/orgs/{org}/team/{team_slug}/copilot/usage": { /** * Get a summary of Copilot usage for a team - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. * See the response schema tab for detailed metrics definitions. * - * The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + * The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, * they must have telemetry enabled in their IDE. * - * **Note**: This endpoint will only return results for a given day if the team had five or more members on that day. + * > [!NOTE] + * > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. * - * Copilot Business or Copilot Enterprise organization owners for the organization that contains this team, - * and owners and billing managers of their parent enterprises, can view Copilot usage metrics for a team. + * Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. * - * OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. */ get: operations["copilot/usage-metrics-for-team"]; }; @@ -2713,7 +3143,8 @@ export interface paths { * Get a team by name * @description Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. */ get: operations["teams/get-by-name"]; /** @@ -2722,14 +3153,16 @@ export interface paths { * * If you are an organization owner, deleting a parent team will delete all of its child teams as well. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. */ delete: operations["teams/delete-in-org"]; /** * Update a team * @description To edit a team, the authenticated user must either be an organization owner or a team maintainer. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. */ patch: operations["teams/update-in-org"]; }; @@ -2738,7 +3171,8 @@ export interface paths { * List discussions * @description List all discussions on a team's page. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -2747,9 +3181,10 @@ export interface paths { * Create a discussion * @description Creates a new discussion post on a team's page. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2760,7 +3195,8 @@ export interface paths { * Get a discussion * @description Get a specific discussion on a team's page. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -2769,7 +3205,8 @@ export interface paths { * Delete a discussion * @description Delete a discussion from a team's page. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2778,7 +3215,8 @@ export interface paths { * Update a discussion * @description Edits the title and body text of a discussion post. Only the parameters you provide are updated. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2789,7 +3227,8 @@ export interface paths { * List discussion comments * @description List all comments on a team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -2798,9 +3237,10 @@ export interface paths { * Create a discussion comment * @description Creates a new comment on a team discussion. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2811,7 +3251,8 @@ export interface paths { * Get a discussion comment * @description Get a specific comment on a team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -2820,7 +3261,8 @@ export interface paths { * Delete a discussion comment * @description Deletes a comment on a team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2829,7 +3271,8 @@ export interface paths { * Update a discussion comment * @description Edits the body text of a discussion comment. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2840,7 +3283,8 @@ export interface paths { * List reactions for a team discussion comment * @description List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -2851,7 +3295,8 @@ export interface paths { * * A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2860,7 +3305,8 @@ export interface paths { "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { /** * Delete team discussion comment reaction - * @description **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. * * Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -2873,7 +3319,8 @@ export interface paths { * List reactions for a team discussion * @description List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -2884,7 +3331,8 @@ export interface paths { * * A response with an HTTP `200` status means that you already added the reaction type to this team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -2893,7 +3341,8 @@ export interface paths { "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { /** * Delete team discussion reaction - * @description **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. * * Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -2906,7 +3355,8 @@ export interface paths { * List pending team invitations * @description The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. */ get: operations["teams/list-pending-invitations-in-org"]; }; @@ -2926,10 +3376,11 @@ export interface paths { * * To get a user's membership with a team, the team must be visible to the authenticated user. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. * - * **Note:** - * The response contains the `state` of the membership and the member's `role`. + * > [!NOTE] + * > The response contains the `state` of the membership and the member's `role`. * * The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). */ @@ -2940,13 +3391,15 @@ export interface paths { * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * * An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. * * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. */ put: operations["teams/add-or-update-membership-for-user-in-org"]; /** @@ -2955,9 +3408,11 @@ export interface paths { * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. */ delete: operations["teams/remove-membership-for-user-in-org"]; }; @@ -2966,7 +3421,8 @@ export interface paths { * List team projects * @description Lists the organization projects for a team. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. */ get: operations["teams/list-projects-in-org"]; }; @@ -2975,21 +3431,24 @@ export interface paths { * Check team permissions for a project * @description Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. */ get: operations["teams/check-permissions-for-project-in-org"]; /** * Add or update team project permissions * @description Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. */ put: operations["teams/add-or-update-project-permissions-in-org"]; /** * Remove a project from a team * @description Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. */ delete: operations["teams/remove-project-in-org"]; }; @@ -2998,7 +3457,8 @@ export interface paths { * List team repositories * @description Lists a team's repositories visible to the authenticated user. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. */ get: operations["teams/list-repos-in-org"]; }; @@ -3007,20 +3467,22 @@ export interface paths { * Check team permissions for a repository * @description Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. + * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header. * * If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. * * If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. */ get: operations["teams/check-permissions-for-repo-in-org"]; /** * Add or update team repository permissions * @description To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. * * For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". */ @@ -3029,7 +3491,8 @@ export interface paths { * Remove a repository from a team * @description If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. */ delete: operations["teams/remove-repo-in-org"]; }; @@ -3038,18 +3501,23 @@ export interface paths { * List child teams * @description Lists the child teams of the team specified by `{team_slug}`. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. */ get: operations["teams/list-child-in-org"]; }; "/orgs/{org}/{security_product}/{enablement}": { /** * Enable or disable a security feature for an organization - * @description Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * + * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * * The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint. * - * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. */ post: operations["orgs/enable-or-disable-security-product-on-all-org-repos"]; }; @@ -3156,7 +3624,8 @@ export interface paths { "/rate_limit": { /** * Get rate limit status for the authenticated user - * @description **Note:** Accessing this endpoint does not count against your REST API rate limit. + * @description > [!NOTE] + * > Accessing this endpoint does not count against your REST API rate limit. * * Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories: * * The `core` object provides your rate limit status for all non-search-related resources in the REST API. @@ -3167,9 +3636,10 @@ export interface paths { * * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." - * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)." + * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * - * **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > [!NOTE] + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ get: operations["rate-limit/get"]; }; @@ -3178,7 +3648,8 @@ export interface paths { * Get a repository * @description The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. * - * **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + * > [!NOTE] + * > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." */ get: operations["repos/get"]; /** @@ -3566,7 +4037,7 @@ export interface paths { * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. * - * This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. + * This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. */ get: operations["actions/list-workflow-runs-for-repo"]; }; @@ -3668,8 +4139,8 @@ export interface paths { * Review custom deployment protection rules for a workflow run * @description Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." * - * **Note:** GitHub Apps can only review their own custom deployment protection rules. - * To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). + * > [!NOTE] + * > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. */ @@ -3928,6 +4399,8 @@ export interface paths { * Anyone with read access to the repository can use this endpoint * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + * + * This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. */ get: operations["actions/list-workflow-runs"]; }; @@ -3972,6 +4445,28 @@ export interface paths { */ get: operations["issues/check-user-can-be-assigned"]; }; + "/repos/{owner}/{repo}/attestations": { + /** + * Create an attestation + * @description Store an artifact attestation and associate it with a repository. + * + * The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required. + * + * Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + post: operations["repos/create-attestation"]; + }; + "/repos/{owner}/{repo}/attestations/{subject_digest}": { + /** + * List attestations + * @description List a collection of artifact attestations with a given subject digest that are associated with a repository. + * + * The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required. + * + * **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + get: operations["repos/list-attestations"]; + }; "/repos/{owner}/{repo}/autolinks": { /** * Get all autolinks of a repository @@ -4039,9 +4534,11 @@ export interface paths { * * Protecting a branch requires admin or owner permissions to the repository. * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + * > [!NOTE] + * > Passing new arrays of `users` and `teams` replaces their previous values. * - * **Note**: The list of users, apps, and teams in total is limited to 100 items. + * > [!NOTE] + * > The list of users, apps, and teams in total is limited to 100 items. */ put: operations["repos/update-branch-protection"]; /** @@ -4088,7 +4585,8 @@ export interface paths { * * Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + * > [!NOTE] + * > Passing new arrays of `users` and `teams` replaces their previous values. */ patch: operations["repos/update-pull-request-review-protection"]; }; @@ -4099,7 +4597,8 @@ export interface paths { * * When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help. * - * **Note**: You must enable branch protection to require signed commits. + * > [!NOTE] + * > You must enable branch protection to require signed commits. */ get: operations["repos/get-commit-signature-protection"]; /** @@ -4165,7 +4664,8 @@ export interface paths { * * Lists who has access to this protected branch. * - * **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + * > [!NOTE] + * > Users, apps, and teams `restrictions` are only available for organization-owned repositories. */ get: operations["repos/get-access-restrictions"]; /** @@ -4283,7 +4783,8 @@ export interface paths { * Rename a branch * @description Renames a branch in a repository. * - * **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". + * > [!NOTE] + * > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". * * The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions. * @@ -4307,7 +4808,8 @@ export interface paths { * Get a check run * @description Gets a single check run using its `id`. * - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -4316,7 +4818,8 @@ export interface paths { * Update a check run * @description Updates a check run for a specific commit in a repository. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * OAuth apps and personal access tokens (classic) cannot use this endpoint. */ @@ -4347,7 +4850,8 @@ export interface paths { * Create a check suite * @description Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)". * - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * * OAuth apps and personal access tokens (classic) cannot use this endpoint. */ @@ -4366,7 +4870,8 @@ export interface paths { * Get a check suite * @description Gets a single check suite using its `id`. * - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -4377,7 +4882,8 @@ export interface paths { * List check runs in a check suite * @description Lists check runs for a check suite using its `id`. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -4423,6 +4929,37 @@ export interface paths { */ patch: operations["code-scanning/update-alert"]; }; + "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix": { + /** + * Get the status of an autofix for a code scanning alert + * @description Gets the status and description of an autofix for a code scanning alert. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + get: operations["code-scanning/get-autofix"]; + /** + * Create an autofix for a code scanning alert + * @description Creates an autofix for a code scanning alert. + * + * If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. + * + * If an autofix already exists for a given alert, then this endpoint will return a 200 OK response. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + post: operations["code-scanning/create-autofix"]; + }; + "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits": { + /** + * Commit an autofix for a code scanning alert + * @description Commits an autofix for a code scanning alert. + * + * If an autofix is commited as a result of this request, then this endpoint will return a 201 Created response. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + post: operations["code-scanning/commit-autofix"]; + }; "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": { /** * List instances of a code scanning alert @@ -4446,8 +4983,8 @@ export interface paths { * For very old analyses this data is not available, * and `0` is returned in this field. * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > [!WARNING] + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -4549,7 +5086,7 @@ export interface paths { * List CodeQL databases for a repository * @description Lists the CodeQL databases that are available in a repository. * - * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ get: operations["code-scanning/list-codeql-databases"]; }; @@ -4560,13 +5097,52 @@ export interface paths { * * By default this endpoint returns JSON metadata about the CodeQL database. To * download the CodeQL database binary content, set the `Accept` header of the request - * to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure + * to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure * your HTTP client is configured to follow redirects or use the `Location` header * to make a second request to get the redirect URL. * - * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ get: operations["code-scanning/get-codeql-database"]; + /** + * Delete a CodeQL database + * @description Deletes a CodeQL database for a language in a repository. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + delete: operations["code-scanning/delete-codeql-database"]; + }; + "/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses": { + /** + * Create a CodeQL variant analysis + * @description Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories. + * + * Get started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis). + * + * Use the `owner` and `repo` parameters in the URL to specify the controller repository that + * will be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + */ + post: operations["code-scanning/create-variant-analysis"]; + }; + "/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}": { + /** + * Get the summary of a CodeQL variant analysis + * @description Gets the summary of a CodeQL variant analysis. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + get: operations["code-scanning/get-variant-analysis"]; + }; + "/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}": { + /** + * Get the analysis status of a repository in a CodeQL variant analysis + * @description Gets the analysis status of a repository in a CodeQL variant analysis. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + get: operations["code-scanning/get-variant-analysis-repo-task"]; }; "/repos/{owner}/{repo}/code-scanning/default-setup": { /** @@ -4619,6 +5195,8 @@ export interface paths { * For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)." * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + * + * This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. */ post: operations["code-scanning/upload-sarif"]; }; @@ -4630,6 +5208,17 @@ export interface paths { */ get: operations["code-scanning/get-sarif"]; }; + "/repos/{owner}/{repo}/code-security-configuration": { + /** + * Get the code security configuration associated with a repository + * @description Get the code security configuration that manages a repository's code security settings. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + */ + get: operations["code-security/get-configuration-for-repository"]; + }; "/repos/{owner}/{repo}/codeowners/errors": { /** * List CODEOWNERS errors @@ -4710,8 +5299,6 @@ export interface paths { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ get: operations["codespaces/get-repo-public-key"]; @@ -4768,7 +5355,7 @@ export interface paths { get: operations["repos/check-collaborator"]; /** * Add a repository collaborator - * @description This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * @description This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." * @@ -4809,7 +5396,8 @@ export interface paths { * - If the user had their own fork of the repository, the fork will be deleted. * - If the user still has read access to the repository, open pull requests by this user from a fork will be denied. * - * **Note**: A user can still have access to the repository through organization permissions like base repository permissions. + * > [!NOTE] + * > A user can still have access to the repository through organization permissions like base repository permissions. * * Although the API responds immediately, the additional permission updates might take some extra time to complete in the background. * @@ -4887,7 +5475,8 @@ export interface paths { "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}": { /** * Delete a commit comment reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. * * Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). */ @@ -4906,6 +5495,7 @@ export interface paths { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -4953,7 +5543,7 @@ export interface paths { * Create a commit comment * @description Create a comment for a commit using its `:commit_sha`. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -4978,7 +5568,8 @@ export interface paths { * Get a commit * @description Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. * - * **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. + * > [!NOTE] + * > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types. * @@ -4996,6 +5587,7 @@ export interface paths { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -5022,7 +5614,8 @@ export interface paths { * List check runs for a Git reference * @description Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint. * @@ -5035,7 +5628,8 @@ export interface paths { * List check suites for a Git reference * @description Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -5101,7 +5695,7 @@ export interface paths { * * To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination: * - * - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison. + * - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison. * - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results. * * For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)." @@ -5116,6 +5710,7 @@ export interface paths { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -5171,7 +5766,8 @@ export interface paths { * Create or update file contents * @description Creates a new file or replaces an existing file in a repository. * - * **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + * > [!NOTE] + * > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. */ @@ -5186,7 +5782,8 @@ export interface paths { * * You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. * - * **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + * > [!NOTE] + * > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. */ delete: operations["repos/delete-file"]; }; @@ -5415,7 +6012,8 @@ export interface paths { "/repos/{owner}/{repo}/environments/{environment_name}": { /** * Get an environment - * @description **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." + * @description > [!NOTE] + * > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." * * Anyone with read access to the repository can use this endpoint. * @@ -5426,9 +6024,11 @@ export interface paths { * Create or update an environment * @description Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." * - * **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." + * > [!NOTE] + * > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." * - * **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." + * > [!NOTE] + * > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ @@ -5507,7 +6107,9 @@ export interface paths { "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps": { /** * List custom deployment rule integrations available for an environment - * @description Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint. + * @description Gets all custom deployment protection rule integrations that are available for an environment. + * + * The authenticated user must have admin or owner permissions to the repository to use this endpoint. * * For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." * @@ -5643,7 +6245,8 @@ export interface paths { "/repos/{owner}/{repo}/events": { /** * List repository events - * @description **Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ get: operations["activity/list-repo-events"]; }; @@ -5654,9 +6257,11 @@ export interface paths { * Create a fork * @description Create a fork for the authenticated user. * - * **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). + * > [!NOTE] + * > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). * - * **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + * > [!NOTE] + * > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. */ post: operations["repos/create-fork"]; }; @@ -5693,6 +6298,7 @@ export interface paths { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -5731,6 +6337,7 @@ export interface paths { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -5759,7 +6366,8 @@ export interface paths { * * When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + * > [!NOTE] + * > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". * * If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. */ @@ -5770,7 +6378,8 @@ export interface paths { * Get a reference * @description Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + * > [!NOTE] + * > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". */ get: operations["git/get-ref"]; }; @@ -5808,6 +6417,7 @@ export interface paths { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -5842,6 +6452,7 @@ export interface paths { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -5881,8 +6492,8 @@ export interface paths { * * If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. * - * - * **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + * > [!NOTE] + * > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. */ get: operations["git/get-tree"]; }; @@ -5905,7 +6516,12 @@ export interface paths { * @description Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository)." */ get: operations["repos/get-webhook"]; - /** Delete a repository webhook */ + /** + * Delete a repository webhook + * @description Delete a webhook for an organization. + * + * The authenticated user must be a repository owner, or have admin access in the repository, to delete the webhook. + */ delete: operations["repos/delete-webhook"]; /** * Update a repository webhook @@ -5962,7 +6578,8 @@ export interface paths { * Test the push repository webhook * @description This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. * - * **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + * > [!NOTE] + * > Previously `/repos/:owner/:repo/hooks/:hook_id/test` */ post: operations["repos/test-push-webhook"]; }; @@ -5972,7 +6589,8 @@ export interface paths { * @deprecated * @description View the progress of an import. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -6015,7 +6633,8 @@ export interface paths { * Importing into a GitHub repository with GitHub Actions enabled is not supported and will * return a status `422 Unprocessable Entity` response. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ put: operations["migrations/start-import"]; /** @@ -6023,7 +6642,8 @@ export interface paths { * @deprecated * @description Stop an import for a repository. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ delete: operations["migrations/cancel-import"]; /** @@ -6036,7 +6656,8 @@ export interface paths { * have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/update-import"]; }; @@ -6048,7 +6669,8 @@ export interface paths { * * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-commit-authors"]; }; @@ -6059,7 +6681,8 @@ export interface paths { * @description Update an author's identity for the import. Your application can continue updating authors any time before you push * new commits to the repository. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/map-commit-author"]; }; @@ -6069,7 +6692,8 @@ export interface paths { * @deprecated * @description List files larger than 100MB found during the import * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-large-files"]; }; @@ -6083,7 +6707,8 @@ export interface paths { * You can learn more about our LFS feature and working with large files [on our help * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/set-lfs-preference"]; }; @@ -6131,10 +6756,8 @@ export interface paths { * List repository issues * @description List issues in a repository. Only open issues will be listed. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -6148,7 +6771,7 @@ export interface paths { * Create an issue * @description Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -6222,7 +6845,8 @@ export interface paths { "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}": { /** * Delete an issue comment reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. * * Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). */ @@ -6252,10 +6876,8 @@ export interface paths { * access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe * to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -6267,7 +6889,7 @@ export interface paths { get: operations["issues/get"]; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -6322,7 +6944,7 @@ export interface paths { * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. - * For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -6399,12 +7021,65 @@ export interface paths { "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { /** * Delete an issue reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. * * Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). */ delete: operations["reactions/delete-for-issue"]; }; + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + /** + * Remove sub-issue + * @description You can use the REST API to remove a sub-issue from an issue. + * Removing content too quickly using this endpoint may result in secondary rate limiting. + * For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + * - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + * - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + * - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + * - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + */ + delete: operations["issues/remove-sub-issue"]; + }; + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + /** + * List sub-issues + * @description You can use the REST API to list the sub-issues on an issue. + * + * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + * + * - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + * - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + * - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + * - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + */ + get: operations["issues/list-sub-issues"]; + /** + * Add sub-issue + * @description You can use the REST API to add sub-issues to issues. + * + * Creating content too quickly using this endpoint may result in secondary rate limiting. + * For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * + * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + * + * - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + * - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + * - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + * - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + */ + post: operations["issues/add-sub-issue"]; + }; + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + /** + * Reprioritize sub-issue + * @description You can use the REST API to reprioritize a sub-issue to a different position in the parent list. + */ + patch: operations["issues/reprioritize-sub-issue"]; + }; "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { /** * List timeline events for an issue @@ -6714,7 +7389,7 @@ export interface paths { * * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -6786,7 +7461,8 @@ export interface paths { "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}": { /** * Delete a pull request comment reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` * * Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). */ @@ -6809,7 +7485,7 @@ export interface paths { * * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. * * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. * - * Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. + * Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -6864,9 +7540,9 @@ export interface paths { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -6883,7 +7559,7 @@ export interface paths { * Create a reply for a review comment * @description Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -6916,8 +7592,8 @@ export interface paths { * List pull requests files * @description Lists the files in a specified pull request. * - * **Note:** Responses include a maximum of 3000 files. The paginated response - * returns 30 files per page by default. + * > [!NOTE] + * > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -6937,7 +7613,7 @@ export interface paths { /** * Merge a pull request * @description Merges a pull request into the base branch. - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." */ put: operations["pulls/merge"]; }; @@ -6975,11 +7651,12 @@ export interface paths { * Create a review for a pull request * @description Creates a review on a specified pull request. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)." * - * **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. + * > [!NOTE] + * > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. * * The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. * @@ -7049,9 +7726,8 @@ export interface paths { * Dismiss a review for a pull request * @description Dismisses a specified review on a pull request. * - * **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), - * you must be a repository administrator or be included in the list of people or teams - * who can dismiss pull request reviews. + * > [!NOTE] + * > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -7080,6 +7756,7 @@ export interface paths { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ put: operations["pulls/update-branch"]; }; @@ -7119,14 +7796,20 @@ export interface paths { * Create a release * @description Users with push access to the repository can create a release. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." */ post: operations["repos/create-release"]; }; "/repos/{owner}/{repo}/releases/assets/{asset_id}": { /** * Get a release asset - * @description To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + * @description To download the asset's binary content: + * + * - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response. + * - Alternatively, set the `Accept` header of the request to + * [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). + * The API will either redirect the client to the location, or stream it directly if possible. + * API clients should handle both a `200` or `302` response. */ get: operations["repos/get-release-asset"]; /** Delete a release asset */ @@ -7165,9 +7848,8 @@ export interface paths { * Get a release * @description Gets a public release with the specified release ID. * - * **Note:** This returns an `upload_url` key corresponding to the endpoint - * for uploading release assets. This key is a hypermedia resource. For more information, see - * "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + * > [!NOTE] + * > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." */ get: operations["repos/get-release"]; /** @@ -7223,7 +7905,8 @@ export interface paths { "/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}": { /** * Delete a release reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. * * Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). */ @@ -7271,6 +7954,9 @@ export interface paths { /** * Get a repository ruleset * @description Get a ruleset for a repository. + * + * **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + * making the API request has write access to the ruleset. */ get: operations["repos/get-repo-ruleset"]; /** @@ -7326,6 +8012,26 @@ export interface paths { */ get: operations["secret-scanning/list-locations-for-alert"]; }; + "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": { + /** + * Create a push protection bypass + * @description Creates a bypass for a previously push protected secret. + * + * The authenticated user must be the original author of the committed secret. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + */ + post: operations["secret-scanning/create-push-protection-bypass"]; + }; + "/repos/{owner}/{repo}/secret-scanning/scan-history": { + /** + * Get secret scanning scan history for a repository + * @description Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + */ + get: operations["secret-scanning/get-scan-history"]; + }; "/repos/{owner}/{repo}/security-advisories": { /** * List repository security advisories @@ -7396,7 +8102,8 @@ export interface paths { * Create a temporary private fork * @description Create a temporary private fork to collaborate on fixing a security vulnerability in your repository. * - * **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + * > [!NOTE] + * > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. */ post: operations["security-advisories/create-fork"]; }; @@ -7414,11 +8121,10 @@ export interface paths { "/repos/{owner}/{repo}/stats/code_frequency": { /** * Get the weekly commit activity - * @description - * Returns a weekly aggregate of the number of additions and deletions pushed to a repository. + * @description Returns a weekly aggregate of the number of additions and deletions pushed to a repository. * - * **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains - * 10,000 or more commits, a 422 status code will be returned. + * > [!NOTE] + * > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. */ get: operations["repos/get-code-frequency-stats"]; }; @@ -7440,7 +8146,8 @@ export interface paths { * * `d` - Number of deletions * * `c` - Number of commits * - * **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + * > [!NOTE] + * > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. */ get: operations["repos/get-contributors-stats"]; }; @@ -7507,23 +8214,35 @@ export interface paths { }; "/repos/{owner}/{repo}/tags/protection": { /** - * List tag protection states for a repository - * @description This returns the tag protection states of a repository. + * Closing down - List tag protection states for a repository + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * + * This returns the tag protection states of a repository. * * This information is only available to repository administrators. */ get: operations["repos/list-tag-protection"]; /** - * Create a tag protection state for a repository - * @description This creates a tag protection state for a repository. + * Closing down - Create a tag protection state for a repository + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * + * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. */ post: operations["repos/create-tag-protection"]; }; "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { /** - * Delete a tag protection state for a repository - * @description This deletes a tag protection state for a repository. + * Closing down - Delete a tag protection state for a repository + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * + * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. */ delete: operations["repos/delete-tag-protection"]; @@ -7534,7 +8253,9 @@ export interface paths { * @description Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually * `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. + * + * > [!NOTE] + * > For private repositories, these links are temporary and expire after five minutes. */ get: operations["repos/download-tarball-archive"]; }; @@ -7616,7 +8337,8 @@ export interface paths { * `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use * the `Location` header to make a second `GET` request. * - * **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + * > [!NOTE] + * > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. */ get: operations["repos/download-zipball-archive"]; }; @@ -7694,7 +8416,8 @@ export interface paths { * * This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. * - * **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + * > [!NOTE] + * > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." */ get: operations["search/issues-and-pull-requests"]; }; @@ -7764,13 +8487,15 @@ export interface paths { /** * Get a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ get: operations["teams/get-legacy"]; /** * Delete a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -7780,11 +8505,13 @@ export interface paths { /** * Update a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * - * **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + * > [!NOTE] + * > With nested teams, the `privacy` for parent teams cannot be `secret`. */ patch: operations["teams/update-legacy"]; }; @@ -7792,7 +8519,8 @@ export interface paths { /** * List discussions (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -7802,11 +8530,12 @@ export interface paths { /** * Create a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -7816,7 +8545,8 @@ export interface paths { /** * Get a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -7826,7 +8556,8 @@ export interface paths { /** * Delete a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -7836,7 +8567,8 @@ export interface paths { /** * Update a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -7848,7 +8580,8 @@ export interface paths { /** * List discussion comments (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -7858,11 +8591,12 @@ export interface paths { /** * Create a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -7872,7 +8606,8 @@ export interface paths { /** * Get a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -7882,7 +8617,8 @@ export interface paths { /** * Delete a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -7892,7 +8628,8 @@ export interface paths { /** * Update a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -7904,7 +8641,8 @@ export interface paths { /** * List reactions for a team discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -7914,7 +8652,8 @@ export interface paths { /** * Create reaction for a team discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -7928,7 +8667,8 @@ export interface paths { /** * List reactions for a team discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -7938,7 +8678,8 @@ export interface paths { /** * Create reaction for a team discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -7952,7 +8693,8 @@ export interface paths { /** * List pending team invitations (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -7962,7 +8704,8 @@ export interface paths { /** * List team members (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -7972,7 +8715,7 @@ export interface paths { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -7982,7 +8725,7 @@ export interface paths { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -7990,7 +8733,8 @@ export interface paths { * * To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." */ @@ -7998,7 +8742,7 @@ export interface paths { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -8006,7 +8750,8 @@ export interface paths { * * To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." */ delete: operations["teams/remove-member-legacy"]; }; @@ -8014,7 +8759,8 @@ export interface paths { /** * Get team membership for a user (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -8029,13 +8775,15 @@ export interface paths { /** * Add or update team membership for a user (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * * If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * * If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner. * @@ -8045,13 +8793,15 @@ export interface paths { /** * Remove team membership for a user (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." */ delete: operations["teams/remove-membership-for-user-legacy"]; }; @@ -8059,7 +8809,8 @@ export interface paths { /** * List team projects (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -8069,7 +8820,8 @@ export interface paths { /** * Check team permissions for a project (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -8077,7 +8829,8 @@ export interface paths { /** * Add or update team project permissions (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -8085,7 +8838,8 @@ export interface paths { /** * Remove a project from a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -8095,7 +8849,8 @@ export interface paths { /** * List team repositories (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ get: operations["teams/list-repos-legacy"]; }; @@ -8103,17 +8858,20 @@ export interface paths { /** * Check team permissions for a repository (Legacy) * @deprecated - * @description **Note**: Repositories inherited through a parent team will also be checked. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > [!NOTE] + * > Repositories inherited through a parent team will also be checked. * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: */ get: operations["teams/check-permissions-for-repo-legacy"]; /** * Add or update team repository permissions (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -8123,7 +8881,8 @@ export interface paths { /** * Remove a repository from a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -8133,7 +8892,8 @@ export interface paths { /** * List child teams (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ get: operations["teams/list-child-legacy"]; }; @@ -8493,11 +9253,15 @@ export interface paths { /** * Add a repository to an app installation * @description Add a single repository to an installation. The authenticated user must have admin access to the repository. + * + * This endpoint only works for PATs (classic) with the `repo` scope. */ put: operations["apps/add-repo-to-installation-for-authenticated-user"]; /** * Remove a repository from an app installation * @description Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + * + * This endpoint only works for PATs (classic) with the `repo` scope. */ delete: operations["apps/remove-repo-from-installation-for-authenticated-user"]; }; @@ -8523,10 +9287,8 @@ export interface paths { * List user account issues assigned to the authenticated user * @description List issues across owned and member repositories assigned to the authenticated user. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -8680,6 +9442,9 @@ export interface paths { * @description List organizations for the authenticated user. * * For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. + * + * > [!NOTE] + * > Requests using a fine-grained access token will receive a `200 Success` response with an empty list. */ get: operations["orgs/list-for-authenticated-user"]; }; @@ -8688,7 +9453,7 @@ export interface paths { * List packages for the authenticated user's namespace * @description Lists packages owned by the authenticated user within the user's namespace. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/list-packages-for-authenticated-user"]; }; @@ -8697,14 +9462,14 @@ export interface paths { * Get a package for the authenticated user * @description Gets a specific package for a package owned by the authenticated user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-package-for-authenticated-user"]; /** * Delete a package for the authenticated user * @description Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ delete: operations["packages/delete-package-for-authenticated-user"]; }; @@ -8717,7 +9482,7 @@ export interface paths { * - The package was deleted within the last 30 days. * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ post: operations["packages/restore-package-for-authenticated-user"]; }; @@ -8726,7 +9491,7 @@ export interface paths { * List package versions for a package owned by the authenticated user * @description Lists package versions for a package owned by the authenticated user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-all-package-versions-for-package-owned-by-authenticated-user"]; }; @@ -8735,7 +9500,7 @@ export interface paths { * Get a package version for the authenticated user * @description Gets a specific package version for a package owned by the authenticated user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-package-version-for-authenticated-user"]; /** @@ -8744,7 +9509,7 @@ export interface paths { * * The authenticated user must have admin permissions in the organization to use this endpoint. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ delete: operations["packages/delete-package-version-for-authenticated-user"]; }; @@ -8757,7 +9522,7 @@ export interface paths { * - The package was deleted within the last 30 days. * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ post: operations["packages/restore-package-version-for-authenticated-user"]; }; @@ -8908,6 +9673,17 @@ export interface paths { */ get: operations["teams/list-for-authenticated-user"]; }; + "/user/{account_id}": { + /** + * Get a user using their ID + * @description Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time. + * + * The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication). + * + * The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". + */ + get: operations["users/get-by-id"]; + }; "/users": { /** * List users @@ -8928,6 +9704,17 @@ export interface paths { */ get: operations["users/get-by-username"]; }; + "/users/{username}/attestations/{subject_digest}": { + /** + * List attestations + * @description List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user. + * + * The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + * + * **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + get: operations["users/list-attestations"]; + }; "/users/{username}/docker/conflicts": { /** * Get list of conflicting packages during Docker migration for user @@ -8940,7 +9727,10 @@ export interface paths { "/users/{username}/events": { /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). + * + * > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ get: operations["activity/list-events-for-authenticated-user"]; }; @@ -8948,11 +9738,18 @@ export interface paths { /** * List organization events for the authenticated user * @description This is the user's organization dashboard. You must be authenticated as the user to view this. + * + * > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ get: operations["activity/list-org-events-for-authenticated-user"]; }; "/users/{username}/events/public": { - /** List public events for a user */ + /** + * List public events for a user + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ get: operations["activity/list-public-events-for-user"]; }; "/users/{username}/followers": { @@ -9028,7 +9825,7 @@ export interface paths { * List packages for a user * @description Lists all packages in a user's namespace for which the requesting user has access. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/list-packages-for-user"]; }; @@ -9037,7 +9834,7 @@ export interface paths { * Get a package for a user * @description Gets a specific package metadata for a public package owned by a user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-package-for-user"]; /** @@ -9046,7 +9843,7 @@ export interface paths { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ delete: operations["packages/delete-package-for-user"]; }; @@ -9061,7 +9858,7 @@ export interface paths { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ post: operations["packages/restore-package-for-user"]; }; @@ -9070,7 +9867,7 @@ export interface paths { * List package versions for a package owned by a user * @description Lists package versions for a public package owned by a specified user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-all-package-versions-for-package-owned-by-user"]; }; @@ -9079,7 +9876,7 @@ export interface paths { * Get a package version for a user * @description Gets a specific package version for a public package owned by a specified user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ get: operations["packages/get-package-version-for-user"]; /** @@ -9088,7 +9885,7 @@ export interface paths { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ delete: operations["packages/delete-package-version-for-user"]; }; @@ -9103,7 +9900,7 @@ export interface paths { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ post: operations["packages/restore-package-version-for-user"]; }; @@ -9117,12 +9914,20 @@ export interface paths { "/users/{username}/received_events": { /** * List events received by the authenticated user - * @description These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + * @description These are events that you've received by watching repositories and following users. If you are authenticated as the + * given user, you will see private events. Otherwise, you'll only see public events. + * + * > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ get: operations["activity/list-received-events-for-user"]; }; "/users/{username}/received_events/public": { - /** List public events received by a user */ + /** + * List public events received by a user + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ get: operations["activity/list-received-public-events-for-user"]; }; "/users/{username}/repos": { @@ -9257,6 +10062,22 @@ export interface paths { */ get: operations["repos/compare-commits"]; }; + "/orgs/{org}/organization-fine-grained-permissions": { + /** + * List organization fine-grained permissions for an organization + * @description Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * + * To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)." + * + * To use this endpoint, the authenticated user must be one of: + * + * - An administrator for the organization. + * - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["orgs/list-organization-fine-grained-permissions"]; + }; } export type webhooks = Record; @@ -9367,6 +10188,20 @@ export interface components { /** @description The functions in the package that are affected by the vulnerability. */ vulnerable_functions: readonly string[] | null; }; + "cvss-severities": { + cvss_v3?: { + /** @description The CVSS 3 vector string. */ + vector_string: string | null; + /** @description The CVSS 3 score. */ + score: number | null; + } | null; + cvss_v4?: { + /** @description The CVSS 4 vector string. */ + vector_string: string | null; + /** @description The CVSS 4 score. */ + score: number | null; + } | null; + } | null; /** * Simple User * @description A GitHub user. @@ -9376,7 +10211,10 @@ export interface components { email?: string | null; /** @example octocat */ login: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; /** @example MDQ6VXNlcjE= */ node_id: string; @@ -9435,6 +10273,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; }; /** * @description The type of credit the user is receiving. @@ -9534,6 +10374,7 @@ export interface components { /** @description The CVSS score. */ score: number | null; } | null; + cvss_severities?: components["schemas"]["cvss-severities"]; cwes: | { /** @description The Common Weakness Enumeration (CWE) identifier. */ @@ -9542,6 +10383,10 @@ export interface components { name: string; }[] | null; + epss?: { + percentage?: number; + percentile?: number; + } | null; /** @description The users who contributed to the advisory. */ credits: | readonly { @@ -9578,7 +10423,10 @@ export interface components { email?: string | null; /** @example octocat */ login: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; /** @example MDQ6VXNlcjE= */ node_id: string; @@ -9637,6 +10485,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; } | null; /** * GitHub app @@ -9655,6 +10505,8 @@ export interface components { slug?: string; /** @example MDExOkludGVncmF0aW9uMQ== */ node_id: string; + /** @example "Iv1.25b5d1e65ffc4022" */ + client_id?: string; owner: components["schemas"]["nullable-simple-user"]; /** * @description The name of the GitHub app @@ -9711,8 +10563,6 @@ export interface components { * @example 5 */ installations_count?: number; - /** @example "Iv1.25b5d1e65ffc4022" */ - client_id?: string; /** @example "1d4b2097ac622ba702d19de498f005747a8b21d3" */ client_secret?: string; /** @example "6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b" */ @@ -9808,6 +10658,12 @@ export interface components { * @example 123 */ repository_id: number | null; + /** + * Format: date-time + * @description Time when the webhook delivery was throttled. + * @example 2021-05-12T20:33:44Z + */ + throttled_at?: string | null; }; /** * Scim Error @@ -9898,6 +10754,12 @@ export interface components { * @example 123 */ repository_id: number | null; + /** + * Format: date-time + * @description Time when the webhook delivery was throttled. + * @example 2021-05-12T20:33:44Z + */ + throttled_at?: string | null; /** * @description The URL target of the delivery. * @example https://www.example.com @@ -10143,7 +11005,7 @@ export interface components { */ organization_custom_properties?: "read" | "write" | "admin"; /** - * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. + * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change. * @enum {string} */ organization_copilot_seat_management?: "write"; @@ -10178,7 +11040,7 @@ export interface components { */ organization_plan?: "read"; /** - * @description The level of permission to grant the access token to manage organization projects and projects beta (where available). + * @description The level of permission to grant the access token to manage organization projects and projects public preview (where available). * @enum {string} */ organization_projects?: "read" | "write" | "admin"; @@ -10337,6 +11199,7 @@ export interface components { */ repository: { /** + * Format: int64 * @description Unique identifier of the repository * @example 42 */ @@ -10628,7 +11491,7 @@ export interface components { allow_update_branch?: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -10741,6 +11604,7 @@ export interface components { * @description The authorization for an OAuth app, GitHub App, or a Personal Access Token. */ authorization: { + /** Format: int64 */ id: number; /** Format: uri */ url: string; @@ -11212,184 +12076,156 @@ export interface components { /** Format: uri */ html_url: string | null; }; - /** - * Copilot Usage Metrics - * @description Summary of Copilot usage. - */ - "copilot-usage-metrics": { + /** @description A code security configuration */ + "code-security-configuration": { + /** @description The ID of the code security configuration */ + id?: number; + /** @description The name of the code security configuration. Must be unique within the organization. */ + name?: string; /** - * Format: date - * @description The date for which the usage metrics are reported, in `YYYY-MM-DD` format. + * @description The type of the code security configuration. + * @enum {string} */ - day: string; - /** @description The total number of Copilot code completion suggestions shown to users. */ - total_suggestions_count?: number; - /** @description The total number of Copilot code completion suggestions accepted by users. */ - total_acceptances_count?: number; - /** @description The total number of lines of code completions suggested by Copilot. */ - total_lines_suggested?: number; - /** @description The total number of lines of code completions accepted by users. */ - total_lines_accepted?: number; - /** @description The total number of users who were shown Copilot code completion suggestions during the day specified. */ - total_active_users?: number; - /** @description The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline). */ - total_chat_acceptances?: number; - /** @description The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE. */ - total_chat_turns?: number; - /** @description The total number of users who interacted with Copilot Chat in the IDE during the day specified. */ - total_active_chat_users?: number; - /** @description Breakdown of Copilot code completions usage by language and editor */ - breakdown: - | { - /** @description The language in which Copilot suggestions were shown to users in the specified editor. */ - language?: string; - /** @description The editor in which Copilot suggestions were shown to users for the specified language. */ - editor?: string; - /** @description The number of Copilot suggestions shown to users in the editor specified during the day specified. */ - suggestions_count?: number; - /** @description The number of Copilot suggestions accepted by users in the editor specified during the day specified. */ - acceptances_count?: number; - /** @description The number of lines of code suggested by Copilot in the editor specified during the day specified. */ - lines_suggested?: number; - /** @description The number of lines of code accepted by users in the editor specified during the day specified. */ - lines_accepted?: number; - /** @description The number of users who were shown Copilot completion suggestions in the editor specified during the day specified. */ - active_users?: number; - [key: string]: unknown; - }[] - | null; - }; - /** @description The security alert number. */ - readonly "alert-number": number; - /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { - /** @description The package's language or package management ecosystem. */ - readonly ecosystem: string; - /** @description The unique package name within its ecosystem. */ - readonly name: string; - }; - /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + target_type?: "global" | "organization" | "enterprise"; + /** @description A description of the code security configuration */ + description?: string; /** - * @description The severity of the vulnerability. + * @description The enablement status of GitHub Advanced Security * @enum {string} */ - readonly severity: "low" | "medium" | "high" | "critical"; - /** @description Conditions that identify vulnerable versions of this vulnerability's package. */ - readonly vulnerable_version_range: string; - /** @description Details pertaining to the package version that patches this vulnerability. */ - readonly first_patched_version: { - /** @description The package version that patches this vulnerability. */ - readonly identifier: string; - } | null; - }; - /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { - /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ - readonly ghsa_id: string; - /** @description The unique CVE ID assigned to the advisory. */ - readonly cve_id: string | null; - /** @description A short, plain text summary of the advisory. */ - readonly summary: string; - /** @description A long-form Markdown-supported description of the advisory. */ - readonly description: string; - /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + advanced_security?: "enabled" | "disabled"; /** - * @description The severity of the advisory. + * @description The enablement status of Dependency Graph * @enum {string} */ - readonly severity: "low" | "medium" | "high" | "critical"; - /** @description Details for the advisory pertaining to the Common Vulnerability Scoring System. */ - readonly cvss: { - /** @description The overall CVSS score of the advisory. */ - readonly score: number; - /** @description The full CVSS vector string for the advisory. */ - readonly vector_string: string | null; + dependency_graph?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Automatic dependency submission + * @enum {string} + */ + dependency_graph_autosubmit_action?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for Automatic dependency submission */ + dependency_graph_autosubmit_action_options?: { + /** @description Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. */ + labeled_runners?: boolean; }; - /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { - /** @description The unique CWE ID. */ - readonly cwe_id: string; - /** @description The short, plain text name of the CWE. */ - readonly name: string; - }[]; - /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { - /** - * @description The type of advisory identifier. - * @enum {string} - */ - readonly type: "CVE" | "GHSA"; - /** @description The value of the advisory identifer. */ - readonly value: string; - }[]; - /** @description Links to additional advisory information. */ - readonly references: readonly { + /** + * @description The enablement status of Dependabot alerts + * @enum {string} + */ + dependabot_alerts?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Dependabot security updates + * @enum {string} + */ + dependabot_security_updates?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of code scanning default setup + * @enum {string} + */ + code_scanning_default_setup?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for code scanning default setup */ + code_scanning_default_setup_options?: { /** - * Format: uri - * @description The URL of the reference. + * @description Whether to use labeled runners or standard GitHub runners. + * @enum {string|null} */ - readonly url: string; - }[]; + runner_type?: "standard" | "labeled" | "not_set" | null; + /** @description The label of the runner to use for code scanning when runner_type is 'labeled'. */ + runner_label?: string | null; + } | null; /** - * Format: date-time - * @description The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + * @description The enablement status of secret scanning + * @enum {string} */ - readonly published_at: string; + secret_scanning?: "enabled" | "disabled" | "not_set"; /** - * Format: date-time - * @description The time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + * @description The enablement status of secret scanning push protection + * @enum {string} */ - readonly updated_at: string; + secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; /** - * Format: date-time - * @description The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + * @description The enablement status of secret scanning delegated bypass + * @enum {string} */ - readonly withdrawn_at: string | null; + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; + /** + * @description The enablement status of secret scanning validity checks + * @enum {string} + */ + secret_scanning_validity_checks?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning non-provider patterns + * @enum {string} + */ + secret_scanning_non_provider_patterns?: + | "enabled" + | "disabled" + | "not_set"; + /** + * @description The enablement status of private vulnerability reporting + * @enum {string} + */ + private_vulnerability_reporting?: "enabled" | "disabled" | "not_set"; + /** + * @description The enforcement status for a security configuration + * @enum {string} + */ + enforcement?: "enforced" | "unenforced"; + /** + * Format: uri + * @description The URL of the configuration + */ + url?: string; + /** + * Format: uri + * @description The URL of the configuration + */ + html_url?: string; + /** Format: date-time */ + created_at?: string; + /** Format: date-time */ + updated_at?: string; }; - /** - * Format: uri - * @description The REST API URL of the alert resource. - */ - readonly "alert-url": string; - /** - * Format: uri - * @description The GitHub URL of the alert resource. - */ - readonly "alert-html-url": string; - /** - * Format: date-time - * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - readonly "alert-created-at": string; - /** - * Format: date-time - * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - readonly "alert-updated-at": string; - /** - * Format: date-time - * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - readonly "alert-dismissed-at": string | null; - /** - * Format: date-time - * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - readonly "alert-fixed-at": string | null; - /** - * Format: date-time - * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - readonly "alert-auto-dismissed-at": string | null; + /** @description Feature options for code scanning default setup */ + "code-scanning-default-setup-options": { + /** + * @description Whether to use labeled runners or standard GitHub runners. + * @enum {string} + */ + runner_type?: "standard" | "labeled" | "not_set"; + /** @description The label of the runner to use for code scanning default setup when runner_type is 'labeled'. */ + runner_label?: string | null; + } | null; + /** @description A list of default code security configurations */ + "code-security-default-configurations": { + /** + * @description The visibility of newly created repositories for which the code security configuration will be applied to by default + * @enum {unknown} + */ + default_for_new_repos?: "public" | "private_and_internal" | "all"; + configuration?: components["schemas"]["code-security-configuration"]; + }[]; /** * Simple Repository * @description A GitHub repository. */ "simple-repository": { /** + * Format: int64 * @description A unique identifier of the repository. * @example 1296269 */ @@ -11625,6 +12461,149 @@ export interface components { */ hooks_url: string; }; + /** @description Repositories associated with a code security configuration and attachment status */ + "code-security-configuration-repositories": { + /** + * @description The attachment status of the code security configuration on the repository. + * @enum {string} + */ + status?: + | "attached" + | "attaching" + | "detached" + | "removed" + | "enforced" + | "failed" + | "updating" + | "removed_by_enterprise"; + repository?: components["schemas"]["simple-repository"]; + }; + /** @description The security alert number. */ + readonly "alert-number": number; + /** @description Details for the vulnerable package. */ + readonly "dependabot-alert-package": { + /** @description The package's language or package management ecosystem. */ + readonly ecosystem: string; + /** @description The unique package name within its ecosystem. */ + readonly name: string; + }; + /** @description Details pertaining to one vulnerable version range for the advisory. */ + readonly "dependabot-alert-security-vulnerability": { + readonly package: components["schemas"]["dependabot-alert-package"]; + /** + * @description The severity of the vulnerability. + * @enum {string} + */ + readonly severity: "low" | "medium" | "high" | "critical"; + /** @description Conditions that identify vulnerable versions of this vulnerability's package. */ + readonly vulnerable_version_range: string; + /** @description Details pertaining to the package version that patches this vulnerability. */ + readonly first_patched_version: { + /** @description The package version that patches this vulnerability. */ + readonly identifier: string; + } | null; + }; + /** @description Details for the GitHub Security Advisory. */ + readonly "dependabot-alert-security-advisory": { + /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ + readonly ghsa_id: string; + /** @description The unique CVE ID assigned to the advisory. */ + readonly cve_id: string | null; + /** @description A short, plain text summary of the advisory. */ + readonly summary: string; + /** @description A long-form Markdown-supported description of the advisory. */ + readonly description: string; + /** @description Vulnerable version range information for the advisory. */ + readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + /** + * @description The severity of the advisory. + * @enum {string} + */ + readonly severity: "low" | "medium" | "high" | "critical"; + /** @description Details for the advisory pertaining to the Common Vulnerability Scoring System. */ + readonly cvss: { + /** @description The overall CVSS score of the advisory. */ + readonly score: number; + /** @description The full CVSS vector string for the advisory. */ + readonly vector_string: string | null; + }; + readonly cvss_severities?: components["schemas"]["cvss-severities"]; + /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ + readonly cwes: readonly { + /** @description The unique CWE ID. */ + readonly cwe_id: string; + /** @description The short, plain text name of the CWE. */ + readonly name: string; + }[]; + /** @description Values that identify this advisory among security information sources. */ + readonly identifiers: readonly { + /** + * @description The type of advisory identifier. + * @enum {string} + */ + readonly type: "CVE" | "GHSA"; + /** @description The value of the advisory identifer. */ + readonly value: string; + }[]; + /** @description Links to additional advisory information. */ + readonly references: readonly { + /** + * Format: uri + * @description The URL of the reference. + */ + readonly url: string; + }[]; + /** + * Format: date-time + * @description The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly published_at: string; + /** + * Format: date-time + * @description The time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly updated_at: string; + /** + * Format: date-time + * @description The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly withdrawn_at: string | null; + }; + /** + * Format: uri + * @description The REST API URL of the alert resource. + */ + readonly "alert-url": string; + /** + * Format: uri + * @description The GitHub URL of the alert resource. + */ + readonly "alert-html-url": string; + /** + * Format: date-time + * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly "alert-created-at": string; + /** + * Format: date-time + * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly "alert-updated-at": string; + /** + * Format: date-time + * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly "alert-dismissed-at": string | null; + /** + * Format: date-time + * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly "alert-fixed-at": string | null; + /** + * Format: date-time + * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly "alert-auto-dismissed-at": string | null; /** @description A Dependabot alert. */ "dependabot-alert-with-repository": { number: components["schemas"]["alert-number"]; @@ -11712,7 +12691,7 @@ export interface components { secret_type?: string; /** * @description User-friendly name for the detected secret, matching the `secret_type`. - * For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + * For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ secret_type_display_name?: string; /** @description The secret that was detected. */ @@ -11726,6 +12705,16 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ push_protection_bypassed_at?: string | null; + push_protection_bypass_request_reviewer?: components["schemas"]["nullable-simple-user"]; + /** @description An optional comment when reviewing a push protection bypass. */ + push_protection_bypass_request_reviewer_comment?: string | null; + /** @description An optional comment when requesting a push protection bypass. */ + push_protection_bypass_request_comment?: string | null; + /** + * Format: uri + * @description The URL to a push protection bypass request. + */ + push_protection_bypass_request_html_url?: string | null; /** @description The comment that was optionally added when this alert was closed */ resolution_comment?: string | null; /** @@ -11733,6 +12722,10 @@ export interface components { * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or enterprise. */ + multi_repo?: boolean | null; }; /** * Actor @@ -11834,6 +12827,8 @@ export interface components { slug?: string; /** @example MDExOkludGVncmF0aW9uMQ== */ node_id: string; + /** @example "Iv1.25b5d1e65ffc4022" */ + client_id?: string; owner: components["schemas"]["nullable-simple-user"]; /** * @description The name of the GitHub app @@ -11890,8 +12885,6 @@ export interface components { * @example 5 */ installations_count?: number; - /** @example "Iv1.25b5d1e65ffc4022" */ - client_id?: string; /** @example "1d4b2097ac622ba702d19de498f005747a8b21d3" */ client_secret?: string; /** @example "6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b" */ @@ -11928,6 +12921,12 @@ export interface components { eyes: number; rocket: number; }; + /** Sub-issues Summary */ + "sub-issues-summary": { + total: number; + completed: number; + percent_completed: number; + }; /** * Issue * @description Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -12035,6 +13034,7 @@ export interface components { performed_via_github_app?: components["schemas"]["nullable-integration"]; author_association: components["schemas"]["author-association"]; reactions?: components["schemas"]["reaction-rollup"]; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; }; /** * Issue Comment @@ -12194,6 +13194,11 @@ export interface components { language?: string; raw_url?: string; size?: number; + /** + * @description The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported. + * @default utf-8 + */ + encoding?: string; }; }; public: boolean; @@ -12203,6 +13208,7 @@ export interface components { updated_at: string; description: string | null; comments: number; + comments_enabled?: boolean; user: components["schemas"]["nullable-simple-user"]; /** Format: uri */ comments_url: string; @@ -12217,7 +13223,9 @@ export interface components { */ "public-user": { login: string; + /** Format: int64 */ id: number; + user_view_type?: string; node_id: string; /** Format: uri */ avatar_url: string; @@ -12248,6 +13256,8 @@ export interface components { location: string | null; /** Format: email */ email: string | null; + /** Format: email */ + notification_email?: string | null; hireable: boolean | null; bio: string | null; twitter_username?: string | null; @@ -12265,8 +13275,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; /** @example 1 */ private_gists?: number; /** @example 2 */ @@ -12350,6 +13358,7 @@ export interface components { updated_at: string; description: string | null; comments: number; + comments_enabled?: boolean; user: components["schemas"]["nullable-simple-user"]; /** Format: uri */ comments_url: string; @@ -12375,6 +13384,11 @@ export interface components { size?: number; truncated?: boolean; content?: string; + /** + * @description The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported. + * @default utf-8 + */ + encoding?: string; } | null; }; public?: boolean; @@ -12382,6 +13396,7 @@ export interface components { updated_at?: string; description?: string | null; comments?: number; + comments_enabled?: boolean; user?: string | null; comments_url?: string; owner?: components["schemas"]["simple-user"]; @@ -12717,18 +13732,49 @@ export interface components { * ] */ actions?: string[]; + /** + * @example [ + * "192.0.2.1" + * ] + */ + actions_macos?: string[]; + /** + * @example [ + * "192.0.2.1" + * ] + */ + codespaces?: string[]; /** * @example [ * "192.0.2.1" * ] */ dependabot?: string[]; + /** + * @example [ + * "192.0.2.1" + * ] + */ + copilot?: string[]; domains?: { website?: string[]; codespaces?: string[]; copilot?: string[]; packages?: string[]; actions?: string[]; + actions_inbound?: { + full_domains?: string[]; + wildcard_domains?: string[]; + }; + artifact_attestations?: { + /** + * @example [ + * "example" + * ] + */ + trust_domain?: string; + services?: string[]; + }; }; }; "security-and-analysis": { @@ -12752,13 +13798,24 @@ export interface components { /** @enum {string} */ status?: "enabled" | "disabled"; }; + secret_scanning_non_provider_patterns?: { + /** @enum {string} */ + status?: "enabled" | "disabled"; + }; + secret_scanning_ai_detection?: { + /** @enum {string} */ + status?: "enabled" | "disabled"; + }; } | null; /** * Minimal Repository * @description Minimal Repository */ "minimal-repository": { - /** @example 1296269 */ + /** + * Format: int64 + * @example 1296269 + */ id: number; /** @example MDEwOlJlcG9zaXRvcnkxMjk2MjY5 */ node_id: string; @@ -13054,6 +14111,32 @@ export interface components { /** @example A great organization */ description: string | null; }; + "billing-usage-report": { + usageItems?: { + /** @description Date of the usage line item. */ + date: string; + /** @description Product name. */ + product: string; + /** @description SKU name. */ + sku: string; + /** @description Quantity of the usage line item. */ + quantity: number; + /** @description Unit type of the usage line item. */ + unitType: string; + /** @description Price per unit of the usage line item. */ + pricePerUnit: number; + /** @description Gross amount of the usage line item. */ + grossAmount: number; + /** @description Discount amount of the usage line item. */ + discountAmount: number; + /** @description Net amount of the usage line item. */ + netAmount: number; + /** @description Name of the organization. */ + organizationName: string; + /** @description Name of the repository. */ + repositoryName?: string; + }[]; + }; /** * Organization Full * @description Organization Full @@ -13139,7 +14222,12 @@ export interface components { private_gists?: number | null; /** @example 10000 */ disk_usage?: number | null; - /** @example 8 */ + /** + * @description The number of collaborators on private repositories. + * + * This field may be null if the number of private repositories is over 50,000. + * @example 8 + */ collaborators?: number | null; /** * Format: email @@ -13177,47 +14265,60 @@ export interface components { /** @example false */ web_commit_signoff_required?: boolean; /** - * @description Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. * * This field is only visible to organization owners or members of a team with the security manager role. * @example false */ advanced_security_enabled_for_new_repositories?: boolean; /** - * @description Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to - * this organization. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * * This field is only visible to organization owners or members of a team with the security manager role. * @example false */ dependabot_alerts_enabled_for_new_repositories?: boolean; /** - * @description Whether dependabot security updates are automatically enabled for new repositories and repositories transferred - * to this organization. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * * This field is only visible to organization owners or members of a team with the security manager role. * @example false */ dependabot_security_updates_enabled_for_new_repositories?: boolean; /** - * @description Whether dependency graph is automatically enabled for new repositories and repositories transferred to this - * organization. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * * This field is only visible to organization owners or members of a team with the security manager role. * @example false */ dependency_graph_enabled_for_new_repositories?: boolean; /** - * @description Whether secret scanning is automatically enabled for new repositories and repositories transferred to this - * organization. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * * This field is only visible to organization owners or members of a team with the security manager role. * @example false */ secret_scanning_enabled_for_new_repositories?: boolean; /** - * @description Whether secret scanning push protection is automatically enabled for new repositories and repositories - * transferred to this organization. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * * This field is only visible to organization owners or members of a team with the security manager role. * @example false @@ -13242,6 +14343,11 @@ export interface components { updated_at: string; /** Format: date-time */ archived_at: string | null; + /** + * @description Controls whether or not deploy keys may be added and used for repositories in the organization. + * @example false + */ + deploy_keys_enabled_for_repositories?: boolean; }; "actions-cache-usage-org-enterprise": { /** @description The count of active caches across all repositories of an enterprise or an organization. */ @@ -13310,7 +14416,8 @@ export interface components { /** * @description Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`. * - * **Note**: The `patterns_allowed` setting only applies to public repositories. + * > [!NOTE] + * > The `patterns_allowed` setting only applies to public repositories. */ patterns_allowed?: string[]; }; @@ -13329,6 +14436,31 @@ export interface components { default_workflow_permissions?: components["schemas"]["actions-default-workflow-permissions"]; can_approve_pull_request_reviews?: components["schemas"]["actions-can-approve-pull-request-reviews"]; }; + "runner-groups-org": { + id: number; + name: string; + visibility: string; + default: boolean; + /** @description Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ + selected_repositories_url?: string; + runners_url: string; + hosted_runners_url?: string; + inherited: boolean; + inherited_allows_public_repositories?: boolean; + allows_public_repositories: boolean; + /** + * @description If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. + * @default false + */ + workflow_restrictions_read_only?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; /** * Self hosted runner label * @description A label for a self hosted runner @@ -13542,18 +14674,18 @@ export interface components { readonly "alert-instances-url": string; /** * @description State of a code scanning alert. - * @enum {string} + * @enum {string|null} */ - "code-scanning-alert-state": "open" | "dismissed" | "fixed"; + "code-scanning-alert-state": "open" | "dismissed" | "fixed" | null; /** * @description **Required when the state is dismissed.** The reason for dismissing or closing the alert. * @enum {string|null} */ "code-scanning-alert-dismissed-reason": - | null | "false positive" | "won't fix" - | "used in tests"; + | "used in tests" + | null; /** @description The dismissal comment associated with the dismissal of the alert. */ "code-scanning-alert-dismissed-comment": string | null; "code-scanning-alert-rule-summary": { @@ -13561,8 +14693,6 @@ export interface components { id?: string | null; /** @description The name of the rule used to detect the alert. */ name?: string; - /** @description A set of tags applicable for the rule. */ - tags?: string[] | null; /** * @description The severity of the alert. * @enum {string|null} @@ -13575,6 +14705,14 @@ export interface components { security_severity_level?: "low" | "medium" | "high" | "critical" | null; /** @description A short description of the rule used to detect the alert. */ description?: string; + /** @description A description of the rule used to detect the alert. */ + full_description?: string; + /** @description A set of tags applicable for the rule. */ + tags?: string[] | null; + /** @description Detailed documentation for the rule as GitHub Flavored Markdown. */ + help?: string | null; + /** @description A link to the documentation for the rule used to detect the alert. */ + help_uri?: string | null; }; /** @description The version of the tool used to generate the code scanning analysis. */ "code-scanning-analysis-tool-version": string | null; @@ -13695,7 +14833,10 @@ export interface components { * @description A codespace. */ codespace: { - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; /** * @description Automatically generated name of this codespace. @@ -13936,8 +15077,8 @@ export interface components { inactive_this_cycle?: number; }; /** - * Copilot Business Organization Details - * @description Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + * Copilot Organization Details + * @description Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. */ "copilot-organization-details": { seat_breakdown: components["schemas"]["copilot-seat-breakdown"]; @@ -13970,8 +15111,52 @@ export interface components { | "assign_selected" | "disabled" | "unconfigured"; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; [key: string]: unknown; }; + /** + * Organization Simple + * @description A GitHub organization. + */ + "nullable-organization-simple": { + /** @example github */ + login: string; + /** @example 1 */ + id: number; + /** @example MDEyOk9yZ2FuaXphdGlvbjE= */ + node_id: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github + */ + url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/repos + */ + repos_url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/events + */ + events_url: string; + /** @example https://api.github.com/orgs/github/hooks */ + hooks_url: string; + /** @example https://api.github.com/orgs/github/issues */ + issues_url: string; + /** @example https://api.github.com/orgs/github/members{/member} */ + members_url: string; + /** @example https://api.github.com/orgs/github/public_members{/member} */ + public_members_url: string; + /** @example https://github.com/images/error/octocat_happy.gif */ + avatar_url: string; + /** @example A great organization */ + description: string | null; + } | null; /** * Team Simple * @description Groups of organization members that gives permissions on specified repositories. @@ -14068,99 +15253,43 @@ export interface components { parent: components["schemas"]["nullable-team-simple"]; }; /** - * Organization - * @description GitHub account for managing multiple users, teams, and repositories + * Enterprise Team + * @description Group of enterprise owners and/or members */ - organization: { - /** - * @description Unique login name of the organization - * @example new-org - */ - login: string; - /** - * Format: uri - * @description URL for the organization - * @example https://api.github.com/orgs/github - */ - url: string; + "enterprise-team": { + /** Format: int64 */ id: number; - node_id: string; - /** Format: uri */ - repos_url: string; + name: string; + slug: string; /** Format: uri */ - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string | null; + url: string; + /** @example disabled | all */ + sync_to_organizations: string; + /** @example 62ab9291-fae2-468e-974b-7e45096d5021 */ + group_id?: string | null; /** * Format: uri - * @description Display blog url for the organization - * @example blog.example-org.com + * @example https://github.com/enterprises/dc/teams/justice-league */ - blog?: string; - /** Format: uri */ html_url: string; - /** - * @description Display name for the organization - * @example New Org - */ - name?: string; - /** - * @description Display company name for the organization - * @example Acme corporation - */ - company?: string; - /** - * @description Display location for the organization - * @example Berlin, Germany - */ - location?: string; - /** - * Format: email - * @description Display email for the organization - * @example org@example.com - */ - email?: string; - /** @description Specifies if organization projects are enabled for this org */ - has_organization_projects: boolean; - /** @description Specifies if repository projects are enabled for repositories that belong to this org */ - has_repository_projects: boolean; - is_verified?: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - type: string; + members_url: string; /** Format: date-time */ created_at: string; /** Format: date-time */ updated_at: string; - plan?: { - name?: string; - space?: number; - private_repos?: number; - filled_seats?: number; - seats?: number; - }; }; /** * Copilot Business Seat Detail * @description Information about a Copilot Business seat assignment for a user, team, or organization. */ "copilot-seat-details": { - /** @description The assignee that has been granted access to GitHub Copilot. */ - assignee: { - [key: string]: unknown; - } & ( - | components["schemas"]["simple-user"] + assignee: components["schemas"]["simple-user"]; + organization?: components["schemas"]["nullable-organization-simple"]; + /** @description The team through which the assignee is granted access to GitHub Copilot, if applicable. */ + assigning_team?: | components["schemas"]["team"] - | components["schemas"]["organization"] - ); - /** @description The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually. */ - assigning_team?: components["schemas"]["team"] | null; + | components["schemas"]["enterprise-team"] + | null; /** * Format: date * @description The pending cancellation date for the seat, in `YYYY-MM-DD` format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle. @@ -14180,9 +15309,202 @@ export interface components { created_at: string; /** * Format: date-time - * @description Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. + * @deprecated + * @description **Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. */ updated_at?: string; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; + }; + /** @description Usage metrics for Copilot editor code completions in the IDE. */ + "copilot-ide-code-completions": { + /** @description Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances. */ + total_engaged_users?: number; + /** @description Code completion metrics for active languages. */ + languages?: { + /** @description Name of the language used for Copilot code completion suggestions. */ + name?: string; + /** @description Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances. */ + total_engaged_users?: number; + }[]; + editors?: { + /** @description Name of the given editor. */ + name?: string; + /** @description Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances. */ + total_engaged_users?: number; + /** @description List of model metrics for custom models and the default model. */ + models?: { + /** @description Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. */ + name?: string; + /** @description Indicates whether a model is custom or default. */ + is_custom_model?: boolean; + /** @description The training date for the custom model. */ + custom_model_training_date?: string | null; + /** @description Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances. */ + total_engaged_users?: number; + /** @description Code completion metrics for active languages, for the given editor. */ + languages?: { + /** @description Name of the language used for Copilot code completion suggestions, for the given editor. */ + name?: string; + /** @description Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances. */ + total_engaged_users?: number; + /** @description The number of Copilot code suggestions generated for the given editor, for the given language. */ + total_code_suggestions?: number; + /** @description The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances. */ + total_code_acceptances?: number; + /** @description The number of lines of code suggested by Copilot code completions for the given editor, for the given language. */ + total_code_lines_suggested?: number; + /** @description The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language. */ + total_code_lines_accepted?: number; + }[]; + }[]; + [key: string]: unknown; + }[]; + [key: string]: unknown; + } | null; + /** @description Usage metrics for Copilot Chat in the IDE. */ + "copilot-ide-chat": { + /** @description Total number of users who prompted Copilot Chat in the IDE. */ + total_engaged_users?: number; + editors?: { + /** @description Name of the given editor. */ + name?: string; + /** @description The number of users who prompted Copilot Chat in the specified editor. */ + total_engaged_users?: number; + /** @description List of model metrics for custom models and the default model. */ + models?: { + /** @description Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. */ + name?: string; + /** @description Indicates whether a model is custom or default. */ + is_custom_model?: boolean; + /** @description The training date for the custom model. */ + custom_model_training_date?: string | null; + /** @description The number of users who prompted Copilot Chat in the given editor and model. */ + total_engaged_users?: number; + /** @description The total number of chats initiated by users in the given editor and model. */ + total_chats?: number; + /** @description The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor. */ + total_chat_insertion_events?: number; + /** @description The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor. */ + total_chat_copy_events?: number; + }[]; + }[]; + [key: string]: unknown; + } | null; + /** @description Usage metrics for Copilot Chat in github.com */ + "copilot-dotcom-chat": { + /** @description Total number of users who prompted Copilot Chat on github.com at least once. */ + total_engaged_users?: number; + /** @description List of model metrics for a custom models and the default model. */ + models?: { + /** @description Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. */ + name?: string; + /** @description Indicates whether a model is custom or default. */ + is_custom_model?: boolean; + /** @description The training date for the custom model (if applicable). */ + custom_model_training_date?: string | null; + /** @description Total number of users who prompted Copilot Chat on github.com at least once for each model. */ + total_engaged_users?: number; + /** @description Total number of chats initiated by users on github.com. */ + total_chats?: number; + }[]; + [key: string]: unknown; + } | null; + /** @description Usage metrics for Copilot for pull requests. */ + "copilot-dotcom-pull-requests": { + /** @description The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once. */ + total_engaged_users?: number; + /** @description Repositories in which users used Copilot for Pull Requests to generate pull request summaries */ + repositories?: { + /** @description Repository name */ + name?: string; + /** @description The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository. */ + total_engaged_users?: number; + /** @description List of model metrics for custom models and the default model. */ + models?: { + /** @description Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'. */ + name?: string; + /** @description Indicates whether a model is custom or default. */ + is_custom_model?: boolean; + /** @description The training date for the custom model. */ + custom_model_training_date?: string | null; + /** @description The number of pull request summaries generated using Copilot for Pull Requests in the given repository. */ + total_pr_summaries_created?: number; + /** @description The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model. */ + total_engaged_users?: number; + }[]; + }[]; + [key: string]: unknown; + } | null; + /** + * Copilot Usage Metrics + * @description Copilot usage metrics for a given day. + */ + "copilot-usage-metrics-day": { + /** + * Format: date + * @description The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format. + */ + date: string; + /** @description The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint. */ + total_active_users?: number; + /** @description The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint. */ + total_engaged_users?: number; + copilot_ide_code_completions?: components["schemas"]["copilot-ide-code-completions"]; + copilot_ide_chat?: components["schemas"]["copilot-ide-chat"]; + copilot_dotcom_chat?: components["schemas"]["copilot-dotcom-chat"]; + copilot_dotcom_pull_requests?: components["schemas"]["copilot-dotcom-pull-requests"]; + [key: string]: unknown; + }; + /** + * Copilot Usage Metrics + * @description Summary of Copilot usage. + */ + "copilot-usage-metrics": { + /** + * Format: date + * @description The date for which the usage metrics are reported, in `YYYY-MM-DD` format. + */ + day: string; + /** @description The total number of Copilot code completion suggestions shown to users. */ + total_suggestions_count?: number; + /** @description The total number of Copilot code completion suggestions accepted by users. */ + total_acceptances_count?: number; + /** @description The total number of lines of code completions suggested by Copilot. */ + total_lines_suggested?: number; + /** @description The total number of lines of code completions accepted by users. */ + total_lines_accepted?: number; + /** @description The total number of users who were shown Copilot code completion suggestions during the day specified. */ + total_active_users?: number; + /** @description The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline). */ + total_chat_acceptances?: number; + /** @description The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE. */ + total_chat_turns?: number; + /** @description The total number of users who interacted with Copilot Chat in the IDE during the day specified. */ + total_active_chat_users?: number; + /** @description Breakdown of Copilot code completions usage by language and editor */ + breakdown: + | { + /** @description The language in which Copilot suggestions were shown to users in the specified editor. */ + language?: string; + /** @description The editor in which Copilot suggestions were shown to users for the specified language. */ + editor?: string; + /** @description The number of Copilot suggestions shown to users in the editor specified during the day specified. */ + suggestions_count?: number; + /** @description The number of Copilot suggestions accepted by users in the editor specified during the day specified. */ + acceptances_count?: number; + /** @description The number of lines of code suggested by Copilot in the editor specified during the day specified. */ + lines_suggested?: number; + /** @description The number of lines of code accepted by users in the editor specified during the day specified. */ + lines_accepted?: number; + /** @description The number of users who were shown Copilot completion suggestions in the editor specified during the day specified. */ + active_users?: number; + [key: string]: unknown; + }[] + | null; }; /** * Dependabot Secret for an Organization @@ -14230,7 +15552,10 @@ export interface components { * @description Minimal Repository */ "nullable-minimal-repository": { - /** @example 1296269 */ + /** + * Format: int64 + * @example 1296269 + */ id: number; /** @example MDEwOlJlcG9zaXRvcnkxMjk2MjY5 */ node_id: string; @@ -14488,6 +15813,7 @@ export interface components { * @description Organization Invitation */ "organization-invitation": { + /** Format: int64 */ id: number; login: string | null; email: string | null; @@ -14559,6 +15885,87 @@ export interface components { created_at: string; type: string; }; + /** + * Route Stats + * @description API Insights usage route stats for an actor + */ + "api-insights-route-stats": { + /** @description The HTTP method */ + http_method?: string; + /** @description The API path's route template */ + api_route?: string; + /** + * Format: int64 + * @description The total number of requests within the queried time period + */ + total_request_count?: number; + /** + * Format: int64 + * @description The total number of requests that were rate limited within the queried time period + */ + rate_limited_request_count?: number; + last_rate_limited_timestamp?: string | null; + last_request_timestamp?: string; + }[]; + /** + * Subject Stats + * @description API Insights usage subject stats for an organization + */ + "api-insights-subject-stats": { + subject_type?: string; + subject_name?: string; + /** Format: int64 */ + subject_id?: number; + total_request_count?: number; + rate_limited_request_count?: number; + last_rate_limited_timestamp?: string | null; + last_request_timestamp?: string; + }[]; + /** + * Summary Stats + * @description API Insights usage summary stats for an organization + */ + "api-insights-summary-stats": { + /** + * Format: int64 + * @description The total number of requests within the queried time period + */ + total_request_count?: number; + /** + * Format: int64 + * @description The total number of requests that were rate limited within the queried time period + */ + rate_limited_request_count?: number; + }; + /** + * Time Stats + * @description API Insights usage time stats for an organization + */ + "api-insights-time-stats": { + timestamp?: string; + /** Format: int64 */ + total_request_count?: number; + /** Format: int64 */ + rate_limited_request_count?: number; + }[]; + /** + * User Stats + * @description API Insights usage stats for a user + */ + "api-insights-user-stats": { + actor_type?: string; + actor_name?: string; + /** Format: int64 */ + actor_id?: number; + /** Format: int64 */ + integration_id?: number | null; + /** Format: int64 */ + oauth_application_id?: number | null; + total_request_count?: number; + rate_limited_request_count?: number; + last_rate_limited_timestamp?: string | null; + last_request_timestamp?: string; + }[]; /** * @description The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. * @example collaborators_only @@ -14639,7 +16046,10 @@ export interface components { * @description A migration. */ migration: { - /** @example 79 */ + /** + * Format: int64 + * @example 79 + */ id: number; owner: components["schemas"]["nullable-simple-user"]; /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ @@ -14677,25 +16087,30 @@ export interface components { /** @description Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. */ exclude?: string[]; }; - /** - * Organization Fine-Grained Permission - * @description A fine-grained permission that protects organization resources. - */ - "organization-fine-grained-permission": { - name: string; - description: string; - }; /** * Organization Role * @description Organization roles */ "organization-role": { - /** @description The unique identifier of the role. */ + /** + * Format: int64 + * @description The unique identifier of the role. + */ id: number; /** @description The name of the role. */ name: string; /** @description A short description about who this role is for or what permissions it grants. */ description?: string | null; + /** + * @description The system role from which this role inherits permissions. + * @enum {string|null} + */ + base_role?: "read" | "triage" | "write" | "maintain" | "admin" | null; + /** + * @description Source answers the question, "where did this role come from?" + * @enum {string|null} + */ + source?: "Organization" | "Enterprise" | "Predefined" | null; /** @description A list of permissions included in this role. */ permissions: string[]; organization: components["schemas"]["nullable-simple-user"]; @@ -14710,6 +16125,186 @@ export interface components { */ updated_at: string; }; + /** + * A Role Assignment for a Team + * @description The Relationship a Team has with a role. + */ + "team-role-assignment": { + /** + * @description Determines if the team has a direct, indirect, or mixed relationship to a role + * @example direct + * @enum {string} + */ + assignment?: "direct" | "indirect" | "mixed"; + id: number; + node_id: string; + name: string; + slug: string; + description: string | null; + privacy?: string; + notification_setting?: string; + permission: string; + permissions?: { + pull: boolean; + triage: boolean; + push: boolean; + maintain: boolean; + admin: boolean; + }; + /** Format: uri */ + url: string; + /** + * Format: uri + * @example https://github.com/orgs/rails/teams/core + */ + html_url: string; + members_url: string; + /** Format: uri */ + repositories_url: string; + parent: components["schemas"]["nullable-team-simple"]; + }; + /** + * Team Simple + * @description Groups of organization members that gives permissions on specified repositories. + */ + "team-simple": { + /** + * @description Unique identifier of the team + * @example 1 + */ + id: number; + /** @example MDQ6VGVhbTE= */ + node_id: string; + /** + * Format: uri + * @description URL for the team + * @example https://api.github.com/organizations/1/team/1 + */ + url: string; + /** @example https://api.github.com/organizations/1/team/1/members{/member} */ + members_url: string; + /** + * @description Name of the team + * @example Justice League + */ + name: string; + /** + * @description Description of the team + * @example A great team. + */ + description: string | null; + /** + * @description Permission that the team will have for its repositories + * @example admin + */ + permission: string; + /** + * @description The level of privacy this team should have + * @example closed + */ + privacy?: string; + /** + * @description The notification setting the team has set + * @example notifications_enabled + */ + notification_setting?: string; + /** + * Format: uri + * @example https://github.com/orgs/rails/teams/core + */ + html_url: string; + /** + * Format: uri + * @example https://api.github.com/organizations/1/team/1/repos + */ + repositories_url: string; + /** @example justice-league */ + slug: string; + /** + * @description Distinguished Name (DN) that team maps to within LDAP environment + * @example uid=example,ou=users,dc=github,dc=com + */ + ldap_dn?: string; + }; + /** + * A Role Assignment for a User + * @description The Relationship a User has with a role. + */ + "user-role-assignment": { + /** + * @description Determines if the user has a direct, indirect, or mixed relationship to a role + * @example direct + * @enum {string} + */ + assignment?: "direct" | "indirect" | "mixed"; + /** @description Team the user has gotten the role through */ + inherited_from?: components["schemas"]["team-simple"][]; + name?: string | null; + email?: string | null; + /** @example octocat */ + login: string; + /** @example 1 */ + id: number; + /** @example MDQ6VXNlcjE= */ + node_id: string; + /** + * Format: uri + * @example https://github.com/images/error/octocat_happy.gif + */ + avatar_url: string; + /** @example 41d064eb2195891e12d0413f63227ea7 */ + gravatar_id: string | null; + /** + * Format: uri + * @example https://api.github.com/users/octocat + */ + url: string; + /** + * Format: uri + * @example https://github.com/octocat + */ + html_url: string; + /** + * Format: uri + * @example https://api.github.com/users/octocat/followers + */ + followers_url: string; + /** @example https://api.github.com/users/octocat/following{/other_user} */ + following_url: string; + /** @example https://api.github.com/users/octocat/gists{/gist_id} */ + gists_url: string; + /** @example https://api.github.com/users/octocat/starred{/owner}{/repo} */ + starred_url: string; + /** + * Format: uri + * @example https://api.github.com/users/octocat/subscriptions + */ + subscriptions_url: string; + /** + * Format: uri + * @example https://api.github.com/users/octocat/orgs + */ + organizations_url: string; + /** + * Format: uri + * @example https://api.github.com/users/octocat/repos + */ + repos_url: string; + /** @example https://api.github.com/users/octocat/events{/privacy} */ + events_url: string; + /** + * Format: uri + * @example https://api.github.com/users/octocat/received_events + */ + received_events_url: string; + /** @example User */ + type: string; + site_admin: boolean; + /** @example "2020-07-09T00:17:55Z" */ + starred_at?: string; + /** @example public */ + user_view_type?: string; + }; /** * Package Version * @description A version of a software package @@ -14803,6 +16398,10 @@ export interface components { }; /** @description Date and time when the request for access was created. */ created_at: string; + /** @description Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants. */ + token_id: number; + /** @description The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens. */ + token_name: string; /** @description Whether the associated fine-grained personal access token has expired. */ token_expired: boolean; /** @description Date and time when the associated fine-grained personal access token expires. */ @@ -14815,7 +16414,7 @@ export interface components { * @description Minimal representation of an organization programmatic access grant for enumerations */ "organization-programmatic-access-grant": { - /** @description Unique identifier of the fine-grained personal access token. The `pat_id` used to get details about an approved fine-grained personal access token. */ + /** @description Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token. */ id: number; owner: components["schemas"]["simple-user"]; /** @@ -14839,6 +16438,10 @@ export interface components { }; /** @description Date and time when the fine-grained personal access token was approved to access the organization. */ access_granted_at: string; + /** @description Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants. */ + token_id: number; + /** @description The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens. */ + token_name: string; /** @description Whether the associated fine-grained personal access token has expired. */ token_expired: boolean; /** @description Date and time when the associated fine-grained personal access token expires. */ @@ -14846,6 +16449,68 @@ export interface components { /** @description Date and time when the associated fine-grained personal access token was last used for authentication. */ token_last_used_at: string | null; }; + /** + * Organization private registry + * @description Private registry configuration for an organization + */ + "org-private-registry-configuration": { + /** + * @description The name of the private registry configuration. + * @example MAVEN_REPOSITORY_SECRET + */ + name: string; + /** + * @description The registry type. + * @enum {string} + */ + registry_type: "maven_repository"; + /** + * @description The username to use when authenticating with the private registry. + * @example monalisa + */ + username?: string | null; + /** + * @description Which type of organization repositories have access to the private registry. + * @enum {string} + */ + visibility: "all" | "private" | "selected"; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + }; + /** + * Organization private registry + * @description Private registry configuration for an organization + */ + "org-private-registry-configuration-with-selected-repositories": { + /** + * @description The name of the private registry configuration. + * @example MAVEN_REPOSITORY_SECRET + */ + name: string; + /** + * @description The registry type. + * @enum {string} + */ + registry_type: "maven_repository"; + /** + * @description The username to use when authenticating with the private registry. + * @example monalisa + */ + username?: string; + /** + * @description Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry. + * @enum {string} + */ + visibility: "all" | "private" | "selected"; + /** @description An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`. */ + selected_repository_ids?: number[]; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + }; /** * Project * @description Projects are a way to organize columns and cards of work. @@ -14915,15 +16580,26 @@ export interface components { * Organization Custom Property * @description Custom property defined on an organization */ - "org-custom-property": { + "custom-property": { /** @description The name of the property */ property_name: string; + /** + * Format: uri + * @description The URL that can be used to fetch, update, or delete info about this property via the API. + */ + url?: string; + /** + * @description The source type of the property + * @example organization + * @enum {string} + */ + source_type?: "organization" | "enterprise"; /** * @description The type of the value for the property * @example single_select * @enum {string} */ - value_type: "string" | "single_select"; + value_type: "string" | "single_select" | "multi_select" | "true_false"; /** @description Whether the property is required. */ required?: boolean; /** @description Default value of the property */ @@ -14942,6 +16618,29 @@ export interface components { */ values_editable_by?: "org_actors" | "org_and_repo_actors" | null; }; + /** + * Custom Property Set Payload + * @description Custom property set payload + */ + "custom-property-set-payload": { + /** + * @description The type of the value for the property + * @example single_select + * @enum {string} + */ + value_type: "string" | "single_select" | "multi_select" | "true_false"; + /** @description Whether the property is required. */ + required?: boolean; + /** @description Default value of the property */ + default_value?: string | string[] | null; + /** @description Short description of the property */ + description?: string | null; + /** + * @description An ordered list of the allowed values of the property. + * The property can have up to 200 allowed values. + */ + allowed_values?: string[] | null; + }; /** * Custom Property Value * @description Custom property name and associated value @@ -14972,6 +16671,7 @@ export interface components { */ "nullable-repository": { /** + * Format: int64 * @description Unique identifier of the repository * @example 42 */ @@ -15263,7 +16963,7 @@ export interface components { allow_update_branch?: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -15347,7 +17047,10 @@ export interface components { * @description Full Repository */ "full-repository": { - /** @example 1296269 */ + /** + * Format: int64 + * @example 1296269 + */ id: number; /** @example MDEwOlJlcG9zaXRvcnkxMjk2MjY5 */ node_id: string; @@ -15666,7 +17369,6 @@ export interface components { actor_id?: number | null; /** * @description The type of actor that can bypass a ruleset. - * * @enum {string} */ actor_type: @@ -15676,11 +17378,11 @@ export interface components { | "Team" | "DeployKey"; /** - * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. - * + * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets. + * @default always * @enum {string} */ - bypass_mode: "always" | "pull_request"; + bypass_mode?: "always" | "pull_request"; }; /** * Repository ruleset conditions for ref names @@ -15727,6 +17429,11 @@ export interface components { name: string; /** @description The values to match for the repository property */ property_values: string[]; + /** + * @description The source of the repository property. Defaults to 'custom' if not specified. + * @enum {string} + */ + source?: "custom" | "system"; }; /** * Repository ruleset conditions for repository properties @@ -15742,7 +17449,10 @@ export interface components { }; /** * Organization ruleset conditions - * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * @description Conditions for an organization ruleset. + * The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + * The push rulesets conditions object does not require the `ref_name` property. + * For repository policy rulesets, the conditions object should only contain the `repository_name`, the `repository_id`, or the `repository_property`. */ "org-ruleset-conditions": | (components["schemas"]["repository-ruleset-conditions"] & @@ -15787,6 +17497,36 @@ export interface components { /** @enum {string} */ type: "required_linear_history"; }; + /** + * merge_queue + * @description Merges must be performed via a merge queue. + */ + "repository-rule-merge-queue": { + /** @enum {string} */ + type: "merge_queue"; + parameters?: { + /** @description Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed */ + check_response_timeout_minutes: number; + /** + * @description When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. + * @enum {string} + */ + grouping_strategy: "ALLGREEN" | "HEADGREEN"; + /** @description Limit the number of queued pull requests requesting checks and workflow runs at the same time. */ + max_entries_to_build: number; + /** @description The maximum number of PRs that will be merged together in a group. */ + max_entries_to_merge: number; + /** + * @description Method to use when merging changes from queued pull requests. + * @enum {string} + */ + merge_method: "MERGE" | "SQUASH" | "REBASE"; + /** @description The minimum number of PRs that will be merged together in a group. */ + min_entries_to_merge: number; + /** @description The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. */ + min_entries_to_merge_wait_minutes: number; + }; + }; /** * required_deployments * @description Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. @@ -15807,6 +17547,18 @@ export interface components { /** @enum {string} */ type: "required_signatures"; }; + /** + * RequiredReviewerConfiguration + * @description A reviewing team, and file patterns describing which files they must approve changes to. + */ + "repository-rule-params-required-reviewer-configuration": { + /** @description Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use the same syntax as `.gitignore` files. */ + file_patterns: string[]; + /** @description Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional. */ + minimum_approvals: number; + /** @description Node ID of the team which must review changes to matching files. */ + reviewer_id: string; + }; /** * pull_request * @description Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -15815,6 +17567,8 @@ export interface components { /** @enum {string} */ type: "pull_request"; parameters?: { + /** @description When merging pull requests, you can allow any combination of merge commits, squashing, or rebasing. At least one option must be enabled. */ + allowed_merge_methods?: string[]; /** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismiss_stale_reviews_on_push: boolean; /** @description Require an approving review in pull requests that modify files that have a designated code owner. */ @@ -15845,6 +17599,8 @@ export interface components { /** @enum {string} */ type: "required_status_checks"; parameters?: { + /** @description Allow repositories and branches to be created if a check would otherwise prohibit it. */ + do_not_enforce_on_create?: boolean; /** @description Status checks that are required. */ required_status_checks: components["schemas"]["repository-rule-params-status-check-configuration"][]; /** @description Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ @@ -15996,6 +17752,8 @@ export interface components { /** @enum {string} */ type: "workflows"; parameters?: { + /** @description Allow repositories and branches to be created if a check would otherwise prohibit it. */ + do_not_enforce_on_create?: boolean; /** @description Workflows that must pass for this rule to pass. */ workflows: components["schemas"]["repository-rule-params-workflow-file-reference"][]; }; @@ -16023,6 +17781,18 @@ export interface components { /** @description The name of a code scanning tool */ tool: string; }; + /** + * code_scanning + * @description Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. + */ + "repository-rule-code-scanning": { + /** @enum {string} */ + type: "code_scanning"; + parameters?: { + /** @description Tools that must provide code scanning results for this rule to pass. */ + code_scanning_tools: components["schemas"]["repository-rule-params-code-scanning-tool"][]; + }; + }; /** * Repository Rule * @description A repository rule. @@ -16032,6 +17802,7 @@ export interface components { | components["schemas"]["repository-rule-update"] | components["schemas"]["repository-rule-deletion"] | components["schemas"]["repository-rule-required-linear-history"] + | components["schemas"]["repository-rule-merge-queue"] | components["schemas"]["repository-rule-required-deployments"] | components["schemas"]["repository-rule-required-signatures"] | components["schemas"]["repository-rule-pull-request"] @@ -16074,7 +17845,8 @@ export interface components { max_file_size: number; }; } - | components["schemas"]["repository-rule-workflows"]; + | components["schemas"]["repository-rule-workflows"] + | components["schemas"]["repository-rule-code-scanning"]; /** * Repository ruleset * @description A set of rules to apply when specified conditions are met. @@ -16086,16 +17858,14 @@ export interface components { name: string; /** * @description The target of the ruleset - * - * **Note**: The `push` target is in beta and is subject to change. * @enum {string} */ - target?: "branch" | "tag" | "push"; + target?: "branch" | "tag" | "push" | "repository"; /** * @description The type of the source of the ruleset * @enum {string} */ - source_type?: "Repository" | "Organization"; + source_type?: "Repository" | "Organization" | "Enterprise"; /** @description The name of the source */ source: string; enforcement: components["schemas"]["repository-rule-enforcement"]; @@ -16116,7 +17886,7 @@ export interface components { html?: { /** @description The html URL of the ruleset */ href?: string; - }; + } | null; }; conditions?: | ( @@ -16165,7 +17935,7 @@ export interface components { * @description The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. * @enum {string} */ - evaluation_result?: "pass" | "fail"; + evaluation_result?: "pass" | "fail" | "bypass"; }[]; /** * Rule Suite @@ -16199,10 +17969,10 @@ export interface components { */ result?: "pass" | "fail" | "bypass"; /** - * @description The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. - * @enum {string} + * @description The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run. + * @enum {string|null} */ - evaluation_result?: "pass" | "fail"; + evaluation_result?: "pass" | "fail" | "bypass" | null; /** @description Details on the evaluated rules. */ rule_evaluations?: { rule_source?: { @@ -16225,8 +17995,8 @@ export interface components { result?: "pass" | "fail"; /** @description The type of rule. */ rule_type?: string; - /** @description Any associated details with the rule evaluation. */ - details?: string; + /** @description The detailed failure message for the rule. Null if the rule passed. */ + details?: string | null; }[]; }; /** @description A product affected by the vulnerability detailed in a repository security advisory. */ @@ -16335,6 +18105,7 @@ export interface components { /** @description The CVSS score. */ score: number | null; } | null; + cvss_severities?: components["schemas"]["cvss-severities"]; cwes: | readonly { /** @description The Common Weakness Enumeration (CWE) identifier. */ @@ -16362,69 +18133,6 @@ export interface components { /** @description A temporary private fork of the advisory's repository for collaborating on a fix. */ private_fork: components["schemas"]["simple-repository"] | null; }; - /** - * Team Simple - * @description Groups of organization members that gives permissions on specified repositories. - */ - "team-simple": { - /** - * @description Unique identifier of the team - * @example 1 - */ - id: number; - /** @example MDQ6VGVhbTE= */ - node_id: string; - /** - * Format: uri - * @description URL for the team - * @example https://api.github.com/organizations/1/team/1 - */ - url: string; - /** @example https://api.github.com/organizations/1/team/1/members{/member} */ - members_url: string; - /** - * @description Name of the team - * @example Justice League - */ - name: string; - /** - * @description Description of the team - * @example A great team. - */ - description: string | null; - /** - * @description Permission that the team will have for its repositories - * @example admin - */ - permission: string; - /** - * @description The level of privacy this team should have - * @example closed - */ - privacy?: string; - /** - * @description The notification setting the team has set - * @example notifications_enabled - */ - notification_setting?: string; - /** - * Format: uri - * @example https://github.com/orgs/rails/teams/core - */ - html_url: string; - /** - * Format: uri - * @example https://api.github.com/organizations/1/team/1/repos - */ - repositories_url: string; - /** @example justice-league */ - slug: string; - /** - * @description Distinguished Name (DN) that team maps to within LDAP environment - * @example uid=example,ou=users,dc=github,dc=com - */ - ldap_dn?: string; - }; "actions-billing-usage": { /** @description The sum of the free and paid GitHub Actions minutes used. */ total_minutes_used: number; @@ -17215,6 +18923,7 @@ export interface components { */ url: string; /** + * Format: int64 * @description The project card's ID * @example 42 */ @@ -17331,6 +19040,7 @@ export interface components { actions_runner_registration?: components["schemas"]["rate-limit"]; scim?: components["schemas"]["rate-limit"]; dependency_snapshots?: components["schemas"]["rate-limit"]; + code_scanning_autofix?: components["schemas"]["rate-limit"]; }; rate: components["schemas"]["rate-limit"]; }; @@ -17647,6 +19357,7 @@ export interface components { }; /** Pull Request Minimal */ "pull-request-minimal": { + /** Format: int64 */ id: number; number: number; url: string; @@ -17654,6 +19365,7 @@ export interface components { ref: string; sha: string; repo: { + /** Format: int64 */ id: number; url: string; name: string; @@ -17663,6 +19375,7 @@ export interface components { ref: string; sha: string; repo: { + /** Format: int64 */ id: number; url: string; name: string; @@ -17934,6 +19647,7 @@ export interface components { "pending-deployment": { environment: { /** + * Format: int64 * @description The id of the environment. * @example 56780428 */ @@ -17985,6 +19699,7 @@ export interface components { */ url: string; /** + * Format: int64 * @description Unique identifier of the deployment * @example 42 */ @@ -18320,6 +20035,7 @@ export interface components { apps_url: string; users: { login?: string; + /** Format: int64 */ id?: number; node_id?: string; avatar_url?: string; @@ -18337,6 +20053,7 @@ export interface components { received_events_url?: string; type?: string; site_admin?: boolean; + user_view_type?: string; }[]; teams: { id?: number; @@ -18392,8 +20109,11 @@ export interface components { type?: string; /** @example false */ site_admin?: boolean; + /** @example public */ + user_view_type?: string; }; name?: string; + client_id?: string; description?: string; external_url?: string; html_url?: string; @@ -18492,6 +20212,7 @@ export interface components { reason: string; payload: string | null; signature: string | null; + verified_at?: string | null; }; /** * Diff Entry @@ -18587,8 +20308,14 @@ export interface components { }; verification?: components["schemas"]["verification"]; }; - author: components["schemas"]["nullable-simple-user"]; - committer: components["schemas"]["nullable-simple-user"]; + author: + | components["schemas"]["simple-user"] + | components["schemas"]["empty-object"] + | null; + committer: + | components["schemas"]["simple-user"] + | components["schemas"]["empty-object"] + | null; parents: { /** @example 7638417db6d59f3c431d3e1f261cc637155684cd */ sha: string; @@ -18806,6 +20533,7 @@ export interface components { */ "check-run": { /** + * Format: int64 * @description The id of the check. * @example 21 */ @@ -18963,7 +20691,10 @@ export interface components { * @description A suite of checks performed on the code of a given code change */ "check-suite": { - /** @example 5 */ + /** + * Format: int64 + * @example 5 + */ id: number; /** @example MDEwOkNoZWNrU3VpdGU1 */ node_id: string; @@ -19068,7 +20799,7 @@ export interface components { security_severity_level?: "low" | "medium" | "high" | "critical" | null; /** @description A short description of the rule used to detect the alert. */ description?: string; - /** @description description of the rule used to detect the alert. */ + /** @description A description of the rule used to detect the alert. */ full_description?: string; /** @description A set of tags applicable for the rule. */ tags?: string[] | null; @@ -19099,6 +20830,40 @@ export interface components { * @enum {string} */ "code-scanning-alert-set-state": "open" | "dismissed"; + /** + * @description The status of an autofix. + * @enum {string} + */ + "code-scanning-autofix-status": + | "pending" + | "error" + | "success" + | "outdated"; + /** @description The description of an autofix. */ + "code-scanning-autofix-description": string | null; + /** + * Format: date-time + * @description The start time of an autofix in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + readonly "code-scanning-autofix-started-at": string; + "code-scanning-autofix": { + status: components["schemas"]["code-scanning-autofix-status"]; + description: components["schemas"]["code-scanning-autofix-description"]; + started_at: components["schemas"]["code-scanning-autofix-started-at"]; + }; + /** @description Commit an autofix for a code scanning alert */ + "code-scanning-autofix-commits": { + /** @description The Git reference of target branch for the commit. Branch needs to already exist. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. */ + target_ref?: string; + /** @description Commit message to be used. */ + message?: string; + } | null; + "code-scanning-autofix-commits-response": { + /** @description The Git reference of target branch for the commit. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. */ + target_ref?: string; + /** @description SHA of commit with autofix. */ + sha?: string; + }; /** * @description An identifier for the upload. * @example 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -19193,6 +20958,150 @@ export interface components { /** @description The commit SHA of the repository at the time the CodeQL database was created. */ commit_oid?: string | null; }; + /** + * @description The language targeted by the CodeQL query + * @enum {string} + */ + "code-scanning-variant-analysis-language": + | "cpp" + | "csharp" + | "go" + | "java" + | "javascript" + | "python" + | "ruby" + | "swift"; + /** + * Repository Identifier + * @description Repository Identifier + */ + "code-scanning-variant-analysis-repository": { + /** + * @description A unique identifier of the repository. + * @example 1296269 + */ + id: number; + /** + * @description The name of the repository. + * @example Hello-World + */ + name: string; + /** + * @description The full, globally unique, name of the repository. + * @example octocat/Hello-World + */ + full_name: string; + /** @description Whether the repository is private. */ + private: boolean; + /** @example 80 */ + stargazers_count: number; + /** + * Format: date-time + * @example 2011-01-26T19:14:43Z + */ + updated_at: string | null; + }; + /** + * @description The new status of the CodeQL variant analysis repository task. + * @enum {string} + */ + "code-scanning-variant-analysis-status": + | "pending" + | "in_progress" + | "succeeded" + | "failed" + | "canceled" + | "timed_out"; + "code-scanning-variant-analysis-skipped-repo-group": { + /** + * @description The total number of repositories that were skipped for this reason. + * @example 2 + */ + repository_count: number; + /** @description A list of repositories that were skipped. This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. */ + repositories: components["schemas"]["code-scanning-variant-analysis-repository"][]; + }; + /** + * Variant Analysis + * @description A run of a CodeQL query against one or more repositories. + */ + "code-scanning-variant-analysis": { + /** @description The ID of the variant analysis. */ + id: number; + controller_repo: components["schemas"]["simple-repository"]; + actor: components["schemas"]["simple-user"]; + query_language: components["schemas"]["code-scanning-variant-analysis-language"]; + /** @description The download url for the query pack. */ + query_pack_url: string; + /** + * Format: date-time + * @description The date and time at which the variant analysis was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + */ + created_at?: string; + /** + * Format: date-time + * @description The date and time at which the variant analysis was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + */ + updated_at?: string; + /** + * Format: date-time + * @description The date and time at which the variant analysis was completed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the variant analysis has not yet completed or this information is not available. + */ + completed_at?: string | null; + /** @enum {string} */ + status: "in_progress" | "succeeded" | "failed" | "cancelled"; + /** @description The GitHub Actions workflow run used to execute this variant analysis. This is only available if the workflow run has started. */ + actions_workflow_run_id?: number; + /** + * @description The reason for a failure of the variant analysis. This is only available if the variant analysis has failed. + * @enum {string} + */ + failure_reason?: + | "no_repos_queried" + | "actions_workflow_run_failed" + | "internal_error"; + scanned_repositories?: { + repository: components["schemas"]["code-scanning-variant-analysis-repository"]; + analysis_status: components["schemas"]["code-scanning-variant-analysis-status"]; + /** @description The number of results in the case of a successful analysis. This is only available for successful analyses. */ + result_count?: number; + /** @description The size of the artifact. This is only available for successful analyses. */ + artifact_size_in_bytes?: number; + /** @description The reason of the failure of this repo task. This is only available if the repository task has failed. */ + failure_message?: string; + }[]; + /** @description Information about repositories that were skipped from processing. This information is only available to the user that initiated the variant analysis. */ + skipped_repositories?: { + access_mismatch_repos: components["schemas"]["code-scanning-variant-analysis-skipped-repo-group"]; + not_found_repos: { + /** + * @description The total number of repositories that were skipped for this reason. + * @example 2 + */ + repository_count: number; + /** @description A list of full repository names that were skipped. This list may not include all repositories that were skipped. */ + repository_full_names: string[]; + }; + no_codeql_db_repos: components["schemas"]["code-scanning-variant-analysis-skipped-repo-group"]; + over_limit_repos: components["schemas"]["code-scanning-variant-analysis-skipped-repo-group"]; + }; + }; + "code-scanning-variant-analysis-repo-task": { + repository: components["schemas"]["simple-repository"]; + analysis_status: components["schemas"]["code-scanning-variant-analysis-status"]; + /** @description The size of the artifact. This is only available for successful analyses. */ + artifact_size_in_bytes?: number; + /** @description The number of results in the case of a successful analysis. This is only available for successful analyses. */ + result_count?: number; + /** @description The reason of the failure of this repo task. This is only available if the repository task has failed. */ + failure_message?: string; + /** @description The SHA of the commit the CodeQL database was built against. This is only available for successful analyses. */ + database_commit_sha?: string; + /** @description The source location prefix to use. This is only available for successful analyses. */ + source_location_prefix?: string; + /** @description The URL of the artifact. This is only available for successful analyses. */ + artifact_url?: string; + }; /** @description Configuration for code scanning default setup. */ "code-scanning-default-setup": { /** @@ -19202,6 +21111,7 @@ export interface components { state?: "configured" | "not-configured"; /** @description Languages to be analyzed. */ languages?: ( + | "actions" | "c-cpp" | "csharp" | "go" @@ -19213,6 +21123,16 @@ export interface components { | "typescript" | "swift" )[]; + /** + * @description Runner type to be used. + * @enum {string|null} + */ + runner_type?: "standard" | "labeled" | null; + /** + * @description Runner label to be used if the runner type is labeled. + * @example code-scanning + */ + runner_label?: string | null; /** * @description CodeQL query suite to be used. * @enum {string} @@ -19237,6 +21157,16 @@ export interface components { * @enum {string} */ state?: "configured" | "not-configured"; + /** + * @description Runner type to be used. + * @enum {string} + */ + runner_type?: "standard" | "labeled"; + /** + * @description Runner label to be used if the runner type is labeled. + * @example code-scanning + */ + runner_label?: string | null; /** * @description CodeQL query suite to be used. * @enum {string} @@ -19244,6 +21174,7 @@ export interface components { query_suite?: "default" | "extended"; /** @description CodeQL languages to be analyzed. */ languages?: ( + | "actions" | "c-cpp" | "csharp" | "go" @@ -19294,6 +21225,23 @@ export interface components { /** @description Any errors that ocurred during processing of the delivery. */ errors?: readonly string[] | null; }; + /** @description Code security configuration associated with a repository and attachment status */ + "code-security-configuration-for-repository": { + /** + * @description The attachment status of the code security configuration on the repository. + * @enum {string} + */ + status?: + | "attached" + | "attaching" + | "detached" + | "removed" + | "enforced" + | "failed" + | "updating" + | "removed_by_enterprise"; + configuration?: components["schemas"]["code-security-configuration"]; + }; /** * CODEOWNERS errors * @description A list of errors found in a repo's CODEOWNERS file @@ -19415,7 +21363,10 @@ export interface components { collaborator: { /** @example octocat */ login: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; email?: string | null; name?: string | null; @@ -19483,6 +21434,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; }; /** * Repository Invitation @@ -19490,6 +21443,7 @@ export interface components { */ "repository-invitation": { /** + * Format: int64 * @description Unique identifier of the repository invitation. * @example 42 */ @@ -19526,7 +21480,10 @@ export interface components { "nullable-collaborator": { /** @example octocat */ login: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; email?: string | null; name?: string | null; @@ -19594,6 +21551,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; } | null; /** * Repository Collaborator Permission @@ -19674,7 +21633,10 @@ export interface components { * @example https://api.github.com/repos/octocat/Hello-World/pulls/1347 */ url: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; /** @example MDExOlB1bGxSZXF1ZXN0MQ== */ node_id: string; @@ -19964,6 +21926,7 @@ export interface components { name: string; path: string; sha: string; + content?: string; /** Format: uri */ url: string; /** Format: uri */ @@ -19977,7 +21940,6 @@ export interface components { size: number; name: string; path: string; - content?: string; sha: string; /** Format: uri */ url: string; @@ -20178,6 +22140,23 @@ export interface components { reason?: string; signature?: string | null; payload?: string | null; + verified_at?: string | null; + }; + }; + }; + /** @description The ID of the push protection bypass placeholder. This value is returned on any push protected routes. */ + "secret-scanning-push-protection-bypass-placeholder-id": string; + /** @description Repository rule violation was detected */ + "repository-rule-violation-error": { + message?: string; + documentation_url?: string; + status?: string; + metadata?: { + secret_scanning?: { + bypass_placeholders?: { + placeholder_id?: components["schemas"]["secret-scanning-push-protection-bypass-placeholder-id"]; + token_type?: string; + }[]; }; }; }; @@ -20215,6 +22194,7 @@ export interface components { contributions: number; email?: string; name?: string; + user_view_type?: string; }; /** @description A Dependabot alert. */ "dependabot-alert": { @@ -20327,6 +22307,11 @@ export interface components { * @example SPDX-2.3 */ spdxVersion: string; + /** + * @description An optional comment about the SPDX document. + * @example Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/ + */ + comment?: string; creationInfo: { /** * @description The date and time the SPDX document was created. @@ -20346,11 +22331,9 @@ export interface components { * @example CC0-1.0 */ dataLicense: string; - /** @description The name of the repository that the SPDX document describes. */ - documentDescribes: string[]; /** * @description The namespace for the SPDX document. - * @example https://github.com/example/dependency_graph/sbom-123 + * @example https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57 */ documentNamespace: string; packages: { @@ -20361,7 +22344,7 @@ export interface components { SPDXID?: string; /** * @description The name of the package. - * @example rubygems:github/github + * @example github/github */ name?: string; /** @@ -20398,6 +22381,11 @@ export interface components { * @example NOASSERTION */ supplier?: string; + /** + * @description The copyright holders of the package, and any dates present with those notices, if available. + * @example Copyright (c) 1985 GitHub.com + */ + copyrightText?: string; externalRefs?: { /** * @description The category of reference to an external resource this reference refers to. @@ -20416,6 +22404,17 @@ export interface components { referenceType: string; }[]; }[]; + relationships?: { + /** + * @description The type of relationship between the two SPDX elements. + * @example DEPENDS_ON + */ + relationshipType?: string; + /** @description The SPDX identifier of the package that is the source of the relationship. */ + spdxElementId?: string; + /** @description The SPDX identifier of the package that is the target of the relationship. */ + relatedSpdxElement?: string; + }[]; }; }; /** @@ -20543,7 +22542,10 @@ export interface components { * @example https://api.github.com/repos/octocat/example/deployments/42/statuses/1 */ url: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; /** @example MDE2OkRlcGxveW1lbnRTdGF0dXMx */ node_id: string; @@ -20575,7 +22577,7 @@ export interface components { environment?: string; /** * Format: uri - * @description Deprecated: the URL to associate with this status. + * @description Closing down notice: the URL to associate with this status. * @default * @example https://example.com/deployment/42/output */ @@ -20634,6 +22636,7 @@ export interface components { */ environment: { /** + * Format: int64 * @description The id of the environment. * @example 56780428 */ @@ -20911,6 +22914,7 @@ export interface components { reason: string; signature: string | null; payload: string | null; + verified_at?: string | null; }; /** Format: uri */ html_url: string; @@ -21293,6 +23297,7 @@ export interface components { performed_via_github_app?: components["schemas"]["nullable-integration"]; author_association: components["schemas"]["author-association"]; reactions?: components["schemas"]["reaction-rollup"]; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; } | null; /** * Issue Event Label @@ -21710,6 +23715,7 @@ export interface components { label: { /** * Format: int64 + * @description Unique identifier for the label. * @example 208045946 */ id: number; @@ -21726,14 +23732,20 @@ export interface components { * @example bug */ name: string; - /** @example Something isn't working */ + /** + * @description Optional description of the label, such as its purpose. + * @example Something isn't working + */ description: string | null; /** * @description 6-character hex code, without the leading #, identifying the color * @example FFFFFF */ color: string; - /** @example true */ + /** + * @description Whether this label comes by default in a new repository. + * @example true + */ default: boolean; }; /** @@ -21879,6 +23891,7 @@ export interface components { reason: string; signature: string | null; payload: string | null; + verified_at?: string | null; }; /** Format: uri */ html_url: string; @@ -21944,11 +23957,13 @@ export interface components { */ url: string; /** + * Format: int64 * @description The ID of the pull request review to which the comment belongs. * @example 42 */ pull_request_review_id: number | null; /** + * Format: int64 * @description The ID of the pull request review comment. * @example 1 */ @@ -21969,12 +23984,12 @@ export interface components { */ path: string; /** - * @description The line index in the diff to which the comment applies. This field is deprecated; use `line` instead. + * @description The line index in the diff to which the comment applies. This field is closing down; use `line` instead. * @example 1 */ position?: number; /** - * @description The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. + * @description The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead. * @example 4 */ original_position?: number; @@ -22196,6 +24211,7 @@ export interface components { read_only: boolean; added_by?: string | null; last_used?: string | null; + enabled?: boolean; }; /** * Language @@ -22567,7 +24583,10 @@ export interface components { * @example https://api.github.com/repos/octocat/Hello-World/pulls/1347 */ url: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; /** @example MDExOlB1bGxSZXF1ZXN0MQ== */ node_id: string; @@ -22676,359 +24695,16 @@ export interface components { head: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - homepage: string | null; - language: string | null; - master_branch?: string; - archived: boolean; - disabled: boolean; - /** @description The repository visibility: public, private, or internal. */ - visibility?: string; - /** Format: uri */ - mirror_url: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: { - key: string; - name: string; - /** Format: uri */ - url: string | null; - spdx_id: string | null; - node_id: string; - } | null; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - is_template?: boolean; - web_commit_signoff_required?: boolean; - } | null; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; base: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - is_template?: boolean; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - homepage: string | null; - language: string | null; - master_branch?: string; - archived: boolean; - disabled: boolean; - /** @description The repository visibility: public, private, or internal. */ - visibility?: string; - /** Format: uri */ - mirror_url: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: components["schemas"]["nullable-license-simple"]; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - web_commit_signoff_required?: boolean; - }; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; _links: { comments: components["schemas"]["link"]; @@ -23096,6 +24772,7 @@ export interface components { */ "pull-request-review": { /** + * Format: int64 * @description Unique identifier of the review * @example 42 */ @@ -23149,9 +24826,15 @@ export interface components { * @example https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 */ url: string; - /** @example 42 */ + /** + * Format: int64 + * @example 42 + */ pull_request_review_id: number | null; - /** @example 10 */ + /** + * Format: int64 + * @example 10 + */ id: number; /** @example MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw */ node_id: string; @@ -23362,6 +25045,8 @@ export interface components { components["schemas"]["repository-rule-ruleset-info"]) | (components["schemas"]["repository-rule-required-linear-history"] & components["schemas"]["repository-rule-ruleset-info"]) + | (components["schemas"]["repository-rule-merge-queue"] & + components["schemas"]["repository-rule-ruleset-info"]) | (components["schemas"]["repository-rule-required-deployments"] & components["schemas"]["repository-rule-ruleset-info"]) | (components["schemas"]["repository-rule-required-signatures"] & @@ -23383,6 +25068,8 @@ export interface components { | (components["schemas"]["repository-rule-tag-name-pattern"] & components["schemas"]["repository-rule-ruleset-info"]) | (components["schemas"]["repository-rule-workflows"] & + components["schemas"]["repository-rule-ruleset-info"]) + | (components["schemas"]["repository-rule-code-scanning"] & components["schemas"]["repository-rule-ruleset-info"]); "secret-scanning-alert": { number?: components["schemas"]["alert-number"]; @@ -23409,7 +25096,7 @@ export interface components { secret_type?: string; /** * @description User-friendly name for the detected secret, matching the `secret_type`. - * For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." + * For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ secret_type_display_name?: string; /** @description The secret that was detected. */ @@ -23422,11 +25109,25 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ push_protection_bypassed_at?: string | null; + push_protection_bypass_request_reviewer?: components["schemas"]["nullable-simple-user"]; + /** @description An optional comment when reviewing a push protection bypass. */ + push_protection_bypass_request_reviewer_comment?: string | null; + /** @description An optional comment when requesting a push protection bypass. */ + push_protection_bypass_request_comment?: string | null; + /** + * Format: uri + * @description The URL to a push protection bypass request. + */ + push_protection_bypass_request_html_url?: string | null; /** * @description The token status as of the latest validity check. * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories under the same organization or enterprise. */ + multi_repo?: boolean | null; }; /** @description An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. */ "secret-scanning-alert-resolution-comment": string | null; @@ -23555,7 +25256,7 @@ export interface components { /** * Format: uri * @description The API URL to get the pull request where the secret was detected. - * @example https://api.github.com/repos/octocat/Hello-World/pull/2846 + * @example https://api.github.com/repos/octocat/Hello-World/pulls/2846 */ pull_request_title_url: string; }; @@ -23564,7 +25265,7 @@ export interface components { /** * Format: uri * @description The API URL to get the pull request where the secret was detected. - * @example https://api.github.com/repos/octocat/Hello-World/pull/2846 + * @example https://api.github.com/repos/octocat/Hello-World/pulls/2846 */ pull_request_body_url: string; }; @@ -23630,6 +25331,52 @@ export interface components { | components["schemas"]["secret-scanning-location-pull-request-review"] | components["schemas"]["secret-scanning-location-pull-request-review-comment"]; }; + /** + * @description The reason for bypassing push protection. + * @enum {string} + */ + "secret-scanning-push-protection-bypass-reason": + | "false_positive" + | "used_in_tests" + | "will_fix_later"; + "secret-scanning-push-protection-bypass": { + reason?: components["schemas"]["secret-scanning-push-protection-bypass-reason"]; + /** + * Format: date-time + * @description The time that the bypass will expire in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + expire_at?: string | null; + /** @description The token type this bypass is for. */ + token_type?: string; + }; + /** @description Information on a single scan performed by secret scanning on the repository */ + "secret-scanning-scan": { + /** @description The type of scan */ + type?: string; + /** @description The state of the scan. Either "completed", "running", or "pending" */ + status?: string; + /** + * Format: date-time + * @description The time that the scan was completed. Empty if the scan is running + */ + completed_at?: string | null; + /** + * Format: date-time + * @description The time that the scan was started. Empty if the scan is pending + */ + started_at?: string | null; + }; + "secret-scanning-scan-history": { + incremental_scans?: components["schemas"]["secret-scanning-scan"][]; + pattern_update_scans?: components["schemas"]["secret-scanning-scan"][]; + backfill_scans?: components["schemas"]["secret-scanning-scan"][]; + custom_pattern_backfill_scans?: (components["schemas"]["secret-scanning-scan"] & { + /** @description Name of the custom pattern for custom pattern scans */ + pattern_name?: string; + /** @description Level at which the custom pattern is defined, one of "repository", "organization", or "enterprise" */ + pattern_scope?: string; + })[]; + }; "repository-advisory-create": { /** @description A short summary of the advisory. */ summary: string; @@ -24076,6 +25823,12 @@ export interface components { default?: boolean; description?: string | null; }[]; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; state: string; state_reason?: string | null; assignee: components["schemas"]["nullable-simple-user"]; @@ -24302,6 +26055,7 @@ export interface components { */ "user-search-result-item": { login: string; + /** Format: int64 */ id: number; node_id: string; /** Format: uri */ @@ -24347,6 +26101,7 @@ export interface components { company?: string | null; /** Format: date-time */ suspended_at?: string | null; + user_view_type?: string; }; /** * Private User @@ -24355,8 +26110,12 @@ export interface components { "private-user": { /** @example octocat */ login: string; - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; + user_view_type?: string; /** @example MDQ6VXNlcjE= */ node_id: string; /** @@ -24425,6 +26184,11 @@ export interface components { * @example octocat@github.com */ email: string | null; + /** + * Format: email + * @example octocat@github.com + */ + notification_email?: string | null; hireable: boolean | null; /** @example There once was... */ bio: string | null; @@ -24466,8 +26230,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; business_plus?: boolean; ldap_dn?: string; }; @@ -24566,7 +26328,10 @@ export interface components { * @description A codespace. */ "codespace-with-full-repository": { - /** @example 1 */ + /** + * Format: int64 + * @example 1 + */ id: number; /** * @description Automatically generated name of this codespace. @@ -24749,7 +26514,10 @@ export interface components { * @description A unique encryption key */ "gpg-key": { - /** @example 3 */ + /** + * Format: int64 + * @example 3 + */ id: number; /** @example Octocat's GPG Key */ name?: string | null; @@ -24789,6 +26557,7 @@ export interface components { * ] */ subkeys: { + /** Format: int64 */ id?: number; primary_key_id?: number; key_id?: string; @@ -24830,6 +26599,7 @@ export interface components { */ key: { key: string; + /** Format: int64 */ id: number; url: string; title: string; @@ -24909,6 +26679,45 @@ export interface components { starred_at: string; repo: components["schemas"]["repository"]; }; + /** + * Sigstore Bundle v0.1 + * @description Sigstore Bundle v0.1 + */ + "sigstore-bundle-0": { + mediaType?: string; + verificationMaterial?: { + x509CertificateChain?: { + certificates?: { + rawBytes?: string; + }[]; + }; + tlogEntries?: { + logIndex?: string; + logId?: { + keyId?: string; + }; + kindVersion?: { + kind?: string; + version?: string; + }; + integratedTime?: string; + inclusionPromise?: { + signedEntryTimestamp?: string; + }; + inclusionProof?: string | null; + canonicalizedBody?: string; + }[]; + timestampVerificationData?: string | null; + }; + dsseEnvelope?: { + payload?: string; + payloadType?: string; + signatures?: { + sig?: string; + keyid?: string; + }[]; + }; + }; /** * Hovercard * @description Hovercard @@ -25041,6 +26850,7 @@ export interface components { */ "repository-webhooks": { /** + * Format: int64 * @description Unique identifier of the repository * @example 42 */ @@ -25480,7 +27290,7 @@ export interface components { allow_update_branch?: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -25541,75 +27351,6 @@ export interface components { /** @description Whether anonymous git access is enabled for this repository */ anonymous_access_enabled?: boolean; }; - /** - * Simple User - * @description The GitHub user that triggered the event. This property is included in every webhook payload. - */ - "simple-user-webhooks": { - name?: string | null; - email?: string | null; - /** @example octocat */ - login: string; - /** @example 1 */ - id: number; - /** @example MDQ6VXNlcjE= */ - node_id: string; - /** - * Format: uri - * @example https://github.com/images/error/octocat_happy.gif - */ - avatar_url: string; - /** @example 41d064eb2195891e12d0413f63227ea7 */ - gravatar_id: string | null; - /** - * Format: uri - * @example https://api.github.com/users/octocat - */ - url: string; - /** - * Format: uri - * @example https://github.com/octocat - */ - html_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/followers - */ - followers_url: string; - /** @example https://api.github.com/users/octocat/following{/other_user} */ - following_url: string; - /** @example https://api.github.com/users/octocat/gists{/gist_id} */ - gists_url: string; - /** @example https://api.github.com/users/octocat/starred{/owner}{/repo} */ - starred_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/subscriptions - */ - subscriptions_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/orgs - */ - organizations_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/repos - */ - repos_url: string; - /** @example https://api.github.com/users/octocat/events{/privacy} */ - events_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/received_events - */ - received_events_url: string; - /** @example User */ - type: string; - site_admin: boolean; - /** @example "2020-07-09T00:17:55Z" */ - starred_at?: string; - }; /** * branch protection rule * @description The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings. @@ -25634,6 +27375,13 @@ export interface components { | "off" | "non_admins" | "everyone"; + /** + * @description The enforcement level of the branch lock setting. `off` means the branch is not locked, `non_admins` means the branch is read-only for non_admins, and `everyone` means the branch is read-only for everyone. + * @enum {string} + */ + lock_branch_enforcement_level: "off" | "non_admins" | "everyone"; + /** @description Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow users to pull changes from upstream when the branch is locked. This setting is only applicable for forks. */ + lock_allows_fork_sync?: boolean; /** @enum {string} */ merge_queue_enforcement_level: "off" | "non_admins" | "everyone"; name: string; @@ -25806,6 +27554,7 @@ export interface components { /** Format: uri */ url: string; verified: boolean; + enabled?: boolean; }; /** Workflow */ webhooks_workflow: { @@ -25844,6 +27593,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; webhooks_reviewers: { /** User */ @@ -25913,6 +27663,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -25932,6 +27683,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; webhooks_answer: { /** @@ -25991,6 +27743,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -26010,6 +27763,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -26055,6 +27809,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; answer_html_url: string | null; /** @@ -26142,6 +27897,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -26161,7 +27917,9 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; + labels?: components["schemas"]["label"][]; }; webhooks_comment: { /** @@ -26219,6 +27977,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -26238,6 +27997,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Label */ @@ -26355,6 +28115,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -26374,6 +28135,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The changes to the comment. */ @@ -26431,6 +28193,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -26467,6 +28230,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -26562,6 +28326,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -26692,6 +28457,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -26799,6 +28565,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -26833,6 +28605,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -26852,6 +28625,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -26900,6 +28674,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -26973,6 +28748,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -27009,6 +28785,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -27104,6 +28881,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -27232,6 +29010,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -27339,6 +29118,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -27373,6 +29158,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -27392,6 +29178,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** User */ @@ -27430,6 +29217,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Marketplace Purchase */ webhooks_marketplace_purchase: { @@ -27571,6 +29359,7 @@ export interface components { */ "nullable-repository-webhooks": { /** + * Format: int64 * @description Unique identifier of the repository * @example 42 */ @@ -28010,7 +29799,7 @@ export interface components { allow_update_branch?: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -28117,6 +29906,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -28170,6 +29960,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -28189,6 +29980,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -28257,6 +30049,10 @@ export interface components { | null; /** @description Date and time when the request for access was created. */ created_at: string; + /** @description Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants. */ + token_id: number; + /** @description The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens. */ + token_name: string; /** @description Whether the associated fine-grained personal access token has expired. */ token_expired: boolean; /** @description Date and time when the associated fine-grained personal access token expires. */ @@ -28312,6 +30108,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -28368,6 +30165,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ html_url: string; @@ -28484,6 +30282,69 @@ export interface components { */ archived_at: string | null; }; + /** + * Projects v2 Single Select Option + * @description An option for a single select field + */ + "projects-v2-single-select-option": { + id: string; + name: string; + color?: string | null; + description?: string | null; + }; + /** + * Projects v2 Iteration Setting + * @description An iteration setting for an iteration field + */ + "projects-v2-iteration-setting": { + id: string; + title: string; + duration?: number | null; + start_date?: string | null; + }; + /** + * Projects v2 Status Update + * @description An status update belonging to a project + */ + "projects-v2-status-update": { + id: number; + node_id: string; + project_node_id?: string; + creator?: components["schemas"]["simple-user"]; + /** + * Format: date-time + * @example 2022-04-28T12:00:00Z + */ + created_at: string; + /** + * Format: date-time + * @example 2022-04-28T12:00:00Z + */ + updated_at: string; + /** @enum {string|null} */ + status?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** + * Format: date + * @example 2022-04-28 + */ + start_date?: string; + /** + * Format: date + * @example 2022-04-28 + */ + target_date?: string; + /** + * @description Body of the status update + * @example The project is off to a great start! + */ + body?: string | null; + }; /** @description The pull request number. */ webhooks_number: number; "pull-request-webhook": components["schemas"]["pull-request"] & { @@ -28530,7 +30391,7 @@ export interface components { */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** * @default false */ use_squash_pr_title_as_default?: boolean; @@ -28623,6 +30484,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -28719,6 +30581,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -28846,7 +30709,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -28939,6 +30805,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -29028,6 +30895,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -29047,6 +30915,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -29186,7 +31055,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -29279,6 +31151,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -29368,6 +31241,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -29387,6 +31261,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -29454,6 +31329,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -29501,6 +31377,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -29709,6 +31586,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -29728,6 +31606,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -29862,6 +31741,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -29881,6 +31761,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The review that was affected. */ @@ -29942,6 +31823,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -29961,6 +31843,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; webhooks_nullable_string: string | null; @@ -30067,6 +31950,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -30214,6 +32098,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -30354,6 +32239,11 @@ export interface components { resolution_comment?: string | null; /** @description The type of secret that secret scanning detected. */ secret_type?: string; + /** + * @description User-friendly name for the detected secret, matching the `secret_type`. + * For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + */ + secret_type_display_name?: string; /** * @description The token status as of the latest validity check. * @enum {string} @@ -30367,6 +32257,20 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ push_protection_bypassed_at?: string | null; + push_protection_bypass_request_reviewer?: components["schemas"]["nullable-simple-user"]; + /** @description An optional comment when reviewing a push protection bypass. */ + push_protection_bypass_request_reviewer_comment?: string | null; + /** @description An optional comment when requesting a push protection bypass. */ + push_protection_bypass_request_comment?: string | null; + /** + * Format: uri + * @description The URL to a push protection bypass request. + */ + push_protection_bypass_request_html_url?: string | null; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or business. */ + multi_repo?: boolean | null; }; /** @description The details of the security advisory, including summary, description, and severity. */ webhooks_security_advisory: { @@ -30374,6 +32278,7 @@ export interface components { score: number; vector_string: string | null; }; + cvss_severities?: components["schemas"]["cvss-severities"]; cwes: { cwe_id: string; name: string; @@ -30426,6 +32331,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; node_id: string; privacy_level: string; @@ -30465,6 +32371,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** User */ sponsorable: { @@ -30502,6 +32409,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Sponsorship Tier @@ -30615,7 +32523,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection configuration enabled event */ "webhook-branch-protection-configuration-enabled": { @@ -30625,7 +32533,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule created event */ "webhook-branch-protection-rule-created": { @@ -30636,7 +32544,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule deleted event */ "webhook-branch-protection-rule-deleted": { @@ -30647,7 +32555,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule edited event */ "webhook-branch-protection-rule-edited": { @@ -30671,6 +32579,20 @@ export interface components { /** @enum {string} */ from: "off" | "non_admins" | "everyone"; }; + lock_branch_enforcement_level?: { + /** @enum {string} */ + from: "off" | "non_admins" | "everyone"; + }; + lock_allows_fork_sync?: { + from: boolean | null; + }; + pull_request_reviews_enforcement_level?: { + /** @enum {string} */ + from: "off" | "non_admins" | "everyone"; + }; + require_last_push_approval?: { + from: boolean | null; + }; required_status_checks?: { from: string[]; }; @@ -30684,7 +32606,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Check Run Completed Event */ "webhook-check-run-completed": { @@ -30694,7 +32616,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Completed Event @@ -30712,7 +32634,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Created Event @@ -30735,7 +32657,7 @@ export interface components { /** @description The integrator reference of the action requested by the user. */ identifier?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Requested Action Event @@ -30753,7 +32675,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Re-Requested Event @@ -30839,6 +32761,8 @@ export interface components { html_url: string; /** @description Unique identifier of the GitHub app */ id: number | null; + /** @description The client ID of the GitHub app */ + client_id?: string | null; /** @description The name of the GitHub app */ name: string; node_id: string; @@ -30878,6 +32802,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -31071,7 +32996,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite requested event */ "webhook-check-suite-requested": { @@ -31150,6 +33075,8 @@ export interface components { html_url: string; /** @description Unique identifier of the GitHub app */ id: number | null; + /** @description Client ID of the GitHub app */ + client_id?: string | null; /** @description The name of the GitHub app */ name: string; node_id: string; @@ -31189,6 +33116,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -31375,7 +33303,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite rerequested event */ "webhook-check-suite-rerequested": { @@ -31449,6 +33377,8 @@ export interface components { html_url: string; /** @description Unique identifier of the GitHub app */ id: number | null; + /** @description The Client ID for the GitHub app */ + client_id?: string | null; /** @description The name of the GitHub app */ name: string; node_id: string; @@ -31488,6 +33418,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -31673,7 +33604,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert appeared_in_branch event */ "webhook-code-scanning-alert-appeared-in-branch": { @@ -31727,6 +33658,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -31803,7 +33735,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert closed_by_user event */ "webhook-code-scanning-alert-closed-by-user": { @@ -31857,6 +33789,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -31940,7 +33873,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert created event */ "webhook-code-scanning-alert-created": { @@ -32015,9 +33948,9 @@ export interface components { }; /** * @description State of a code scanning alert. - * @enum {string} + * @enum {string|null} */ - state: "open" | "dismissed"; + state: "open" | "dismissed" | null; tool: { guid?: string | null; /** @description The name of the tool used to generate the code scanning analysis alert. */ @@ -32035,7 +33968,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert fixed event */ "webhook-code-scanning-alert-fixed": { @@ -32089,6 +34022,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -32174,7 +34108,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened event */ "webhook-code-scanning-alert-reopened": { @@ -32267,7 +34201,7 @@ export interface components { /** @description The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. */ ref: string | null; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened_by_user event */ "webhook-code-scanning-alert-reopened-by-user": { @@ -32351,7 +34285,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** commit_comment created event */ "webhook-commit-comment-created": { @@ -32360,7 +34294,7 @@ export interface components { * @enum {string} */ action: "created"; - /** @description The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. */ + /** @description The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. */ comment: { /** * AuthorAssociation @@ -32427,6 +34361,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -32446,13 +34381,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** create event */ "webhook-create": { @@ -32471,17 +34407,17 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** custom property created event */ "webhook-custom-property-created": { /** @enum {string} */ action: "created"; - definition: components["schemas"]["org-custom-property"]; + definition: components["schemas"]["custom-property"]; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; - organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property deleted event */ "webhook-custom-property-deleted": { @@ -32493,18 +34429,18 @@ export interface components { }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; - organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property updated event */ "webhook-custom-property-updated": { /** @enum {string} */ action: "updated"; - definition: components["schemas"]["org-custom-property"]; + definition: components["schemas"]["custom-property"]; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; - organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Custom property values updated event */ "webhook-custom-property-values-updated": { @@ -32514,7 +34450,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; repository: components["schemas"]["repository-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description The new custom property values for the repository. */ new_property_values: components["schemas"]["custom-property-value"][]; /** @description The old custom property values for the repository. */ @@ -32533,7 +34469,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-dismissed event */ "webhook-dependabot-alert-auto-dismissed": { @@ -32544,7 +34480,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { @@ -32555,7 +34491,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert created event */ "webhook-dependabot-alert-created": { @@ -32566,7 +34502,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { @@ -32577,7 +34513,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert fixed event */ "webhook-dependabot-alert-fixed": { @@ -32588,7 +34524,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reintroduced event */ "webhook-dependabot-alert-reintroduced": { @@ -32599,7 +34535,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reopened event */ "webhook-dependabot-alert-reopened": { @@ -32610,7 +34546,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key created event */ "webhook-deploy-key-created": { @@ -32621,7 +34557,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key deleted event */ "webhook-deploy-key-deleted": { @@ -32632,7 +34568,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deployment created event */ "webhook-deployment-created": { @@ -32680,6 +34616,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -32793,6 +34730,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -32889,7 +34827,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run: { @@ -32929,6 +34867,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -33179,6 +35118,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -33206,7 +35146,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; organization?: components["schemas"]["organization-simple-webhooks"]; installation?: components["schemas"]["simple-installation"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-deployment-review-approved": { /** @enum {string} */ @@ -33218,7 +35158,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -33269,6 +35209,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -33345,6 +35286,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -33457,6 +35399,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -33519,6 +35462,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -33538,7 +35482,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -33589,6 +35533,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -33664,6 +35609,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -33776,6 +35722,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -33837,6 +35784,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -33893,11 +35841,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @enum {string} */ type?: "User" | "Team"; }[]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run: { conclusion: unknown; @@ -33947,6 +35896,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -34022,6 +35972,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -34134,6 +36085,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -34196,6 +36148,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -34291,6 +36244,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -34404,6 +36358,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -34535,6 +36490,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ deployment_url: string; @@ -34653,6 +36609,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -34746,7 +36703,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow?: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run?: { @@ -34786,6 +36743,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -35037,6 +36995,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -35056,7 +37015,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion category changed event */ "webhook-discussion-category-changed": { @@ -35084,7 +37043,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion closed event */ "webhook-discussion-closed": { @@ -35095,7 +37054,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment created event */ "webhook-discussion-comment-created": { @@ -35107,7 +37066,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment deleted event */ "webhook-discussion-comment-deleted": { @@ -35119,7 +37078,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment edited event */ "webhook-discussion-comment-edited": { @@ -35136,7 +37095,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion created event */ "webhook-discussion-created": { @@ -35147,7 +37106,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion deleted event */ "webhook-discussion-deleted": { @@ -35158,7 +37117,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion edited event */ "webhook-discussion-edited": { @@ -35177,7 +37136,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion labeled event */ "webhook-discussion-labeled": { @@ -35189,7 +37148,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion locked event */ "webhook-discussion-locked": { @@ -35200,7 +37159,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion pinned event */ "webhook-discussion-pinned": { @@ -35211,7 +37170,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion reopened event */ "webhook-discussion-reopened": { @@ -35222,7 +37181,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion transferred event */ "webhook-discussion-transferred": { @@ -35237,7 +37196,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unanswered event */ "webhook-discussion-unanswered": { @@ -35247,7 +37206,7 @@ export interface components { old_answer: components["schemas"]["webhooks_answer"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** discussion unlabeled event */ "webhook-discussion-unlabeled": { @@ -35259,7 +37218,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unlocked event */ "webhook-discussion-unlocked": { @@ -35270,7 +37229,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unpinned event */ "webhook-discussion-unpinned": { @@ -35281,7 +37240,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * fork event @@ -35342,10 +37301,6 @@ export interface components { /** Format: uri */ contributors_url: string; created_at: number | string; - /** @description The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. */ - custom_properties?: { - [key: string]: unknown; - }; /** @description The default branch of the repository. */ default_branch: string; /** @@ -35402,7 +37357,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -35478,6 +37436,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -35629,13 +37588,13 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** github_app_authorization revoked event */ "webhook-github-app-authorization-revoked": { /** @enum {string} */ action: "revoked"; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** gollum event */ "webhook-gollum": { @@ -35663,7 +37622,7 @@ export interface components { title: string; }[]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation created event */ "webhook-installation-created": { @@ -35675,7 +37634,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ "webhook-installation-deleted": { @@ -35687,7 +37646,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation new_permissions_accepted event */ "webhook-installation-new-permissions-accepted": { @@ -35699,7 +37658,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories added event */ "webhook-installation-repositories-added": { @@ -35723,7 +37682,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ "webhook-installation-repositories-removed": { @@ -35747,7 +37706,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ "webhook-installation-suspend": { @@ -35759,7 +37718,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-installation-target-renamed": { account: { @@ -35799,6 +37758,7 @@ export interface components { updated_at?: string; url?: string; website_url?: unknown; + user_view_type?: string; }; /** @enum {string} */ action: "renamed"; @@ -35814,7 +37774,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; target_type: string; }; /** installation unsuspend event */ @@ -35827,7 +37787,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment created event */ "webhook-issue-comment-created": { @@ -35905,6 +37865,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -35924,6 +37885,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -35973,6 +37935,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -36009,6 +37972,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -36104,6 +38068,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36234,6 +38199,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -36341,6 +38307,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -36375,6 +38347,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -36394,6 +38367,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -36433,6 +38407,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees?: (Record | null)[]; author_association?: string; @@ -36495,6 +38470,7 @@ export interface components { gists_url?: string; gravatar_id?: string; html_url?: string; + /** Format: int64 */ id?: number; login?: string; node_id?: string; @@ -36510,7 +38486,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment deleted event */ "webhook-issue-comment-deleted": { @@ -36564,6 +38540,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -36600,6 +38577,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -36695,6 +38673,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36823,6 +38802,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -36930,6 +38910,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -36964,6 +38950,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -36983,6 +38970,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -37022,6 +39010,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees?: (Record | null)[]; author_association?: string; @@ -37084,6 +39073,7 @@ export interface components { gists_url?: string; gravatar_id?: string; html_url?: string; + /** Format: int64 */ id?: number; login?: string; node_id?: string; @@ -37095,11 +39085,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment edited event */ "webhook-issue-comment-edited": { @@ -37154,6 +39145,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -37190,6 +39182,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -37285,6 +39278,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -37415,6 +39409,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -37522,6 +39517,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -37556,6 +39557,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -37575,6 +39577,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -37614,6 +39617,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees?: (Record | null)[]; author_association?: string; @@ -37676,6 +39680,7 @@ export interface components { gists_url?: string; gravatar_id?: string; html_url?: string; + /** Format: int64 */ id?: number; login?: string; node_id?: string; @@ -37691,7 +39696,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues assigned event */ "webhook-issues-assigned": { @@ -37706,7 +39711,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues closed event */ "webhook-issues-closed": { @@ -37762,6 +39767,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -37798,6 +39804,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -37893,6 +39900,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -38024,6 +40032,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -38131,6 +40140,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -38165,6 +40180,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -38184,6 +40200,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -38232,6 +40249,7 @@ export interface components { gists_url?: string; gravatar_id?: string; html_url?: string; + /** Format: int64 */ id?: number; login?: string; node_id?: string; @@ -38243,11 +40261,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues deleted event */ "webhook-issues-deleted": { @@ -38303,6 +40322,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -38434,6 +40454,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -38563,6 +40584,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -38670,6 +40692,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -38704,6 +40732,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -38723,11 +40752,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues demilestoned event */ "webhook-issues-demilestoned": { @@ -38914,6 +40944,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -39042,6 +41073,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39149,6 +41181,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -39183,6 +41221,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -39202,12 +41241,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone?: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues edited event */ "webhook-issues-edited": { @@ -39274,6 +41314,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -39405,6 +41446,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -39536,6 +41578,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39643,6 +41686,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -39677,6 +41726,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -39696,12 +41746,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues labeled event */ "webhook-issues-labeled": { @@ -39757,6 +41808,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -39888,6 +41940,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -40018,6 +42071,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -40125,6 +42179,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -40159,6 +42219,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -40178,12 +42239,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues locked event */ "webhook-issues-locked": { @@ -40239,6 +42301,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -40275,6 +42338,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -40371,6 +42435,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -40501,6 +42566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -40608,6 +42674,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -40642,6 +42714,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -40661,11 +42734,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues milestoned event */ "webhook-issues-milestoned": { @@ -40852,6 +42926,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -40981,6 +43056,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -41088,6 +43164,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -41122,6 +43204,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -41141,12 +43224,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues opened event */ "webhook-issues-opened": { @@ -41201,6 +43285,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -41237,6 +43322,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -41332,6 +43418,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -41460,6 +43547,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -41567,6 +43655,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -41601,6 +43695,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -41620,6 +43715,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } | null; /** @@ -41740,7 +43836,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -41816,6 +43915,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -41916,6 +44016,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -41952,6 +44053,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -42047,6 +44149,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -42178,6 +44281,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42285,6 +44389,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -42319,6 +44429,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -42338,11 +44449,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues pinned event */ "webhook-issues-pinned": { @@ -42353,7 +44465,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues reopened event */ "webhook-issues-reopened": { @@ -42540,6 +44652,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -42670,6 +44783,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42777,6 +44891,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -42811,6 +44931,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -42830,11 +44951,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues transferred event */ "webhook-issues-transferred": { @@ -42889,6 +45011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -42925,6 +45048,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -43020,6 +45144,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -43148,6 +45273,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -43255,6 +45381,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -43289,6 +45421,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -43308,6 +45441,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -43431,7 +45565,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -43507,6 +45644,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -43562,7 +45700,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unassigned event */ "webhook-issues-unassigned": { @@ -43577,7 +45715,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlabeled event */ "webhook-issues-unlabeled": { @@ -43589,7 +45727,7 @@ export interface components { label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlocked event */ "webhook-issues-unlocked": { @@ -43645,6 +45783,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -43681,6 +45820,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -43777,6 +45917,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -43905,6 +46046,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44012,6 +46154,12 @@ export interface components { }; /** Format: uri */ repository_url: string; + /** Sub-issues Summary */ + sub_issues_summary?: { + total: number; + completed: number; + percent_completed: number; + }; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -44046,6 +46194,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -44065,11 +46214,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unpinned event */ "webhook-issues-unpinned": { @@ -44080,7 +46230,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label created event */ "webhook-label-created": { @@ -44091,7 +46241,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** label deleted event */ "webhook-label-deleted": { @@ -44102,7 +46252,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label edited event */ "webhook-label-edited": { @@ -44128,7 +46278,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase cancelled event */ "webhook-marketplace-purchase-cancelled": { @@ -44141,7 +46291,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase changed event */ "webhook-marketplace-purchase-changed": { @@ -44180,7 +46330,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change event */ "webhook-marketplace-purchase-pending-change": { @@ -44219,7 +46369,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change_cancelled event */ "webhook-marketplace-purchase-pending-change-cancelled": { @@ -44258,7 +46408,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase purchased event */ "webhook-marketplace-purchase-purchased": { @@ -44271,7 +46421,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member added event */ "webhook-member-added": { @@ -44298,7 +46448,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member edited event */ "webhook-member-edited": { @@ -44320,7 +46470,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member removed event */ "webhook-member-removed": { @@ -44331,7 +46481,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** membership added event */ "webhook-membership-added": { @@ -44383,6 +46533,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -44436,6 +46587,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -44446,7 +46598,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-merge-group-destroyed": { /** @enum {string} */ @@ -44460,7 +46612,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** meta deleted event */ "webhook-meta-deleted": { @@ -44543,7 +46695,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** milestone closed event */ "webhook-milestone-closed": { @@ -44554,7 +46706,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone created event */ "webhook-milestone-created": { @@ -44565,7 +46717,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone deleted event */ "webhook-milestone-deleted": { @@ -44576,7 +46728,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone edited event */ "webhook-milestone-edited": { @@ -44602,7 +46754,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone opened event */ "webhook-milestone-opened": { @@ -44613,7 +46765,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block blocked event */ "webhook-org-block-blocked": { @@ -44624,7 +46776,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block unblocked event */ "webhook-org-block-unblocked": { @@ -44635,7 +46787,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization deleted event */ "webhook-organization-deleted": { @@ -44646,7 +46798,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_added event */ "webhook-organization-member-added": { @@ -44657,7 +46809,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_invited event */ "webhook-organization-member-invited": { @@ -44712,6 +46864,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; login: string | null; node_id: string; @@ -44721,7 +46874,7 @@ export interface components { }; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; user?: components["schemas"]["webhooks_user"]; }; /** organization member_removed event */ @@ -44733,7 +46886,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization renamed event */ "webhook-organization-renamed": { @@ -44749,7 +46902,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Ruby Gems metadata */ "webhook-rubygems-metadata": { @@ -44823,6 +46976,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -44862,6 +47016,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body?: string | Record; body_html?: string; @@ -44999,6 +47154,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -45034,7 +47190,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** package updated event */ "webhook-package-updated": { @@ -45089,6 +47245,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -45128,6 +47285,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string; body_html: string; @@ -45199,6 +47357,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -45235,7 +47394,7 @@ export interface components { updated_at: string; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** page_build event */ "webhook-page-build": { @@ -45283,6 +47442,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; status: string; updated_at: string; @@ -45294,15 +47454,16 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** personal_access_token_request approved event */ "webhook-personal-access-token-request-approved": { /** @enum {string} */ action: "approved"; personal_access_token_request: components["schemas"]["personal-access-token-request"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request cancelled event */ @@ -45310,8 +47471,9 @@ export interface components { /** @enum {string} */ action: "cancelled"; personal_access_token_request: components["schemas"]["personal-access-token-request"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request created event */ @@ -45319,9 +47481,10 @@ export interface components { /** @enum {string} */ action: "created"; personal_access_token_request: components["schemas"]["personal-access-token-request"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; - installation: components["schemas"]["simple-installation"]; + sender: components["schemas"]["simple-user"]; + installation?: components["schemas"]["simple-installation"]; }; /** personal_access_token_request denied event */ "webhook-personal-access-token-request-denied": { @@ -45329,7 +47492,8 @@ export interface components { action: "denied"; personal_access_token_request: components["schemas"]["personal-access-token-request"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; "webhook-ping": { @@ -45376,7 +47540,7 @@ export interface components { hook_id?: number; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description Random string of GitHub zen. */ zen?: string; }; @@ -45399,7 +47563,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card created event */ "webhook-project-card-created": { @@ -45410,7 +47574,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card deleted event */ "webhook-project-card-deleted": { @@ -45467,6 +47631,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -45480,7 +47645,7 @@ export interface components { url: string; }; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card edited event */ "webhook-project-card-edited": { @@ -45496,7 +47661,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card moved event */ "webhook-project-card-moved": { @@ -45557,6 +47722,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -45602,7 +47768,7 @@ export interface components { url?: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project closed event */ "webhook-project-closed": { @@ -45613,7 +47779,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_column created event */ "webhook-project-column-created": { @@ -45624,7 +47790,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column deleted event */ "webhook-project-column-deleted": { @@ -45635,7 +47801,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column edited event */ "webhook-project-column-edited": { @@ -45651,7 +47817,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column moved event */ "webhook-project-column-moved": { @@ -45662,7 +47828,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project created event */ "webhook-project-created": { @@ -45673,7 +47839,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project deleted event */ "webhook-project-deleted": { @@ -45684,7 +47850,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project edited event */ "webhook-project-edited": { @@ -45706,7 +47872,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project reopened event */ "webhook-project-reopened": { @@ -45717,7 +47883,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Closed Event */ "webhook-projects-v2-project-closed": { @@ -45726,7 +47892,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -45735,7 +47901,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Deleted Event */ "webhook-projects-v2-project-deleted": { @@ -45744,7 +47910,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Edited Event */ "webhook-projects-v2-project-edited": { @@ -45771,7 +47937,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Archived Event */ "webhook-projects-v2-item-archived": { @@ -45781,7 +47947,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Converted Event */ "webhook-projects-v2-item-converted": { @@ -45796,7 +47962,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Created Event */ "webhook-projects-v2-item-created": { @@ -45805,7 +47971,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Deleted Event */ "webhook-projects-v2-item-deleted": { @@ -45814,18 +47980,36 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Edited Event */ "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; + /** + * @description The changes made to the item may involve modifications in the item's fields and draft issue body. + * It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. + */ changes?: OneOf< [ { field_value: { field_node_id?: string; field_type?: string; + field_name?: string; + project_number?: number; + from?: + | string + | number + | components["schemas"]["projects-v2-single-select-option"] + | components["schemas"]["projects-v2-iteration-setting"] + | null; + to?: + | string + | number + | components["schemas"]["projects-v2-single-select-option"] + | components["schemas"]["projects-v2-iteration-setting"] + | null; }; }, { @@ -45839,7 +48023,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -45854,7 +48038,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Restored Event */ "webhook-projects-v2-item-restored": { @@ -45864,7 +48048,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Reopened Event */ "webhook-projects-v2-project-reopened": { @@ -45873,7 +48057,70 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; + /** Projects v2 Status Update Created Event */ + "webhook-projects-v2-status-update-created": { + /** @enum {string} */ + action: "created"; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; + sender: components["schemas"]["simple-user"]; + }; + /** Projects v2 Status Update Deleted Event */ + "webhook-projects-v2-status-update-deleted": { + /** @enum {string} */ + action: "deleted"; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; + sender: components["schemas"]["simple-user"]; + }; + /** Projects v2 Status Update Edited Event */ + "webhook-projects-v2-status-update-edited": { + /** @enum {string} */ + action: "edited"; + changes?: { + body?: { + from?: string | null; + to?: string | null; + }; + status?: { + /** @enum {string|null} */ + from?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** @enum {string|null} */ + to?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + }; + start_date?: { + /** Format: date */ + from?: string | null; + /** Format: date */ + to?: string | null; + }; + target_date?: { + /** Format: date */ + from?: string | null; + /** Format: date */ + to?: string | null; + }; + }; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; + sender: components["schemas"]["simple-user"]; }; /** public event */ "webhook-public": { @@ -45881,7 +48128,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request assigned event */ "webhook-pull-request-assigned": { @@ -45980,6 +48227,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -46016,6 +48264,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -46076,6 +48325,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -46203,7 +48453,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -46296,6 +48549,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -46359,7 +48613,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -46388,6 +48642,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -46407,6 +48662,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -46546,7 +48802,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -46639,6 +48898,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -46702,7 +48962,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -46731,6 +48991,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -46750,6 +49011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -46817,6 +49079,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -46864,6 +49127,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46932,6 +49196,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -47072,6 +49337,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -47091,10 +49357,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_disabled event */ "webhook-pull-request-auto-merge-disabled": { @@ -47192,6 +49459,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47288,6 +49556,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -47415,7 +49684,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -47508,6 +49780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -47571,7 +49844,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -47600,6 +49873,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -47619,6 +49893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -47758,7 +50033,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -47851,6 +50129,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -47914,7 +50193,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -47943,6 +50222,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -47962,6 +50242,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -48029,6 +50310,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -48076,6 +50358,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -48144,6 +50427,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -48284,6 +50568,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -48303,11 +50588,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_enabled event */ "webhook-pull-request-auto-merge-enabled": { @@ -48405,6 +50691,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48501,6 +50788,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -48628,7 +50916,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -48721,6 +51012,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -48784,7 +51076,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -48813,6 +51105,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -48832,6 +51125,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -49064,6 +51358,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -49127,7 +51422,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -49156,6 +51451,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -49175,6 +51471,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -49242,6 +51539,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -49289,6 +51587,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49357,6 +51656,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -49497,6 +51797,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -49516,11 +51817,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason?: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request closed event */ "webhook-pull-request-closed": { @@ -49532,7 +51834,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request converted_to_draft event */ "webhook-pull-request-converted-to-draft": { @@ -49544,7 +51846,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request demilestoned event */ "webhook-pull-request-demilestoned": { @@ -49556,7 +51858,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request dequeued event */ "webhook-pull-request-dequeued": { @@ -49654,6 +51956,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -49750,6 +52053,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -49877,7 +52181,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -49970,6 +52277,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -50033,7 +52341,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -50062,6 +52370,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -50081,6 +52390,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -50220,7 +52530,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -50313,6 +52626,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -50376,7 +52690,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -50405,6 +52719,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -50424,6 +52739,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -50491,6 +52807,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -50538,6 +52855,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -50606,6 +52924,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -50746,6 +53065,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -50765,11 +53085,25 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - reason: string; + /** @enum {string} */ + reason: + | "UNKNOWN_REMOVAL_REASON" + | "MANUAL" + | "MERGE" + | "MERGE_CONFLICT" + | "CI_FAILURE" + | "CI_TIMEOUT" + | "ALREADY_MERGED" + | "QUEUE_CLEARED" + | "ROLL_BACK" + | "BRANCH_PROTECTIONS" + | "GIT_TREE_INVALID" + | "INVALID_MERGE_COMMIT"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request edited event */ "webhook-pull-request-edited": { @@ -50800,7 +53134,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request enqueued event */ "webhook-pull-request-enqueued": { @@ -50898,6 +53232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -50994,6 +53329,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -51121,7 +53457,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -51214,6 +53553,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -51277,7 +53617,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -51306,6 +53646,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -51325,6 +53666,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -51464,7 +53806,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -51557,6 +53902,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -51620,7 +53966,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -51649,6 +53995,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -51668,6 +54015,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -51735,6 +54083,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -51782,6 +54131,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -51850,6 +54200,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -51990,6 +54341,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -52009,10 +54361,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request labeled event */ "webhook-pull-request-labeled": { @@ -52111,6 +54464,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -52207,6 +54561,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -52334,7 +54689,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -52427,6 +54785,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -52490,7 +54849,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -52519,6 +54878,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -52538,6 +54898,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -52677,7 +55038,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -52770,6 +55134,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -52833,7 +55198,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -52862,6 +55227,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -52881,6 +55247,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -52948,6 +55315,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -52995,6 +55363,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -53063,6 +55432,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -53203,6 +55573,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -53222,10 +55593,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request locked event */ "webhook-pull-request-locked": { @@ -53323,6 +55695,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -53419,6 +55792,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -53546,7 +55920,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -53639,6 +56016,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53702,7 +56080,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -53731,6 +56109,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -53750,6 +56129,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -53889,7 +56269,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -53982,6 +56365,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54045,7 +56429,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -54074,6 +56458,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -54093,6 +56478,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -54160,6 +56546,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -54207,6 +56594,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -54275,6 +56663,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -54415,6 +56804,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -54434,10 +56824,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request milestoned event */ "webhook-pull-request-milestoned": { @@ -54449,7 +56840,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request opened event */ "webhook-pull-request-opened": { @@ -54461,7 +56852,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request ready_for_review event */ "webhook-pull-request-ready-for-review": { @@ -54473,7 +56864,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request reopened event */ "webhook-pull-request-reopened": { @@ -54485,7 +56876,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment created event */ "webhook-pull-request-review-comment-created": { @@ -54623,6 +57014,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -54642,6 +57034,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -54733,6 +57126,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -54829,6 +57223,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -54956,7 +57351,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -55049,6 +57447,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55112,7 +57511,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -55141,6 +57540,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -55160,6 +57560,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -55292,7 +57693,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -55385,6 +57789,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55448,7 +57853,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -55477,6 +57882,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -55496,6 +57902,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -55567,6 +57974,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -55633,6 +58041,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -55767,6 +58176,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -55786,10 +58196,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment deleted event */ "webhook-pull-request-review-comment-deleted": { @@ -55885,6 +58296,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -55981,6 +58393,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -56108,7 +58521,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -56201,6 +58617,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56264,7 +58681,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -56293,6 +58710,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -56312,6 +58730,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -56444,7 +58863,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -56537,6 +58959,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56600,7 +59023,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -56629,6 +59052,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -56648,6 +59072,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -56719,6 +59144,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -56785,6 +59211,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -56919,6 +59346,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -56938,10 +59366,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment edited event */ "webhook-pull-request-review-comment-edited": { @@ -57038,6 +59467,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -57074,6 +59504,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -57134,6 +59565,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -57261,7 +59693,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -57354,6 +59789,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -57417,7 +59853,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -57446,6 +59882,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -57465,6 +59902,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -57597,7 +60035,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -57690,6 +60131,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -57753,7 +60195,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -57782,6 +60224,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -57801,6 +60244,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -57872,6 +60316,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -57938,6 +60383,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -58072,6 +60518,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -58089,12 +60536,13 @@ export interface components { subscriptions_url?: string; /** @enum {string} */ type?: "Bot" | "User" | "Organization" | "Mannequin"; + user_view_type?: string; /** Format: uri */ url?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review dismissed event */ "webhook-pull-request-review-dismissed": { @@ -58190,6 +60638,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -58286,6 +60735,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -58413,7 +60863,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -58506,6 +60959,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -58569,7 +61023,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -58598,6 +61052,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -58617,6 +61072,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -58749,7 +61205,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -58842,6 +61301,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -58905,7 +61365,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -58934,6 +61394,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -58953,6 +61414,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -59024,6 +61486,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -59090,6 +61553,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -59224,6 +61688,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -59243,6 +61708,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -59306,6 +61772,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -59325,9 +61792,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review edited event */ "webhook-pull-request-review-edited": { @@ -59429,6 +61897,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -59525,6 +61994,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -59647,7 +62117,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -59723,6 +62196,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59788,6 +62262,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -59807,6 +62282,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -59934,7 +62410,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -60010,6 +62489,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60075,6 +62555,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -60094,6 +62575,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -60165,6 +62647,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -60231,6 +62714,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -60365,6 +62849,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -60384,11 +62869,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_request_removed event */ "webhook-pull-request-review-request-removed": OneOf< @@ -60489,6 +62975,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -60525,6 +63012,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -60585,6 +63073,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -60712,7 +63201,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -60805,6 +63297,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60861,7 +63354,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -60890,6 +63383,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -60909,6 +63403,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -61048,7 +63543,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -61141,6 +63639,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61204,7 +63703,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -61233,6 +63732,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -61252,6 +63752,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -61319,6 +63820,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -61366,6 +63868,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -61434,6 +63937,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -61574,6 +64078,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -61593,6 +64098,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -61632,8 +64138,9 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }, { /** @enum {string} */ @@ -61731,6 +64238,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -61767,6 +64275,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -61827,6 +64336,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -61954,7 +64464,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -62047,6 +64560,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -62110,7 +64624,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -62139,6 +64653,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -62158,6 +64673,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -62297,7 +64813,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -62390,6 +64909,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -62453,7 +64973,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -62482,6 +65002,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -62501,6 +65022,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -62568,6 +65090,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -62615,6 +65138,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -62683,6 +65207,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -62823,6 +65348,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -62842,6 +65368,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -62900,7 +65427,7 @@ export interface components { */ url: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }, ] >; @@ -63003,6 +65530,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -63039,6 +65567,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -63099,6 +65628,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -63226,7 +65756,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -63319,6 +65852,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63382,7 +65916,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -63411,6 +65945,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -63430,6 +65965,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -63569,7 +66105,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -63662,6 +66201,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63725,7 +66265,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -63754,6 +66294,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -63773,6 +66314,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -63840,6 +66382,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -63887,6 +66430,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -63955,6 +66499,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -64095,6 +66640,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -64114,6 +66660,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -64153,8 +66700,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }, { /** @enum {string} */ @@ -64252,6 +66800,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -64288,6 +66837,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -64348,6 +66898,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -64475,7 +67026,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -64568,6 +67122,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -64631,7 +67186,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -64660,6 +67215,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -64679,6 +67235,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -64818,7 +67375,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -64911,6 +67471,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -64974,7 +67535,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -65003,6 +67564,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -65022,6 +67584,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -65089,6 +67652,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -65136,6 +67700,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -65204,6 +67769,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -65344,6 +67910,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -65363,6 +67930,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -65421,7 +67989,7 @@ export interface components { */ url?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }, ] >; @@ -65519,6 +68087,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -65615,6 +68184,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -65742,7 +68312,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -65835,6 +68408,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65898,7 +68472,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -65927,6 +68501,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -65946,6 +68521,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -66078,7 +68654,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -66171,6 +68750,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66234,7 +68814,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -66263,6 +68843,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -66282,6 +68863,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -66353,6 +68935,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -66419,6 +69002,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -66553,6 +69137,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -66572,11 +69157,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_thread resolved event */ "webhook-pull-request-review-thread-resolved": { @@ -66672,6 +69258,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -66768,6 +69355,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -66895,7 +69483,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -66971,6 +69562,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67038,6 +69630,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -67057,6 +69650,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -67189,7 +69783,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -67265,6 +69862,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67332,6 +69930,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -67351,6 +69950,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -67422,6 +70022,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -67488,6 +70089,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -67622,6 +70224,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -67641,10 +70244,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -67774,6 +70378,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -67793,6 +70398,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -67892,6 +70498,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -67988,6 +70595,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -68115,7 +70723,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -68191,6 +70802,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68258,6 +70870,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -68277,6 +70890,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -68409,7 +71023,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -68485,6 +71102,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68552,6 +71170,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -68571,6 +71190,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -68642,6 +71262,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -68708,6 +71329,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -68842,6 +71464,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -68861,10 +71484,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -68994,6 +71618,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -69013,6 +71638,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -69116,6 +71742,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -69212,6 +71839,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -69339,7 +71967,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -69432,6 +72063,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -69495,7 +72127,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -69524,6 +72156,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -69543,6 +72176,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -69682,7 +72316,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -69768,6 +72405,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -69831,7 +72469,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -69860,6 +72498,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -69879,6 +72518,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -69946,6 +72586,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -69993,6 +72634,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -70061,6 +72703,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -70201,6 +72844,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -70220,10 +72864,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unassigned event */ "webhook-pull-request-unassigned": { @@ -70322,6 +72967,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -70418,6 +73064,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -70545,7 +73192,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -70638,6 +73288,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -70701,7 +73352,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -70730,6 +73381,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -70749,6 +73401,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -70888,7 +73541,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -70981,6 +73637,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71044,7 +73701,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -71073,6 +73730,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -71092,6 +73750,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -71159,6 +73818,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -71206,6 +73866,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -71274,6 +73935,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -71414,6 +74076,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -71433,10 +74096,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request unlabeled event */ "webhook-pull-request-unlabeled": { @@ -71535,6 +74199,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -71631,6 +74296,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -71758,7 +74424,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -71851,6 +74520,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71914,7 +74584,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -71943,6 +74613,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -71962,6 +74633,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -72101,7 +74773,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -72187,6 +74862,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72250,7 +74926,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -72279,6 +74955,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -72298,6 +74975,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -72365,6 +75043,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -72412,6 +75091,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -72480,6 +75160,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -72620,6 +75301,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -72639,10 +75321,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unlocked event */ "webhook-pull-request-unlocked": { @@ -72740,6 +75423,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -72836,6 +75520,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -72963,7 +75648,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -73056,6 +75744,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73119,7 +75808,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -73148,6 +75837,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -73167,6 +75857,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -73306,7 +75997,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -73399,6 +76093,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73462,7 +76157,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -73491,6 +76186,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -73510,6 +76206,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -73577,6 +76274,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -73624,6 +76322,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -73692,6 +76391,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null, { deleted?: boolean; @@ -73832,6 +76532,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -73851,10 +76552,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** push event */ "webhook-push": { @@ -74112,7 +76814,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -74188,6 +76893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74237,7 +76943,7 @@ export interface components { /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-registry-package-published": { /** @enum {string} */ @@ -74272,6 +76978,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -74294,6 +77001,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body?: string | Record; body_html?: string; @@ -74412,6 +77120,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; created_at?: string; draft?: boolean; @@ -74442,7 +77151,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-registry-package-updated": { /** @enum {string} */ @@ -74477,6 +77186,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -74499,6 +77209,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body: string; body_html: string; @@ -74551,6 +77262,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; created_at: string; draft: boolean; @@ -74575,7 +77287,7 @@ export interface components { updated_at: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release created event */ "webhook-release-created": { @@ -74586,7 +77298,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release deleted event */ "webhook-release-deleted": { @@ -74597,7 +77309,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release edited event */ "webhook-release-edited": { @@ -74622,7 +77334,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release prereleased event */ "webhook-release-prereleased": { @@ -74734,6 +77446,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -74782,7 +77495,7 @@ export interface components { zipball_url: string | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release published event */ "webhook-release-published": { @@ -74793,7 +77506,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release released event */ "webhook-release-released": { @@ -74804,7 +77517,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release unpublished event */ "webhook-release-unpublished": { @@ -74815,7 +77528,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory published event */ "webhook-repository-advisory-published": { @@ -74826,7 +77539,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory reported event */ "webhook-repository-advisory-reported": { @@ -74837,7 +77550,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** repository archived event */ "webhook-repository-archived": { @@ -74847,7 +77560,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository created event */ "webhook-repository-created": { @@ -74857,7 +77570,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository deleted event */ "webhook-repository-deleted": { @@ -74867,7 +77580,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_dispatch event */ "webhook-repository-dispatch-sample": { @@ -74882,7 +77595,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository edited event */ "webhook-repository-edited": { @@ -74906,7 +77619,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_import event */ "webhook-repository-import": { @@ -74914,7 +77627,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @enum {string} */ status: "success" | "cancelled" | "failure"; }; @@ -74926,7 +77639,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository publicized event */ "webhook-repository-publicized": { @@ -74936,7 +77649,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository renamed event */ "webhook-repository-renamed": { @@ -74953,7 +77666,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset created event */ "webhook-repository-ruleset-created": { @@ -74964,7 +77677,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset deleted event */ "webhook-repository-ruleset-deleted": { @@ -74975,7 +77688,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset edited event */ "webhook-repository-ruleset-edited": { @@ -75033,7 +77746,7 @@ export interface components { }[]; }; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository transferred event */ "webhook-repository-transferred": { @@ -75084,6 +77797,7 @@ export interface components { gravatar_id?: string; /** Format: uri */ html_url?: string; + /** Format: int64 */ id: number; login: string; name?: string; @@ -75103,6 +77817,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; }; @@ -75111,7 +77826,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository unarchived event */ "webhook-repository-unarchived": { @@ -75121,7 +77836,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert create event */ "webhook-repository-vulnerability-alert-create": { @@ -75132,7 +77847,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert dismiss event */ "webhook-repository-vulnerability-alert-dismiss": { @@ -75185,6 +77900,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; external_identifier: string; /** Format: uri */ @@ -75205,7 +77921,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert reopen event */ "webhook-repository-vulnerability-alert-reopen": { @@ -75216,7 +77932,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert resolve event */ "webhook-repository-vulnerability-alert-resolve": { @@ -75288,7 +78004,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** secret_scanning_alert created event */ "webhook-secret-scanning-alert-created": { @@ -75299,7 +78015,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created": { @@ -75310,13 +78026,24 @@ export interface components { location: components["schemas"]["secret-scanning-location"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created-form-encoded": { /** @description A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object. */ payload: string; }; + /** secret_scanning_alert publicly leaked event */ + "webhook-secret-scanning-alert-publicly-leaked": { + /** @enum {string} */ + action: "publicly_leaked"; + alert: components["schemas"]["secret-scanning-alert-webhook"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; /** secret_scanning_alert reopened event */ "webhook-secret-scanning-alert-reopened": { /** @enum {string} */ @@ -75326,7 +78053,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert resolved event */ "webhook-secret-scanning-alert-resolved": { @@ -75337,29 +78064,61 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; - /** secret_scanning_alert revoked event */ - "webhook-secret-scanning-alert-revoked": { + /** secret_scanning_alert validated event */ + "webhook-secret-scanning-alert-validated": { /** @enum {string} */ - action: "revoked"; + action: "validated"; alert: components["schemas"]["secret-scanning-alert-webhook"]; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; - /** secret_scanning_alert validated event */ - "webhook-secret-scanning-alert-validated": { + /** secret_scanning_scan completed event */ + "webhook-secret-scanning-scan-completed": { /** @enum {string} */ - action: "validated"; - alert: components["schemas"]["secret-scanning-alert-webhook"]; + action: "completed"; + /** + * @description What type of scan was completed + * @enum {string} + */ + type: "backfill" | "custom-pattern-backfill" | "pattern-version-backfill"; + /** + * @description What type of content was scanned + * @enum {string} + */ + source: "git" | "issues" | "pull-requests" | "discussions" | "wiki"; + /** + * Format: date-time + * @description The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + started_at: string; + /** + * Format: date-time + * @description The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + */ + completed_at: string; + /** @description List of patterns that were updated. This will be empty for normal backfill scans or custom pattern updates */ + secret_types?: string[] | null; + /** @description If the scan was triggered by a custom pattern update, this will be the name of the pattern that was updated */ + custom_pattern_name?: string | null; + /** + * @description If the scan was triggered by a custom pattern update, this will be the scope of the pattern that was updated + * @enum {string|null} + */ + custom_pattern_scope?: + | "repository" + | "organization" + | "enterprise" + | null; + repository?: components["schemas"]["repository-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory published event */ "webhook-security-advisory-published": { @@ -75370,7 +78129,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory updated event */ "webhook-security-advisory-updated": { @@ -75381,7 +78140,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory withdrawn event */ "webhook-security-advisory-withdrawn": { @@ -75397,6 +78156,7 @@ export interface components { score: number; vector_string: string | null; }; + cvss_severities?: components["schemas"]["cvss-severities"]; cwes: { cwe_id: string; name: string; @@ -75428,7 +78188,7 @@ export interface components { }[]; withdrawn_at: string; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_and_analysis event */ "webhook-security-and-analysis": { @@ -75441,7 +78201,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["full-repository"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sponsorship cancelled event */ "webhook-sponsorship-cancelled": { @@ -75451,7 +78211,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship created event */ @@ -75462,7 +78222,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship edited event */ @@ -75479,7 +78239,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_cancellation event */ @@ -75491,7 +78251,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_tier_change event */ @@ -75504,7 +78264,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship tier_changed event */ @@ -75516,7 +78276,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** star created event */ @@ -75527,7 +78287,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. */ starred_at: string | null; }; @@ -75539,7 +78299,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. */ starred_at: unknown; }; @@ -75654,6 +78414,7 @@ export interface components { | "ocsp_pending"; signature: string | null; verified: boolean; + verified_at?: string | null; }; }; /** User */ @@ -75718,7 +78479,7 @@ export interface components { name: string; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description The Commit SHA. */ sha: string; /** @@ -75730,13 +78491,77 @@ export interface components { target_url: string | null; updated_at: string; }; + /** parent issue added event */ + "webhook-sub-issues-parent-issue-added": { + /** @enum {string} */ + action: "parent_issue_added"; + /** @description The ID of the parent issue. */ + parent_issue_id: number; + parent_issue: components["schemas"]["issue"]; + parent_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the sub-issue. */ + sub_issue_id: number; + sub_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository?: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** parent issue removed event */ + "webhook-sub-issues-parent-issue-removed": { + /** @enum {string} */ + action: "parent_issue_removed"; + /** @description The ID of the parent issue. */ + parent_issue_id: number; + parent_issue: components["schemas"]["issue"]; + parent_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the sub-issue. */ + sub_issue_id: number; + sub_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository?: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** sub-issue added event */ + "webhook-sub-issues-sub-issue-added": { + /** @enum {string} */ + action: "sub_issue_added"; + /** @description The ID of the sub-issue. */ + sub_issue_id: number; + sub_issue: components["schemas"]["issue"]; + sub_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the parent issue. */ + parent_issue_id: number; + parent_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository?: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** sub-issue removed event */ + "webhook-sub-issues-sub-issue-removed": { + /** @enum {string} */ + action: "sub_issue_removed"; + /** @description The ID of the sub-issue. */ + sub_issue_id: number; + sub_issue: components["schemas"]["issue"]; + sub_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the parent issue. */ + parent_issue_id: number; + parent_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository?: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; /** team_add event */ "webhook-team-add": { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team added_to_repository event */ @@ -75862,256 +78687,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ - id: number; - is_template?: boolean; - /** Format: uri-template */ - issue_comment_url: string; - /** Format: uri-template */ - issue_events_url: string; - /** Format: uri-template */ - issues_url: string; - /** Format: uri-template */ - keys_url: string; - /** Format: uri-template */ - labels_url: string; - language: string | null; - /** Format: uri */ - languages_url: string; - /** License */ - license: { - key: string; - name: string; - node_id: string; - spdx_id: string; - /** Format: uri */ - url: string | null; - } | null; - master_branch?: string; - /** Format: uri */ - merges_url: string; - /** Format: uri-template */ - milestones_url: string; - /** Format: uri */ - mirror_url: string | null; - /** @description The name of the repository. */ - name: string; - node_id: string; - /** Format: uri-template */ - notifications_url: string; - open_issues: number; - open_issues_count: number; - organization?: string; - /** User */ - owner: { - /** Format: uri */ - avatar_url?: string; - deleted?: boolean; - email?: string | null; - /** Format: uri-template */ - events_url?: string; - /** Format: uri */ - followers_url?: string; - /** Format: uri-template */ - following_url?: string; - /** Format: uri-template */ - gists_url?: string; - gravatar_id?: string; - /** Format: uri */ - html_url?: string; - id: number; - login: string; - name?: string; - node_id?: string; - /** Format: uri */ - organizations_url?: string; - /** Format: uri */ - received_events_url?: string; - /** Format: uri */ - repos_url?: string; - site_admin?: boolean; - /** Format: uri-template */ - starred_url?: string; - /** Format: uri */ - subscriptions_url?: string; - /** @enum {string} */ - type?: "Bot" | "User" | "Organization"; - /** Format: uri */ - url?: string; - } | null; - permissions?: { - admin: boolean; - maintain?: boolean; - pull: boolean; - push: boolean; - triage?: boolean; - }; - /** @description Whether the repository is private or public. */ - private: boolean; - public?: boolean; - /** Format: uri-template */ - pulls_url: string; - pushed_at: number | string | null; - /** Format: uri-template */ - releases_url: string; - role_name?: string | null; - size: number; - ssh_url: string; - stargazers?: number; - stargazers_count: number; - /** Format: uri */ - stargazers_url: string; - /** Format: uri-template */ - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - svn_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - topics: string[]; - /** Format: uri-template */ - trees_url: string; - /** Format: date-time */ - updated_at: string; - /** Format: uri */ - url: string; - /** @enum {string} */ - visibility: "public" | "private" | "internal"; - watchers: number; - watchers_count: number; - }; - sender?: components["schemas"]["simple-user-webhooks"]; - team: components["schemas"]["webhooks_team_1"]; - }; - /** team created event */ - "webhook-team-created": { - /** @enum {string} */ - action: "created"; - enterprise?: components["schemas"]["enterprise-webhooks"]; - installation?: components["schemas"]["simple-installation"]; - organization: components["schemas"]["organization-simple-webhooks"]; - /** - * Repository - * @description A git repository - */ - repository?: { - /** - * @description Whether to allow auto-merge for pull requests. - * @default false - */ - allow_auto_merge?: boolean; - /** @description Whether to allow private forks */ - allow_forking?: boolean; - /** - * @description Whether to allow merge commits for pull requests. - * @default true - */ - allow_merge_commit?: boolean; /** - * @description Whether to allow rebase merges for pull requests. - * @default true - */ - allow_rebase_merge?: boolean; - /** - * @description Whether to allow squash merges for pull requests. - * @default true - */ - allow_squash_merge?: boolean; - allow_update_branch?: boolean; - /** Format: uri-template */ - archive_url: string; - /** - * @description Whether the repository is archived. - * @default false - */ - archived: boolean; - /** Format: uri-template */ - assignees_url: string; - /** Format: uri-template */ - blobs_url: string; - /** Format: uri-template */ - branches_url: string; - /** Format: uri */ - clone_url: string; - /** Format: uri-template */ - collaborators_url: string; - /** Format: uri-template */ - comments_url: string; - /** Format: uri-template */ - commits_url: string; - /** Format: uri-template */ - compare_url: string; - /** Format: uri-template */ - contents_url: string; - /** Format: uri */ - contributors_url: string; - created_at: number | string; - /** @description The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. */ - custom_properties?: { - [key: string]: unknown; - }; - /** @description The default branch of the repository. */ - default_branch: string; - /** - * @description Whether to delete head branches when pull requests are merged - * @default false - */ - delete_branch_on_merge?: boolean; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** @description Returns whether or not this repository is disabled. */ - disabled?: boolean; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - forks: number; - forks_count: number; - /** Format: uri */ - forks_url: string; - full_name: string; - /** Format: uri-template */ - git_commits_url: string; - /** Format: uri-template */ - git_refs_url: string; - /** Format: uri-template */ - git_tags_url: string; - /** Format: uri */ - git_url: string; - /** - * @description Whether downloads are enabled. - * @default true - */ - has_downloads: boolean; - /** - * @description Whether issues are enabled. - * @default true - */ - has_issues: boolean; - has_pages: boolean; - /** - * @description Whether projects are enabled. - * @default true - */ - has_projects: boolean; - /** - * @description Whether the wiki is enabled. - * @default true + * Format: int64 + * @description Unique identifier of the repository */ - has_wiki: boolean; - homepage: string | null; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - /** @description Unique identifier of the repository */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -76187,6 +78766,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76234,7 +78814,260 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; + team: components["schemas"]["webhooks_team_1"]; + }; + /** team created event */ + "webhook-team-created": { + /** @enum {string} */ + action: "created"; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + /** + * Repository + * @description A git repository + */ + repository?: { + /** + * @description Whether to allow auto-merge for pull requests. + * @default false + */ + allow_auto_merge?: boolean; + /** @description Whether to allow private forks */ + allow_forking?: boolean; + /** + * @description Whether to allow merge commits for pull requests. + * @default true + */ + allow_merge_commit?: boolean; + /** + * @description Whether to allow rebase merges for pull requests. + * @default true + */ + allow_rebase_merge?: boolean; + /** + * @description Whether to allow squash merges for pull requests. + * @default true + */ + allow_squash_merge?: boolean; + allow_update_branch?: boolean; + /** Format: uri-template */ + archive_url: string; + /** + * @description Whether the repository is archived. + * @default false + */ + archived: boolean; + /** Format: uri-template */ + assignees_url: string; + /** Format: uri-template */ + blobs_url: string; + /** Format: uri-template */ + branches_url: string; + /** Format: uri */ + clone_url: string; + /** Format: uri-template */ + collaborators_url: string; + /** Format: uri-template */ + comments_url: string; + /** Format: uri-template */ + commits_url: string; + /** Format: uri-template */ + compare_url: string; + /** Format: uri-template */ + contents_url: string; + /** Format: uri */ + contributors_url: string; + created_at: number | string; + /** @description The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. */ + custom_properties?: { + [key: string]: unknown; + }; + /** @description The default branch of the repository. */ + default_branch: string; + /** + * @description Whether to delete head branches when pull requests are merged + * @default false + */ + delete_branch_on_merge?: boolean; + /** Format: uri */ + deployments_url: string; + description: string | null; + /** @description Returns whether or not this repository is disabled. */ + disabled?: boolean; + /** Format: uri */ + downloads_url: string; + /** Format: uri */ + events_url: string; + fork: boolean; + forks: number; + forks_count: number; + /** Format: uri */ + forks_url: string; + full_name: string; + /** Format: uri-template */ + git_commits_url: string; + /** Format: uri-template */ + git_refs_url: string; + /** Format: uri-template */ + git_tags_url: string; + /** Format: uri */ + git_url: string; + /** + * @description Whether downloads are enabled. + * @default true + */ + has_downloads: boolean; + /** + * @description Whether issues are enabled. + * @default true + */ + has_issues: boolean; + has_pages: boolean; + /** + * @description Whether projects are enabled. + * @default true + */ + has_projects: boolean; + /** + * @description Whether the wiki is enabled. + * @default true + */ + has_wiki: boolean; + homepage: string | null; + /** Format: uri */ + hooks_url: string; + /** Format: uri */ + html_url: string; + /** + * Format: int64 + * @description Unique identifier of the repository + */ + id: number; + is_template?: boolean; + /** Format: uri-template */ + issue_comment_url: string; + /** Format: uri-template */ + issue_events_url: string; + /** Format: uri-template */ + issues_url: string; + /** Format: uri-template */ + keys_url: string; + /** Format: uri-template */ + labels_url: string; + language: string | null; + /** Format: uri */ + languages_url: string; + /** License */ + license: { + key: string; + name: string; + node_id: string; + spdx_id: string; + /** Format: uri */ + url: string | null; + } | null; + master_branch?: string; + /** Format: uri */ + merges_url: string; + /** Format: uri-template */ + milestones_url: string; + /** Format: uri */ + mirror_url: string | null; + /** @description The name of the repository. */ + name: string; + node_id: string; + /** Format: uri-template */ + notifications_url: string; + open_issues: number; + open_issues_count: number; + organization?: string; + /** User */ + owner: { + /** Format: uri */ + avatar_url?: string; + deleted?: boolean; + email?: string | null; + /** Format: uri-template */ + events_url?: string; + /** Format: uri */ + followers_url?: string; + /** Format: uri-template */ + following_url?: string; + /** Format: uri-template */ + gists_url?: string; + gravatar_id?: string; + /** Format: uri */ + html_url?: string; + id: number; + login: string; + name?: string; + node_id?: string; + /** Format: uri */ + organizations_url?: string; + /** Format: uri */ + received_events_url?: string; + /** Format: uri */ + repos_url?: string; + site_admin?: boolean; + /** Format: uri-template */ + starred_url?: string; + /** Format: uri */ + subscriptions_url?: string; + /** @enum {string} */ + type?: "Bot" | "User" | "Organization"; + /** Format: uri */ + url?: string; + user_view_type?: string; + } | null; + permissions?: { + admin: boolean; + maintain?: boolean; + pull: boolean; + push: boolean; + triage?: boolean; + }; + /** @description Whether the repository is private or public. */ + private: boolean; + public?: boolean; + /** Format: uri-template */ + pulls_url: string; + pushed_at: number | string | null; + /** Format: uri-template */ + releases_url: string; + role_name?: string | null; + size: number; + ssh_url: string; + stargazers?: number; + stargazers_count: number; + /** Format: uri */ + stargazers_url: string; + /** Format: uri-template */ + statuses_url: string; + /** Format: uri */ + subscribers_url: string; + /** Format: uri */ + subscription_url: string; + /** Format: uri */ + svn_url: string; + /** Format: uri */ + tags_url: string; + /** Format: uri */ + teams_url: string; + topics: string[]; + /** Format: uri-template */ + trees_url: string; + /** Format: date-time */ + updated_at: string; + /** Format: uri */ + url: string; + /** @enum {string} */ + visibility: "public" | "private" | "internal"; + watchers: number; + watchers_count: number; + }; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team deleted event */ @@ -76360,7 +79193,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -76436,6 +79272,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76483,7 +79320,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team edited event */ @@ -76640,7 +79477,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -76716,6 +79556,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76763,7 +79604,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team removed_from_repository event */ @@ -76889,7 +79730,10 @@ export interface components { hooks_url: string; /** Format: uri */ html_url: string; - /** @description Unique identifier of the repository */ + /** + * Format: int64 + * @description Unique identifier of the repository + */ id: number; is_template?: boolean; /** Format: uri-template */ @@ -76965,6 +79809,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77012,7 +79857,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** watch started event */ @@ -77023,7 +79868,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** workflow_dispatch event */ "webhook-workflow-dispatch": { @@ -77035,7 +79880,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: string; }; /** workflow_job completed event */ @@ -77046,7 +79891,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -77151,7 +79996,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -77249,7 +80094,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -77303,7 +80148,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -77362,7 +80207,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -77402,6 +80247,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -77421,6 +80267,7 @@ export interface components { | "stale" | "success" | "timed_out" + | "startup_failure" | null; /** Format: date-time */ created_at: string; @@ -77561,6 +80408,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -77735,6 +80583,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -77809,6 +80658,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -77832,7 +80682,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -78296,7 +81146,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -78336,6 +81186,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -78496,6 +81347,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -78670,6 +81522,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -78744,6 +81597,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -78804,12 +81658,16 @@ export interface components { "application/json": components["schemas"]["basic-error"]; }; }; - /** @description Internal Error */ - internal_error: { + /** @description Conflict */ + conflict: { content: { "application/json": components["schemas"]["basic-error"]; }; }; + /** @description A header with no content is returned. */ + no_content: { + content: never; + }; /** @description Service unavailable */ service_unavailable: { content: { @@ -78840,8 +81698,14 @@ export interface components { "application/json": components["schemas"]["basic-error"]; }; }; - /** @description Conflict */ - conflict: { + /** @description Billing usage report response for an organization */ + billing_usage_report_org: { + content: { + "application/json": components["schemas"]["billing-usage-report"]; + }; + }; + /** @description Internal Error */ + internal_error: { content: { "application/json": components["schemas"]["basic-error"]; }; @@ -78874,14 +81738,16 @@ export interface components { }; }; }; + /** @description Copilot Usage Merics API setting is disabled at the organization or enterprise level. */ + usage_metrics_api_disabled: { + content: { + "application/json": components["schemas"]["basic-error"]; + }; + }; /** @description The value of `per_page` multiplied by `page` cannot be greater than 10000. */ package_es_list_error: { content: never; }; - /** @description A header with no content is returned. */ - no_content: { - content: never; - }; /** @description Gone */ gone: { content: { @@ -78906,6 +81772,18 @@ export interface components { "application/json": components["schemas"]["basic-error"]; }; }; + /** @description Bad Request */ + code_scanning_bad_request: { + content: { + "application/json": components["schemas"]["basic-error"]; + }; + }; + /** @description Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded */ + code_scanning_autofix_create_forbidden: { + content: { + "application/json": components["schemas"]["basic-error"]; + }; + }; /** @description Found */ found: { content: never; @@ -78964,6 +81842,8 @@ export interface components { "classroom-id": number; /** @description The slug version of the enterprise name. You can also substitute this value with the enterprise id. */ enterprise: string; + /** @description The unique identifier of the code security configuration. */ + "configuration-id": number; /** * @description A comma-separated list of states. If specified, only alerts with these states will be returned. * @@ -79006,11 +81886,7 @@ export interface components { "pagination-last"?: number; /** @description Set to `open` or `resolved` to only list secret scanning alerts in a specific state. */ "secret-scanning-alert-state"?: "open" | "resolved"; - /** - * @description A comma-separated list of secret types to return. By default all secret types are returned. - * See "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)" - * for a complete list of secret types. - */ + /** @description A comma-separated list of secret types to return. All default secret patterns are returned. To return experimental patterns, pass the token name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. */ "secret-scanning-alert-secret-type"?: string; /** @description A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. */ "secret-scanning-alert-resolution"?: string; @@ -79018,6 +81894,10 @@ export interface components { "secret-scanning-alert-sort"?: "created" | "updated"; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ "secret-scanning-alert-validity"?: string; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + "secret-scanning-alert-publicly-leaked"?: boolean; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + "secret-scanning-alert-multi-repo"?: boolean; /** @description The unique identifier of the gist. */ "gist-id": string; /** @description The unique identifier of the comment. */ @@ -79046,8 +81926,20 @@ export interface components { "since-org"?: number; /** @description The organization name. The name is not case sensitive. */ org: string; + /** @description If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year. */ + "billing-usage-report-year"?: number; + /** @description If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. */ + "billing-usage-report-month"?: number; + /** @description If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. */ + "billing-usage-report-day"?: number; + /** @description If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. */ + "billing-usage-report-hour"?: number; /** @description The unique identifier of the repository. */ "repository-id": number; + /** @description Only return runner groups that are allowed to be used by this repository. */ + "visible-to-repository"?: string; + /** @description Unique identifier of the self-hosted runner group. */ + "runner-group-id": number; /** @description Unique identifier of the self-hosted runner. */ "runner-id": number; /** @description The name of a self-hosted runner's custom label. */ @@ -79066,6 +81958,46 @@ export interface components { "tool-guid"?: components["schemas"]["code-scanning-analysis-tool-guid"]; /** @description The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. */ "hook-id": number; + /** @description The type of the actor */ + "api-insights-actor-type": + | "installation" + | "classic_pat" + | "fine_grained_pat" + | "oauth_app" + | "github_app_user_to_server"; + /** @description The ID of the actor */ + "api-insights-actor-id": number; + /** @description The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ + "api-insights-min-timestamp": string; + /** @description The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ + "api-insights-max-timestamp"?: string; + /** @description The property to sort the results by. */ + "api-insights-route-stats-sort"?: ( + | "last_rate_limited_timestamp" + | "last_request_timestamp" + | "rate_limited_request_count" + | "http_method" + | "api_route" + | "total_request_count" + )[]; + /** @description Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search. */ + "api-insights-api-route-substring"?: string; + /** @description The property to sort the results by. */ + "api-insights-sort"?: ( + | "last_rate_limited_timestamp" + | "last_request_timestamp" + | "rate_limited_request_count" + | "subject_name" + | "total_request_count" + )[]; + /** @description Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search. */ + "api-insights-subject-name-substring"?: string; + /** @description The ID of the user to query for stats */ + "api-insights-user-id": string; + /** @description The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) */ + "api-insights-timestamp-increment": string; + /** @description Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search. */ + "api-insights-actor-name-substring"?: string; /** @description The unique identifier of the invitation. */ "invitation-id": number; /** @description The name of the codespace. */ @@ -79111,10 +82043,18 @@ export interface components { "personal-access-token-after"?: string; /** @description The unique identifier of the fine-grained personal access token. */ "fine-grained-personal-access-token-id": number; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ "custom-property-name": string; - /** @description The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. */ - "repository-name-in-query"?: number; + /** + * @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + */ + "ruleset-targets"?: string; + /** @description The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. */ + "ref-in-query"?: string; + /** @description The name of the repository to filter on. */ + "repository-name-in-query"?: string; /** * @description The time period to filter by. * @@ -79233,6 +82173,8 @@ export interface components { status?: "queued" | "in_progress" | "completed"; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ "git-ref"?: components["schemas"]["code-scanning-ref"]; + /** @description The number of the pull request for the results you want to list. */ + "pr-alias"?: number; /** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ "alert-number": components["schemas"]["alert-number"]; /** @description The SHA of the commit. */ @@ -79281,8 +82223,6 @@ export interface components { "asset-id": number; /** @description The unique identifier of the release. */ "release-id": number; - /** @description The name of the ref. Cannot contain wildcard characters. When specified, only rule evaluations triggered for this ref will be returned. */ - "ref-in-query"?: string; /** @description The unique identifier of the tag protection. */ "tag-protection-id": number; /** @description The time frame to display results for. */ @@ -79399,13 +82339,23 @@ export interface operations { * For more information on the syntax of the date range, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." */ modified?: string; + /** + * @description If specified, only return advisories that have an EPSS percentage score that matches the provided value. + * The EPSS percentage represents the likelihood of a CVE being exploited. + */ + epss_percentage?: string; + /** + * @description If specified, only return advisories that have an EPSS percentile score that matches the provided value. + * The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. + */ + epss_percentile?: string; before?: components["parameters"]["pagination-before"]; after?: components["parameters"]["pagination-after"]; direction?: components["parameters"]["direction"]; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ per_page?: number; /** @description The property to sort the results by. */ - sort?: "updated" | "published"; + sort?: "updated" | "published" | "epss_percentage" | "epss_percentile"; }; }; responses: { @@ -79540,7 +82490,6 @@ export interface operations { query?: { per_page?: components["parameters"]["per-page"]; cursor?: components["parameters"]["cursor"]; - redelivery?: boolean; }; }; responses: { @@ -80108,8 +83057,6 @@ export interface operations { * * Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. * - * When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - * * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. */ "apps/create-installation-access-token": { @@ -80189,7 +83136,7 @@ export interface operations { }; /** * Delete an app authorization - * @description OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. + * @description OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. * Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). */ "apps/delete-authorization": { @@ -80216,7 +83163,7 @@ export interface operations { }; /** * Check a token - * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return `404 NOT FOUND`. */ "apps/check-token": { parameters: { @@ -80245,7 +83192,7 @@ export interface operations { }; /** * Delete an app token - * @description OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + * @description OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. */ "apps/delete-token": { parameters: { @@ -80271,7 +83218,7 @@ export interface operations { }; /** * Reset a token - * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + * @description OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`. */ "apps/reset-token": { parameters: { @@ -80304,10 +83251,6 @@ export interface operations { * token. * * Invalid tokens will return `404 NOT FOUND`. - * - * You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - * when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App - * as the username and password. */ "apps/scope-token": { parameters: { @@ -80361,7 +83304,8 @@ export interface operations { }; /** * Get an app - * @description **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + * @description > [!NOTE] + * > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). */ "apps/get-by-slug": { parameters: { @@ -80560,48 +83504,469 @@ export interface operations { }; }; /** - * Get a summary of Copilot usage for enterprise members - * @description **Note**: This endpoint is in beta and is subject to change. + * Get code security configurations for an enterprise + * @description Lists all code security configurations available in an enterprise. * - * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE - * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, - * and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. * - * The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, - * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, - * they must have telemetry enabled in their IDE. + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + */ + "code-security/get-configurations-for-enterprise": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: number; + before?: components["parameters"]["pagination-before"]; + after?: components["parameters"]["pagination-after"]; + }; + path: { + enterprise: components["parameters"]["enterprise"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration"][]; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Create a code security configuration for an enterprise + * @description Creates a code security configuration in an enterprise. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + "code-security/create-configuration-for-enterprise": { + parameters: { + path: { + enterprise: components["parameters"]["enterprise"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description The name of the code security configuration. Must be unique within the enterprise. */ + name: string; + /** @description A description of the code security configuration */ + description: string; + /** + * @description The enablement status of GitHub Advanced Security + * @default disabled + * @enum {string} + */ + advanced_security?: "enabled" | "disabled"; + /** + * @description The enablement status of Dependency Graph + * @default enabled + * @enum {string} + */ + dependency_graph?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Automatic dependency submission + * @default disabled + * @enum {string} + */ + dependency_graph_autosubmit_action?: + | "enabled" + | "disabled" + | "not_set"; + /** @description Feature options for Automatic dependency submission */ + dependency_graph_autosubmit_action_options?: { + /** + * @description Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. + * @default false + */ + labeled_runners?: boolean; + }; + /** + * @description The enablement status of Dependabot alerts + * @default disabled + * @enum {string} + */ + dependabot_alerts?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Dependabot security updates + * @default disabled + * @enum {string} + */ + dependabot_security_updates?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of code scanning default setup + * @default disabled + * @enum {string} + */ + code_scanning_default_setup?: "enabled" | "disabled" | "not_set"; + code_scanning_default_setup_options?: components["schemas"]["code-scanning-default-setup-options"]; + /** + * @description The enablement status of secret scanning + * @default disabled + * @enum {string} + */ + secret_scanning?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning push protection + * @default disabled + * @enum {string} + */ + secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning validity checks + * @default disabled + * @enum {string} + */ + secret_scanning_validity_checks?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning non provider patterns + * @default disabled + * @enum {string} + */ + secret_scanning_non_provider_patterns?: + | "enabled" + | "disabled" + | "not_set"; + /** + * @description The enablement status of private vulnerability reporting + * @default disabled + * @enum {string} + */ + private_vulnerability_reporting?: "enabled" | "disabled" | "not_set"; + /** + * @description The enforcement status for a security configuration + * @default enforced + * @enum {string} + */ + enforcement?: "enforced" | "unenforced"; + }; + }; + }; + responses: { + /** @description Successfully created code security configuration */ + 201: { + content: { + "application/json": components["schemas"]["code-security-configuration"]; + }; + }; + 400: components["responses"]["bad_request"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Get default code security configurations for an enterprise + * @description Lists the default code security configurations for an enterprise. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + */ + "code-security/get-default-configurations-for-enterprise": { + parameters: { + path: { + enterprise: components["parameters"]["enterprise"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-default-configurations"]; + }; + }; + }; + }; + /** + * Retrieve a code security configuration of an enterprise + * @description Gets a code security configuration available in an enterprise. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + */ + "code-security/get-single-configuration-for-enterprise": { + parameters: { + path: { + enterprise: components["parameters"]["enterprise"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration"]; + }; + }; + 304: components["responses"]["not_modified"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Delete a code security configuration for an enterprise + * @description Deletes a code security configuration from an enterprise. + * Repositories attached to the configuration will retain their settings but will no longer be associated with + * the configuration. * - * Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage - * metrics for the enterprise. + * The authenticated user must be an administrator for the enterprise to use this endpoint. * - * OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. */ - "copilot/usage-metrics-for-enterprise": { + "code-security/delete-configuration-for-enterprise": { + parameters: { + path: { + enterprise: components["parameters"]["enterprise"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + responses: { + 204: components["responses"]["no_content"]; + 400: components["responses"]["bad_request"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 409: components["responses"]["conflict"]; + }; + }; + /** + * Update a custom code security configuration for an enterprise + * @description Updates a code security configuration in an enterprise. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + "code-security/update-enterprise-configuration": { + parameters: { + path: { + enterprise: components["parameters"]["enterprise"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description The name of the code security configuration. Must be unique across the enterprise. */ + name?: string; + /** @description A description of the code security configuration */ + description?: string; + /** + * @description The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings. + * @enum {string} + */ + advanced_security?: "enabled" | "disabled"; + /** + * @description The enablement status of Dependency Graph + * @enum {string} + */ + dependency_graph?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Automatic dependency submission + * @enum {string} + */ + dependency_graph_autosubmit_action?: + | "enabled" + | "disabled" + | "not_set"; + /** @description Feature options for Automatic dependency submission */ + dependency_graph_autosubmit_action_options?: { + /** @description Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. */ + labeled_runners?: boolean; + }; + /** + * @description The enablement status of Dependabot alerts + * @enum {string} + */ + dependabot_alerts?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Dependabot security updates + * @enum {string} + */ + dependabot_security_updates?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of code scanning default setup + * @enum {string} + */ + code_scanning_default_setup?: "enabled" | "disabled" | "not_set"; + code_scanning_default_setup_options?: components["schemas"]["code-scanning-default-setup-options"]; + /** + * @description The enablement status of secret scanning + * @enum {string} + */ + secret_scanning?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning push protection + * @enum {string} + */ + secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning validity checks + * @enum {string} + */ + secret_scanning_validity_checks?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning non-provider patterns + * @enum {string} + */ + secret_scanning_non_provider_patterns?: + | "enabled" + | "disabled" + | "not_set"; + /** + * @description The enablement status of private vulnerability reporting + * @enum {string} + */ + private_vulnerability_reporting?: "enabled" | "disabled" | "not_set"; + /** + * @description The enforcement status for a security configuration + * @enum {string} + */ + enforcement?: "enforced" | "unenforced"; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration"]; + }; + }; + 304: components["responses"]["not_modified"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 409: components["responses"]["conflict"]; + }; + }; + /** + * Attach an enterprise configuration to repositories + * @description Attaches an enterprise code security configuration to repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration. + * + * If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled. + * + * The authenticated user must be an administrator for the enterprise to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + "code-security/attach-enterprise-configuration": { + parameters: { + path: { + enterprise: components["parameters"]["enterprise"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** + * @description The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + * @enum {string} + */ + scope: "all" | "all_without_configurations"; + }; + }; + }; + responses: { + 202: components["responses"]["accepted"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 409: components["responses"]["conflict"]; + }; + }; + /** + * Set a code security configuration as a default for an enterprise + * @description Sets a code security configuration as a default to be applied to new repositories in your enterprise. + * + * This configuration will be applied by default to the matching repository type when created, but only for organizations within the enterprise that do not already have a default code security configuration set. + * + * The authenticated user must be an administrator for the enterprise to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + */ + "code-security/set-configuration-as-default-for-enterprise": { + parameters: { + path: { + enterprise: components["parameters"]["enterprise"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** + * @description Specify which types of repository this security configuration should be applied to by default. + * @enum {string} + */ + default_for_new_repos?: + | "all" + | "none" + | "private_and_internal" + | "public"; + }; + }; + }; + responses: { + /** @description Default successfully changed. */ + 200: { + content: { + "application/json": { + /** + * @description Specifies which types of repository this security configuration is applied to by default. + * @enum {string} + */ + default_for_new_repos?: + | "all" + | "none" + | "private_and_internal" + | "public"; + configuration?: components["schemas"]["code-security-configuration"]; + }; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Get repositories associated with an enterprise code security configuration + * @description Lists the repositories associated with an enterprise code security configuration in an organization. + * + * The authenticated user must be an administrator of the enterprise in order to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint. + */ + "code-security/get-repositories-for-enterprise-configuration": { parameters: { query?: { - /** @description Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago. */ - since?: string; - /** @description Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed. */ - until?: string; - page?: components["parameters"]["page"]; - /** @description The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ per_page?: number; + before?: components["parameters"]["pagination-before"]; + after?: components["parameters"]["pagination-after"]; + /** + * @description A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. + * + * Can be: `all`, `attached`, `attaching`, `removed`, `enforced`, `failed`, `updating`, `removed_by_enterprise` + */ + status?: string; }; path: { enterprise: components["parameters"]["enterprise"]; + configuration_id: components["parameters"]["configuration-id"]; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": components["schemas"]["copilot-usage-metrics"][]; + "application/json": components["schemas"]["code-security-configuration-repositories"][]; }; }; - 401: components["responses"]["requires_authentication"]; 403: components["responses"]["forbidden"]; 404: components["responses"]["not_found"]; - 500: components["responses"]["internal_error"]; }; }; /** @@ -80669,6 +84034,8 @@ export interface operations { before?: components["parameters"]["pagination-before"]; after?: components["parameters"]["pagination-after"]; validity?: components["parameters"]["secret-scanning-alert-validity"]; + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; path: { enterprise: components["parameters"]["enterprise"]; @@ -80690,7 +84057,8 @@ export interface operations { }; /** * List public events - * @description We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ "activity/list-public-events": { parameters: { @@ -80725,7 +84093,8 @@ export interface operations { * * By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * - * **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. + * > [!NOTE] + * > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens. */ "activity/get-feeds": { responses: { @@ -80767,7 +84136,8 @@ export interface operations { * Create a gist * @description Allows you to add a new gist with one or more files. * - * **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + * > [!NOTE] + * > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. */ "gists/create": { requestBody: { @@ -81378,10 +84748,8 @@ export interface operations { * repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not * necessarily assigned to you. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -81538,7 +84906,7 @@ export interface operations { * Get a subscription plan for an account * @description Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ "apps/get-subscription-plan-for-account": { parameters: { @@ -81566,7 +84934,7 @@ export interface operations { * List plans * @description Lists all plans that are part of your GitHub Marketplace listing. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ "apps/list-plans": { parameters: { @@ -81593,7 +84961,7 @@ export interface operations { * List accounts for a plan * @description Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ "apps/list-accounts-for-plan": { parameters: { @@ -81627,7 +84995,7 @@ export interface operations { * Get a subscription plan for an account (stubbed) * @description Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ "apps/get-subscription-plan-for-account-stubbed": { parameters: { @@ -81653,7 +85021,7 @@ export interface operations { * List plans (stubbed) * @description Lists all plans that are part of your GitHub Marketplace listing. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ "apps/list-plans-stubbed": { parameters: { @@ -81679,7 +85047,7 @@ export interface operations { * List accounts for a plan (stubbed) * @description Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. * - * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + * GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. */ "apps/list-accounts-for-plan-stubbed": { parameters: { @@ -81715,7 +85083,8 @@ export interface operations { * * The values shown in the documentation's response are example values. You must always query the API directly to get the latest values. * - * **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + * > [!NOTE] + * > This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. */ "meta/get": { responses: { @@ -81728,7 +85097,11 @@ export interface operations { 304: components["responses"]["not_modified"]; }; }; - /** List public events for a network of repositories */ + /** + * List public events for a network of repositories + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ "activity/list-public-events-for-repo-network": { parameters: { query?: { @@ -81984,7 +85357,8 @@ export interface operations { * List organizations * @description Lists all organizations, in the order that they were created. * - * **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + * > [!NOTE] + * > Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. */ "orgs/list": { parameters: { @@ -82007,6 +85381,32 @@ export interface operations { 304: components["responses"]["not_modified"]; }; }; + /** + * Get billing usage report for an organization + * @description Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + * + * **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + */ + "billing/get-github-billing-usage-report-org": { + parameters: { + query?: { + year?: components["parameters"]["billing-usage-report-year"]; + month?: components["parameters"]["billing-usage-report-month"]; + day?: components["parameters"]["billing-usage-report-day"]; + hour?: components["parameters"]["billing-usage-report-hour"]; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + 200: components["responses"]["billing_usage_report_org"]; + 400: components["responses"]["bad_request"]; + 403: components["responses"]["forbidden"]; + 500: components["responses"]["internal_error"]; + 503: components["responses"]["service_unavailable"]; + }; + }; /** * Get an organization * @description Gets information about an organization. @@ -82015,17 +85415,6 @@ export interface operations { * * To see the full details about an organization, the authenticated user must be an organization owner. * - * The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration: - * - * - advanced_security_enabled_for_new_repositories - * - dependabot_alerts_enabled_for_new_repositories - * - dependabot_security_updates_enabled_for_new_repositories - * - dependency_graph_enabled_for_new_repositories - * - secret_scanning_enabled_for_new_repositories - * - secret_scanning_push_protection_enabled_for_new_repositories - * - * For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." - * * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization. * * To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. @@ -82070,20 +85459,13 @@ export interface operations { }; /** * Update an organization - * @description **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - * - * Updates the organization's profile and member privileges. + * @description > [!WARNING] + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * - * With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration: + * > [!WARNING] + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * - * - advanced_security_enabled_for_new_repositories - * - dependabot_alerts_enabled_for_new_repositories - * - dependabot_security_updates_enabled_for_new_repositories - * - dependency_graph_enabled_for_new_repositories - * - secret_scanning_enabled_for_new_repositories - * - secret_scanning_push_protection_enabled_for_new_repositories - * - * For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)." + * Updates the organization's profile and member privileges. * * The authenticated user must be an organization owner to use this endpoint. * @@ -82135,7 +85517,7 @@ export interface operations { members_can_create_public_repositories?: boolean; /** * @description Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + * **Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. * @enum {string} */ members_allowed_repository_creation_type?: "all" | "private" | "none"; @@ -82167,7 +85549,10 @@ export interface operations { /** @example "http://github.blog" */ blog?: string; /** - * @description Whether GitHub Advanced Security is automatically enabled for new repositories. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. * * To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -82175,7 +85560,10 @@ export interface operations { */ advanced_security_enabled_for_new_repositories?: boolean; /** - * @description Whether Dependabot alerts is automatically enabled for new repositories. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * * To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -82183,7 +85571,10 @@ export interface operations { */ dependabot_alerts_enabled_for_new_repositories?: boolean; /** - * @description Whether Dependabot security updates is automatically enabled for new repositories. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * * To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -82191,7 +85582,10 @@ export interface operations { */ dependabot_security_updates_enabled_for_new_repositories?: boolean; /** - * @description Whether dependency graph is automatically enabled for new repositories. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * * To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -82199,7 +85593,10 @@ export interface operations { */ dependency_graph_enabled_for_new_repositories?: boolean; /** - * @description Whether secret scanning is automatically enabled for new repositories. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * * To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -82207,7 +85604,10 @@ export interface operations { */ secret_scanning_enabled_for_new_repositories?: boolean; /** - * @description Whether secret scanning push protection is automatically enabled for new repositories. + * @deprecated + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * + * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * * To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -82218,6 +85618,8 @@ export interface operations { secret_scanning_push_protection_custom_link_enabled?: boolean; /** @description If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret. */ secret_scanning_push_protection_custom_link?: string; + /** @description Controls whether or not deploy keys may be added and used for repositories in the organization. */ + deploy_keys_enabled_for_repositories?: boolean; }; }; }; @@ -82583,6 +85985,376 @@ export interface operations { }; }; }; + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/list-self-hosted-runner-groups-for-org": { + parameters: { + query?: { + per_page?: components["parameters"]["per-page"]; + page?: components["parameters"]["page"]; + visible_to_repository?: components["parameters"]["visible-to-repository"]; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": { + total_count: number; + runner_groups: components["schemas"]["runner-groups-org"][]; + }; + }; + }; + }; + }; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/create-self-hosted-runner-group-for-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. + * @default all + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids?: number[]; + /** @description List of runner IDs to add to the runner group. */ + runners?: number[]; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 201: { + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/get-self-hosted-runner-group-for-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/delete-self-hosted-runner-group-from-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + }; + }; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/update-self-hosted-runner-group-for-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/list-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: { + page?: components["parameters"]["page"]; + per_page?: components["parameters"]["per-page"]; + }; + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": { + total_count: number; + repositories: components["schemas"]["minimal-repository"][]; + }; + }; + }; + }; + }; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/set-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + }; + }; + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/add-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + repository_id: components["parameters"]["repository-id"]; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + }; + }; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + repository_id: components["parameters"]["repository-id"]; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + }; + }; + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/list-self-hosted-runners-in-group-for-org": { + parameters: { + query?: { + per_page?: components["parameters"]["per-page"]; + page?: components["parameters"]["page"]; + }; + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + }; + content: { + "application/json": { + total_count: number; + runners: components["schemas"]["runner"][]; + }; + }; + }; + }; + }; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/set-self-hosted-runners-in-group-for-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description List of runner IDs to add to the runner group. */ + runners: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + }; + }; + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/add-self-hosted-runner-to-group-for-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + runner_id: components["parameters"]["runner-id"]; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + }; + }; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "actions/remove-self-hosted-runner-from-group-for-org": { + parameters: { + path: { + org: components["parameters"]["org"]; + runner_group_id: components["parameters"]["runner-group-id"]; + runner_id: components["parameters"]["runner-id"]; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + }; + }; /** * List self-hosted runners for an organization * @description Lists all self-hosted runners configured in an organization. @@ -83536,6 +87308,54 @@ export interface operations { }; }; }; + /** + * List attestations + * @description List a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization. + * + * The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + * + * **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + "orgs/list-attestations": { + parameters: { + query?: { + per_page?: components["parameters"]["per-page"]; + before?: components["parameters"]["pagination-before"]; + after?: components["parameters"]["pagination-after"]; + }; + path: { + org: components["parameters"]["org"]; + /** @description The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. */ + subject_digest: string; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": { + attestations?: { + /** + * @description The attestation's Sigstore Bundle. + * Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + */ + bundle?: { + mediaType?: string; + verificationMaterial?: { + [key: string]: unknown; + }; + dsseEnvelope?: { + [key: string]: unknown; + }; + }; + repository_id?: number; + bundle_url?: string; + }[]; + }; + }; + }; + }; + }; /** * List users blocked by an organization * @description List the users blocked by an organization. @@ -83663,6 +87483,546 @@ export interface operations { 503: components["responses"]["service_unavailable"]; }; }; + /** + * Get code security configurations for an organization + * @description Lists all code security configurations available in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/get-configurations-for-org": { + parameters: { + query?: { + /** @description The target type of the code security configuration */ + target_type?: "global" | "all"; + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: number; + before?: components["parameters"]["pagination-before"]; + after?: components["parameters"]["pagination-after"]; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration"][]; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Create a code security configuration + * @description Creates a code security configuration in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/create-configuration": { + parameters: { + path: { + org: components["parameters"]["org"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description The name of the code security configuration. Must be unique within the organization. */ + name: string; + /** @description A description of the code security configuration */ + description: string; + /** + * @description The enablement status of GitHub Advanced Security + * @default disabled + * @enum {string} + */ + advanced_security?: "enabled" | "disabled"; + /** + * @description The enablement status of Dependency Graph + * @default enabled + * @enum {string} + */ + dependency_graph?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Automatic dependency submission + * @default disabled + * @enum {string} + */ + dependency_graph_autosubmit_action?: + | "enabled" + | "disabled" + | "not_set"; + /** @description Feature options for Automatic dependency submission */ + dependency_graph_autosubmit_action_options?: { + /** + * @description Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. + * @default false + */ + labeled_runners?: boolean; + }; + /** + * @description The enablement status of Dependabot alerts + * @default disabled + * @enum {string} + */ + dependabot_alerts?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Dependabot security updates + * @default disabled + * @enum {string} + */ + dependabot_security_updates?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of code scanning default setup + * @default disabled + * @enum {string} + */ + code_scanning_default_setup?: "enabled" | "disabled" | "not_set"; + code_scanning_default_setup_options?: components["schemas"]["code-scanning-default-setup-options"]; + /** + * @description The enablement status of secret scanning + * @default disabled + * @enum {string} + */ + secret_scanning?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning push protection + * @default disabled + * @enum {string} + */ + secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @default disabled + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; + /** + * @description The enablement status of secret scanning validity checks + * @default disabled + * @enum {string} + */ + secret_scanning_validity_checks?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning non provider patterns + * @default disabled + * @enum {string} + */ + secret_scanning_non_provider_patterns?: + | "enabled" + | "disabled" + | "not_set"; + /** + * @description The enablement status of private vulnerability reporting + * @default disabled + * @enum {string} + */ + private_vulnerability_reporting?: "enabled" | "disabled" | "not_set"; + /** + * @description The enforcement status for a security configuration + * @default enforced + * @enum {string} + */ + enforcement?: "enforced" | "unenforced"; + }; + }; + }; + responses: { + /** @description Successfully created code security configuration */ + 201: { + content: { + "application/json": components["schemas"]["code-security-configuration"]; + }; + }; + }; + }; + /** + * Get default code security configurations + * @description Lists the default code security configurations for an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/get-default-configurations": { + parameters: { + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-default-configurations"]; + }; + }; + 304: components["responses"]["not_modified"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Detach configurations from repositories + * @description Detach code security configuration(s) from a set of repositories. + * Repositories will retain their settings but will no longer be associated with the configuration. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/detach-configuration": { + parameters: { + path: { + org: components["parameters"]["org"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description An array of repository IDs to detach from configurations. */ + selected_repository_ids?: number[]; + }; + }; + }; + responses: { + 204: components["responses"]["no_content"]; + 400: components["responses"]["bad_request"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 409: components["responses"]["conflict"]; + }; + }; + /** + * Get a code security configuration + * @description Gets a code security configuration available in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/get-configuration": { + parameters: { + path: { + org: components["parameters"]["org"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration"]; + }; + }; + 304: components["responses"]["not_modified"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Delete a code security configuration + * @description Deletes the desired code security configuration from an organization. + * Repositories attached to the configuration will retain their settings but will no longer be associated with + * the configuration. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/delete-configuration": { + parameters: { + path: { + org: components["parameters"]["org"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + responses: { + 204: components["responses"]["no_content"]; + 400: components["responses"]["bad_request"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 409: components["responses"]["conflict"]; + }; + }; + /** + * Update a code security configuration + * @description Updates a code security configuration in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/update-configuration": { + parameters: { + path: { + org: components["parameters"]["org"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description The name of the code security configuration. Must be unique within the organization. */ + name?: string; + /** @description A description of the code security configuration */ + description?: string; + /** + * @description The enablement status of GitHub Advanced Security + * @enum {string} + */ + advanced_security?: "enabled" | "disabled"; + /** + * @description The enablement status of Dependency Graph + * @enum {string} + */ + dependency_graph?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Automatic dependency submission + * @enum {string} + */ + dependency_graph_autosubmit_action?: + | "enabled" + | "disabled" + | "not_set"; + /** @description Feature options for Automatic dependency submission */ + dependency_graph_autosubmit_action_options?: { + /** @description Whether to use runners labeled with 'dependency-submission' or standard GitHub runners. */ + labeled_runners?: boolean; + }; + /** + * @description The enablement status of Dependabot alerts + * @enum {string} + */ + dependabot_alerts?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of Dependabot security updates + * @enum {string} + */ + dependabot_security_updates?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of code scanning default setup + * @enum {string} + */ + code_scanning_default_setup?: "enabled" | "disabled" | "not_set"; + code_scanning_default_setup_options?: components["schemas"]["code-scanning-default-setup-options"]; + /** + * @description The enablement status of secret scanning + * @enum {string} + */ + secret_scanning?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning push protection + * @enum {string} + */ + secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; + /** + * @description The enablement status of secret scanning validity checks + * @enum {string} + */ + secret_scanning_validity_checks?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning non-provider patterns + * @enum {string} + */ + secret_scanning_non_provider_patterns?: + | "enabled" + | "disabled" + | "not_set"; + /** + * @description The enablement status of private vulnerability reporting + * @enum {string} + */ + private_vulnerability_reporting?: "enabled" | "disabled" | "not_set"; + /** + * @description The enforcement status for a security configuration + * @enum {string} + */ + enforcement?: "enforced" | "unenforced"; + }; + }; + }; + responses: { + /** @description Response when a configuration is updated */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration"]; + }; + }; + /** @description Response when no new updates are made */ + 204: { + content: never; + }; + }; + }; + /** + * Attach a configuration to repositories + * @description Attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration. + * + * If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/attach-configuration": { + parameters: { + path: { + org: components["parameters"]["org"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** + * @description The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + * @enum {string} + */ + scope: + | "all" + | "all_without_configurations" + | "public" + | "private_or_internal" + | "selected"; + /** @description An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. */ + selected_repository_ids?: number[]; + }; + }; + }; + responses: { + 202: components["responses"]["accepted"]; + }; + }; + /** + * Set a code security configuration as a default for an organization + * @description Sets a code security configuration as a default to be applied to new repositories in your organization. + * + * This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/set-configuration-as-default": { + parameters: { + path: { + org: components["parameters"]["org"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** + * @description Specify which types of repository this security configuration should be applied to by default. + * @enum {string} + */ + default_for_new_repos?: + | "all" + | "none" + | "private_and_internal" + | "public"; + }; + }; + }; + responses: { + /** @description Default successfully changed. */ + 200: { + content: { + "application/json": { + /** + * @description Specifies which types of repository this security configuration is applied to by default. + * @enum {string} + */ + default_for_new_repos?: + | "all" + | "none" + | "private_and_internal" + | "public"; + configuration?: components["schemas"]["code-security-configuration"]; + }; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Get repositories associated with a code security configuration + * @description Lists the repositories associated with a code security configuration in an organization. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + */ + "code-security/get-repositories-for-configuration": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: number; + before?: components["parameters"]["pagination-before"]; + after?: components["parameters"]["pagination-after"]; + /** + * @description A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. + * + * Can be: `all`, `attached`, `attaching`, `detached`, `removed`, `enforced`, `failed`, `updating`, `removed_by_enterprise` + */ + status?: string; + }; + path: { + org: components["parameters"]["org"]; + configuration_id: components["parameters"]["configuration-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration-repositories"][]; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; /** * List codespaces for the organization * @description Lists the codespaces associated to a specified organization. @@ -84085,15 +88445,16 @@ export interface operations { }; /** * Get Copilot seat information and settings for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown - * and code matching policies. To configure these settings, go to your organization's settings on GitHub.com. - * For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)". + * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. + * For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)." * - * Only organization owners can configure and view details about the organization's Copilot Business subscription. + * Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription. * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. */ "copilot/get-copilot-organization-details": { parameters: { @@ -84120,13 +88481,16 @@ export interface operations { }; /** * List all Copilot seat assignments for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * - * Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle). + * Lists all Copilot seats for which an organization with a Copilot Business or Copilot Enterprise subscription is currently being billed. + * Only organization owners can view assigned seats. * - * Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription. + * Each seat object contains information about the assigned user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`. + * For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)." * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. */ "copilot/list-copilot-seats": { parameters: { @@ -84161,18 +88525,19 @@ export interface operations { }; /** * Add teams to the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. - * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." * - * Only organization owners can configure GitHub Copilot in their organization. + * Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. + * For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." + * For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." * - * In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. - * For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". - * For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". + * The response contains the total number of new seats that were created and existing seats that were refreshed. * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ "copilot/add-copilot-seats-for-teams": { parameters: { @@ -84209,18 +88574,18 @@ export interface operations { }; /** * Remove teams from the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. - * - * Cancels the Copilot seat assignment for all members of each team specified. - * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * - * For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * Sets seats for all members of each team specified to "pending cancellation". + * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. + * For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." * - * For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". + * Only organization owners can cancel Copilot seats for their organization members. * - * Only organization owners can configure GitHub Copilot in their organization. + * The response contains the total number of seats set to "pending cancellation". * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ "copilot/cancel-copilot-seat-assignment-for-teams": { parameters: { @@ -84257,18 +88622,19 @@ export interface operations { }; /** * Add users to the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. - * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." * - * Only organization owners can configure GitHub Copilot in their organization. + * Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. + * For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." + * For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." * - * In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. - * For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)". - * For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". + * The response contains the total number of new seats that were created and existing seats that were refreshed. * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ "copilot/add-copilot-seats-for-users": { parameters: { @@ -84305,18 +88671,18 @@ export interface operations { }; /** * Remove users from the Copilot subscription for an organization - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * - * Cancels the Copilot seat assignment for each user specified. - * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. + * Sets seats for all users specified to "pending cancellation". + * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. + * For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." * - * For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". + * Only organization owners can cancel Copilot seats for their organization members. * - * For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)". + * The response contains the total number of seats set to "pending cancellation". * - * Only organization owners can configure GitHub Copilot in their organization. - * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. */ "copilot/cancel-copilot-seat-assignment-for-users": { parameters: { @@ -84351,22 +88717,66 @@ export interface operations { 500: components["responses"]["internal_error"]; }; }; + /** + * Get Copilot metrics for an organization + * @description Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. + * + * > [!NOTE] + * > This endpoint will only return results for a given day if the organization contained **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. + * + * The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + * they must have telemetry enabled in their IDE. + * + * To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization. + * Only organization owners and owners and billing managers of the parent enterprise can view Copilot metrics. + * + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + */ + "copilot/copilot-metrics-for-organization": { + parameters: { + query?: { + /** @description Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago. */ + since?: string; + /** @description Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed. */ + until?: string; + page?: components["parameters"]["page"]; + /** @description The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: number; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["copilot-usage-metrics-day"][]; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 422: components["responses"]["usage_metrics_api_disabled"]; + 500: components["responses"]["internal_error"]; + }; + }; /** * Get a summary of Copilot usage for organization members - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. * See the response schema tab for detailed metrics definitions. * - * The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + * The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, * they must have telemetry enabled in their IDE. * - * Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view - * Copilot usage metrics. + * Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics. * - * OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. */ "copilot/usage-metrics-for-org": { parameters: { @@ -84786,7 +89196,11 @@ export interface operations { 403: components["responses"]["forbidden"]; }; }; - /** List public organization events */ + /** + * List public organization events + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ "activity/list-public-org-events": { parameters: { query?: { @@ -84835,7 +89249,9 @@ export interface operations { }; /** * List organization webhooks - * @description You must be an organization owner to use this endpoint. + * @description List webhooks for an organization. + * + * The authenticated user must be an organization owner to use this endpoint. * * OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit * webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. @@ -84953,7 +89369,9 @@ export interface operations { }; /** * Delete an organization webhook - * @description You must be an organization owner to use this endpoint. + * @description Delete a webhook for an organization. + * + * The authenticated user must be an organization owner to use this endpoint. * * OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit * webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. @@ -85105,7 +89523,6 @@ export interface operations { query?: { per_page?: components["parameters"]["per-page"]; cursor?: components["parameters"]["cursor"]; - redelivery?: boolean; }; path: { org: components["parameters"]["org"]; @@ -85199,6 +89616,240 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; + /** + * Get route stats by actor + * @description Get API request count statistics for an actor broken down by route within a specified time frame. + */ + "api-insights/get-route-stats-by-actor": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + page?: components["parameters"]["page"]; + per_page?: components["parameters"]["per-page"]; + direction?: components["parameters"]["direction"]; + sort?: components["parameters"]["api-insights-route-stats-sort"]; + api_route_substring?: components["parameters"]["api-insights-api-route-substring"]; + }; + path: { + org: components["parameters"]["org"]; + actor_type: components["parameters"]["api-insights-actor-type"]; + actor_id: components["parameters"]["api-insights-actor-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-route-stats"]; + }; + }; + }; + }; + /** + * Get subject stats + * @description Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps. + */ + "api-insights/get-subject-stats": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + page?: components["parameters"]["page"]; + per_page?: components["parameters"]["per-page"]; + direction?: components["parameters"]["direction"]; + sort?: components["parameters"]["api-insights-sort"]; + subject_name_substring?: components["parameters"]["api-insights-subject-name-substring"]; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-subject-stats"]; + }; + }; + }; + }; + /** + * Get summary stats + * @description Get overall statistics of API requests made within an organization by all users and apps within a specified time frame. + */ + "api-insights/get-summary-stats": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-summary-stats"]; + }; + }; + }; + }; + /** + * Get summary stats by user + * @description Get overall statistics of API requests within the organization for a user. + */ + "api-insights/get-summary-stats-by-user": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + }; + path: { + org: components["parameters"]["org"]; + user_id: components["parameters"]["api-insights-user-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-summary-stats"]; + }; + }; + }; + }; + /** + * Get summary stats by actor + * @description Get overall statistics of API requests within the organization made by a specific actor. Actors can be GitHub App installations, OAuth apps or other tokens on behalf of a user. + */ + "api-insights/get-summary-stats-by-actor": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + }; + path: { + org: components["parameters"]["org"]; + actor_type: components["parameters"]["api-insights-actor-type"]; + actor_id: components["parameters"]["api-insights-actor-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-summary-stats"]; + }; + }; + }; + }; + /** + * Get time stats + * @description Get the number of API requests and rate-limited requests made within an organization over a specified time period. + */ + "api-insights/get-time-stats": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + timestamp_increment: components["parameters"]["api-insights-timestamp-increment"]; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-time-stats"]; + }; + }; + }; + }; + /** + * Get time stats by user + * @description Get the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period. + */ + "api-insights/get-time-stats-by-user": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + timestamp_increment: components["parameters"]["api-insights-timestamp-increment"]; + }; + path: { + org: components["parameters"]["org"]; + user_id: components["parameters"]["api-insights-user-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-time-stats"]; + }; + }; + }; + }; + /** + * Get time stats by actor + * @description Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period. + */ + "api-insights/get-time-stats-by-actor": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + timestamp_increment: components["parameters"]["api-insights-timestamp-increment"]; + }; + path: { + org: components["parameters"]["org"]; + actor_type: components["parameters"]["api-insights-actor-type"]; + actor_id: components["parameters"]["api-insights-actor-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-time-stats"]; + }; + }; + }; + }; + /** + * Get user stats + * @description Get API usage statistics within an organization for a user broken down by the type of access. + */ + "api-insights/get-user-stats": { + parameters: { + query: { + min_timestamp: components["parameters"]["api-insights-min-timestamp"]; + max_timestamp?: components["parameters"]["api-insights-max-timestamp"]; + page?: components["parameters"]["page"]; + per_page?: components["parameters"]["per-page"]; + direction?: components["parameters"]["direction"]; + sort?: components["parameters"]["api-insights-sort"]; + actor_name_substring?: components["parameters"]["api-insights-actor-name-substring"]; + }; + path: { + org: components["parameters"]["org"]; + user_id: components["parameters"]["api-insights-user-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["api-insights-user-stats"]; + }; + }; + }; + }; /** * Get an organization installation for the authenticated app * @description Enables an authenticated GitHub App to find the organization's installation information. @@ -85319,7 +89970,10 @@ export interface operations { }; /** * List pending organization invitations - * @description The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + * @description The return hash contains a `role` field which refers to the Organization + * Invitation role and will be one of the following values: `direct_member`, `admin`, + * `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub + * member, the `login` field in the return hash will be `null`. */ "orgs/list-pending-invitations": { parameters: { @@ -85357,7 +90011,7 @@ export interface operations { * Create an organization invitation * @description Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." */ "orgs/create-invitation": { @@ -85453,10 +90107,8 @@ export interface operations { * List organization issues assigned to the authenticated user * @description List issues in an organization assigned to the authenticated user. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -85670,13 +90322,17 @@ export interface operations { }; /** * Get Copilot seat assignment details for a user - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Gets the GitHub Copilot seat details for a member of an organization who currently has access to GitHub Copilot. * - * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. + * The seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`. + * For more information about activity data, see "[Reviewing user activity data for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization)." * - * Organization owners can view GitHub Copilot seat assignment details for members in their organization. + * Only organization owners can view Copilot seat assignment details for members of their organization. * - * OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. */ "copilot/get-copilot-seat-details-for-user": { parameters: { @@ -85734,7 +90390,7 @@ export interface operations { * * **Rate limits** * - * To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + * To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. */ "orgs/set-membership-for-user": { parameters: { @@ -86014,39 +90670,9 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; - /** - * List organization fine-grained permissions for an organization - * @description Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)." - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - "orgs/list-organization-fine-grained-permissions": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - responses: { - /** @description Response */ - 200: { - content: { - "application/json": components["schemas"]["organization-fine-grained-permission"][]; - }; - }; - 404: components["responses"]["not_found"]; - 422: components["responses"]["validation_failed"]; - }; - }; /** * Get all organization roles for an organization - * @description Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Lists the organization roles available in this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, the authenticated user must be one of: * @@ -86077,50 +90703,9 @@ export interface operations { 422: components["responses"]["validation_failed"]; }; }; - /** - * Create a custom organization role - * @description Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - "orgs/create-custom-organization-role": { - parameters: { - path: { - org: components["parameters"]["org"]; - }; - }; - requestBody: { - content: { - "application/json": { - /** @description The name of the custom role. */ - name: string; - /** @description A short description about the intended usage of this role or what permissions it grants. */ - description?: string; - /** @description A list of additional permissions included in this role. */ - permissions: string[]; - }; - }; - }; - responses: { - /** @description Response */ - 201: { - content: { - "application/json": components["schemas"]["organization-role"]; - }; - }; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - 422: components["responses"]["validation_failed"]; - }; - }; /** * Remove all organization roles for a team - * @description Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Removes all assigned organization roles from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -86142,7 +90727,7 @@ export interface operations { }; /** * Assign an organization role to a team - * @description Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Assigns an organization role to a team in an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -86173,7 +90758,7 @@ export interface operations { }; /** * Remove an organization role from a team - * @description Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Removes an organization role from a team. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -86196,7 +90781,7 @@ export interface operations { }; /** * Remove all organization roles for a user - * @description Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Revokes all assigned organization roles from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -86218,7 +90803,7 @@ export interface operations { }; /** * Assign an organization role to a user - * @description Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Assigns an organization role to a member of an organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -86249,7 +90834,7 @@ export interface operations { }; /** * Remove an organization role from a user - * @description Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Remove an organization role from a user. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * The authenticated user must be an administrator for the organization to use this endpoint. * @@ -86272,7 +90857,7 @@ export interface operations { }; /** * Get an organization role - * @description Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Gets an organization role that is available to this organization. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, the authenticated user must be one of: * @@ -86299,77 +90884,9 @@ export interface operations { 422: components["responses"]["validation_failed"]; }; }; - /** - * Delete a custom organization role. - * @description Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - "orgs/delete-custom-organization-role": { - parameters: { - path: { - org: components["parameters"]["org"]; - role_id: components["parameters"]["role-id"]; - }; - }; - responses: { - /** @description Response */ - 204: { - content: never; - }; - }; - }; - /** - * Update a custom organization role - * @description Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." - * - * - * To use this endpoint, the authenticated user must be one of: - * - * - An administrator for the organization. - * - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. - */ - "orgs/patch-custom-organization-role": { - parameters: { - path: { - org: components["parameters"]["org"]; - role_id: components["parameters"]["role-id"]; - }; - }; - requestBody: { - content: { - "application/json": { - /** @description The name of the custom role. */ - name?: string; - /** @description A short description about the intended usage of this role or what permissions it grants. */ - description?: string; - /** @description A list of additional permissions included in this role. */ - permissions?: string[]; - }; - }; - }; - responses: { - /** @description Response */ - 200: { - content: { - "application/json": components["schemas"]["organization-role"]; - }; - }; - 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; - 422: components["responses"]["validation_failed"]; - }; - }; /** * List teams that are assigned to an organization role - * @description Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, you must be an administrator for the organization. * @@ -86393,7 +90910,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": components["schemas"]["team"][]; + "application/json": components["schemas"]["team-role-assignment"][]; }; }; /** @description Response if the organization or role does not exist. */ @@ -86408,7 +90925,7 @@ export interface operations { }; /** * List users that are assigned to an organization role - * @description Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * @description Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Using organization roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles)." * * To use this endpoint, you must be an administrator for the organization. * @@ -86432,7 +90949,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": components["schemas"]["simple-user"][]; + "application/json": components["schemas"]["user-role-assignment"][]; }; }; /** @description Response if the organization or role does not exist. */ @@ -86544,7 +91061,7 @@ export interface operations { * List packages for an organization * @description Lists packages in an organization readable by the user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/list-packages-for-organization": { parameters: { @@ -86583,7 +91100,7 @@ export interface operations { * Get a package for an organization * @description Gets a specific package in an organization. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-package-for-organization": { parameters: { @@ -86608,7 +91125,7 @@ export interface operations { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/delete-package-for-org": { parameters: { @@ -86638,7 +91155,7 @@ export interface operations { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/restore-package-for-org": { parameters: { @@ -86666,7 +91183,7 @@ export interface operations { * List package versions for a package owned by an organization * @description Lists package versions for a package owned by an organization. * - * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-all-package-versions-for-package-owned-by-org": { parameters: { @@ -86698,7 +91215,7 @@ export interface operations { * Get a package version for an organization * @description Gets a specific package version in an organization. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-package-version-for-organization": { parameters: { @@ -86724,7 +91241,7 @@ export interface operations { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/delete-package-version-for-org": { parameters: { @@ -86755,7 +91272,7 @@ export interface operations { * * The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/restore-package-version-for-org": { parameters: { @@ -87055,6 +91572,232 @@ export interface operations { 500: components["responses"]["internal_error"]; }; }; + /** + * List private registries for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Lists all private registry configurations available at the organization-level without revealing their encrypted + * values. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "private-registries/list-org-private-registries": { + parameters: { + query?: { + per_page?: components["parameters"]["per-page"]; + page?: components["parameters"]["page"]; + }; + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + }; + content: { + "application/json": { + total_count: number; + configurations: components["schemas"]["org-private-registry-configuration"][]; + }; + }; + }; + 400: components["responses"]["bad_request"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Create a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "private-registries/create-org-private-registry": { + parameters: { + path: { + org: components["parameters"]["org"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** + * @description The registry type. + * @enum {string} + */ + registry_type: "maven_repository"; + /** @description The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication. */ + username?: string | null; + /** @description The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. */ + encrypted_value: string; + /** @description The ID of the key you used to encrypt the secret. */ + key_id: string; + /** + * @description Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry. + * @enum {string} + */ + visibility: "all" | "private" | "selected"; + /** @description An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. You can manage the list of selected repositories using the [Update a private registry for an organization](https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) endpoint. This field should be omitted if `visibility` is set to `all` or `private`. */ + selected_repository_ids?: number[]; + }; + }; + }; + responses: { + /** @description The organization private registry configuration */ + 201: { + content: { + "application/json": components["schemas"]["org-private-registry-configuration-with-selected-repositories"]; + }; + }; + 404: components["responses"]["not_found"]; + 422: components["responses"]["validation_failed"]; + }; + }; + /** + * Get private registries public key for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "private-registries/get-org-public-key": { + parameters: { + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + }; + content: { + "application/json": { + /** + * @description The identifier for the key. + * @example 012345678912345678 + */ + key_id: string; + /** + * @description The Base64 encoded public key. + * @example 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 + */ + key: string; + }; + }; + }; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Get a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Get the configuration of a single private registry defined for an organization, omitting its encrypted value. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "private-registries/get-org-private-registry": { + parameters: { + path: { + org: components["parameters"]["org"]; + secret_name: components["parameters"]["secret-name"]; + }; + }; + responses: { + /** @description The specified private registry configuration for the organization */ + 200: { + content: { + "application/json": components["schemas"]["org-private-registry-configuration"]; + }; + }; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Delete a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Delete a private registry configuration at the organization-level. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "private-registries/delete-org-private-registry": { + parameters: { + path: { + org: components["parameters"]["org"]; + secret_name: components["parameters"]["secret-name"]; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + 400: components["responses"]["bad_request"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * Update a private registry for an organization + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. + * + * Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "private-registries/update-org-private-registry": { + parameters: { + path: { + org: components["parameters"]["org"]; + secret_name: components["parameters"]["secret-name"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** + * @description The registry type. + * @enum {string} + */ + registry_type?: "maven_repository"; + /** @description The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication. */ + username?: string | null; + /** @description The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint. */ + encrypted_value?: string; + /** @description The ID of the key you used to encrypt the secret. */ + key_id?: string; + /** + * @description Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry. + * @enum {string} + */ + visibility?: "all" | "private" | "selected"; + /** @description An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. This field should be omitted if `visibility` is set to `all` or `private`. */ + selected_repository_ids?: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + 404: components["responses"]["not_found"]; + 422: components["responses"]["validation_failed"]; + }; + }; /** * List organization projects * @description Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. @@ -87133,7 +91876,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": components["schemas"]["org-custom-property"][]; + "application/json": components["schemas"]["custom-property"][]; }; }; 403: components["responses"]["forbidden"]; @@ -87158,7 +91901,7 @@ export interface operations { content: { "application/json": { /** @description The array of custom properties to create or update. */ - properties: components["schemas"]["org-custom-property"][]; + properties: components["schemas"]["custom-property"][]; }; }; }; @@ -87166,7 +91909,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": components["schemas"]["org-custom-property"][]; + "application/json": components["schemas"]["custom-property"][]; }; }; 403: components["responses"]["forbidden"]; @@ -87189,7 +91932,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": components["schemas"]["org-custom-property"]; + "application/json": components["schemas"]["custom-property"]; }; }; 403: components["responses"]["forbidden"]; @@ -87213,32 +91956,14 @@ export interface operations { }; requestBody: { content: { - "application/json": { - /** - * @description The type of the value for the property - * @example single_select - * @enum {string} - */ - value_type: "string" | "single_select"; - /** @description Whether the property is required. */ - required?: boolean; - /** @description Default value of the property */ - default_value?: string | string[] | null; - /** @description Short description of the property */ - description?: string | null; - /** - * @description An ordered list of the allowed values of the property. - * The property can have up to 200 allowed values. - */ - allowed_values?: string[] | null; - }; + "application/json": components["schemas"]["custom-property-set-payload"]; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": components["schemas"]["org-custom-property"]; + "application/json": components["schemas"]["custom-property"]; }; }; 403: components["responses"]["forbidden"]; @@ -87427,7 +92152,8 @@ export interface operations { * List organization repositories * @description Lists repositories for the specified organization. * - * **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + * > [!NOTE] + * > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." */ "repos/list-for-org": { parameters: { @@ -87552,12 +92278,14 @@ export interface operations { delete_branch_on_merge?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; /** - * @description The default value for a squash merge commit title: + * @description Required when using `squash_merge_commit_message`. + * + * The default value for a squash merge commit title: * * - `PR_TITLE` - default to the pull request's title. * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -87574,7 +92302,9 @@ export interface operations { */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** - * @description The default value for a merge commit title. + * @description Required when using `merge_commit_message`. + * + * The default value for a merge commit title. * * - `PR_TITLE` - default to the pull request's title. * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). @@ -87621,6 +92351,7 @@ export interface operations { query?: { per_page?: components["parameters"]["per-page"]; page?: components["parameters"]["page"]; + targets?: components["parameters"]["ruleset-targets"]; }; path: { org: components["parameters"]["org"]; @@ -87655,11 +92386,10 @@ export interface operations { name: string; /** * @description The target of the ruleset - * - * **Note**: The `push` target is in beta and is subject to change. + * @default branch * @enum {string} */ - target?: "branch" | "tag" | "push"; + target?: "branch" | "tag" | "push" | "repository"; enforcement: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; @@ -87688,6 +92418,7 @@ export interface operations { "repos/get-org-rule-suites": { parameters: { query?: { + ref?: components["parameters"]["ref-in-query"]; repository_name?: components["parameters"]["repository-name-in-query"]; time_period?: components["parameters"]["time-period"]; actor_name?: components["parameters"]["actor-name-in-query"]; @@ -87736,6 +92467,9 @@ export interface operations { /** * Get an organization repository ruleset * @description Get a repository ruleset for an organization. + * + * **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + * making the API request has write access to the ruleset. */ "repos/get-org-ruleset": { parameters: { @@ -87776,11 +92510,9 @@ export interface operations { name?: string; /** * @description The target of the ruleset - * - * **Note**: The `push` target is in beta and is subject to change. * @enum {string} */ - target?: "branch" | "tag" | "push"; + target?: "branch" | "tag" | "push" | "repository"; enforcement?: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; @@ -87843,6 +92575,8 @@ export interface operations { before?: components["parameters"]["secret-scanning-pagination-before-org-repo"]; after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; validity?: components["parameters"]["secret-scanning-alert-validity"]; + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; path: { org: components["parameters"]["org"]; @@ -87900,11 +92634,9 @@ export interface operations { }; /** * List security manager teams - * @description Lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." - * - * The authenticated user must be an administrator or security manager for the organization to use this endpoint. - * - * OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. */ "orgs/list-security-manager-teams": { parameters: { @@ -87923,11 +92655,9 @@ export interface operations { }; /** * Add a security manager team - * @description Adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization." - * - * The authenticated user must be an administrator for the organization to use this endpoint. - * - * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. */ "orgs/add-security-manager-team": { parameters: { @@ -87941,19 +92671,13 @@ export interface operations { 204: { content: never; }; - /** @description The organization has reached the maximum number of security manager teams. */ - 409: { - content: never; - }; }; }; /** * Remove a security manager team - * @description Removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization." - * - * The authenticated user must be an administrator for the organization to use this endpoint. - * - * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. */ "orgs/remove-security-manager-team": { parameters: { @@ -88038,24 +92762,70 @@ export interface operations { }; }; }; + /** + * Get Copilot metrics for a team + * @description Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. + * + * > [!NOTE] + * > This endpoint will only return results for a given day if the team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day. + * + * The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, + * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, + * they must have telemetry enabled in their IDE. + * + * To access this endpoint, the Copilot Metrics API access policy must be enabled for the organization containing the team within GitHub settings. + * Only organization owners for the organization that contains this team and owners and billing managers of the parent enterprise can view Copilot metrics for a team. + * + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. + */ + "copilot/copilot-metrics-for-team": { + parameters: { + query?: { + /** @description Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago. */ + since?: string; + /** @description Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed. */ + until?: string; + page?: components["parameters"]["page"]; + /** @description The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: number; + }; + path: { + org: components["parameters"]["org"]; + team_slug: components["parameters"]["team-slug"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["copilot-usage-metrics-day"][]; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 422: components["responses"]["usage_metrics_api_disabled"]; + 500: components["responses"]["internal_error"]; + }; + }; /** * Get a summary of Copilot usage for a team - * @description **Note**: This endpoint is in beta and is subject to change. + * @description > [!NOTE] + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. * See the response schema tab for detailed metrics definitions. * - * The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, + * The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day, * and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, * they must have telemetry enabled in their IDE. * - * **Note**: This endpoint will only return results for a given day if the team had five or more members on that day. + * > [!NOTE] + * > This endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day. * - * Copilot Business or Copilot Enterprise organization owners for the organization that contains this team, - * and owners and billing managers of their parent enterprises, can view Copilot usage metrics for a team. + * Organization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team. * - * OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. */ "copilot/usage-metrics-for-team": { parameters: { @@ -88159,7 +92929,7 @@ export interface operations { | "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -88184,7 +92954,8 @@ export interface operations { * Get a team by name * @description Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. */ "teams/get-by-name": { parameters: { @@ -88209,7 +92980,8 @@ export interface operations { * * If you are an organization owner, deleting a parent team will delete all of its child teams as well. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. */ "teams/delete-in-org": { parameters: { @@ -88229,7 +93001,8 @@ export interface operations { * Update a team * @description To edit a team, the authenticated user must either be an organization owner or a team maintainer. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. */ "teams/update-in-org": { parameters: { @@ -88265,7 +93038,7 @@ export interface operations { | "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -88297,7 +93070,8 @@ export interface operations { * List discussions * @description List all discussions on a team's page. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -88331,9 +93105,10 @@ export interface operations { * Create a discussion * @description Creates a new discussion post on a team's page. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88372,7 +93147,8 @@ export interface operations { * Get a discussion * @description Get a specific discussion on a team's page. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -88397,7 +93173,8 @@ export interface operations { * Delete a discussion * @description Delete a discussion from a team's page. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88420,7 +93197,8 @@ export interface operations { * Update a discussion * @description Edits the title and body text of a discussion post. Only the parameters you provide are updated. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88455,7 +93233,8 @@ export interface operations { * List discussion comments * @description List all comments on a team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -88488,9 +93267,10 @@ export interface operations { * Create a discussion comment * @description Creates a new comment on a team discussion. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88523,7 +93303,8 @@ export interface operations { * Get a discussion comment * @description Get a specific comment on a team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -88549,7 +93330,8 @@ export interface operations { * Delete a discussion comment * @description Deletes a comment on a team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88573,7 +93355,8 @@ export interface operations { * Update a discussion comment * @description Edits the body text of a discussion comment. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88607,7 +93390,8 @@ export interface operations { * List reactions for a team discussion comment * @description List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -88652,7 +93436,8 @@ export interface operations { * * A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88701,7 +93486,8 @@ export interface operations { }; /** * Delete team discussion comment reaction - * @description **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. * * Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -88728,7 +93514,8 @@ export interface operations { * List reactions for a team discussion * @description List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. */ @@ -88772,7 +93559,8 @@ export interface operations { * * A response with an HTTP `200` status means that you already added the reaction type to this team discussion. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -88820,7 +93608,8 @@ export interface operations { }; /** * Delete team discussion reaction - * @description **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. * * Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -88846,7 +93635,8 @@ export interface operations { * List pending team invitations * @description The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. */ "teams/list-pending-invitations-in-org": { parameters: { @@ -88908,10 +93698,11 @@ export interface operations { * * To get a user's membership with a team, the team must be visible to the authenticated user. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. * - * **Note:** - * The response contains the `state` of the membership and the member's `role`. + * > [!NOTE] + * > The response contains the `state` of the membership and the member's `role`. * * The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). */ @@ -88942,13 +93733,15 @@ export interface operations { * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * * An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. * * If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. */ "teams/add-or-update-membership-for-user-in-org": { parameters: { @@ -88993,9 +93786,11 @@ export interface operations { * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. */ "teams/remove-membership-for-user-in-org": { parameters: { @@ -89020,7 +93815,8 @@ export interface operations { * List team projects * @description Lists the organization projects for a team. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. */ "teams/list-projects-in-org": { parameters: { @@ -89049,7 +93845,8 @@ export interface operations { * Check team permissions for a project * @description Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. */ "teams/check-permissions-for-project-in-org": { parameters: { @@ -89076,7 +93873,8 @@ export interface operations { * Add or update team project permissions * @description Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. */ "teams/add-or-update-project-permissions-in-org": { parameters: { @@ -89117,7 +93915,8 @@ export interface operations { * Remove a project from a team * @description Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. */ "teams/remove-project-in-org": { parameters: { @@ -89138,7 +93937,8 @@ export interface operations { * List team repositories * @description Lists a team's repositories visible to the authenticated user. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. */ "teams/list-repos-in-org": { parameters: { @@ -89167,13 +93967,14 @@ export interface operations { * Check team permissions for a repository * @description Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. + * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header. * * If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. * * If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. */ "teams/check-permissions-for-repo-in-org": { parameters: { @@ -89205,7 +94006,8 @@ export interface operations { * Add or update team repository permissions * @description To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. * * For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". */ @@ -89221,10 +94023,7 @@ export interface operations { requestBody?: { content: { "application/json": { - /** - * @description The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - * @default push - */ + /** @description The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. */ permission?: string; }; }; @@ -89240,7 +94039,8 @@ export interface operations { * Remove a repository from a team * @description If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. */ "teams/remove-repo-in-org": { parameters: { @@ -89262,7 +94062,8 @@ export interface operations { * List child teams * @description Lists the child teams of the team specified by `{team_slug}`. * - * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + * > [!NOTE] + * > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. */ "teams/list-child-in-org": { parameters: { @@ -89289,11 +94090,15 @@ export interface operations { }; /** * Enable or disable a security feature for an organization - * @description Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * + * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * * The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint. * - * OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + * OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint. */ "orgs/enable-or-disable-security-product-on-all-org-repos": { parameters: { @@ -89983,7 +94788,8 @@ export interface operations { }; /** * Get rate limit status for the authenticated user - * @description **Note:** Accessing this endpoint does not count against your REST API rate limit. + * @description > [!NOTE] + * > Accessing this endpoint does not count against your REST API rate limit. * * Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories: * * The `core` object provides your rate limit status for all non-search-related resources in the REST API. @@ -89994,9 +94800,10 @@ export interface operations { * * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)." * * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)." * * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)." - * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)." + * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * - * **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > [!NOTE] + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ "rate-limit/get": { responses: { @@ -90019,7 +94826,8 @@ export interface operations { * Get a repository * @description The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. * - * **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + * > [!NOTE] + * > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." */ "repos/get": { parameters: { @@ -90131,6 +94939,16 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ status?: string; }; + /** @description Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." */ + secret_scanning_ai_detection?: { + /** @description Can be `enabled` or `disabled`. */ + status?: string; + }; + /** @description Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ + secret_scanning_non_provider_patterns?: { + /** @description Can be `enabled` or `disabled`. */ + status?: string; + }; } | null; /** * @description Either `true` to enable issues for this repository or `false` to disable them. @@ -90186,12 +95004,14 @@ export interface operations { allow_update_branch?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; /** - * @description The default value for a squash merge commit title: + * @description Required when using `squash_merge_commit_message`. + * + * The default value for a squash merge commit title: * * - `PR_TITLE` - default to the pull request's title. * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -90208,7 +95028,9 @@ export interface operations { */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** - * @description The default value for a merge commit title. + * @description Required when using `merge_commit_message`. + * + * The default value for a merge commit title. * * - `PR_TITLE` - default to the pull request's title. * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). @@ -91231,7 +96053,7 @@ export interface operations { * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. * - * This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. + * This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. */ "actions/list-workflow-runs-for-repo": { parameters: { @@ -91526,8 +96348,8 @@ export interface operations { * Review custom deployment protection rules for a workflow run * @description Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." * - * **Note:** GitHub Apps can only review their own custom deployment protection rules. - * To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). + * > [!NOTE] + * > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. */ @@ -92276,6 +97098,8 @@ export interface operations { * Anyone with read access to the repository can use this endpoint * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + * + * This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. */ "actions/list-workflow-runs": { parameters: { @@ -92455,6 +97279,103 @@ export interface operations { }; }; }; + /** + * Create an attestation + * @description Store an artifact attestation and associate it with a repository. + * + * The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required. + * + * Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + "repos/create-attestation": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** + * @description The attestation's Sigstore Bundle. + * Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + */ + bundle: { + mediaType?: string; + verificationMaterial?: { + [key: string]: unknown; + }; + dsseEnvelope?: { + [key: string]: unknown; + }; + }; + }; + }; + }; + responses: { + /** @description response */ + 201: { + content: { + "application/json": { + /** @description The ID of the attestation. */ + id?: number; + }; + }; + }; + 403: components["responses"]["forbidden"]; + 422: components["responses"]["validation_failed"]; + }; + }; + /** + * List attestations + * @description List a collection of artifact attestations with a given subject digest that are associated with a repository. + * + * The authenticated user making the request must have read access to the repository. In addition, when using a fine-grained access token the `attestations:read` permission is required. + * + * **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + "repos/list-attestations": { + parameters: { + query?: { + per_page?: components["parameters"]["per-page"]; + before?: components["parameters"]["pagination-before"]; + after?: components["parameters"]["pagination-after"]; + }; + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + /** @description The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. */ + subject_digest: string; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": { + attestations?: { + /** + * @description The attestation's Sigstore Bundle. + * Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + */ + bundle?: { + mediaType?: string; + verificationMaterial?: { + [key: string]: unknown; + }; + dsseEnvelope?: { + [key: string]: unknown; + }; + }; + repository_id?: number; + bundle_url?: string; + }[]; + }; + }; + }; + }; + }; /** * Get all autolinks of a repository * @description Gets all autolinks that are configured for a repository. @@ -92575,13 +97496,13 @@ export interface operations { }; }; responses: { - /** @description Response if dependabot is enabled */ + /** @description Response if Dependabot is enabled */ 200: { content: { "application/json": components["schemas"]["check-automated-security-fixes"]; }; }; - /** @description Not Found if dependabot is not enabled for the repository */ + /** @description Not Found if Dependabot is not enabled for the repository */ 404: { content: never; }; @@ -92627,7 +97548,7 @@ export interface operations { "repos/list-branches": { parameters: { query?: { - /** @description Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. */ + /** @description Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. */ protected?: boolean; per_page?: components["parameters"]["per-page"]; page?: components["parameters"]["page"]; @@ -92698,9 +97619,11 @@ export interface operations { * * Protecting a branch requires admin or owner permissions to the repository. * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + * > [!NOTE] + * > Passing new arrays of `users` and `teams` replaces their previous values. * - * **Note**: The list of users, apps, and teams in total is limited to 100 items. + * > [!NOTE] + * > The list of users, apps, and teams in total is limited to 100 items. */ "repos/update-branch-protection": { parameters: { @@ -92719,7 +97642,7 @@ export interface operations { strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -92941,7 +97864,8 @@ export interface operations { * * Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled. * - * **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + * > [!NOTE] + * > Passing new arrays of `users` and `teams` replaces their previous values. */ "repos/update-pull-request-review-protection": { parameters: { @@ -93002,7 +97926,8 @@ export interface operations { * * When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help. * - * **Note**: You must enable branch protection to require signed commits. + * > [!NOTE] + * > You must enable branch protection to require signed commits. */ "repos/get-commit-signature-protection": { parameters: { @@ -93130,7 +98055,7 @@ export interface operations { strict?: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts?: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -93276,7 +98201,8 @@ export interface operations { * * Lists who has access to this protected branch. * - * **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + * > [!NOTE] + * > Users, apps, and teams `restrictions` are only available for organization-owned repositories. */ "repos/get-access-restrictions": { parameters: { @@ -93355,7 +98281,7 @@ export interface operations { branch: components["parameters"]["branch"]; }; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ @@ -93387,7 +98313,7 @@ export interface operations { branch: components["parameters"]["branch"]; }; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ @@ -93419,7 +98345,7 @@ export interface operations { branch: components["parameters"]["branch"]; }; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ @@ -93599,7 +98525,7 @@ export interface operations { branch: components["parameters"]["branch"]; }; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ @@ -93635,7 +98561,7 @@ export interface operations { branch: components["parameters"]["branch"]; }; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ @@ -93671,7 +98597,7 @@ export interface operations { branch: components["parameters"]["branch"]; }; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ @@ -93693,7 +98619,8 @@ export interface operations { * Rename a branch * @description Renames a branch in a repository. * - * **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". + * > [!NOTE] + * > Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)". * * The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions. * @@ -93850,7 +98777,8 @@ export interface operations { * Get a check run * @description Gets a single check run using its `id`. * - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -93875,7 +98803,8 @@ export interface operations { * Update a check run * @description Updates a check run for a specific commit in a repository. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * OAuth apps and personal access tokens (classic) cannot use this endpoint. */ @@ -94077,7 +99006,8 @@ export interface operations { * Create a check suite * @description Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)". * - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * * OAuth apps and personal access tokens (classic) cannot use this endpoint. */ @@ -94152,7 +99082,8 @@ export interface operations { * Get a check suite * @description Gets a single check suite using its `id`. * - * **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -94177,7 +99108,8 @@ export interface operations { * List check runs in a check suite * @description Lists check runs for a check suite using its `id`. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -94341,6 +99273,112 @@ export interface operations { 503: components["responses"]["service_unavailable"]; }; }; + /** + * Get the status of an autofix for a code scanning alert + * @description Gets the status and description of an autofix for a code scanning alert. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + "code-scanning/get-autofix": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + alert_number: components["parameters"]["alert-number"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-scanning-autofix"]; + }; + }; + 400: components["responses"]["code_scanning_bad_request"]; + 403: components["responses"]["code_scanning_forbidden_read"]; + 404: components["responses"]["not_found"]; + 503: components["responses"]["service_unavailable"]; + }; + }; + /** + * Create an autofix for a code scanning alert + * @description Creates an autofix for a code scanning alert. + * + * If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. + * + * If an autofix already exists for a given alert, then this endpoint will return a 200 OK response. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + "code-scanning/create-autofix": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + alert_number: components["parameters"]["alert-number"]; + }; + }; + responses: { + /** @description OK */ + 200: { + content: { + "application/json": components["schemas"]["code-scanning-autofix"]; + }; + }; + /** @description Accepted */ + 202: { + content: { + "application/json": components["schemas"]["code-scanning-autofix"]; + }; + }; + 400: components["responses"]["code_scanning_bad_request"]; + 403: components["responses"]["code_scanning_autofix_create_forbidden"]; + 404: components["responses"]["not_found"]; + /** @description Unprocessable Entity */ + 422: { + content: never; + }; + 503: components["responses"]["service_unavailable"]; + }; + }; + /** + * Commit an autofix for a code scanning alert + * @description Commits an autofix for a code scanning alert. + * + * If an autofix is commited as a result of this request, then this endpoint will return a 201 Created response. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + "code-scanning/commit-autofix": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + alert_number: components["parameters"]["alert-number"]; + }; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["code-scanning-autofix-commits"]; + }; + }; + responses: { + /** @description Created */ + 201: { + content: { + "application/json": components["schemas"]["code-scanning-autofix-commits-response"]; + }; + }; + 400: components["responses"]["code_scanning_bad_request"]; + 403: components["responses"]["code_scanning_forbidden_write"]; + 404: components["responses"]["not_found"]; + /** @description Unprocessable Entity */ + 422: { + content: never; + }; + 503: components["responses"]["service_unavailable"]; + }; + }; /** * List instances of a code scanning alert * @description Lists all instances of the specified code scanning alert. @@ -94353,6 +99391,7 @@ export interface operations { page?: components["parameters"]["page"]; per_page?: components["parameters"]["per-page"]; ref?: components["parameters"]["git-ref"]; + pr?: components["parameters"]["pr-alias"]; }; path: { owner: components["parameters"]["owner"]; @@ -94385,8 +99424,8 @@ export interface operations { * For very old analyses this data is not available, * and `0` is returned in this field. * - * **Deprecation notice**: - * The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > [!WARNING] + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -94397,6 +99436,7 @@ export interface operations { tool_guid?: components["parameters"]["tool-guid"]; page?: components["parameters"]["page"]; per_page?: components["parameters"]["per-page"]; + pr?: components["parameters"]["pr-alias"]; /** @description The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["schemas"]["code-scanning-ref"]; /** @description Filter analyses belonging to the same SARIF upload. */ @@ -94563,7 +99603,7 @@ export interface operations { * List CodeQL databases for a repository * @description Lists the CodeQL databases that are available in a repository. * - * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ "code-scanning/list-codeql-databases": { parameters: { @@ -94590,11 +99630,11 @@ export interface operations { * * By default this endpoint returns JSON metadata about the CodeQL database. To * download the CodeQL database binary content, set the `Accept` header of the request - * to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure + * to [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and make sure * your HTTP client is configured to follow redirects or use the `Location` header * to make a second request to get the redirect URL. * - * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ "code-scanning/get-codeql-database": { parameters: { @@ -94618,6 +99658,138 @@ export interface operations { 503: components["responses"]["service_unavailable"]; }; }; + /** + * Delete a CodeQL database + * @description Deletes a CodeQL database for a language in a repository. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + "code-scanning/delete-codeql-database": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + /** @description The language of the CodeQL database. */ + language: string; + }; + }; + responses: { + /** @description Response */ + 204: { + content: never; + }; + 403: components["responses"]["code_scanning_forbidden_write"]; + 404: components["responses"]["not_found"]; + 503: components["responses"]["service_unavailable"]; + }; + }; + /** + * Create a CodeQL variant analysis + * @description Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories. + * + * Get started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis). + * + * Use the `owner` and `repo` parameters in the URL to specify the controller repository that + * will be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + */ + "code-scanning/create-variant-analysis": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + }; + }; + requestBody: { + content: { + "application/json": { + language: components["schemas"]["code-scanning-variant-analysis-language"]; + /** @description A Base64-encoded tarball containing a CodeQL query and all its dependencies */ + query_pack: string; + /** @description List of repository names (in the form `owner/repo-name`) to run the query against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. */ + repositories?: string[]; + /** @description List of repository lists to run the query against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. */ + repository_lists?: string[]; + /** @description List of organization or user names whose repositories the query should be run against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. */ + repository_owners?: string[]; + }; + }; + }; + responses: { + /** @description Variant analysis submitted for processing */ + 201: { + content: { + "application/json": components["schemas"]["code-scanning-variant-analysis"]; + }; + }; + 404: components["responses"]["not_found"]; + /** @description Unable to process variant analysis submission */ + 422: { + content: { + "application/json": components["schemas"]["basic-error"]; + }; + }; + 503: components["responses"]["service_unavailable"]; + }; + }; + /** + * Get the summary of a CodeQL variant analysis + * @description Gets the summary of a CodeQL variant analysis. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + "code-scanning/get-variant-analysis": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + /** @description The unique identifier of the variant analysis. */ + codeql_variant_analysis_id: number; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-scanning-variant-analysis"]; + }; + }; + 404: components["responses"]["not_found"]; + 503: components["responses"]["service_unavailable"]; + }; + }; + /** + * Get the analysis status of a repository in a CodeQL variant analysis + * @description Gets the analysis status of a repository in a CodeQL variant analysis. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + */ + "code-scanning/get-variant-analysis-repo-task": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + /** @description The name of the controller repository. */ + repo: string; + /** @description The ID of the variant analysis. */ + codeql_variant_analysis_id: number; + /** @description The account owner of the variant analysis repository. The name is not case sensitive. */ + repo_owner: string; + /** @description The name of the variant analysis repository. */ + repo_name: string; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-scanning-variant-analysis-repo-task"]; + }; + }; + 404: components["responses"]["not_found"]; + 503: components["responses"]["service_unavailable"]; + }; + }; /** * Get a code scanning default setup configuration * @description Gets a code scanning default setup configuration. @@ -94714,6 +99886,8 @@ export interface operations { * For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)." * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + * + * This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. */ "code-scanning/upload-sarif": { parameters: { @@ -94799,6 +99973,34 @@ export interface operations { 503: components["responses"]["service_unavailable"]; }; }; + /** + * Get the code security configuration associated with a repository + * @description Get the code security configuration that manages a repository's code security settings. + * + * The authenticated user must be an administrator or security manager for the organization to use this endpoint. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + */ + "code-security/get-configuration-for-repository": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["code-security-configuration-for-repository"]; + }; + }; + 204: components["responses"]["no_content"]; + 304: components["responses"]["not_modified"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + }; + }; /** * List CODEOWNERS errors * @description List any syntax errors that are detected in the CODEOWNERS @@ -94885,7 +100087,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -95113,8 +100315,6 @@ export interface operations { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ "codespaces/get-repo-public-key": { @@ -95285,7 +100485,7 @@ export interface operations { }; /** * Add a repository collaborator - * @description This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * @description This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." * @@ -95364,7 +100564,8 @@ export interface operations { * - If the user had their own fork of the repository, the fork will be deleted. * - If the user still has read access to the repository, open pull requests by this user from a fork will be denied. * - * **Note**: A user can still have access to the repository through organization permissions like base repository permissions. + * > [!NOTE] + * > A user can still have access to the repository through organization permissions like base repository permissions. * * Although the API responds immediately, the additional permission updates might take some extra time to complete in the background. * @@ -95620,7 +100821,8 @@ export interface operations { }; /** * Delete a commit comment reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. * * Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). */ @@ -95652,6 +100854,7 @@ export interface operations { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -95682,8 +100885,9 @@ export interface operations { author?: string; /** @description GitHub username or email address to use to filter by commit committer. */ committer?: string; - since?: components["parameters"]["since"]; - /** @description Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */ + /** @description Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. */ + since?: string; + /** @description Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. */ until?: string; per_page?: components["parameters"]["per-page"]; page?: components["parameters"]["page"]; @@ -95773,7 +100977,7 @@ export interface operations { * Create a commit comment * @description Create a comment for a commit using its `:commit_sha`. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -95799,7 +101003,7 @@ export interface operations { path?: string; /** @description Line index in the diff to comment on. */ position?: number; - /** @description **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ + /** @description **Closing down notice**. Use **position** parameter instead. Line number in the file to comment on. */ line?: number; }; }; @@ -95854,7 +101058,8 @@ export interface operations { * Get a commit * @description Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. * - * **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. + * > [!NOTE] + * > If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types. * @@ -95872,6 +101077,7 @@ export interface operations { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -95921,7 +101127,8 @@ export interface operations { * List check runs for a Git reference * @description Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. * * If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint. * @@ -95963,7 +101170,8 @@ export interface operations { * List check suites for a Git reference * @description Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. * - * **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. */ @@ -96113,7 +101321,7 @@ export interface operations { * * To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination: * - * - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison. + * - The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison. * - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results. * * For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)." @@ -96128,6 +101336,7 @@ export interface operations { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -96226,6 +101435,7 @@ export interface operations { }; }; 302: components["responses"]["found"]; + 304: components["responses"]["not_modified"]; 403: components["responses"]["forbidden"]; 404: components["responses"]["not_found"]; }; @@ -96234,7 +101444,8 @@ export interface operations { * Create or update file contents * @description Creates a new file or replaces an existing file in a repository. * - * **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + * > [!NOTE] + * > If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. */ @@ -96293,7 +101504,14 @@ export interface operations { }; }; 404: components["responses"]["not_found"]; - 409: components["responses"]["conflict"]; + /** @description Conflict */ + 409: { + content: { + "application/json": + | components["schemas"]["basic-error"] + | components["schemas"]["repository-rule-violation-error"]; + }; + }; 422: components["responses"]["validation_failed"]; }; }; @@ -96307,7 +101525,8 @@ export interface operations { * * You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code. * - * **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + * > [!NOTE] + * > If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. */ "repos/delete-file": { parameters: { @@ -96411,7 +101630,7 @@ export interface operations { direction?: components["parameters"]["direction"]; /** * @deprecated - * @description **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. + * @description **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. */ page?: number; /** @@ -97019,7 +102238,10 @@ export interface operations { | "pending" | "success"; /** - * @description The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + * @description The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. + * + * > [!NOTE] + * > It's recommended to use the `log_url` parameter, which replaces `target_url`. * @default */ target_url?: string; @@ -97104,7 +102326,7 @@ export interface operations { "application/json": { /** @description A custom webhook event name. Must be 100 characters or fewer. */ event_type: string; - /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. */ + /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. */ client_payload?: { [key: string]: unknown; }; @@ -97157,7 +102379,8 @@ export interface operations { }; /** * Get an environment - * @description **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." + * @description > [!NOTE] + * > To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." * * Anyone with read access to the repository can use this endpoint. * @@ -97184,9 +102407,11 @@ export interface operations { * Create or update an environment * @description Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." * - * **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." + * > [!NOTE] + * > To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)." * - * **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." + * > [!NOTE] + * > To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)." * * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ @@ -97470,7 +102695,9 @@ export interface operations { }; /** * List custom deployment rule integrations available for an environment - * @description Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint. + * @description Gets all custom deployment protection rule integrations that are available for an environment. + * + * The authenticated user must have admin or owner permissions to the repository to use this endpoint. * * For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." * @@ -97865,7 +103092,8 @@ export interface operations { }; /** * List repository events - * @description **Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ "activity/list-repo-events": { parameters: { @@ -97918,9 +103146,11 @@ export interface operations { * Create a fork * @description Create a fork for the authenticated user. * - * **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). + * > [!NOTE] + * > Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api). * - * **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + * > [!NOTE] + * > Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. */ "repos/create-fork": { parameters: { @@ -97989,7 +103219,14 @@ export interface operations { 403: components["responses"]["forbidden"]; 404: components["responses"]["not_found"]; 409: components["responses"]["conflict"]; - 422: components["responses"]["validation_failed"]; + /** @description Validation failed */ + 422: { + content: { + "application/json": + | components["schemas"]["validation-error"] + | components["schemas"]["repository-rule-violation-error"]; + }; + }; }; }; /** @@ -98038,6 +103275,7 @@ export interface operations { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -98071,7 +103309,7 @@ export interface operations { message: string; /** @description The SHA of the tree object this commit points to */ tree: string; - /** @description The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. */ + /** @description The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. */ parents?: string[]; /** @description Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. */ author?: { @@ -98134,6 +103372,7 @@ export interface operations { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -98178,7 +103417,8 @@ export interface operations { * * When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + * > [!NOTE] + * > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". * * If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. */ @@ -98207,7 +103447,8 @@ export interface operations { * Get a reference * @description Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. * - * **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + * > [!NOTE] + * > You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". */ "git/get-ref": { parameters: { @@ -98335,6 +103576,7 @@ export interface operations { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -98417,6 +103659,7 @@ export interface operations { * | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. | * | `signature` | `string` | The signature that was extracted from the commit. | * | `payload` | `string` | The value that was signed. | + * | `verified_at` | `string` | The date the signature was verified by GitHub. | * * These are the possible values for `reason` in the `verification` object: * @@ -98531,8 +103774,8 @@ export interface operations { * * If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time. * - * - * **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + * > [!NOTE] + * > The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. */ "git/get-tree": { parameters: { @@ -98664,7 +103907,12 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; - /** Delete a repository webhook */ + /** + * Delete a repository webhook + * @description Delete a webhook for an organization. + * + * The authenticated user must be a repository owner, or have admin access in the repository, to delete the webhook. + */ "repos/delete-webhook": { parameters: { path: { @@ -98792,7 +104040,6 @@ export interface operations { query?: { per_page?: components["parameters"]["per-page"]; cursor?: components["parameters"]["cursor"]; - redelivery?: boolean; }; path: { owner: components["parameters"]["owner"]; @@ -98878,7 +104125,8 @@ export interface operations { * Test the push repository webhook * @description This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. * - * **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + * > [!NOTE] + * > Previously `/repos/:owner/:repo/hooks/:hook_id/test` */ "repos/test-push-webhook": { parameters: { @@ -98901,7 +104149,8 @@ export interface operations { * @deprecated * @description View the progress of an import. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -98961,7 +104210,8 @@ export interface operations { * Importing into a GitHub repository with GitHub Actions enabled is not supported and will * return a status `422 Unprocessable Entity` response. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ "migrations/start-import": { parameters: { @@ -99010,7 +104260,8 @@ export interface operations { * @deprecated * @description Stop an import for a repository. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ "migrations/cancel-import": { parameters: { @@ -99037,7 +104288,8 @@ export interface operations { * have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ "migrations/update-import": { parameters: { @@ -99084,7 +104336,8 @@ export interface operations { * * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ "migrations/get-commit-authors": { parameters: { @@ -99113,7 +104366,8 @@ export interface operations { * @description Update an author's identity for the import. Your application can continue updating authors any time before you push * new commits to the repository. * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ "migrations/map-commit-author": { parameters: { @@ -99150,7 +104404,8 @@ export interface operations { * @deprecated * @description List files larger than 100MB found during the import * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ "migrations/get-large-files": { parameters: { @@ -99178,7 +104433,8 @@ export interface operations { * You can learn more about our LFS feature and working with large files [on our help * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * - * **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > [!WARNING] + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ "migrations/set-lfs-preference": { parameters: { @@ -99382,10 +104638,8 @@ export interface operations { * List repository issues * @description List issues in a repository. Only open issues will be listed. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -99439,7 +104693,7 @@ export interface operations { * Create an issue * @description Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -99463,7 +104717,7 @@ export interface operations { title: string | number; /** @description The contents of the issue. */ body?: string; - /** @description Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ */ + /** @description Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is closing down.**_ */ assignee?: string | null; milestone?: string | number | null; /** @description Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ @@ -99717,7 +104971,8 @@ export interface operations { }; /** * Delete an issue comment reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. * * Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). */ @@ -99798,10 +105053,8 @@ export interface operations { * access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe * to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -99833,7 +105086,7 @@ export interface operations { }; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -99857,7 +105110,7 @@ export interface operations { title?: string | number | null; /** @description The contents of the issue. */ body?: string | null; - /** @description Username to assign to this issue. **This field is deprecated.** */ + /** @description Username to assign to this issue. **This field is closing down.** */ assignee?: string | null; /** * @description The open or closed state of the issue. @@ -100037,7 +105290,7 @@ export interface operations { * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. - * For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -100421,7 +105674,8 @@ export interface operations { }; /** * Delete an issue reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. * * Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). */ @@ -100441,6 +105695,173 @@ export interface operations { }; }; }; + /** + * Remove sub-issue + * @description You can use the REST API to remove a sub-issue from an issue. + * Removing content too quickly using this endpoint may result in secondary rate limiting. + * For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + * - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + * - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + * - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + * - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + */ + "issues/remove-sub-issue": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + issue_number: components["parameters"]["issue-number"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description The sub-issue to remove */ + sub_issue_id: number; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + /** @example https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue */ + Location?: string; + }; + content: { + "application/json": components["schemas"]["issue"]; + }; + }; + 400: components["responses"]["bad_request"]; + 404: components["responses"]["not_found"]; + }; + }; + /** + * List sub-issues + * @description You can use the REST API to list the sub-issues on an issue. + * + * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + * + * - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + * - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + * - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + * - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + */ + "issues/list-sub-issues": { + parameters: { + query?: { + per_page?: components["parameters"]["per-page"]; + page?: components["parameters"]["page"]; + }; + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + issue_number: components["parameters"]["issue-number"]; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + }; + content: { + "application/json": components["schemas"]["issue"][]; + }; + }; + 404: components["responses"]["not_found"]; + 410: components["responses"]["gone"]; + }; + }; + /** + * Add sub-issue + * @description You can use the REST API to add sub-issues to issues. + * + * Creating content too quickly using this endpoint may result in secondary rate limiting. + * For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * + * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + * + * - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + * - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + * - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + * - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + */ + "issues/add-sub-issue": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + issue_number: components["parameters"]["issue-number"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description The sub-issue to add */ + sub_issue_id: number; + /** @description Option that, when true, instructs the operation to replace the sub-issues current parent issue */ + replace_parent?: boolean; + }; + }; + }; + responses: { + /** @description Response */ + 201: { + headers: { + /** @example https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 */ + Location?: string; + }; + content: { + "application/json": components["schemas"]["issue"]; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 410: components["responses"]["gone"]; + 422: components["responses"]["validation_failed"]; + }; + }; + /** + * Reprioritize sub-issue + * @description You can use the REST API to reprioritize a sub-issue to a different position in the parent list. + */ + "issues/reprioritize-sub-issue": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + issue_number: components["parameters"]["issue-number"]; + }; + }; + requestBody: { + content: { + "application/json": { + /** @description The id of the sub-issue to reprioritize */ + sub_issue_id: number; + /** @description The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). */ + after_id?: number; + /** @description The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). */ + before_id?: number; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["issue"]; + }; + }; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["not_found"]; + 422: components["responses"]["validation_failed_simple"]; + 503: components["responses"]["service_unavailable"]; + }; + }; /** * List timeline events for an issue * @description List all timeline events for an issue. @@ -101142,7 +106563,7 @@ export interface operations { requestBody: { content: { "application/json": { - /** @description Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/)." */ + /** @description Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/pages/configuring-a-custom-domain-for-your-github-pages-site)." */ cname?: string | null; /** @description Specify whether HTTPS should be enforced for the repository. */ https_enforced?: boolean; @@ -101713,7 +107134,7 @@ export interface operations { * * To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -101986,7 +107407,8 @@ export interface operations { }; /** * Delete a pull request comment reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` * * Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). */ @@ -102022,7 +107444,7 @@ export interface operations { * * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch. * * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to. * - * Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. + * Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -102041,7 +107463,7 @@ export interface operations { }; }; responses: { - /** @description Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats. */ + /** @description Pass the appropriate [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats. */ 200: { content: { "application/json": components["schemas"]["pull-request"]; @@ -102125,7 +107547,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -102213,9 +107635,9 @@ export interface operations { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -102244,7 +107666,7 @@ export interface operations { path: string; /** * @deprecated - * @description **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + * @description **This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. */ position?: number; /** @@ -102293,7 +107715,7 @@ export interface operations { * Create a reply for a review comment * @description Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -102375,8 +107797,8 @@ export interface operations { * List pull requests files * @description Lists the files in a specified pull request. * - * **Note:** Responses include a maximum of 3000 files. The paginated response - * returns 30 files per page by default. + * > [!NOTE] + * > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -102438,7 +107860,7 @@ export interface operations { /** * Merge a pull request * @description Merges a pull request into the base branch. - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." */ "pulls/merge": { parameters: { @@ -102626,11 +108048,12 @@ export interface operations { * Create a review for a pull request * @description Creates a review on a specified pull request. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)." * - * **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. + * > [!NOTE] + * > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint. * * The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. * @@ -102832,9 +108255,8 @@ export interface operations { * Dismiss a review for a pull request * @description Dismisses a specified review on a pull request. * - * **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), - * you must be a repository administrator or be included in the list of people or teams - * who can dismiss pull request reviews. + * > [!NOTE] + * > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -102924,6 +108346,7 @@ export interface operations { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ "pulls/update-branch": { parameters: { @@ -102982,6 +108405,7 @@ export interface operations { "application/json": components["schemas"]["content-file"]; }; }; + 304: components["responses"]["not_modified"]; 404: components["responses"]["not_found"]; 422: components["responses"]["validation_failed"]; }; @@ -103053,7 +108477,7 @@ export interface operations { * Create a release * @description Users with push access to the repository can create a release. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." */ "repos/create-release": { parameters: { @@ -103121,7 +108545,13 @@ export interface operations { }; /** * Get a release asset - * @description To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + * @description To download the asset's binary content: + * + * - If within a browser, fetch the location specified in the `browser_download_url` key provided in the response. + * - Alternatively, set the `Accept` header of the request to + * [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). + * The API will either redirect the client to the location, or stream it directly if possible. + * API clients should handle both a `200` or `302` response. */ "repos/get-release-asset": { parameters: { @@ -103275,9 +108705,8 @@ export interface operations { * Get a release * @description Gets a public release with the specified release ID. * - * **Note:** This returns an `upload_url` key corresponding to the endpoint - * for uploading release assets. This key is a hypermedia resource. For more information, see - * "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + * > [!NOTE] + * > This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." */ "repos/get-release": { parameters: { @@ -103521,7 +108950,8 @@ export interface operations { }; /** * Delete a release reaction - * @description **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. + * @description > [!NOTE] + * > You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. * * Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). */ @@ -103580,6 +109010,7 @@ export interface operations { page?: components["parameters"]["page"]; /** @description Include rulesets configured at higher levels that apply to this repository */ includes_parents?: boolean; + targets?: components["parameters"]["ruleset-targets"]; }; path: { owner: components["parameters"]["owner"]; @@ -103616,8 +109047,7 @@ export interface operations { name: string; /** * @description The target of the ruleset - * - * **Note**: The `push` target is in beta and is subject to change. + * @default branch * @enum {string} */ target?: "branch" | "tag" | "push"; @@ -103699,6 +109129,9 @@ export interface operations { /** * Get a repository ruleset * @description Get a ruleset for a repository. + * + * **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user + * making the API request has write access to the ruleset. */ "repos/get-repo-ruleset": { parameters: { @@ -103745,8 +109178,6 @@ export interface operations { name?: string; /** * @description The target of the ruleset - * - * **Note**: The `push` target is in beta and is subject to change. * @enum {string} */ target?: "branch" | "tag" | "push"; @@ -103813,6 +109244,8 @@ export interface operations { before?: components["parameters"]["secret-scanning-pagination-before-org-repo"]; after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; validity?: components["parameters"]["secret-scanning-alert-validity"]; + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; path: { owner: components["parameters"]["owner"]; @@ -103948,6 +109381,78 @@ export interface operations { 503: components["responses"]["service_unavailable"]; }; }; + /** + * Create a push protection bypass + * @description Creates a bypass for a previously push protected secret. + * + * The authenticated user must be the original author of the committed secret. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + */ + "secret-scanning/create-push-protection-bypass": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + }; + }; + requestBody: { + content: { + "application/json": { + reason: components["schemas"]["secret-scanning-push-protection-bypass-reason"]; + placeholder_id: components["schemas"]["secret-scanning-push-protection-bypass-placeholder-id"]; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["secret-scanning-push-protection-bypass"]; + }; + }; + /** @description User does not have enough permissions to perform this action. */ + 403: { + content: never; + }; + /** @description Placeholder ID not found, or push protection is disabled on this repository. */ + 404: { + content: never; + }; + /** @description Bad request, input data missing or incorrect. */ + 422: { + content: never; + }; + 503: components["responses"]["service_unavailable"]; + }; + }; + /** + * Get secret scanning scan history for a repository + * @description Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + * + * OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + */ + "secret-scanning/get-scan-history": { + parameters: { + path: { + owner: components["parameters"]["owner"]; + repo: components["parameters"]["repo"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": components["schemas"]["secret-scanning-scan-history"]; + }; + }; + /** @description Repository does not have GitHub Advanced Security or secret scanning enabled */ + 404: { + content: never; + }; + 503: components["responses"]["service_unavailable"]; + }; + }; /** * List repository security advisories * @description Lists security advisories in a repository. @@ -104145,7 +109650,8 @@ export interface operations { * Create a temporary private fork * @description Create a temporary private fork to collaborate on fixing a security vulnerability in your repository. * - * **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + * > [!NOTE] + * > Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. */ "security-advisories/create-fork": { parameters: { @@ -104204,11 +109710,10 @@ export interface operations { }; /** * Get the weekly commit activity - * @description - * Returns a weekly aggregate of the number of additions and deletions pushed to a repository. + * @description Returns a weekly aggregate of the number of additions and deletions pushed to a repository. * - * **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains - * 10,000 or more commits, a 422 status code will be returned. + * > [!NOTE] + * > This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains 10,000 or more commits, a 422 status code will be returned. */ "repos/get-code-frequency-stats": { parameters: { @@ -104264,7 +109769,8 @@ export interface operations { * * `d` - Number of deletions * * `c` - Number of commits * - * **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + * > [!NOTE] + * > This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. */ "repos/get-contributors-stats": { parameters: { @@ -104512,8 +110018,12 @@ export interface operations { }; }; /** - * List tag protection states for a repository - * @description This returns the tag protection states of a repository. + * Closing down - List tag protection states for a repository + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * + * This returns the tag protection states of a repository. * * This information is only available to repository administrators. */ @@ -104536,8 +110046,12 @@ export interface operations { }; }; /** - * Create a tag protection state for a repository - * @description This creates a tag protection state for a repository. + * Closing down - Create a tag protection state for a repository + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * + * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. */ "repos/create-tag-protection": { @@ -104567,8 +110081,12 @@ export interface operations { }; }; /** - * Delete a tag protection state for a repository - * @description This deletes a tag protection state for a repository. + * Closing down - Delete a tag protection state for a repository + * @deprecated + * @description > [!WARNING] + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * + * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. */ "repos/delete-tag-protection": { @@ -104593,7 +110111,9 @@ export interface operations { * @description Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually * `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use * the `Location` header to make a second `GET` request. - * **Note**: For private repositories, these links are temporary and expire after five minutes. + * + * > [!NOTE] + * > For private repositories, these links are temporary and expire after five minutes. */ "repos/download-tarball-archive": { parameters: { @@ -104679,7 +110199,7 @@ export interface operations { requestBody: { content: { "application/json": { - /** @description An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. */ + /** @description An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` will be saved as lowercase. */ names: string[]; }; }; @@ -104883,7 +110403,8 @@ export interface operations { * `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use * the `Location` header to make a second `GET` request. * - * **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + * > [!NOTE] + * > For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. */ "repos/download-zipball-archive": { parameters: { @@ -105013,12 +110534,12 @@ export interface operations { q: string; /** * @deprecated - * @description **This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) + * @description **This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) */ sort?: "indexed"; /** * @deprecated - * @description **This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. + * @description **This field is closing down.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ order?: "desc" | "asc"; per_page?: components["parameters"]["per-page"]; @@ -105092,7 +110613,8 @@ export interface operations { * * This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. * - * **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + * > [!NOTE] + * > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." */ "search/issues-and-pull-requests": { parameters: { @@ -105297,7 +110819,8 @@ export interface operations { /** * Get a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ "teams/get-legacy": { parameters: { @@ -105318,7 +110841,8 @@ export interface operations { /** * Delete a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -105342,11 +110866,13 @@ export interface operations { /** * Update a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * - * **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + * > [!NOTE] + * > With nested teams, the `privacy` for parent teams cannot be `secret`. */ "teams/update-legacy": { parameters: { @@ -105381,7 +110907,7 @@ export interface operations { | "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -105412,7 +110938,8 @@ export interface operations { /** * List discussions (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -105444,11 +110971,12 @@ export interface operations { /** * Create a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -105485,7 +111013,8 @@ export interface operations { /** * Get a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -105510,7 +111039,8 @@ export interface operations { /** * Delete a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -105533,7 +111063,8 @@ export interface operations { /** * Update a discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -105568,7 +111099,8 @@ export interface operations { /** * List discussion comments (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -105601,11 +111133,12 @@ export interface operations { /** * Create a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * - * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * * OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. */ @@ -105636,7 +111169,8 @@ export interface operations { /** * Get a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -105662,7 +111196,8 @@ export interface operations { /** * Delete a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -105686,7 +111221,8 @@ export interface operations { /** * Update a discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -105720,7 +111256,8 @@ export interface operations { /** * List reactions for a team discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -105763,7 +111300,8 @@ export interface operations { /** * Create reaction for a team discussion comment (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -105810,7 +111348,8 @@ export interface operations { /** * List reactions for a team discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -105852,7 +111391,8 @@ export interface operations { /** * Create reaction for a team discussion (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -105898,7 +111438,8 @@ export interface operations { /** * List pending team invitations (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -105927,7 +111468,8 @@ export interface operations { /** * List team members (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -105959,7 +111501,7 @@ export interface operations { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -105986,7 +111528,7 @@ export interface operations { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -105994,7 +111536,8 @@ export interface operations { * * To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." */ @@ -106024,7 +111567,7 @@ export interface operations { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -106032,7 +111575,8 @@ export interface operations { * * To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." */ "teams/remove-member-legacy": { parameters: { @@ -106055,7 +111599,8 @@ export interface operations { /** * Get team membership for a user (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -106086,13 +111631,15 @@ export interface operations { /** * Add or update team membership for a user (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * * If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." * * If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner. * @@ -106138,13 +111685,15 @@ export interface operations { /** * Remove team membership for a user (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. * - * **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + * > [!NOTE] + * > When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." */ "teams/remove-membership-for-user-legacy": { parameters: { @@ -106167,7 +111716,8 @@ export interface operations { /** * List team projects (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -106197,7 +111747,8 @@ export interface operations { /** * Check team permissions for a project (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -106224,7 +111775,8 @@ export interface operations { /** * Add or update team project permissions (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -106267,7 +111819,8 @@ export interface operations { /** * Remove a project from a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -106290,7 +111843,8 @@ export interface operations { /** * List team repositories (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ "teams/list-repos-legacy": { parameters: { @@ -106318,11 +111872,13 @@ export interface operations { /** * Check team permissions for a repository (Legacy) * @deprecated - * @description **Note**: Repositories inherited through a parent team will also be checked. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * - * **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > [!NOTE] + * > Repositories inherited through a parent team will also be checked. * - * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + * You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header: */ "teams/check-permissions-for-repo-legacy": { parameters: { @@ -106352,7 +111908,8 @@ export interface operations { /** * Add or update team repository permissions (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -106389,7 +111946,8 @@ export interface operations { /** * Remove a repository from a team (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -106411,7 +111969,8 @@ export interface operations { /** * List child teams (Legacy) * @deprecated - * @description **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * @description > [!WARNING] + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ "teams/list-child-legacy": { parameters: { @@ -106661,7 +112220,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -106693,7 +112252,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -107472,6 +113031,7 @@ export interface operations { 401: components["responses"]["requires_authentication"]; 403: components["responses"]["forbidden"]; 404: components["responses"]["not_found"]; + 422: components["responses"]["validation_failed"]; }; }; /** @@ -107677,6 +113237,8 @@ export interface operations { /** * Add a repository to an app installation * @description Add a single repository to an installation. The authenticated user must have admin access to the repository. + * + * This endpoint only works for PATs (classic) with the `repo` scope. */ "apps/add-repo-to-installation-for-authenticated-user": { parameters: { @@ -107698,6 +113260,8 @@ export interface operations { /** * Remove a repository from an app installation * @description Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + * + * This endpoint only works for PATs (classic) with the `repo` scope. */ "apps/remove-repo-from-installation-for-authenticated-user": { parameters: { @@ -107776,10 +113340,8 @@ export interface operations { * List user account issues assigned to the authenticated user * @description List issues across owned and member repositories assigned to the authenticated user. * - * **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this - * reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by - * the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull - * request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. + * > [!NOTE] + * > GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -108311,6 +113873,9 @@ export interface operations { * @description List organizations for the authenticated user. * * For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. + * + * > [!NOTE] + * > Requests using a fine-grained access token will receive a `200 Success` response with an empty list. */ "orgs/list-for-authenticated-user": { parameters: { @@ -108338,7 +113903,7 @@ export interface operations { * List packages for the authenticated user's namespace * @description Lists packages owned by the authenticated user within the user's namespace. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/list-packages-for-authenticated-user": { parameters: { @@ -108370,7 +113935,7 @@ export interface operations { * Get a package for the authenticated user * @description Gets a specific package for a package owned by the authenticated user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-package-for-authenticated-user": { parameters: { @@ -108392,7 +113957,7 @@ export interface operations { * Delete a package for the authenticated user * @description Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/delete-package-for-authenticated-user": { parameters: { @@ -108419,7 +113984,7 @@ export interface operations { * - The package was deleted within the last 30 days. * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/restore-package-for-authenticated-user": { parameters: { @@ -108446,7 +114011,7 @@ export interface operations { * List package versions for a package owned by the authenticated user * @description Lists package versions for a package owned by the authenticated user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-all-package-versions-for-package-owned-by-authenticated-user": { parameters: { @@ -108477,7 +114042,7 @@ export interface operations { * Get a package version for the authenticated user * @description Gets a specific package version for a package owned by the authenticated user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-package-version-for-authenticated-user": { parameters: { @@ -108502,7 +114067,7 @@ export interface operations { * * The authenticated user must have admin permissions in the organization to use this endpoint. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/delete-package-version-for-authenticated-user": { parameters: { @@ -108530,7 +114095,7 @@ export interface operations { * - The package was deleted within the last 30 days. * - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/restore-package-version-for-authenticated-user": { parameters: { @@ -108754,7 +114319,9 @@ export interface operations { */ delete_branch_on_merge?: boolean; /** - * @description The default value for a squash merge commit title: + * @description Required when using `squash_merge_commit_message`. + * + * The default value for a squash merge commit title: * * - `PR_TITLE` - default to the pull request's title. * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). @@ -108771,7 +114338,9 @@ export interface operations { */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** - * @description The default value for a merge commit title. + * @description Required when using `merge_commit_message`. + * + * The default value for a merge commit title. * * - `PR_TITLE` - default to the pull request's title. * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). @@ -109245,6 +114814,32 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; + /** + * Get a user using their ID + * @description Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time. + * + * The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication). + * + * The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". + */ + "users/get-by-id": { + parameters: { + path: { + account_id: components["parameters"]["account-id"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": + | components["schemas"]["private-user"] + | components["schemas"]["public-user"]; + }; + }; + 404: components["responses"]["not_found"]; + }; + }; /** * List users * @description Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts. @@ -109298,6 +114893,53 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; + /** + * List attestations + * @description List a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user. + * + * The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required. + * + * **Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). + */ + "users/list-attestations": { + parameters: { + query?: { + per_page?: components["parameters"]["per-page"]; + before?: components["parameters"]["pagination-before"]; + after?: components["parameters"]["pagination-after"]; + }; + path: { + username: components["parameters"]["username"]; + /** @description Subject Digest */ + subject_digest: string; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": { + attestations?: { + bundle?: components["schemas"]["sigstore-bundle-0"]; + repository_id?: number; + bundle_url?: string; + }[]; + }; + }; + }; + /** @description Response */ + 201: { + content: { + "application/json": components["schemas"]["empty-object"]; + }; + }; + /** @description Response */ + 204: { + content: never; + }; + 404: components["responses"]["not_found"]; + }; + }; /** * Get list of conflicting packages during Docker migration for user * @description Lists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration. @@ -109323,7 +114965,10 @@ export interface operations { }; /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). + * + * > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ "activity/list-events-for-authenticated-user": { parameters: { @@ -109347,6 +114992,9 @@ export interface operations { /** * List organization events for the authenticated user * @description This is the user's organization dashboard. You must be authenticated as the user to view this. + * + * > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ "activity/list-org-events-for-authenticated-user": { parameters: { @@ -109368,7 +115016,11 @@ export interface operations { }; }; }; - /** List public events for a user */ + /** + * List public events for a user + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ "activity/list-public-events-for-user": { parameters: { query?: { @@ -109623,7 +115275,7 @@ export interface operations { * List packages for a user * @description Lists all packages in a user's namespace for which the requesting user has access. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/list-packages-for-user": { parameters: { @@ -109660,7 +115312,7 @@ export interface operations { * Get a package for a user * @description Gets a specific package metadata for a public package owned by a user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-package-for-user": { parameters: { @@ -109685,7 +115337,7 @@ export interface operations { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/delete-package-for-user": { parameters: { @@ -109715,7 +115367,7 @@ export interface operations { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/restore-package-for-user": { parameters: { @@ -109743,7 +115395,7 @@ export interface operations { * List package versions for a package owned by a user * @description Lists package versions for a public package owned by a specified user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-all-package-versions-for-package-owned-by-user": { parameters: { @@ -109769,7 +115421,7 @@ export interface operations { * Get a package version for a user * @description Gets a specific package version for a public package owned by a specified user. * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/get-package-version-for-user": { parameters: { @@ -109795,7 +115447,7 @@ export interface operations { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/delete-package-version-for-user": { parameters: { @@ -109826,7 +115478,7 @@ export interface operations { * * If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." * - * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + * OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. For more information, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." */ "packages/restore-package-version-for-user": { parameters: { @@ -109878,7 +115530,11 @@ export interface operations { }; /** * List events received by the authenticated user - * @description These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + * @description These are events that you've received by watching repositories and following users. If you are authenticated as the + * given user, you will see private events. Otherwise, you'll only see public events. + * + * > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. */ "activity/list-received-events-for-user": { parameters: { @@ -109899,7 +115555,11 @@ export interface operations { }; }; }; - /** List public events received by a user */ + /** + * List public events received by a user + * @description > [!NOTE] + * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + */ "activity/list-received-public-events-for-user": { parameters: { query?: { @@ -110228,4 +115888,37 @@ export interface operations { 500: components["responses"]["internal_error"]; }; }; + /** + * List organization fine-grained permissions for an organization + * @description Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." + * + * To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)." + * + * To use this endpoint, the authenticated user must be one of: + * + * - An administrator for the organization. + * - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + "orgs/list-organization-fine-grained-permissions": { + parameters: { + path: { + org: components["parameters"]["org"]; + }; + }; + responses: { + /** @description Response */ + 200: { + content: { + "application/json": { + name: string; + description: string; + }[]; + }; + }; + 404: components["responses"]["not_found"]; + 422: components["responses"]["validation_failed"]; + }; + }; } diff --git a/node_modules/@octokit/types/package.json b/node_modules/@octokit/types/package.json index 1c4494f19e..b99f7a4f3d 100644 --- a/node_modules/@octokit/types/package.json +++ b/node_modules/@octokit/types/package.json @@ -1,13 +1,13 @@ { "name": "@octokit/types", - "version": "13.6.2", + "version": "13.7.0", "publishConfig": { "access": "public", "provenance": true }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { - "@octokit/openapi-types": "^22.2.0" + "@octokit/openapi-types": "^23.0.1" }, "repository": "github:octokit/types.ts", "keywords": [ @@ -21,7 +21,7 @@ "license": "MIT", "devDependencies": { "@octokit/tsconfig": "^4.0.0", - "github-openapi-graphql-query": "^4.0.0", + "github-openapi-graphql-query": "^4.5.0", "handlebars": "^4.7.6", "npm-run-all2": "^7.0.0", "prettier": "^3.0.0", @@ -32,7 +32,7 @@ "typescript": "^5.0.0" }, "octokit": { - "openapi-version": "16.5.0" + "openapi-version": "17.1.1" }, "files": [ "dist-types/**" diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js index d197fbc4a9..b07b32aefe 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js @@ -72,6 +72,7 @@ module.exports = { '@typescript-eslint/no-meaningless-void-operator': 'error', '@typescript-eslint/no-misused-new': 'error', '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-misused-spread': 'error', '@typescript-eslint/no-mixed-enums': 'error', '@typescript-eslint/no-namespace': 'error', '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error', diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map index 862345a65a..39d6d846ec 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map @@ -1 +1 @@ -{"version":3,"file":"all.js","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,iDAAiD,EAAE,OAAO;QAC1D,+BAA+B,EAAE,OAAO;QACxC,mCAAmC,EAAE,OAAO;QAC5C,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,iDAAiD,EAAE,OAAO;QAC1D,wBAAwB,EAAE,KAAK;QAC/B,2CAA2C,EAAE,OAAO;QACpD,oDAAoD,EAAE,OAAO;QAC7D,oDAAoD,EAAE,OAAO;QAC7D,mBAAmB,EAAE,KAAK;QAC1B,sCAAsC,EAAE,OAAO;QAC/C,+CAA+C,EAAE,OAAO;QACxD,gDAAgD,EAAE,OAAO;QACzD,4CAA4C,EAAE,OAAO;QACrD,4CAA4C,EAAE,OAAO;QACrD,oBAAoB,EAAE,KAAK;QAC3B,uCAAuC,EAAE,OAAO;QAChD,cAAc,EAAE,KAAK;QACrB,iCAAiC,EAAE,OAAO;QAC1C,kDAAkD,EAAE,OAAO;QAC3D,kDAAkD,EAAE,OAAO;QAC3D,mDAAmD,EAAE,OAAO;QAC5D,mBAAmB,EAAE,KAAK;QAC1B,sCAAsC,EAAE,OAAO;QAC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AAE,OAAO;QACzC,kCAAkC,EAAE,OAAO;QAC3C,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,+CAA+C,EAAE,OAAO;QACxD,6CAA6C,EAAE,OAAO;QACtD,8CAA8C,EAAE,OAAO;QACvD,0CAA0C,EAAE,OAAO;QACnD,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,oCAAoC,EAAE,OAAO;QAC7C,oDAAoD,EAAE,OAAO;QAC7D,iDAAiD,EAAE,OAAO;QAC1D,uCAAuC,EAAE,OAAO;QAChD,4CAA4C,EAAE,OAAO;QACrD,mDAAmD,EAAE,OAAO;QAC5D,2CAA2C,EAAE,OAAO;QACpD,gDAAgD,EAAE,OAAO;QACzD,+CAA+C,EAAE,OAAO;QACxD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE,OAAO;QACpD,kDAAkD,EAAE,OAAO;QAC3D,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE,OAAO;QAC1C,+CAA+C,EAAE,OAAO;QACxD,gDAAgD,EAAE,OAAO;QACzD,2CAA2C,EAAE,OAAO;QACpD,4BAA4B,EAAE,OAAO;QACrC,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"} \ No newline at end of file +{"version":3,"file":"all.js","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,iDAAiD,EAAE,OAAO;QAC1D,+BAA+B,EAAE,OAAO;QACxC,mCAAmC,EAAE,OAAO;QAC5C,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE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O;QAC1C,+CAA+C,EAAE,OAAO;QACxD,gDAAgD,EAAE,OAAO;QACzD,2CAA2C,EAAE,OAAO;QACpD,4BAA4B,EAAE,OAAO;QACrC,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js index 892d801346..0e297788c1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js @@ -6,7 +6,7 @@ // For developers working in the typescript-eslint monorepo: // You can regenerate it using `yarn generate:configs` module.exports = { - parserOptions: { project: false, program: null, projectService: false }, + parserOptions: { program: null, project: false, projectService: false }, rules: { '@typescript-eslint/await-thenable': 'off', '@typescript-eslint/consistent-return': 'off', @@ -23,6 +23,7 @@ module.exports = { '@typescript-eslint/no-implied-eval': 'off', '@typescript-eslint/no-meaningless-void-operator': 'off', '@typescript-eslint/no-misused-promises': 'off', + '@typescript-eslint/no-misused-spread': 'off', '@typescript-eslint/no-mixed-enums': 'off', '@typescript-eslint/no-redundant-type-constituents': 'off', '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off', diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map index dd0bbd24f6..acf1772174 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map @@ -1 +1 @@ -{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EA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,KAAK;QACxD,oCAAoC,EAAE,KAAK;QAC3C,oDAAoD,EAAE,KAAK;QAC3D,iDAAiD,EAAE,KAAK;QACxD,uCAAuC,EAAE,KAAK;QAC9C,4CAA4C,EAAE,KAAK;QACnD,mDAAmD,EAAE,KAAK;QAC1D,2CAA2C,EAAE,KAAK;QAClD,gDAAgD,EAAE,KAAK;QACvD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;QAC1C,2DAA2D,EAAE,KAAK;KACnE;CAC6B,CAAC"} \ No newline at end of file +{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE;IACvE,KAAK,EAAE;QACL,mCAAmC,EAAE,KAAK;QAC1C,sCAAsC,EAAE,KAAK;QAC7C,4CAA4C,EAAE,KAAK;QACnD,iCAAiC,EAAE,KAAK;QACxC,sCAAsC,EAAE,KAAK;QAC7C,oCAAoC,EAAE,KAAK;QAC3C,sCAAsC,EAAE,KAAK;QAC7C,iDAAiD,EAAE,KAAK;QACxD,kCAAkC,EAAE,KAAK;QACzC,mDAAmD,EAAE,KAAK;QAC1D,yCAAyC,EAAE,KAAK;QAChD,oCAAoC,EAAE,KAAK;QAC3C,oCAAoC,EAAE,KAAK;QAC3C,iDAAiD,EAAE,KAAK;QACxD,wCAAwC,EAAE,KAAK;QAC/C,sCAAsC,EAAE,KAAK;QAC7C,mCAAmC,EAAE,KAAK;QAC1C,mDAAmD,EAAE,KAAK;QAC1D,2DAA2D,EAAE,KAAK;QAClE,6CAA6C,EAAE,KAAK;QACpD,6CAA6C,EAAE,KAAK;QACpD,uDAAuD,EAAE,KAAK;QAC9D,kDAAkD,EAAE,KAAK;QACzD,kDAAkD,EAAE,KAAK;QACzD,mDAAmD,EAAE,KAAK;QAC1D,uCAAuC,EAAE,KAAK;QAC9C,yCAAyC,EAAE,KAAK;QAChD,mCAAmC,EAAE,KAAK;QAC1C,8CAA8C,EAAE,KAAK;QACrD,4CAA4C,EAAE,KAAK;QACnD,qCAAqC,EAAE,KAAK;QAC5C,6CAA6C,EAAE,KAAK;QACpD,0CAA0C,EAAE,KAAK;QACjD,sDAAsD,EAAE,KAAK;QAC7D,qCAAqC,EAAE,KAAK;QAC5C,yCAAyC,EAAE,KAAK;QAChD,gCAAgC,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,8CAA8C,EAAE,KAAK;QACrD,0CAA0C,EAAE,KAAK;QACjD,iDAAiD,EAAE,KAAK;QACxD,oCAAoC,EAAE,KAAK;QAC3C,oDAAoD,EAAE,KAAK;QAC3D,iDAAiD,EAAE,KAAK;QACxD,uCAAuC,EAAE,KAAK;QAC9C,4CAA4C,EAAE,KAAK;QACnD,mDAAmD,EAAE,KAAK;QAC1D,2CAA2C,EAAE,KAAK;QAClD,gDAAgD,EAAE,KAAK;QACvD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;QAC1C,2DAA2D,EAAE,KAAK;KACnE;CAC6B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js index 1c9e99d09d..6512607ccd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js @@ -20,6 +20,7 @@ module.exports = { '@typescript-eslint/no-implied-eval': 'error', '@typescript-eslint/no-meaningless-void-operator': 'error', '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-misused-spread': 'error', '@typescript-eslint/no-mixed-enums': 'error', '@typescript-eslint/no-redundant-type-constituents': 'error', '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', @@ -59,10 +60,10 @@ module.exports = { { allowAny: false, allowBoolean: false, + allowNever: false, allowNullish: false, allowNumber: false, allowRegExp: false, - allowNever: false, }, ], 'no-return-await': 'off', diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map index f4cf439d21..19fe2c3199 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map @@ -1 +1 @@ -{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,kCAAkC,EAAE,OAAO;QAC3C,mDAAmD,EAAE,OAAO;QAC5D,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iB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DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"} \ No newline at end of file +{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,kCAAkC,EAAE,OAAO;QAC3C,mDAAmD,EAAE,OAAO;QAC5D,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,iDAAiD,EAAE,OAAO;QAC1D,wCAAwC,EAAE,OAAO;QACjD,sCAAsC,EAAE,OAAO;QAC/C,mCAAmC,EAAE,OAAO;QAC5C,mDAAmD,EAAE,OAAO;QAC5D,2DAA2D,EAAE,OAAO;QACpE,6CAA6C,EAAE,OAAO;QACtD,uDAAuD,EAAE,OAAO;QAChE,kDAAkD,EAAE,OAAO;QAC3D,kDAAkD,EAAE,OAAO;QAC3D,mDAAmD,EAAE,OAAO;QAC5D,uCAAuC,EAAE,OAAO;QAChD,yCAAyC,EAAE,OAAO;QAClD,mCAAmC,EAAE,OAAO;QAC5C,8CAA8C,EAAE,OAAO;QACvD,4CAA4C,EAAE,OAAO;QACrD,qCAAqC,EAAE,OAAO;QAC9C,0CAA0C,EAAE,OAAO;QACnD,kBAAkB,EAAE,KAAK;QACzB,qCAAqC,EAAE,OAAO;QAC9C,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,iDAAiD,EAAE,OAAO;QAC1D,4CAA4C,EAAE,OAAO;QACrD,gDAAgD,EAAE,OAAO;QACzD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE;YAC3C,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,oBAAoB,EAAE,KAAK;gBAC3B,WAAW,EAAE,KAAK;aACnB;SACF;QACD,kDAAkD,EAAE;YAClD,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,UAAU,EAAE,KAAK;gBACjB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE;YACjC,OAAO;YACP,iCAAiC;SAClC;QACD,mCAAmC,EAAE,OAAO;QAC5C,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js index 8897b45252..c130788b6f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js @@ -34,6 +34,7 @@ module.exports = { '@typescript-eslint/no-meaningless-void-operator': 'error', '@typescript-eslint/no-misused-new': 'error', '@typescript-eslint/no-misused-promises': 'error', + '@typescript-eslint/no-misused-spread': 'error', '@typescript-eslint/no-mixed-enums': 'error', '@typescript-eslint/no-namespace': 'error', '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error', diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map index 88ab356552..2e3447e5d5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map @@ -1 +1 @@ -{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,mCAAmC,EAAE;YACnC,OAAO;YACP,EAAE,wBAAwB,EAAE,EAAE,EAAE;SACjC;QACD,sBAAsB,EAAE,KAAK;QAC7B,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,kCAAkC,EAAE,OAAO;QAC3C,6CAA6C,EAAE,OAAO;QACtD,mDAAmD,EAAE,OAAO;QAC5D,sCAAsC,EAAE,OAAO;QAC/C,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,gDAAgD,EAAE,OAAO;QACzD,wCAAwC,EAAE,OAAO;QACjD,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,yCAAyC,EAAE,OAAO;QAClD,iDAAiD,EAAE,OAAO;QAC1D,mCAAmC,EAAE,OAAO;QAC5C,wCAAwC,EAAE,OAAO;QACjD,mCAAmC,EAAE,OAAO;QAC5C,iCAAiC,EAAE,OAAO;QAC1C,4DAA4D,EAAE,OAAO;QACrE,wDAAwD,EAAE,OAAO;QACjE,0CAA0C,EAAE,OAAO;QACnD,mDAAmD,EAAE,OAAO;QAC5D,uCAAuC,EAAE,OAAO;QAChD,kCAAkC,EAAE,OAAO;QAC3C,2DAA2D,EAAE,OAAO;QAC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B,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE;YACjC,OAAO;YACP,iCAAiC;SAClC;QACD,2CAA2C,EAAE,OAAO;QACpD,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"} \ No newline at end of file +{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,mCAAmC,EAAE;YACnC,OAAO;YACP,EAAE,wBAAwB,EAAE,EAAE,EAAE;SACjC;QACD,sBAAsB,EAAE,KAAK;QAC7B,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,kCAAkC,EAAE,OAAO;QAC3C,6CAA6C,EAAE,OAAO;QACtD,mDAAmD,EAAE,OAAO;QAC5D,sCAAsC,EAAE,OAAO;QAC/C,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,gDAAgD,EAAE,OAAO;QACzD,wCAAwC,EAAE,OAAO;QACjD,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,yCAAyC,EAAE,OAAO;QAClD,iDAAiD,EAAE,OAAO;QAC1D,mCAAmC,EAAE,OAAO;QAC5C,wCAAwC,EAAE,OAAO;QACjD,sCAAsC,EAAE,OAAO;QAC/C,mCAAmC,EA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ACnB,YAAY,EAAE,KAAK;gBACnB,oBAAoB,EAAE,KAAK;gBAC3B,WAAW,EAAE,KAAK;aACnB;SACF;QACD,kDAAkD,EAAE;YAClD,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,UAAU,EAAE,KAAK;gBACjB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE;YACjC,OAAO;YACP,iCAAiC;SAClC;QACD,2CAA2C,EAAE,OAAO;QACpD,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map index 875e5c3bd1..9c351265c8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map @@ -1 +1 @@ -{"version":3,"file":"ban-ts-comment.js","sourceRoot":"","sources":["../../src/rules/ban-ts-comment.ts"],"names":[],"mappings":";;AAEA,oDAA2D;AAE3D,kCAAkE;AAelE,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAc1C,kBAAe,IAAA,iBAAU,EAAwB;IAC/C,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,8EAA8E;YAChF,WAAW,EAAE;gBACX,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE,CAAC,EAAE,wBAAwB,EAAE,EAAE,EAAE,CAAC;aAC3C;SACF;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,gCAAgC,EAC9B,+CA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C;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"ban-ts-comment.js","sourceRoot":"","sources":["../../src/rules/ban-ts-comment.ts"],"names":[],"mappings":";;AAEA,oDAA2D;AAE3D,kCAAkE;AAElE,MAAM,+BAA+B,GAAG,CAAC,CAAC;AA6B1C,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,8EAA8E;YAChF,WAAW,EAAE;gBACX,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE,CAAC,EAAE,wBAAwB,EAAE,EAAE,EAAE,CAAC;aAC3C;SACF;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,gCAAgC,EAC9B,+CAA+C;YACjD,kBAAkB,EAChB,sEAAsE;YACxE,4CAA4C,EAC1C,yFAAyF;YAC3F,qCAAqC,EACnC,6LAA6L;YAC/L,4BAA4B,EAC1B,sHAAsH;SACzH;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE;oBACL,qBAAqB,EAAE;wBACrB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,SAAS;gCACf,OAAO,EAAE,IAAI;6BACd;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,IAAI,EAAE,CAAC,wBAAwB,CAAC;6BACjC;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,oBAAoB,EAAE,KAAK;gCAC3B,UAAU,EAAE;oCACV,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iCACtC;6BACF;yBACF;qBACF;iBACF;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,wBAAwB,EAAE;wBACxB,IAAI,EAAE,QAAQ;wBACd,OAA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AG,kBAAkB,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;wBACrD,IACE,IAAA,sBAAe,EAAC,WAAW,CAAC,IAAI,EAAE,CAAC;4BACnC,IAAA,iBAAU,EACR,wBAAwB,EACxB,6CAA6C,CAC9C,EACD,CAAC;4BACD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,uCAAuC;gCAClD,IAAI,EAAE,EAAE,SAAS,EAAE,wBAAwB,EAAE;6BAC9C,CAAC,CAAC;wBACL,CAAC;6BAAM,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;4BAC/C,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,8CAA8C;gCACzD,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE;6BAC3C,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js index 9e4f0f9072..a115c8dddf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js @@ -51,8 +51,11 @@ exports.default = (0, util_1.createRule)({ 'angle-bracket': "Use '<{{cast}}>' instead of 'as {{cast}}'.", as: "Use 'as {{cast}}' instead of '<{{cast}}>'.", never: 'Do not use any type assertions.', + replaceArrayTypeAssertionWithAnnotation: 'Use const x: {{cast}} = [ ... ] instead.', + replaceArrayTypeAssertionWithSatisfies: 'Use const x = [ ... ] satisfies {{cast}} instead.', replaceObjectTypeAssertionWithAnnotation: 'Use const x: {{cast}} = { ... } instead.', replaceObjectTypeAssertionWithSatisfies: 'Use const x = { ... } satisfies {{cast}} instead.', + unexpectedArrayTypeAssertion: 'Always prefer const x: T[] = [ ... ].', unexpectedObjectTypeAssertion: 'Always prefer const x: T = { ... }.', }, schema: [ @@ -74,6 +77,11 @@ exports.default = (0, util_1.createRule)({ type: 'object', additionalProperties: false, properties: { + arrayLiteralTypeAssertions: { + type: 'string', + description: 'Whether to always prefer type declarations for array literals used as variable initializers, rather than type assertions.', + enum: ['allow', 'allow-as-parameter', 'never'], + }, assertionStyle: { type: 'string', description: 'The expected assertion style to enforce.', @@ -92,6 +100,7 @@ exports.default = (0, util_1.createRule)({ }, defaultOptions: [ { + arrayLiteralTypeAssertions: 'allow', assertionStyle: 'as', objectLiteralTypeAssertions: 'allow', }, @@ -154,45 +163,51 @@ exports.default = (0, util_1.createRule)({ return true; } } - function checkExpression(node) { + function getSuggestions(node, annotationMessageId, satisfiesMessageId) { + const suggestions = []; + if (node.parent.type === utils_1.AST_NODE_TYPES.VariableDeclarator && + !node.parent.id.typeAnnotation) { + const { parent } = node; + suggestions.push({ + messageId: annotationMessageId, + data: { cast: context.sourceCode.getText(node.typeAnnotation) }, + fix: fixer => [ + fixer.insertTextAfter(parent.id, `: ${context.sourceCode.getText(node.typeAnnotation)}`), + fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)), + ], + }); + } + suggestions.push({ + messageId: satisfiesMessageId, + data: { cast: context.sourceCode.getText(node.typeAnnotation) }, + fix: fixer => [ + fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)), + fixer.insertTextAfter(node, ` satisfies ${context.sourceCode.getText(node.typeAnnotation)}`), + ], + }); + return suggestions; + } + function isAsParameter(node) { + return (node.parent.type === utils_1.AST_NODE_TYPES.NewExpression || + node.parent.type === utils_1.AST_NODE_TYPES.CallExpression || + node.parent.type === utils_1.AST_NODE_TYPES.ThrowStatement || + node.parent.type === utils_1.AST_NODE_TYPES.AssignmentPattern || + node.parent.type === utils_1.AST_NODE_TYPES.JSXExpressionContainer || + (node.parent.type === utils_1.AST_NODE_TYPES.TemplateLiteral && + node.parent.parent.type === utils_1.AST_NODE_TYPES.TaggedTemplateExpression)); + } + function checkExpressionForObjectAssertion(node) { if (options.assertionStyle === 'never' || options.objectLiteralTypeAssertions === 'allow' || node.expression.type !== utils_1.AST_NODE_TYPES.ObjectExpression) { return; } if (options.objectLiteralTypeAssertions === 'allow-as-parameter' && - (node.parent.type === utils_1.AST_NODE_TYPES.NewExpression || - node.parent.type === utils_1.AST_NODE_TYPES.CallExpression || - node.parent.type === utils_1.AST_NODE_TYPES.ThrowStatement || - node.parent.type === utils_1.AST_NODE_TYPES.AssignmentPattern || - node.parent.type === utils_1.AST_NODE_TYPES.JSXExpressionContainer || - (node.parent.type === utils_1.AST_NODE_TYPES.TemplateLiteral && - node.parent.parent.type === - utils_1.AST_NODE_TYPES.TaggedTemplateExpression))) { + isAsParameter(node)) { return; } if (checkType(node.typeAnnotation)) { - const suggest = []; - if (node.parent.type === utils_1.AST_NODE_TYPES.VariableDeclarator && - !node.parent.id.typeAnnotation) { - const { parent } = node; - suggest.push({ - messageId: 'replaceObjectTypeAssertionWithAnnotation', - data: { cast: context.sourceCode.getText(node.typeAnnotation) }, - fix: fixer => [ - fixer.insertTextAfter(parent.id, `: ${context.sourceCode.getText(node.typeAnnotation)}`), - fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)), - ], - }); - } - suggest.push({ - messageId: 'replaceObjectTypeAssertionWithSatisfies', - data: { cast: context.sourceCode.getText(node.typeAnnotation) }, - fix: fixer => [ - fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)), - fixer.insertTextAfter(node, ` satisfies ${context.sourceCode.getText(node.typeAnnotation)}`), - ], - }); + const suggest = getSuggestions(node, 'replaceObjectTypeAssertionWithAnnotation', 'replaceObjectTypeAssertionWithSatisfies'); context.report({ node, messageId: 'unexpectedObjectTypeAssertion', @@ -200,20 +215,41 @@ exports.default = (0, util_1.createRule)({ }); } } + function checkExpressionForArrayAssertion(node) { + if (options.assertionStyle === 'never' || + options.arrayLiteralTypeAssertions === 'allow' || + node.expression.type !== utils_1.AST_NODE_TYPES.ArrayExpression) { + return; + } + if (options.arrayLiteralTypeAssertions === 'allow-as-parameter' && + isAsParameter(node)) { + return; + } + if (checkType(node.typeAnnotation)) { + const suggest = getSuggestions(node, 'replaceArrayTypeAssertionWithAnnotation', 'replaceArrayTypeAssertionWithSatisfies'); + context.report({ + node, + messageId: 'unexpectedArrayTypeAssertion', + suggest, + }); + } + } return { TSAsExpression(node) { if (options.assertionStyle !== 'as') { reportIncorrectAssertionType(node); return; } - checkExpression(node); + checkExpressionForObjectAssertion(node); + checkExpressionForArrayAssertion(node); }, TSTypeAssertion(node) { if (options.assertionStyle !== 'angle-bracket') { reportIncorrectAssertionType(node); return; } - checkExpression(node); + checkExpressionForObjectAssertion(node); + checkExpressionForArrayAssertion(node); }, }; }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map index 3c0afbf164..93fabf1031 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-type-assertions.js","sourceRoot":"","sources":["../../src/rules/consistent-type-assertions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,2DAAwD;AAoBxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAA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C,OAAO;gBACT,CAAC;gBAED,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-type-assertions.js","sourceRoot":"","sources":["../../src/rules/consistent-type-assertions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AACjB,2DAAwD;AA4BxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,4CAA4C;YAC7D,EAAE,EAAE,4CAA4C;YAChD,KAAK,EAAE,iCAAiC;YACxC,uCAAuC,EACrC,0CAA0C;YAC5C,sCAAsC,EACpC,mDAAmD;YACrD,wCAAwC,EACtC,0CAA0C;YAC5C,uCAAuC,EACrC,mDAAmD;YACrD,4BAA4B,EAAE,uCAAuC;YACrE,6BAA6B,EAAE,qCAAqC;SACrE;QACD,MAAM,EAAE;YACN;gBACE,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,cAAc,EAAE;gCACd,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,0CAA0C;gCACvD,IAAI,EAAE,CAAC,OAAO,CAAC;6BAChB;yBACF;wBACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;qBAC7B;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,0BAA0B,EAAE;gCAC1B,IAAI,EAAE,QAAQ;gCACd,WA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AC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;oBACpC,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,iCAAiC,CAAC,IAAI,CAAC,CAAC;gBACxC,gCAAgC,CAAC,IAAI,CAAC,CAAC;YACzC,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,IAAI,OAAO,CAAC,cAAc,KAAK,eAAe,EAAE,CAAC;oBAC/C,4BAA4B,CAAC,IAAI,CAAC,CAAC;oBACnC,OAAO;gBACT,CAAC;gBAED,iCAAiC,CAAC,IAAI,CAAC,CAAC;gBACxC,gCAAgC,CAAC,IAAI,CAAC,CAAC;YACzC,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js index 05fb277b6d..c0b27ac30a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js @@ -55,6 +55,7 @@ const no_magic_numbers_1 = __importDefault(require("./no-magic-numbers")); const no_meaningless_void_operator_1 = __importDefault(require("./no-meaningless-void-operator")); const no_misused_new_1 = __importDefault(require("./no-misused-new")); const no_misused_promises_1 = __importDefault(require("./no-misused-promises")); +const no_misused_spread_1 = __importDefault(require("./no-misused-spread")); const no_mixed_enums_1 = __importDefault(require("./no-mixed-enums")); const no_namespace_1 = __importDefault(require("./no-namespace")); const no_non_null_asserted_nullish_coalescing_1 = __importDefault(require("./no-non-null-asserted-nullish-coalescing")); @@ -185,6 +186,7 @@ const rules = { 'no-meaningless-void-operator': no_meaningless_void_operator_1.default, 'no-misused-new': no_misused_new_1.default, 'no-misused-promises': no_misused_promises_1.default, + 'no-misused-spread': no_misused_spread_1.default, 'no-mixed-enums': no_mixed_enums_1.default, 'no-namespace': no_namespace_1.default, 'no-non-null-asserted-nullish-coalescing': no_non_null_asserted_nullish_coalescing_1.default, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map index 40a5451998..413f6d7835 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;AAEA,kGAAwE;AACxE,8DAAqC;AACrC,sEAA6C;AAC7C,sEAA4C;AAC5C,8EAAoD;AACpD,kGAAuE;AACvE,sFAA2D;AAC3D,wGAA8E;AAC9E,wGAA6E;AAC7E,4EAAmD;AACnD,8FAAoE;AACpE,gGAAsE;AACtE,wFAA8D;AAC9D,wFAA8D;AAC9D,8EAAoD;AACpD,kEAAyC;AACzC,oGAAyE;AACzE,oGAA0E;AAC1E,sGAA2E;AAC3E,4EAAmD;AACnD,8DAAqC;AACrC,wEAA+C;AAC/C,sFAA4D;AAC5D,4EAAmD;AACnD,kFAAwD;AACxD,wEAA8C;AAC9C,4EAAiD;AACjD,wGAAsF;AACtF,kGAAuE;AACvE,oEAA2C;AAC3C,oFAAyD;AACzD,0FAA+D;AAC/D,sGAA2E;AAC3E,4EAAkD;AAClD,4EAAkD;AAClD,8EAAoD;AACpD,kFAAuD;AACvD,wEAA8C;AAC9C,gGAAoE;AACpE,gFAAsD;AACtD,kFAAwD;AACxD,wEAA6C;AAC7C,wEAA8C;AAC9C,gGAAoE;AACpE,gFAAsD;AACtD,wEAA8C;AAC9C,kFAAuD;AACvD,kEAAwC;AACxC,kFAAuD;AACvD,0EAAgD;AAChD,kGAAuE;AACvE,sEAA4C;AAC5C,gFAAsD;AACtD,sEAA4C;AAC5C,kEAAyC;AACzC,wHAA2F;AAC3F,gHA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iBAAiB,EAAE,yBAAc;IACjC,4BAA4B,EAAE,oCAAuB;IACrD,0BAA0B,EAAE,kCAAsB;IAClD,2BAA2B,EAAE,mCAAuB;IACpD,uBAAuB,EAAE,+BAAmB;IAC5C,8BAA8B,EAAE,sCAAyB;IACzD,iBAAiB,EAAE,yBAAc;IACjC,iCAAiC,EAAE,yCAA4B;IAC/D,8BAA8B,EAAE,sCAAyB;IACzD,oBAAoB,EAAE,4BAAgB;IACtC,yBAAyB,EAAE,iCAAoB;IAC/C,gCAAgC,EAAE,wCAA0B;IAC5D,wBAAwB,EAAE,gCAAmB;IAC7C,wBAAwB,EAAE,gCAAoB;IAC9C,6BAA6B,EAAE,qCAAwB;IACvD,4BAA4B,EAAE,oCAAuB;IACrD,eAAe,EAAE,uBAAY;IAC7B,wBAAwB,EAAE,gCAAoB;IAC9C,+BAA+B,EAAE,uCAA2B;IAC5D,cAAc,EAAE,sBAAW;IAC3B,wBAAwB,EAAE,gCAAoB;IAC9C,4BAA4B,EAAE,oCAAwB;IACtD,6BAA6B,EAAE,qCAAyB;IACxD,wBAAwB,EAAE,gCAAoB;IAC9C,OAAO,EAAP,iBAAO;IACP,gBAAgB,EAAE,wBAAa;IAC/B,oBAAoB,EAAE,4BAAiB;IACvC,wCAAwC,EAAE,gDAAiC;CAC/C,CAAC;AAE/B,iBAAS,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js index 6fafd750ec..066e92bfb2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js @@ -131,6 +131,21 @@ exports.default = (0, util_1.createRule)({ } return Usefulness.Never; } + function collectTupleCertainty(type) { + const typeArgs = checker.getTypeArguments(type); + const certainties = typeArgs.map(t => collectToStringCertainty(t)); + if (certainties.some(certainty => certainty === Usefulness.Never)) { + return Usefulness.Never; + } + if (certainties.some(certainty => certainty === Usefulness.Sometimes)) { + return Usefulness.Sometimes; + } + return Usefulness.Always; + } + function collectArrayCertainty(type) { + const elemType = (0, util_1.nullThrows)(type.getNumberIndexType(), 'array should have number index type'); + return collectToStringCertainty(elemType); + } function collectJoinCertainty(type) { if (tsutils.isUnionType(type)) { return collectUnionTypeCertainty(type, collectJoinCertainty); @@ -139,24 +154,14 @@ exports.default = (0, util_1.createRule)({ return collectIntersectionTypeCertainty(type, collectJoinCertainty); } if (checker.isTupleType(type)) { - const typeArgs = checker.getTypeArguments(type); - const certainties = typeArgs.map(t => collectToStringCertainty(t)); - if (certainties.some(certainty => certainty === Usefulness.Never)) { - return Usefulness.Never; - } - if (certainties.some(certainty => certainty === Usefulness.Sometimes)) { - return Usefulness.Sometimes; - } - return Usefulness.Always; + return collectTupleCertainty(type); } if (checker.isArrayType(type)) { - const elemType = (0, util_1.nullThrows)(type.getNumberIndexType(), 'array should have number index type'); - return collectToStringCertainty(elemType); + return collectArrayCertainty(type); } return Usefulness.Always; } function collectToStringCertainty(type) { - // https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 if (tsutils.isTypeParameter(type)) { const constraint = type.getConstraint(); if (constraint) { @@ -179,6 +184,12 @@ exports.default = (0, util_1.createRule)({ if (type.isUnion()) { return collectUnionTypeCertainty(type, collectToStringCertainty); } + if (checker.isTupleType(type)) { + return collectTupleCertainty(type); + } + if (checker.isArrayType(type)) { + return collectArrayCertainty(type); + } const toString = checker.getPropertyOfType(type, 'toString') ?? checker.getPropertyOfType(type, 'toLocaleString'); if (!toString) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map index 838120161b..94d9711de6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map @@ -1 +1 @@ -{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAEjB,IAAK,UAIJ;AAJD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,4BAAc,CAAA;IACd,+BAAiB,CAAA;AACnB,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AASD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8HAA8H;YAChI,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EACX,6HAA6H;YAC/H,YAAY,EACV,4GAA4G;SAC/G;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,gBAAgB,EAAE;wBAChB,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,0DAA0D;wBAC5D,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,gBAAgB,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,iBAAiB,CAAC;SAChE;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,IAAI,EAAE,CAAC;QAEvD,SAAS,eAAe,CA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CAAC,CAAC;gBACvE,2BAA2B,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACvD,CAAC;YACD,sGAAsG,CACpG,IAAyB;gBAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAmC,CAAC;gBAC5D,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,eAAe,CAAC,IAA8B;gBAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,eAAe,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAEjB,IAAK,UAIJ;AAJD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,4BAAc,CAAA;IACd,+BAAiB,CAAA;AACnB,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AASD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8HAA8H;YAChI,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EACX,6HAA6H;YAC/H,YAAY,EACV,4GAA4G;SAC/G;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV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EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,eAAe,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js index a2fd30f966..701133ccfc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js @@ -50,11 +50,27 @@ exports.default = (0, util_1.createRule)({ deprecated: `\`{{name}}\` is deprecated.`, deprecatedWithReason: `\`{{name}}\` is deprecated. {{reason}}`, }, - schema: [], + schema: [ + { + type: 'object', + additionalProperties: false, + properties: { + allow: { + ...util_1.typeOrValueSpecifiersSchema, + description: 'Type specifiers that can be allowed.', + }, + }, + }, + ], }, - defaultOptions: [], - create(context) { + defaultOptions: [ + { + allow: [], + }, + ], + create(context, [options]) { const { jsDocParsingMode } = context.parserOptions; + const allow = options.allow; if (jsDocParsingMode === 'none' || jsDocParsingMode === 'type-info') { throw new Error(`Cannot be used with jsDocParsingMode: '${jsDocParsingMode}'.`); } @@ -266,8 +282,11 @@ exports.default = (0, util_1.createRule)({ const property = services .getTypeAtLocation(node.parent.parent) .getProperty(node.name); - const symbol = services.getSymbolAtLocation(node); - return getJsDocDeprecation(property) ?? getJsDocDeprecation(symbol); + const propertySymbol = services.getSymbolAtLocation(node); + const valueSymbol = checker.getShorthandAssignmentValueSymbol(propertySymbol?.valueDeclaration); + return (getJsDocDeprecation(property) ?? + getJsDocDeprecation(propertySymbol) ?? + getJsDocDeprecation(valueSymbol)); } return searchForDeprecationInAliasesChain(services.getSymbolAtLocation(node), true); } @@ -279,6 +298,10 @@ exports.default = (0, util_1.createRule)({ if (reason == null) { return; } + const type = services.getTypeAtLocation(node); + if ((0, util_1.typeMatchesSomeSpecifier)(type, allow, services.program)) { + return; + } const name = node.type === utils_1.AST_NODE_TYPES.Super ? 'super' : node.name; context.report({ ...(reason diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map index df370deb6d..e3cae71ec2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map @@ -1 +1 @@ -{"version":3,"file":"no-deprecated.js","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAoE;AAOpE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,6BAA6B;YACzC,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;QACnD,IAAI,gBAAgB,KAAK,MAAM,IAAI,gBAAgB,KAAK,WAAW,EAAE,CAAC;YACpE,MAAM,IAAI,KAAK,CACb,0CAA0C,gBAAgB,IAAI,CAC/D,CAAC;QACJ,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAA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AK,EAAE,eAAe;SACvB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-deprecated.js","sourceRoot":"","sources":["../../src/rules/no-deprecated.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCAMiB;AAejB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,6CAA6C;YAC1D,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,6BAA6B;YACzC,oBAAoB,EAAE,wCAAwC;SAC/D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,GAAG,kCAA2B;wBAC9B,WAAW,EAAE,sCAAsC;qBACpD;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,KAAK,EAAE,EAAE;SACV;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;QACnD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,IAAI,gBAAgB,KAAK,MAAM,IAAI,gBAAgB,KAAK,WAAW,EAAE,CAAC;YACpE,MAAM,IAAI,KAAK,CACb,0CAA0C,gBAAgB,IAAI,CAC/D,CAAC;QACJ,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,gEAAgE;QAChE,EA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I,EAAE;qBACf,CAAC;gBACN,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QAED,OAAO;YACL,UAAU,EAAE,eAAe;YAC3B,aAAa,CAAC,IAAI;gBAChB,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE,CAAC;oBAC1D,eAAe,CAAC,IAAI,CAAC,CAAC;gBACxB,CAAC;YACH,CAAC;YACD,KAAK,EAAE,eAAe;SACvB,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map index 7966fc5cbe..c046d9d9e5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map @@ -1 +1 @@ -{"version":3,"file":"no-loss-of-precision.js","sourceRoot":"","sources":["../../src/rules/no-loss-of-precision.ts"],"names":[],"mappings":";;AAKA,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,sBAAsB,CAAC,CAAC;AAK3D,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,2DAA2D;QAC3D,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,eAAe,EAAE,IAAI;SACtB;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-loss-of-precision.js","sourceRoot":"","sources":["../../src/rules/no-loss-of-precision.ts"],"names":[],"mappings":";;AAKA,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,sBAAsB,CAAC,CAAC;AAO3D,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,2DAA2D;QAC3D,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,eAAe,EAAE,IAAI;SACtB;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js new file mode 100644 index 0000000000..763d190ee5 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js @@ -0,0 +1,204 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (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 () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +const tsutils = __importStar(require("ts-api-utils")); +const ts = __importStar(require("typescript")); +const util_1 = require("../util"); +exports.default = (0, util_1.createRule)({ + name: 'no-misused-spread', + meta: { + type: 'problem', + docs: { + description: 'Disallow using the spread operator when it might cause unexpected behavior', + recommended: 'strict', + requiresTypeChecking: true, + }, + messages: { + noArraySpreadInObject: 'Using the spread operator on an array in an object will result in a list of indices.', + noClassDeclarationSpreadInObject: 'Using the spread operator on class declarations will spread only their static properties, and will lose their class prototype.', + noClassInstanceSpreadInObject: 'Using the spread operator on class instances will lose their class prototype.', + noFunctionSpreadInObject: 'Using the spread operator on a function without additional properties can cause unexpected behavior. Did you forget to call the function?', + noIterableSpreadInObject: 'Using the spread operator on an Iterable in an object can cause unexpected behavior.', + noMapSpreadInObject: 'Using the spread operator on a Map in an object will result in an empty object. Did you mean to use `Object.fromEntries(map)` instead?', + noPromiseSpreadInObject: 'Using the spread operator on Promise in an object can cause unexpected behavior. Did you forget to await the promise?', + noStringSpread: "Using the spread operator on a string can cause unexpected behavior. Prefer `.split('')` instead.", + }, + schema: [ + { + type: 'object', + additionalProperties: false, + properties: { + allow: { + ...util_1.readonlynessOptionsSchema.properties.allow, + description: 'An array of type specifiers that are known to be safe to spread.', + }, + }, + }, + ], + }, + defaultOptions: [ + { + allow: [], + }, + ], + create(context, [options]) { + const services = (0, util_1.getParserServices)(context); + const checker = services.program.getTypeChecker(); + function checkArrayOrCallSpread(node) { + const type = (0, util_1.getConstrainedTypeAtLocation)(services, node.argument); + if (!(0, util_1.typeMatchesSomeSpecifier)(type, options.allow, services.program) && + isString(type)) { + context.report({ + node, + messageId: 'noStringSpread', + }); + } + } + function checkObjectSpread(node) { + const type = (0, util_1.getConstrainedTypeAtLocation)(services, node.argument); + if ((0, util_1.typeMatchesSomeSpecifier)(type, options.allow, services.program)) { + return; + } + if (isPromise(services.program, type)) { + context.report({ + node, + messageId: 'noPromiseSpreadInObject', + }); + return; + } + if (isFunctionWithoutProps(type)) { + context.report({ + node, + messageId: 'noFunctionSpreadInObject', + }); + return; + } + if (isMap(services.program, type)) { + context.report({ + node, + messageId: 'noMapSpreadInObject', + }); + return; + } + if (isArray(checker, type)) { + context.report({ + node, + messageId: 'noArraySpreadInObject', + }); + return; + } + if (isIterable(type, checker) && + // Don't report when the type is string, since TS will flag it already + !isString(type)) { + context.report({ + node, + messageId: 'noIterableSpreadInObject', + }); + return; + } + if (isClassInstance(checker, type)) { + context.report({ + node, + messageId: 'noClassInstanceSpreadInObject', + }); + return; + } + if (isClassDeclaration(type)) { + context.report({ + node, + messageId: 'noClassDeclarationSpreadInObject', + }); + } + } + return { + 'ArrayExpression > SpreadElement': checkArrayOrCallSpread, + 'CallExpression > SpreadElement': checkArrayOrCallSpread, + 'ObjectExpression > SpreadElement': checkObjectSpread, + }; + }, +}); +function isIterable(type, checker) { + return tsutils + .typeParts(type) + .some(t => !!tsutils.getWellKnownSymbolPropertyOfType(t, 'iterator', checker)); +} +function isArray(checker, type) { + return isTypeRecurser(type, t => checker.isArrayType(t) || checker.isTupleType(t)); +} +function isString(type) { + return isTypeRecurser(type, t => (0, util_1.isTypeFlagSet)(t, ts.TypeFlags.StringLike)); +} +function isFunctionWithoutProps(type) { + return isTypeRecurser(type, t => t.getCallSignatures().length > 0 && t.getProperties().length === 0); +} +function isPromise(program, type) { + return isTypeRecurser(type, t => (0, util_1.isPromiseLike)(program, t)); +} +function isClassInstance(checker, type) { + return isTypeRecurser(type, t => { + // If the type itself has a construct signature, it's a class(-like) + if (t.getConstructSignatures().length) { + return false; + } + const symbol = t.getSymbol(); + // If the type's symbol has a construct signature, the type is an instance + return !!symbol + ?.getDeclarations() + ?.some(declaration => checker + .getTypeOfSymbolAtLocation(symbol, declaration) + .getConstructSignatures().length); + }); +} +function isClassDeclaration(type) { + return isTypeRecurser(type, t => { + if (tsutils.isObjectType(t) && + tsutils.isObjectFlagSet(t, ts.ObjectFlags.InstantiationExpressionType)) { + return true; + } + const kind = t.getSymbol()?.valueDeclaration?.kind; + return (kind === ts.SyntaxKind.ClassDeclaration || + kind === ts.SyntaxKind.ClassExpression); + }); +} +function isMap(program, type) { + return isTypeRecurser(type, t => (0, util_1.isBuiltinSymbolLike)(program, t, ['Map', 'ReadonlyMap', 'WeakMap'])); +} +function isTypeRecurser(type, predicate) { + if (type.isUnionOrIntersection()) { + return type.types.some(t => isTypeRecurser(t, predicate)); + } + return predicate(type); +} +//# sourceMappingURL=no-misused-spread.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map new file mode 100644 index 0000000000..18e87f0cb8 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map @@ -0,0 +1 @@ +{"version":3,"file":"no-misused-spread.js","sourceRoot":"","sources":["../../src/rules/no-misused-spread.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AAkBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,4EAA4E;YAC9E,WAAW,EAAE,QAAQ;YAC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CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CACnE,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,IAAa,EACb,SAAkC;IAElC,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map index b38344f88e..fbbc88adce 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map @@ -1 +1 @@ -{"version":3,"file":"no-redeclare.js","sourceRoot":"","sources":["../../src/rules/no-redeclare.ts"],"names":[],"mappings":";;AAEA,oEAA6D;AAC7D,oDAA0D;AAE1D,kCAA8E;AAU9E,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iCAAiC;YAC9C,eAAe,EAAE,IAAI;SACtB;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,8BAA8B;YAC1C,mBAAmB,EACjB,4DAA4D;YAC9D,kBAAkB,EAChB,wDAAwD;SAC3D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,cAAc,EAAE;wBACd,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2DAA2D;qBAC9D;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAA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yBAAS,CAAC,MAAM;oBAC/B,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;oBACpB,iDAAiD;oBACjD,KAAK,CAAC,KAAK,KAAK,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,EAC1C,CAAC;oBACD,oBAAoB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC7C,CAAC;YACH,CAAC;YACD,eAAe,EAAE,aAAa;SAC/B,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js index 8153d0943c..78d799c9ad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js @@ -8,6 +8,15 @@ const allowedFunctionVariableDefTypes = new Set([ utils_1.AST_NODE_TYPES.TSCallSignatureDeclaration, utils_1.AST_NODE_TYPES.TSFunctionType, utils_1.AST_NODE_TYPES.TSMethodSignature, + utils_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression, + utils_1.AST_NODE_TYPES.TSDeclareFunction, + utils_1.AST_NODE_TYPES.TSConstructSignatureDeclaration, + utils_1.AST_NODE_TYPES.TSConstructorType, +]); +const functionsHoistedNodes = new Set([utils_1.AST_NODE_TYPES.FunctionDeclaration]); +const typesHoistedNodes = new Set([ + utils_1.AST_NODE_TYPES.TSInterfaceDeclaration, + utils_1.AST_NODE_TYPES.TSTypeAliasDeclaration, ]); exports.default = (0, util_1.createRule)({ name: 'no-shadow', @@ -40,7 +49,7 @@ exports.default = (0, util_1.createRule)({ hoist: { type: 'string', description: 'Whether to report shadowing before outer functions or variables are defined.', - enum: ['all', 'functions', 'never'], + enum: ['all', 'functions', 'functions-and-types', 'never', 'types'], }, ignoreFunctionTypeParameterNameValueShadow: { type: 'boolean', @@ -62,7 +71,7 @@ exports.default = (0, util_1.createRule)({ { allow: [], builtinGlobals: false, - hoist: 'functions', + hoist: 'functions-and-types', ignoreFunctionTypeParameterNameValueShadow: true, ignoreOnInitialization: false, ignoreTypeValueShadow: true, @@ -357,13 +366,23 @@ exports.default = (0, util_1.createRule)({ const outerDef = scopeVar.defs.at(0); const inner = getNameRange(variable); const outer = getNameRange(scopeVar); - return !!(inner && - outer && - inner[1] < outer[0] && - // Excepts FunctionDeclaration if is {"hoist":"function"}. - (options.hoist !== 'functions' || - !outerDef || - outerDef.node.type !== utils_1.AST_NODE_TYPES.FunctionDeclaration)); + if (!inner || !outer || inner[1] >= outer[0]) { + return false; + } + if (!outerDef) { + return true; + } + if (options.hoist === 'functions') { + return !functionsHoistedNodes.has(outerDef.node.type); + } + if (options.hoist === 'types') { + return !typesHoistedNodes.has(outerDef.node.type); + } + if (options.hoist === 'functions-and-types') { + return (!functionsHoistedNodes.has(outerDef.node.type) && + !typesHoistedNodes.has(outerDef.node.type)); + } + return true; } /** * Get declared line and column of a variable. diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map index 57b080b98e..969823b245 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map @@ -1 +1 @@ -{"version":3,"file":"no-shadow.js","sourceRoot":"","sources":["../../src/rules/no-shadow.ts"],"names":[],"mappings":";;AAEA,oEAA6E;AAC7E,oDAAoE;AAEpE,kCAAqC;AACrC,uDAAoD;AAcpD,MAAM,+BAA+B,GAAG,IAAI,GAAG,CAAC;IAC9C,sBAAc,CAAC,0BAA0B;IACzC,sBAAc,CAAC,cAAc;IAC7B,sBAAc,CAAC,iBAAiB;CACjC,CAAC,CAAC;AAEH,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,WAAW;IACjB,IAAI,EAA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,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js index 6cfaf3f8a6..6ee51a756b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js @@ -49,11 +49,6 @@ const getValueOfLiteralType = (type) => { } return type.value; }; -const isFalsyBigInt = (type) => { - return (tsutils.isLiteralType(type) && - valueIsPseudoBigInt(type.value) && - !getValueOfLiteralType(type)); -}; const isTruthyLiteral = (type) => tsutils.isTrueLiteralType(type) || (type.isLiteral() && !!getValueOfLiteralType(type)); const isPossiblyFalsy = (type) => tsutils @@ -71,10 +66,7 @@ const isPossiblyTruthy = (type) => tsutils .some(intersectionParts => // It is possible to define intersections that are always falsy, // like `"" & { __brand: string }`. -intersectionParts.every(type => !tsutils.isFalsyType(type) && - // below is a workaround for ts-api-utils bug - // see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/544 - !isFalsyBigInt(type))); +intersectionParts.every(type => !tsutils.isFalsyType(type))); // Nullish utilities const nullishFlag = ts.TypeFlags.Undefined | ts.TypeFlags.Null; const isNullishType = (type) => (0, util_1.isTypeFlagSet)(type, nullishFlag); @@ -83,10 +75,7 @@ const isAlwaysNullish = (type) => tsutils.unionTypeParts(type).every(isNullishTy function toStaticValue(type) { // type.isLiteral() only covers numbers/bigints and strings, hence the rest of the branches. if (tsutils.isBooleanLiteralType(type)) { - // Using `type.intrinsicName` instead of `type.value` because `type.value` - // is `undefined`, contrary to what the type guard tells us. - // See https://github.com/JoshuaKGoldberg/ts-api-utils/issues/528 - return { value: type.intrinsicName === 'true' }; + return { value: tsutils.isTrueLiteralType(type) }; } if (type.flags === ts.TypeFlags.Undefined) { return { value: undefined }; @@ -233,6 +222,15 @@ exports.default = (0, util_1.createRule)({ // Exception: literal index into a tuple - will have a sound type node.property.type !== utils_1.AST_NODE_TYPES.Literal))); } + // Conditional is always necessary if it involves: + // `any` or `unknown` or a naked type variable + function isConditionalAlwaysNecessary(type) { + return tsutils + .unionTypeParts(type) + .some(part => (0, util_1.isTypeAnyType)(part) || + (0, util_1.isTypeUnknownType)(part) || + (0, util_1.isTypeFlagSet)(part, ts.TypeFlags.TypeVariable)); + } function isNullableMemberExpression(node) { const objectType = services.getTypeAtLocation(node.object); if (node.computed) { @@ -278,13 +276,7 @@ exports.default = (0, util_1.createRule)({ return checkNode(expression.right); } const type = (0, util_1.getConstrainedTypeAtLocation)(services, expression); - // Conditional is always necessary if it involves: - // `any` or `unknown` or a naked type variable - if (tsutils - .unionTypeParts(type) - .some(part => (0, util_1.isTypeAnyType)(part) || - (0, util_1.isTypeUnknownType)(part) || - (0, util_1.isTypeFlagSet)(part, ts.TypeFlags.TypeVariable))) { + if (isConditionalAlwaysNecessary(type)) { return; } let messageId = null; @@ -596,7 +588,7 @@ exports.default = (0, util_1.createRule)({ : node.type === utils_1.AST_NODE_TYPES.CallExpression ? !isCallExpressionNullableOriginFromCallee(node) : true; - return ((0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Any | ts.TypeFlags.Unknown) || + return (isConditionalAlwaysNecessary(type) || (isOwnNullable && (0, util_1.isNullableType)(type))); } function checkOptionalChain(node, beforeOperator, fix) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map index 327e780189..89e70a1061 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A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AI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3D,gBAAgB,EAAE,iCAAiC;YACnD,YAAY,EAAE,iCAAiC;YAC/C,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,iBAAiB,EAAE,gDAAgD;YACnE,mCAAmC,EAAE,6BAA6B;YAClE,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAeiB;AACjB,2EAGwC;AAExC,uBAAuB;AACvB,UAAU;AACV,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC/B,CAAC,IAAI,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,oBAAoB,EAAE,yBAAyB;YAC/C,gBAAgB,CAAC,IAAI;gBACnB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;gBAC1B,IAAI,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC7B,2CAA2C,CACzC,IAAI,EACJ,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,KAAK,EACV,QAAQ,CACT,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,mBAAmB;YACnC,iCAAiC,EAAE,2BAA2B;YAC9D,qBAAqB,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3D,gBAAgB,EAAE,iCAAiC;YACnD,YAAY,EAAE,iCAAiC;YAC/C,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,iBAAiB,EAAE,gDAAgD;YACnE,mCAAmC,EAAE,6BAA6B;YAClE,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js index 0ffd7f730f..d21571a9fb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js @@ -63,17 +63,21 @@ exports.default = (0, util_1.createRule)({ create(context) { const services = (0, util_1.getParserServices)(context); function isUnderlyingTypeString(expression) { - const type = (0, util_1.getConstrainedTypeAtLocation)(services, expression); + const checker = services.program.getTypeChecker(); + const { constraintType } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(expression)); + if (constraintType == null) { + return false; + } const isString = (t) => { return (0, util_1.isTypeFlagSet)(t, ts.TypeFlags.StringLike); }; - if (type.isUnion()) { - return type.types.every(isString); + if (constraintType.isUnion()) { + return constraintType.types.every(isString); } - if (type.isIntersection()) { - return type.types.some(isString); + if (constraintType.isIntersection()) { + return constraintType.types.some(isString); } - return isString(type); + return isString(constraintType); } function isLiteral(expression) { return expression.type === utils_1.AST_NODE_TYPES.Literal; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map index f264f88659..463ad7d18a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCASiB;AACjB,mDAAgD;AAIhD,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AAEjE,iBAAiB;AACjB,kBAAkB;AAClB,qBAAqB;AACrB,SAAS,2BAA2B,CAAC,GAAW;IAC9C,OAAO,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,GAAG,CACJ,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,oCAAoC;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;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E;IACF,iBAAiB;IACjB,iBAAiB;IACjB,KAAK;IACL,EAAE;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAS;IAClC,OAAO,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCASiB;AACjB,mDAAgD;AAIhD,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AAEjE,iBAAiB;AACjB,kBAAkB;AAClB,qBAAqB;AACrB,SAAS,2BAA2B,CAAC,GAAW;IAC9C,OAAO,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,GAAG,CACJ,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,oCAAoC;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,+BAA+B,EAC7B,mEAAmE;SACtE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAE5C,SAAS,sBAAsB,CAC7B,UAA+B;YAE/B,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,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C,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js index da5558e21a..27fa0341a4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js @@ -254,7 +254,6 @@ function collectTypeParameterUsageCounts(checker, node, foundIdentifierUsages) { if (!type || incrementTypeUsages(type) > 9) { return; } - // https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 if (tsutils.isTypeParameter(type)) { const declaration = type.getSymbol()?.getDeclarations()?.[0]; if (declaration) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map index 7a6c0dceac..01026ebcf0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-parameters.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-parameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCAKiB;AAOjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,2BA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C,CAAC,IAAI,CAAC,IAAI,CAAC;AACvC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-parameters.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-parameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAIjC,kCAKiB;AAOjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,2BAA2B,EACzB,2DAA2D;YAC7D,IAAI,EAAE,sEAAsE;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAElD,SAAS,SAAS,CAAC,IAA2B,EAAE,UAAkB;YAChE,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACrD,IAAI,CACqB,CAAC;YAE5B,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;YACxD,IAAI,MAA8C,CAAC;YAEnD,2DAA2D;YAC3D,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAEhD,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;gBAClD,MAAM,eAAe,GACnB,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACtC,aAAa,CACd,CAAC;gBAEJ,MAAM,uBAAuB,GAAG,IAAA,iBAAU,EACxC,CAAC,GAAG,EAAE;oBACJ,MAAM,Q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,CAAC;QAEhC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED,SAAS,cAAc,CACrB,KAAyB,EACzB,kBAA2B;QAE3B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,SAAS,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;AACH,CAAC;AAQD,SAAS,YAAY,CAAC,IAAa;IACjC,OAAO,eAAe,IAAI,IAAI,CAAC;AACjC,CAAC;AAMD,SAAS,cAAc,CAAC,IAAa;IACnC,OAAO,MAAM,IAAI,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map index 3602e3f76e..034189bbbc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map @@ -1 +1 @@ -{"version":3,"file":"restrict-template-expressions.js","sourceRoot":"","sources":["../../src/rules/restrict-template-expressions.ts"],"names":[],"mappings":";;AAGA,8DAGuC;AACvC,oDAA0D;AAC1D,2CAAuC;AAIvC,kCAQiB;AAQjB,MAAM,YAAY,GAChB,CAAC,YAAuB,EAAgB,EAAE,CAC1C,IAAI,CAAC,EAAE,CACL,IAAA,oBAAa,EAAC,IAAI,EAAE,YAAY,CAAC,CAAC;AAEtC,MAAM,aAAa,GACjB;IACE,CAAC,KAAK,EAAE,oBAAa,CAAC;IACtB;QACE,OAAO;QACP,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,EAAW,EAAE,CAC/C,CAAC,OAAO,CAAC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AAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,MAAM,cAAc,GAAG,IAAA,mCAA4B,EACjD,QAAQ,EACR,UAAU,CACX,CAAC;oBAEF,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,CAAC;wBAC1C,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,UAAU;4BAChB,SAAS,EAAE,aAAa;4BACxB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE;yBACrD,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;QAEF,SAAS,oBAAoB,CAAC,SAAe;YAC3C,IAAI,SAAS,CAAC,OAAO,EAAE,EAAE,CAAC;gBACxB,OAAO,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;YACrD,CAAC;YAED,IAAI,SAAS,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC/B,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YACpD,CAAC;YAED,OAAO,CACL,IAAA,oBAAa,EAAC,SAAS,EAAE,sBAAS,CAAC,UAAU,CAAC;gBAC9C,IAAA,qCAAwB,EAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC;gBACnD,oBAAoB,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CACvC,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,oBAAoB,CAAC,CACjD,CACF,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"restrict-template-expressions.js","sourceRoot":"","sources":["../../src/rules/restrict-template-expressions.ts"],"names":[],"mappings":";;AAGA,8DAGuC;AACvC,oDAA0D;AAC1D,2CAAuC;AAIvC,kCAQiB;AAQjB,MAAM,YAAY,GAChB,CAAC,YAAuB,EAAgB,EAAE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CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js index 51d1c249e0..a1677e6d33 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js @@ -43,7 +43,6 @@ exports.default = (0, util_1.createRule)({ type: 'problem', docs: { description: 'Enforce consistent awaiting of returned promises', - extendsBaseRule: 'no-return-await', recommended: { strict: ['error-handling-correctness-only'], }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map index 08f487871c..e4dcbe1973 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map @@ -1 +1 @@ -{"version":3,"file":"return-await.js","sourceRoot":"","sources":["../../src/rules/return-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCASiB;AACjB,yEAAsE;AAkBtE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE;gBACX,MAAM,EAAE,CAAC,iCAAiC,CAAC;aAC5C;YACD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,mHAAmH;QACnH,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,sBAAsB,EACpB,8DAA8D;YAChE,gCAAgC,EAC9B,oFAAoF;YACtF,eAAe,EACb,kEAAkE;YACpE,oBAAoB,EAClB,2DAA2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EAAE,CAAC;oBAC3C,OAAO;gBACT,CAAC;gBACD,yBAAyB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;oBACtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBACxD,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBACrB,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AASH,SAAS,gBAAgB,CAAC,MAAc;IACtC,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,QAAQ;YACX,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,OAAO;aACzB,CAAC;QACJ,KAAK,iCAAiC;YACpC,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,YAAY;aAC9B,CAAC;QACJ,KAAK,cAAc;YACjB,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,UAAU;aAC5B,CAAC;QACJ,KAAK,OAAO;YACV,OAAO;gBACL,oBAAoB,EAAE,UAAU;gBAChC,eAAe,EAAE,UAAU;aAC5B,CAAC;IACN,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"return-await.js","sourceRoot":"","sources":["../../src/rules/return-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCASiB;AACjB,yEAAsE;AAkBtE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,WAAW,EAAE;gBACX,MAAM,EAAE,CAAC,iCAAiC,CAAC;aAC5C;YACD,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE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,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,MAAM,SAAS,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;gBACxC,IAAI,CAAC,SAAS,EAAE,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAC3C,OAAO;gBACT,CAAC;gBACD,yBAAyB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;oBACtD,MAAM,MAAM,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBACxD,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBACrB,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AASH,SAAS,gBAAgB,CAAC,MAAc;IACtC,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,QAAQ;YACX,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,OAAO;aACzB,CAAC;QACJ,KAAK,iCAAiC;YACpC,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,YAAY;aAC9B,CAAC;QACJ,KAAK,cAAc;YACjB,OAAO;gBACL,oBAAoB,EAAE,OAAO;gBAC7B,eAAe,EAAE,UAAU;aAC5B,CAAC;QACJ,KAAK,OAAO;YACV,OAAO;gBACL,oBAAoB,EAAE,UAAU;gBAChC,eAAe,EAAE,UAAU;aAC5B,CAAC;IACN,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js index 94f8212515..47f9f00277 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js @@ -46,7 +46,6 @@ exports.default = (0, util_1.createRule)({ description: 'Disallow certain types in boolean expressions', requiresTypeChecking: true, }, - fixable: 'code', hasSuggestions: true, messages: { conditionErrorAny: 'Unexpected any value in conditional. ' + @@ -72,6 +71,8 @@ exports.default = (0, util_1.createRule)({ conditionErrorString: 'Unexpected string value in conditional. ' + 'An explicit empty string check is required.', conditionFixCastBoolean: 'Explicitly convert value to a boolean (`Boolean(value)`)', + conditionFixCompareArrayLengthNonzero: "Change condition to check array's length (`value.length > 0`)", + conditionFixCompareArrayLengthZero: "Change condition to check array's length (`value.length === 0`)", conditionFixCompareEmptyString: 'Change condition to check for empty string (`value !== ""`)', conditionFixCompareFalse: 'Change condition to check if false (`value === false`)', conditionFixCompareNaN: 'Change condition to check for NaN (`!Number.isNaN(value)`)', @@ -545,12 +546,17 @@ exports.default = (0, util_1.createRule)({ context.report({ node, messageId: 'conditionErrorNumber', - fix: (0, util_1.getWrappingFixer)({ - node: node.parent, - innerNode: node, - sourceCode: context.sourceCode, - wrap: code => `${code} === 0`, - }), + suggest: [ + { + messageId: 'conditionFixCompareArrayLengthZero', + fix: (0, util_1.getWrappingFixer)({ + node: node.parent, + innerNode: node, + sourceCode: context.sourceCode, + wrap: code => `${code} === 0`, + }), + }, + ], }); } else { @@ -558,11 +564,16 @@ exports.default = (0, util_1.createRule)({ context.report({ node, messageId: 'conditionErrorNumber', - fix: (0, util_1.getWrappingFixer)({ - node, - sourceCode: context.sourceCode, - wrap: code => `${code} > 0`, - }), + suggest: [ + { + messageId: 'conditionFixCompareArrayLengthNonzero', + fix: (0, util_1.getWrappingFixer)({ + node, + sourceCode: context.sourceCode, + wrap: code => `${code} > 0`, + }), + }, + ], }); } } @@ -776,23 +787,33 @@ exports.default = (0, util_1.createRule)({ context.report({ node, messageId: 'conditionErrorNullableEnum', - fix: (0, util_1.getWrappingFixer)({ - node: node.parent, - innerNode: node, - sourceCode: context.sourceCode, - wrap: code => `${code} == null`, - }), + suggest: [ + { + messageId: 'conditionFixCompareNullish', + fix: (0, util_1.getWrappingFixer)({ + node: node.parent, + innerNode: node, + sourceCode: context.sourceCode, + wrap: code => `${code} == null`, + }), + }, + ], }); } else { context.report({ node, messageId: 'conditionErrorNullableEnum', - fix: (0, util_1.getWrappingFixer)({ - node, - sourceCode: context.sourceCode, - wrap: code => `${code} != null`, - }), + suggest: [ + { + messageId: 'conditionFixCompareNullish', + fix: (0, util_1.getWrappingFixer)({ + node, + sourceCode: context.sourceCode, + wrap: code => `${code} != null`, + }), + }, + ], }); } } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map index 0f059fcf55..0412f1af55 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map @@ -1 +1 @@ -{"version":3,"file":"strict-boolean-expressions.js","sourceRoot":"","sources":["../../src/rules/strict-boolean-expressions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AACjB,2EAAgF;AA4ChF,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,+CAA+C;YAC5D,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,uCAAuC;gBACvC,wDAAwD;YAC1D,6BAA6B,EAC3B,oDAAoD;gBACpD,4CAA4C;YAC9C,0BAA0B,EACxB,iDAAiD;gBACjD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAm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CAAC,CACvD,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,cAAuB;IAC5C,OAAO,OAAO,CAAC,aAAa,CAC1B,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CACnD,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"strict-boolean-expressions.js","sourceRoot":"","sources":["../../src/rules/strict-boolean-expressions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AACjB,2EAAgF;AA8ChF,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,+CAA+C;YAC5D,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,uCAAuC;gBACvC,wDAAwD;YAC1D,6BAA6B,EAC3B,oDAAoD;gBACpD,4CAA4C;YAC9C,0BAA0B,EACxB,iDAAiD;gBACjD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,sDAAsD;YACxD,4BAA4B,EAC1B,mDAAmD;gBACnD,qCAAqC;YACvC,4BAA4B,EAC1B,mDAAmD;gBACnD,mDAAmD;YACrD,qBAAqB,EACnB,2CAA2C;gBAC3C,gCAAgC;YAClC,oBAAoB,EAClB,0CAA0C;gBAC1C,yCAAyC;YAC3C,oBAAoB,EAClB,0CAA0C;gBAC1C,+BAA+B;YACjC,mBAAmB,EACjB,mCAAmC;gBACnC,mCAAmC;YACrC,oBAAoB,EAClB,0CAA0C;gBAC1C,6CAA6C;YAC/C,uBAAuB,EACrB,0DAA0D;YAE5D,qCAAqC,EACnC,+DAA+D;YACjE,kCAAkC,EAChC,iEAAiE;YACnE,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OAAO,CAAC,aAAa,CAC1B,cAAc,EACd,EAAE,CAAC,SAAS,CAAC,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CACnD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map index 5c62c7a709..ffb7d7ff15 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map @@ -1 +1 @@ -{"version":3,"file":"typedef.js","sourceRoot":"","sources":["../../src/rules/typedef.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAqC;AAiBrC,kBAAe,IAAA,iBAAU,EAAwB;IAC/C,IAAI,EAAE,SAAS;IACf,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,4CAA4C;SAC1D;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,6BAA6B;YAC9C,oBAAoB,EAAE,8CAA8C;SACrE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,0DAA+B,EAAE;wBAC/B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,sFAAsF;qBACzF;oBACD,kDAA2B,EAAE;wBAC3B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,wEAAwE;qBAC3E;oBACD,wEAAsC,EAAE;wBACtC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,4DAAgC,EAAE;wBAChC,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uFAAuF;qBAC1F;oBACD,wCAAsB,EAAE;wBACtB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8EAA8E;qBACjF;oBACD,4DAAgC,EAAE;wBAChC,IAAI,EAAE,S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C,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAC7D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,IAAI,OAAO,GAA8B,IAAI,CAAC,MAAM,CAAC;gBACrD,OAAO,OAAO,EAAE,CAAC;oBACf,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;wBACrB,KAAK,sBAAc,CAAC,mBAAmB;4BACrC,uBAAuB;4BACvB,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;4BACzB,MAAM;wBACR,KAAK,sBAAc,CAAC,cAAc,CAAC;wBACnC,KAAK,sBAAc,CAAC,cAAc;4BAChC,4CAA4C;4BAC5C,OAAO;wBACT;4BACE,kBAAkB;4BAClB,OAAO,GAAG,SAAS,CAAC;4BACpB,MAAM;oBACV,CAAC;gBACH,CAAC;gBAED,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;YACrC,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"typedef.js","sourceRoot":"","sources":["../../src/rules/typedef.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAqC;AAiBrC,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,SAAS;IACf,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,4CAA4C;SAC1D;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,6BAA6B;YAC9C,oBAAoB,EAAE,8CAA8C;SACrE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,0DAA+B,EAAE;wBAC/B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,sFAAsF;qBACzF;oBACD,kDAA2B,EAAE;wBAC3B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,wEAAwE;qBAC3E;oBACD,wE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IAAI,CAAC,EAAE,CAAC,cAAc;oBACtB,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY;wBAC3C,CAAC,kBAAkB,CAAC;oBACtB,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa;wBAC5C,CAAC,mBAAmB,CAAC;oBACvB,CAAC,IAAI,CAAC,IAAI,IAAI,mCAAmC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAC7D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,IAAI,OAAO,GAA8B,IAAI,CAAC,MAAM,CAAC;gBACrD,OAAO,OAAO,EAAE,CAAC;oBACf,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;wBACrB,KAAK,sBAAc,CAAC,mBAAmB;4BACrC,uBAAuB;4BACvB,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;4BACzB,MAAM;wBACR,KAAK,sBAAc,CAAC,cAAc,CAAC;wBACnC,KAAK,sBAAc,CAAC,cAAc;4BAChC,4CAA4C;4BAC5C,OAAO;wBACT;4BACE,kBAAkB;4BAClB,OAAO,GAAG,SAAS,CAAC;4BACpB,MAAM;oBACV,CAAC;gBACH,CAAC;gBAED,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;YACrC,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx index 0b13d9df26..9445bcf8b1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx @@ -115,6 +115,79 @@ const foo = ; +### `arrayLiteralTypeAssertions` + +{/* insert option description */} + +Always prefer `const x: T[] = [ ... ];` to `const x = [ ... ] as T[];` (or similar with angle brackets). + +The compiler will warn for excess properties of elements with this syntax, but not missing _required_ fields of those objects. +For example: `const x: {foo: number}[] = [{}];` will fail to compile, but `const x = [{}] as [{ foo: number }]` will succeed. + +The const assertion `const x = [1, 2, 3] as const`, introduced in TypeScript 3.4, is considered beneficial and is ignored by this option. + +Assertions to `any` are also ignored by this option. + +Examples of code for `{ assertionStyle: 'as', arrayLiteralTypeAssertions: 'never' }`: + + + + +```ts option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "never" }' +const x = ['foo'] as T; + +function bar() { + return ['foo'] as T; +} +``` + + + + +```ts option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "never" }' +const x: T = ['foo']; +const y = ['foo'] as any; +const z = ['foo'] as unknown; + +function bar(): T { + return ['foo']; +} +``` + + + + +Examples of code for `{ assertionStyle: 'as', arrayLiteralTypeAssertions: 'allow-as-parameter' }`: + + + + +```ts option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "allow-as-parameter" }' +const x = ['foo'] as T; + +function bar() { + return ['foo'] as T; +} +``` + + + + +```tsx option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "allow-as-parameter" }' +const x: T = ['foo']; +const y = ['foo'] as any; +const z = ['foo'] as unknown; +bar(['foo'] as T); +new Clazz(['foo'] as T); +function bar() { + throw ['foo'] as Foo; +} +const foo = ; +``` + + + + ## When Not To Use It If you do not want to enforce consistent type assertions. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-deprecated.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-deprecated.mdx index d5e51132f0..09da790359 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-deprecated.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-deprecated.mdx @@ -59,6 +59,56 @@ const url2 = new URL('/foo', 'http://www.example.com'); +## Options + +### `allow` + +{/* insert option description */} + +This option takes the shared [`TypeOrValueSpecifier` format](/packages/type-utils/type-or-value-specifier). + +Examples of code for this rule with: + +```json +{ + "allow": [ + { "from": "file", "name": "apiV1" }, + { "from": "lib", "name": "escape" } + ] +} +``` + + + + +```ts option='{"allow":[{"from":"file","name":"apiV1"},{"from":"lib","name":"escape"}]}' +/** @deprecated */ +declare function apiV2(): Promise; + +await apiV2(); + +// `unescape` has been deprecated since ES5. +unescape('...'); +``` + + + + + +```ts option='{"allow":[{"from":"file","name":"apiV1"},{"from":"lib","name":"escape"}]}' +import { Bar } from 'bar-lib'; +/** @deprecated */ +declare function apiV1(): Promise; + +await apiV1(); + +// `escape` has been deprecated since ES5. +escape('...'); +``` + + + + ## When Not To Use It If portions of your project heavily use deprecated APIs and have no plan for moving to non-deprecated ones, you might want to disable this rule in those portions. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx new file mode 100644 index 0000000000..35e7084339 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx @@ -0,0 +1,132 @@ +--- +description: 'Disallow using the spread operator when it might cause unexpected behavior.' +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +> 🛑 This file is source code, not the primary documentation location! 🛑 +> +> See **https://typescript-eslint.io/rules/no-misused-spread** for documentation. + +[Spread syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax) (`...`) is a JavaScript feature for creating an object with the joined properties of one or more other objects. +TypeScript allows spreading objects whose properties are not typically meant to be enumerated, such as arrays and class instances. + +This rule disallows using the spread syntax on values whose types indicate doing so may cause unexpected behavior. +That includes the following cases: + +- Spreading a `Promise` into an object. + You probably meant to `await` it. +- Spreading a function without properties into an object. + You probably meant to call it. +- Spreading an iterable (`Array`, `Map`, etc.) into an object. + Iterable objects usually do not have meaningful enumerable properties and you probably meant to spread it into an array instead. +- Spreading a string into an array. + String enumeration behaviors in JavaScript around encoded characters are often surprising. +- Spreading a `class` into an object. + This copies all static own properties of the class, but none of the inheritance chain. +- Spreading a class instance into an object. + This does not faithfully copy the instance because only its own properties are copied, but the inheritance chain is lost, including all its methods. + +## Examples + + + + +```ts +declare const promise: Promise; +const spreadPromise = { ...promise }; + +declare function getObject(): Record; +const getObjectSpread = { ...getObject }; + +declare const map: Map; +const mapSpread = { ...map }; + +declare const userName: string; +const characters = [...userName]; +``` + +```ts +declare class Box { + value: number; +} +const boxSpread = { ...Box }; + +declare const instance: Box; +const instanceSpread = { ...box }; +``` + + + + +```ts +declare const promise: Promise; +const spreadPromise = { ...(await promise) }; + +declare function getObject(): Record; +const getObjectSpread = { ...getObject() }; + +declare const map: Map; +const mapObject = Object.fromEntries(map); + +declare const userName: string; +const characters = userName.split(''); +``` + + + + +## Options + +### `allow` + +{/* insert option description */} + +This option takes the shared [`TypeOrValueSpecifier` format](/packages/type-utils/type-or-value-specifier). + +Examples of a configuration for this option in a `file.ts` file: + +```json +"@typescript-eslint/no-misused-spread": [ + "error", + { + "allow": [ + { "from": "file", "name": "BrandedString", "path": "file.ts" }, + ] + } +] +``` + + + + +```ts option='{"allow":[{ "from": "file", "name": "BrandedString" }]}' +declare const unbrandedString: string; + +const spreadUnbrandedString = [...unbrandedString]; +``` + + + + +```ts option='{"allow":[{ "from": "file", "name": "BrandedString" }]}' +type BrandedString = string & { __brand: 'safe' }; + +declare const brandedString: BrandedString; + +const spreadBrandedString = [...brandedString]; +``` + + + + +## When Not To Use It + +If your application intentionally works with raw data in unusual ways, such as directly manipulating class prototype chains, you might not want this rule. + +If your use cases for unusual spreads only involve a few types, you might consider using [ESLint disable comments](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) and/or the [`allow` option](#allow) instead of completely disabling this rule. + +## Further Reading + +- [Strings Shouldn't Be Iterable By Default](https://www.xanthir.com/b4wJ1) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx index ecd105f6e3..41c274b4bf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx @@ -17,18 +17,52 @@ It adds support for TypeScript's `this` parameters and global augmentation, and This rule adds the following options: ```ts +type AdditionalHoistOptionEntries = 'types' | 'functions-and-types'; + +type HoistOptionEntries = + | BaseNoShadowHoistOptionEntries + | AdditionalHoistOptionEntries; + interface Options extends BaseNoShadowOptions { + hoist?: HoistOptionEntries; ignoreTypeValueShadow?: boolean; ignoreFunctionTypeParameterNameValueShadow?: boolean; } const defaultOptions: Options = { ...baseNoShadowDefaultOptions, + hoist: 'functions-and-types', ignoreTypeValueShadow: true, ignoreFunctionTypeParameterNameValueShadow: true, }; ``` +### hoist: `types` + +Examples of incorrect code for the `{ "hoist": "types" }` option: + +```ts option='{ "hoist": "types" }' showPlaygroundButton +type Bar = 1; +type Foo = 1; +``` + +### hoist: `functions-and-types` + +Examples of incorrect code for the `{ "hoist": "functions-and-types" }` option: + +```ts option='{ "hoist": "functions-and-types" }' showPlaygroundButton +// types +type Bar = 1; +type Foo = 1; + +// functions +if (true) { + let b = 6; +} + +function b() {} +``` + ### `ignoreTypeValueShadow` {/* insert option description */} diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.mdx index 06cfc9eb33..c03d369cf0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.mdx @@ -62,7 +62,7 @@ function head(items: T[]) { } function foo(arg: string) { - // Necessary, since foo might be ''. + // Necessary, since arg might be ''. if (arg) { } } diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx index f1c1565780..d5742e1a87 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx @@ -198,13 +198,13 @@ const x = Boolean(a ?? b); ### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing` -{/* insert option description */} - :::danger Deprecated -> This option will be removed in the next major version of typescript-eslint. -> ::: -> Unless this is set to `true`, the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`. +This option will be removed in the next major version of typescript-eslint. + +::: + +{/* insert option description */} Without `strictNullChecks`, TypeScript essentially erases `undefined` and `null` from the types. This means when this rule inspects the types from a variable, **it will not be able to tell that the variable might be `null` or `undefined`**, which essentially makes this rule useless. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.mdx index 34173fae92..db4f2f5fe5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.mdx @@ -9,15 +9,24 @@ import TabItem from '@theme/TabItem'; > > See **https://typescript-eslint.io/rules/return-await** for documentation. -This rule builds on top of the [`eslint/no-return-await`](https://eslint.org/docs/rules/no-return-await) rule. -It expands upon the base rule to add support for optionally requiring `return await` in certain cases. - -The extended rule is named `return-await` instead of `no-return-await` because the extended rule can enforce the positive or the negative. Additionally, while the core rule is now deprecated, the extended rule is still useful in many contexts: +In `async` functions, it is valid to return a promise-wrapped value or a value directly, both of which ultimately produce a promise with the same fulfillment value. Returning a value rather than a promise-wrapped value can have several subtle benefits: - Returning an awaited promise [improves stack trace information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#improving_stack_trace). -- When the `return` statement is in `try...catch`, awaiting the promise also allows the promise's rejection to be caught instead of leaving the error to the caller. +- When the `return` statement is in `try...catch`, awaiting the promise allows the promise's rejection to be caught instead of leaving the error to the caller. - Contrary to popular belief, `return await promise;` is [at least as fast as directly returning the promise](https://github.com/tc39/proposal-faster-promise-adoption). +This rule enforces consistent handling of whether to await promises before returning them. + +:::info + +This rule used to be considered an extension of the (now-deprecated) ESLint core rule [`no-return-await`](https://eslint.org/docs/latest/rules/no-return-await#options). +Without type information, the only situations that could be flagged by `no-return-await` were of neutral-to-negative value, which eventually led to its deprecation. +In contrast, with access to type information, `@typescript-eslint/return-await` delivers enough positive value to earn it a spot in our strict preset. + +If you previously used `no-return-await`, this rule's `in-try-catch` option has the closest behavior to the `no-return-await` rule. + +::: + ## Options ```ts @@ -326,3 +335,5 @@ async function validNever3() { + +{/* Intentionally Omitted: When Not To Use It */} diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx index c0e71ec42c..a827ca7005 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx @@ -172,38 +172,6 @@ You should be using `strictNullChecks` to ensure complete type-safety in your co If for some reason you cannot turn on `strictNullChecks`, but still want to use this rule - you can use this option to allow it - but know that the behavior of this rule is _undefined_ with the compiler option turned off. We will not accept bug reports if you are using this option. -## Fixes and Suggestions - -This rule provides following fixes and suggestions for particular types in boolean context: - -- `boolean` - Always allowed - no fix needed. -- `string` - (when `allowString` is `false`) - Provides following suggestions: - - Change condition to check string's length (`str` → `str.length > 0`) - - Change condition to check for empty string (`str` → `str !== ""`) - - Explicitly convert value to a boolean (`str` → `Boolean(str)`) -- `number` - (when `allowNumber` is `false`): - - For `array.length` - Provides **autofix**: - - Change condition to check for 0 (`array.length` → `array.length > 0`) - - For other number values - Provides following suggestions: - - Change condition to check for 0 (`num` → `num !== 0`) - - Change condition to check for NaN (`num` → `!Number.isNaN(num)`) - - Explicitly convert value to a boolean (`num` → `Boolean(num)`) -- `object | null | undefined` - (when `allowNullableObject` is `false`) - Provides **autofix**: - - Change condition to check for null/undefined (`maybeObj` → `maybeObj != null`) -- `boolean | null | undefined` - Provides following suggestions: - - Explicitly treat nullish value the same as false (`maybeBool` → `maybeBool ?? false`) - - Change condition to check for true/false (`maybeBool` → `maybeBool === true`) -- `string | null | undefined` - Provides following suggestions: - - Change condition to check for null/undefined (`maybeStr` → `maybeStr != null`) - - Explicitly treat nullish value the same as an empty string (`maybeStr` → `maybeStr ?? ""`) - - Explicitly convert value to a boolean (`maybeStr` → `Boolean(maybeStr)`) -- `number | null | undefined` - Provides following suggestions: - - Change condition to check for null/undefined (`maybeNum` → `maybeNum != null`) - - Explicitly treat nullish value the same as 0 (`maybeNum` → `maybeNum ?? 0`) - - Explicitly convert value to a boolean (`maybeNum` → `Boolean(maybeNum)`) -- `any` and `unknown` - Provides following suggestions: - - Explicitly convert value to a boolean (`value` → `Boolean(value)`) - ## When Not To Use It If your project isn't likely to experience bugs from falsy non-boolean values being used in logical conditions, you can skip enabling this rule. diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json index 7665258566..b79986a1fd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.19.0", + "version": "8.20.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/typescript-estree": "8.20.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json index 50ed2e2b8d..4fe9a03c9c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.19.0", + "version": "8.20.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map index e18970253c..9721538360 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js index f1c15c37c3..7fb7b2455f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js @@ -41,7 +41,7 @@ const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const getScriptKind_1 = require("./getScriptKind"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createIsolatedProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createIsolatedProgram'); /** * @returns Returns a new source file and program corresponding to the linted code */ diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map index 9727116196..65755f2023 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFS,sDAAqB;AAtF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QAC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escript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map index d1cbe49a8a..3d03fa59da 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAUtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js index a2d4898f67..15132c53e7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js @@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug")); const node_utils_1 = require("../node-utils"); const createProjectProgramError_1 = require("./createProjectProgramError"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectProgram'); /** * @param parseSettings Internal settings for parsing the file * @returns If found, the source file corresponding to the code and the containing program diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map index 7364ba1502..57d54babe8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAiBA,oDAiBC;AAhCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAE9E;;;GAGG;AACH,SAAgB,oBAAoB,CAClC,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAAC;IAEF,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,IAAA,qDAAyB,EAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAmBA,oDAiBC;AAlCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;GAGG;AACH,SAAgB,oBAAoB,CAClC,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAAC;IAEF,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,IAAA,qDAAyB,EAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map index 53a46e1cea..fd3eab8978 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA2B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,EACjD,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,sBAAsB,CAoIxB"} \ No newline at end of file +{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA6B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,EACjD,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,sBAAsB,CAoIxB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js index afa037db92..4ae3b2d18f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js @@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const validateDefaultProjectForFilesGlob_1 = require("./validateDefaultProjectForFilesGlob"); const DEFAULT_PROJECT_MATCHED_FILES_THRESHOLD = 8; -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectService'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectService'); const logTsserverErr = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:err'); const logTsserverInfo = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:info'); const logTsserverPerf = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:perf'); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map index 43d81c28eb..466a594e45 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AAyCA,oDAwIC;AA9KD,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAC9E,MAAM,cAAc,GAAG,IAAA,eAAK,EAC1B,kDAAkD,CACnD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,gBAAgB,GAAG,IAAA,eAAK,EAC5B,oDAAoD,CACrD,CAAC;AAEF,MAAM,SAAS,GAAG,GAAS,EAAE,GAAE,CAAC,CAAC;AAEjC,MAAM,qBAAqB,GAAG,GAAmB,EAAE,CAAC,CAAC;IACnD,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAWH,SAAgB,oBAAoB,CAClC,UAAuD,EACvD,gBAAiD,EACjD,eAAmC;IAEnC,MAAM,gBAAgB,GAAG,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1E,MAAM,OAAO,GAAG;QACd,cAAc,EAAE,eAAe;QAC/B,GAAG,gBAAgB;KACpB,CAAC;IACF,IAAA,uEAAkC,EAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEhE,8EAA8E;IAC9E,iFAAiF;IACjF,iEAAiE;IACjE,MAAM,QAAQ,GAAG,OAAO,CAAC,gCAAgC,CAAc,CAAC;IAExE,wCAAwC;IACxC,uEAAuE;IACvE,8GAA8G;IAC9G,sCAAsC;IACtC,MAAM,MAAM,GAAyB;QACnC,GAAG,QAAQ,CAAC,GAAG;QACf,cAAc;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AC;IACJ,CAAC;IAED,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,mBAAmB,EAAE,WAAW,CAAC,GAAG,EAAE;QACtC,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AA2CA,oDAwIC;AAhLD,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AACF,MAAM,cAAc,GAAG,IAAA,eAAK,EAC1B,kDAAkD,CACnD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,gBAAgB,GAAG,IAAA,eAAK,EAC5B,oDAAoD,CACrD,CAAC;AAEF,MAAM,SAAS,GAAG,GAAS,EAAE,GAAE,CAAC,CAAC;AAEjC,MAAM,qBAAqB,GAAG,GAAmB,EAAE,CAAC,CAAC;IACnD,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAWH,SAAgB,oBAAoB,CAClC,UAAuD,EACvD,gBAAiD,EACjD,eAAmC;IAEnC,MAAM,gBAAgB,GAAG,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1E,MAAM,OAAO,GAAG;QACd,cAAc,EAAE,eAAe;QAC/B,GAAG,gBAAgB;KACpB,CAAC;IACF,IAAA,uEAAkC,EAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEhE,8EAA8E;IAC9E,iFAAiF;IACjF,iEAAiE;IACjE,MAAM,QAAQ,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,CAAC;IACH,CAAC;IAED,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,CAAC,qCAAqC;QAC3C,mFAAmF;QACnF,uFAAuF;QACvF,iFAAiF;QACjF,yHAAyH;QACzH,UAAU,CAAC,OAA4D,CACxE,CAAC;IACJ,CAAC;IAED,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,mBAAmB,EAAE,WAAW,CAAC,GAAG,EAAE;QACtC,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map index e3e7f74423..3477afc9b1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js index 118c3d5859..5f85d5fcd6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js @@ -42,7 +42,7 @@ const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); const getScriptKind_1 = require("./getScriptKind"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createSourceFile'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createSourceFile'); function createSourceFile(parseSettings) { log('Getting AST without type information in %s mode for: %s', parseSettings.jsx ? 'TSX' : 'TS', parseSettings.filePath); return (0, source_files_1.isSourceFile)(parseSettings.code) diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map index 2c21e87393..ec6eceb29f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCS,0CAAe;AAAE,4CAAgB;AAxC1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,sDAAsD,CAAC,CAAC;AAE1E,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CS,0CAAe;AAAE,4CAAgB;AA1C1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map index 4e5b64de53..f6f43cff32 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA+CtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js index 8bb3abb9ab..000760e3c8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js @@ -43,7 +43,7 @@ const node_fs_1 = __importDefault(require("node:fs")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createWatchProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:getWatchProgramsForProjects'); /** * Maps tsconfig paths to their corresponding file contents and resulting watches */ diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index 6149b30499..84f1c53502 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4eS,4CAAgB;AAAE,kEAA2B;AA5etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,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ChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index bd56bf8396..616e2b3996 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 2220ad8e19..97f572daf0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -43,7 +43,7 @@ const path = __importStar(require("node:path")); const ts = __importStar(require("typescript")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:useProvidedProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:useProvidedPrograms'); function useProvidedPrograms(programInstances, parseSettings) { log('Retrieving ast for %s from provided program instance(s)', parseSettings.filePath); let astAndProgram; diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index f2b1c1e824..7a4afe6a57 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoES,kEAA2B;AAAE,kDAAmB;AApEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsES,kEAA2B;AAAE,kDAAmB;AAtEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE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AC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 27ec844fae..7b0b02a9b1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -50,7 +50,7 @@ const getProjectConfigFiles_1 = require("./getProjectConfigFiles"); const inferSingleRun_1 = require("./inferSingleRun"); const resolveProjectList_1 = require("./resolveProjectList"); const warnAboutTSVersion_1 = require("./warnAboutTSVersion"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:createParseSettings'); let TSCONFIG_MATCH_CACHE; let TSSERVER_PROJECT_SERVICE = null; // NOTE - we intentionally use "unnecessary" `?.` here because in TS<5.3 this enum doesn't exist diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index 2f667cd715..f6f73640c4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/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AC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,uEAAuE,CACxE,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,EAAE,kBAAkB;IAC3D,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,EAAE,gBAAgB;IACvD,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS;CACjC,CAAC;AACX,+DAA+D;AAE/D,SAAgB,mBAAmB,CACjC,IAA4B,EAC5B,kBAA4C,EAAE;IAE9C,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAA,+BAAc,EAAC,eAAe,CAAC,CAAC;IAClD,MAAM,eAAe,GACnB,OAAO,eAAe,CAAC,eAAe,K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C;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map index bf99e5dd4f..be48dc3b09 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js index 59cba04ace..9d932ecc17 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js @@ -40,7 +40,7 @@ exports.getProjectConfigFiles = getProjectConfigFiles; const debug_1 = __importDefault(require("debug")); const fs = __importStar(require("node:fs")); const path = __importStar(require("node:path")); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:getProjectConfigFiles'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:getProjectConfigFiles'); /** * Checks for a matching TSConfig to a file including its parent directories, * permanently caching results under each directory it checks. diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map index 670d0ded30..89688182da 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDA6CC;AA/DD,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,sDA6CC;AAjED,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js index 55930e2fbd..6ecca0ae2d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js @@ -11,7 +11,7 @@ const fast_glob_1 = require("fast-glob"); const is_glob_1 = __importDefault(require("is-glob")); const shared_1 = require("../create-program/shared"); const ExpiringCache_1 = require("./ExpiringCache"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:resolveProjectList'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:resolveProjectList'); let RESOLUTION_CACHE = null; function clearGlobCache() { RESOLUTION_CACHE?.clear(); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map index ff4ddfbc9d..831d7844f4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map @@ -1 +1 @@ -{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5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,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,sEAAsE,CACvE,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,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ff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json index a9b75afc04..60bb84efdd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.19.0", + "version": "8.20.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,14 +54,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "devDependencies": { "@jest/types": "29.6.3", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json index 603265f73c..e1c7b72017 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.19.0", + "version": "8.20.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0" + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json index 7d7edd0ccf..83119d5e9c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.19.0", + "version": "8.20.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/LICENSE.md b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/LICENSE.md new file mode 100644 index 0000000000..08520a1e27 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/LICENSE.md @@ -0,0 +1,20 @@ +# 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/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/README.md b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/README.md new file mode 100644 index 0000000000..b2c13ef845 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/README.md @@ -0,0 +1,84 @@ +

TypeScript API Utils

+ +

+ Utility functions for working with TypeScript's API. + Successor to the wonderful tsutils. + 🛠️️ +

+ +

+ + +All Contributors: 8 👪 + + + 🤝 Code of Conduct: Kept + 🧪 Coverage + 📚 Documentation Coverage + 📝 License: MIT + 📦 npm version + 💪 TypeScript: Strict +

+ +## Usage + +```shell +npm i ts-api-utils +``` + +```ts +import * as tsutils from "ts-api-utils"; + +tsutils.forEachToken(/* ... */); +``` + +### API + +`ts-api-utils` provides many utility functions. +Check out our API docs for details: + +📝 [ts-api-utils API docs](https://joshuakgoldberg.github.io/ts-api-utils). + +## Development + +See [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md). +Thanks! 💖 + +## Contributors + +Many thanks to [@ajafff](https://github.com/ajafff) for creating the original [`tsutils`](https://github.com/ajafff/tsutils) ([original license: MIT](https://github.com/ajafff/tsutils/blob/26b195358ec36d59f00333115aa3ffd9611ca78b/LICENSE)) that this project was originally based on! 🙏 + + + + + + + + + + + + + + + + + + + + + + +
Dan Vanderkam
Dan Vanderkam

🐛
Johannes Chorzempa
Johannes Chorzempa

📖 💻
Josh Goldberg
Josh Goldberg

🐛 💻 📖 📆 ⚠️ 🔧 🚧 🚇 🤔
Kirill Cherkashin
Kirill Cherkashin

💻
Kirk Waiblinger
Kirk Waiblinger

🐛 💻
Klaus Meinhardt
Klaus Meinhardt

💻 ⚠️
Lars Kappert
Lars Kappert

💻
Rebecca Stevens
Rebecca Stevens

🐛 💻 📖 📆 ⚠️ 🔧 🚇 🚧 🤔
+ + + + + + + + + +> 💙 This package was templated with [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). + +> _"My tools! I have to have my tools!" - Dennis Reynolds_ diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs new file mode 100644 index 0000000000..fffa147ccc --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs @@ -0,0 +1,2274 @@ +'use strict'; + +var ts9 = require('typescript'); + +function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } + +var ts9__default = /*#__PURE__*/_interopDefault(ts9); + +// src/comments.ts +function forEachToken(node, callback, sourceFile = node.getSourceFile()) { + const queue = []; + while (true) { + if (ts9__default.default.isTokenKind(node.kind)) { + callback(node); + } else { + const children = node.getChildren(sourceFile); + if (children.length === 1) { + node = children[0]; + continue; + } + for (let i = children.length - 1; i >= 0; --i) { + queue.push(children[i]); + } + } + if (queue.length === 0) { + break; + } + node = queue.pop(); + } +} + +// src/comments.ts +function forEachComment(node, callback, sourceFile = node.getSourceFile()) { + const fullText = sourceFile.text; + const notJsx = sourceFile.languageVariant !== ts9__default.default.LanguageVariant.JSX; + return forEachToken( + node, + (token) => { + if (token.pos === token.end) { + return; + } + if (token.kind !== ts9__default.default.SyntaxKind.JsxText) { + ts9__default.default.forEachLeadingCommentRange( + fullText, + // skip shebang at position 0 + token.pos === 0 ? (ts9__default.default.getShebang(fullText) ?? "").length : token.pos, + commentCallback + ); + } + if (notJsx || canHaveTrailingTrivia(token)) { + return ts9__default.default.forEachTrailingCommentRange( + fullText, + token.end, + commentCallback + ); + } + }, + sourceFile + ); + function commentCallback(pos, end, kind) { + callback(fullText, { end, kind, pos }); + } +} +function canHaveTrailingTrivia(token) { + switch (token.kind) { + case ts9__default.default.SyntaxKind.CloseBraceToken: + return token.parent.kind !== ts9__default.default.SyntaxKind.JsxExpression || !isJsxElementOrFragment(token.parent.parent); + case ts9__default.default.SyntaxKind.GreaterThanToken: + switch (token.parent.kind) { + case ts9__default.default.SyntaxKind.JsxClosingElement: + case ts9__default.default.SyntaxKind.JsxClosingFragment: + return !isJsxElementOrFragment(token.parent.parent.parent); + case ts9__default.default.SyntaxKind.JsxOpeningElement: + return token.end !== token.parent.end; + case ts9__default.default.SyntaxKind.JsxOpeningFragment: + return false; + // would be inside the fragment + case ts9__default.default.SyntaxKind.JsxSelfClosingElement: + return token.end !== token.parent.end || // if end is not equal, this is part of the type arguments list + !isJsxElementOrFragment(token.parent.parent); + } + } + return true; +} +function isJsxElementOrFragment(node) { + return node.kind === ts9__default.default.SyntaxKind.JsxElement || node.kind === ts9__default.default.SyntaxKind.JsxFragment; +} +function isCompilerOptionEnabled(options, option) { + switch (option) { + case "allowJs": + return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + case "allowSyntheticDefaultImports": + return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; + case "alwaysStrict": + case "noImplicitAny": + case "noImplicitThis": + case "strictBindCallApply": + case "strictFunctionTypes": + case "strictNullChecks": + case "strictPropertyInitialization": + return isStrictCompilerOptionEnabled( + options, + option + ); + case "declaration": + return options.declaration || isCompilerOptionEnabled(options, "composite"); + case "declarationMap": + case "emitDeclarationOnly": + case "stripInternal": + return options[option] === true && isCompilerOptionEnabled(options, "declaration"); + case "incremental": + return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + case "noUncheckedIndexedAccess": + return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); + case "skipDefaultLibCheck": + return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck"); + case "suppressImplicitAnyIndexErrors": + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated + options.suppressImplicitAnyIndexErrors === true && isCompilerOptionEnabled(options, "noImplicitAny") + ); + } + return options[option] === true; +} +function isStrictCompilerOptionEnabled(options, option) { + return (options.strict ? options[option] !== false : options[option] === true) && (option !== "strictPropertyInitialization" || isStrictCompilerOptionEnabled(options, "strictNullChecks")); +} +function isModifierFlagSet(node, flag) { + return isFlagSet(ts9__default.default.getCombinedModifierFlags(node), flag); +} +function isFlagSet(allFlags, flag) { + return (allFlags & flag) !== 0; +} +function isFlagSetOnObject(obj, flag) { + return isFlagSet(obj.flags, flag); +} +var isNodeFlagSet = isFlagSetOnObject; +function isObjectFlagSet(objectType, flag) { + return isFlagSet(objectType.objectFlags, flag); +} +var isSymbolFlagSet = isFlagSetOnObject; +function isTransientSymbolLinksFlagSet(links, flag) { + return isFlagSet(links.checkFlags, flag); +} +var isTypeFlagSet = isFlagSetOnObject; + +// src/modifiers.ts +function includesModifier(modifiers, ...kinds) { + if (modifiers === void 0) { + return false; + } + for (const modifier of modifiers) { + if (kinds.includes(modifier.kind)) { + return true; + } + } + return false; +} +function isAssignmentKind(kind) { + return kind >= ts9__default.default.SyntaxKind.FirstAssignment && kind <= ts9__default.default.SyntaxKind.LastAssignment; +} +function isNumericPropertyName(name) { + return String(+name) === name; +} +function isValidPropertyAccess(text, languageVersion = ts9__default.default.ScriptTarget.Latest) { + if (text.length === 0) { + return false; + } + let ch = text.codePointAt(0); + if (!ts9__default.default.isIdentifierStart(ch, languageVersion)) { + return false; + } + for (let i = charSize(ch); i < text.length; i += charSize(ch)) { + ch = text.codePointAt(i); + if (!ts9__default.default.isIdentifierPart(ch, languageVersion)) { + return false; + } + } + return true; +} +function charSize(ch) { + return ch >= 65536 ? 2 : 1; +} + +// src/nodes/access.ts +var AccessKind = /* @__PURE__ */ ((AccessKind2) => { + AccessKind2[AccessKind2["None"] = 0] = "None"; + AccessKind2[AccessKind2["Read"] = 1] = "Read"; + AccessKind2[AccessKind2["Write"] = 2] = "Write"; + AccessKind2[AccessKind2["Delete"] = 4] = "Delete"; + AccessKind2[AccessKind2["ReadWrite"] = 3] = "ReadWrite"; + return AccessKind2; +})(AccessKind || {}); +function getAccessKind(node) { + const parent = node.parent; + switch (parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.SpreadAssignment: + case ts9__default.default.SyntaxKind.SpreadElement: + return isInDestructuringAssignment( + parent + ) ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.ArrowFunction: + return parent.body === node ? 1 /* Read */ : 2 /* Write */; + case ts9__default.default.SyntaxKind.AsExpression: + case ts9__default.default.SyntaxKind.NonNullExpression: + case ts9__default.default.SyntaxKind.ParenthesizedExpression: + case ts9__default.default.SyntaxKind.TypeAssertionExpression: + return getAccessKind(parent); + case ts9__default.default.SyntaxKind.AwaitExpression: + case ts9__default.default.SyntaxKind.CallExpression: + case ts9__default.default.SyntaxKind.CaseClause: + case ts9__default.default.SyntaxKind.ComputedPropertyName: + case ts9__default.default.SyntaxKind.ConditionalExpression: + case ts9__default.default.SyntaxKind.Decorator: + case ts9__default.default.SyntaxKind.DoStatement: + case ts9__default.default.SyntaxKind.ElementAccessExpression: + case ts9__default.default.SyntaxKind.ExpressionStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.IfStatement: + case ts9__default.default.SyntaxKind.JsxElement: + case ts9__default.default.SyntaxKind.JsxExpression: + case ts9__default.default.SyntaxKind.JsxOpeningElement: + case ts9__default.default.SyntaxKind.JsxSelfClosingElement: + case ts9__default.default.SyntaxKind.JsxSpreadAttribute: + case ts9__default.default.SyntaxKind.NewExpression: + case ts9__default.default.SyntaxKind.ReturnStatement: + case ts9__default.default.SyntaxKind.SwitchStatement: + case ts9__default.default.SyntaxKind.TaggedTemplateExpression: + case ts9__default.default.SyntaxKind.TemplateSpan: + case ts9__default.default.SyntaxKind.ThrowStatement: + case ts9__default.default.SyntaxKind.TypeOfExpression: + case ts9__default.default.SyntaxKind.VoidExpression: + case ts9__default.default.SyntaxKind.WhileStatement: + case ts9__default.default.SyntaxKind.WithStatement: + case ts9__default.default.SyntaxKind.YieldExpression: + return 1 /* Read */; + case ts9__default.default.SyntaxKind.BinaryExpression: + return parent.right === node ? 1 /* Read */ : !isAssignmentKind(parent.operatorToken.kind) ? 1 /* Read */ : parent.operatorToken.kind === ts9__default.default.SyntaxKind.EqualsToken ? 2 /* Write */ : 3 /* ReadWrite */; + case ts9__default.default.SyntaxKind.BindingElement: + case ts9__default.default.SyntaxKind.EnumMember: + case ts9__default.default.SyntaxKind.JsxAttribute: + case ts9__default.default.SyntaxKind.Parameter: + case ts9__default.default.SyntaxKind.PropertyDeclaration: + case ts9__default.default.SyntaxKind.VariableDeclaration: + return parent.initializer === node ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.DeleteExpression: + return 4 /* Delete */; + case ts9__default.default.SyntaxKind.ExportAssignment: + return parent.isExportEquals ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9__default.default.SyntaxKind.ExtendsKeyword && parent.parent.parent.kind !== ts9__default.default.SyntaxKind.InterfaceDeclaration ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + return parent.initializer === node ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.PostfixUnaryExpression: + return 3 /* ReadWrite */; + case ts9__default.default.SyntaxKind.PrefixUnaryExpression: + return parent.operator === ts9__default.default.SyntaxKind.PlusPlusToken || parent.operator === ts9__default.default.SyntaxKind.MinusMinusToken ? 3 /* ReadWrite */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.PropertyAccessExpression: + return parent.expression === node ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.PropertyAssignment: + return parent.name === node ? 0 /* None */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + return parent.objectAssignmentInitializer === node ? 1 /* Read */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + } + return 0 /* None */; +} +function isInDestructuringAssignment(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + if (node.objectAssignmentInitializer !== void 0) { + return true; + } + // falls through + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.SpreadAssignment: + node = node.parent; + break; + case ts9__default.default.SyntaxKind.SpreadElement: + if (node.parent.kind !== ts9__default.default.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent; + } + while (true) { + switch (node.parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.ObjectLiteralExpression: + node = node.parent; + break; + case ts9__default.default.SyntaxKind.BinaryExpression: + return node.parent.left === node && node.parent.operatorToken.kind === ts9__default.default.SyntaxKind.EqualsToken; + case ts9__default.default.SyntaxKind.ForOfStatement: + return node.parent.initializer === node; + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.SpreadAssignment: + node = node.parent.parent; + break; + case ts9__default.default.SyntaxKind.SpreadElement: + if (node.parent.parent.kind !== ts9__default.default.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent.parent; + break; + default: + return false; + } + } +} +function isAbstractKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AbstractKeyword; +} +function isAccessorKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AccessorKeyword; +} +function isAnyKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AnyKeyword; +} +function isAssertKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AssertKeyword; +} +function isAssertsKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AssertsKeyword; +} +function isAsyncKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AsyncKeyword; +} +function isAwaitKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AwaitKeyword; +} +function isBigIntKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.BigIntKeyword; +} +function isBooleanKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.BooleanKeyword; +} +function isColonToken(node) { + return node.kind === ts9__default.default.SyntaxKind.ColonToken; +} +function isConstKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ConstKeyword; +} +function isDeclareKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.DeclareKeyword; +} +function isDefaultKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.DefaultKeyword; +} +function isDotToken(node) { + return node.kind === ts9__default.default.SyntaxKind.DotToken; +} +function isEndOfFileToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EndOfFileToken; +} +function isEqualsGreaterThanToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EqualsGreaterThanToken; +} +function isEqualsToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EqualsToken; +} +function isExclamationToken(node) { + return node.kind === ts9__default.default.SyntaxKind.ExclamationToken; +} +function isExportKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ExportKeyword; +} +function isFalseKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.FalseKeyword; +} +function isFalseLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.FalseKeyword; +} +function isImportExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.ImportKeyword; +} +function isImportKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ImportKeyword; +} +function isInKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.InKeyword; +} +function isJSDocText(node) { + return node.kind === ts9__default.default.SyntaxKind.JSDocText; +} +function isJsonMinusNumericLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.PrefixUnaryExpression; +} +function isNeverKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NeverKeyword; +} +function isNullKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NullKeyword; +} +function isNullLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.NullKeyword; +} +function isNumberKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NumberKeyword; +} +function isObjectKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ObjectKeyword; +} +function isOutKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.OutKeyword; +} +function isOverrideKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.OverrideKeyword; +} +function isPrivateKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.PrivateKeyword; +} +function isProtectedKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ProtectedKeyword; +} +function isPublicKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.PublicKeyword; +} +function isQuestionDotToken(node) { + return node.kind === ts9__default.default.SyntaxKind.QuestionDotToken; +} +function isQuestionToken(node) { + return node.kind === ts9__default.default.SyntaxKind.QuestionToken; +} +function isReadonlyKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ReadonlyKeyword; +} +function isStaticKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.StaticKeyword; +} +function isStringKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.StringKeyword; +} +function isSuperExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.SuperKeyword; +} +function isSuperKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.SuperKeyword; +} +function isSymbolKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.SymbolKeyword; +} +function isSyntaxList(node) { + return node.kind === ts9__default.default.SyntaxKind.SyntaxList; +} +function isThisExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.ThisKeyword; +} +function isThisKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ThisKeyword; +} +function isTrueKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.TrueKeyword; +} +function isTrueLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.TrueKeyword; +} +function isUndefinedKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.UndefinedKeyword; +} +function isUnknownKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.UnknownKeyword; +} +function isVoidKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.VoidKeyword; +} +var [tsMajor, tsMinor] = ts9__default.default.versionMajorMinor.split(".").map((raw) => Number.parseInt(raw, 10)); +function isTsVersionAtLeast(major, minor = 0) { + return tsMajor > major || tsMajor === major && tsMinor >= minor; +} + +// src/nodes/typeGuards/union.ts +function hasDecorators(node) { + return ts9__default.default.isParameter(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isClassExpression(node) || ts9__default.default.isClassDeclaration(node); +} +function hasExpressionInitializer(node) { + return ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isEnumMember(node); +} +function hasInitializer(node) { + return hasExpressionInitializer(node) || ts9__default.default.isForStatement(node) || ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node) || ts9__default.default.isJsxAttribute(node); +} +function hasJSDoc(node) { + if ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9__default.default.isArrowFunction(node) || ts9__default.default.isBlock(node) || ts9__default.default.isBreakStatement(node) || ts9__default.default.isCallSignatureDeclaration(node) || ts9__default.default.isCaseClause(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isConstructSignatureDeclaration(node) || ts9__default.default.isContinueStatement(node) || ts9__default.default.isDebuggerStatement(node) || ts9__default.default.isDoStatement(node) || ts9__default.default.isEmptyStatement(node) || isEndOfFileToken(node) || ts9__default.default.isEnumDeclaration(node) || ts9__default.default.isEnumMember(node) || ts9__default.default.isExportAssignment(node) || ts9__default.default.isExportDeclaration(node) || ts9__default.default.isExportSpecifier(node) || ts9__default.default.isExpressionStatement(node) || ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node) || ts9__default.default.isForStatement(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isFunctionTypeNode(node) || ts9__default.default.isIfStatement(node) || ts9__default.default.isImportDeclaration(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isJSDocFunctionType(node) || ts9__default.default.isLabeledStatement(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isModuleDeclaration(node) || ts9__default.default.isNamedTupleMember(node) || ts9__default.default.isNamespaceExportDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isParenthesizedExpression(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isReturnStatement(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isSpreadAssignment(node) || ts9__default.default.isSwitchStatement(node) || ts9__default.default.isThrowStatement(node) || ts9__default.default.isTryStatement(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isVariableStatement(node) || ts9__default.default.isWhileStatement(node) || ts9__default.default.isWithStatement(node) + ) { + return true; + } + if (isTsVersionAtLeast(4, 4) && ts9__default.default.isClassStaticBlockDeclaration(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9__default.default.isBinaryExpression(node) || ts9__default.default.isElementAccessExpression(node) || ts9__default.default.isIdentifier(node) || ts9__default.default.isJSDocSignature(node) || ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isTypeParameterDeclaration(node))) { + return true; + } + return false; +} +function hasModifiers(node) { + return ts9__default.default.isTypeParameterDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node) || ts9__default.default.isClassExpression(node) || ts9__default.default.isVariableStatement(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isClassDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isEnumDeclaration(node) || ts9__default.default.isModuleDeclaration(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isImportDeclaration(node) || ts9__default.default.isExportAssignment(node) || ts9__default.default.isExportDeclaration(node); +} +function hasType(node) { + return isSignatureDeclaration(node) || ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isTypePredicateNode(node) || ts9__default.default.isParenthesizedTypeNode(node) || ts9__default.default.isTypeOperatorNode(node) || ts9__default.default.isMappedTypeNode(node) || ts9__default.default.isAssertionExpression(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isJSDocTypeExpression(node) || ts9__default.default.isJSDocNonNullableType(node) || ts9__default.default.isJSDocNullableType(node) || ts9__default.default.isJSDocOptionalType(node) || ts9__default.default.isJSDocVariadicType(node); +} +function hasTypeArguments(node) { + return ts9__default.default.isCallExpression(node) || ts9__default.default.isNewExpression(node) || ts9__default.default.isTaggedTemplateExpression(node) || ts9__default.default.isJsxOpeningElement(node) || ts9__default.default.isJsxSelfClosingElement(node); +} +function isAccessExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isElementAccessExpression(node); +} +function isAccessibilityModifier(node) { + return isPublicKeyword(node) || isPrivateKeyword(node) || isProtectedKeyword(node); +} +function isAccessorDeclaration(node) { + return ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node); +} +function isArrayBindingElement(node) { + return ts9__default.default.isBindingElement(node) || ts9__default.default.isOmittedExpression(node); +} +function isArrayBindingOrAssignmentPattern(node) { + return ts9__default.default.isArrayBindingPattern(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isAssignmentPattern(node) { + return ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isBindingOrAssignmentElementRestIndicator(node) { + if (ts9__default.default.isSpreadElement(node) || ts9__default.default.isSpreadAssignment(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9__default.default.isDotDotDotToken(node); + } + return false; +} +function isBindingOrAssignmentElementTarget(node) { + return isBindingOrAssignmentPattern(node) || ts9__default.default.isIdentifier(node) || ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isElementAccessExpression(node) || ts9__default.default.isOmittedExpression(node); +} +function isBindingOrAssignmentPattern(node) { + return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); +} +function isBindingPattern(node) { + return ts9__default.default.isObjectBindingPattern(node) || ts9__default.default.isArrayBindingPattern(node); +} +function isBlockLike(node) { + return ts9__default.default.isSourceFile(node) || ts9__default.default.isBlock(node) || ts9__default.default.isModuleBlock(node) || ts9__default.default.isCaseOrDefaultClause(node); +} +function isBooleanLiteral(node) { + return isTrueLiteral(node) || isFalseLiteral(node); +} +function isClassLikeDeclaration(node) { + return ts9__default.default.isClassDeclaration(node) || ts9__default.default.isClassExpression(node); +} +function isClassMemberModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node) || isStaticKeyword(node) || isAccessorKeyword(node); +} +function isDeclarationName(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isPrivateIdentifier(node) || ts9__default.default.isStringLiteralLike(node) || ts9__default.default.isNumericLiteral(node) || ts9__default.default.isComputedPropertyName(node) || ts9__default.default.isElementAccessExpression(node) || isBindingPattern(node) || isEntityNameExpression(node); +} +function isDeclarationWithTypeParameterChildren(node) { + return isSignatureDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isJSDocTemplateTag(node); +} +function isDeclarationWithTypeParameters(node) { + return isDeclarationWithTypeParameterChildren(node) || ts9__default.default.isJSDocTypedefTag(node) || ts9__default.default.isJSDocCallbackTag(node) || ts9__default.default.isJSDocSignature(node); +} +function isDestructuringPattern(node) { + return isBindingPattern(node) || ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isEntityNameExpression(node) { + return ts9__default.default.isIdentifier(node) || isPropertyAccessEntityNameExpression(node); +} +function isEntityNameOrEntityNameExpression(node) { + return ts9__default.default.isEntityName(node) || isEntityNameExpression(node); +} +function isForInOrOfStatement(node) { + return ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node); +} +function isFunctionLikeDeclaration(node) { + return ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node); +} +function isJSDocComment(node) { + if (isJSDocText(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9__default.default.isJSDocLink(node) || ts9__default.default.isJSDocLinkCode(node) || ts9__default.default.isJSDocLinkPlain(node); + } + return false; +} +function isJSDocNamespaceBody(node) { + return ts9__default.default.isIdentifier(node) || isJSDocNamespaceDeclaration(node); +} +function isJSDocTypeReferencingNode(node) { + return ts9__default.default.isJSDocVariadicType(node) || ts9__default.default.isJSDocOptionalType(node) || ts9__default.default.isJSDocNullableType(node) || ts9__default.default.isJSDocNonNullableType(node); +} +function isJsonObjectExpression(node) { + return ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node) || isJsonMinusNumericLiteral(node) || ts9__default.default.isNumericLiteral(node) || ts9__default.default.isStringLiteral(node) || isBooleanLiteral(node) || isNullLiteral(node); +} +function isJsxAttributeLike(node) { + return ts9__default.default.isJsxAttribute(node) || ts9__default.default.isJsxSpreadAttribute(node); +} +function isJsxAttributeValue(node) { + return ts9__default.default.isStringLiteral(node) || ts9__default.default.isJsxExpression(node) || ts9__default.default.isJsxElement(node) || ts9__default.default.isJsxSelfClosingElement(node) || ts9__default.default.isJsxFragment(node); +} +function isJsxChild(node) { + return ts9__default.default.isJsxText(node) || ts9__default.default.isJsxExpression(node) || ts9__default.default.isJsxElement(node) || ts9__default.default.isJsxSelfClosingElement(node) || ts9__default.default.isJsxFragment(node); +} +function isJsxTagNameExpression(node) { + return ts9__default.default.isIdentifier(node) || isThisExpression(node) || isJsxTagNamePropertyAccess(node); +} +function isLiteralToken(node) { + return ts9__default.default.isNumericLiteral(node) || ts9__default.default.isBigIntLiteral(node) || ts9__default.default.isStringLiteral(node) || ts9__default.default.isJsxText(node) || ts9__default.default.isRegularExpressionLiteral(node) || ts9__default.default.isNoSubstitutionTemplateLiteral(node); +} +function isModuleBody(node) { + return isNamespaceBody(node) || isJSDocNamespaceBody(node); +} +function isModuleName(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isStringLiteral(node); +} +function isModuleReference(node) { + return ts9__default.default.isEntityName(node) || ts9__default.default.isExternalModuleReference(node); +} +function isNamedImportBindings(node) { + return ts9__default.default.isNamespaceImport(node) || ts9__default.default.isNamedImports(node); +} +function isNamedImportsOrExports(node) { + return ts9__default.default.isNamedImports(node) || ts9__default.default.isNamedExports(node); +} +function isNamespaceBody(node) { + return ts9__default.default.isModuleBlock(node) || isNamespaceDeclaration(node); +} +function isObjectBindingOrAssignmentElement(node) { + return ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isSpreadAssignment(node); +} +function isObjectBindingOrAssignmentPattern(node) { + return ts9__default.default.isObjectBindingPattern(node) || ts9__default.default.isObjectLiteralExpression(node); +} +function isObjectTypeDeclaration(node) { + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeLiteralNode(node) + ); +} +function isParameterPropertyModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node); +} +function isPropertyNameLiteral(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isStringLiteralLike(node) || ts9__default.default.isNumericLiteral(node); +} +function isPseudoLiteralToken(node) { + return ts9__default.default.isTemplateHead(node) || ts9__default.default.isTemplateMiddle(node) || ts9__default.default.isTemplateTail(node); +} +function isSignatureDeclaration(node) { + return ts9__default.default.isCallSignatureDeclaration(node) || ts9__default.default.isConstructSignatureDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isFunctionTypeNode(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isJSDocFunctionType(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node); +} +function isSuperProperty(node) { + return isSuperPropertyAccessExpression(node) || isSuperElementAccessExpression(node); +} +function isTypeOnlyCompatibleAliasDeclaration(node) { + if (ts9__default.default.isImportClause(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isNamespaceImport(node) || ts9__default.default.isImportOrExportSpecifier(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9__default.default.isExportDeclaration(node) || ts9__default.default.isNamespaceExport(node))) { + return true; + } + return false; +} +function isTypeReferenceType(node) { + return ts9__default.default.isTypeReferenceNode(node) || ts9__default.default.isExpressionWithTypeArguments(node); +} +function isUnionOrIntersectionTypeNode(node) { + return ts9__default.default.isUnionTypeNode(node) || ts9__default.default.isIntersectionTypeNode(node); +} +function isVariableLikeDeclaration(node) { + return ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isJsxAttribute(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isEnumMember(node) || ts9__default.default.isJSDocPropertyTag(node) || ts9__default.default.isJSDocParameterTag(node); +} + +// src/nodes/typeGuards/compound.ts +function isConstAssertionExpression(node) { + return ts9__default.default.isTypeReferenceNode(node.type) && ts9__default.default.isIdentifier(node.type.typeName) && node.type.typeName.escapedText === "const"; +} +function isIterationStatement(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.DoStatement: + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.WhileStatement: + return true; + default: + return false; + } +} +function isJSDocNamespaceDeclaration(node) { + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); +} +function isJsxTagNamePropertyAccess(node) { + return ts9__default.default.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 + isJsxTagNameExpression(node.expression); +} +function isNamedDeclarationWithName(node) { + return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); +} +function isNamespaceDeclaration(node) { + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); +} +function isNumericOrStringLikeLiteral(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.NoSubstitutionTemplateLiteral: + case ts9__default.default.SyntaxKind.NumericLiteral: + case ts9__default.default.SyntaxKind.StringLiteral: + return true; + default: + return false; + } +} +function isPropertyAccessEntityNameExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) && ts9__default.default.isIdentifier(node.name) && isEntityNameExpression(node.expression); +} +function isSuperElementAccessExpression(node) { + return ts9__default.default.isElementAccessExpression(node) && isSuperExpression(node.expression); +} +function isSuperPropertyAccessExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) && isSuperExpression(node.expression); +} +function isFunctionScopeBoundary(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.ArrowFunction: + case ts9__default.default.SyntaxKind.CallSignature: + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + case ts9__default.default.SyntaxKind.Constructor: + case ts9__default.default.SyntaxKind.ConstructorType: + case ts9__default.default.SyntaxKind.ConstructSignature: + case ts9__default.default.SyntaxKind.EnumDeclaration: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.FunctionType: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.ModuleDeclaration: + case ts9__default.default.SyntaxKind.SetAccessor: + return true; + case ts9__default.default.SyntaxKind.SourceFile: + return ts9__default.default.isExternalModule(node); + default: + return false; + } +} +function isIntrinsicAnyType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Any); +} +function isIntrinsicBigIntType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BigInt); +} +function isIntrinsicBooleanType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Boolean); +} +function isIntrinsicErrorType(type) { + return isIntrinsicType(type) && type.intrinsicName === "error"; +} +function isIntrinsicESSymbolType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.ESSymbol); +} +var IntrinsicTypeFlags = ts9__default.default.TypeFlags.Intrinsic ?? ts9__default.default.TypeFlags.Any | ts9__default.default.TypeFlags.Unknown | ts9__default.default.TypeFlags.String | ts9__default.default.TypeFlags.Number | ts9__default.default.TypeFlags.BigInt | ts9__default.default.TypeFlags.Boolean | ts9__default.default.TypeFlags.BooleanLiteral | ts9__default.default.TypeFlags.ESSymbol | ts9__default.default.TypeFlags.Void | ts9__default.default.TypeFlags.Undefined | ts9__default.default.TypeFlags.Null | ts9__default.default.TypeFlags.Never | ts9__default.default.TypeFlags.NonPrimitive; +function isIntrinsicNeverType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Never); +} +function isIntrinsicNonPrimitiveType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.NonPrimitive); +} +function isIntrinsicNullType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Null); +} +function isIntrinsicNumberType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Number); +} +function isIntrinsicStringType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.String); +} +function isIntrinsicType(type) { + return isTypeFlagSet(type, IntrinsicTypeFlags); +} +function isIntrinsicUndefinedType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Undefined); +} +function isIntrinsicUnknownType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Unknown); +} +function isIntrinsicVoidType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Void); +} +function isConditionalType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Conditional); +} +function isEnumType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Enum); +} +function isFreshableType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Freshable); +} +function isIndexedAccessType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.IndexedAccess); +} +function isIndexType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Index); +} +function isInstantiableType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Instantiable); +} +function isIntersectionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Intersection); +} +function isObjectType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Object); +} +function isStringMappingType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.StringMapping); +} +function isSubstitutionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Substitution); +} +function isTypeParameter(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TypeParameter); +} +function isTypeVariable(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TypeVariable); +} +function isUnionOrIntersectionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.UnionOrIntersection); +} +function isUnionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Union); +} +function isUniqueESSymbolType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.UniqueESSymbol); +} + +// src/types/typeGuards/objects.ts +function isEvolvingArrayType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.EvolvingArray); +} +function isTupleType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.Tuple); +} +function isTypeReference(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.Reference); +} + +// src/types/typeGuards/compound.ts +function isFreshableIntrinsicType(type) { + return isIntrinsicType(type) && isFreshableType(type); +} +function isTupleTypeReference(type) { + return isTypeReference(type) && isTupleType(type.target); +} +function isBigIntLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BigIntLiteral); +} +function isBooleanLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BooleanLiteral); +} +function isFalseLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "false"; +} +function isLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Literal); +} +function isNumberLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.NumberLiteral); +} +function isStringLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.StringLiteral); +} +function isTemplateLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TemplateLiteral); +} +function isTrueLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "true"; +} + +// src/types/getters.ts +function getCallSignaturesOfType(type) { + if (isUnionType(type)) { + const signatures = []; + for (const subType of type.types) { + signatures.push(...getCallSignaturesOfType(subType)); + } + return signatures; + } + if (isIntersectionType(type)) { + let signatures; + for (const subType of type.types) { + const sig = getCallSignaturesOfType(subType); + if (sig.length !== 0) { + if (signatures !== void 0) { + return []; + } + signatures = sig; + } + } + return signatures === void 0 ? [] : signatures; + } + return type.getCallSignatures(); +} +function getPropertyOfType(type, name) { + if (!name.startsWith("__")) { + return type.getProperty(name); + } + return type.getProperties().find((s) => s.escapedName === name); +} +function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker) { + const prefix = "__@" + wellKnownSymbolName; + for (const prop of type.getProperties()) { + if (!prop.name.startsWith(prefix)) { + continue; + } + const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; + if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9__default.default.isComputedPropertyName(declaration.name)) { + continue; + } + const globalSymbol = typeChecker.getApparentType( + typeChecker.getTypeAtLocation(declaration.name.expression) + ).symbol; + if (prop.escapedName === getPropertyNameOfWellKnownSymbol( + typeChecker, + globalSymbol, + wellKnownSymbolName + )) { + return prop; + } + } + return void 0; +} +function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { + const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( + symbolConstructor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + symbolConstructor.valueDeclaration + ).getProperty(symbolName); + const knownSymbolType = knownSymbol && typeChecker.getTypeOfSymbolAtLocation( + knownSymbol, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + knownSymbol.valueDeclaration + ); + if (knownSymbolType && isUniqueESSymbolType(knownSymbolType)) { + return knownSymbolType.escapedName; + } + return "__@" + symbolName; +} +function isBindableObjectDefinePropertyCall(node) { + return node.arguments.length === 3 && isEntityNameExpression(node.arguments[0]) && isNumericOrStringLikeLiteral(node.arguments[1]) && ts9__default.default.isPropertyAccessExpression(node.expression) && node.expression.name.escapedText === "defineProperty" && ts9__default.default.isIdentifier(node.expression.expression) && node.expression.expression.escapedText === "Object"; +} +function isInConstContext(node, typeChecker) { + let current = node; + while (true) { + const parent = current.parent; + outer: switch (parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.ObjectLiteralExpression: + case ts9__default.default.SyntaxKind.ParenthesizedExpression: + case ts9__default.default.SyntaxKind.TemplateExpression: + current = parent; + break; + case ts9__default.default.SyntaxKind.AsExpression: + case ts9__default.default.SyntaxKind.TypeAssertionExpression: + return isConstAssertionExpression(parent); + case ts9__default.default.SyntaxKind.CallExpression: { + if (!ts9__default.default.isExpression(current)) { + return false; + } + const functionSignature = typeChecker.getResolvedSignature( + parent + ); + if (functionSignature === void 0) { + return false; + } + const argumentIndex = parent.arguments.indexOf( + current + ); + if (argumentIndex < 0) { + return false; + } + const parameterSymbol = functionSignature.getParameters()[argumentIndex]; + if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + return false; + } + const parameterSymbolLinks = parameterSymbol.links; + const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; + if (propertySymbol === void 0 || !("links" in propertySymbol)) { + return false; + } + return isTransientSymbolLinksFlagSet( + propertySymbol.links, + ts9__default.default.CheckFlags.Readonly + ); + } + case ts9__default.default.SyntaxKind.PrefixUnaryExpression: + if (current.kind !== ts9__default.default.SyntaxKind.NumericLiteral) { + return false; + } + switch (parent.operator) { + case ts9__default.default.SyntaxKind.MinusToken: + case ts9__default.default.SyntaxKind.PlusToken: + current = parent; + break outer; + default: + return false; + } + case ts9__default.default.SyntaxKind.PropertyAssignment: + if (parent.initializer !== current) { + return false; + } + current = parent.parent; + break; + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + current = parent.parent; + break; + default: + return false; + } + } +} + +// src/types/utilities.ts +function intersectionTypeParts(type) { + return isIntersectionType(type) ? type.types : [type]; +} +function isFalsyType(type) { + if (isTypeFlagSet( + type, + ts9__default.default.TypeFlags.Undefined | ts9__default.default.TypeFlags.Null | ts9__default.default.TypeFlags.Void + )) { + return true; + } + if (typeIsLiteral(type)) { + if (typeof type.value === "object") { + return type.value.base10Value === "0"; + } else { + return !type.value; + } + } + return isFalseLiteralType(type); +} +function isPropertyReadonlyInType(type, name, typeChecker) { + let seenProperty = false; + let seenReadonlySignature = false; + for (const subType of unionTypeParts(type)) { + if (getPropertyOfType(subType, name) === void 0) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); + if (index?.isReadonly) { + if (seenProperty) { + return true; + } + seenReadonlySignature = true; + } + } else if (seenReadonlySignature || isReadonlyPropertyIntersection(subType, name, typeChecker)) { + return true; + } else { + seenProperty = true; + } + } + return false; +} +function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { + for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { + const then = typePart.getProperty("then"); + if (then === void 0) { + continue; + } + const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); + for (const subTypePart of unionTypeParts(thenType)) { + for (const signature of subTypePart.getCallSignatures()) { + if (signature.parameters.length !== 0 && isCallback(typeChecker, signature.parameters[0], node)) { + return true; + } + } + } + } + return false; +} +function symbolHasReadonlyDeclaration(symbol, typeChecker) { + return !!((symbol.flags & ts9__default.default.SymbolFlags.Accessor) === ts9__default.default.SymbolFlags.GetAccessor || symbol.declarations?.some( + (node) => isModifierFlagSet(node, ts9__default.default.ModifierFlags.Readonly) || ts9__default.default.isVariableDeclaration(node) && isNodeFlagSet(node.parent, ts9__default.default.NodeFlags.Const) || ts9__default.default.isCallExpression(node) && isReadonlyAssignmentDeclaration(node, typeChecker) || ts9__default.default.isEnumMember(node) || (ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isShorthandPropertyAssignment(node)) && isInConstContext(node, typeChecker) + )); +} +function typeIsLiteral(type) { + if (isTsVersionAtLeast(5, 0)) { + return type.isLiteral(); + } else { + return isTypeFlagSet( + type, + ts9__default.default.TypeFlags.StringLiteral | ts9__default.default.TypeFlags.NumberLiteral | ts9__default.default.TypeFlags.BigIntLiteral + ); + } +} +function typeParts(type) { + return isIntersectionType(type) || isUnionType(type) ? type.types : [type]; +} +function unionTypeParts(type) { + return isUnionType(type) ? type.types : [type]; +} +function isCallback(typeChecker, param, node) { + let type = typeChecker.getApparentType( + typeChecker.getTypeOfSymbolAtLocation(param, node) + ); + if (param.valueDeclaration.dotDotDotToken) { + type = type.getNumberIndexType(); + if (type === void 0) { + return false; + } + } + for (const subType of unionTypeParts(type)) { + if (subType.getCallSignatures().length !== 0) { + return true; + } + } + return false; +} +function isReadonlyAssignmentDeclaration(node, typeChecker) { + if (!isBindableObjectDefinePropertyCall(node)) { + return false; + } + const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); + if (descriptorType.getProperty("value") === void 0) { + return descriptorType.getProperty("set") === void 0; + } + const writableProp = descriptorType.getProperty("writable"); + if (writableProp === void 0) { + return false; + } + const writableType = writableProp.valueDeclaration !== void 0 && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + return isFalseLiteralType(writableType); +} +function isReadonlyPropertyFromMappedType(type, name, typeChecker) { + if (!isObjectType(type) || !isObjectFlagSet(type, ts9__default.default.ObjectFlags.Mapped)) { + return; + } + const declaration = type.symbol.declarations[0]; + if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + return declaration.readonlyToken.kind !== ts9__default.default.SyntaxKind.MinusToken; + } + const { modifiersType } = type; + return modifiersType && isPropertyReadonlyInType(modifiersType, name, typeChecker); +} +function isReadonlyPropertyIntersection(type, name, typeChecker) { + const typeParts2 = isIntersectionType(type) ? type.types : [type]; + return typeParts2.some((subType) => { + const prop = getPropertyOfType(subType, name); + if (prop === void 0) { + return false; + } + if (prop.flags & ts9__default.default.SymbolFlags.Transient) { + if (/^(?:[1-9]\d*|0)$/.test(name) && isTupleTypeReference(subType)) { + return subType.target.readonly; + } + switch (isReadonlyPropertyFromMappedType(subType, name, typeChecker)) { + case false: + return false; + case true: + return true; + } + } + return !!// members of namespace import + (isSymbolFlagSet(prop, ts9__default.default.SymbolFlags.ValueModule) || // we unwrapped every mapped type, now we can check the actual declarations + symbolHasReadonlyDeclaration(prop, typeChecker)); + }); +} +function identifierToKeywordKind(node) { + return "originalKeywordKind" in node ? node.originalKeywordKind : ts9__default.default.identifierToKeywordKind(node); +} + +// src/usage/declarations.ts +var DeclarationDomain = /* @__PURE__ */ ((DeclarationDomain2) => { + DeclarationDomain2[DeclarationDomain2["Namespace"] = 1] = "Namespace"; + DeclarationDomain2[DeclarationDomain2["Type"] = 2] = "Type"; + DeclarationDomain2[DeclarationDomain2["Value"] = 4] = "Value"; + DeclarationDomain2[DeclarationDomain2["Any"] = 7] = "Any"; + DeclarationDomain2[DeclarationDomain2["Import"] = 8] = "Import"; + return DeclarationDomain2; +})(DeclarationDomain || {}); +function getDeclarationDomain(node) { + switch (node.parent.kind) { + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + return 2 /* Type */ | 4 /* Value */; + case ts9__default.default.SyntaxKind.EnumDeclaration: + return 7 /* Any */; + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + return 4 /* Value */; + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.NamespaceImport: + return 7 /* Any */ | 8 /* Import */; + // TODO handle type-only imports + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.ImportSpecifier: + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + case ts9__default.default.SyntaxKind.TypeParameter: + return 2 /* Type */; + case ts9__default.default.SyntaxKind.ModuleDeclaration: + return 1 /* Namespace */; + case ts9__default.default.SyntaxKind.Parameter: + if (node.parent.parent.kind === ts9__default.default.SyntaxKind.IndexSignature || identifierToKeywordKind(node) === ts9__default.default.SyntaxKind.ThisKeyword) { + return; + } + // falls through + case ts9__default.default.SyntaxKind.BindingElement: + case ts9__default.default.SyntaxKind.VariableDeclaration: + return node.parent.name === node ? 4 /* Value */ : void 0; + } +} +function getPropertyName(propertyName) { + if (propertyName.kind === ts9__default.default.SyntaxKind.ComputedPropertyName) { + const expression = unwrapParentheses(propertyName.expression); + if (ts9__default.default.isPrefixUnaryExpression(expression)) { + let negate = false; + switch (expression.operator) { + case ts9__default.default.SyntaxKind.MinusToken: + negate = true; + // falls through + case ts9__default.default.SyntaxKind.PlusToken: + return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + default: + return; + } + } + if (ts9__default.default.isBigIntLiteral(expression)) { + return expression.text.slice(0, -1); + } + if (isNumericOrStringLikeLiteral(expression)) { + return expression.text; + } + return; + } + return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; +} +function unwrapParentheses(node) { + while (node.kind === ts9__default.default.SyntaxKind.ParenthesizedExpression) { + node = node.expression; + } + return node; +} +var UsageDomain = /* @__PURE__ */ ((UsageDomain2) => { + UsageDomain2[UsageDomain2["Namespace"] = 1] = "Namespace"; + UsageDomain2[UsageDomain2["Type"] = 2] = "Type"; + UsageDomain2[UsageDomain2["Value"] = 4] = "Value"; + UsageDomain2[UsageDomain2["Any"] = 7] = "Any"; + UsageDomain2[UsageDomain2["TypeQuery"] = 8] = "TypeQuery"; + UsageDomain2[UsageDomain2["ValueOrNamespace"] = 5] = "ValueOrNamespace"; + return UsageDomain2; +})(UsageDomain || {}); +function getUsageDomain(node) { + const parent = node.parent; + switch (parent.kind) { + // Value + case ts9__default.default.SyntaxKind.BindingElement: + if (parent.initializer === node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9__default.default.SyntaxKind.BreakStatement: + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + case ts9__default.default.SyntaxKind.ContinueStatement: + case ts9__default.default.SyntaxKind.EnumDeclaration: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.ImportSpecifier: + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.JsxAttribute: + case ts9__default.default.SyntaxKind.LabeledStatement: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.ModuleDeclaration: + case ts9__default.default.SyntaxKind.NamedTupleMember: + case ts9__default.default.SyntaxKind.NamespaceExport: + case ts9__default.default.SyntaxKind.NamespaceExportDeclaration: + case ts9__default.default.SyntaxKind.NamespaceImport: + case ts9__default.default.SyntaxKind.PropertySignature: + case ts9__default.default.SyntaxKind.SetAccessor: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + case ts9__default.default.SyntaxKind.TypeParameter: + case ts9__default.default.SyntaxKind.TypePredicate: + break; + case ts9__default.default.SyntaxKind.EnumMember: + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.Parameter: + case ts9__default.default.SyntaxKind.PropertyAccessExpression: + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.PropertyDeclaration: + case ts9__default.default.SyntaxKind.VariableDeclaration: + if (parent.name !== node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9__default.default.SyntaxKind.ExportAssignment: + return 7 /* Any */; + case ts9__default.default.SyntaxKind.ExportSpecifier: + if (parent.propertyName === void 0 || parent.propertyName === node) { + return 7 /* Any */; + } + break; + case ts9__default.default.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9__default.default.SyntaxKind.ImplementsKeyword || parent.parent.parent.kind === ts9__default.default.SyntaxKind.InterfaceDeclaration ? 2 /* Type */ : 4 /* Value */; + case ts9__default.default.SyntaxKind.QualifiedName: + if (parent.left === node) { + if (getEntityNameParent(parent).kind === ts9__default.default.SyntaxKind.TypeQuery) { + return 1 /* Namespace */ | 8 /* TypeQuery */; + } + return 1 /* Namespace */; + } + break; + case ts9__default.default.SyntaxKind.TypeQuery: + return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; + case ts9__default.default.SyntaxKind.TypeReference: + return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + default: + return 5 /* ValueOrNamespace */; + } +} +function getEntityNameParent(name) { + let parent = name.parent; + while (parent.kind === ts9__default.default.SyntaxKind.QualifiedName) { + parent = parent.parent; + } + return parent; +} +function isBlockScopeBoundary(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.Block: { + const parent = node.parent; + return parent.kind !== ts9__default.default.SyntaxKind.CatchClause && // blocks inside SourceFile are block scope boundaries + (parent.kind === ts9__default.default.SyntaxKind.SourceFile || // blocks that are direct children of a function scope boundary are no scope boundary + // for example the FunctionBlock is part of the function scope of the containing function + !isFunctionScopeBoundary(parent)) ? 2 /* Block */ : 0 /* None */; + } + case ts9__default.default.SyntaxKind.CaseBlock: + case ts9__default.default.SyntaxKind.CatchClause: + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.WithStatement: + return 2 /* Block */; + default: + return 0 /* None */; + } +} + +// src/usage/scopes.ts +var AbstractScope = class { + constructor(global) { + this.global = global; + } + namespaceScopes = void 0; + uses = []; + variables = /* @__PURE__ */ new Map(); + #enumScopes = void 0; + addUse(use) { + this.uses.push(use); + } + addVariable(identifier, name, selector, exported, domain) { + const variables = this.getDestinationScope(selector).getVariables(); + const declaration = { + declaration: name, + domain, + exported + }; + const variable = variables.get(identifier); + if (variable === void 0) { + variables.set(identifier, { + declarations: [declaration], + domain, + uses: [] + }); + } else { + variable.domain |= domain; + variable.declarations.push(declaration); + } + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + createOrReuseEnumScope(name, _exported) { + let scope; + if (this.#enumScopes === void 0) { + this.#enumScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.#enumScopes.get(name); + } + if (scope === void 0) { + scope = new EnumScope(this); + this.#enumScopes.set(name, scope); + } + return scope; + } + // only relevant for the root scope + createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { + let scope; + if (this.namespaceScopes === void 0) { + this.namespaceScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.namespaceScopes.get(name); + } + if (scope === void 0) { + scope = new NamespaceScope(ambient, hasExportStatement, this); + this.namespaceScopes.set(name, scope); + } else { + scope.refresh(ambient, hasExportStatement); + } + return scope; + } + end(cb) { + if (this.namespaceScopes !== void 0) { + this.namespaceScopes.forEach((value) => value.finish(cb)); + } + this.namespaceScopes = this.#enumScopes = void 0; + this.applyUses(); + this.variables.forEach((variable) => { + for (const declaration of variable.declarations) { + const result = { + declarations: [], + domain: declaration.domain, + exported: declaration.exported, + inGlobalScope: this.global, + uses: [] + }; + for (const other of variable.declarations) { + if (other.domain & declaration.domain) { + result.declarations.push(other.declaration); + } + } + for (const use of variable.uses) { + if (use.domain & declaration.domain) { + result.uses.push(use); + } + } + cb(result, declaration.declaration, this); + } + }); + } + getFunctionScope() { + return this; + } + getVariables() { + return this.variables; + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + markExported(_name) { + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + addUseToParent(_use) { + } + applyUse(use, variables = this.variables) { + const variable = variables.get(use.location.text); + if (variable === void 0 || (variable.domain & use.domain) === 0) { + return false; + } + variable.uses.push(use); + return true; + } + applyUses() { + for (const use of this.uses) { + if (!this.applyUse(use)) { + this.addUseToParent(use); + } + } + this.uses = []; + } +}; +var NonRootScope = class extends AbstractScope { + constructor(parent, boundary) { + super(false); + this.parent = parent; + this.boundary = boundary; + } + getDestinationScope(selector) { + return this.boundary & selector ? this : this.parent.getDestinationScope(selector); + } + addUseToParent(use) { + return this.parent.addUse(use, this); + } +}; +var AbstractNamedExpressionScope = class extends NonRootScope { + #domain; + #name; + constructor(name, domain, parent) { + super(parent, 1 /* Function */); + this.#name = name; + this.#domain = domain; + } + addUse(use, source) { + if (source !== this.innerScope) { + return this.innerScope.addUse(use); + } + if (use.domain & this.#domain && use.location.text === this.#name.text) { + this.uses.push(use); + } else { + return this.parent.addUse(use, this); + } + } + end(cb) { + this.innerScope.end(cb); + return cb( + { + declarations: [this.#name], + domain: this.#domain, + exported: false, + inGlobalScope: false, + uses: this.uses + }, + this.#name, + this + ); + } + getDestinationScope() { + return this.innerScope; + } + getFunctionScope() { + return this.innerScope; + } +}; +var BlockScope = class extends NonRootScope { + #functionScope; + constructor(functionScope, parent) { + super(parent, 2 /* Block */); + this.#functionScope = functionScope; + } + getFunctionScope() { + return this.#functionScope; + } +}; +var ClassExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new NonRootScope(this, 1 /* Function */); + constructor(name, parent) { + super(name, 4 /* Value */ | 2 /* Type */, parent); + } +}; +var ConditionalTypeScope = class extends NonRootScope { + #state = 0 /* Initial */; + constructor(parent) { + super(parent, 8 /* ConditionalType */); + } + addUse(use) { + if (this.#state === 2 /* TrueType */) { + return void this.uses.push(use); + } + return this.parent.addUse(use, this); + } + updateState(newState) { + this.#state = newState; + } +}; +var EnumScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + end() { + this.applyUses(); + } +}; +var FunctionScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + beginBody() { + this.applyUses(); + } +}; +var FunctionExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new FunctionScope(this); + constructor(name, parent) { + super(name, 4 /* Value */, parent); + } + beginBody() { + return this.innerScope.beginBody(); + } +}; +var NamespaceScope = class extends NonRootScope { + #ambient; + #exports = void 0; + #hasExport; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(ambient, hasExport, parent) { + super(parent, 1 /* Function */); + this.#ambient = ambient; + this.#hasExport = hasExport; + } + addUse(use, source) { + if (source !== this.#innerScope) { + return this.#innerScope.addUse(use); + } + this.uses.push(use); + } + createOrReuseEnumScope(name, exported) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseEnumScope(name, exported); + } + return super.createOrReuseEnumScope(name, exported); + } + createOrReuseNamespaceScope(name, exported, ambient, hasExportStatement) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + return super.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + end(cb) { + this.#innerScope.end((variable, key, scope) => { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + return cb(variable, key, scope); + } + const namespaceVar = this.variables.get(key.text); + if (namespaceVar === void 0) { + this.variables.set(key.text, { + declarations: variable.declarations.map(mapDeclaration), + domain: variable.domain, + uses: [...variable.uses] + }); + } else { + outer: for (const declaration of variable.declarations) { + for (const existing of namespaceVar.declarations) { + if (existing.declaration === declaration) { + continue outer; + } + namespaceVar.declarations.push(mapDeclaration(declaration)); + } + } + namespaceVar.domain |= variable.domain; + for (const use of variable.uses) { + if (namespaceVar.uses.includes(use)) { + continue; + } + namespaceVar.uses.push(use); + } + } + }); + this.applyUses(); + this.#innerScope = new NonRootScope(this, 1 /* Function */); + } + finish(cb) { + return super.end(cb); + } + getDestinationScope() { + return this.#innerScope; + } + markExported(name) { + if (this.#exports === void 0) { + this.#exports = /* @__PURE__ */ new Set(); + } + this.#exports.add(name.text); + } + refresh(ambient, hasExport) { + this.#ambient = ambient; + this.#hasExport = hasExport; + } +}; +var RootScope = class extends AbstractScope { + #exportAll; + #exports = void 0; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(exportAll, global) { + super(global); + this.#exportAll = exportAll; + } + addUse(use, origin) { + if (origin === this.#innerScope) { + return super.addUse(use); + } + return this.#innerScope.addUse(use); + } + addVariable(identifier, name, selector, exported, domain) { + if (domain & 8 /* Import */) { + return super.addVariable(identifier, name, selector, exported, domain); + } + return this.#innerScope.addVariable( + identifier, + name, + selector, + exported, + domain + ); + } + end(cb) { + this.#innerScope.end((value, key) => { + value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.inGlobalScope = this.global; + return cb(value, key, this); + }); + return super.end((value, key, scope) => { + value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + return cb(value, key, scope); + }); + } + getDestinationScope() { + return this; + } + markExported(id) { + if (this.#exports === void 0) { + this.#exports = [id.text]; + } else { + this.#exports.push(id.text); + } + } +}; +function mapDeclaration(declaration) { + return { + declaration, + domain: getDeclarationDomain(declaration), + exported: true + }; +} + +// src/usage/UsageWalker.ts +var UsageWalker = class { + #result = /* @__PURE__ */ new Map(); + #scope; + getUsage(sourceFile) { + const variableCallback = (variable, key) => { + this.#result.set(key, variable); + }; + const isModule = ts9__default.default.isExternalModule(sourceFile); + this.#scope = new RootScope( + sourceFile.isDeclarationFile && isModule && !containsExportStatement(sourceFile), + !isModule + ); + const cb = (node) => { + if (isBlockScopeBoundary(node)) { + return continueWithScope( + node, + new BlockScope(this.#scope.getFunctionScope(), this.#scope), + handleBlockScope + ); + } + switch (node.kind) { + case ts9__default.default.SyntaxKind.ArrowFunction: + case ts9__default.default.SyntaxKind.CallSignature: + case ts9__default.default.SyntaxKind.Constructor: + case ts9__default.default.SyntaxKind.ConstructorType: + case ts9__default.default.SyntaxKind.ConstructSignature: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.FunctionType: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.SetAccessor: + return this.#handleFunctionLikeDeclaration( + node, + cb, + variableCallback + ); + case ts9__default.default.SyntaxKind.ClassDeclaration: + this.#handleDeclaration( + node, + true, + 4 /* Value */ | 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9__default.default.SyntaxKind.ClassExpression: + return continueWithScope( + node, + node.name !== void 0 ? new ClassExpressionScope( + node.name, + this.#scope + ) : new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9__default.default.SyntaxKind.ConditionalType: + return this.#handleConditionalType( + node, + cb, + variableCallback + ); + case ts9__default.default.SyntaxKind.EnumDeclaration: + this.#handleDeclaration( + node, + true, + 7 /* Any */ + ); + return continueWithScope( + node, + this.#scope.createOrReuseEnumScope( + node.name.text, + includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ) + ) + ); + case ts9__default.default.SyntaxKind.EnumMember: + this.#scope.addVariable( + getPropertyName(node.name), + node.name, + 1 /* Function */, + true, + 4 /* Value */ + ); + break; + case ts9__default.default.SyntaxKind.ExportAssignment: + if (node.expression.kind === ts9__default.default.SyntaxKind.Identifier) { + return this.#scope.markExported( + node.expression + ); + } + break; + case ts9__default.default.SyntaxKind.ExportSpecifier: + if (node.propertyName !== void 0) { + return this.#scope.markExported( + node.propertyName, + node.name + ); + } + return this.#scope.markExported(node.name); + case ts9__default.default.SyntaxKind.Identifier: { + const domain = getUsageDomain(node); + if (domain !== void 0) { + this.#scope.addUse({ domain, location: node }); + } + return; + } + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.ImportSpecifier: + case ts9__default.default.SyntaxKind.NamespaceImport: + this.#handleDeclaration( + node, + false, + 7 /* Any */ | 8 /* Import */ + ); + break; + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + this.#handleDeclaration( + node, + true, + 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9__default.default.SyntaxKind.MappedType: + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9__default.default.SyntaxKind.ModuleDeclaration: + return this.#handleModule( + node, + continueWithScope + ); + case ts9__default.default.SyntaxKind.Parameter: + if (node.parent.kind !== ts9__default.default.SyntaxKind.IndexSignature && (node.name.kind !== ts9__default.default.SyntaxKind.Identifier || identifierToKeywordKind( + node.name + ) !== ts9__default.default.SyntaxKind.ThisKeyword)) { + this.#handleBindingName( + node.name, + false, + false + ); + } + break; + case ts9__default.default.SyntaxKind.TypeParameter: + this.#scope.addVariable( + node.name.text, + node.name, + node.parent.kind === ts9__default.default.SyntaxKind.InferType ? 8 /* InferType */ : 7 /* Type */, + false, + 2 /* Type */ + ); + break; + // End of Scope specific handling + case ts9__default.default.SyntaxKind.VariableDeclarationList: + this.#handleVariableDeclaration(node); + break; + } + return ts9__default.default.forEachChild(node, cb); + }; + const continueWithScope = (node, scope, next = forEachChild) => { + const savedScope = this.#scope; + this.#scope = scope; + next(node); + this.#scope.end(variableCallback); + this.#scope = savedScope; + }; + const handleBlockScope = (node) => { + if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + this.#handleBindingName( + node.variableDeclaration.name, + true, + false + ); + } + return ts9__default.default.forEachChild(node, cb); + }; + ts9__default.default.forEachChild(sourceFile, cb); + this.#scope.end(variableCallback); + return this.#result; + function forEachChild(node) { + return ts9__default.default.forEachChild(node, cb); + } + } + #handleBindingName(name, blockScoped, exported) { + if (name.kind === ts9__default.default.SyntaxKind.Identifier) { + return this.#scope.addVariable( + name.text, + name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + } + forEachDestructuringIdentifier(name, (declaration) => { + this.#scope.addVariable( + declaration.name.text, + declaration.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + }); + } + #handleConditionalType(node, cb, varCb) { + const savedScope = this.#scope; + const scope = this.#scope = new ConditionalTypeScope(savedScope); + cb(node.checkType); + scope.updateState(1 /* Extends */); + cb(node.extendsType); + scope.updateState(2 /* TrueType */); + cb(node.trueType); + scope.updateState(3 /* FalseType */); + cb(node.falseType); + scope.end(varCb); + this.#scope = savedScope; + } + #handleDeclaration(node, blockScoped, domain) { + if (node.name !== void 0) { + this.#scope.addVariable( + node.name.text, + node.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ), + domain + ); + } + } + #handleFunctionLikeDeclaration(node, cb, varCb) { + if (ts9__default.default.canHaveDecorators(node)) { + ts9__default.default.getDecorators(node)?.forEach(cb); + } + const savedScope = this.#scope; + if (node.kind === ts9__default.default.SyntaxKind.FunctionDeclaration) { + this.#handleDeclaration(node, false, 4 /* Value */); + } + const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== void 0) { + cb(node.name); + } + if (node.typeParameters !== void 0) { + node.typeParameters.forEach(cb); + } + node.parameters.forEach(cb); + if (node.type !== void 0) { + cb(node.type); + } + if (node.body !== void 0) { + scope.beginBody(); + cb(node.body); + } + scope.end(varCb); + this.#scope = savedScope; + } + #handleModule(node, next) { + if (node.flags & ts9__default.default.NodeFlags.GlobalAugmentation) { + return next( + node, + this.#scope.createOrReuseNamespaceScope("-global", false, true, false) + ); + } + if (node.name.kind === ts9__default.default.SyntaxKind.Identifier) { + const exported = isNamespaceExported(node); + this.#scope.addVariable( + node.name.text, + node.name, + 1 /* Function */, + exported, + 1 /* Namespace */ | 4 /* Value */ + ); + const ambient = includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.DeclareKeyword + ); + return next( + node, + this.#scope.createOrReuseNamespaceScope( + node.name.text, + exported, + ambient, + ambient && namespaceHasExportStatement(node) + ) + ); + } + return next( + node, + this.#scope.createOrReuseNamespaceScope( + `"${node.name.text}"`, + false, + true, + namespaceHasExportStatement(node) + ) + ); + } + #handleVariableDeclaration(declarationList) { + const blockScoped = isBlockScopedVariableDeclarationList(declarationList); + const exported = declarationList.parent.kind === ts9__default.default.SyntaxKind.VariableStatement && includesModifier( + declarationList.parent.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ); + for (const declaration of declarationList.declarations) { + this.#handleBindingName(declaration.name, blockScoped, exported); + } + } +}; +function containsExportStatement(block) { + for (const statement of block.statements) { + if (statement.kind === ts9__default.default.SyntaxKind.ExportDeclaration || statement.kind === ts9__default.default.SyntaxKind.ExportAssignment) { + return true; + } + } + return false; +} +function forEachDestructuringIdentifier(pattern, fn) { + for (const element of pattern.elements) { + if (element.kind !== ts9__default.default.SyntaxKind.BindingElement) { + continue; + } + let result; + if (element.name.kind === ts9__default.default.SyntaxKind.Identifier) { + result = fn(element); + } else { + result = forEachDestructuringIdentifier(element.name, fn); + } + if (result) { + return result; + } + } +} +function isBlockScopedVariableDeclarationList(declarationList) { + return (declarationList.flags & ts9__default.default.NodeFlags.BlockScoped) !== 0; +} +function isNamespaceExported(node) { + return node.parent.kind === ts9__default.default.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9__default.default.SyntaxKind.ExportKeyword); +} +function namespaceHasExportStatement(ns) { + if (ns.body === void 0 || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { + return false; + } + return containsExportStatement(ns.body); +} + +// src/usage/collectVariableUsage.ts +function collectVariableUsage(sourceFile) { + return new UsageWalker().getUsage(sourceFile); +} + +exports.AccessKind = AccessKind; +exports.DeclarationDomain = DeclarationDomain; +exports.UsageDomain = UsageDomain; +exports.collectVariableUsage = collectVariableUsage; +exports.forEachComment = forEachComment; +exports.forEachToken = forEachToken; +exports.getAccessKind = getAccessKind; +exports.getCallSignaturesOfType = getCallSignaturesOfType; +exports.getPropertyOfType = getPropertyOfType; +exports.getWellKnownSymbolPropertyOfType = getWellKnownSymbolPropertyOfType; +exports.hasDecorators = hasDecorators; +exports.hasExpressionInitializer = hasExpressionInitializer; +exports.hasInitializer = hasInitializer; +exports.hasJSDoc = hasJSDoc; +exports.hasModifiers = hasModifiers; +exports.hasType = hasType; +exports.hasTypeArguments = hasTypeArguments; +exports.includesModifier = includesModifier; +exports.intersectionTypeParts = intersectionTypeParts; +exports.isAbstractKeyword = isAbstractKeyword; +exports.isAccessExpression = isAccessExpression; +exports.isAccessibilityModifier = isAccessibilityModifier; +exports.isAccessorDeclaration = isAccessorDeclaration; +exports.isAccessorKeyword = isAccessorKeyword; +exports.isAnyKeyword = isAnyKeyword; +exports.isArrayBindingElement = isArrayBindingElement; +exports.isArrayBindingOrAssignmentPattern = isArrayBindingOrAssignmentPattern; +exports.isAssertKeyword = isAssertKeyword; +exports.isAssertsKeyword = isAssertsKeyword; +exports.isAssignmentKind = isAssignmentKind; +exports.isAssignmentPattern = isAssignmentPattern; +exports.isAsyncKeyword = isAsyncKeyword; +exports.isAwaitKeyword = isAwaitKeyword; +exports.isBigIntKeyword = isBigIntKeyword; +exports.isBigIntLiteralType = isBigIntLiteralType; +exports.isBindingOrAssignmentElementRestIndicator = isBindingOrAssignmentElementRestIndicator; +exports.isBindingOrAssignmentElementTarget = isBindingOrAssignmentElementTarget; +exports.isBindingOrAssignmentPattern = isBindingOrAssignmentPattern; +exports.isBindingPattern = isBindingPattern; +exports.isBlockLike = isBlockLike; +exports.isBooleanKeyword = isBooleanKeyword; +exports.isBooleanLiteral = isBooleanLiteral; +exports.isBooleanLiteralType = isBooleanLiteralType; +exports.isClassLikeDeclaration = isClassLikeDeclaration; +exports.isClassMemberModifier = isClassMemberModifier; +exports.isColonToken = isColonToken; +exports.isCompilerOptionEnabled = isCompilerOptionEnabled; +exports.isConditionalType = isConditionalType; +exports.isConstAssertionExpression = isConstAssertionExpression; +exports.isConstKeyword = isConstKeyword; +exports.isDeclarationName = isDeclarationName; +exports.isDeclarationWithTypeParameterChildren = isDeclarationWithTypeParameterChildren; +exports.isDeclarationWithTypeParameters = isDeclarationWithTypeParameters; +exports.isDeclareKeyword = isDeclareKeyword; +exports.isDefaultKeyword = isDefaultKeyword; +exports.isDestructuringPattern = isDestructuringPattern; +exports.isDotToken = isDotToken; +exports.isEndOfFileToken = isEndOfFileToken; +exports.isEntityNameExpression = isEntityNameExpression; +exports.isEntityNameOrEntityNameExpression = isEntityNameOrEntityNameExpression; +exports.isEnumType = isEnumType; +exports.isEqualsGreaterThanToken = isEqualsGreaterThanToken; +exports.isEqualsToken = isEqualsToken; +exports.isEvolvingArrayType = isEvolvingArrayType; +exports.isExclamationToken = isExclamationToken; +exports.isExportKeyword = isExportKeyword; +exports.isFalseKeyword = isFalseKeyword; +exports.isFalseLiteral = isFalseLiteral; +exports.isFalseLiteralType = isFalseLiteralType; +exports.isFalsyType = isFalsyType; +exports.isForInOrOfStatement = isForInOrOfStatement; +exports.isFreshableIntrinsicType = isFreshableIntrinsicType; +exports.isFreshableType = isFreshableType; +exports.isFunctionLikeDeclaration = isFunctionLikeDeclaration; +exports.isFunctionScopeBoundary = isFunctionScopeBoundary; +exports.isImportExpression = isImportExpression; +exports.isImportKeyword = isImportKeyword; +exports.isInKeyword = isInKeyword; +exports.isIndexType = isIndexType; +exports.isIndexedAccessType = isIndexedAccessType; +exports.isInstantiableType = isInstantiableType; +exports.isIntersectionType = isIntersectionType; +exports.isIntrinsicAnyType = isIntrinsicAnyType; +exports.isIntrinsicBigIntType = isIntrinsicBigIntType; +exports.isIntrinsicBooleanType = isIntrinsicBooleanType; +exports.isIntrinsicESSymbolType = isIntrinsicESSymbolType; +exports.isIntrinsicErrorType = isIntrinsicErrorType; +exports.isIntrinsicNeverType = isIntrinsicNeverType; +exports.isIntrinsicNonPrimitiveType = isIntrinsicNonPrimitiveType; +exports.isIntrinsicNullType = isIntrinsicNullType; +exports.isIntrinsicNumberType = isIntrinsicNumberType; +exports.isIntrinsicStringType = isIntrinsicStringType; +exports.isIntrinsicType = isIntrinsicType; +exports.isIntrinsicUndefinedType = isIntrinsicUndefinedType; +exports.isIntrinsicUnknownType = isIntrinsicUnknownType; +exports.isIntrinsicVoidType = isIntrinsicVoidType; +exports.isIterationStatement = isIterationStatement; +exports.isJSDocComment = isJSDocComment; +exports.isJSDocNamespaceBody = isJSDocNamespaceBody; +exports.isJSDocNamespaceDeclaration = isJSDocNamespaceDeclaration; +exports.isJSDocText = isJSDocText; +exports.isJSDocTypeReferencingNode = isJSDocTypeReferencingNode; +exports.isJsonMinusNumericLiteral = isJsonMinusNumericLiteral; +exports.isJsonObjectExpression = isJsonObjectExpression; +exports.isJsxAttributeLike = isJsxAttributeLike; +exports.isJsxAttributeValue = isJsxAttributeValue; +exports.isJsxChild = isJsxChild; +exports.isJsxTagNameExpression = isJsxTagNameExpression; +exports.isJsxTagNamePropertyAccess = isJsxTagNamePropertyAccess; +exports.isLiteralToken = isLiteralToken; +exports.isLiteralType = isLiteralType; +exports.isModifierFlagSet = isModifierFlagSet; +exports.isModuleBody = isModuleBody; +exports.isModuleName = isModuleName; +exports.isModuleReference = isModuleReference; +exports.isNamedDeclarationWithName = isNamedDeclarationWithName; +exports.isNamedImportBindings = isNamedImportBindings; +exports.isNamedImportsOrExports = isNamedImportsOrExports; +exports.isNamespaceBody = isNamespaceBody; +exports.isNamespaceDeclaration = isNamespaceDeclaration; +exports.isNeverKeyword = isNeverKeyword; +exports.isNodeFlagSet = isNodeFlagSet; +exports.isNullKeyword = isNullKeyword; +exports.isNullLiteral = isNullLiteral; +exports.isNumberKeyword = isNumberKeyword; +exports.isNumberLiteralType = isNumberLiteralType; +exports.isNumericOrStringLikeLiteral = isNumericOrStringLikeLiteral; +exports.isNumericPropertyName = isNumericPropertyName; +exports.isObjectBindingOrAssignmentElement = isObjectBindingOrAssignmentElement; +exports.isObjectBindingOrAssignmentPattern = isObjectBindingOrAssignmentPattern; +exports.isObjectFlagSet = isObjectFlagSet; +exports.isObjectKeyword = isObjectKeyword; +exports.isObjectType = isObjectType; +exports.isObjectTypeDeclaration = isObjectTypeDeclaration; +exports.isOutKeyword = isOutKeyword; +exports.isOverrideKeyword = isOverrideKeyword; +exports.isParameterPropertyModifier = isParameterPropertyModifier; +exports.isPrivateKeyword = isPrivateKeyword; +exports.isPropertyAccessEntityNameExpression = isPropertyAccessEntityNameExpression; +exports.isPropertyNameLiteral = isPropertyNameLiteral; +exports.isPropertyReadonlyInType = isPropertyReadonlyInType; +exports.isProtectedKeyword = isProtectedKeyword; +exports.isPseudoLiteralToken = isPseudoLiteralToken; +exports.isPublicKeyword = isPublicKeyword; +exports.isQuestionDotToken = isQuestionDotToken; +exports.isQuestionToken = isQuestionToken; +exports.isReadonlyKeyword = isReadonlyKeyword; +exports.isSignatureDeclaration = isSignatureDeclaration; +exports.isStaticKeyword = isStaticKeyword; +exports.isStrictCompilerOptionEnabled = isStrictCompilerOptionEnabled; +exports.isStringKeyword = isStringKeyword; +exports.isStringLiteralType = isStringLiteralType; +exports.isStringMappingType = isStringMappingType; +exports.isSubstitutionType = isSubstitutionType; +exports.isSuperElementAccessExpression = isSuperElementAccessExpression; +exports.isSuperExpression = isSuperExpression; +exports.isSuperKeyword = isSuperKeyword; +exports.isSuperProperty = isSuperProperty; +exports.isSuperPropertyAccessExpression = isSuperPropertyAccessExpression; +exports.isSymbolFlagSet = isSymbolFlagSet; +exports.isSymbolKeyword = isSymbolKeyword; +exports.isSyntaxList = isSyntaxList; +exports.isTemplateLiteralType = isTemplateLiteralType; +exports.isThenableType = isThenableType; +exports.isThisExpression = isThisExpression; +exports.isThisKeyword = isThisKeyword; +exports.isTransientSymbolLinksFlagSet = isTransientSymbolLinksFlagSet; +exports.isTrueKeyword = isTrueKeyword; +exports.isTrueLiteral = isTrueLiteral; +exports.isTrueLiteralType = isTrueLiteralType; +exports.isTupleType = isTupleType; +exports.isTupleTypeReference = isTupleTypeReference; +exports.isTypeFlagSet = isTypeFlagSet; +exports.isTypeOnlyCompatibleAliasDeclaration = isTypeOnlyCompatibleAliasDeclaration; +exports.isTypeParameter = isTypeParameter; +exports.isTypeReference = isTypeReference; +exports.isTypeReferenceType = isTypeReferenceType; +exports.isTypeVariable = isTypeVariable; +exports.isUndefinedKeyword = isUndefinedKeyword; +exports.isUnionOrIntersectionType = isUnionOrIntersectionType; +exports.isUnionOrIntersectionTypeNode = isUnionOrIntersectionTypeNode; +exports.isUnionType = isUnionType; +exports.isUniqueESSymbolType = isUniqueESSymbolType; +exports.isUnknownKeyword = isUnknownKeyword; +exports.isValidPropertyAccess = isValidPropertyAccess; +exports.isVariableLikeDeclaration = isVariableLikeDeclaration; +exports.isVoidKeyword = isVoidKeyword; +exports.symbolHasReadonlyDeclaration = symbolHasReadonlyDeclaration; +exports.typeIsLiteral = typeIsLiteral; +exports.typeParts = typeParts; +exports.unionTypeParts = unionTypeParts; diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.cts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.cts new file mode 100644 index 0000000000..217906ef6a --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.cts @@ -0,0 +1,3003 @@ +import ts from 'typescript'; + +/** + * Callback type used for {@link forEachComment}. + * @category Callbacks + * @param fullText Full parsed text of the comment. + * @param comment Text range of the comment in its file. + * @example + * ```ts + * let onComment: ForEachCommentCallback = (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }; + * ``` + */ +type ForEachCommentCallback = (fullText: string, comment: ts.CommentRange) => void; +/** + * Iterates over all comments owned by `node` or its children. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachComment(node, (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }); + * ``` + */ +declare function forEachComment(node: ts.Node, callback: ForEachCommentCallback, sourceFile?: ts.SourceFile): void; + +/** + * An option that can be tested with {@link isCompilerOptionEnabled}. + * @category Compiler Options + */ +type BooleanCompilerOptions = keyof { + [K in keyof ts.CompilerOptions as NonNullable extends boolean ? K : never]: unknown; +}; +/** + * An option that can be tested with {@link isStrictCompilerOptionEnabled}. + * @category Compiler Options + */ +type StrictCompilerOption = "alwaysStrict" | "noImplicitAny" | "noImplicitThis" | "strictBindCallApply" | "strictFunctionTypes" | "strictNullChecks" | "strictPropertyInitialization"; +/** + * Checks if a given compiler option is enabled. + * It handles dependencies of options, e.g. `declaration` is implicitly enabled by `composite` or `strictNullChecks` is enabled by `strict`. + * However, it does not check dependencies that are already checked and reported as errors, e.g. `checkJs` without `allowJs`. + * This function only handles boolean flags. + * @category Compiler Options + * @example + * ```ts + * const options = { + * allowJs: true, + * }; + * + * isCompilerOptionEnabled(options, "allowJs"); // true + * isCompilerOptionEnabled(options, "allowSyntheticDefaultImports"); // false + * ``` + */ +declare function isCompilerOptionEnabled(options: ts.CompilerOptions, option: BooleanCompilerOptions): boolean; +/** + * Checks if a given compiler option is enabled, accounting for whether all flags + * (except `strictPropertyInitialization`) have been enabled by `strict: true`. + * @category Compiler Options + * @example + * ```ts + * const optionsLenient = { + * noImplicitAny: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitThis"); // false + * ``` + * @example + * ```ts + * const optionsStrict = { + * noImplicitThis: false, + * strict: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitThis"); // false + * ``` + */ +declare function isStrictCompilerOptionEnabled(options: ts.CompilerOptions, option: StrictCompilerOption): boolean; + +/** + * Test if the given node has the given `ModifierFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModifierFlagSet(node, ts.ModifierFlags.Abstract)) { + * // ... + * } + * ``` + */ +declare function isModifierFlagSet(node: ts.Declaration, flag: ts.ModifierFlags): boolean; +/** + * Test if the given node has the given `NodeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { + * // ... + * } + * ``` + */ +declare const isNodeFlagSet: (node: ts.Node, flag: ts.NodeFlags) => boolean; +/** + * Test if the given node has the given `ObjectFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectFlagSet(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isObjectFlagSet(objectType: ts.ObjectType, flag: ts.ObjectFlags): boolean; +/** + * Test if the given node has the given `SymbolFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * + * if (isSymbolFlagSet(symbol, ts.SymbolFlags.Accessor)) { + * // ... + * } + * ``` + */ +declare const isSymbolFlagSet: (symbol: ts.Symbol, flag: ts.SymbolFlags) => boolean; +/** + * Test if the given symbol's links has the given `CheckFlags` set. + * @internal + */ +declare function isTransientSymbolLinksFlagSet(links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean; +/** + * Test if the given node has the given `TypeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeFlagSet(type, ts.TypeFlags.Any)) { + * // ... + * } + * ``` + */ +declare const isTypeFlagSet: (type: ts.Type, flag: ts.TypeFlags) => boolean; + +/** + * Test if the given iterable includes a modifier of any of the given kinds. + * @category Modifier Utilities + * @example + * ```ts + * declare const modifiers: ts.Modifier[]; + * + * includesModifier(modifiers, ts.SyntaxKind.AbstractKeyword); + * ``` + */ +declare function includesModifier(modifiers: Iterable | undefined, ...kinds: ts.ModifierSyntaxKind[]): boolean; + +/** + * What operations(s), if any, an expression applies. + */ +declare enum AccessKind { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + ReadWrite = 3 +} +/** + * Determines which operation(s), if any, an expression applies. + * @example + * ```ts + * declare const node: ts.Expression; + * + * if (getAccessKind(node).Write & AccessKind.Write) !== 0) { + * // this is a reassignment (write) + * } + * ``` + */ +declare function getAccessKind(node: ts.Expression): AccessKind; + +/** + * An `AssertionExpression` that is declared as const. + * @category Node Types + */ +type ConstAssertionExpression = ts.AssertionExpression & { + type: ts.TypeReferenceNode; + typeName: ConstAssertionIdentifier; +}; +/** + * An `Identifier` with an `escapedText` value of `"const"`. + * @category Node Types + */ +type ConstAssertionIdentifier = ts.Identifier & { + escapedText: "const" & ts.__String; +}; +/** + * a `NamedDeclaration` that definitely has a name. + * @category Node Types + */ +interface NamedDeclarationWithName extends ts.NamedDeclaration { + name: ts.DeclarationName; +} +/** + * A number or string-like literal. + * @category Node Types + */ +type NumericOrStringLikeLiteral = ts.NumericLiteral | ts.StringLiteralLike; +/** + * Test if a node is a {@link ConstAssertionExpression}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstAssertionExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ConstAssertionExpression}. + */ +declare function isConstAssertionExpression(node: ts.AssertionExpression): node is ConstAssertionExpression; +/** + * Test if a node is an `IterationStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isIterationStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `IterationStatement`. + */ +declare function isIterationStatement(node: ts.Node): node is ts.IterationStatement; +/** + * Test if a node is a `JSDocNamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceDeclaration`. + */ +declare function isJSDocNamespaceDeclaration(node: ts.Node): node is ts.JSDocNamespaceDeclaration; +/** + * Test if a node is a `JsxTagNamePropertyAccess`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNamePropertyAccess(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNamePropertyAccess`. + */ +declare function isJsxTagNamePropertyAccess(node: ts.Node): node is ts.JsxTagNamePropertyAccess; +/** + * Test if a node is a {@link NamedDeclarationWithName}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedDeclarationWithName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NamedDeclarationWithName}. + */ +declare function isNamedDeclarationWithName(node: ts.Declaration): node is NamedDeclarationWithName; +/** + * Test if a node is a `NamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceDeclaration`. + */ +declare function isNamespaceDeclaration(node: ts.Node): node is ts.NamespaceDeclaration; +/** + * Test if a node is a {@link NumericOrStringLikeLiteral}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumericOrStringLikeLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumericOrStringLikeLiteral}. + */ +declare function isNumericOrStringLikeLiteral(node: ts.Node): node is NumericOrStringLikeLiteral; +/** + * Test if a node is a `PropertyAccessEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyAccessEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyAccessEntityNameExpression`. + */ +declare function isPropertyAccessEntityNameExpression(node: ts.Node): node is ts.PropertyAccessEntityNameExpression; +/** + * Test if a node is a `SuperElementAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperElementAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperElementAccessExpression`. + */ +declare function isSuperElementAccessExpression(node: ts.Node): node is ts.SuperElementAccessExpression; +/** + * Test if a node is a `SuperPropertyAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperPropertyAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperPropertyAccessExpression`. + */ +declare function isSuperPropertyAccessExpression(node: ts.Node): node is ts.SuperPropertyAccessExpression; + +/** + * A node that represents the any keyword. + * @category Node Types + */ +type AnyKeyword = ts.KeywordToken; +/** + * A node that represents the bigint keyword. + * @category Node Types + */ +type BigIntKeyword = ts.KeywordToken; +/** + * A node that represents the boolean keyword. + * @category Node Types + */ +type BooleanKeyword = ts.KeywordToken; +/** + * A node that represents the false keyword. + * @category Node Types + */ +type FalseKeyword = ts.KeywordToken; +/** + * A node that represents the import keyword. + * @category Node Types + */ +type ImportKeyword = ts.KeywordToken; +/** + * A node that represents the never keyword. + * @category Node Types + */ +type NeverKeyword = ts.KeywordToken; +/** + * A node that represents the null keyword. + * @category Node Types + */ +type NullKeyword = ts.KeywordToken; +/** + * A node that represents the number keyword. + * @category Node Types + */ +type NumberKeyword = ts.KeywordToken; +/** + * A node that represents the object keyword. + * @category Node Types + */ +type ObjectKeyword = ts.KeywordToken; +/** + * A node that represents the string keyword. + * @category Node Types + */ +type StringKeyword = ts.KeywordToken; +/** + * A node that represents the super keyword. + * @category Node Types + */ +type SuperKeyword = ts.KeywordToken; +/** + * A node that represents the symbol keyword. + * @category Node Types + */ +type SymbolKeyword = ts.KeywordToken; +/** + * A node that represents the this keyword. + * @category Node Types + */ +type ThisKeyword = ts.KeywordToken; +/** + * A node that represents the true keyword. + * @category Node Types + */ +type TrueKeyword = ts.KeywordToken; +/** + * A node that represents the undefined keyword. + * @category Node Types + */ +type UndefinedKeyword = ts.KeywordToken; +/** + * A node that represents the unknown keyword. + * @category Node Types + */ +type UnknownKeyword = ts.KeywordToken; +/** + * A node that represents the void keyword. + * @category Node Types + */ +type VoidKeyword = ts.KeywordToken; +/** + * Test if a node is an `AbstractKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAbstractKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AbstractKeyword`. + */ +declare function isAbstractKeyword(node: ts.Node): node is ts.AbstractKeyword; +/** + * Test if a node is an `AccessorKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorKeyword`. + */ +declare function isAccessorKeyword(node: ts.Node): node is ts.AccessorKeyword; +/** + * Test if a node is an {@link AnyKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAnyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link AnyKeyword}. + */ +declare function isAnyKeyword(node: ts.Node): node is AnyKeyword; +/** + * Test if a node is an `AssertKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertKeyword`. + */ +declare function isAssertKeyword(node: ts.Node): node is ts.AssertKeyword; +/** + * Test if a node is an `AssertsKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAssertsKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertsKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertsKeyword`. + */ +declare function isAssertsKeyword(node: ts.Node): node is ts.AssertsKeyword; +/** + * Test if a node is an `AsyncKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAsyncKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AsyncKeyword`. + */ +declare function isAsyncKeyword(node: ts.Node): node is ts.AsyncKeyword; +/** + * Test if a node is an `AwaitKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAwaitKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAwaitKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AwaitKeyword`. + */ +declare function isAwaitKeyword(node: ts.Node): node is ts.AwaitKeyword; +/** + * Test if a node is a {@link BigIntKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBigIntKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBigIntKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BigIntKeyword}. + */ +declare function isBigIntKeyword(node: ts.Node): node is BigIntKeyword; +/** + * Test if a node is a {@link BooleanKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBooleanKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BooleanKeyword}. + */ +declare function isBooleanKeyword(node: ts.Node): node is BooleanKeyword; +/** + * Test if a node is a `ColonToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isColonToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isColonToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ColonToken`. + */ +declare function isColonToken(node: ts.Node): node is ts.ColonToken; +/** + * Test if a node is a `ConstKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ConstKeyword`. + */ +declare function isConstKeyword(node: ts.Node): node is ts.ConstKeyword; +/** + * Test if a node is a `DeclareKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclareKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclareKeyword`. + */ +declare function isDeclareKeyword(node: ts.Node): node is ts.DeclareKeyword; +/** + * Test if a node is a `DefaultKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDefaultKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DefaultKeyword`. + */ +declare function isDefaultKeyword(node: ts.Node): node is ts.DefaultKeyword; +/** + * Test if a node is a `DotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DotToken`. + */ +declare function isDotToken(node: ts.Node): node is ts.DotToken; +/** + * Test if a node is an `EndOfFileToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEndOfFileToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EndOfFileToken`. + */ +declare function isEndOfFileToken(node: ts.Node): node is ts.EndOfFileToken; +/** + * Test if a node is an `EqualsGreaterThanToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isEqualsGreaterThanToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsGreaterThanToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsGreaterThanToken`. + */ +declare function isEqualsGreaterThanToken(node: ts.Node): node is ts.EqualsGreaterThanToken; +/** + * Test if a node is an `EqualsToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsToken`. + */ +declare function isEqualsToken(node: ts.Node): node is ts.EqualsToken; +/** + * Test if a node is an `ExclamationToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isExclamationToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExclamationToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExclamationToken`. + */ +declare function isExclamationToken(node: ts.Node): node is ts.ExclamationToken; +/** + * Test if a node is an `ExportKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExportKeyword`. + */ +declare function isExportKeyword(node: ts.Node): node is ts.ExportKeyword; +/** + * Test if a node is a {@link FalseKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link FalseKeyword}. + */ +declare function isFalseKeyword(node: ts.Node): node is FalseKeyword; +/** + * Test if a node is a `FalseLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FalseLiteral`. + */ +declare function isFalseLiteral(node: ts.Node): node is ts.FalseLiteral; +/** + * Test if a node is an `ImportExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ImportExpression`. + */ +declare function isImportExpression(node: ts.Node): node is ts.ImportExpression; +/** + * Test if a node is an {@link ImportKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ImportKeyword}. + */ +declare function isImportKeyword(node: ts.Node): node is ImportKeyword; +/** + * Test if a node is an `InKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isInKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `InKeyword`. + */ +declare function isInKeyword(node: ts.Node): node is ts.InKeyword; +/** + * Test if a node is a `JSDocText`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocText(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocText`. + */ +declare function isJSDocText(node: ts.Node): node is ts.JSDocText; +/** + * Test if a node is a `JsonMinusNumericLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonMinusNumericLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonMinusNumericLiteral`. + */ +declare function isJsonMinusNumericLiteral(node: ts.Node): node is ts.JsonMinusNumericLiteral; +/** + * Test if a node is a {@link NeverKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNeverKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NeverKeyword}. + */ +declare function isNeverKeyword(node: ts.Node): node is NeverKeyword; +/** + * Test if a node is a {@link NullKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NullKeyword}. + */ +declare function isNullKeyword(node: ts.Node): node is NullKeyword; +/** + * Test if a node is a `NullLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NullLiteral`. + */ +declare function isNullLiteral(node: ts.Node): node is ts.NullLiteral; +/** + * Test if a node is a {@link NumberKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumberKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumberKeyword}. + */ +declare function isNumberKeyword(node: ts.Node): node is NumberKeyword; +/** + * Test if a node is an {@link ObjectKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ObjectKeyword}. + */ +declare function isObjectKeyword(node: ts.Node): node is ObjectKeyword; +/** + * Test if a node is an `OutKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOutKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OutKeyword`. + */ +declare function isOutKeyword(node: ts.Node): node is ts.OutKeyword; +/** + * Test if a node is an `OverrideKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOverrideKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OverrideKeyword`. + */ +declare function isOverrideKeyword(node: ts.Node): node is ts.OverrideKeyword; +/** + * Test if a node is a `PrivateKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPrivateKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PrivateKeyword`. + */ +declare function isPrivateKeyword(node: ts.Node): node is ts.PrivateKeyword; +/** + * Test if a node is a `ProtectedKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isProtectedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ProtectedKeyword`. + */ +declare function isProtectedKeyword(node: ts.Node): node is ts.ProtectedKeyword; +/** + * Test if a node is a `PublicKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPublicKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PublicKeyword`. + */ +declare function isPublicKeyword(node: ts.Node): node is ts.PublicKeyword; +/** + * Test if a node is a `QuestionDotToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionDotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionDotToken`. + */ +declare function isQuestionDotToken(node: ts.Node): node is ts.QuestionDotToken; +/** + * Test if a node is a `QuestionToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionToken`. + */ +declare function isQuestionToken(node: ts.Node): node is ts.QuestionToken; +/** + * Test if a node is a `ReadonlyKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isReadonlyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ReadonlyKeyword`. + */ +declare function isReadonlyKeyword(node: ts.Node): node is ts.ReadonlyKeyword; +/** + * Test if a node is a `StaticKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStaticKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `StaticKeyword`. + */ +declare function isStaticKeyword(node: ts.Node): node is ts.StaticKeyword; +/** + * Test if a node is a {@link StringKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStringKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link StringKeyword}. + */ +declare function isStringKeyword(node: ts.Node): node is StringKeyword; +/** + * Test if a node is a `SuperExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperExpression`. + */ +declare function isSuperExpression(node: ts.Node): node is ts.SuperExpression; +/** + * Test if a node is a {@link SuperKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SuperKeyword}. + */ +declare function isSuperKeyword(node: ts.Node): node is SuperKeyword; +/** + * Test if a node is a {@link SymbolKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSymbolKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SymbolKeyword}. + */ +declare function isSymbolKeyword(node: ts.Node): node is SymbolKeyword; +/** + * Test if a node is a `SyntaxList`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSyntaxList(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SyntaxList`. + */ +declare function isSyntaxList(node: ts.Node): node is ts.SyntaxList; +/** + * Test if a node is a `ThisExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ThisExpression`. + */ +declare function isThisExpression(node: ts.Node): node is ts.ThisExpression; +/** + * Test if a node is a {@link ThisKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ThisKeyword}. + */ +declare function isThisKeyword(node: ts.Node): node is ThisKeyword; +/** + * Test if a node is a {@link TrueKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link TrueKeyword}. + */ +declare function isTrueKeyword(node: ts.Node): node is TrueKeyword; +/** + * Test if a node is a `TrueLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TrueLiteral`. + */ +declare function isTrueLiteral(node: ts.Node): node is ts.TrueLiteral; +/** + * Test if a node is an {@link UndefinedKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUndefinedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UndefinedKeyword}. + */ +declare function isUndefinedKeyword(node: ts.Node): node is UndefinedKeyword; +/** + * Test if a node is an {@link UnknownKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnknownKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UnknownKeyword}. + */ +declare function isUnknownKeyword(node: ts.Node): node is UnknownKeyword; +/** + * Test if a node is a {@link VoidKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVoidKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link VoidKeyword}. + */ +declare function isVoidKeyword(node: ts.Node): node is VoidKeyword; + +/** + * Test if a node is a `HasDecorators`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasDecorators(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasDecorators`. + */ +declare function hasDecorators(node: ts.Node): node is ts.HasDecorators; +/** + * Test if a node is a `HasExpressionInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasExpressionInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasExpressionInitializer`. + */ +declare function hasExpressionInitializer(node: ts.Node): node is ts.HasExpressionInitializer; +/** + * Test if a node is a `HasInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasInitializer`. + */ +declare function hasInitializer(node: ts.Node): node is ts.HasInitializer; +/** + * Test if a node is a `HasJSDoc`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasJSDoc(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasJSDoc`. + */ +declare function hasJSDoc(node: ts.Node): node is ts.HasJSDoc; +/** + * Test if a node is a `HasModifiers`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasModifiers(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasModifiers`. + */ +declare function hasModifiers(node: ts.Node): node is ts.HasModifiers; +/** + * Test if a node is a `HasType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasType`. + */ +declare function hasType(node: ts.Node): node is ts.HasType; +/** + * Test if a node is a `HasTypeArguments`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasTypeArguments(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasTypeArguments`. + */ +declare function hasTypeArguments(node: ts.Node): node is ts.HasTypeArguments; +/** + * Test if a node is an `AccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessExpression`. + */ +declare function isAccessExpression(node: ts.Node): node is ts.AccessExpression; +/** + * Test if a node is an `AccessibilityModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessibilityModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessibilityModifier`. + */ +declare function isAccessibilityModifier(node: ts.Node): node is ts.AccessibilityModifier; +/** + * Test if a node is an `AccessorDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isAccessor`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorDeclaration`. + */ +declare function isAccessorDeclaration(node: ts.Node): node is ts.AccessorDeclaration; +/** + * Test if a node is an `ArrayBindingElement`. + * @deprecated With TypeScript v5, in favor of typescript's `isArrayBindingElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingElement`. + */ +declare function isArrayBindingElement(node: ts.Node): node is ts.ArrayBindingElement; +/** + * Test if a node is an `ArrayBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingOrAssignmentPattern`. + */ +declare function isArrayBindingOrAssignmentPattern(node: ts.Node): node is ts.ArrayBindingOrAssignmentPattern; +/** + * Test if a node is an `AssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssignmentPattern`. + */ +declare function isAssignmentPattern(node: ts.Node): node is ts.AssignmentPattern; +/** + * Test if a node is a `BindingOrAssignmentElementRestIndicator`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementRestIndicator(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementRestIndicator`. + */ +declare function isBindingOrAssignmentElementRestIndicator(node: ts.Node): node is ts.BindingOrAssignmentElementRestIndicator; +/** + * Test if a node is a `BindingOrAssignmentElementTarget`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementTarget(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementTarget`. + */ +declare function isBindingOrAssignmentElementTarget(node: ts.Node): node is ts.BindingOrAssignmentElementTarget; +/** + * Test if a node is a `BindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentPattern`. + */ +declare function isBindingOrAssignmentPattern(node: ts.Node): node is ts.BindingOrAssignmentPattern; +/** + * Test if a node is a `BindingPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingPattern`. + */ +declare function isBindingPattern(node: ts.Node): node is ts.BindingPattern; +/** + * Test if a node is a `BlockLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBlockLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BlockLike`. + */ +declare function isBlockLike(node: ts.Node): node is ts.BlockLike; +/** + * Test if a node is a `BooleanLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BooleanLiteral`. + */ +declare function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral; +/** + * Test if a node is a `ClassLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isClassLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassLikeDeclaration`. + */ +declare function isClassLikeDeclaration(node: ts.Node): node is ts.ClassLikeDeclaration; +/** + * Test if a node is a `ClassMemberModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassMemberModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassMemberModifier`. + */ +declare function isClassMemberModifier(node: ts.Node): node is ts.ClassMemberModifier; +/** + * Test if a node is a `DeclarationName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationName`. + */ +declare function isDeclarationName(node: ts.Node): node is ts.DeclarationName; +/** + * Test if a node is a `DeclarationWithTypeParameterChildren`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameterChildren(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameterChildren`. + */ +declare function isDeclarationWithTypeParameterChildren(node: ts.Node): node is ts.DeclarationWithTypeParameterChildren; +/** + * Test if a node is a `DeclarationWithTypeParameters`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameters(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameters`. + */ +declare function isDeclarationWithTypeParameters(node: ts.Node): node is ts.DeclarationWithTypeParameters; +/** + * Test if a node is a `DestructuringPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDestructuringPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DestructuringPattern`. + */ +declare function isDestructuringPattern(node: ts.Node): node is ts.DestructuringPattern; +/** + * Test if a node is an `EntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameExpression`. + */ +declare function isEntityNameExpression(node: ts.Node): node is ts.EntityNameExpression; +/** + * Test if a node is an `EntityNameOrEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameOrEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameOrEntityNameExpression`. + */ +declare function isEntityNameOrEntityNameExpression(node: ts.Node): node is ts.EntityNameOrEntityNameExpression; +/** + * Test if a node is a `ForInOrOfStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isForInOrOfStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ForInOrOfStatement`. + */ +declare function isForInOrOfStatement(node: ts.Node): node is ts.ForInOrOfStatement; +/** + * Test if a node is a `FunctionLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isFunctionLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FunctionLikeDeclaration`. + */ +declare function isFunctionLikeDeclaration(node: ts.Node): node is ts.FunctionLikeDeclaration; +/** + * Test if a node is a `JSDocComment`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocComment(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocComment`. + */ +declare function isJSDocComment(node: ts.Node): node is ts.JSDocComment; +/** + * Test if a node is a `JSDocNamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceBody`. + */ +declare function isJSDocNamespaceBody(node: ts.Node): node is ts.JSDocNamespaceBody; +/** + * Test if a node is a `JSDocTypeReferencingNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocTypeReferencingNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocTypeReferencingNode`. + */ +declare function isJSDocTypeReferencingNode(node: ts.Node): node is ts.JSDocTypeReferencingNode; +/** + * Test if a node is a `JsonObjectExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonObjectExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonObjectExpression`. + */ +declare function isJsonObjectExpression(node: ts.Node): node is ts.JsonObjectExpression; +/** + * Test if a node is a `JsxAttributeLike`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxAttributeLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeLike`. + */ +declare function isJsxAttributeLike(node: ts.Node): node is ts.JsxAttributeLike; +/** + * Test if a node is a `JsxAttributeValue`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeValue(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeValue`. + */ +declare function isJsxAttributeValue(node: ts.Node): node is ts.JsxAttributeValue; +/** + * Test if a node is a `JsxChild`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxChild`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxChild(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxChild`. + */ +declare function isJsxChild(node: ts.Node): node is ts.JsxChild; +/** + * Test if a node is a `JsxTagNameExpression`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxTagNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNameExpression`. + */ +declare function isJsxTagNameExpression(node: ts.Node): node is ts.JsxTagNameExpression; +/** + * Test if a node is a `LiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `LiteralToken`. + */ +declare function isLiteralToken(node: ts.Node): node is ts.LiteralToken; +/** + * Test if a node is a `ModuleBody`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleBody`. + */ +declare function isModuleBody(node: ts.Node): node is ts.ModuleBody; +/** + * Test if a node is a `ModuleName`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleName`. + */ +declare function isModuleName(node: ts.Node): node is ts.ModuleName; +/** + * Test if a node is a `ModuleReference`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleReference`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleReference(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleReference`. + */ +declare function isModuleReference(node: ts.Node): node is ts.ModuleReference; +/** + * Test if a node is a `NamedImportBindings`. + * @deprecated With TypeScript v5, in favor of typescript's `isNamedImportBindings`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportBindings(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportBindings`. + */ +declare function isNamedImportBindings(node: ts.Node): node is ts.NamedImportBindings; +/** + * Test if a node is a `NamedImportsOrExports`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportsOrExports(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportsOrExports`. + */ +declare function isNamedImportsOrExports(node: ts.Node): node is ts.NamedImportsOrExports; +/** + * Test if a node is a `NamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceBody`. + */ +declare function isNamespaceBody(node: ts.Node): node is ts.NamespaceBody; +/** + * Test if a node is an `ObjectBindingOrAssignmentElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentElement`. + */ +declare function isObjectBindingOrAssignmentElement(node: ts.Node): node is ts.ObjectBindingOrAssignmentElement; +/** + * Test if a node is an `ObjectBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentPattern`. + */ +declare function isObjectBindingOrAssignmentPattern(node: ts.Node): node is ts.ObjectBindingOrAssignmentPattern; +/** + * Test if a node is an `ObjectTypeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectTypeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectTypeDeclaration`. + */ +declare function isObjectTypeDeclaration(node: ts.Node): node is ts.ObjectTypeDeclaration; +/** + * Test if a node is a `ParameterPropertyModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isParameterPropertyModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ParameterPropertyModifier`. + */ +declare function isParameterPropertyModifier(node: ts.Node): node is ts.ParameterPropertyModifier; +/** + * Test if a node is a `PropertyNameLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyNameLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyNameLiteral`. + */ +declare function isPropertyNameLiteral(node: ts.Node): node is ts.PropertyNameLiteral; +/** + * Test if a node is a `PseudoLiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPseudoLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PseudoLiteralToken`. + */ +declare function isPseudoLiteralToken(node: ts.Node): node is ts.PseudoLiteralToken; +/** + * Test if a node is a `SignatureDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSignatureDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SignatureDeclaration`. + */ +declare function isSignatureDeclaration(node: ts.Node): node is ts.SignatureDeclaration; +/** + * Test if a node is a `SuperProperty`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperProperty(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperProperty`. + */ +declare function isSuperProperty(node: ts.Node): node is ts.SuperProperty; +/** + * Test if a node is a `TypeOnlyCompatibleAliasDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeOnlyCompatibleAliasDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeOnlyCompatibleAliasDeclaration`. + */ +declare function isTypeOnlyCompatibleAliasDeclaration(node: ts.Node): node is ts.TypeOnlyCompatibleAliasDeclaration; +/** + * Test if a node is a `TypeReferenceType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeReferenceType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeReferenceType`. + */ +declare function isTypeReferenceType(node: ts.Node): node is ts.TypeReferenceType; +/** + * Test if a node is an `UnionOrIntersectionTypeNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnionOrIntersectionTypeNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `UnionOrIntersectionTypeNode`. + */ +declare function isUnionOrIntersectionTypeNode(node: ts.Node): node is ts.UnionOrIntersectionTypeNode; +/** + * Test if a node is a `VariableLikeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVariableLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `VariableLikeDeclaration`. + */ +declare function isVariableLikeDeclaration(node: ts.Node): node is ts.VariableLikeDeclaration; + +/** + * Is the node a scope boundary, specifically due to it being a function. + * @category Scope Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionScopeBoundary(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isFunctionScopeBoundary(node: ts.Node): boolean; + +/** + * Test of the kind given is for assignment. + * @category Syntax Utilities + * @example + * ```ts + * declare const kind: ts.SyntaxKind; + * + * isAssignmentKind(kind); + * ``` + */ +declare function isAssignmentKind(kind: ts.SyntaxKind): boolean; +/** + * Test if a string is numeric. + * @category Syntax Utilities + * @example + * ```ts + * isNumericPropertyName("abc"); // false + * isNumericPropertyName("123"); // true + * ``` + */ +declare function isNumericPropertyName(name: string | ts.__String): boolean; +/** + * Determines whether the given text can be used to access a property with a `PropertyAccessExpression` while preserving the property's name. + * @category Syntax Utilities + * @example + * ```ts + * isValidPropertyAccess("abc"); // true + * isValidPropertyAccess("123"); // false + * ``` + */ +declare function isValidPropertyAccess(text: string, languageVersion?: ts.ScriptTarget): boolean; + +/** + * Callback type used for {@link forEachToken}. + * @category Callbacks + * @example + * ```ts + * let onToken: ForEachTokenCallback = (token) => { + * console.log(`Found token at position: ${token.pos}.`); + * }; + * ``` + */ +type ForEachTokenCallback = (token: ts.Node) => void; +/** + * Iterates over all tokens of `node` + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachToken(node, (token) => { + * console.log("Found token:", token.getText()); + * }); + * ``` + * @param node The node whose tokens should be visited + * @param callback Is called for every token contained in `node` + */ +declare function forEachToken(node: ts.Node, callback: ForEachTokenCallback, sourceFile?: ts.SourceFile): void; + +/** + * Get the `CallSignatures` of the given type. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * + * getCallSignaturesOfType(type); + * ``` + */ +declare function getCallSignaturesOfType(type: ts.Type): readonly ts.Signature[]; +/** + * Get the property with the given name on the given type (if it exists). + * @category Types - Getters + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * + * getPropertyOfType(type, property.getEscapedName()); + * ``` + */ +declare function getPropertyOfType(type: ts.Type, name: ts.__String): ts.Symbol | undefined; +/** + * Retrieves a type symbol corresponding to a well-known string name. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * getWellKnownSymbolPropertyOfType(type, "asyncIterator", typeChecker); + * ``` + */ +declare function getWellKnownSymbolPropertyOfType(type: ts.Type, wellKnownSymbolName: string, typeChecker: ts.TypeChecker): ts.Symbol | undefined; + +/** + * A "any" intrinsic type. + * @category Type Types + */ +interface IntrinsicAnyType extends IntrinsicType { + intrinsicName: "any"; +} +/** + * A "bigint" intrinsic type. + * @category Type Types + */ +interface IntrinsicBigIntType extends IntrinsicType { + intrinsicName: "bigint"; +} +/** + * A "boolean" intrinsic type. + * @category Type Types + */ +interface IntrinsicBooleanType extends IntrinsicType { + intrinsicName: "boolean"; +} +/** + * An "error" intrinsic type. + * + * This refers to a type generated when TypeScript encounters an error while + * trying to resolve the type. + * @category Type Types + */ +interface IntrinsicErrorType extends IntrinsicType { + intrinsicName: "error"; +} +/** + * A "symbol" intrinsic type. + * @category Type Types + */ +interface IntrinsicESSymbolType extends IntrinsicType { + intrinsicName: "symbol"; +} +/** + * An "intrinsic" (built-in to TypeScript) type. + * @category Type Types + */ +interface IntrinsicType extends ts.Type { + intrinsicName: string; + objectFlags: ts.ObjectFlags; +} +/** + * Determines whether the given type is the "any" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicAnyType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicAnyType(type: ts.Type): type is IntrinsicAnyType; +/** + * Determines whether the given type is the "bigint" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBigIntType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBigIntType(type: ts.Type): type is IntrinsicBigIntType; +/** + * Determines whether the given type is the "boolean" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBooleanType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBooleanType(type: ts.Type): type is IntrinsicBooleanType; +/** + * Determines whether the given type is the "error" intrinsic type. + * + * The intrinsic error type occurs when TypeScript encounters an error while + * trying to resolve the type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicErrorType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicErrorType(type: ts.Type): type is IntrinsicErrorType; +/** + * Determines whether the given type is the "symbol" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicESSymbolType(type: ts.Type): type is IntrinsicESSymbolType; +/** + * A "never" intrinsic type. + * @category Type Types + */ +interface IntrinsicNeverType extends IntrinsicType { + intrinsicName: "never"; +} +/** + * A non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Type Types + */ +interface IntrinsicNonPrimitiveType extends IntrinsicType { + intrinsicName: ""; +} +/** + * A "null" intrinsic type. + * @category Type Types + */ +interface IntrinsicNullType extends IntrinsicType { + intrinsicName: "null"; +} +/** + * A "number" intrinsic type. + * @category Type Types + */ +interface IntrinsicNumberType extends IntrinsicType { + intrinsicName: "number"; +} +/** + * A "string" intrinsic type. + * @category Type Types + */ +interface IntrinsicStringType extends IntrinsicType { + intrinsicName: "string"; +} +/** + * The built-in `undefined` type. + * @category Type Types + */ +interface IntrinsicUndefinedType extends IntrinsicType { + intrinsicName: "undefined"; +} +/** + * The built-in `unknown` type. + * @category Type Types + */ +interface IntrinsicUnknownType extends IntrinsicType { + intrinsicName: "unknown"; +} +/** + * A "void" intrinsic type. + * @category Type Types + */ +interface IntrinsicVoidType extends IntrinsicType { + intrinsicName: "void"; +} +/** + * Determines whether the given type is the "never" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNeverType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNeverType(type: ts.Type): type is IntrinsicNeverType; +/** + * Determines whether the given type is a non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNonPrimitiveType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNonPrimitiveType(type: ts.Type): type is IntrinsicNonPrimitiveType; +/** + * Determines whether the given type is the "null" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNullType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNullType(type: ts.Type): type is IntrinsicNullType; +/** + * Determines whether the given type is the "number" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNumberType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNumberType(type: ts.Type): type is IntrinsicNumberType; +/** + * Determines whether the given type is the "string" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicStringType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicStringType(type: ts.Type): type is IntrinsicStringType; +/** + * Test if a type is an {@link IntrinsicType}. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicType(type: ts.Type): type is IntrinsicType; +/** + * Determines whether the given type is the "undefined" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUndefinedType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUndefinedType(type: ts.Type): type is IntrinsicUndefinedType; +/** + * Determines whether the given type is the "unknown" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUnknownType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUnknownType(type: ts.Type): type is IntrinsicUnknownType; +/** + * Determines whether the given type is the "void" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicVoidType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicVoidType(type: ts.Type): type is IntrinsicVoidType; + +/** + * A type that is both an {@link IntrinsicType} and a `FreshableType` + * @category Type Types + */ +interface FreshableIntrinsicType extends ts.FreshableType, IntrinsicType { +} +/** + * Test if a type is a `FreshableIntrinsicType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableIntrinsicType(type)) { + * // ... + * } + */ +declare function isFreshableIntrinsicType(type: ts.Type): type is FreshableIntrinsicType; +/** + * Test if a type is a `TupleTypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleTypeReference(type)) { + * // ... + * } + */ +declare function isTupleTypeReference(type: ts.Type): type is ts.TupleTypeReference; + +/** + * A boolean literal. + * i.e. Either a "true" or "false" literal. + * @category Type Types + */ +interface BooleanLiteralType extends FreshableIntrinsicType { + intrinsicName: "false" | "true"; +} +/** + * A "false" literal. + * @category Type Types + */ +interface FalseLiteralType extends BooleanLiteralType { + intrinsicName: "false"; +} +/** + * A "true" literal. + * @category Type Types + */ +interface TrueLiteralType extends BooleanLiteralType { + intrinsicName: "true"; +} +/** + * `LiteralType` from typescript except that it allows for it to work on arbitrary types. + * @deprecated Use {@link FreshableIntrinsicType} instead. + * @category Type Types + */ +interface UnknownLiteralType extends FreshableIntrinsicType { + value?: unknown; +} +/** + * Test if a type is a `BigIntLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBigIntLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBigIntLiteralType(type: ts.Type): type is ts.BigIntLiteralType; +/** + * Determines whether the given type is a boolean literal type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBooleanLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBooleanLiteralType(type: ts.Type): type is BooleanLiteralType; +/** + * Determines whether the given type is a boolean literal type for "false". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalseLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isFalseLiteralType(type: ts.Type): type is FalseLiteralType; +/** + * Test if a type is a `LiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isLiteralType(type: ts.Type): type is ts.LiteralType; +/** + * Test if a type is a `NumberLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isNumberLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isNumberLiteralType(type: ts.Type): type is ts.NumberLiteralType; +/** + * Test if a type is a `StringLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isStringLiteralType(type: ts.Type): type is ts.StringLiteralType; +/** + * Test if a type is a `TemplateLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTemplateLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTemplateLiteralType(type: ts.Type): type is ts.TemplateLiteralType; +/** + * Determines whether the given type is a boolean literal type for "true". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTrueLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTrueLiteralType(type: ts.Type): type is TrueLiteralType; + +/** + * Test if a type is a `EvolvingArrayType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEvolvingArrayType(type)) { + * // ... + * } + * ``` + */ +declare function isEvolvingArrayType(type: ts.Type): type is ts.EvolvingArrayType; +/** + * Test if a type is a `TupleType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleType(type)) { + * // ... + * } + * ``` + */ +declare function isTupleType(type: ts.Type): type is ts.TupleType; +/** + * Test if a type is a `TypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeReference(type)) { + * // ... + * } + * ``` + */ +declare function isTypeReference(type: ts.Type): type is ts.TypeReference; + +/** + * Test if a type is a `ConditionalType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isConditionalType(type)) { + * // ... + * } + * ``` + */ +declare function isConditionalType(type: ts.Type): type is ts.ConditionalType; +/** + * Test if a type is a `EnumType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEnumType(type)) { + * // ... + * } + * ``` + */ +declare function isEnumType(type: ts.Type): type is ts.EnumType; +/** + * Test if a type is a `FreshableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableType(type)) { + * // ... + * } + * ``` + */ +declare function isFreshableType(type: ts.Type): type is ts.FreshableType; +/** + * Test if a type is a `IndexedAccessType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexedAccessType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexedAccessType(type: ts.Type): type is ts.IndexedAccessType; +/** + * Test if a type is a `IndexType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexType(type: ts.Type): type is ts.IndexType; +/** + * Test if a type is a `InstantiableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isInstantiableType(type)) { + * // ... + * } + * ``` + */ +declare function isInstantiableType(type: ts.Type): type is ts.InstantiableType; +/** + * Test if a type is a `IntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isIntersectionType(type: ts.Type): type is ts.IntersectionType; +/** + * Test if a type is a `ObjectType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isObjectType(type)) { + * // ... + * } + * ``` + */ +declare function isObjectType(type: ts.Type): type is ts.ObjectType; +/** + * Test if a type is a `StringMappingType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringMappingType(type)) { + * // ... + * } + * ``` + */ +declare function isStringMappingType(type: ts.Type): type is ts.StringMappingType; +/** + * Test if a type is a `SubstitutionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isSubstitutionType(type)) { + * // ... + * } + * ``` + */ +declare function isSubstitutionType(type: ts.Type): type is ts.SubstitutionType; +/** + * Test if a type is a `TypeParameter`. + * + * Note: It is intentional that this is not a type guard. + * @see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeParameter(type)) { + * // ... + * } + * ``` + */ +declare function isTypeParameter(type: ts.Type): boolean; +/** + * Test if a type is a `TypeVariable`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeVariable(type)) { + * // ... + * } + * ``` + */ +declare function isTypeVariable(type: ts.Type): type is ts.TypeVariable; +/** + * Test if a type is a `UnionOrIntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionOrIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionOrIntersectionType(type: ts.Type): type is ts.UnionOrIntersectionType; +/** + * Test if a type is a `UnionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionType(type: ts.Type): type is ts.UnionType; +/** + * Test if a type is a `UniqueESSymbolType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUniqueESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isUniqueESSymbolType(type: ts.Type): type is ts.UniqueESSymbolType; + +/** + * Get the intersection type parts of the given type. + * + * If the given type is not a intersection type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function intersectionTypeParts(type: ts.Type): ts.Type[]; +/** + * Determines whether a type is definitely falsy. This function doesn't unwrap union types. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalsyType(type)) { + * // ... + * } + * ``` + */ +declare function isFalsyType(type: ts.Type): boolean; +/** + * Determines whether writing to a certain property of a given type is allowed. + * @category Types - Utilities + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { + * // ... + * } + * ``` + */ +declare function isPropertyReadonlyInType(type: ts.Type, name: ts.__String, typeChecker: ts.TypeChecker): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const node: ts.Node; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, node, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Node, type: ts.Type): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, expression)) { + * // ... + * } + * ``` + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * declare const type: ts.Type; + * + * if (isThenableType(typeChecker, expression, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Expression, type?: ts.Type): boolean; +/** + * Test if the given symbol has a readonly declaration. + * @category Symbols - Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * declare const typeChecker: ts.TypeChecker; + * + * if (symbolHasReadonlyDeclaration(symbol, typeChecker)) { + * // ... + * } + * ``` + */ +declare function symbolHasReadonlyDeclaration(symbol: ts.Symbol, typeChecker: ts.TypeChecker): boolean; +/** + * TS's `type.isLiteral()` is bugged before TS v5.0 and won't return `true` for + * bigint literals. Use this function instead if you need to check for bigint + * literals in TS versions before v5.0. Otherwise, you should just use + * `type.isLiteral()`. + * @see https://github.com/microsoft/TypeScript/pull/50929 + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (typeIsLiteral(type)) { + * // ... + * } + * ``` + */ +declare function typeIsLiteral(type: ts.Type): type is ts.LiteralType; +/** + * Get the intersection or union type parts of the given type. + * + * Note that this is a shallow collection: it only returns `type.types` or `[type]`. + * + * If the given type is not an intersection or union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function typeParts(type: ts.Type): ts.Type[]; +/** + * Get the union type parts of the given type. + * + * If the given type is not a union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of unionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function unionTypeParts(type: ts.Type): ts.Type[]; + +/** + * Which "domain"(s) (most commonly, type or value space) a declaration is within. + */ +declare enum DeclarationDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + Import = 8 +} + +/** + * Which "domain"(s) (most commonly, type or value space) a usage is within. + */ +declare enum UsageDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + TypeQuery = 8, + ValueOrNamespace = 5 +} + +/** + * An instance of an item (type or value) being used. + */ +interface Usage { + /** + * Which space(s) the usage is within. + */ + domain: UsageDomain; + location: ts.Identifier; +} +/** + * How an item (type or value) was declared and/or referenced. + */ +interface UsageInfo { + /** + * Locations where the item was declared. + */ + declarations: ts.Identifier[]; + /** + * Which space(s) the item is within. + */ + domain: DeclarationDomain; + /** + * Whether the item was exported from its module or namespace scope. + */ + exported: boolean; + /** + * Whether the item's declaration was in the global scope. + */ + inGlobalScope: boolean; + /** + * Each reference to the item in the file. + */ + uses: Usage[]; +} + +/** + * Creates a mapping of each declared type and value to its type information. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const sourceFile: ts.SourceFile; + * + * const usage = collectVariableUsage(sourceFile); + * + * for (const [identifier, information] of usage) { + * console.log(`${identifier.getText()} is used ${information.uses.length} time(s).`); + * } + * ``` + */ +declare function collectVariableUsage(sourceFile: ts.SourceFile): Map; + +export { AccessKind, type AnyKeyword, type BigIntKeyword, type BooleanCompilerOptions, type BooleanKeyword, type BooleanLiteralType, type ConstAssertionExpression, type ConstAssertionIdentifier, DeclarationDomain, type FalseKeyword, type FalseLiteralType, type ForEachCommentCallback, type ForEachTokenCallback, type FreshableIntrinsicType, type ImportKeyword, type IntrinsicAnyType, type IntrinsicBigIntType, type IntrinsicBooleanType, type IntrinsicESSymbolType, type IntrinsicErrorType, type IntrinsicNeverType, type IntrinsicNonPrimitiveType, type IntrinsicNullType, type IntrinsicNumberType, type IntrinsicStringType, type IntrinsicType, type IntrinsicUndefinedType, type IntrinsicUnknownType, type IntrinsicVoidType, type NamedDeclarationWithName, type NeverKeyword, type NullKeyword, type NumberKeyword, type NumericOrStringLikeLiteral, type ObjectKeyword, type StrictCompilerOption, type StringKeyword, type SuperKeyword, type SymbolKeyword, type ThisKeyword, type TrueKeyword, type TrueLiteralType, type UndefinedKeyword, type UnknownKeyword, type UnknownLiteralType, UsageDomain, type UsageInfo as VariableInfo, type Usage as VariableUse, type VoidKeyword, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.ts new file mode 100644 index 0000000000..217906ef6a --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.ts @@ -0,0 +1,3003 @@ +import ts from 'typescript'; + +/** + * Callback type used for {@link forEachComment}. + * @category Callbacks + * @param fullText Full parsed text of the comment. + * @param comment Text range of the comment in its file. + * @example + * ```ts + * let onComment: ForEachCommentCallback = (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }; + * ``` + */ +type ForEachCommentCallback = (fullText: string, comment: ts.CommentRange) => void; +/** + * Iterates over all comments owned by `node` or its children. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachComment(node, (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }); + * ``` + */ +declare function forEachComment(node: ts.Node, callback: ForEachCommentCallback, sourceFile?: ts.SourceFile): void; + +/** + * An option that can be tested with {@link isCompilerOptionEnabled}. + * @category Compiler Options + */ +type BooleanCompilerOptions = keyof { + [K in keyof ts.CompilerOptions as NonNullable extends boolean ? K : never]: unknown; +}; +/** + * An option that can be tested with {@link isStrictCompilerOptionEnabled}. + * @category Compiler Options + */ +type StrictCompilerOption = "alwaysStrict" | "noImplicitAny" | "noImplicitThis" | "strictBindCallApply" | "strictFunctionTypes" | "strictNullChecks" | "strictPropertyInitialization"; +/** + * Checks if a given compiler option is enabled. + * It handles dependencies of options, e.g. `declaration` is implicitly enabled by `composite` or `strictNullChecks` is enabled by `strict`. + * However, it does not check dependencies that are already checked and reported as errors, e.g. `checkJs` without `allowJs`. + * This function only handles boolean flags. + * @category Compiler Options + * @example + * ```ts + * const options = { + * allowJs: true, + * }; + * + * isCompilerOptionEnabled(options, "allowJs"); // true + * isCompilerOptionEnabled(options, "allowSyntheticDefaultImports"); // false + * ``` + */ +declare function isCompilerOptionEnabled(options: ts.CompilerOptions, option: BooleanCompilerOptions): boolean; +/** + * Checks if a given compiler option is enabled, accounting for whether all flags + * (except `strictPropertyInitialization`) have been enabled by `strict: true`. + * @category Compiler Options + * @example + * ```ts + * const optionsLenient = { + * noImplicitAny: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitThis"); // false + * ``` + * @example + * ```ts + * const optionsStrict = { + * noImplicitThis: false, + * strict: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitThis"); // false + * ``` + */ +declare function isStrictCompilerOptionEnabled(options: ts.CompilerOptions, option: StrictCompilerOption): boolean; + +/** + * Test if the given node has the given `ModifierFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModifierFlagSet(node, ts.ModifierFlags.Abstract)) { + * // ... + * } + * ``` + */ +declare function isModifierFlagSet(node: ts.Declaration, flag: ts.ModifierFlags): boolean; +/** + * Test if the given node has the given `NodeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { + * // ... + * } + * ``` + */ +declare const isNodeFlagSet: (node: ts.Node, flag: ts.NodeFlags) => boolean; +/** + * Test if the given node has the given `ObjectFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectFlagSet(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isObjectFlagSet(objectType: ts.ObjectType, flag: ts.ObjectFlags): boolean; +/** + * Test if the given node has the given `SymbolFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * + * if (isSymbolFlagSet(symbol, ts.SymbolFlags.Accessor)) { + * // ... + * } + * ``` + */ +declare const isSymbolFlagSet: (symbol: ts.Symbol, flag: ts.SymbolFlags) => boolean; +/** + * Test if the given symbol's links has the given `CheckFlags` set. + * @internal + */ +declare function isTransientSymbolLinksFlagSet(links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean; +/** + * Test if the given node has the given `TypeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeFlagSet(type, ts.TypeFlags.Any)) { + * // ... + * } + * ``` + */ +declare const isTypeFlagSet: (type: ts.Type, flag: ts.TypeFlags) => boolean; + +/** + * Test if the given iterable includes a modifier of any of the given kinds. + * @category Modifier Utilities + * @example + * ```ts + * declare const modifiers: ts.Modifier[]; + * + * includesModifier(modifiers, ts.SyntaxKind.AbstractKeyword); + * ``` + */ +declare function includesModifier(modifiers: Iterable | undefined, ...kinds: ts.ModifierSyntaxKind[]): boolean; + +/** + * What operations(s), if any, an expression applies. + */ +declare enum AccessKind { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + ReadWrite = 3 +} +/** + * Determines which operation(s), if any, an expression applies. + * @example + * ```ts + * declare const node: ts.Expression; + * + * if (getAccessKind(node).Write & AccessKind.Write) !== 0) { + * // this is a reassignment (write) + * } + * ``` + */ +declare function getAccessKind(node: ts.Expression): AccessKind; + +/** + * An `AssertionExpression` that is declared as const. + * @category Node Types + */ +type ConstAssertionExpression = ts.AssertionExpression & { + type: ts.TypeReferenceNode; + typeName: ConstAssertionIdentifier; +}; +/** + * An `Identifier` with an `escapedText` value of `"const"`. + * @category Node Types + */ +type ConstAssertionIdentifier = ts.Identifier & { + escapedText: "const" & ts.__String; +}; +/** + * a `NamedDeclaration` that definitely has a name. + * @category Node Types + */ +interface NamedDeclarationWithName extends ts.NamedDeclaration { + name: ts.DeclarationName; +} +/** + * A number or string-like literal. + * @category Node Types + */ +type NumericOrStringLikeLiteral = ts.NumericLiteral | ts.StringLiteralLike; +/** + * Test if a node is a {@link ConstAssertionExpression}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstAssertionExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ConstAssertionExpression}. + */ +declare function isConstAssertionExpression(node: ts.AssertionExpression): node is ConstAssertionExpression; +/** + * Test if a node is an `IterationStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isIterationStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `IterationStatement`. + */ +declare function isIterationStatement(node: ts.Node): node is ts.IterationStatement; +/** + * Test if a node is a `JSDocNamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceDeclaration`. + */ +declare function isJSDocNamespaceDeclaration(node: ts.Node): node is ts.JSDocNamespaceDeclaration; +/** + * Test if a node is a `JsxTagNamePropertyAccess`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNamePropertyAccess(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNamePropertyAccess`. + */ +declare function isJsxTagNamePropertyAccess(node: ts.Node): node is ts.JsxTagNamePropertyAccess; +/** + * Test if a node is a {@link NamedDeclarationWithName}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedDeclarationWithName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NamedDeclarationWithName}. + */ +declare function isNamedDeclarationWithName(node: ts.Declaration): node is NamedDeclarationWithName; +/** + * Test if a node is a `NamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceDeclaration`. + */ +declare function isNamespaceDeclaration(node: ts.Node): node is ts.NamespaceDeclaration; +/** + * Test if a node is a {@link NumericOrStringLikeLiteral}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumericOrStringLikeLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumericOrStringLikeLiteral}. + */ +declare function isNumericOrStringLikeLiteral(node: ts.Node): node is NumericOrStringLikeLiteral; +/** + * Test if a node is a `PropertyAccessEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyAccessEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyAccessEntityNameExpression`. + */ +declare function isPropertyAccessEntityNameExpression(node: ts.Node): node is ts.PropertyAccessEntityNameExpression; +/** + * Test if a node is a `SuperElementAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperElementAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperElementAccessExpression`. + */ +declare function isSuperElementAccessExpression(node: ts.Node): node is ts.SuperElementAccessExpression; +/** + * Test if a node is a `SuperPropertyAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperPropertyAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperPropertyAccessExpression`. + */ +declare function isSuperPropertyAccessExpression(node: ts.Node): node is ts.SuperPropertyAccessExpression; + +/** + * A node that represents the any keyword. + * @category Node Types + */ +type AnyKeyword = ts.KeywordToken; +/** + * A node that represents the bigint keyword. + * @category Node Types + */ +type BigIntKeyword = ts.KeywordToken; +/** + * A node that represents the boolean keyword. + * @category Node Types + */ +type BooleanKeyword = ts.KeywordToken; +/** + * A node that represents the false keyword. + * @category Node Types + */ +type FalseKeyword = ts.KeywordToken; +/** + * A node that represents the import keyword. + * @category Node Types + */ +type ImportKeyword = ts.KeywordToken; +/** + * A node that represents the never keyword. + * @category Node Types + */ +type NeverKeyword = ts.KeywordToken; +/** + * A node that represents the null keyword. + * @category Node Types + */ +type NullKeyword = ts.KeywordToken; +/** + * A node that represents the number keyword. + * @category Node Types + */ +type NumberKeyword = ts.KeywordToken; +/** + * A node that represents the object keyword. + * @category Node Types + */ +type ObjectKeyword = ts.KeywordToken; +/** + * A node that represents the string keyword. + * @category Node Types + */ +type StringKeyword = ts.KeywordToken; +/** + * A node that represents the super keyword. + * @category Node Types + */ +type SuperKeyword = ts.KeywordToken; +/** + * A node that represents the symbol keyword. + * @category Node Types + */ +type SymbolKeyword = ts.KeywordToken; +/** + * A node that represents the this keyword. + * @category Node Types + */ +type ThisKeyword = ts.KeywordToken; +/** + * A node that represents the true keyword. + * @category Node Types + */ +type TrueKeyword = ts.KeywordToken; +/** + * A node that represents the undefined keyword. + * @category Node Types + */ +type UndefinedKeyword = ts.KeywordToken; +/** + * A node that represents the unknown keyword. + * @category Node Types + */ +type UnknownKeyword = ts.KeywordToken; +/** + * A node that represents the void keyword. + * @category Node Types + */ +type VoidKeyword = ts.KeywordToken; +/** + * Test if a node is an `AbstractKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAbstractKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AbstractKeyword`. + */ +declare function isAbstractKeyword(node: ts.Node): node is ts.AbstractKeyword; +/** + * Test if a node is an `AccessorKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorKeyword`. + */ +declare function isAccessorKeyword(node: ts.Node): node is ts.AccessorKeyword; +/** + * Test if a node is an {@link AnyKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAnyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link AnyKeyword}. + */ +declare function isAnyKeyword(node: ts.Node): node is AnyKeyword; +/** + * Test if a node is an `AssertKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertKeyword`. + */ +declare function isAssertKeyword(node: ts.Node): node is ts.AssertKeyword; +/** + * Test if a node is an `AssertsKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAssertsKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertsKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertsKeyword`. + */ +declare function isAssertsKeyword(node: ts.Node): node is ts.AssertsKeyword; +/** + * Test if a node is an `AsyncKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAsyncKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AsyncKeyword`. + */ +declare function isAsyncKeyword(node: ts.Node): node is ts.AsyncKeyword; +/** + * Test if a node is an `AwaitKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAwaitKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAwaitKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AwaitKeyword`. + */ +declare function isAwaitKeyword(node: ts.Node): node is ts.AwaitKeyword; +/** + * Test if a node is a {@link BigIntKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBigIntKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBigIntKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BigIntKeyword}. + */ +declare function isBigIntKeyword(node: ts.Node): node is BigIntKeyword; +/** + * Test if a node is a {@link BooleanKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBooleanKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BooleanKeyword}. + */ +declare function isBooleanKeyword(node: ts.Node): node is BooleanKeyword; +/** + * Test if a node is a `ColonToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isColonToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isColonToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ColonToken`. + */ +declare function isColonToken(node: ts.Node): node is ts.ColonToken; +/** + * Test if a node is a `ConstKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ConstKeyword`. + */ +declare function isConstKeyword(node: ts.Node): node is ts.ConstKeyword; +/** + * Test if a node is a `DeclareKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclareKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclareKeyword`. + */ +declare function isDeclareKeyword(node: ts.Node): node is ts.DeclareKeyword; +/** + * Test if a node is a `DefaultKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDefaultKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DefaultKeyword`. + */ +declare function isDefaultKeyword(node: ts.Node): node is ts.DefaultKeyword; +/** + * Test if a node is a `DotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DotToken`. + */ +declare function isDotToken(node: ts.Node): node is ts.DotToken; +/** + * Test if a node is an `EndOfFileToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEndOfFileToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EndOfFileToken`. + */ +declare function isEndOfFileToken(node: ts.Node): node is ts.EndOfFileToken; +/** + * Test if a node is an `EqualsGreaterThanToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isEqualsGreaterThanToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsGreaterThanToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsGreaterThanToken`. + */ +declare function isEqualsGreaterThanToken(node: ts.Node): node is ts.EqualsGreaterThanToken; +/** + * Test if a node is an `EqualsToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsToken`. + */ +declare function isEqualsToken(node: ts.Node): node is ts.EqualsToken; +/** + * Test if a node is an `ExclamationToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isExclamationToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExclamationToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExclamationToken`. + */ +declare function isExclamationToken(node: ts.Node): node is ts.ExclamationToken; +/** + * Test if a node is an `ExportKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExportKeyword`. + */ +declare function isExportKeyword(node: ts.Node): node is ts.ExportKeyword; +/** + * Test if a node is a {@link FalseKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link FalseKeyword}. + */ +declare function isFalseKeyword(node: ts.Node): node is FalseKeyword; +/** + * Test if a node is a `FalseLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FalseLiteral`. + */ +declare function isFalseLiteral(node: ts.Node): node is ts.FalseLiteral; +/** + * Test if a node is an `ImportExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ImportExpression`. + */ +declare function isImportExpression(node: ts.Node): node is ts.ImportExpression; +/** + * Test if a node is an {@link ImportKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ImportKeyword}. + */ +declare function isImportKeyword(node: ts.Node): node is ImportKeyword; +/** + * Test if a node is an `InKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isInKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `InKeyword`. + */ +declare function isInKeyword(node: ts.Node): node is ts.InKeyword; +/** + * Test if a node is a `JSDocText`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocText(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocText`. + */ +declare function isJSDocText(node: ts.Node): node is ts.JSDocText; +/** + * Test if a node is a `JsonMinusNumericLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonMinusNumericLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonMinusNumericLiteral`. + */ +declare function isJsonMinusNumericLiteral(node: ts.Node): node is ts.JsonMinusNumericLiteral; +/** + * Test if a node is a {@link NeverKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNeverKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NeverKeyword}. + */ +declare function isNeverKeyword(node: ts.Node): node is NeverKeyword; +/** + * Test if a node is a {@link NullKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NullKeyword}. + */ +declare function isNullKeyword(node: ts.Node): node is NullKeyword; +/** + * Test if a node is a `NullLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NullLiteral`. + */ +declare function isNullLiteral(node: ts.Node): node is ts.NullLiteral; +/** + * Test if a node is a {@link NumberKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumberKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumberKeyword}. + */ +declare function isNumberKeyword(node: ts.Node): node is NumberKeyword; +/** + * Test if a node is an {@link ObjectKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ObjectKeyword}. + */ +declare function isObjectKeyword(node: ts.Node): node is ObjectKeyword; +/** + * Test if a node is an `OutKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOutKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OutKeyword`. + */ +declare function isOutKeyword(node: ts.Node): node is ts.OutKeyword; +/** + * Test if a node is an `OverrideKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOverrideKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OverrideKeyword`. + */ +declare function isOverrideKeyword(node: ts.Node): node is ts.OverrideKeyword; +/** + * Test if a node is a `PrivateKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPrivateKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PrivateKeyword`. + */ +declare function isPrivateKeyword(node: ts.Node): node is ts.PrivateKeyword; +/** + * Test if a node is a `ProtectedKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isProtectedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ProtectedKeyword`. + */ +declare function isProtectedKeyword(node: ts.Node): node is ts.ProtectedKeyword; +/** + * Test if a node is a `PublicKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPublicKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PublicKeyword`. + */ +declare function isPublicKeyword(node: ts.Node): node is ts.PublicKeyword; +/** + * Test if a node is a `QuestionDotToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionDotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionDotToken`. + */ +declare function isQuestionDotToken(node: ts.Node): node is ts.QuestionDotToken; +/** + * Test if a node is a `QuestionToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionToken`. + */ +declare function isQuestionToken(node: ts.Node): node is ts.QuestionToken; +/** + * Test if a node is a `ReadonlyKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isReadonlyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ReadonlyKeyword`. + */ +declare function isReadonlyKeyword(node: ts.Node): node is ts.ReadonlyKeyword; +/** + * Test if a node is a `StaticKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStaticKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `StaticKeyword`. + */ +declare function isStaticKeyword(node: ts.Node): node is ts.StaticKeyword; +/** + * Test if a node is a {@link StringKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStringKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link StringKeyword}. + */ +declare function isStringKeyword(node: ts.Node): node is StringKeyword; +/** + * Test if a node is a `SuperExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperExpression`. + */ +declare function isSuperExpression(node: ts.Node): node is ts.SuperExpression; +/** + * Test if a node is a {@link SuperKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SuperKeyword}. + */ +declare function isSuperKeyword(node: ts.Node): node is SuperKeyword; +/** + * Test if a node is a {@link SymbolKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSymbolKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SymbolKeyword}. + */ +declare function isSymbolKeyword(node: ts.Node): node is SymbolKeyword; +/** + * Test if a node is a `SyntaxList`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSyntaxList(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SyntaxList`. + */ +declare function isSyntaxList(node: ts.Node): node is ts.SyntaxList; +/** + * Test if a node is a `ThisExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ThisExpression`. + */ +declare function isThisExpression(node: ts.Node): node is ts.ThisExpression; +/** + * Test if a node is a {@link ThisKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ThisKeyword}. + */ +declare function isThisKeyword(node: ts.Node): node is ThisKeyword; +/** + * Test if a node is a {@link TrueKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link TrueKeyword}. + */ +declare function isTrueKeyword(node: ts.Node): node is TrueKeyword; +/** + * Test if a node is a `TrueLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TrueLiteral`. + */ +declare function isTrueLiteral(node: ts.Node): node is ts.TrueLiteral; +/** + * Test if a node is an {@link UndefinedKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUndefinedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UndefinedKeyword}. + */ +declare function isUndefinedKeyword(node: ts.Node): node is UndefinedKeyword; +/** + * Test if a node is an {@link UnknownKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnknownKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UnknownKeyword}. + */ +declare function isUnknownKeyword(node: ts.Node): node is UnknownKeyword; +/** + * Test if a node is a {@link VoidKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVoidKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link VoidKeyword}. + */ +declare function isVoidKeyword(node: ts.Node): node is VoidKeyword; + +/** + * Test if a node is a `HasDecorators`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasDecorators(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasDecorators`. + */ +declare function hasDecorators(node: ts.Node): node is ts.HasDecorators; +/** + * Test if a node is a `HasExpressionInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasExpressionInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasExpressionInitializer`. + */ +declare function hasExpressionInitializer(node: ts.Node): node is ts.HasExpressionInitializer; +/** + * Test if a node is a `HasInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasInitializer`. + */ +declare function hasInitializer(node: ts.Node): node is ts.HasInitializer; +/** + * Test if a node is a `HasJSDoc`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasJSDoc(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasJSDoc`. + */ +declare function hasJSDoc(node: ts.Node): node is ts.HasJSDoc; +/** + * Test if a node is a `HasModifiers`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasModifiers(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasModifiers`. + */ +declare function hasModifiers(node: ts.Node): node is ts.HasModifiers; +/** + * Test if a node is a `HasType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasType`. + */ +declare function hasType(node: ts.Node): node is ts.HasType; +/** + * Test if a node is a `HasTypeArguments`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasTypeArguments(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasTypeArguments`. + */ +declare function hasTypeArguments(node: ts.Node): node is ts.HasTypeArguments; +/** + * Test if a node is an `AccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessExpression`. + */ +declare function isAccessExpression(node: ts.Node): node is ts.AccessExpression; +/** + * Test if a node is an `AccessibilityModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessibilityModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessibilityModifier`. + */ +declare function isAccessibilityModifier(node: ts.Node): node is ts.AccessibilityModifier; +/** + * Test if a node is an `AccessorDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isAccessor`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorDeclaration`. + */ +declare function isAccessorDeclaration(node: ts.Node): node is ts.AccessorDeclaration; +/** + * Test if a node is an `ArrayBindingElement`. + * @deprecated With TypeScript v5, in favor of typescript's `isArrayBindingElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingElement`. + */ +declare function isArrayBindingElement(node: ts.Node): node is ts.ArrayBindingElement; +/** + * Test if a node is an `ArrayBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingOrAssignmentPattern`. + */ +declare function isArrayBindingOrAssignmentPattern(node: ts.Node): node is ts.ArrayBindingOrAssignmentPattern; +/** + * Test if a node is an `AssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssignmentPattern`. + */ +declare function isAssignmentPattern(node: ts.Node): node is ts.AssignmentPattern; +/** + * Test if a node is a `BindingOrAssignmentElementRestIndicator`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementRestIndicator(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementRestIndicator`. + */ +declare function isBindingOrAssignmentElementRestIndicator(node: ts.Node): node is ts.BindingOrAssignmentElementRestIndicator; +/** + * Test if a node is a `BindingOrAssignmentElementTarget`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementTarget(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementTarget`. + */ +declare function isBindingOrAssignmentElementTarget(node: ts.Node): node is ts.BindingOrAssignmentElementTarget; +/** + * Test if a node is a `BindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentPattern`. + */ +declare function isBindingOrAssignmentPattern(node: ts.Node): node is ts.BindingOrAssignmentPattern; +/** + * Test if a node is a `BindingPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingPattern`. + */ +declare function isBindingPattern(node: ts.Node): node is ts.BindingPattern; +/** + * Test if a node is a `BlockLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBlockLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BlockLike`. + */ +declare function isBlockLike(node: ts.Node): node is ts.BlockLike; +/** + * Test if a node is a `BooleanLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BooleanLiteral`. + */ +declare function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral; +/** + * Test if a node is a `ClassLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isClassLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassLikeDeclaration`. + */ +declare function isClassLikeDeclaration(node: ts.Node): node is ts.ClassLikeDeclaration; +/** + * Test if a node is a `ClassMemberModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassMemberModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassMemberModifier`. + */ +declare function isClassMemberModifier(node: ts.Node): node is ts.ClassMemberModifier; +/** + * Test if a node is a `DeclarationName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationName`. + */ +declare function isDeclarationName(node: ts.Node): node is ts.DeclarationName; +/** + * Test if a node is a `DeclarationWithTypeParameterChildren`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameterChildren(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameterChildren`. + */ +declare function isDeclarationWithTypeParameterChildren(node: ts.Node): node is ts.DeclarationWithTypeParameterChildren; +/** + * Test if a node is a `DeclarationWithTypeParameters`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameters(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameters`. + */ +declare function isDeclarationWithTypeParameters(node: ts.Node): node is ts.DeclarationWithTypeParameters; +/** + * Test if a node is a `DestructuringPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDestructuringPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DestructuringPattern`. + */ +declare function isDestructuringPattern(node: ts.Node): node is ts.DestructuringPattern; +/** + * Test if a node is an `EntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameExpression`. + */ +declare function isEntityNameExpression(node: ts.Node): node is ts.EntityNameExpression; +/** + * Test if a node is an `EntityNameOrEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameOrEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameOrEntityNameExpression`. + */ +declare function isEntityNameOrEntityNameExpression(node: ts.Node): node is ts.EntityNameOrEntityNameExpression; +/** + * Test if a node is a `ForInOrOfStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isForInOrOfStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ForInOrOfStatement`. + */ +declare function isForInOrOfStatement(node: ts.Node): node is ts.ForInOrOfStatement; +/** + * Test if a node is a `FunctionLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isFunctionLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FunctionLikeDeclaration`. + */ +declare function isFunctionLikeDeclaration(node: ts.Node): node is ts.FunctionLikeDeclaration; +/** + * Test if a node is a `JSDocComment`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocComment(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocComment`. + */ +declare function isJSDocComment(node: ts.Node): node is ts.JSDocComment; +/** + * Test if a node is a `JSDocNamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceBody`. + */ +declare function isJSDocNamespaceBody(node: ts.Node): node is ts.JSDocNamespaceBody; +/** + * Test if a node is a `JSDocTypeReferencingNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocTypeReferencingNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocTypeReferencingNode`. + */ +declare function isJSDocTypeReferencingNode(node: ts.Node): node is ts.JSDocTypeReferencingNode; +/** + * Test if a node is a `JsonObjectExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonObjectExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonObjectExpression`. + */ +declare function isJsonObjectExpression(node: ts.Node): node is ts.JsonObjectExpression; +/** + * Test if a node is a `JsxAttributeLike`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxAttributeLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeLike`. + */ +declare function isJsxAttributeLike(node: ts.Node): node is ts.JsxAttributeLike; +/** + * Test if a node is a `JsxAttributeValue`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeValue(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeValue`. + */ +declare function isJsxAttributeValue(node: ts.Node): node is ts.JsxAttributeValue; +/** + * Test if a node is a `JsxChild`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxChild`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxChild(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxChild`. + */ +declare function isJsxChild(node: ts.Node): node is ts.JsxChild; +/** + * Test if a node is a `JsxTagNameExpression`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxTagNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNameExpression`. + */ +declare function isJsxTagNameExpression(node: ts.Node): node is ts.JsxTagNameExpression; +/** + * Test if a node is a `LiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `LiteralToken`. + */ +declare function isLiteralToken(node: ts.Node): node is ts.LiteralToken; +/** + * Test if a node is a `ModuleBody`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleBody`. + */ +declare function isModuleBody(node: ts.Node): node is ts.ModuleBody; +/** + * Test if a node is a `ModuleName`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleName`. + */ +declare function isModuleName(node: ts.Node): node is ts.ModuleName; +/** + * Test if a node is a `ModuleReference`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleReference`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleReference(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleReference`. + */ +declare function isModuleReference(node: ts.Node): node is ts.ModuleReference; +/** + * Test if a node is a `NamedImportBindings`. + * @deprecated With TypeScript v5, in favor of typescript's `isNamedImportBindings`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportBindings(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportBindings`. + */ +declare function isNamedImportBindings(node: ts.Node): node is ts.NamedImportBindings; +/** + * Test if a node is a `NamedImportsOrExports`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportsOrExports(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportsOrExports`. + */ +declare function isNamedImportsOrExports(node: ts.Node): node is ts.NamedImportsOrExports; +/** + * Test if a node is a `NamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceBody`. + */ +declare function isNamespaceBody(node: ts.Node): node is ts.NamespaceBody; +/** + * Test if a node is an `ObjectBindingOrAssignmentElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentElement`. + */ +declare function isObjectBindingOrAssignmentElement(node: ts.Node): node is ts.ObjectBindingOrAssignmentElement; +/** + * Test if a node is an `ObjectBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentPattern`. + */ +declare function isObjectBindingOrAssignmentPattern(node: ts.Node): node is ts.ObjectBindingOrAssignmentPattern; +/** + * Test if a node is an `ObjectTypeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectTypeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectTypeDeclaration`. + */ +declare function isObjectTypeDeclaration(node: ts.Node): node is ts.ObjectTypeDeclaration; +/** + * Test if a node is a `ParameterPropertyModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isParameterPropertyModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ParameterPropertyModifier`. + */ +declare function isParameterPropertyModifier(node: ts.Node): node is ts.ParameterPropertyModifier; +/** + * Test if a node is a `PropertyNameLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyNameLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyNameLiteral`. + */ +declare function isPropertyNameLiteral(node: ts.Node): node is ts.PropertyNameLiteral; +/** + * Test if a node is a `PseudoLiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPseudoLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PseudoLiteralToken`. + */ +declare function isPseudoLiteralToken(node: ts.Node): node is ts.PseudoLiteralToken; +/** + * Test if a node is a `SignatureDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSignatureDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SignatureDeclaration`. + */ +declare function isSignatureDeclaration(node: ts.Node): node is ts.SignatureDeclaration; +/** + * Test if a node is a `SuperProperty`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperProperty(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperProperty`. + */ +declare function isSuperProperty(node: ts.Node): node is ts.SuperProperty; +/** + * Test if a node is a `TypeOnlyCompatibleAliasDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeOnlyCompatibleAliasDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeOnlyCompatibleAliasDeclaration`. + */ +declare function isTypeOnlyCompatibleAliasDeclaration(node: ts.Node): node is ts.TypeOnlyCompatibleAliasDeclaration; +/** + * Test if a node is a `TypeReferenceType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeReferenceType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeReferenceType`. + */ +declare function isTypeReferenceType(node: ts.Node): node is ts.TypeReferenceType; +/** + * Test if a node is an `UnionOrIntersectionTypeNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnionOrIntersectionTypeNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `UnionOrIntersectionTypeNode`. + */ +declare function isUnionOrIntersectionTypeNode(node: ts.Node): node is ts.UnionOrIntersectionTypeNode; +/** + * Test if a node is a `VariableLikeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVariableLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `VariableLikeDeclaration`. + */ +declare function isVariableLikeDeclaration(node: ts.Node): node is ts.VariableLikeDeclaration; + +/** + * Is the node a scope boundary, specifically due to it being a function. + * @category Scope Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionScopeBoundary(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isFunctionScopeBoundary(node: ts.Node): boolean; + +/** + * Test of the kind given is for assignment. + * @category Syntax Utilities + * @example + * ```ts + * declare const kind: ts.SyntaxKind; + * + * isAssignmentKind(kind); + * ``` + */ +declare function isAssignmentKind(kind: ts.SyntaxKind): boolean; +/** + * Test if a string is numeric. + * @category Syntax Utilities + * @example + * ```ts + * isNumericPropertyName("abc"); // false + * isNumericPropertyName("123"); // true + * ``` + */ +declare function isNumericPropertyName(name: string | ts.__String): boolean; +/** + * Determines whether the given text can be used to access a property with a `PropertyAccessExpression` while preserving the property's name. + * @category Syntax Utilities + * @example + * ```ts + * isValidPropertyAccess("abc"); // true + * isValidPropertyAccess("123"); // false + * ``` + */ +declare function isValidPropertyAccess(text: string, languageVersion?: ts.ScriptTarget): boolean; + +/** + * Callback type used for {@link forEachToken}. + * @category Callbacks + * @example + * ```ts + * let onToken: ForEachTokenCallback = (token) => { + * console.log(`Found token at position: ${token.pos}.`); + * }; + * ``` + */ +type ForEachTokenCallback = (token: ts.Node) => void; +/** + * Iterates over all tokens of `node` + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachToken(node, (token) => { + * console.log("Found token:", token.getText()); + * }); + * ``` + * @param node The node whose tokens should be visited + * @param callback Is called for every token contained in `node` + */ +declare function forEachToken(node: ts.Node, callback: ForEachTokenCallback, sourceFile?: ts.SourceFile): void; + +/** + * Get the `CallSignatures` of the given type. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * + * getCallSignaturesOfType(type); + * ``` + */ +declare function getCallSignaturesOfType(type: ts.Type): readonly ts.Signature[]; +/** + * Get the property with the given name on the given type (if it exists). + * @category Types - Getters + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * + * getPropertyOfType(type, property.getEscapedName()); + * ``` + */ +declare function getPropertyOfType(type: ts.Type, name: ts.__String): ts.Symbol | undefined; +/** + * Retrieves a type symbol corresponding to a well-known string name. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * getWellKnownSymbolPropertyOfType(type, "asyncIterator", typeChecker); + * ``` + */ +declare function getWellKnownSymbolPropertyOfType(type: ts.Type, wellKnownSymbolName: string, typeChecker: ts.TypeChecker): ts.Symbol | undefined; + +/** + * A "any" intrinsic type. + * @category Type Types + */ +interface IntrinsicAnyType extends IntrinsicType { + intrinsicName: "any"; +} +/** + * A "bigint" intrinsic type. + * @category Type Types + */ +interface IntrinsicBigIntType extends IntrinsicType { + intrinsicName: "bigint"; +} +/** + * A "boolean" intrinsic type. + * @category Type Types + */ +interface IntrinsicBooleanType extends IntrinsicType { + intrinsicName: "boolean"; +} +/** + * An "error" intrinsic type. + * + * This refers to a type generated when TypeScript encounters an error while + * trying to resolve the type. + * @category Type Types + */ +interface IntrinsicErrorType extends IntrinsicType { + intrinsicName: "error"; +} +/** + * A "symbol" intrinsic type. + * @category Type Types + */ +interface IntrinsicESSymbolType extends IntrinsicType { + intrinsicName: "symbol"; +} +/** + * An "intrinsic" (built-in to TypeScript) type. + * @category Type Types + */ +interface IntrinsicType extends ts.Type { + intrinsicName: string; + objectFlags: ts.ObjectFlags; +} +/** + * Determines whether the given type is the "any" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicAnyType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicAnyType(type: ts.Type): type is IntrinsicAnyType; +/** + * Determines whether the given type is the "bigint" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBigIntType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBigIntType(type: ts.Type): type is IntrinsicBigIntType; +/** + * Determines whether the given type is the "boolean" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBooleanType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBooleanType(type: ts.Type): type is IntrinsicBooleanType; +/** + * Determines whether the given type is the "error" intrinsic type. + * + * The intrinsic error type occurs when TypeScript encounters an error while + * trying to resolve the type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicErrorType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicErrorType(type: ts.Type): type is IntrinsicErrorType; +/** + * Determines whether the given type is the "symbol" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicESSymbolType(type: ts.Type): type is IntrinsicESSymbolType; +/** + * A "never" intrinsic type. + * @category Type Types + */ +interface IntrinsicNeverType extends IntrinsicType { + intrinsicName: "never"; +} +/** + * A non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Type Types + */ +interface IntrinsicNonPrimitiveType extends IntrinsicType { + intrinsicName: ""; +} +/** + * A "null" intrinsic type. + * @category Type Types + */ +interface IntrinsicNullType extends IntrinsicType { + intrinsicName: "null"; +} +/** + * A "number" intrinsic type. + * @category Type Types + */ +interface IntrinsicNumberType extends IntrinsicType { + intrinsicName: "number"; +} +/** + * A "string" intrinsic type. + * @category Type Types + */ +interface IntrinsicStringType extends IntrinsicType { + intrinsicName: "string"; +} +/** + * The built-in `undefined` type. + * @category Type Types + */ +interface IntrinsicUndefinedType extends IntrinsicType { + intrinsicName: "undefined"; +} +/** + * The built-in `unknown` type. + * @category Type Types + */ +interface IntrinsicUnknownType extends IntrinsicType { + intrinsicName: "unknown"; +} +/** + * A "void" intrinsic type. + * @category Type Types + */ +interface IntrinsicVoidType extends IntrinsicType { + intrinsicName: "void"; +} +/** + * Determines whether the given type is the "never" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNeverType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNeverType(type: ts.Type): type is IntrinsicNeverType; +/** + * Determines whether the given type is a non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNonPrimitiveType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNonPrimitiveType(type: ts.Type): type is IntrinsicNonPrimitiveType; +/** + * Determines whether the given type is the "null" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNullType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNullType(type: ts.Type): type is IntrinsicNullType; +/** + * Determines whether the given type is the "number" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNumberType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNumberType(type: ts.Type): type is IntrinsicNumberType; +/** + * Determines whether the given type is the "string" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicStringType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicStringType(type: ts.Type): type is IntrinsicStringType; +/** + * Test if a type is an {@link IntrinsicType}. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicType(type: ts.Type): type is IntrinsicType; +/** + * Determines whether the given type is the "undefined" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUndefinedType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUndefinedType(type: ts.Type): type is IntrinsicUndefinedType; +/** + * Determines whether the given type is the "unknown" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUnknownType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUnknownType(type: ts.Type): type is IntrinsicUnknownType; +/** + * Determines whether the given type is the "void" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicVoidType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicVoidType(type: ts.Type): type is IntrinsicVoidType; + +/** + * A type that is both an {@link IntrinsicType} and a `FreshableType` + * @category Type Types + */ +interface FreshableIntrinsicType extends ts.FreshableType, IntrinsicType { +} +/** + * Test if a type is a `FreshableIntrinsicType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableIntrinsicType(type)) { + * // ... + * } + */ +declare function isFreshableIntrinsicType(type: ts.Type): type is FreshableIntrinsicType; +/** + * Test if a type is a `TupleTypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleTypeReference(type)) { + * // ... + * } + */ +declare function isTupleTypeReference(type: ts.Type): type is ts.TupleTypeReference; + +/** + * A boolean literal. + * i.e. Either a "true" or "false" literal. + * @category Type Types + */ +interface BooleanLiteralType extends FreshableIntrinsicType { + intrinsicName: "false" | "true"; +} +/** + * A "false" literal. + * @category Type Types + */ +interface FalseLiteralType extends BooleanLiteralType { + intrinsicName: "false"; +} +/** + * A "true" literal. + * @category Type Types + */ +interface TrueLiteralType extends BooleanLiteralType { + intrinsicName: "true"; +} +/** + * `LiteralType` from typescript except that it allows for it to work on arbitrary types. + * @deprecated Use {@link FreshableIntrinsicType} instead. + * @category Type Types + */ +interface UnknownLiteralType extends FreshableIntrinsicType { + value?: unknown; +} +/** + * Test if a type is a `BigIntLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBigIntLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBigIntLiteralType(type: ts.Type): type is ts.BigIntLiteralType; +/** + * Determines whether the given type is a boolean literal type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBooleanLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBooleanLiteralType(type: ts.Type): type is BooleanLiteralType; +/** + * Determines whether the given type is a boolean literal type for "false". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalseLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isFalseLiteralType(type: ts.Type): type is FalseLiteralType; +/** + * Test if a type is a `LiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isLiteralType(type: ts.Type): type is ts.LiteralType; +/** + * Test if a type is a `NumberLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isNumberLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isNumberLiteralType(type: ts.Type): type is ts.NumberLiteralType; +/** + * Test if a type is a `StringLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isStringLiteralType(type: ts.Type): type is ts.StringLiteralType; +/** + * Test if a type is a `TemplateLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTemplateLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTemplateLiteralType(type: ts.Type): type is ts.TemplateLiteralType; +/** + * Determines whether the given type is a boolean literal type for "true". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTrueLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTrueLiteralType(type: ts.Type): type is TrueLiteralType; + +/** + * Test if a type is a `EvolvingArrayType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEvolvingArrayType(type)) { + * // ... + * } + * ``` + */ +declare function isEvolvingArrayType(type: ts.Type): type is ts.EvolvingArrayType; +/** + * Test if a type is a `TupleType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleType(type)) { + * // ... + * } + * ``` + */ +declare function isTupleType(type: ts.Type): type is ts.TupleType; +/** + * Test if a type is a `TypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeReference(type)) { + * // ... + * } + * ``` + */ +declare function isTypeReference(type: ts.Type): type is ts.TypeReference; + +/** + * Test if a type is a `ConditionalType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isConditionalType(type)) { + * // ... + * } + * ``` + */ +declare function isConditionalType(type: ts.Type): type is ts.ConditionalType; +/** + * Test if a type is a `EnumType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEnumType(type)) { + * // ... + * } + * ``` + */ +declare function isEnumType(type: ts.Type): type is ts.EnumType; +/** + * Test if a type is a `FreshableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableType(type)) { + * // ... + * } + * ``` + */ +declare function isFreshableType(type: ts.Type): type is ts.FreshableType; +/** + * Test if a type is a `IndexedAccessType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexedAccessType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexedAccessType(type: ts.Type): type is ts.IndexedAccessType; +/** + * Test if a type is a `IndexType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexType(type: ts.Type): type is ts.IndexType; +/** + * Test if a type is a `InstantiableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isInstantiableType(type)) { + * // ... + * } + * ``` + */ +declare function isInstantiableType(type: ts.Type): type is ts.InstantiableType; +/** + * Test if a type is a `IntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isIntersectionType(type: ts.Type): type is ts.IntersectionType; +/** + * Test if a type is a `ObjectType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isObjectType(type)) { + * // ... + * } + * ``` + */ +declare function isObjectType(type: ts.Type): type is ts.ObjectType; +/** + * Test if a type is a `StringMappingType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringMappingType(type)) { + * // ... + * } + * ``` + */ +declare function isStringMappingType(type: ts.Type): type is ts.StringMappingType; +/** + * Test if a type is a `SubstitutionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isSubstitutionType(type)) { + * // ... + * } + * ``` + */ +declare function isSubstitutionType(type: ts.Type): type is ts.SubstitutionType; +/** + * Test if a type is a `TypeParameter`. + * + * Note: It is intentional that this is not a type guard. + * @see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeParameter(type)) { + * // ... + * } + * ``` + */ +declare function isTypeParameter(type: ts.Type): boolean; +/** + * Test if a type is a `TypeVariable`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeVariable(type)) { + * // ... + * } + * ``` + */ +declare function isTypeVariable(type: ts.Type): type is ts.TypeVariable; +/** + * Test if a type is a `UnionOrIntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionOrIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionOrIntersectionType(type: ts.Type): type is ts.UnionOrIntersectionType; +/** + * Test if a type is a `UnionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionType(type: ts.Type): type is ts.UnionType; +/** + * Test if a type is a `UniqueESSymbolType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUniqueESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isUniqueESSymbolType(type: ts.Type): type is ts.UniqueESSymbolType; + +/** + * Get the intersection type parts of the given type. + * + * If the given type is not a intersection type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function intersectionTypeParts(type: ts.Type): ts.Type[]; +/** + * Determines whether a type is definitely falsy. This function doesn't unwrap union types. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalsyType(type)) { + * // ... + * } + * ``` + */ +declare function isFalsyType(type: ts.Type): boolean; +/** + * Determines whether writing to a certain property of a given type is allowed. + * @category Types - Utilities + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { + * // ... + * } + * ``` + */ +declare function isPropertyReadonlyInType(type: ts.Type, name: ts.__String, typeChecker: ts.TypeChecker): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const node: ts.Node; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, node, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Node, type: ts.Type): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, expression)) { + * // ... + * } + * ``` + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * declare const type: ts.Type; + * + * if (isThenableType(typeChecker, expression, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Expression, type?: ts.Type): boolean; +/** + * Test if the given symbol has a readonly declaration. + * @category Symbols - Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * declare const typeChecker: ts.TypeChecker; + * + * if (symbolHasReadonlyDeclaration(symbol, typeChecker)) { + * // ... + * } + * ``` + */ +declare function symbolHasReadonlyDeclaration(symbol: ts.Symbol, typeChecker: ts.TypeChecker): boolean; +/** + * TS's `type.isLiteral()` is bugged before TS v5.0 and won't return `true` for + * bigint literals. Use this function instead if you need to check for bigint + * literals in TS versions before v5.0. Otherwise, you should just use + * `type.isLiteral()`. + * @see https://github.com/microsoft/TypeScript/pull/50929 + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (typeIsLiteral(type)) { + * // ... + * } + * ``` + */ +declare function typeIsLiteral(type: ts.Type): type is ts.LiteralType; +/** + * Get the intersection or union type parts of the given type. + * + * Note that this is a shallow collection: it only returns `type.types` or `[type]`. + * + * If the given type is not an intersection or union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function typeParts(type: ts.Type): ts.Type[]; +/** + * Get the union type parts of the given type. + * + * If the given type is not a union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of unionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function unionTypeParts(type: ts.Type): ts.Type[]; + +/** + * Which "domain"(s) (most commonly, type or value space) a declaration is within. + */ +declare enum DeclarationDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + Import = 8 +} + +/** + * Which "domain"(s) (most commonly, type or value space) a usage is within. + */ +declare enum UsageDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + TypeQuery = 8, + ValueOrNamespace = 5 +} + +/** + * An instance of an item (type or value) being used. + */ +interface Usage { + /** + * Which space(s) the usage is within. + */ + domain: UsageDomain; + location: ts.Identifier; +} +/** + * How an item (type or value) was declared and/or referenced. + */ +interface UsageInfo { + /** + * Locations where the item was declared. + */ + declarations: ts.Identifier[]; + /** + * Which space(s) the item is within. + */ + domain: DeclarationDomain; + /** + * Whether the item was exported from its module or namespace scope. + */ + exported: boolean; + /** + * Whether the item's declaration was in the global scope. + */ + inGlobalScope: boolean; + /** + * Each reference to the item in the file. + */ + uses: Usage[]; +} + +/** + * Creates a mapping of each declared type and value to its type information. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const sourceFile: ts.SourceFile; + * + * const usage = collectVariableUsage(sourceFile); + * + * for (const [identifier, information] of usage) { + * console.log(`${identifier.getText()} is used ${information.uses.length} time(s).`); + * } + * ``` + */ +declare function collectVariableUsage(sourceFile: ts.SourceFile): Map; + +export { AccessKind, type AnyKeyword, type BigIntKeyword, type BooleanCompilerOptions, type BooleanKeyword, type BooleanLiteralType, type ConstAssertionExpression, type ConstAssertionIdentifier, DeclarationDomain, type FalseKeyword, type FalseLiteralType, type ForEachCommentCallback, type ForEachTokenCallback, type FreshableIntrinsicType, type ImportKeyword, type IntrinsicAnyType, type IntrinsicBigIntType, type IntrinsicBooleanType, type IntrinsicESSymbolType, type IntrinsicErrorType, type IntrinsicNeverType, type IntrinsicNonPrimitiveType, type IntrinsicNullType, type IntrinsicNumberType, type IntrinsicStringType, type IntrinsicType, type IntrinsicUndefinedType, type IntrinsicUnknownType, type IntrinsicVoidType, type NamedDeclarationWithName, type NeverKeyword, type NullKeyword, type NumberKeyword, type NumericOrStringLikeLiteral, type ObjectKeyword, type StrictCompilerOption, type StringKeyword, type SuperKeyword, type SymbolKeyword, type ThisKeyword, type TrueKeyword, type TrueLiteralType, type UndefinedKeyword, type UnknownKeyword, type UnknownLiteralType, UsageDomain, type UsageInfo as VariableInfo, type Usage as VariableUse, type VoidKeyword, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js new file mode 100644 index 0000000000..12c109acab --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js @@ -0,0 +1,2078 @@ +import ts9 from 'typescript'; + +// src/comments.ts +function forEachToken(node, callback, sourceFile = node.getSourceFile()) { + const queue = []; + while (true) { + if (ts9.isTokenKind(node.kind)) { + callback(node); + } else { + const children = node.getChildren(sourceFile); + if (children.length === 1) { + node = children[0]; + continue; + } + for (let i = children.length - 1; i >= 0; --i) { + queue.push(children[i]); + } + } + if (queue.length === 0) { + break; + } + node = queue.pop(); + } +} + +// src/comments.ts +function forEachComment(node, callback, sourceFile = node.getSourceFile()) { + const fullText = sourceFile.text; + const notJsx = sourceFile.languageVariant !== ts9.LanguageVariant.JSX; + return forEachToken( + node, + (token) => { + if (token.pos === token.end) { + return; + } + if (token.kind !== ts9.SyntaxKind.JsxText) { + ts9.forEachLeadingCommentRange( + fullText, + // skip shebang at position 0 + token.pos === 0 ? (ts9.getShebang(fullText) ?? "").length : token.pos, + commentCallback + ); + } + if (notJsx || canHaveTrailingTrivia(token)) { + return ts9.forEachTrailingCommentRange( + fullText, + token.end, + commentCallback + ); + } + }, + sourceFile + ); + function commentCallback(pos, end, kind) { + callback(fullText, { end, kind, pos }); + } +} +function canHaveTrailingTrivia(token) { + switch (token.kind) { + case ts9.SyntaxKind.CloseBraceToken: + return token.parent.kind !== ts9.SyntaxKind.JsxExpression || !isJsxElementOrFragment(token.parent.parent); + case ts9.SyntaxKind.GreaterThanToken: + switch (token.parent.kind) { + case ts9.SyntaxKind.JsxClosingElement: + case ts9.SyntaxKind.JsxClosingFragment: + return !isJsxElementOrFragment(token.parent.parent.parent); + case ts9.SyntaxKind.JsxOpeningElement: + return token.end !== token.parent.end; + case ts9.SyntaxKind.JsxOpeningFragment: + return false; + // would be inside the fragment + case ts9.SyntaxKind.JsxSelfClosingElement: + return token.end !== token.parent.end || // if end is not equal, this is part of the type arguments list + !isJsxElementOrFragment(token.parent.parent); + } + } + return true; +} +function isJsxElementOrFragment(node) { + return node.kind === ts9.SyntaxKind.JsxElement || node.kind === ts9.SyntaxKind.JsxFragment; +} +function isCompilerOptionEnabled(options, option) { + switch (option) { + case "allowJs": + return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + case "allowSyntheticDefaultImports": + return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; + case "alwaysStrict": + case "noImplicitAny": + case "noImplicitThis": + case "strictBindCallApply": + case "strictFunctionTypes": + case "strictNullChecks": + case "strictPropertyInitialization": + return isStrictCompilerOptionEnabled( + options, + option + ); + case "declaration": + return options.declaration || isCompilerOptionEnabled(options, "composite"); + case "declarationMap": + case "emitDeclarationOnly": + case "stripInternal": + return options[option] === true && isCompilerOptionEnabled(options, "declaration"); + case "incremental": + return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + case "noUncheckedIndexedAccess": + return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); + case "skipDefaultLibCheck": + return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck"); + case "suppressImplicitAnyIndexErrors": + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated + options.suppressImplicitAnyIndexErrors === true && isCompilerOptionEnabled(options, "noImplicitAny") + ); + } + return options[option] === true; +} +function isStrictCompilerOptionEnabled(options, option) { + return (options.strict ? options[option] !== false : options[option] === true) && (option !== "strictPropertyInitialization" || isStrictCompilerOptionEnabled(options, "strictNullChecks")); +} +function isModifierFlagSet(node, flag) { + return isFlagSet(ts9.getCombinedModifierFlags(node), flag); +} +function isFlagSet(allFlags, flag) { + return (allFlags & flag) !== 0; +} +function isFlagSetOnObject(obj, flag) { + return isFlagSet(obj.flags, flag); +} +var isNodeFlagSet = isFlagSetOnObject; +function isObjectFlagSet(objectType, flag) { + return isFlagSet(objectType.objectFlags, flag); +} +var isSymbolFlagSet = isFlagSetOnObject; +function isTransientSymbolLinksFlagSet(links, flag) { + return isFlagSet(links.checkFlags, flag); +} +var isTypeFlagSet = isFlagSetOnObject; + +// src/modifiers.ts +function includesModifier(modifiers, ...kinds) { + if (modifiers === void 0) { + return false; + } + for (const modifier of modifiers) { + if (kinds.includes(modifier.kind)) { + return true; + } + } + return false; +} +function isAssignmentKind(kind) { + return kind >= ts9.SyntaxKind.FirstAssignment && kind <= ts9.SyntaxKind.LastAssignment; +} +function isNumericPropertyName(name) { + return String(+name) === name; +} +function isValidPropertyAccess(text, languageVersion = ts9.ScriptTarget.Latest) { + if (text.length === 0) { + return false; + } + let ch = text.codePointAt(0); + if (!ts9.isIdentifierStart(ch, languageVersion)) { + return false; + } + for (let i = charSize(ch); i < text.length; i += charSize(ch)) { + ch = text.codePointAt(i); + if (!ts9.isIdentifierPart(ch, languageVersion)) { + return false; + } + } + return true; +} +function charSize(ch) { + return ch >= 65536 ? 2 : 1; +} + +// src/nodes/access.ts +var AccessKind = /* @__PURE__ */ ((AccessKind2) => { + AccessKind2[AccessKind2["None"] = 0] = "None"; + AccessKind2[AccessKind2["Read"] = 1] = "Read"; + AccessKind2[AccessKind2["Write"] = 2] = "Write"; + AccessKind2[AccessKind2["Delete"] = 4] = "Delete"; + AccessKind2[AccessKind2["ReadWrite"] = 3] = "ReadWrite"; + return AccessKind2; +})(AccessKind || {}); +function getAccessKind(node) { + const parent = node.parent; + switch (parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.SpreadAssignment: + case ts9.SyntaxKind.SpreadElement: + return isInDestructuringAssignment( + parent + ) ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.ArrowFunction: + return parent.body === node ? 1 /* Read */ : 2 /* Write */; + case ts9.SyntaxKind.AsExpression: + case ts9.SyntaxKind.NonNullExpression: + case ts9.SyntaxKind.ParenthesizedExpression: + case ts9.SyntaxKind.TypeAssertionExpression: + return getAccessKind(parent); + case ts9.SyntaxKind.AwaitExpression: + case ts9.SyntaxKind.CallExpression: + case ts9.SyntaxKind.CaseClause: + case ts9.SyntaxKind.ComputedPropertyName: + case ts9.SyntaxKind.ConditionalExpression: + case ts9.SyntaxKind.Decorator: + case ts9.SyntaxKind.DoStatement: + case ts9.SyntaxKind.ElementAccessExpression: + case ts9.SyntaxKind.ExpressionStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.IfStatement: + case ts9.SyntaxKind.JsxElement: + case ts9.SyntaxKind.JsxExpression: + case ts9.SyntaxKind.JsxOpeningElement: + case ts9.SyntaxKind.JsxSelfClosingElement: + case ts9.SyntaxKind.JsxSpreadAttribute: + case ts9.SyntaxKind.NewExpression: + case ts9.SyntaxKind.ReturnStatement: + case ts9.SyntaxKind.SwitchStatement: + case ts9.SyntaxKind.TaggedTemplateExpression: + case ts9.SyntaxKind.TemplateSpan: + case ts9.SyntaxKind.ThrowStatement: + case ts9.SyntaxKind.TypeOfExpression: + case ts9.SyntaxKind.VoidExpression: + case ts9.SyntaxKind.WhileStatement: + case ts9.SyntaxKind.WithStatement: + case ts9.SyntaxKind.YieldExpression: + return 1 /* Read */; + case ts9.SyntaxKind.BinaryExpression: + return parent.right === node ? 1 /* Read */ : !isAssignmentKind(parent.operatorToken.kind) ? 1 /* Read */ : parent.operatorToken.kind === ts9.SyntaxKind.EqualsToken ? 2 /* Write */ : 3 /* ReadWrite */; + case ts9.SyntaxKind.BindingElement: + case ts9.SyntaxKind.EnumMember: + case ts9.SyntaxKind.JsxAttribute: + case ts9.SyntaxKind.Parameter: + case ts9.SyntaxKind.PropertyDeclaration: + case ts9.SyntaxKind.VariableDeclaration: + return parent.initializer === node ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.DeleteExpression: + return 4 /* Delete */; + case ts9.SyntaxKind.ExportAssignment: + return parent.isExportEquals ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9.SyntaxKind.ExtendsKeyword && parent.parent.parent.kind !== ts9.SyntaxKind.InterfaceDeclaration ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + return parent.initializer === node ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.PostfixUnaryExpression: + return 3 /* ReadWrite */; + case ts9.SyntaxKind.PrefixUnaryExpression: + return parent.operator === ts9.SyntaxKind.PlusPlusToken || parent.operator === ts9.SyntaxKind.MinusMinusToken ? 3 /* ReadWrite */ : 1 /* Read */; + case ts9.SyntaxKind.PropertyAccessExpression: + return parent.expression === node ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.PropertyAssignment: + return parent.name === node ? 0 /* None */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.ShorthandPropertyAssignment: + return parent.objectAssignmentInitializer === node ? 1 /* Read */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + } + return 0 /* None */; +} +function isInDestructuringAssignment(node) { + switch (node.kind) { + case ts9.SyntaxKind.ShorthandPropertyAssignment: + if (node.objectAssignmentInitializer !== void 0) { + return true; + } + // falls through + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.SpreadAssignment: + node = node.parent; + break; + case ts9.SyntaxKind.SpreadElement: + if (node.parent.kind !== ts9.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent; + } + while (true) { + switch (node.parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.ObjectLiteralExpression: + node = node.parent; + break; + case ts9.SyntaxKind.BinaryExpression: + return node.parent.left === node && node.parent.operatorToken.kind === ts9.SyntaxKind.EqualsToken; + case ts9.SyntaxKind.ForOfStatement: + return node.parent.initializer === node; + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.SpreadAssignment: + node = node.parent.parent; + break; + case ts9.SyntaxKind.SpreadElement: + if (node.parent.parent.kind !== ts9.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent.parent; + break; + default: + return false; + } + } +} +function isAbstractKeyword(node) { + return node.kind === ts9.SyntaxKind.AbstractKeyword; +} +function isAccessorKeyword(node) { + return node.kind === ts9.SyntaxKind.AccessorKeyword; +} +function isAnyKeyword(node) { + return node.kind === ts9.SyntaxKind.AnyKeyword; +} +function isAssertKeyword(node) { + return node.kind === ts9.SyntaxKind.AssertKeyword; +} +function isAssertsKeyword(node) { + return node.kind === ts9.SyntaxKind.AssertsKeyword; +} +function isAsyncKeyword(node) { + return node.kind === ts9.SyntaxKind.AsyncKeyword; +} +function isAwaitKeyword(node) { + return node.kind === ts9.SyntaxKind.AwaitKeyword; +} +function isBigIntKeyword(node) { + return node.kind === ts9.SyntaxKind.BigIntKeyword; +} +function isBooleanKeyword(node) { + return node.kind === ts9.SyntaxKind.BooleanKeyword; +} +function isColonToken(node) { + return node.kind === ts9.SyntaxKind.ColonToken; +} +function isConstKeyword(node) { + return node.kind === ts9.SyntaxKind.ConstKeyword; +} +function isDeclareKeyword(node) { + return node.kind === ts9.SyntaxKind.DeclareKeyword; +} +function isDefaultKeyword(node) { + return node.kind === ts9.SyntaxKind.DefaultKeyword; +} +function isDotToken(node) { + return node.kind === ts9.SyntaxKind.DotToken; +} +function isEndOfFileToken(node) { + return node.kind === ts9.SyntaxKind.EndOfFileToken; +} +function isEqualsGreaterThanToken(node) { + return node.kind === ts9.SyntaxKind.EqualsGreaterThanToken; +} +function isEqualsToken(node) { + return node.kind === ts9.SyntaxKind.EqualsToken; +} +function isExclamationToken(node) { + return node.kind === ts9.SyntaxKind.ExclamationToken; +} +function isExportKeyword(node) { + return node.kind === ts9.SyntaxKind.ExportKeyword; +} +function isFalseKeyword(node) { + return node.kind === ts9.SyntaxKind.FalseKeyword; +} +function isFalseLiteral(node) { + return node.kind === ts9.SyntaxKind.FalseKeyword; +} +function isImportExpression(node) { + return node.kind === ts9.SyntaxKind.ImportKeyword; +} +function isImportKeyword(node) { + return node.kind === ts9.SyntaxKind.ImportKeyword; +} +function isInKeyword(node) { + return node.kind === ts9.SyntaxKind.InKeyword; +} +function isJSDocText(node) { + return node.kind === ts9.SyntaxKind.JSDocText; +} +function isJsonMinusNumericLiteral(node) { + return node.kind === ts9.SyntaxKind.PrefixUnaryExpression; +} +function isNeverKeyword(node) { + return node.kind === ts9.SyntaxKind.NeverKeyword; +} +function isNullKeyword(node) { + return node.kind === ts9.SyntaxKind.NullKeyword; +} +function isNullLiteral(node) { + return node.kind === ts9.SyntaxKind.NullKeyword; +} +function isNumberKeyword(node) { + return node.kind === ts9.SyntaxKind.NumberKeyword; +} +function isObjectKeyword(node) { + return node.kind === ts9.SyntaxKind.ObjectKeyword; +} +function isOutKeyword(node) { + return node.kind === ts9.SyntaxKind.OutKeyword; +} +function isOverrideKeyword(node) { + return node.kind === ts9.SyntaxKind.OverrideKeyword; +} +function isPrivateKeyword(node) { + return node.kind === ts9.SyntaxKind.PrivateKeyword; +} +function isProtectedKeyword(node) { + return node.kind === ts9.SyntaxKind.ProtectedKeyword; +} +function isPublicKeyword(node) { + return node.kind === ts9.SyntaxKind.PublicKeyword; +} +function isQuestionDotToken(node) { + return node.kind === ts9.SyntaxKind.QuestionDotToken; +} +function isQuestionToken(node) { + return node.kind === ts9.SyntaxKind.QuestionToken; +} +function isReadonlyKeyword(node) { + return node.kind === ts9.SyntaxKind.ReadonlyKeyword; +} +function isStaticKeyword(node) { + return node.kind === ts9.SyntaxKind.StaticKeyword; +} +function isStringKeyword(node) { + return node.kind === ts9.SyntaxKind.StringKeyword; +} +function isSuperExpression(node) { + return node.kind === ts9.SyntaxKind.SuperKeyword; +} +function isSuperKeyword(node) { + return node.kind === ts9.SyntaxKind.SuperKeyword; +} +function isSymbolKeyword(node) { + return node.kind === ts9.SyntaxKind.SymbolKeyword; +} +function isSyntaxList(node) { + return node.kind === ts9.SyntaxKind.SyntaxList; +} +function isThisExpression(node) { + return node.kind === ts9.SyntaxKind.ThisKeyword; +} +function isThisKeyword(node) { + return node.kind === ts9.SyntaxKind.ThisKeyword; +} +function isTrueKeyword(node) { + return node.kind === ts9.SyntaxKind.TrueKeyword; +} +function isTrueLiteral(node) { + return node.kind === ts9.SyntaxKind.TrueKeyword; +} +function isUndefinedKeyword(node) { + return node.kind === ts9.SyntaxKind.UndefinedKeyword; +} +function isUnknownKeyword(node) { + return node.kind === ts9.SyntaxKind.UnknownKeyword; +} +function isVoidKeyword(node) { + return node.kind === ts9.SyntaxKind.VoidKeyword; +} +var [tsMajor, tsMinor] = ts9.versionMajorMinor.split(".").map((raw) => Number.parseInt(raw, 10)); +function isTsVersionAtLeast(major, minor = 0) { + return tsMajor > major || tsMajor === major && tsMinor >= minor; +} + +// src/nodes/typeGuards/union.ts +function hasDecorators(node) { + return ts9.isParameter(node) || ts9.isPropertyDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isClassExpression(node) || ts9.isClassDeclaration(node); +} +function hasExpressionInitializer(node) { + return ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isBindingElement(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertyAssignment(node) || ts9.isEnumMember(node); +} +function hasInitializer(node) { + return hasExpressionInitializer(node) || ts9.isForStatement(node) || ts9.isForInStatement(node) || ts9.isForOfStatement(node) || ts9.isJsxAttribute(node); +} +function hasJSDoc(node) { + if ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9.isArrowFunction(node) || ts9.isBlock(node) || ts9.isBreakStatement(node) || ts9.isCallSignatureDeclaration(node) || ts9.isCaseClause(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isConstructorTypeNode(node) || ts9.isConstructSignatureDeclaration(node) || ts9.isContinueStatement(node) || ts9.isDebuggerStatement(node) || ts9.isDoStatement(node) || ts9.isEmptyStatement(node) || isEndOfFileToken(node) || ts9.isEnumDeclaration(node) || ts9.isEnumMember(node) || ts9.isExportAssignment(node) || ts9.isExportDeclaration(node) || ts9.isExportSpecifier(node) || ts9.isExpressionStatement(node) || ts9.isForInStatement(node) || ts9.isForOfStatement(node) || ts9.isForStatement(node) || ts9.isFunctionDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isFunctionTypeNode(node) || ts9.isIfStatement(node) || ts9.isImportDeclaration(node) || ts9.isImportEqualsDeclaration(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isJSDocFunctionType(node) || ts9.isLabeledStatement(node) || ts9.isMethodDeclaration(node) || ts9.isMethodSignature(node) || ts9.isModuleDeclaration(node) || ts9.isNamedTupleMember(node) || ts9.isNamespaceExportDeclaration(node) || ts9.isParameter(node) || ts9.isParenthesizedExpression(node) || ts9.isPropertyAssignment(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertySignature(node) || ts9.isReturnStatement(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isSpreadAssignment(node) || ts9.isSwitchStatement(node) || ts9.isThrowStatement(node) || ts9.isTryStatement(node) || ts9.isTypeAliasDeclaration(node) || ts9.isVariableDeclaration(node) || ts9.isVariableStatement(node) || ts9.isWhileStatement(node) || ts9.isWithStatement(node) + ) { + return true; + } + if (isTsVersionAtLeast(4, 4) && ts9.isClassStaticBlockDeclaration(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9.isBinaryExpression(node) || ts9.isElementAccessExpression(node) || ts9.isIdentifier(node) || ts9.isJSDocSignature(node) || ts9.isObjectLiteralExpression(node) || ts9.isPropertyAccessExpression(node) || ts9.isTypeParameterDeclaration(node))) { + return true; + } + return false; +} +function hasModifiers(node) { + return ts9.isTypeParameterDeclaration(node) || ts9.isParameter(node) || ts9.isConstructorTypeNode(node) || ts9.isPropertySignature(node) || ts9.isPropertyDeclaration(node) || ts9.isMethodSignature(node) || ts9.isMethodDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node) || ts9.isClassExpression(node) || ts9.isVariableStatement(node) || ts9.isFunctionDeclaration(node) || ts9.isClassDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeAliasDeclaration(node) || ts9.isEnumDeclaration(node) || ts9.isModuleDeclaration(node) || ts9.isImportEqualsDeclaration(node) || ts9.isImportDeclaration(node) || ts9.isExportAssignment(node) || ts9.isExportDeclaration(node); +} +function hasType(node) { + return isSignatureDeclaration(node) || ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isPropertySignature(node) || ts9.isPropertyDeclaration(node) || ts9.isTypePredicateNode(node) || ts9.isParenthesizedTypeNode(node) || ts9.isTypeOperatorNode(node) || ts9.isMappedTypeNode(node) || ts9.isAssertionExpression(node) || ts9.isTypeAliasDeclaration(node) || ts9.isJSDocTypeExpression(node) || ts9.isJSDocNonNullableType(node) || ts9.isJSDocNullableType(node) || ts9.isJSDocOptionalType(node) || ts9.isJSDocVariadicType(node); +} +function hasTypeArguments(node) { + return ts9.isCallExpression(node) || ts9.isNewExpression(node) || ts9.isTaggedTemplateExpression(node) || ts9.isJsxOpeningElement(node) || ts9.isJsxSelfClosingElement(node); +} +function isAccessExpression(node) { + return ts9.isPropertyAccessExpression(node) || ts9.isElementAccessExpression(node); +} +function isAccessibilityModifier(node) { + return isPublicKeyword(node) || isPrivateKeyword(node) || isProtectedKeyword(node); +} +function isAccessorDeclaration(node) { + return ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node); +} +function isArrayBindingElement(node) { + return ts9.isBindingElement(node) || ts9.isOmittedExpression(node); +} +function isArrayBindingOrAssignmentPattern(node) { + return ts9.isArrayBindingPattern(node) || ts9.isArrayLiteralExpression(node); +} +function isAssignmentPattern(node) { + return ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node); +} +function isBindingOrAssignmentElementRestIndicator(node) { + if (ts9.isSpreadElement(node) || ts9.isSpreadAssignment(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9.isDotDotDotToken(node); + } + return false; +} +function isBindingOrAssignmentElementTarget(node) { + return isBindingOrAssignmentPattern(node) || ts9.isIdentifier(node) || ts9.isPropertyAccessExpression(node) || ts9.isElementAccessExpression(node) || ts9.isOmittedExpression(node); +} +function isBindingOrAssignmentPattern(node) { + return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); +} +function isBindingPattern(node) { + return ts9.isObjectBindingPattern(node) || ts9.isArrayBindingPattern(node); +} +function isBlockLike(node) { + return ts9.isSourceFile(node) || ts9.isBlock(node) || ts9.isModuleBlock(node) || ts9.isCaseOrDefaultClause(node); +} +function isBooleanLiteral(node) { + return isTrueLiteral(node) || isFalseLiteral(node); +} +function isClassLikeDeclaration(node) { + return ts9.isClassDeclaration(node) || ts9.isClassExpression(node); +} +function isClassMemberModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node) || isStaticKeyword(node) || isAccessorKeyword(node); +} +function isDeclarationName(node) { + return ts9.isIdentifier(node) || ts9.isPrivateIdentifier(node) || ts9.isStringLiteralLike(node) || ts9.isNumericLiteral(node) || ts9.isComputedPropertyName(node) || ts9.isElementAccessExpression(node) || isBindingPattern(node) || isEntityNameExpression(node); +} +function isDeclarationWithTypeParameterChildren(node) { + return isSignatureDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeAliasDeclaration(node) || ts9.isJSDocTemplateTag(node); +} +function isDeclarationWithTypeParameters(node) { + return isDeclarationWithTypeParameterChildren(node) || ts9.isJSDocTypedefTag(node) || ts9.isJSDocCallbackTag(node) || ts9.isJSDocSignature(node); +} +function isDestructuringPattern(node) { + return isBindingPattern(node) || ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node); +} +function isEntityNameExpression(node) { + return ts9.isIdentifier(node) || isPropertyAccessEntityNameExpression(node); +} +function isEntityNameOrEntityNameExpression(node) { + return ts9.isEntityName(node) || isEntityNameExpression(node); +} +function isForInOrOfStatement(node) { + return ts9.isForInStatement(node) || ts9.isForOfStatement(node); +} +function isFunctionLikeDeclaration(node) { + return ts9.isFunctionDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node); +} +function isJSDocComment(node) { + if (isJSDocText(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9.isJSDocLink(node) || ts9.isJSDocLinkCode(node) || ts9.isJSDocLinkPlain(node); + } + return false; +} +function isJSDocNamespaceBody(node) { + return ts9.isIdentifier(node) || isJSDocNamespaceDeclaration(node); +} +function isJSDocTypeReferencingNode(node) { + return ts9.isJSDocVariadicType(node) || ts9.isJSDocOptionalType(node) || ts9.isJSDocNullableType(node) || ts9.isJSDocNonNullableType(node); +} +function isJsonObjectExpression(node) { + return ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node) || isJsonMinusNumericLiteral(node) || ts9.isNumericLiteral(node) || ts9.isStringLiteral(node) || isBooleanLiteral(node) || isNullLiteral(node); +} +function isJsxAttributeLike(node) { + return ts9.isJsxAttribute(node) || ts9.isJsxSpreadAttribute(node); +} +function isJsxAttributeValue(node) { + return ts9.isStringLiteral(node) || ts9.isJsxExpression(node) || ts9.isJsxElement(node) || ts9.isJsxSelfClosingElement(node) || ts9.isJsxFragment(node); +} +function isJsxChild(node) { + return ts9.isJsxText(node) || ts9.isJsxExpression(node) || ts9.isJsxElement(node) || ts9.isJsxSelfClosingElement(node) || ts9.isJsxFragment(node); +} +function isJsxTagNameExpression(node) { + return ts9.isIdentifier(node) || isThisExpression(node) || isJsxTagNamePropertyAccess(node); +} +function isLiteralToken(node) { + return ts9.isNumericLiteral(node) || ts9.isBigIntLiteral(node) || ts9.isStringLiteral(node) || ts9.isJsxText(node) || ts9.isRegularExpressionLiteral(node) || ts9.isNoSubstitutionTemplateLiteral(node); +} +function isModuleBody(node) { + return isNamespaceBody(node) || isJSDocNamespaceBody(node); +} +function isModuleName(node) { + return ts9.isIdentifier(node) || ts9.isStringLiteral(node); +} +function isModuleReference(node) { + return ts9.isEntityName(node) || ts9.isExternalModuleReference(node); +} +function isNamedImportBindings(node) { + return ts9.isNamespaceImport(node) || ts9.isNamedImports(node); +} +function isNamedImportsOrExports(node) { + return ts9.isNamedImports(node) || ts9.isNamedExports(node); +} +function isNamespaceBody(node) { + return ts9.isModuleBlock(node) || isNamespaceDeclaration(node); +} +function isObjectBindingOrAssignmentElement(node) { + return ts9.isBindingElement(node) || ts9.isPropertyAssignment(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isSpreadAssignment(node); +} +function isObjectBindingOrAssignmentPattern(node) { + return ts9.isObjectBindingPattern(node) || ts9.isObjectLiteralExpression(node); +} +function isObjectTypeDeclaration(node) { + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeLiteralNode(node) + ); +} +function isParameterPropertyModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node); +} +function isPropertyNameLiteral(node) { + return ts9.isIdentifier(node) || ts9.isStringLiteralLike(node) || ts9.isNumericLiteral(node); +} +function isPseudoLiteralToken(node) { + return ts9.isTemplateHead(node) || ts9.isTemplateMiddle(node) || ts9.isTemplateTail(node); +} +function isSignatureDeclaration(node) { + return ts9.isCallSignatureDeclaration(node) || ts9.isConstructSignatureDeclaration(node) || ts9.isMethodSignature(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isFunctionTypeNode(node) || ts9.isConstructorTypeNode(node) || ts9.isJSDocFunctionType(node) || ts9.isFunctionDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isConstructorDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node); +} +function isSuperProperty(node) { + return isSuperPropertyAccessExpression(node) || isSuperElementAccessExpression(node); +} +function isTypeOnlyCompatibleAliasDeclaration(node) { + if (ts9.isImportClause(node) || ts9.isImportEqualsDeclaration(node) || ts9.isNamespaceImport(node) || ts9.isImportOrExportSpecifier(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9.isExportDeclaration(node) || ts9.isNamespaceExport(node))) { + return true; + } + return false; +} +function isTypeReferenceType(node) { + return ts9.isTypeReferenceNode(node) || ts9.isExpressionWithTypeArguments(node); +} +function isUnionOrIntersectionTypeNode(node) { + return ts9.isUnionTypeNode(node) || ts9.isIntersectionTypeNode(node); +} +function isVariableLikeDeclaration(node) { + return ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isBindingElement(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertyAssignment(node) || ts9.isPropertySignature(node) || ts9.isJsxAttribute(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isEnumMember(node) || ts9.isJSDocPropertyTag(node) || ts9.isJSDocParameterTag(node); +} + +// src/nodes/typeGuards/compound.ts +function isConstAssertionExpression(node) { + return ts9.isTypeReferenceNode(node.type) && ts9.isIdentifier(node.type.typeName) && node.type.typeName.escapedText === "const"; +} +function isIterationStatement(node) { + switch (node.kind) { + case ts9.SyntaxKind.DoStatement: + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.WhileStatement: + return true; + default: + return false; + } +} +function isJSDocNamespaceDeclaration(node) { + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); +} +function isJsxTagNamePropertyAccess(node) { + return ts9.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 + isJsxTagNameExpression(node.expression); +} +function isNamedDeclarationWithName(node) { + return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); +} +function isNamespaceDeclaration(node) { + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); +} +function isNumericOrStringLikeLiteral(node) { + switch (node.kind) { + case ts9.SyntaxKind.NoSubstitutionTemplateLiteral: + case ts9.SyntaxKind.NumericLiteral: + case ts9.SyntaxKind.StringLiteral: + return true; + default: + return false; + } +} +function isPropertyAccessEntityNameExpression(node) { + return ts9.isPropertyAccessExpression(node) && ts9.isIdentifier(node.name) && isEntityNameExpression(node.expression); +} +function isSuperElementAccessExpression(node) { + return ts9.isElementAccessExpression(node) && isSuperExpression(node.expression); +} +function isSuperPropertyAccessExpression(node) { + return ts9.isPropertyAccessExpression(node) && isSuperExpression(node.expression); +} +function isFunctionScopeBoundary(node) { + switch (node.kind) { + case ts9.SyntaxKind.ArrowFunction: + case ts9.SyntaxKind.CallSignature: + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + case ts9.SyntaxKind.Constructor: + case ts9.SyntaxKind.ConstructorType: + case ts9.SyntaxKind.ConstructSignature: + case ts9.SyntaxKind.EnumDeclaration: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.FunctionType: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.ModuleDeclaration: + case ts9.SyntaxKind.SetAccessor: + return true; + case ts9.SyntaxKind.SourceFile: + return ts9.isExternalModule(node); + default: + return false; + } +} +function isIntrinsicAnyType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Any); +} +function isIntrinsicBigIntType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BigInt); +} +function isIntrinsicBooleanType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Boolean); +} +function isIntrinsicErrorType(type) { + return isIntrinsicType(type) && type.intrinsicName === "error"; +} +function isIntrinsicESSymbolType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.ESSymbol); +} +var IntrinsicTypeFlags = ts9.TypeFlags.Intrinsic ?? ts9.TypeFlags.Any | ts9.TypeFlags.Unknown | ts9.TypeFlags.String | ts9.TypeFlags.Number | ts9.TypeFlags.BigInt | ts9.TypeFlags.Boolean | ts9.TypeFlags.BooleanLiteral | ts9.TypeFlags.ESSymbol | ts9.TypeFlags.Void | ts9.TypeFlags.Undefined | ts9.TypeFlags.Null | ts9.TypeFlags.Never | ts9.TypeFlags.NonPrimitive; +function isIntrinsicNeverType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Never); +} +function isIntrinsicNonPrimitiveType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.NonPrimitive); +} +function isIntrinsicNullType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Null); +} +function isIntrinsicNumberType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Number); +} +function isIntrinsicStringType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.String); +} +function isIntrinsicType(type) { + return isTypeFlagSet(type, IntrinsicTypeFlags); +} +function isIntrinsicUndefinedType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Undefined); +} +function isIntrinsicUnknownType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Unknown); +} +function isIntrinsicVoidType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Void); +} +function isConditionalType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Conditional); +} +function isEnumType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Enum); +} +function isFreshableType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Freshable); +} +function isIndexedAccessType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.IndexedAccess); +} +function isIndexType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Index); +} +function isInstantiableType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Instantiable); +} +function isIntersectionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Intersection); +} +function isObjectType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Object); +} +function isStringMappingType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.StringMapping); +} +function isSubstitutionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Substitution); +} +function isTypeParameter(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TypeParameter); +} +function isTypeVariable(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TypeVariable); +} +function isUnionOrIntersectionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.UnionOrIntersection); +} +function isUnionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Union); +} +function isUniqueESSymbolType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.UniqueESSymbol); +} + +// src/types/typeGuards/objects.ts +function isEvolvingArrayType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.EvolvingArray); +} +function isTupleType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.Tuple); +} +function isTypeReference(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.Reference); +} + +// src/types/typeGuards/compound.ts +function isFreshableIntrinsicType(type) { + return isIntrinsicType(type) && isFreshableType(type); +} +function isTupleTypeReference(type) { + return isTypeReference(type) && isTupleType(type.target); +} +function isBigIntLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BigIntLiteral); +} +function isBooleanLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BooleanLiteral); +} +function isFalseLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "false"; +} +function isLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Literal); +} +function isNumberLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.NumberLiteral); +} +function isStringLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.StringLiteral); +} +function isTemplateLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TemplateLiteral); +} +function isTrueLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "true"; +} + +// src/types/getters.ts +function getCallSignaturesOfType(type) { + if (isUnionType(type)) { + const signatures = []; + for (const subType of type.types) { + signatures.push(...getCallSignaturesOfType(subType)); + } + return signatures; + } + if (isIntersectionType(type)) { + let signatures; + for (const subType of type.types) { + const sig = getCallSignaturesOfType(subType); + if (sig.length !== 0) { + if (signatures !== void 0) { + return []; + } + signatures = sig; + } + } + return signatures === void 0 ? [] : signatures; + } + return type.getCallSignatures(); +} +function getPropertyOfType(type, name) { + if (!name.startsWith("__")) { + return type.getProperty(name); + } + return type.getProperties().find((s) => s.escapedName === name); +} +function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker) { + const prefix = "__@" + wellKnownSymbolName; + for (const prop of type.getProperties()) { + if (!prop.name.startsWith(prefix)) { + continue; + } + const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; + if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9.isComputedPropertyName(declaration.name)) { + continue; + } + const globalSymbol = typeChecker.getApparentType( + typeChecker.getTypeAtLocation(declaration.name.expression) + ).symbol; + if (prop.escapedName === getPropertyNameOfWellKnownSymbol( + typeChecker, + globalSymbol, + wellKnownSymbolName + )) { + return prop; + } + } + return void 0; +} +function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { + const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( + symbolConstructor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + symbolConstructor.valueDeclaration + ).getProperty(symbolName); + const knownSymbolType = knownSymbol && typeChecker.getTypeOfSymbolAtLocation( + knownSymbol, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + knownSymbol.valueDeclaration + ); + if (knownSymbolType && isUniqueESSymbolType(knownSymbolType)) { + return knownSymbolType.escapedName; + } + return "__@" + symbolName; +} +function isBindableObjectDefinePropertyCall(node) { + return node.arguments.length === 3 && isEntityNameExpression(node.arguments[0]) && isNumericOrStringLikeLiteral(node.arguments[1]) && ts9.isPropertyAccessExpression(node.expression) && node.expression.name.escapedText === "defineProperty" && ts9.isIdentifier(node.expression.expression) && node.expression.expression.escapedText === "Object"; +} +function isInConstContext(node, typeChecker) { + let current = node; + while (true) { + const parent = current.parent; + outer: switch (parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.ObjectLiteralExpression: + case ts9.SyntaxKind.ParenthesizedExpression: + case ts9.SyntaxKind.TemplateExpression: + current = parent; + break; + case ts9.SyntaxKind.AsExpression: + case ts9.SyntaxKind.TypeAssertionExpression: + return isConstAssertionExpression(parent); + case ts9.SyntaxKind.CallExpression: { + if (!ts9.isExpression(current)) { + return false; + } + const functionSignature = typeChecker.getResolvedSignature( + parent + ); + if (functionSignature === void 0) { + return false; + } + const argumentIndex = parent.arguments.indexOf( + current + ); + if (argumentIndex < 0) { + return false; + } + const parameterSymbol = functionSignature.getParameters()[argumentIndex]; + if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + return false; + } + const parameterSymbolLinks = parameterSymbol.links; + const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; + if (propertySymbol === void 0 || !("links" in propertySymbol)) { + return false; + } + return isTransientSymbolLinksFlagSet( + propertySymbol.links, + ts9.CheckFlags.Readonly + ); + } + case ts9.SyntaxKind.PrefixUnaryExpression: + if (current.kind !== ts9.SyntaxKind.NumericLiteral) { + return false; + } + switch (parent.operator) { + case ts9.SyntaxKind.MinusToken: + case ts9.SyntaxKind.PlusToken: + current = parent; + break outer; + default: + return false; + } + case ts9.SyntaxKind.PropertyAssignment: + if (parent.initializer !== current) { + return false; + } + current = parent.parent; + break; + case ts9.SyntaxKind.ShorthandPropertyAssignment: + current = parent.parent; + break; + default: + return false; + } + } +} + +// src/types/utilities.ts +function intersectionTypeParts(type) { + return isIntersectionType(type) ? type.types : [type]; +} +function isFalsyType(type) { + if (isTypeFlagSet( + type, + ts9.TypeFlags.Undefined | ts9.TypeFlags.Null | ts9.TypeFlags.Void + )) { + return true; + } + if (typeIsLiteral(type)) { + if (typeof type.value === "object") { + return type.value.base10Value === "0"; + } else { + return !type.value; + } + } + return isFalseLiteralType(type); +} +function isPropertyReadonlyInType(type, name, typeChecker) { + let seenProperty = false; + let seenReadonlySignature = false; + for (const subType of unionTypeParts(type)) { + if (getPropertyOfType(subType, name) === void 0) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); + if (index?.isReadonly) { + if (seenProperty) { + return true; + } + seenReadonlySignature = true; + } + } else if (seenReadonlySignature || isReadonlyPropertyIntersection(subType, name, typeChecker)) { + return true; + } else { + seenProperty = true; + } + } + return false; +} +function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { + for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { + const then = typePart.getProperty("then"); + if (then === void 0) { + continue; + } + const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); + for (const subTypePart of unionTypeParts(thenType)) { + for (const signature of subTypePart.getCallSignatures()) { + if (signature.parameters.length !== 0 && isCallback(typeChecker, signature.parameters[0], node)) { + return true; + } + } + } + } + return false; +} +function symbolHasReadonlyDeclaration(symbol, typeChecker) { + return !!((symbol.flags & ts9.SymbolFlags.Accessor) === ts9.SymbolFlags.GetAccessor || symbol.declarations?.some( + (node) => isModifierFlagSet(node, ts9.ModifierFlags.Readonly) || ts9.isVariableDeclaration(node) && isNodeFlagSet(node.parent, ts9.NodeFlags.Const) || ts9.isCallExpression(node) && isReadonlyAssignmentDeclaration(node, typeChecker) || ts9.isEnumMember(node) || (ts9.isPropertyAssignment(node) || ts9.isShorthandPropertyAssignment(node)) && isInConstContext(node, typeChecker) + )); +} +function typeIsLiteral(type) { + if (isTsVersionAtLeast(5, 0)) { + return type.isLiteral(); + } else { + return isTypeFlagSet( + type, + ts9.TypeFlags.StringLiteral | ts9.TypeFlags.NumberLiteral | ts9.TypeFlags.BigIntLiteral + ); + } +} +function typeParts(type) { + return isIntersectionType(type) || isUnionType(type) ? type.types : [type]; +} +function unionTypeParts(type) { + return isUnionType(type) ? type.types : [type]; +} +function isCallback(typeChecker, param, node) { + let type = typeChecker.getApparentType( + typeChecker.getTypeOfSymbolAtLocation(param, node) + ); + if (param.valueDeclaration.dotDotDotToken) { + type = type.getNumberIndexType(); + if (type === void 0) { + return false; + } + } + for (const subType of unionTypeParts(type)) { + if (subType.getCallSignatures().length !== 0) { + return true; + } + } + return false; +} +function isReadonlyAssignmentDeclaration(node, typeChecker) { + if (!isBindableObjectDefinePropertyCall(node)) { + return false; + } + const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); + if (descriptorType.getProperty("value") === void 0) { + return descriptorType.getProperty("set") === void 0; + } + const writableProp = descriptorType.getProperty("writable"); + if (writableProp === void 0) { + return false; + } + const writableType = writableProp.valueDeclaration !== void 0 && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + return isFalseLiteralType(writableType); +} +function isReadonlyPropertyFromMappedType(type, name, typeChecker) { + if (!isObjectType(type) || !isObjectFlagSet(type, ts9.ObjectFlags.Mapped)) { + return; + } + const declaration = type.symbol.declarations[0]; + if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + return declaration.readonlyToken.kind !== ts9.SyntaxKind.MinusToken; + } + const { modifiersType } = type; + return modifiersType && isPropertyReadonlyInType(modifiersType, name, typeChecker); +} +function isReadonlyPropertyIntersection(type, name, typeChecker) { + const typeParts2 = isIntersectionType(type) ? type.types : [type]; + return typeParts2.some((subType) => { + const prop = getPropertyOfType(subType, name); + if (prop === void 0) { + return false; + } + if (prop.flags & ts9.SymbolFlags.Transient) { + if (/^(?:[1-9]\d*|0)$/.test(name) && isTupleTypeReference(subType)) { + return subType.target.readonly; + } + switch (isReadonlyPropertyFromMappedType(subType, name, typeChecker)) { + case false: + return false; + case true: + return true; + } + } + return !!// members of namespace import + (isSymbolFlagSet(prop, ts9.SymbolFlags.ValueModule) || // we unwrapped every mapped type, now we can check the actual declarations + symbolHasReadonlyDeclaration(prop, typeChecker)); + }); +} +function identifierToKeywordKind(node) { + return "originalKeywordKind" in node ? node.originalKeywordKind : ts9.identifierToKeywordKind(node); +} + +// src/usage/declarations.ts +var DeclarationDomain = /* @__PURE__ */ ((DeclarationDomain2) => { + DeclarationDomain2[DeclarationDomain2["Namespace"] = 1] = "Namespace"; + DeclarationDomain2[DeclarationDomain2["Type"] = 2] = "Type"; + DeclarationDomain2[DeclarationDomain2["Value"] = 4] = "Value"; + DeclarationDomain2[DeclarationDomain2["Any"] = 7] = "Any"; + DeclarationDomain2[DeclarationDomain2["Import"] = 8] = "Import"; + return DeclarationDomain2; +})(DeclarationDomain || {}); +function getDeclarationDomain(node) { + switch (node.parent.kind) { + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + return 2 /* Type */ | 4 /* Value */; + case ts9.SyntaxKind.EnumDeclaration: + return 7 /* Any */; + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + return 4 /* Value */; + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.NamespaceImport: + return 7 /* Any */ | 8 /* Import */; + // TODO handle type-only imports + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.ImportSpecifier: + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.TypeAliasDeclaration: + case ts9.SyntaxKind.TypeParameter: + return 2 /* Type */; + case ts9.SyntaxKind.ModuleDeclaration: + return 1 /* Namespace */; + case ts9.SyntaxKind.Parameter: + if (node.parent.parent.kind === ts9.SyntaxKind.IndexSignature || identifierToKeywordKind(node) === ts9.SyntaxKind.ThisKeyword) { + return; + } + // falls through + case ts9.SyntaxKind.BindingElement: + case ts9.SyntaxKind.VariableDeclaration: + return node.parent.name === node ? 4 /* Value */ : void 0; + } +} +function getPropertyName(propertyName) { + if (propertyName.kind === ts9.SyntaxKind.ComputedPropertyName) { + const expression = unwrapParentheses(propertyName.expression); + if (ts9.isPrefixUnaryExpression(expression)) { + let negate = false; + switch (expression.operator) { + case ts9.SyntaxKind.MinusToken: + negate = true; + // falls through + case ts9.SyntaxKind.PlusToken: + return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + default: + return; + } + } + if (ts9.isBigIntLiteral(expression)) { + return expression.text.slice(0, -1); + } + if (isNumericOrStringLikeLiteral(expression)) { + return expression.text; + } + return; + } + return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; +} +function unwrapParentheses(node) { + while (node.kind === ts9.SyntaxKind.ParenthesizedExpression) { + node = node.expression; + } + return node; +} +var UsageDomain = /* @__PURE__ */ ((UsageDomain2) => { + UsageDomain2[UsageDomain2["Namespace"] = 1] = "Namespace"; + UsageDomain2[UsageDomain2["Type"] = 2] = "Type"; + UsageDomain2[UsageDomain2["Value"] = 4] = "Value"; + UsageDomain2[UsageDomain2["Any"] = 7] = "Any"; + UsageDomain2[UsageDomain2["TypeQuery"] = 8] = "TypeQuery"; + UsageDomain2[UsageDomain2["ValueOrNamespace"] = 5] = "ValueOrNamespace"; + return UsageDomain2; +})(UsageDomain || {}); +function getUsageDomain(node) { + const parent = node.parent; + switch (parent.kind) { + // Value + case ts9.SyntaxKind.BindingElement: + if (parent.initializer === node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9.SyntaxKind.BreakStatement: + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + case ts9.SyntaxKind.ContinueStatement: + case ts9.SyntaxKind.EnumDeclaration: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.ImportSpecifier: + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.JsxAttribute: + case ts9.SyntaxKind.LabeledStatement: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.ModuleDeclaration: + case ts9.SyntaxKind.NamedTupleMember: + case ts9.SyntaxKind.NamespaceExport: + case ts9.SyntaxKind.NamespaceExportDeclaration: + case ts9.SyntaxKind.NamespaceImport: + case ts9.SyntaxKind.PropertySignature: + case ts9.SyntaxKind.SetAccessor: + case ts9.SyntaxKind.TypeAliasDeclaration: + case ts9.SyntaxKind.TypeParameter: + case ts9.SyntaxKind.TypePredicate: + break; + case ts9.SyntaxKind.EnumMember: + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.Parameter: + case ts9.SyntaxKind.PropertyAccessExpression: + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.PropertyDeclaration: + case ts9.SyntaxKind.VariableDeclaration: + if (parent.name !== node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9.SyntaxKind.ExportAssignment: + return 7 /* Any */; + case ts9.SyntaxKind.ExportSpecifier: + if (parent.propertyName === void 0 || parent.propertyName === node) { + return 7 /* Any */; + } + break; + case ts9.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9.SyntaxKind.ImplementsKeyword || parent.parent.parent.kind === ts9.SyntaxKind.InterfaceDeclaration ? 2 /* Type */ : 4 /* Value */; + case ts9.SyntaxKind.QualifiedName: + if (parent.left === node) { + if (getEntityNameParent(parent).kind === ts9.SyntaxKind.TypeQuery) { + return 1 /* Namespace */ | 8 /* TypeQuery */; + } + return 1 /* Namespace */; + } + break; + case ts9.SyntaxKind.TypeQuery: + return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; + case ts9.SyntaxKind.TypeReference: + return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + default: + return 5 /* ValueOrNamespace */; + } +} +function getEntityNameParent(name) { + let parent = name.parent; + while (parent.kind === ts9.SyntaxKind.QualifiedName) { + parent = parent.parent; + } + return parent; +} +function isBlockScopeBoundary(node) { + switch (node.kind) { + case ts9.SyntaxKind.Block: { + const parent = node.parent; + return parent.kind !== ts9.SyntaxKind.CatchClause && // blocks inside SourceFile are block scope boundaries + (parent.kind === ts9.SyntaxKind.SourceFile || // blocks that are direct children of a function scope boundary are no scope boundary + // for example the FunctionBlock is part of the function scope of the containing function + !isFunctionScopeBoundary(parent)) ? 2 /* Block */ : 0 /* None */; + } + case ts9.SyntaxKind.CaseBlock: + case ts9.SyntaxKind.CatchClause: + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.WithStatement: + return 2 /* Block */; + default: + return 0 /* None */; + } +} + +// src/usage/scopes.ts +var AbstractScope = class { + constructor(global) { + this.global = global; + } + namespaceScopes = void 0; + uses = []; + variables = /* @__PURE__ */ new Map(); + #enumScopes = void 0; + addUse(use) { + this.uses.push(use); + } + addVariable(identifier, name, selector, exported, domain) { + const variables = this.getDestinationScope(selector).getVariables(); + const declaration = { + declaration: name, + domain, + exported + }; + const variable = variables.get(identifier); + if (variable === void 0) { + variables.set(identifier, { + declarations: [declaration], + domain, + uses: [] + }); + } else { + variable.domain |= domain; + variable.declarations.push(declaration); + } + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + createOrReuseEnumScope(name, _exported) { + let scope; + if (this.#enumScopes === void 0) { + this.#enumScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.#enumScopes.get(name); + } + if (scope === void 0) { + scope = new EnumScope(this); + this.#enumScopes.set(name, scope); + } + return scope; + } + // only relevant for the root scope + createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { + let scope; + if (this.namespaceScopes === void 0) { + this.namespaceScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.namespaceScopes.get(name); + } + if (scope === void 0) { + scope = new NamespaceScope(ambient, hasExportStatement, this); + this.namespaceScopes.set(name, scope); + } else { + scope.refresh(ambient, hasExportStatement); + } + return scope; + } + end(cb) { + if (this.namespaceScopes !== void 0) { + this.namespaceScopes.forEach((value) => value.finish(cb)); + } + this.namespaceScopes = this.#enumScopes = void 0; + this.applyUses(); + this.variables.forEach((variable) => { + for (const declaration of variable.declarations) { + const result = { + declarations: [], + domain: declaration.domain, + exported: declaration.exported, + inGlobalScope: this.global, + uses: [] + }; + for (const other of variable.declarations) { + if (other.domain & declaration.domain) { + result.declarations.push(other.declaration); + } + } + for (const use of variable.uses) { + if (use.domain & declaration.domain) { + result.uses.push(use); + } + } + cb(result, declaration.declaration, this); + } + }); + } + getFunctionScope() { + return this; + } + getVariables() { + return this.variables; + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + markExported(_name) { + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + addUseToParent(_use) { + } + applyUse(use, variables = this.variables) { + const variable = variables.get(use.location.text); + if (variable === void 0 || (variable.domain & use.domain) === 0) { + return false; + } + variable.uses.push(use); + return true; + } + applyUses() { + for (const use of this.uses) { + if (!this.applyUse(use)) { + this.addUseToParent(use); + } + } + this.uses = []; + } +}; +var NonRootScope = class extends AbstractScope { + constructor(parent, boundary) { + super(false); + this.parent = parent; + this.boundary = boundary; + } + getDestinationScope(selector) { + return this.boundary & selector ? this : this.parent.getDestinationScope(selector); + } + addUseToParent(use) { + return this.parent.addUse(use, this); + } +}; +var AbstractNamedExpressionScope = class extends NonRootScope { + #domain; + #name; + constructor(name, domain, parent) { + super(parent, 1 /* Function */); + this.#name = name; + this.#domain = domain; + } + addUse(use, source) { + if (source !== this.innerScope) { + return this.innerScope.addUse(use); + } + if (use.domain & this.#domain && use.location.text === this.#name.text) { + this.uses.push(use); + } else { + return this.parent.addUse(use, this); + } + } + end(cb) { + this.innerScope.end(cb); + return cb( + { + declarations: [this.#name], + domain: this.#domain, + exported: false, + inGlobalScope: false, + uses: this.uses + }, + this.#name, + this + ); + } + getDestinationScope() { + return this.innerScope; + } + getFunctionScope() { + return this.innerScope; + } +}; +var BlockScope = class extends NonRootScope { + #functionScope; + constructor(functionScope, parent) { + super(parent, 2 /* Block */); + this.#functionScope = functionScope; + } + getFunctionScope() { + return this.#functionScope; + } +}; +var ClassExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new NonRootScope(this, 1 /* Function */); + constructor(name, parent) { + super(name, 4 /* Value */ | 2 /* Type */, parent); + } +}; +var ConditionalTypeScope = class extends NonRootScope { + #state = 0 /* Initial */; + constructor(parent) { + super(parent, 8 /* ConditionalType */); + } + addUse(use) { + if (this.#state === 2 /* TrueType */) { + return void this.uses.push(use); + } + return this.parent.addUse(use, this); + } + updateState(newState) { + this.#state = newState; + } +}; +var EnumScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + end() { + this.applyUses(); + } +}; +var FunctionScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + beginBody() { + this.applyUses(); + } +}; +var FunctionExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new FunctionScope(this); + constructor(name, parent) { + super(name, 4 /* Value */, parent); + } + beginBody() { + return this.innerScope.beginBody(); + } +}; +var NamespaceScope = class extends NonRootScope { + #ambient; + #exports = void 0; + #hasExport; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(ambient, hasExport, parent) { + super(parent, 1 /* Function */); + this.#ambient = ambient; + this.#hasExport = hasExport; + } + addUse(use, source) { + if (source !== this.#innerScope) { + return this.#innerScope.addUse(use); + } + this.uses.push(use); + } + createOrReuseEnumScope(name, exported) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseEnumScope(name, exported); + } + return super.createOrReuseEnumScope(name, exported); + } + createOrReuseNamespaceScope(name, exported, ambient, hasExportStatement) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + return super.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + end(cb) { + this.#innerScope.end((variable, key, scope) => { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + return cb(variable, key, scope); + } + const namespaceVar = this.variables.get(key.text); + if (namespaceVar === void 0) { + this.variables.set(key.text, { + declarations: variable.declarations.map(mapDeclaration), + domain: variable.domain, + uses: [...variable.uses] + }); + } else { + outer: for (const declaration of variable.declarations) { + for (const existing of namespaceVar.declarations) { + if (existing.declaration === declaration) { + continue outer; + } + namespaceVar.declarations.push(mapDeclaration(declaration)); + } + } + namespaceVar.domain |= variable.domain; + for (const use of variable.uses) { + if (namespaceVar.uses.includes(use)) { + continue; + } + namespaceVar.uses.push(use); + } + } + }); + this.applyUses(); + this.#innerScope = new NonRootScope(this, 1 /* Function */); + } + finish(cb) { + return super.end(cb); + } + getDestinationScope() { + return this.#innerScope; + } + markExported(name) { + if (this.#exports === void 0) { + this.#exports = /* @__PURE__ */ new Set(); + } + this.#exports.add(name.text); + } + refresh(ambient, hasExport) { + this.#ambient = ambient; + this.#hasExport = hasExport; + } +}; +var RootScope = class extends AbstractScope { + #exportAll; + #exports = void 0; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(exportAll, global) { + super(global); + this.#exportAll = exportAll; + } + addUse(use, origin) { + if (origin === this.#innerScope) { + return super.addUse(use); + } + return this.#innerScope.addUse(use); + } + addVariable(identifier, name, selector, exported, domain) { + if (domain & 8 /* Import */) { + return super.addVariable(identifier, name, selector, exported, domain); + } + return this.#innerScope.addVariable( + identifier, + name, + selector, + exported, + domain + ); + } + end(cb) { + this.#innerScope.end((value, key) => { + value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.inGlobalScope = this.global; + return cb(value, key, this); + }); + return super.end((value, key, scope) => { + value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + return cb(value, key, scope); + }); + } + getDestinationScope() { + return this; + } + markExported(id) { + if (this.#exports === void 0) { + this.#exports = [id.text]; + } else { + this.#exports.push(id.text); + } + } +}; +function mapDeclaration(declaration) { + return { + declaration, + domain: getDeclarationDomain(declaration), + exported: true + }; +} + +// src/usage/UsageWalker.ts +var UsageWalker = class { + #result = /* @__PURE__ */ new Map(); + #scope; + getUsage(sourceFile) { + const variableCallback = (variable, key) => { + this.#result.set(key, variable); + }; + const isModule = ts9.isExternalModule(sourceFile); + this.#scope = new RootScope( + sourceFile.isDeclarationFile && isModule && !containsExportStatement(sourceFile), + !isModule + ); + const cb = (node) => { + if (isBlockScopeBoundary(node)) { + return continueWithScope( + node, + new BlockScope(this.#scope.getFunctionScope(), this.#scope), + handleBlockScope + ); + } + switch (node.kind) { + case ts9.SyntaxKind.ArrowFunction: + case ts9.SyntaxKind.CallSignature: + case ts9.SyntaxKind.Constructor: + case ts9.SyntaxKind.ConstructorType: + case ts9.SyntaxKind.ConstructSignature: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.FunctionType: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.SetAccessor: + return this.#handleFunctionLikeDeclaration( + node, + cb, + variableCallback + ); + case ts9.SyntaxKind.ClassDeclaration: + this.#handleDeclaration( + node, + true, + 4 /* Value */ | 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9.SyntaxKind.ClassExpression: + return continueWithScope( + node, + node.name !== void 0 ? new ClassExpressionScope( + node.name, + this.#scope + ) : new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9.SyntaxKind.ConditionalType: + return this.#handleConditionalType( + node, + cb, + variableCallback + ); + case ts9.SyntaxKind.EnumDeclaration: + this.#handleDeclaration( + node, + true, + 7 /* Any */ + ); + return continueWithScope( + node, + this.#scope.createOrReuseEnumScope( + node.name.text, + includesModifier( + node.modifiers, + ts9.SyntaxKind.ExportKeyword + ) + ) + ); + case ts9.SyntaxKind.EnumMember: + this.#scope.addVariable( + getPropertyName(node.name), + node.name, + 1 /* Function */, + true, + 4 /* Value */ + ); + break; + case ts9.SyntaxKind.ExportAssignment: + if (node.expression.kind === ts9.SyntaxKind.Identifier) { + return this.#scope.markExported( + node.expression + ); + } + break; + case ts9.SyntaxKind.ExportSpecifier: + if (node.propertyName !== void 0) { + return this.#scope.markExported( + node.propertyName, + node.name + ); + } + return this.#scope.markExported(node.name); + case ts9.SyntaxKind.Identifier: { + const domain = getUsageDomain(node); + if (domain !== void 0) { + this.#scope.addUse({ domain, location: node }); + } + return; + } + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.ImportSpecifier: + case ts9.SyntaxKind.NamespaceImport: + this.#handleDeclaration( + node, + false, + 7 /* Any */ | 8 /* Import */ + ); + break; + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.TypeAliasDeclaration: + this.#handleDeclaration( + node, + true, + 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9.SyntaxKind.MappedType: + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9.SyntaxKind.ModuleDeclaration: + return this.#handleModule( + node, + continueWithScope + ); + case ts9.SyntaxKind.Parameter: + if (node.parent.kind !== ts9.SyntaxKind.IndexSignature && (node.name.kind !== ts9.SyntaxKind.Identifier || identifierToKeywordKind( + node.name + ) !== ts9.SyntaxKind.ThisKeyword)) { + this.#handleBindingName( + node.name, + false, + false + ); + } + break; + case ts9.SyntaxKind.TypeParameter: + this.#scope.addVariable( + node.name.text, + node.name, + node.parent.kind === ts9.SyntaxKind.InferType ? 8 /* InferType */ : 7 /* Type */, + false, + 2 /* Type */ + ); + break; + // End of Scope specific handling + case ts9.SyntaxKind.VariableDeclarationList: + this.#handleVariableDeclaration(node); + break; + } + return ts9.forEachChild(node, cb); + }; + const continueWithScope = (node, scope, next = forEachChild) => { + const savedScope = this.#scope; + this.#scope = scope; + next(node); + this.#scope.end(variableCallback); + this.#scope = savedScope; + }; + const handleBlockScope = (node) => { + if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + this.#handleBindingName( + node.variableDeclaration.name, + true, + false + ); + } + return ts9.forEachChild(node, cb); + }; + ts9.forEachChild(sourceFile, cb); + this.#scope.end(variableCallback); + return this.#result; + function forEachChild(node) { + return ts9.forEachChild(node, cb); + } + } + #handleBindingName(name, blockScoped, exported) { + if (name.kind === ts9.SyntaxKind.Identifier) { + return this.#scope.addVariable( + name.text, + name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + } + forEachDestructuringIdentifier(name, (declaration) => { + this.#scope.addVariable( + declaration.name.text, + declaration.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + }); + } + #handleConditionalType(node, cb, varCb) { + const savedScope = this.#scope; + const scope = this.#scope = new ConditionalTypeScope(savedScope); + cb(node.checkType); + scope.updateState(1 /* Extends */); + cb(node.extendsType); + scope.updateState(2 /* TrueType */); + cb(node.trueType); + scope.updateState(3 /* FalseType */); + cb(node.falseType); + scope.end(varCb); + this.#scope = savedScope; + } + #handleDeclaration(node, blockScoped, domain) { + if (node.name !== void 0) { + this.#scope.addVariable( + node.name.text, + node.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + includesModifier( + node.modifiers, + ts9.SyntaxKind.ExportKeyword + ), + domain + ); + } + } + #handleFunctionLikeDeclaration(node, cb, varCb) { + if (ts9.canHaveDecorators(node)) { + ts9.getDecorators(node)?.forEach(cb); + } + const savedScope = this.#scope; + if (node.kind === ts9.SyntaxKind.FunctionDeclaration) { + this.#handleDeclaration(node, false, 4 /* Value */); + } + const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== void 0) { + cb(node.name); + } + if (node.typeParameters !== void 0) { + node.typeParameters.forEach(cb); + } + node.parameters.forEach(cb); + if (node.type !== void 0) { + cb(node.type); + } + if (node.body !== void 0) { + scope.beginBody(); + cb(node.body); + } + scope.end(varCb); + this.#scope = savedScope; + } + #handleModule(node, next) { + if (node.flags & ts9.NodeFlags.GlobalAugmentation) { + return next( + node, + this.#scope.createOrReuseNamespaceScope("-global", false, true, false) + ); + } + if (node.name.kind === ts9.SyntaxKind.Identifier) { + const exported = isNamespaceExported(node); + this.#scope.addVariable( + node.name.text, + node.name, + 1 /* Function */, + exported, + 1 /* Namespace */ | 4 /* Value */ + ); + const ambient = includesModifier( + node.modifiers, + ts9.SyntaxKind.DeclareKeyword + ); + return next( + node, + this.#scope.createOrReuseNamespaceScope( + node.name.text, + exported, + ambient, + ambient && namespaceHasExportStatement(node) + ) + ); + } + return next( + node, + this.#scope.createOrReuseNamespaceScope( + `"${node.name.text}"`, + false, + true, + namespaceHasExportStatement(node) + ) + ); + } + #handleVariableDeclaration(declarationList) { + const blockScoped = isBlockScopedVariableDeclarationList(declarationList); + const exported = declarationList.parent.kind === ts9.SyntaxKind.VariableStatement && includesModifier( + declarationList.parent.modifiers, + ts9.SyntaxKind.ExportKeyword + ); + for (const declaration of declarationList.declarations) { + this.#handleBindingName(declaration.name, blockScoped, exported); + } + } +}; +function containsExportStatement(block) { + for (const statement of block.statements) { + if (statement.kind === ts9.SyntaxKind.ExportDeclaration || statement.kind === ts9.SyntaxKind.ExportAssignment) { + return true; + } + } + return false; +} +function forEachDestructuringIdentifier(pattern, fn) { + for (const element of pattern.elements) { + if (element.kind !== ts9.SyntaxKind.BindingElement) { + continue; + } + let result; + if (element.name.kind === ts9.SyntaxKind.Identifier) { + result = fn(element); + } else { + result = forEachDestructuringIdentifier(element.name, fn); + } + if (result) { + return result; + } + } +} +function isBlockScopedVariableDeclarationList(declarationList) { + return (declarationList.flags & ts9.NodeFlags.BlockScoped) !== 0; +} +function isNamespaceExported(node) { + return node.parent.kind === ts9.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9.SyntaxKind.ExportKeyword); +} +function namespaceHasExportStatement(ns) { + if (ns.body === void 0 || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { + return false; + } + return containsExportStatement(ns.body); +} + +// src/usage/collectVariableUsage.ts +function collectVariableUsage(sourceFile) { + return new UsageWalker().getUsage(sourceFile); +} + +export { AccessKind, DeclarationDomain, UsageDomain, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json new file mode 100644 index 0000000000..78378ff3f8 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json @@ -0,0 +1,105 @@ +{ + "name": "ts-api-utils", + "version": "2.0.0", + "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️", + "repository": { + "type": "git", + "url": "https://github.com/JoshuaKGoldberg/ts-api-utils" + }, + "license": "MIT", + "author": { + "name": "JoshuaKGoldberg", + "email": "npm@joshuakgoldberg.com" + }, + "type": "module", + "exports": { + ".": { + "types": { + "import": "./lib/index.d.ts", + "require": "./lib/index.d.cts" + }, + "import": "./lib/index.js", + "require": "./lib/index.cjs" + } + }, + "main": "./lib/index.js", + "files": [ + "lib/", + "package.json", + "LICENSE.md", + "README.md" + ], + "scripts": { + "build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts", + "docs": "typedoc", + "docs:serve": "npx --yes http-server docs/generated", + "format": "prettier \"**/*\" --ignore-unknown", + "lint": "eslint . --max-warnings 0", + "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors", + "lint:knip": "knip", + "lint:knip:production": "knip --production", + "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line", + "lint:packages": "pnpm dedupe --check", + "lint:spelling": "cspell \"**\" \".github/**/*\"", + "prepare": "husky", + "should-semantic-release": "should-semantic-release --verbose", + "test": "vitest", + "tsc": "tsc" + }, + "lint-staged": { + "*": "prettier --ignore-unknown --write" + }, + "devDependencies": { + "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", + "@eslint/js": "^9.15.0", + "@phenomnomnominal/tsquery": "^6.1.3", + "@release-it/conventional-changelog": "^9.0.3", + "@types/eslint-plugin-markdown": "^2.0.2", + "@types/node": "^18.19.65", + "@typescript/vfs": "^1.6.0", + "@vitest/coverage-v8": "^2.1.5", + "@vitest/eslint-plugin": "^1.1.10", + "console-fail-test": "^0.5.0", + "cspell": "^8.16.0", + "eslint": "^9.15.0", + "eslint-plugin-jsdoc": "^50.5.0", + "eslint-plugin-jsonc": "^2.18.2", + "eslint-plugin-markdown": "^5.1.0", + "eslint-plugin-n": "^17.14.0", + "eslint-plugin-package-json": "^0.15.6", + "eslint-plugin-perfectionist": "^4.1.2", + "eslint-plugin-regexp": "^2.7.0", + "eslint-plugin-yml": "^1.15.0", + "husky": "^9.1.7", + "jsonc-eslint-parser": "^2.4.0", + "knip": "^5.37.2", + "lint-staged": "^15.2.10", + "markdownlint": "^0.36.1", + "markdownlint-cli": "^0.43.0", + "prettier": "^3.3.3", + "prettier-plugin-curly": "^0.3.1", + "prettier-plugin-packagejson": "^2.5.6", + "release-it": "^17.10.0", + "sentences-per-line": "^0.2.1", + "should-semantic-release": "^0.3.0", + "tsup": "^8.3.5", + "typedoc": "^0.26.11", + "typedoc-plugin-coverage": "^3.4.0", + "typedoc-plugin-custom-validation": "^2.0.2", + "typedoc-plugin-konamimojisplosion": "^0.0.2", + "typedoc-plugin-mdn-links": "^4.0.1", + "typescript": "^5.7.2", + "typescript-eslint": "^8.16.0", + "vitest": "^2.1.5" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + }, + "packageManager": "pnpm@9.14.2", + "engines": { + "node": ">=18.12" + }, + "publishConfig": { + "provenance": true + } +} diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index ab47506850..2aaa66cdda 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "8.19.0", + "version": "8.20.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -61,22 +61,22 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/type-utils": "8.19.0", - "@typescript-eslint/utils": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/type-utils": "8.20.0", + "@typescript-eslint/utils": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "8.19.0", - "@typescript-eslint/rule-tester": "8.19.0", + "@typescript-eslint/rule-schema-to-typescript-types": "8.20.0", + "@typescript-eslint/rule-tester": "8.20.0", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json index 7665258566..b79986a1fd 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.19.0", + "version": "8.20.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/typescript-estree": "8.20.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json index 50ed2e2b8d..4fe9a03c9c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.19.0", + "version": "8.20.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map index e18970253c..9721538360 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js index f1c15c37c3..7fb7b2455f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js @@ -41,7 +41,7 @@ const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const getScriptKind_1 = require("./getScriptKind"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createIsolatedProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createIsolatedProgram'); /** * @returns Returns a new source file and program corresponding to the linted code */ diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map index 9727116196..65755f2023 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFS,sDAAqB;AAtF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM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AE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map index d1cbe49a8a..3d03fa59da 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAUtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js index a2d4898f67..15132c53e7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js @@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug")); const node_utils_1 = require("../node-utils"); const createProjectProgramError_1 = require("./createProjectProgramError"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectProgram'); /** * @param parseSettings Internal settings for parsing the file * @returns If found, the source file corresponding to the code and the containing program diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map index 7364ba1502..57d54babe8 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAiBA,oDAiBC;AAhCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAE9E;;;GAGG;AACH,SAAgB,oBAAoB,CAClC,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAAC;IAEF,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,IAAA,qDAAyB,EAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAmBA,oDAiBC;AAlCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;GAGG;AACH,SAAgB,oBAAoB,CAClC,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAAC;IAEF,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,IAAA,qDAAyB,EAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map index 53a46e1cea..fd3eab8978 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA2B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,EACjD,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,sBAAsB,CAoIxB"} \ No newline at end of file +{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA6B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,EACjD,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,sBAAsB,CAoIxB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js index afa037db92..4ae3b2d18f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js @@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const validateDefaultProjectForFilesGlob_1 = require("./validateDefaultProjectForFilesGlob"); const DEFAULT_PROJECT_MATCHED_FILES_THRESHOLD = 8; -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectService'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectService'); const logTsserverErr = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:err'); const logTsserverInfo = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:info'); const logTsserverPerf = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:perf'); diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map index 43d81c28eb..466a594e45 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AAyCA,oDAwIC;AA9KD,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAC9E,MAAM,cAAc,GAAG,IAAA,eAAK,EAC1B,kDAAkD,CACnD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,gBAAgB,GAAG,IAAA,eAAK,EAC5B,oDAAoD,CACrD,CAAC;AAEF,MAAM,SAAS,GAAG,GAAS,EAAE,GAAE,CAAC,CAAC;AAEjC,MAAM,qBAAqB,GAAG,GAAmB,EAAE,CAAC,CAAC;IACnD,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAWH,SAAgB,oBAAoB,CAClC,UAAuD,EACvD,gBAAiD,EACjD,eAAmC;IAEnC,MAAM,gBAAgB,GAAG,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1E,MAAM,OAAO,GAAG;QACd,cAAc,EAAE,eAAe;QAC/B,GAAG,gBAAgB;KACpB,CAAC;IACF,IAAA,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E,CAAC;YACpC,MAAM,IAAI,KAAK,CACb,mDAAmD,OAAO,CAAC,cAAc,MAAO,KAAe,CAAC,OAAO,EAAE,CAC1G,CAAC;QACJ,CAAC;IACH,CAAC;IAED,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,CAAC,qCAAqC;QAC3C,mFAAmF;QACnF,uFAAuF;QACvF,iFAAiF;QACjF,yHAAyH;QACzH,UAAU,CAAC,OAA4D,CACxE,CAAC;IACJ,CAAC;IAED,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,mBAAmB,EAAE,WAAW,CAAC,GAAG,EAAE;QACtC,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AA2CA,oDAwIC;AAhLD,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AACF,MAAM,cAAc,GAAG,IAAA,eAAK,EAC1B,kDAAkD,CACnD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,gBAAgB,GAAG,IAAA,eAAK,EAC5B,oDAAoD,CACrD,CAAC;AAEF,MAAM,SAAS,GAAG,GAAS,EAAE,GAAE,CAAC,CAAC;AAEjC,MAAM,qBAAqB,GAAG,GAAmB,EAAE,CAAC,CAAC;IACnD,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAWH,SAAgB,oBAAoB,CAClC,UAAuD,EACvD,gBAAiD,EACjD,eAAmC;IAEnC,MAAM,gBAAgB,GAAG,OAAO,U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UAAU,GAAG,IAAA,yCAAmB,EAC9B,QAAQ,EACR,OAAO,CAAC,cAAc,EACtB,eAAe,CAChB,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,gBAAgB,CAAC,cAAc,EAAE,CAAC;YACpC,MAAM,IAAI,KAAK,CACb,mDAAmD,OAAO,CAAC,cAAc,MAAO,KAAe,CAAC,OAAO,EAAE,CAC1G,CAAC;QACJ,CAAC;IACH,CAAC;IAED,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,CAAC,qCAAqC;QAC3C,mFAAmF;QACnF,uFAAuF;QACvF,iFAAiF;QACjF,yHAAyH;QACzH,UAAU,CAAC,OAA4D,CACxE,CAAC;IACJ,CAAC;IAED,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,mBAAmB,EAAE,WAAW,CAAC,GAAG,EAAE;QACtC,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map index e3e7f74423..3477afc9b1 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js index 118c3d5859..5f85d5fcd6 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js @@ -42,7 +42,7 @@ const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); const getScriptKind_1 = require("./getScriptKind"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createSourceFile'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createSourceFile'); function createSourceFile(parseSettings) { log('Getting AST without type information in %s mode for: %s', parseSettings.jsx ? 'TSX' : 'TS', parseSettings.filePath); return (0, source_files_1.isSourceFile)(parseSettings.code) diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map index 2c21e87393..ec6eceb29f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCS,0CAAe;AAAE,4CAAgB;AAxC1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,sDAAsD,CAAC,CAAC;AAE1E,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CS,0CAAe;AAAE,4CAAgB;AA1C1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map index 4e5b64de53..f6f43cff32 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA+CtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js index 8bb3abb9ab..000760e3c8 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js @@ -43,7 +43,7 @@ const node_fs_1 = __importDefault(require("node:fs")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createWatchProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:getWatchProgramsForProjects'); /** * Maps tsconfig paths to their corresponding file contents and resulting watches */ diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index 6149b30499..84f1c53502 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4eS,4CAAgB;AAAE,kEAA2B;AA5etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM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CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8eS,4CAAgB;AAAE,kEAA2B;AA9etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,gFAAgF,CACjF,CAAC;AAEF;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,KAAK,EAAE,CAAC;IACvC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IAC5B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,kCAAkC,CAAC,KAAK,EAAE,CAAC;AAC7C,CAAC;AAED,SAAS,iBAAiB,CACxB,WAAqD;IAErD,OAAO,CACL,QAAgB,EAChB,QAAgC,EAChB,EAAE;QAClB,MAAM,kBAAkB,GAAG,IAAA,6BAAoB,EAAC,QAAQ,CAAC,CAAC;QAC1D,MAAM,QAAQ,G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GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index bd56bf8396..616e2b3996 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 2220ad8e19..97f572daf0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -43,7 +43,7 @@ const path = __importStar(require("node:path")); const ts = __importStar(require("typescript")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:useProvidedProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:useProvidedPrograms'); function useProvidedPrograms(programInstances, parseSettings) { log('Retrieving ast for %s from provided program instance(s)', parseSettings.filePath); let astAndProgram; diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index f2b1c1e824..7a4afe6a57 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoES,kEAA2B;AAAE,kDAAmB;AApEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsES,kEAA2B;AAAE,kDAAmB;AAtEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5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,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 27ec844fae..7b0b02a9b1 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -50,7 +50,7 @@ const getProjectConfigFiles_1 = require("./getProjectConfigFiles"); const inferSingleRun_1 = require("./inferSingleRun"); const resolveProjectList_1 = require("./resolveProjectList"); const warnAboutTSVersion_1 = require("./warnAboutTSVersion"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:createParseSettings'); let TSCONFIG_MATCH_CACHE; let TSSERVER_PROJECT_SERVICE = null; // NOTE - we intentionally use "unnecessary" `?.` here because in TS<5.3 this enum doesn't exist diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index 2f667cd715..f6f73640c4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":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Q;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,uEAAuE,CACxE,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE,CAAC,gBAAgB,EAAE,QAAQ;IACvC,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,EAAE,kBAAkB;IAC3D,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,EAAE,gBAAgB;IACvD,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS;CACjC,CAAC;AACX,+DAA+D;AAE/D,SAAgB,mBAAmB,CACjC,IAA4B,EAC5B,kBAA4C,EAAE;IAE9C,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAA,+BAAc,EAAC,eAAe,CAAC,CAAC;IAClD,MAAM,eAAe,GACnB,OAAO,eAAe,C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C;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map index bf99e5dd4f..be48dc3b09 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js index 59cba04ace..9d932ecc17 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js @@ -40,7 +40,7 @@ exports.getProjectConfigFiles = getProjectConfigFiles; const debug_1 = __importDefault(require("debug")); const fs = __importStar(require("node:fs")); const path = __importStar(require("node:path")); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:getProjectConfigFiles'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:getProjectConfigFiles'); /** * Checks for a matching TSConfig to a file including its parent directories, * permanently caching results under each directory it checks. diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map index 670d0ded30..89688182da 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDA6CC;AA/DD,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,sDA6CC;AAjED,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js index 55930e2fbd..6ecca0ae2d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js @@ -11,7 +11,7 @@ const fast_glob_1 = require("fast-glob"); const is_glob_1 = __importDefault(require("is-glob")); const shared_1 = require("../create-program/shared"); const ExpiringCache_1 = require("./ExpiringCache"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:resolveProjectList'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:resolveProjectList'); let RESOLUTION_CACHE = null; function clearGlobCache() { RESOLUTION_CACHE?.clear(); diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map index ff4ddfbc9d..831d7844f4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map @@ -1 +1 @@ -{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IA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OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,sEAAsE,CACvE,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;IAED,MAAM,uBAAuB,GAAG,CAC9B,OAAO,CAAC,uBAAuB,IAAI,CAAC,oBAAoB,CAAC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AkE;QAClE,gBAAgB,GAAG,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAChD,IAAA,gBAAQ,EAAC,OAAO,EAAE;YAChB,GAAG,EAAE,OAAO,CAAC,eAAe;YAC5B,MAAM,EAAE,uBAAuB;SAChC,CAAC,CACH,CAAC;IACJ,CAAC;IAED,MAAM,2BAA2B,GAAG,IAAI,GAAG,CACzC,CAAC,GAAG,eAAe,EAAE,GAAG,gBAAgB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACvD,IAAA,6BAAoB,EAClB,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CACrD;QACD,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC;KACrD,CAAC,CACH,CAAC;IAEF,GAAG,CACD,gEAAgE,EAChE,2BAA2B,CAC5B,CAAC;IAEF,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;IAC5D,OAAO,2BAA2B,CAAC;AACrC,CAAC;AAED,SAAS,OAAO,CAAC,EACf,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json index a9b75afc04..60bb84efdd 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.19.0", + "version": "8.20.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,14 +54,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "devDependencies": { "@jest/types": "29.6.3", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json index 7d7edd0ccf..83119d5e9c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.19.0", + "version": "8.20.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/LICENSE.md b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/LICENSE.md new file mode 100644 index 0000000000..08520a1e27 --- /dev/null +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/LICENSE.md @@ -0,0 +1,20 @@ +# 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/@typescript-eslint/parser/node_modules/ts-api-utils/README.md b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/README.md new file mode 100644 index 0000000000..b2c13ef845 --- /dev/null +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/README.md @@ -0,0 +1,84 @@ +

TypeScript API Utils

+ +

+ Utility functions for working with TypeScript's API. + Successor to the wonderful tsutils. + 🛠️️ +

+ +

+ + +All Contributors: 8 👪 + + + 🤝 Code of Conduct: Kept + 🧪 Coverage + 📚 Documentation Coverage + 📝 License: MIT + 📦 npm version + 💪 TypeScript: Strict +

+ +## Usage + +```shell +npm i ts-api-utils +``` + +```ts +import * as tsutils from "ts-api-utils"; + +tsutils.forEachToken(/* ... */); +``` + +### API + +`ts-api-utils` provides many utility functions. +Check out our API docs for details: + +📝 [ts-api-utils API docs](https://joshuakgoldberg.github.io/ts-api-utils). + +## Development + +See [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md). +Thanks! 💖 + +## Contributors + +Many thanks to [@ajafff](https://github.com/ajafff) for creating the original [`tsutils`](https://github.com/ajafff/tsutils) ([original license: MIT](https://github.com/ajafff/tsutils/blob/26b195358ec36d59f00333115aa3ffd9611ca78b/LICENSE)) that this project was originally based on! 🙏 + + + + + + + + + + + + + + + + + + + + + + +
Dan Vanderkam
Dan Vanderkam

🐛
Johannes Chorzempa
Johannes Chorzempa

📖 💻
Josh Goldberg
Josh Goldberg

🐛 💻 📖 📆 ⚠️ 🔧 🚧 🚇 🤔
Kirill Cherkashin
Kirill Cherkashin

💻
Kirk Waiblinger
Kirk Waiblinger

🐛 💻
Klaus Meinhardt
Klaus Meinhardt

💻 ⚠️
Lars Kappert
Lars Kappert

💻
Rebecca Stevens
Rebecca Stevens

🐛 💻 📖 📆 ⚠️ 🔧 🚇 🚧 🤔
+ + + + + + + + + +> 💙 This package was templated with [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). + +> _"My tools! I have to have my tools!" - Dennis Reynolds_ diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs new file mode 100644 index 0000000000..fffa147ccc --- /dev/null +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs @@ -0,0 +1,2274 @@ +'use strict'; + +var ts9 = require('typescript'); + +function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } + +var ts9__default = /*#__PURE__*/_interopDefault(ts9); + +// src/comments.ts +function forEachToken(node, callback, sourceFile = node.getSourceFile()) { + const queue = []; + while (true) { + if (ts9__default.default.isTokenKind(node.kind)) { + callback(node); + } else { + const children = node.getChildren(sourceFile); + if (children.length === 1) { + node = children[0]; + continue; + } + for (let i = children.length - 1; i >= 0; --i) { + queue.push(children[i]); + } + } + if (queue.length === 0) { + break; + } + node = queue.pop(); + } +} + +// src/comments.ts +function forEachComment(node, callback, sourceFile = node.getSourceFile()) { + const fullText = sourceFile.text; + const notJsx = sourceFile.languageVariant !== ts9__default.default.LanguageVariant.JSX; + return forEachToken( + node, + (token) => { + if (token.pos === token.end) { + return; + } + if (token.kind !== ts9__default.default.SyntaxKind.JsxText) { + ts9__default.default.forEachLeadingCommentRange( + fullText, + // skip shebang at position 0 + token.pos === 0 ? (ts9__default.default.getShebang(fullText) ?? "").length : token.pos, + commentCallback + ); + } + if (notJsx || canHaveTrailingTrivia(token)) { + return ts9__default.default.forEachTrailingCommentRange( + fullText, + token.end, + commentCallback + ); + } + }, + sourceFile + ); + function commentCallback(pos, end, kind) { + callback(fullText, { end, kind, pos }); + } +} +function canHaveTrailingTrivia(token) { + switch (token.kind) { + case ts9__default.default.SyntaxKind.CloseBraceToken: + return token.parent.kind !== ts9__default.default.SyntaxKind.JsxExpression || !isJsxElementOrFragment(token.parent.parent); + case ts9__default.default.SyntaxKind.GreaterThanToken: + switch (token.parent.kind) { + case ts9__default.default.SyntaxKind.JsxClosingElement: + case ts9__default.default.SyntaxKind.JsxClosingFragment: + return !isJsxElementOrFragment(token.parent.parent.parent); + case ts9__default.default.SyntaxKind.JsxOpeningElement: + return token.end !== token.parent.end; + case ts9__default.default.SyntaxKind.JsxOpeningFragment: + return false; + // would be inside the fragment + case ts9__default.default.SyntaxKind.JsxSelfClosingElement: + return token.end !== token.parent.end || // if end is not equal, this is part of the type arguments list + !isJsxElementOrFragment(token.parent.parent); + } + } + return true; +} +function isJsxElementOrFragment(node) { + return node.kind === ts9__default.default.SyntaxKind.JsxElement || node.kind === ts9__default.default.SyntaxKind.JsxFragment; +} +function isCompilerOptionEnabled(options, option) { + switch (option) { + case "allowJs": + return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + case "allowSyntheticDefaultImports": + return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; + case "alwaysStrict": + case "noImplicitAny": + case "noImplicitThis": + case "strictBindCallApply": + case "strictFunctionTypes": + case "strictNullChecks": + case "strictPropertyInitialization": + return isStrictCompilerOptionEnabled( + options, + option + ); + case "declaration": + return options.declaration || isCompilerOptionEnabled(options, "composite"); + case "declarationMap": + case "emitDeclarationOnly": + case "stripInternal": + return options[option] === true && isCompilerOptionEnabled(options, "declaration"); + case "incremental": + return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + case "noUncheckedIndexedAccess": + return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); + case "skipDefaultLibCheck": + return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck"); + case "suppressImplicitAnyIndexErrors": + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated + options.suppressImplicitAnyIndexErrors === true && isCompilerOptionEnabled(options, "noImplicitAny") + ); + } + return options[option] === true; +} +function isStrictCompilerOptionEnabled(options, option) { + return (options.strict ? options[option] !== false : options[option] === true) && (option !== "strictPropertyInitialization" || isStrictCompilerOptionEnabled(options, "strictNullChecks")); +} +function isModifierFlagSet(node, flag) { + return isFlagSet(ts9__default.default.getCombinedModifierFlags(node), flag); +} +function isFlagSet(allFlags, flag) { + return (allFlags & flag) !== 0; +} +function isFlagSetOnObject(obj, flag) { + return isFlagSet(obj.flags, flag); +} +var isNodeFlagSet = isFlagSetOnObject; +function isObjectFlagSet(objectType, flag) { + return isFlagSet(objectType.objectFlags, flag); +} +var isSymbolFlagSet = isFlagSetOnObject; +function isTransientSymbolLinksFlagSet(links, flag) { + return isFlagSet(links.checkFlags, flag); +} +var isTypeFlagSet = isFlagSetOnObject; + +// src/modifiers.ts +function includesModifier(modifiers, ...kinds) { + if (modifiers === void 0) { + return false; + } + for (const modifier of modifiers) { + if (kinds.includes(modifier.kind)) { + return true; + } + } + return false; +} +function isAssignmentKind(kind) { + return kind >= ts9__default.default.SyntaxKind.FirstAssignment && kind <= ts9__default.default.SyntaxKind.LastAssignment; +} +function isNumericPropertyName(name) { + return String(+name) === name; +} +function isValidPropertyAccess(text, languageVersion = ts9__default.default.ScriptTarget.Latest) { + if (text.length === 0) { + return false; + } + let ch = text.codePointAt(0); + if (!ts9__default.default.isIdentifierStart(ch, languageVersion)) { + return false; + } + for (let i = charSize(ch); i < text.length; i += charSize(ch)) { + ch = text.codePointAt(i); + if (!ts9__default.default.isIdentifierPart(ch, languageVersion)) { + return false; + } + } + return true; +} +function charSize(ch) { + return ch >= 65536 ? 2 : 1; +} + +// src/nodes/access.ts +var AccessKind = /* @__PURE__ */ ((AccessKind2) => { + AccessKind2[AccessKind2["None"] = 0] = "None"; + AccessKind2[AccessKind2["Read"] = 1] = "Read"; + AccessKind2[AccessKind2["Write"] = 2] = "Write"; + AccessKind2[AccessKind2["Delete"] = 4] = "Delete"; + AccessKind2[AccessKind2["ReadWrite"] = 3] = "ReadWrite"; + return AccessKind2; +})(AccessKind || {}); +function getAccessKind(node) { + const parent = node.parent; + switch (parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.SpreadAssignment: + case ts9__default.default.SyntaxKind.SpreadElement: + return isInDestructuringAssignment( + parent + ) ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.ArrowFunction: + return parent.body === node ? 1 /* Read */ : 2 /* Write */; + case ts9__default.default.SyntaxKind.AsExpression: + case ts9__default.default.SyntaxKind.NonNullExpression: + case ts9__default.default.SyntaxKind.ParenthesizedExpression: + case ts9__default.default.SyntaxKind.TypeAssertionExpression: + return getAccessKind(parent); + case ts9__default.default.SyntaxKind.AwaitExpression: + case ts9__default.default.SyntaxKind.CallExpression: + case ts9__default.default.SyntaxKind.CaseClause: + case ts9__default.default.SyntaxKind.ComputedPropertyName: + case ts9__default.default.SyntaxKind.ConditionalExpression: + case ts9__default.default.SyntaxKind.Decorator: + case ts9__default.default.SyntaxKind.DoStatement: + case ts9__default.default.SyntaxKind.ElementAccessExpression: + case ts9__default.default.SyntaxKind.ExpressionStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.IfStatement: + case ts9__default.default.SyntaxKind.JsxElement: + case ts9__default.default.SyntaxKind.JsxExpression: + case ts9__default.default.SyntaxKind.JsxOpeningElement: + case ts9__default.default.SyntaxKind.JsxSelfClosingElement: + case ts9__default.default.SyntaxKind.JsxSpreadAttribute: + case ts9__default.default.SyntaxKind.NewExpression: + case ts9__default.default.SyntaxKind.ReturnStatement: + case ts9__default.default.SyntaxKind.SwitchStatement: + case ts9__default.default.SyntaxKind.TaggedTemplateExpression: + case ts9__default.default.SyntaxKind.TemplateSpan: + case ts9__default.default.SyntaxKind.ThrowStatement: + case ts9__default.default.SyntaxKind.TypeOfExpression: + case ts9__default.default.SyntaxKind.VoidExpression: + case ts9__default.default.SyntaxKind.WhileStatement: + case ts9__default.default.SyntaxKind.WithStatement: + case ts9__default.default.SyntaxKind.YieldExpression: + return 1 /* Read */; + case ts9__default.default.SyntaxKind.BinaryExpression: + return parent.right === node ? 1 /* Read */ : !isAssignmentKind(parent.operatorToken.kind) ? 1 /* Read */ : parent.operatorToken.kind === ts9__default.default.SyntaxKind.EqualsToken ? 2 /* Write */ : 3 /* ReadWrite */; + case ts9__default.default.SyntaxKind.BindingElement: + case ts9__default.default.SyntaxKind.EnumMember: + case ts9__default.default.SyntaxKind.JsxAttribute: + case ts9__default.default.SyntaxKind.Parameter: + case ts9__default.default.SyntaxKind.PropertyDeclaration: + case ts9__default.default.SyntaxKind.VariableDeclaration: + return parent.initializer === node ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.DeleteExpression: + return 4 /* Delete */; + case ts9__default.default.SyntaxKind.ExportAssignment: + return parent.isExportEquals ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9__default.default.SyntaxKind.ExtendsKeyword && parent.parent.parent.kind !== ts9__default.default.SyntaxKind.InterfaceDeclaration ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + return parent.initializer === node ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.PostfixUnaryExpression: + return 3 /* ReadWrite */; + case ts9__default.default.SyntaxKind.PrefixUnaryExpression: + return parent.operator === ts9__default.default.SyntaxKind.PlusPlusToken || parent.operator === ts9__default.default.SyntaxKind.MinusMinusToken ? 3 /* ReadWrite */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.PropertyAccessExpression: + return parent.expression === node ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.PropertyAssignment: + return parent.name === node ? 0 /* None */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + return parent.objectAssignmentInitializer === node ? 1 /* Read */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + } + return 0 /* None */; +} +function isInDestructuringAssignment(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + if (node.objectAssignmentInitializer !== void 0) { + return true; + } + // falls through + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.SpreadAssignment: + node = node.parent; + break; + case ts9__default.default.SyntaxKind.SpreadElement: + if (node.parent.kind !== ts9__default.default.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent; + } + while (true) { + switch (node.parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.ObjectLiteralExpression: + node = node.parent; + break; + case ts9__default.default.SyntaxKind.BinaryExpression: + return node.parent.left === node && node.parent.operatorToken.kind === ts9__default.default.SyntaxKind.EqualsToken; + case ts9__default.default.SyntaxKind.ForOfStatement: + return node.parent.initializer === node; + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.SpreadAssignment: + node = node.parent.parent; + break; + case ts9__default.default.SyntaxKind.SpreadElement: + if (node.parent.parent.kind !== ts9__default.default.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent.parent; + break; + default: + return false; + } + } +} +function isAbstractKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AbstractKeyword; +} +function isAccessorKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AccessorKeyword; +} +function isAnyKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AnyKeyword; +} +function isAssertKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AssertKeyword; +} +function isAssertsKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AssertsKeyword; +} +function isAsyncKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AsyncKeyword; +} +function isAwaitKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AwaitKeyword; +} +function isBigIntKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.BigIntKeyword; +} +function isBooleanKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.BooleanKeyword; +} +function isColonToken(node) { + return node.kind === ts9__default.default.SyntaxKind.ColonToken; +} +function isConstKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ConstKeyword; +} +function isDeclareKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.DeclareKeyword; +} +function isDefaultKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.DefaultKeyword; +} +function isDotToken(node) { + return node.kind === ts9__default.default.SyntaxKind.DotToken; +} +function isEndOfFileToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EndOfFileToken; +} +function isEqualsGreaterThanToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EqualsGreaterThanToken; +} +function isEqualsToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EqualsToken; +} +function isExclamationToken(node) { + return node.kind === ts9__default.default.SyntaxKind.ExclamationToken; +} +function isExportKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ExportKeyword; +} +function isFalseKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.FalseKeyword; +} +function isFalseLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.FalseKeyword; +} +function isImportExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.ImportKeyword; +} +function isImportKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ImportKeyword; +} +function isInKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.InKeyword; +} +function isJSDocText(node) { + return node.kind === ts9__default.default.SyntaxKind.JSDocText; +} +function isJsonMinusNumericLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.PrefixUnaryExpression; +} +function isNeverKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NeverKeyword; +} +function isNullKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NullKeyword; +} +function isNullLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.NullKeyword; +} +function isNumberKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NumberKeyword; +} +function isObjectKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ObjectKeyword; +} +function isOutKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.OutKeyword; +} +function isOverrideKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.OverrideKeyword; +} +function isPrivateKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.PrivateKeyword; +} +function isProtectedKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ProtectedKeyword; +} +function isPublicKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.PublicKeyword; +} +function isQuestionDotToken(node) { + return node.kind === ts9__default.default.SyntaxKind.QuestionDotToken; +} +function isQuestionToken(node) { + return node.kind === ts9__default.default.SyntaxKind.QuestionToken; +} +function isReadonlyKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ReadonlyKeyword; +} +function isStaticKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.StaticKeyword; +} +function isStringKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.StringKeyword; +} +function isSuperExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.SuperKeyword; +} +function isSuperKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.SuperKeyword; +} +function isSymbolKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.SymbolKeyword; +} +function isSyntaxList(node) { + return node.kind === ts9__default.default.SyntaxKind.SyntaxList; +} +function isThisExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.ThisKeyword; +} +function isThisKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ThisKeyword; +} +function isTrueKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.TrueKeyword; +} +function isTrueLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.TrueKeyword; +} +function isUndefinedKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.UndefinedKeyword; +} +function isUnknownKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.UnknownKeyword; +} +function isVoidKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.VoidKeyword; +} +var [tsMajor, tsMinor] = ts9__default.default.versionMajorMinor.split(".").map((raw) => Number.parseInt(raw, 10)); +function isTsVersionAtLeast(major, minor = 0) { + return tsMajor > major || tsMajor === major && tsMinor >= minor; +} + +// src/nodes/typeGuards/union.ts +function hasDecorators(node) { + return ts9__default.default.isParameter(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isClassExpression(node) || ts9__default.default.isClassDeclaration(node); +} +function hasExpressionInitializer(node) { + return ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isEnumMember(node); +} +function hasInitializer(node) { + return hasExpressionInitializer(node) || ts9__default.default.isForStatement(node) || ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node) || ts9__default.default.isJsxAttribute(node); +} +function hasJSDoc(node) { + if ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9__default.default.isArrowFunction(node) || ts9__default.default.isBlock(node) || ts9__default.default.isBreakStatement(node) || ts9__default.default.isCallSignatureDeclaration(node) || ts9__default.default.isCaseClause(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isConstructSignatureDeclaration(node) || ts9__default.default.isContinueStatement(node) || ts9__default.default.isDebuggerStatement(node) || ts9__default.default.isDoStatement(node) || ts9__default.default.isEmptyStatement(node) || isEndOfFileToken(node) || ts9__default.default.isEnumDeclaration(node) || ts9__default.default.isEnumMember(node) || ts9__default.default.isExportAssignment(node) || ts9__default.default.isExportDeclaration(node) || ts9__default.default.isExportSpecifier(node) || ts9__default.default.isExpressionStatement(node) || ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node) || ts9__default.default.isForStatement(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isFunctionTypeNode(node) || ts9__default.default.isIfStatement(node) || ts9__default.default.isImportDeclaration(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isJSDocFunctionType(node) || ts9__default.default.isLabeledStatement(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isModuleDeclaration(node) || ts9__default.default.isNamedTupleMember(node) || ts9__default.default.isNamespaceExportDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isParenthesizedExpression(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isReturnStatement(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isSpreadAssignment(node) || ts9__default.default.isSwitchStatement(node) || ts9__default.default.isThrowStatement(node) || ts9__default.default.isTryStatement(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isVariableStatement(node) || ts9__default.default.isWhileStatement(node) || ts9__default.default.isWithStatement(node) + ) { + return true; + } + if (isTsVersionAtLeast(4, 4) && ts9__default.default.isClassStaticBlockDeclaration(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9__default.default.isBinaryExpression(node) || ts9__default.default.isElementAccessExpression(node) || ts9__default.default.isIdentifier(node) || ts9__default.default.isJSDocSignature(node) || ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isTypeParameterDeclaration(node))) { + return true; + } + return false; +} +function hasModifiers(node) { + return ts9__default.default.isTypeParameterDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node) || ts9__default.default.isClassExpression(node) || ts9__default.default.isVariableStatement(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isClassDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isEnumDeclaration(node) || ts9__default.default.isModuleDeclaration(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isImportDeclaration(node) || ts9__default.default.isExportAssignment(node) || ts9__default.default.isExportDeclaration(node); +} +function hasType(node) { + return isSignatureDeclaration(node) || ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isTypePredicateNode(node) || ts9__default.default.isParenthesizedTypeNode(node) || ts9__default.default.isTypeOperatorNode(node) || ts9__default.default.isMappedTypeNode(node) || ts9__default.default.isAssertionExpression(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isJSDocTypeExpression(node) || ts9__default.default.isJSDocNonNullableType(node) || ts9__default.default.isJSDocNullableType(node) || ts9__default.default.isJSDocOptionalType(node) || ts9__default.default.isJSDocVariadicType(node); +} +function hasTypeArguments(node) { + return ts9__default.default.isCallExpression(node) || ts9__default.default.isNewExpression(node) || ts9__default.default.isTaggedTemplateExpression(node) || ts9__default.default.isJsxOpeningElement(node) || ts9__default.default.isJsxSelfClosingElement(node); +} +function isAccessExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isElementAccessExpression(node); +} +function isAccessibilityModifier(node) { + return isPublicKeyword(node) || isPrivateKeyword(node) || isProtectedKeyword(node); +} +function isAccessorDeclaration(node) { + return ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node); +} +function isArrayBindingElement(node) { + return ts9__default.default.isBindingElement(node) || ts9__default.default.isOmittedExpression(node); +} +function isArrayBindingOrAssignmentPattern(node) { + return ts9__default.default.isArrayBindingPattern(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isAssignmentPattern(node) { + return ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isBindingOrAssignmentElementRestIndicator(node) { + if (ts9__default.default.isSpreadElement(node) || ts9__default.default.isSpreadAssignment(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9__default.default.isDotDotDotToken(node); + } + return false; +} +function isBindingOrAssignmentElementTarget(node) { + return isBindingOrAssignmentPattern(node) || ts9__default.default.isIdentifier(node) || ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isElementAccessExpression(node) || ts9__default.default.isOmittedExpression(node); +} +function isBindingOrAssignmentPattern(node) { + return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); +} +function isBindingPattern(node) { + return ts9__default.default.isObjectBindingPattern(node) || ts9__default.default.isArrayBindingPattern(node); +} +function isBlockLike(node) { + return ts9__default.default.isSourceFile(node) || ts9__default.default.isBlock(node) || ts9__default.default.isModuleBlock(node) || ts9__default.default.isCaseOrDefaultClause(node); +} +function isBooleanLiteral(node) { + return isTrueLiteral(node) || isFalseLiteral(node); +} +function isClassLikeDeclaration(node) { + return ts9__default.default.isClassDeclaration(node) || ts9__default.default.isClassExpression(node); +} +function isClassMemberModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node) || isStaticKeyword(node) || isAccessorKeyword(node); +} +function isDeclarationName(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isPrivateIdentifier(node) || ts9__default.default.isStringLiteralLike(node) || ts9__default.default.isNumericLiteral(node) || ts9__default.default.isComputedPropertyName(node) || ts9__default.default.isElementAccessExpression(node) || isBindingPattern(node) || isEntityNameExpression(node); +} +function isDeclarationWithTypeParameterChildren(node) { + return isSignatureDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isJSDocTemplateTag(node); +} +function isDeclarationWithTypeParameters(node) { + return isDeclarationWithTypeParameterChildren(node) || ts9__default.default.isJSDocTypedefTag(node) || ts9__default.default.isJSDocCallbackTag(node) || ts9__default.default.isJSDocSignature(node); +} +function isDestructuringPattern(node) { + return isBindingPattern(node) || ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isEntityNameExpression(node) { + return ts9__default.default.isIdentifier(node) || isPropertyAccessEntityNameExpression(node); +} +function isEntityNameOrEntityNameExpression(node) { + return ts9__default.default.isEntityName(node) || isEntityNameExpression(node); +} +function isForInOrOfStatement(node) { + return ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node); +} +function isFunctionLikeDeclaration(node) { + return ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node); +} +function isJSDocComment(node) { + if (isJSDocText(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9__default.default.isJSDocLink(node) || ts9__default.default.isJSDocLinkCode(node) || ts9__default.default.isJSDocLinkPlain(node); + } + return false; +} +function isJSDocNamespaceBody(node) { + return ts9__default.default.isIdentifier(node) || isJSDocNamespaceDeclaration(node); +} +function isJSDocTypeReferencingNode(node) { + return ts9__default.default.isJSDocVariadicType(node) || ts9__default.default.isJSDocOptionalType(node) || ts9__default.default.isJSDocNullableType(node) || ts9__default.default.isJSDocNonNullableType(node); +} +function isJsonObjectExpression(node) { + return ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node) || isJsonMinusNumericLiteral(node) || ts9__default.default.isNumericLiteral(node) || ts9__default.default.isStringLiteral(node) || isBooleanLiteral(node) || isNullLiteral(node); +} +function isJsxAttributeLike(node) { + return ts9__default.default.isJsxAttribute(node) || ts9__default.default.isJsxSpreadAttribute(node); +} +function isJsxAttributeValue(node) { + return ts9__default.default.isStringLiteral(node) || ts9__default.default.isJsxExpression(node) || ts9__default.default.isJsxElement(node) || ts9__default.default.isJsxSelfClosingElement(node) || ts9__default.default.isJsxFragment(node); +} +function isJsxChild(node) { + return ts9__default.default.isJsxText(node) || ts9__default.default.isJsxExpression(node) || ts9__default.default.isJsxElement(node) || ts9__default.default.isJsxSelfClosingElement(node) || ts9__default.default.isJsxFragment(node); +} +function isJsxTagNameExpression(node) { + return ts9__default.default.isIdentifier(node) || isThisExpression(node) || isJsxTagNamePropertyAccess(node); +} +function isLiteralToken(node) { + return ts9__default.default.isNumericLiteral(node) || ts9__default.default.isBigIntLiteral(node) || ts9__default.default.isStringLiteral(node) || ts9__default.default.isJsxText(node) || ts9__default.default.isRegularExpressionLiteral(node) || ts9__default.default.isNoSubstitutionTemplateLiteral(node); +} +function isModuleBody(node) { + return isNamespaceBody(node) || isJSDocNamespaceBody(node); +} +function isModuleName(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isStringLiteral(node); +} +function isModuleReference(node) { + return ts9__default.default.isEntityName(node) || ts9__default.default.isExternalModuleReference(node); +} +function isNamedImportBindings(node) { + return ts9__default.default.isNamespaceImport(node) || ts9__default.default.isNamedImports(node); +} +function isNamedImportsOrExports(node) { + return ts9__default.default.isNamedImports(node) || ts9__default.default.isNamedExports(node); +} +function isNamespaceBody(node) { + return ts9__default.default.isModuleBlock(node) || isNamespaceDeclaration(node); +} +function isObjectBindingOrAssignmentElement(node) { + return ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isSpreadAssignment(node); +} +function isObjectBindingOrAssignmentPattern(node) { + return ts9__default.default.isObjectBindingPattern(node) || ts9__default.default.isObjectLiteralExpression(node); +} +function isObjectTypeDeclaration(node) { + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeLiteralNode(node) + ); +} +function isParameterPropertyModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node); +} +function isPropertyNameLiteral(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isStringLiteralLike(node) || ts9__default.default.isNumericLiteral(node); +} +function isPseudoLiteralToken(node) { + return ts9__default.default.isTemplateHead(node) || ts9__default.default.isTemplateMiddle(node) || ts9__default.default.isTemplateTail(node); +} +function isSignatureDeclaration(node) { + return ts9__default.default.isCallSignatureDeclaration(node) || ts9__default.default.isConstructSignatureDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isFunctionTypeNode(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isJSDocFunctionType(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node); +} +function isSuperProperty(node) { + return isSuperPropertyAccessExpression(node) || isSuperElementAccessExpression(node); +} +function isTypeOnlyCompatibleAliasDeclaration(node) { + if (ts9__default.default.isImportClause(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isNamespaceImport(node) || ts9__default.default.isImportOrExportSpecifier(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9__default.default.isExportDeclaration(node) || ts9__default.default.isNamespaceExport(node))) { + return true; + } + return false; +} +function isTypeReferenceType(node) { + return ts9__default.default.isTypeReferenceNode(node) || ts9__default.default.isExpressionWithTypeArguments(node); +} +function isUnionOrIntersectionTypeNode(node) { + return ts9__default.default.isUnionTypeNode(node) || ts9__default.default.isIntersectionTypeNode(node); +} +function isVariableLikeDeclaration(node) { + return ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isJsxAttribute(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isEnumMember(node) || ts9__default.default.isJSDocPropertyTag(node) || ts9__default.default.isJSDocParameterTag(node); +} + +// src/nodes/typeGuards/compound.ts +function isConstAssertionExpression(node) { + return ts9__default.default.isTypeReferenceNode(node.type) && ts9__default.default.isIdentifier(node.type.typeName) && node.type.typeName.escapedText === "const"; +} +function isIterationStatement(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.DoStatement: + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.WhileStatement: + return true; + default: + return false; + } +} +function isJSDocNamespaceDeclaration(node) { + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); +} +function isJsxTagNamePropertyAccess(node) { + return ts9__default.default.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 + isJsxTagNameExpression(node.expression); +} +function isNamedDeclarationWithName(node) { + return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); +} +function isNamespaceDeclaration(node) { + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); +} +function isNumericOrStringLikeLiteral(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.NoSubstitutionTemplateLiteral: + case ts9__default.default.SyntaxKind.NumericLiteral: + case ts9__default.default.SyntaxKind.StringLiteral: + return true; + default: + return false; + } +} +function isPropertyAccessEntityNameExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) && ts9__default.default.isIdentifier(node.name) && isEntityNameExpression(node.expression); +} +function isSuperElementAccessExpression(node) { + return ts9__default.default.isElementAccessExpression(node) && isSuperExpression(node.expression); +} +function isSuperPropertyAccessExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) && isSuperExpression(node.expression); +} +function isFunctionScopeBoundary(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.ArrowFunction: + case ts9__default.default.SyntaxKind.CallSignature: + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + case ts9__default.default.SyntaxKind.Constructor: + case ts9__default.default.SyntaxKind.ConstructorType: + case ts9__default.default.SyntaxKind.ConstructSignature: + case ts9__default.default.SyntaxKind.EnumDeclaration: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.FunctionType: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.ModuleDeclaration: + case ts9__default.default.SyntaxKind.SetAccessor: + return true; + case ts9__default.default.SyntaxKind.SourceFile: + return ts9__default.default.isExternalModule(node); + default: + return false; + } +} +function isIntrinsicAnyType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Any); +} +function isIntrinsicBigIntType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BigInt); +} +function isIntrinsicBooleanType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Boolean); +} +function isIntrinsicErrorType(type) { + return isIntrinsicType(type) && type.intrinsicName === "error"; +} +function isIntrinsicESSymbolType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.ESSymbol); +} +var IntrinsicTypeFlags = ts9__default.default.TypeFlags.Intrinsic ?? ts9__default.default.TypeFlags.Any | ts9__default.default.TypeFlags.Unknown | ts9__default.default.TypeFlags.String | ts9__default.default.TypeFlags.Number | ts9__default.default.TypeFlags.BigInt | ts9__default.default.TypeFlags.Boolean | ts9__default.default.TypeFlags.BooleanLiteral | ts9__default.default.TypeFlags.ESSymbol | ts9__default.default.TypeFlags.Void | ts9__default.default.TypeFlags.Undefined | ts9__default.default.TypeFlags.Null | ts9__default.default.TypeFlags.Never | ts9__default.default.TypeFlags.NonPrimitive; +function isIntrinsicNeverType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Never); +} +function isIntrinsicNonPrimitiveType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.NonPrimitive); +} +function isIntrinsicNullType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Null); +} +function isIntrinsicNumberType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Number); +} +function isIntrinsicStringType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.String); +} +function isIntrinsicType(type) { + return isTypeFlagSet(type, IntrinsicTypeFlags); +} +function isIntrinsicUndefinedType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Undefined); +} +function isIntrinsicUnknownType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Unknown); +} +function isIntrinsicVoidType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Void); +} +function isConditionalType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Conditional); +} +function isEnumType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Enum); +} +function isFreshableType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Freshable); +} +function isIndexedAccessType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.IndexedAccess); +} +function isIndexType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Index); +} +function isInstantiableType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Instantiable); +} +function isIntersectionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Intersection); +} +function isObjectType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Object); +} +function isStringMappingType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.StringMapping); +} +function isSubstitutionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Substitution); +} +function isTypeParameter(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TypeParameter); +} +function isTypeVariable(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TypeVariable); +} +function isUnionOrIntersectionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.UnionOrIntersection); +} +function isUnionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Union); +} +function isUniqueESSymbolType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.UniqueESSymbol); +} + +// src/types/typeGuards/objects.ts +function isEvolvingArrayType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.EvolvingArray); +} +function isTupleType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.Tuple); +} +function isTypeReference(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.Reference); +} + +// src/types/typeGuards/compound.ts +function isFreshableIntrinsicType(type) { + return isIntrinsicType(type) && isFreshableType(type); +} +function isTupleTypeReference(type) { + return isTypeReference(type) && isTupleType(type.target); +} +function isBigIntLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BigIntLiteral); +} +function isBooleanLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BooleanLiteral); +} +function isFalseLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "false"; +} +function isLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Literal); +} +function isNumberLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.NumberLiteral); +} +function isStringLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.StringLiteral); +} +function isTemplateLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TemplateLiteral); +} +function isTrueLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "true"; +} + +// src/types/getters.ts +function getCallSignaturesOfType(type) { + if (isUnionType(type)) { + const signatures = []; + for (const subType of type.types) { + signatures.push(...getCallSignaturesOfType(subType)); + } + return signatures; + } + if (isIntersectionType(type)) { + let signatures; + for (const subType of type.types) { + const sig = getCallSignaturesOfType(subType); + if (sig.length !== 0) { + if (signatures !== void 0) { + return []; + } + signatures = sig; + } + } + return signatures === void 0 ? [] : signatures; + } + return type.getCallSignatures(); +} +function getPropertyOfType(type, name) { + if (!name.startsWith("__")) { + return type.getProperty(name); + } + return type.getProperties().find((s) => s.escapedName === name); +} +function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker) { + const prefix = "__@" + wellKnownSymbolName; + for (const prop of type.getProperties()) { + if (!prop.name.startsWith(prefix)) { + continue; + } + const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; + if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9__default.default.isComputedPropertyName(declaration.name)) { + continue; + } + const globalSymbol = typeChecker.getApparentType( + typeChecker.getTypeAtLocation(declaration.name.expression) + ).symbol; + if (prop.escapedName === getPropertyNameOfWellKnownSymbol( + typeChecker, + globalSymbol, + wellKnownSymbolName + )) { + return prop; + } + } + return void 0; +} +function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { + const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( + symbolConstructor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + symbolConstructor.valueDeclaration + ).getProperty(symbolName); + const knownSymbolType = knownSymbol && typeChecker.getTypeOfSymbolAtLocation( + knownSymbol, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + knownSymbol.valueDeclaration + ); + if (knownSymbolType && isUniqueESSymbolType(knownSymbolType)) { + return knownSymbolType.escapedName; + } + return "__@" + symbolName; +} +function isBindableObjectDefinePropertyCall(node) { + return node.arguments.length === 3 && isEntityNameExpression(node.arguments[0]) && isNumericOrStringLikeLiteral(node.arguments[1]) && ts9__default.default.isPropertyAccessExpression(node.expression) && node.expression.name.escapedText === "defineProperty" && ts9__default.default.isIdentifier(node.expression.expression) && node.expression.expression.escapedText === "Object"; +} +function isInConstContext(node, typeChecker) { + let current = node; + while (true) { + const parent = current.parent; + outer: switch (parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.ObjectLiteralExpression: + case ts9__default.default.SyntaxKind.ParenthesizedExpression: + case ts9__default.default.SyntaxKind.TemplateExpression: + current = parent; + break; + case ts9__default.default.SyntaxKind.AsExpression: + case ts9__default.default.SyntaxKind.TypeAssertionExpression: + return isConstAssertionExpression(parent); + case ts9__default.default.SyntaxKind.CallExpression: { + if (!ts9__default.default.isExpression(current)) { + return false; + } + const functionSignature = typeChecker.getResolvedSignature( + parent + ); + if (functionSignature === void 0) { + return false; + } + const argumentIndex = parent.arguments.indexOf( + current + ); + if (argumentIndex < 0) { + return false; + } + const parameterSymbol = functionSignature.getParameters()[argumentIndex]; + if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + return false; + } + const parameterSymbolLinks = parameterSymbol.links; + const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; + if (propertySymbol === void 0 || !("links" in propertySymbol)) { + return false; + } + return isTransientSymbolLinksFlagSet( + propertySymbol.links, + ts9__default.default.CheckFlags.Readonly + ); + } + case ts9__default.default.SyntaxKind.PrefixUnaryExpression: + if (current.kind !== ts9__default.default.SyntaxKind.NumericLiteral) { + return false; + } + switch (parent.operator) { + case ts9__default.default.SyntaxKind.MinusToken: + case ts9__default.default.SyntaxKind.PlusToken: + current = parent; + break outer; + default: + return false; + } + case ts9__default.default.SyntaxKind.PropertyAssignment: + if (parent.initializer !== current) { + return false; + } + current = parent.parent; + break; + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + current = parent.parent; + break; + default: + return false; + } + } +} + +// src/types/utilities.ts +function intersectionTypeParts(type) { + return isIntersectionType(type) ? type.types : [type]; +} +function isFalsyType(type) { + if (isTypeFlagSet( + type, + ts9__default.default.TypeFlags.Undefined | ts9__default.default.TypeFlags.Null | ts9__default.default.TypeFlags.Void + )) { + return true; + } + if (typeIsLiteral(type)) { + if (typeof type.value === "object") { + return type.value.base10Value === "0"; + } else { + return !type.value; + } + } + return isFalseLiteralType(type); +} +function isPropertyReadonlyInType(type, name, typeChecker) { + let seenProperty = false; + let seenReadonlySignature = false; + for (const subType of unionTypeParts(type)) { + if (getPropertyOfType(subType, name) === void 0) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); + if (index?.isReadonly) { + if (seenProperty) { + return true; + } + seenReadonlySignature = true; + } + } else if (seenReadonlySignature || isReadonlyPropertyIntersection(subType, name, typeChecker)) { + return true; + } else { + seenProperty = true; + } + } + return false; +} +function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { + for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { + const then = typePart.getProperty("then"); + if (then === void 0) { + continue; + } + const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); + for (const subTypePart of unionTypeParts(thenType)) { + for (const signature of subTypePart.getCallSignatures()) { + if (signature.parameters.length !== 0 && isCallback(typeChecker, signature.parameters[0], node)) { + return true; + } + } + } + } + return false; +} +function symbolHasReadonlyDeclaration(symbol, typeChecker) { + return !!((symbol.flags & ts9__default.default.SymbolFlags.Accessor) === ts9__default.default.SymbolFlags.GetAccessor || symbol.declarations?.some( + (node) => isModifierFlagSet(node, ts9__default.default.ModifierFlags.Readonly) || ts9__default.default.isVariableDeclaration(node) && isNodeFlagSet(node.parent, ts9__default.default.NodeFlags.Const) || ts9__default.default.isCallExpression(node) && isReadonlyAssignmentDeclaration(node, typeChecker) || ts9__default.default.isEnumMember(node) || (ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isShorthandPropertyAssignment(node)) && isInConstContext(node, typeChecker) + )); +} +function typeIsLiteral(type) { + if (isTsVersionAtLeast(5, 0)) { + return type.isLiteral(); + } else { + return isTypeFlagSet( + type, + ts9__default.default.TypeFlags.StringLiteral | ts9__default.default.TypeFlags.NumberLiteral | ts9__default.default.TypeFlags.BigIntLiteral + ); + } +} +function typeParts(type) { + return isIntersectionType(type) || isUnionType(type) ? type.types : [type]; +} +function unionTypeParts(type) { + return isUnionType(type) ? type.types : [type]; +} +function isCallback(typeChecker, param, node) { + let type = typeChecker.getApparentType( + typeChecker.getTypeOfSymbolAtLocation(param, node) + ); + if (param.valueDeclaration.dotDotDotToken) { + type = type.getNumberIndexType(); + if (type === void 0) { + return false; + } + } + for (const subType of unionTypeParts(type)) { + if (subType.getCallSignatures().length !== 0) { + return true; + } + } + return false; +} +function isReadonlyAssignmentDeclaration(node, typeChecker) { + if (!isBindableObjectDefinePropertyCall(node)) { + return false; + } + const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); + if (descriptorType.getProperty("value") === void 0) { + return descriptorType.getProperty("set") === void 0; + } + const writableProp = descriptorType.getProperty("writable"); + if (writableProp === void 0) { + return false; + } + const writableType = writableProp.valueDeclaration !== void 0 && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + return isFalseLiteralType(writableType); +} +function isReadonlyPropertyFromMappedType(type, name, typeChecker) { + if (!isObjectType(type) || !isObjectFlagSet(type, ts9__default.default.ObjectFlags.Mapped)) { + return; + } + const declaration = type.symbol.declarations[0]; + if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + return declaration.readonlyToken.kind !== ts9__default.default.SyntaxKind.MinusToken; + } + const { modifiersType } = type; + return modifiersType && isPropertyReadonlyInType(modifiersType, name, typeChecker); +} +function isReadonlyPropertyIntersection(type, name, typeChecker) { + const typeParts2 = isIntersectionType(type) ? type.types : [type]; + return typeParts2.some((subType) => { + const prop = getPropertyOfType(subType, name); + if (prop === void 0) { + return false; + } + if (prop.flags & ts9__default.default.SymbolFlags.Transient) { + if (/^(?:[1-9]\d*|0)$/.test(name) && isTupleTypeReference(subType)) { + return subType.target.readonly; + } + switch (isReadonlyPropertyFromMappedType(subType, name, typeChecker)) { + case false: + return false; + case true: + return true; + } + } + return !!// members of namespace import + (isSymbolFlagSet(prop, ts9__default.default.SymbolFlags.ValueModule) || // we unwrapped every mapped type, now we can check the actual declarations + symbolHasReadonlyDeclaration(prop, typeChecker)); + }); +} +function identifierToKeywordKind(node) { + return "originalKeywordKind" in node ? node.originalKeywordKind : ts9__default.default.identifierToKeywordKind(node); +} + +// src/usage/declarations.ts +var DeclarationDomain = /* @__PURE__ */ ((DeclarationDomain2) => { + DeclarationDomain2[DeclarationDomain2["Namespace"] = 1] = "Namespace"; + DeclarationDomain2[DeclarationDomain2["Type"] = 2] = "Type"; + DeclarationDomain2[DeclarationDomain2["Value"] = 4] = "Value"; + DeclarationDomain2[DeclarationDomain2["Any"] = 7] = "Any"; + DeclarationDomain2[DeclarationDomain2["Import"] = 8] = "Import"; + return DeclarationDomain2; +})(DeclarationDomain || {}); +function getDeclarationDomain(node) { + switch (node.parent.kind) { + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + return 2 /* Type */ | 4 /* Value */; + case ts9__default.default.SyntaxKind.EnumDeclaration: + return 7 /* Any */; + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + return 4 /* Value */; + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.NamespaceImport: + return 7 /* Any */ | 8 /* Import */; + // TODO handle type-only imports + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.ImportSpecifier: + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + case ts9__default.default.SyntaxKind.TypeParameter: + return 2 /* Type */; + case ts9__default.default.SyntaxKind.ModuleDeclaration: + return 1 /* Namespace */; + case ts9__default.default.SyntaxKind.Parameter: + if (node.parent.parent.kind === ts9__default.default.SyntaxKind.IndexSignature || identifierToKeywordKind(node) === ts9__default.default.SyntaxKind.ThisKeyword) { + return; + } + // falls through + case ts9__default.default.SyntaxKind.BindingElement: + case ts9__default.default.SyntaxKind.VariableDeclaration: + return node.parent.name === node ? 4 /* Value */ : void 0; + } +} +function getPropertyName(propertyName) { + if (propertyName.kind === ts9__default.default.SyntaxKind.ComputedPropertyName) { + const expression = unwrapParentheses(propertyName.expression); + if (ts9__default.default.isPrefixUnaryExpression(expression)) { + let negate = false; + switch (expression.operator) { + case ts9__default.default.SyntaxKind.MinusToken: + negate = true; + // falls through + case ts9__default.default.SyntaxKind.PlusToken: + return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + default: + return; + } + } + if (ts9__default.default.isBigIntLiteral(expression)) { + return expression.text.slice(0, -1); + } + if (isNumericOrStringLikeLiteral(expression)) { + return expression.text; + } + return; + } + return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; +} +function unwrapParentheses(node) { + while (node.kind === ts9__default.default.SyntaxKind.ParenthesizedExpression) { + node = node.expression; + } + return node; +} +var UsageDomain = /* @__PURE__ */ ((UsageDomain2) => { + UsageDomain2[UsageDomain2["Namespace"] = 1] = "Namespace"; + UsageDomain2[UsageDomain2["Type"] = 2] = "Type"; + UsageDomain2[UsageDomain2["Value"] = 4] = "Value"; + UsageDomain2[UsageDomain2["Any"] = 7] = "Any"; + UsageDomain2[UsageDomain2["TypeQuery"] = 8] = "TypeQuery"; + UsageDomain2[UsageDomain2["ValueOrNamespace"] = 5] = "ValueOrNamespace"; + return UsageDomain2; +})(UsageDomain || {}); +function getUsageDomain(node) { + const parent = node.parent; + switch (parent.kind) { + // Value + case ts9__default.default.SyntaxKind.BindingElement: + if (parent.initializer === node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9__default.default.SyntaxKind.BreakStatement: + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + case ts9__default.default.SyntaxKind.ContinueStatement: + case ts9__default.default.SyntaxKind.EnumDeclaration: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.ImportSpecifier: + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.JsxAttribute: + case ts9__default.default.SyntaxKind.LabeledStatement: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.ModuleDeclaration: + case ts9__default.default.SyntaxKind.NamedTupleMember: + case ts9__default.default.SyntaxKind.NamespaceExport: + case ts9__default.default.SyntaxKind.NamespaceExportDeclaration: + case ts9__default.default.SyntaxKind.NamespaceImport: + case ts9__default.default.SyntaxKind.PropertySignature: + case ts9__default.default.SyntaxKind.SetAccessor: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + case ts9__default.default.SyntaxKind.TypeParameter: + case ts9__default.default.SyntaxKind.TypePredicate: + break; + case ts9__default.default.SyntaxKind.EnumMember: + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.Parameter: + case ts9__default.default.SyntaxKind.PropertyAccessExpression: + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.PropertyDeclaration: + case ts9__default.default.SyntaxKind.VariableDeclaration: + if (parent.name !== node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9__default.default.SyntaxKind.ExportAssignment: + return 7 /* Any */; + case ts9__default.default.SyntaxKind.ExportSpecifier: + if (parent.propertyName === void 0 || parent.propertyName === node) { + return 7 /* Any */; + } + break; + case ts9__default.default.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9__default.default.SyntaxKind.ImplementsKeyword || parent.parent.parent.kind === ts9__default.default.SyntaxKind.InterfaceDeclaration ? 2 /* Type */ : 4 /* Value */; + case ts9__default.default.SyntaxKind.QualifiedName: + if (parent.left === node) { + if (getEntityNameParent(parent).kind === ts9__default.default.SyntaxKind.TypeQuery) { + return 1 /* Namespace */ | 8 /* TypeQuery */; + } + return 1 /* Namespace */; + } + break; + case ts9__default.default.SyntaxKind.TypeQuery: + return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; + case ts9__default.default.SyntaxKind.TypeReference: + return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + default: + return 5 /* ValueOrNamespace */; + } +} +function getEntityNameParent(name) { + let parent = name.parent; + while (parent.kind === ts9__default.default.SyntaxKind.QualifiedName) { + parent = parent.parent; + } + return parent; +} +function isBlockScopeBoundary(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.Block: { + const parent = node.parent; + return parent.kind !== ts9__default.default.SyntaxKind.CatchClause && // blocks inside SourceFile are block scope boundaries + (parent.kind === ts9__default.default.SyntaxKind.SourceFile || // blocks that are direct children of a function scope boundary are no scope boundary + // for example the FunctionBlock is part of the function scope of the containing function + !isFunctionScopeBoundary(parent)) ? 2 /* Block */ : 0 /* None */; + } + case ts9__default.default.SyntaxKind.CaseBlock: + case ts9__default.default.SyntaxKind.CatchClause: + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.WithStatement: + return 2 /* Block */; + default: + return 0 /* None */; + } +} + +// src/usage/scopes.ts +var AbstractScope = class { + constructor(global) { + this.global = global; + } + namespaceScopes = void 0; + uses = []; + variables = /* @__PURE__ */ new Map(); + #enumScopes = void 0; + addUse(use) { + this.uses.push(use); + } + addVariable(identifier, name, selector, exported, domain) { + const variables = this.getDestinationScope(selector).getVariables(); + const declaration = { + declaration: name, + domain, + exported + }; + const variable = variables.get(identifier); + if (variable === void 0) { + variables.set(identifier, { + declarations: [declaration], + domain, + uses: [] + }); + } else { + variable.domain |= domain; + variable.declarations.push(declaration); + } + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + createOrReuseEnumScope(name, _exported) { + let scope; + if (this.#enumScopes === void 0) { + this.#enumScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.#enumScopes.get(name); + } + if (scope === void 0) { + scope = new EnumScope(this); + this.#enumScopes.set(name, scope); + } + return scope; + } + // only relevant for the root scope + createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { + let scope; + if (this.namespaceScopes === void 0) { + this.namespaceScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.namespaceScopes.get(name); + } + if (scope === void 0) { + scope = new NamespaceScope(ambient, hasExportStatement, this); + this.namespaceScopes.set(name, scope); + } else { + scope.refresh(ambient, hasExportStatement); + } + return scope; + } + end(cb) { + if (this.namespaceScopes !== void 0) { + this.namespaceScopes.forEach((value) => value.finish(cb)); + } + this.namespaceScopes = this.#enumScopes = void 0; + this.applyUses(); + this.variables.forEach((variable) => { + for (const declaration of variable.declarations) { + const result = { + declarations: [], + domain: declaration.domain, + exported: declaration.exported, + inGlobalScope: this.global, + uses: [] + }; + for (const other of variable.declarations) { + if (other.domain & declaration.domain) { + result.declarations.push(other.declaration); + } + } + for (const use of variable.uses) { + if (use.domain & declaration.domain) { + result.uses.push(use); + } + } + cb(result, declaration.declaration, this); + } + }); + } + getFunctionScope() { + return this; + } + getVariables() { + return this.variables; + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + markExported(_name) { + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + addUseToParent(_use) { + } + applyUse(use, variables = this.variables) { + const variable = variables.get(use.location.text); + if (variable === void 0 || (variable.domain & use.domain) === 0) { + return false; + } + variable.uses.push(use); + return true; + } + applyUses() { + for (const use of this.uses) { + if (!this.applyUse(use)) { + this.addUseToParent(use); + } + } + this.uses = []; + } +}; +var NonRootScope = class extends AbstractScope { + constructor(parent, boundary) { + super(false); + this.parent = parent; + this.boundary = boundary; + } + getDestinationScope(selector) { + return this.boundary & selector ? this : this.parent.getDestinationScope(selector); + } + addUseToParent(use) { + return this.parent.addUse(use, this); + } +}; +var AbstractNamedExpressionScope = class extends NonRootScope { + #domain; + #name; + constructor(name, domain, parent) { + super(parent, 1 /* Function */); + this.#name = name; + this.#domain = domain; + } + addUse(use, source) { + if (source !== this.innerScope) { + return this.innerScope.addUse(use); + } + if (use.domain & this.#domain && use.location.text === this.#name.text) { + this.uses.push(use); + } else { + return this.parent.addUse(use, this); + } + } + end(cb) { + this.innerScope.end(cb); + return cb( + { + declarations: [this.#name], + domain: this.#domain, + exported: false, + inGlobalScope: false, + uses: this.uses + }, + this.#name, + this + ); + } + getDestinationScope() { + return this.innerScope; + } + getFunctionScope() { + return this.innerScope; + } +}; +var BlockScope = class extends NonRootScope { + #functionScope; + constructor(functionScope, parent) { + super(parent, 2 /* Block */); + this.#functionScope = functionScope; + } + getFunctionScope() { + return this.#functionScope; + } +}; +var ClassExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new NonRootScope(this, 1 /* Function */); + constructor(name, parent) { + super(name, 4 /* Value */ | 2 /* Type */, parent); + } +}; +var ConditionalTypeScope = class extends NonRootScope { + #state = 0 /* Initial */; + constructor(parent) { + super(parent, 8 /* ConditionalType */); + } + addUse(use) { + if (this.#state === 2 /* TrueType */) { + return void this.uses.push(use); + } + return this.parent.addUse(use, this); + } + updateState(newState) { + this.#state = newState; + } +}; +var EnumScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + end() { + this.applyUses(); + } +}; +var FunctionScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + beginBody() { + this.applyUses(); + } +}; +var FunctionExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new FunctionScope(this); + constructor(name, parent) { + super(name, 4 /* Value */, parent); + } + beginBody() { + return this.innerScope.beginBody(); + } +}; +var NamespaceScope = class extends NonRootScope { + #ambient; + #exports = void 0; + #hasExport; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(ambient, hasExport, parent) { + super(parent, 1 /* Function */); + this.#ambient = ambient; + this.#hasExport = hasExport; + } + addUse(use, source) { + if (source !== this.#innerScope) { + return this.#innerScope.addUse(use); + } + this.uses.push(use); + } + createOrReuseEnumScope(name, exported) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseEnumScope(name, exported); + } + return super.createOrReuseEnumScope(name, exported); + } + createOrReuseNamespaceScope(name, exported, ambient, hasExportStatement) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + return super.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + end(cb) { + this.#innerScope.end((variable, key, scope) => { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + return cb(variable, key, scope); + } + const namespaceVar = this.variables.get(key.text); + if (namespaceVar === void 0) { + this.variables.set(key.text, { + declarations: variable.declarations.map(mapDeclaration), + domain: variable.domain, + uses: [...variable.uses] + }); + } else { + outer: for (const declaration of variable.declarations) { + for (const existing of namespaceVar.declarations) { + if (existing.declaration === declaration) { + continue outer; + } + namespaceVar.declarations.push(mapDeclaration(declaration)); + } + } + namespaceVar.domain |= variable.domain; + for (const use of variable.uses) { + if (namespaceVar.uses.includes(use)) { + continue; + } + namespaceVar.uses.push(use); + } + } + }); + this.applyUses(); + this.#innerScope = new NonRootScope(this, 1 /* Function */); + } + finish(cb) { + return super.end(cb); + } + getDestinationScope() { + return this.#innerScope; + } + markExported(name) { + if (this.#exports === void 0) { + this.#exports = /* @__PURE__ */ new Set(); + } + this.#exports.add(name.text); + } + refresh(ambient, hasExport) { + this.#ambient = ambient; + this.#hasExport = hasExport; + } +}; +var RootScope = class extends AbstractScope { + #exportAll; + #exports = void 0; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(exportAll, global) { + super(global); + this.#exportAll = exportAll; + } + addUse(use, origin) { + if (origin === this.#innerScope) { + return super.addUse(use); + } + return this.#innerScope.addUse(use); + } + addVariable(identifier, name, selector, exported, domain) { + if (domain & 8 /* Import */) { + return super.addVariable(identifier, name, selector, exported, domain); + } + return this.#innerScope.addVariable( + identifier, + name, + selector, + exported, + domain + ); + } + end(cb) { + this.#innerScope.end((value, key) => { + value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.inGlobalScope = this.global; + return cb(value, key, this); + }); + return super.end((value, key, scope) => { + value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + return cb(value, key, scope); + }); + } + getDestinationScope() { + return this; + } + markExported(id) { + if (this.#exports === void 0) { + this.#exports = [id.text]; + } else { + this.#exports.push(id.text); + } + } +}; +function mapDeclaration(declaration) { + return { + declaration, + domain: getDeclarationDomain(declaration), + exported: true + }; +} + +// src/usage/UsageWalker.ts +var UsageWalker = class { + #result = /* @__PURE__ */ new Map(); + #scope; + getUsage(sourceFile) { + const variableCallback = (variable, key) => { + this.#result.set(key, variable); + }; + const isModule = ts9__default.default.isExternalModule(sourceFile); + this.#scope = new RootScope( + sourceFile.isDeclarationFile && isModule && !containsExportStatement(sourceFile), + !isModule + ); + const cb = (node) => { + if (isBlockScopeBoundary(node)) { + return continueWithScope( + node, + new BlockScope(this.#scope.getFunctionScope(), this.#scope), + handleBlockScope + ); + } + switch (node.kind) { + case ts9__default.default.SyntaxKind.ArrowFunction: + case ts9__default.default.SyntaxKind.CallSignature: + case ts9__default.default.SyntaxKind.Constructor: + case ts9__default.default.SyntaxKind.ConstructorType: + case ts9__default.default.SyntaxKind.ConstructSignature: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.FunctionType: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.SetAccessor: + return this.#handleFunctionLikeDeclaration( + node, + cb, + variableCallback + ); + case ts9__default.default.SyntaxKind.ClassDeclaration: + this.#handleDeclaration( + node, + true, + 4 /* Value */ | 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9__default.default.SyntaxKind.ClassExpression: + return continueWithScope( + node, + node.name !== void 0 ? new ClassExpressionScope( + node.name, + this.#scope + ) : new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9__default.default.SyntaxKind.ConditionalType: + return this.#handleConditionalType( + node, + cb, + variableCallback + ); + case ts9__default.default.SyntaxKind.EnumDeclaration: + this.#handleDeclaration( + node, + true, + 7 /* Any */ + ); + return continueWithScope( + node, + this.#scope.createOrReuseEnumScope( + node.name.text, + includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ) + ) + ); + case ts9__default.default.SyntaxKind.EnumMember: + this.#scope.addVariable( + getPropertyName(node.name), + node.name, + 1 /* Function */, + true, + 4 /* Value */ + ); + break; + case ts9__default.default.SyntaxKind.ExportAssignment: + if (node.expression.kind === ts9__default.default.SyntaxKind.Identifier) { + return this.#scope.markExported( + node.expression + ); + } + break; + case ts9__default.default.SyntaxKind.ExportSpecifier: + if (node.propertyName !== void 0) { + return this.#scope.markExported( + node.propertyName, + node.name + ); + } + return this.#scope.markExported(node.name); + case ts9__default.default.SyntaxKind.Identifier: { + const domain = getUsageDomain(node); + if (domain !== void 0) { + this.#scope.addUse({ domain, location: node }); + } + return; + } + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.ImportSpecifier: + case ts9__default.default.SyntaxKind.NamespaceImport: + this.#handleDeclaration( + node, + false, + 7 /* Any */ | 8 /* Import */ + ); + break; + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + this.#handleDeclaration( + node, + true, + 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9__default.default.SyntaxKind.MappedType: + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9__default.default.SyntaxKind.ModuleDeclaration: + return this.#handleModule( + node, + continueWithScope + ); + case ts9__default.default.SyntaxKind.Parameter: + if (node.parent.kind !== ts9__default.default.SyntaxKind.IndexSignature && (node.name.kind !== ts9__default.default.SyntaxKind.Identifier || identifierToKeywordKind( + node.name + ) !== ts9__default.default.SyntaxKind.ThisKeyword)) { + this.#handleBindingName( + node.name, + false, + false + ); + } + break; + case ts9__default.default.SyntaxKind.TypeParameter: + this.#scope.addVariable( + node.name.text, + node.name, + node.parent.kind === ts9__default.default.SyntaxKind.InferType ? 8 /* InferType */ : 7 /* Type */, + false, + 2 /* Type */ + ); + break; + // End of Scope specific handling + case ts9__default.default.SyntaxKind.VariableDeclarationList: + this.#handleVariableDeclaration(node); + break; + } + return ts9__default.default.forEachChild(node, cb); + }; + const continueWithScope = (node, scope, next = forEachChild) => { + const savedScope = this.#scope; + this.#scope = scope; + next(node); + this.#scope.end(variableCallback); + this.#scope = savedScope; + }; + const handleBlockScope = (node) => { + if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + this.#handleBindingName( + node.variableDeclaration.name, + true, + false + ); + } + return ts9__default.default.forEachChild(node, cb); + }; + ts9__default.default.forEachChild(sourceFile, cb); + this.#scope.end(variableCallback); + return this.#result; + function forEachChild(node) { + return ts9__default.default.forEachChild(node, cb); + } + } + #handleBindingName(name, blockScoped, exported) { + if (name.kind === ts9__default.default.SyntaxKind.Identifier) { + return this.#scope.addVariable( + name.text, + name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + } + forEachDestructuringIdentifier(name, (declaration) => { + this.#scope.addVariable( + declaration.name.text, + declaration.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + }); + } + #handleConditionalType(node, cb, varCb) { + const savedScope = this.#scope; + const scope = this.#scope = new ConditionalTypeScope(savedScope); + cb(node.checkType); + scope.updateState(1 /* Extends */); + cb(node.extendsType); + scope.updateState(2 /* TrueType */); + cb(node.trueType); + scope.updateState(3 /* FalseType */); + cb(node.falseType); + scope.end(varCb); + this.#scope = savedScope; + } + #handleDeclaration(node, blockScoped, domain) { + if (node.name !== void 0) { + this.#scope.addVariable( + node.name.text, + node.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ), + domain + ); + } + } + #handleFunctionLikeDeclaration(node, cb, varCb) { + if (ts9__default.default.canHaveDecorators(node)) { + ts9__default.default.getDecorators(node)?.forEach(cb); + } + const savedScope = this.#scope; + if (node.kind === ts9__default.default.SyntaxKind.FunctionDeclaration) { + this.#handleDeclaration(node, false, 4 /* Value */); + } + const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== void 0) { + cb(node.name); + } + if (node.typeParameters !== void 0) { + node.typeParameters.forEach(cb); + } + node.parameters.forEach(cb); + if (node.type !== void 0) { + cb(node.type); + } + if (node.body !== void 0) { + scope.beginBody(); + cb(node.body); + } + scope.end(varCb); + this.#scope = savedScope; + } + #handleModule(node, next) { + if (node.flags & ts9__default.default.NodeFlags.GlobalAugmentation) { + return next( + node, + this.#scope.createOrReuseNamespaceScope("-global", false, true, false) + ); + } + if (node.name.kind === ts9__default.default.SyntaxKind.Identifier) { + const exported = isNamespaceExported(node); + this.#scope.addVariable( + node.name.text, + node.name, + 1 /* Function */, + exported, + 1 /* Namespace */ | 4 /* Value */ + ); + const ambient = includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.DeclareKeyword + ); + return next( + node, + this.#scope.createOrReuseNamespaceScope( + node.name.text, + exported, + ambient, + ambient && namespaceHasExportStatement(node) + ) + ); + } + return next( + node, + this.#scope.createOrReuseNamespaceScope( + `"${node.name.text}"`, + false, + true, + namespaceHasExportStatement(node) + ) + ); + } + #handleVariableDeclaration(declarationList) { + const blockScoped = isBlockScopedVariableDeclarationList(declarationList); + const exported = declarationList.parent.kind === ts9__default.default.SyntaxKind.VariableStatement && includesModifier( + declarationList.parent.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ); + for (const declaration of declarationList.declarations) { + this.#handleBindingName(declaration.name, blockScoped, exported); + } + } +}; +function containsExportStatement(block) { + for (const statement of block.statements) { + if (statement.kind === ts9__default.default.SyntaxKind.ExportDeclaration || statement.kind === ts9__default.default.SyntaxKind.ExportAssignment) { + return true; + } + } + return false; +} +function forEachDestructuringIdentifier(pattern, fn) { + for (const element of pattern.elements) { + if (element.kind !== ts9__default.default.SyntaxKind.BindingElement) { + continue; + } + let result; + if (element.name.kind === ts9__default.default.SyntaxKind.Identifier) { + result = fn(element); + } else { + result = forEachDestructuringIdentifier(element.name, fn); + } + if (result) { + return result; + } + } +} +function isBlockScopedVariableDeclarationList(declarationList) { + return (declarationList.flags & ts9__default.default.NodeFlags.BlockScoped) !== 0; +} +function isNamespaceExported(node) { + return node.parent.kind === ts9__default.default.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9__default.default.SyntaxKind.ExportKeyword); +} +function namespaceHasExportStatement(ns) { + if (ns.body === void 0 || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { + return false; + } + return containsExportStatement(ns.body); +} + +// src/usage/collectVariableUsage.ts +function collectVariableUsage(sourceFile) { + return new UsageWalker().getUsage(sourceFile); +} + +exports.AccessKind = AccessKind; +exports.DeclarationDomain = DeclarationDomain; +exports.UsageDomain = UsageDomain; +exports.collectVariableUsage = collectVariableUsage; +exports.forEachComment = forEachComment; +exports.forEachToken = forEachToken; +exports.getAccessKind = getAccessKind; +exports.getCallSignaturesOfType = getCallSignaturesOfType; +exports.getPropertyOfType = getPropertyOfType; +exports.getWellKnownSymbolPropertyOfType = getWellKnownSymbolPropertyOfType; +exports.hasDecorators = hasDecorators; +exports.hasExpressionInitializer = hasExpressionInitializer; +exports.hasInitializer = hasInitializer; +exports.hasJSDoc = hasJSDoc; +exports.hasModifiers = hasModifiers; +exports.hasType = hasType; +exports.hasTypeArguments = hasTypeArguments; +exports.includesModifier = includesModifier; +exports.intersectionTypeParts = intersectionTypeParts; +exports.isAbstractKeyword = isAbstractKeyword; +exports.isAccessExpression = isAccessExpression; +exports.isAccessibilityModifier = isAccessibilityModifier; +exports.isAccessorDeclaration = isAccessorDeclaration; +exports.isAccessorKeyword = isAccessorKeyword; +exports.isAnyKeyword = isAnyKeyword; +exports.isArrayBindingElement = isArrayBindingElement; +exports.isArrayBindingOrAssignmentPattern = isArrayBindingOrAssignmentPattern; +exports.isAssertKeyword = isAssertKeyword; +exports.isAssertsKeyword = isAssertsKeyword; +exports.isAssignmentKind = isAssignmentKind; +exports.isAssignmentPattern = isAssignmentPattern; +exports.isAsyncKeyword = isAsyncKeyword; +exports.isAwaitKeyword = isAwaitKeyword; +exports.isBigIntKeyword = isBigIntKeyword; +exports.isBigIntLiteralType = isBigIntLiteralType; +exports.isBindingOrAssignmentElementRestIndicator = isBindingOrAssignmentElementRestIndicator; +exports.isBindingOrAssignmentElementTarget = isBindingOrAssignmentElementTarget; +exports.isBindingOrAssignmentPattern = isBindingOrAssignmentPattern; +exports.isBindingPattern = isBindingPattern; +exports.isBlockLike = isBlockLike; +exports.isBooleanKeyword = isBooleanKeyword; +exports.isBooleanLiteral = isBooleanLiteral; +exports.isBooleanLiteralType = isBooleanLiteralType; +exports.isClassLikeDeclaration = isClassLikeDeclaration; +exports.isClassMemberModifier = isClassMemberModifier; +exports.isColonToken = isColonToken; +exports.isCompilerOptionEnabled = isCompilerOptionEnabled; +exports.isConditionalType = isConditionalType; +exports.isConstAssertionExpression = isConstAssertionExpression; +exports.isConstKeyword = isConstKeyword; +exports.isDeclarationName = isDeclarationName; +exports.isDeclarationWithTypeParameterChildren = isDeclarationWithTypeParameterChildren; +exports.isDeclarationWithTypeParameters = isDeclarationWithTypeParameters; +exports.isDeclareKeyword = isDeclareKeyword; +exports.isDefaultKeyword = isDefaultKeyword; +exports.isDestructuringPattern = isDestructuringPattern; +exports.isDotToken = isDotToken; +exports.isEndOfFileToken = isEndOfFileToken; +exports.isEntityNameExpression = isEntityNameExpression; +exports.isEntityNameOrEntityNameExpression = isEntityNameOrEntityNameExpression; +exports.isEnumType = isEnumType; +exports.isEqualsGreaterThanToken = isEqualsGreaterThanToken; +exports.isEqualsToken = isEqualsToken; +exports.isEvolvingArrayType = isEvolvingArrayType; +exports.isExclamationToken = isExclamationToken; +exports.isExportKeyword = isExportKeyword; +exports.isFalseKeyword = isFalseKeyword; +exports.isFalseLiteral = isFalseLiteral; +exports.isFalseLiteralType = isFalseLiteralType; +exports.isFalsyType = isFalsyType; +exports.isForInOrOfStatement = isForInOrOfStatement; +exports.isFreshableIntrinsicType = isFreshableIntrinsicType; +exports.isFreshableType = isFreshableType; +exports.isFunctionLikeDeclaration = isFunctionLikeDeclaration; +exports.isFunctionScopeBoundary = isFunctionScopeBoundary; +exports.isImportExpression = isImportExpression; +exports.isImportKeyword = isImportKeyword; +exports.isInKeyword = isInKeyword; +exports.isIndexType = isIndexType; +exports.isIndexedAccessType = isIndexedAccessType; +exports.isInstantiableType = isInstantiableType; +exports.isIntersectionType = isIntersectionType; +exports.isIntrinsicAnyType = isIntrinsicAnyType; +exports.isIntrinsicBigIntType = isIntrinsicBigIntType; +exports.isIntrinsicBooleanType = isIntrinsicBooleanType; +exports.isIntrinsicESSymbolType = isIntrinsicESSymbolType; +exports.isIntrinsicErrorType = isIntrinsicErrorType; +exports.isIntrinsicNeverType = isIntrinsicNeverType; +exports.isIntrinsicNonPrimitiveType = isIntrinsicNonPrimitiveType; +exports.isIntrinsicNullType = isIntrinsicNullType; +exports.isIntrinsicNumberType = isIntrinsicNumberType; +exports.isIntrinsicStringType = isIntrinsicStringType; +exports.isIntrinsicType = isIntrinsicType; +exports.isIntrinsicUndefinedType = isIntrinsicUndefinedType; +exports.isIntrinsicUnknownType = isIntrinsicUnknownType; +exports.isIntrinsicVoidType = isIntrinsicVoidType; +exports.isIterationStatement = isIterationStatement; +exports.isJSDocComment = isJSDocComment; +exports.isJSDocNamespaceBody = isJSDocNamespaceBody; +exports.isJSDocNamespaceDeclaration = isJSDocNamespaceDeclaration; +exports.isJSDocText = isJSDocText; +exports.isJSDocTypeReferencingNode = isJSDocTypeReferencingNode; +exports.isJsonMinusNumericLiteral = isJsonMinusNumericLiteral; +exports.isJsonObjectExpression = isJsonObjectExpression; +exports.isJsxAttributeLike = isJsxAttributeLike; +exports.isJsxAttributeValue = isJsxAttributeValue; +exports.isJsxChild = isJsxChild; +exports.isJsxTagNameExpression = isJsxTagNameExpression; +exports.isJsxTagNamePropertyAccess = isJsxTagNamePropertyAccess; +exports.isLiteralToken = isLiteralToken; +exports.isLiteralType = isLiteralType; +exports.isModifierFlagSet = isModifierFlagSet; +exports.isModuleBody = isModuleBody; +exports.isModuleName = isModuleName; +exports.isModuleReference = isModuleReference; +exports.isNamedDeclarationWithName = isNamedDeclarationWithName; +exports.isNamedImportBindings = isNamedImportBindings; +exports.isNamedImportsOrExports = isNamedImportsOrExports; +exports.isNamespaceBody = isNamespaceBody; +exports.isNamespaceDeclaration = isNamespaceDeclaration; +exports.isNeverKeyword = isNeverKeyword; +exports.isNodeFlagSet = isNodeFlagSet; +exports.isNullKeyword = isNullKeyword; +exports.isNullLiteral = isNullLiteral; +exports.isNumberKeyword = isNumberKeyword; +exports.isNumberLiteralType = isNumberLiteralType; +exports.isNumericOrStringLikeLiteral = isNumericOrStringLikeLiteral; +exports.isNumericPropertyName = isNumericPropertyName; +exports.isObjectBindingOrAssignmentElement = isObjectBindingOrAssignmentElement; +exports.isObjectBindingOrAssignmentPattern = isObjectBindingOrAssignmentPattern; +exports.isObjectFlagSet = isObjectFlagSet; +exports.isObjectKeyword = isObjectKeyword; +exports.isObjectType = isObjectType; +exports.isObjectTypeDeclaration = isObjectTypeDeclaration; +exports.isOutKeyword = isOutKeyword; +exports.isOverrideKeyword = isOverrideKeyword; +exports.isParameterPropertyModifier = isParameterPropertyModifier; +exports.isPrivateKeyword = isPrivateKeyword; +exports.isPropertyAccessEntityNameExpression = isPropertyAccessEntityNameExpression; +exports.isPropertyNameLiteral = isPropertyNameLiteral; +exports.isPropertyReadonlyInType = isPropertyReadonlyInType; +exports.isProtectedKeyword = isProtectedKeyword; +exports.isPseudoLiteralToken = isPseudoLiteralToken; +exports.isPublicKeyword = isPublicKeyword; +exports.isQuestionDotToken = isQuestionDotToken; +exports.isQuestionToken = isQuestionToken; +exports.isReadonlyKeyword = isReadonlyKeyword; +exports.isSignatureDeclaration = isSignatureDeclaration; +exports.isStaticKeyword = isStaticKeyword; +exports.isStrictCompilerOptionEnabled = isStrictCompilerOptionEnabled; +exports.isStringKeyword = isStringKeyword; +exports.isStringLiteralType = isStringLiteralType; +exports.isStringMappingType = isStringMappingType; +exports.isSubstitutionType = isSubstitutionType; +exports.isSuperElementAccessExpression = isSuperElementAccessExpression; +exports.isSuperExpression = isSuperExpression; +exports.isSuperKeyword = isSuperKeyword; +exports.isSuperProperty = isSuperProperty; +exports.isSuperPropertyAccessExpression = isSuperPropertyAccessExpression; +exports.isSymbolFlagSet = isSymbolFlagSet; +exports.isSymbolKeyword = isSymbolKeyword; +exports.isSyntaxList = isSyntaxList; +exports.isTemplateLiteralType = isTemplateLiteralType; +exports.isThenableType = isThenableType; +exports.isThisExpression = isThisExpression; +exports.isThisKeyword = isThisKeyword; +exports.isTransientSymbolLinksFlagSet = isTransientSymbolLinksFlagSet; +exports.isTrueKeyword = isTrueKeyword; +exports.isTrueLiteral = isTrueLiteral; +exports.isTrueLiteralType = isTrueLiteralType; +exports.isTupleType = isTupleType; +exports.isTupleTypeReference = isTupleTypeReference; +exports.isTypeFlagSet = isTypeFlagSet; +exports.isTypeOnlyCompatibleAliasDeclaration = isTypeOnlyCompatibleAliasDeclaration; +exports.isTypeParameter = isTypeParameter; +exports.isTypeReference = isTypeReference; +exports.isTypeReferenceType = isTypeReferenceType; +exports.isTypeVariable = isTypeVariable; +exports.isUndefinedKeyword = isUndefinedKeyword; +exports.isUnionOrIntersectionType = isUnionOrIntersectionType; +exports.isUnionOrIntersectionTypeNode = isUnionOrIntersectionTypeNode; +exports.isUnionType = isUnionType; +exports.isUniqueESSymbolType = isUniqueESSymbolType; +exports.isUnknownKeyword = isUnknownKeyword; +exports.isValidPropertyAccess = isValidPropertyAccess; +exports.isVariableLikeDeclaration = isVariableLikeDeclaration; +exports.isVoidKeyword = isVoidKeyword; +exports.symbolHasReadonlyDeclaration = symbolHasReadonlyDeclaration; +exports.typeIsLiteral = typeIsLiteral; +exports.typeParts = typeParts; +exports.unionTypeParts = unionTypeParts; diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.cts b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.cts new file mode 100644 index 0000000000..217906ef6a --- /dev/null +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.cts @@ -0,0 +1,3003 @@ +import ts from 'typescript'; + +/** + * Callback type used for {@link forEachComment}. + * @category Callbacks + * @param fullText Full parsed text of the comment. + * @param comment Text range of the comment in its file. + * @example + * ```ts + * let onComment: ForEachCommentCallback = (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }; + * ``` + */ +type ForEachCommentCallback = (fullText: string, comment: ts.CommentRange) => void; +/** + * Iterates over all comments owned by `node` or its children. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachComment(node, (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }); + * ``` + */ +declare function forEachComment(node: ts.Node, callback: ForEachCommentCallback, sourceFile?: ts.SourceFile): void; + +/** + * An option that can be tested with {@link isCompilerOptionEnabled}. + * @category Compiler Options + */ +type BooleanCompilerOptions = keyof { + [K in keyof ts.CompilerOptions as NonNullable extends boolean ? K : never]: unknown; +}; +/** + * An option that can be tested with {@link isStrictCompilerOptionEnabled}. + * @category Compiler Options + */ +type StrictCompilerOption = "alwaysStrict" | "noImplicitAny" | "noImplicitThis" | "strictBindCallApply" | "strictFunctionTypes" | "strictNullChecks" | "strictPropertyInitialization"; +/** + * Checks if a given compiler option is enabled. + * It handles dependencies of options, e.g. `declaration` is implicitly enabled by `composite` or `strictNullChecks` is enabled by `strict`. + * However, it does not check dependencies that are already checked and reported as errors, e.g. `checkJs` without `allowJs`. + * This function only handles boolean flags. + * @category Compiler Options + * @example + * ```ts + * const options = { + * allowJs: true, + * }; + * + * isCompilerOptionEnabled(options, "allowJs"); // true + * isCompilerOptionEnabled(options, "allowSyntheticDefaultImports"); // false + * ``` + */ +declare function isCompilerOptionEnabled(options: ts.CompilerOptions, option: BooleanCompilerOptions): boolean; +/** + * Checks if a given compiler option is enabled, accounting for whether all flags + * (except `strictPropertyInitialization`) have been enabled by `strict: true`. + * @category Compiler Options + * @example + * ```ts + * const optionsLenient = { + * noImplicitAny: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitThis"); // false + * ``` + * @example + * ```ts + * const optionsStrict = { + * noImplicitThis: false, + * strict: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitThis"); // false + * ``` + */ +declare function isStrictCompilerOptionEnabled(options: ts.CompilerOptions, option: StrictCompilerOption): boolean; + +/** + * Test if the given node has the given `ModifierFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModifierFlagSet(node, ts.ModifierFlags.Abstract)) { + * // ... + * } + * ``` + */ +declare function isModifierFlagSet(node: ts.Declaration, flag: ts.ModifierFlags): boolean; +/** + * Test if the given node has the given `NodeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { + * // ... + * } + * ``` + */ +declare const isNodeFlagSet: (node: ts.Node, flag: ts.NodeFlags) => boolean; +/** + * Test if the given node has the given `ObjectFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectFlagSet(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isObjectFlagSet(objectType: ts.ObjectType, flag: ts.ObjectFlags): boolean; +/** + * Test if the given node has the given `SymbolFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * + * if (isSymbolFlagSet(symbol, ts.SymbolFlags.Accessor)) { + * // ... + * } + * ``` + */ +declare const isSymbolFlagSet: (symbol: ts.Symbol, flag: ts.SymbolFlags) => boolean; +/** + * Test if the given symbol's links has the given `CheckFlags` set. + * @internal + */ +declare function isTransientSymbolLinksFlagSet(links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean; +/** + * Test if the given node has the given `TypeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeFlagSet(type, ts.TypeFlags.Any)) { + * // ... + * } + * ``` + */ +declare const isTypeFlagSet: (type: ts.Type, flag: ts.TypeFlags) => boolean; + +/** + * Test if the given iterable includes a modifier of any of the given kinds. + * @category Modifier Utilities + * @example + * ```ts + * declare const modifiers: ts.Modifier[]; + * + * includesModifier(modifiers, ts.SyntaxKind.AbstractKeyword); + * ``` + */ +declare function includesModifier(modifiers: Iterable | undefined, ...kinds: ts.ModifierSyntaxKind[]): boolean; + +/** + * What operations(s), if any, an expression applies. + */ +declare enum AccessKind { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + ReadWrite = 3 +} +/** + * Determines which operation(s), if any, an expression applies. + * @example + * ```ts + * declare const node: ts.Expression; + * + * if (getAccessKind(node).Write & AccessKind.Write) !== 0) { + * // this is a reassignment (write) + * } + * ``` + */ +declare function getAccessKind(node: ts.Expression): AccessKind; + +/** + * An `AssertionExpression` that is declared as const. + * @category Node Types + */ +type ConstAssertionExpression = ts.AssertionExpression & { + type: ts.TypeReferenceNode; + typeName: ConstAssertionIdentifier; +}; +/** + * An `Identifier` with an `escapedText` value of `"const"`. + * @category Node Types + */ +type ConstAssertionIdentifier = ts.Identifier & { + escapedText: "const" & ts.__String; +}; +/** + * a `NamedDeclaration` that definitely has a name. + * @category Node Types + */ +interface NamedDeclarationWithName extends ts.NamedDeclaration { + name: ts.DeclarationName; +} +/** + * A number or string-like literal. + * @category Node Types + */ +type NumericOrStringLikeLiteral = ts.NumericLiteral | ts.StringLiteralLike; +/** + * Test if a node is a {@link ConstAssertionExpression}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstAssertionExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ConstAssertionExpression}. + */ +declare function isConstAssertionExpression(node: ts.AssertionExpression): node is ConstAssertionExpression; +/** + * Test if a node is an `IterationStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isIterationStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `IterationStatement`. + */ +declare function isIterationStatement(node: ts.Node): node is ts.IterationStatement; +/** + * Test if a node is a `JSDocNamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceDeclaration`. + */ +declare function isJSDocNamespaceDeclaration(node: ts.Node): node is ts.JSDocNamespaceDeclaration; +/** + * Test if a node is a `JsxTagNamePropertyAccess`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNamePropertyAccess(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNamePropertyAccess`. + */ +declare function isJsxTagNamePropertyAccess(node: ts.Node): node is ts.JsxTagNamePropertyAccess; +/** + * Test if a node is a {@link NamedDeclarationWithName}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedDeclarationWithName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NamedDeclarationWithName}. + */ +declare function isNamedDeclarationWithName(node: ts.Declaration): node is NamedDeclarationWithName; +/** + * Test if a node is a `NamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceDeclaration`. + */ +declare function isNamespaceDeclaration(node: ts.Node): node is ts.NamespaceDeclaration; +/** + * Test if a node is a {@link NumericOrStringLikeLiteral}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumericOrStringLikeLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumericOrStringLikeLiteral}. + */ +declare function isNumericOrStringLikeLiteral(node: ts.Node): node is NumericOrStringLikeLiteral; +/** + * Test if a node is a `PropertyAccessEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyAccessEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyAccessEntityNameExpression`. + */ +declare function isPropertyAccessEntityNameExpression(node: ts.Node): node is ts.PropertyAccessEntityNameExpression; +/** + * Test if a node is a `SuperElementAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperElementAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperElementAccessExpression`. + */ +declare function isSuperElementAccessExpression(node: ts.Node): node is ts.SuperElementAccessExpression; +/** + * Test if a node is a `SuperPropertyAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperPropertyAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperPropertyAccessExpression`. + */ +declare function isSuperPropertyAccessExpression(node: ts.Node): node is ts.SuperPropertyAccessExpression; + +/** + * A node that represents the any keyword. + * @category Node Types + */ +type AnyKeyword = ts.KeywordToken; +/** + * A node that represents the bigint keyword. + * @category Node Types + */ +type BigIntKeyword = ts.KeywordToken; +/** + * A node that represents the boolean keyword. + * @category Node Types + */ +type BooleanKeyword = ts.KeywordToken; +/** + * A node that represents the false keyword. + * @category Node Types + */ +type FalseKeyword = ts.KeywordToken; +/** + * A node that represents the import keyword. + * @category Node Types + */ +type ImportKeyword = ts.KeywordToken; +/** + * A node that represents the never keyword. + * @category Node Types + */ +type NeverKeyword = ts.KeywordToken; +/** + * A node that represents the null keyword. + * @category Node Types + */ +type NullKeyword = ts.KeywordToken; +/** + * A node that represents the number keyword. + * @category Node Types + */ +type NumberKeyword = ts.KeywordToken; +/** + * A node that represents the object keyword. + * @category Node Types + */ +type ObjectKeyword = ts.KeywordToken; +/** + * A node that represents the string keyword. + * @category Node Types + */ +type StringKeyword = ts.KeywordToken; +/** + * A node that represents the super keyword. + * @category Node Types + */ +type SuperKeyword = ts.KeywordToken; +/** + * A node that represents the symbol keyword. + * @category Node Types + */ +type SymbolKeyword = ts.KeywordToken; +/** + * A node that represents the this keyword. + * @category Node Types + */ +type ThisKeyword = ts.KeywordToken; +/** + * A node that represents the true keyword. + * @category Node Types + */ +type TrueKeyword = ts.KeywordToken; +/** + * A node that represents the undefined keyword. + * @category Node Types + */ +type UndefinedKeyword = ts.KeywordToken; +/** + * A node that represents the unknown keyword. + * @category Node Types + */ +type UnknownKeyword = ts.KeywordToken; +/** + * A node that represents the void keyword. + * @category Node Types + */ +type VoidKeyword = ts.KeywordToken; +/** + * Test if a node is an `AbstractKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAbstractKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AbstractKeyword`. + */ +declare function isAbstractKeyword(node: ts.Node): node is ts.AbstractKeyword; +/** + * Test if a node is an `AccessorKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorKeyword`. + */ +declare function isAccessorKeyword(node: ts.Node): node is ts.AccessorKeyword; +/** + * Test if a node is an {@link AnyKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAnyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link AnyKeyword}. + */ +declare function isAnyKeyword(node: ts.Node): node is AnyKeyword; +/** + * Test if a node is an `AssertKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertKeyword`. + */ +declare function isAssertKeyword(node: ts.Node): node is ts.AssertKeyword; +/** + * Test if a node is an `AssertsKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAssertsKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertsKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertsKeyword`. + */ +declare function isAssertsKeyword(node: ts.Node): node is ts.AssertsKeyword; +/** + * Test if a node is an `AsyncKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAsyncKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AsyncKeyword`. + */ +declare function isAsyncKeyword(node: ts.Node): node is ts.AsyncKeyword; +/** + * Test if a node is an `AwaitKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAwaitKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAwaitKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AwaitKeyword`. + */ +declare function isAwaitKeyword(node: ts.Node): node is ts.AwaitKeyword; +/** + * Test if a node is a {@link BigIntKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBigIntKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBigIntKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BigIntKeyword}. + */ +declare function isBigIntKeyword(node: ts.Node): node is BigIntKeyword; +/** + * Test if a node is a {@link BooleanKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBooleanKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BooleanKeyword}. + */ +declare function isBooleanKeyword(node: ts.Node): node is BooleanKeyword; +/** + * Test if a node is a `ColonToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isColonToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isColonToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ColonToken`. + */ +declare function isColonToken(node: ts.Node): node is ts.ColonToken; +/** + * Test if a node is a `ConstKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ConstKeyword`. + */ +declare function isConstKeyword(node: ts.Node): node is ts.ConstKeyword; +/** + * Test if a node is a `DeclareKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclareKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclareKeyword`. + */ +declare function isDeclareKeyword(node: ts.Node): node is ts.DeclareKeyword; +/** + * Test if a node is a `DefaultKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDefaultKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DefaultKeyword`. + */ +declare function isDefaultKeyword(node: ts.Node): node is ts.DefaultKeyword; +/** + * Test if a node is a `DotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DotToken`. + */ +declare function isDotToken(node: ts.Node): node is ts.DotToken; +/** + * Test if a node is an `EndOfFileToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEndOfFileToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EndOfFileToken`. + */ +declare function isEndOfFileToken(node: ts.Node): node is ts.EndOfFileToken; +/** + * Test if a node is an `EqualsGreaterThanToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isEqualsGreaterThanToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsGreaterThanToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsGreaterThanToken`. + */ +declare function isEqualsGreaterThanToken(node: ts.Node): node is ts.EqualsGreaterThanToken; +/** + * Test if a node is an `EqualsToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsToken`. + */ +declare function isEqualsToken(node: ts.Node): node is ts.EqualsToken; +/** + * Test if a node is an `ExclamationToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isExclamationToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExclamationToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExclamationToken`. + */ +declare function isExclamationToken(node: ts.Node): node is ts.ExclamationToken; +/** + * Test if a node is an `ExportKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExportKeyword`. + */ +declare function isExportKeyword(node: ts.Node): node is ts.ExportKeyword; +/** + * Test if a node is a {@link FalseKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link FalseKeyword}. + */ +declare function isFalseKeyword(node: ts.Node): node is FalseKeyword; +/** + * Test if a node is a `FalseLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FalseLiteral`. + */ +declare function isFalseLiteral(node: ts.Node): node is ts.FalseLiteral; +/** + * Test if a node is an `ImportExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ImportExpression`. + */ +declare function isImportExpression(node: ts.Node): node is ts.ImportExpression; +/** + * Test if a node is an {@link ImportKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ImportKeyword}. + */ +declare function isImportKeyword(node: ts.Node): node is ImportKeyword; +/** + * Test if a node is an `InKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isInKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `InKeyword`. + */ +declare function isInKeyword(node: ts.Node): node is ts.InKeyword; +/** + * Test if a node is a `JSDocText`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocText(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocText`. + */ +declare function isJSDocText(node: ts.Node): node is ts.JSDocText; +/** + * Test if a node is a `JsonMinusNumericLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonMinusNumericLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonMinusNumericLiteral`. + */ +declare function isJsonMinusNumericLiteral(node: ts.Node): node is ts.JsonMinusNumericLiteral; +/** + * Test if a node is a {@link NeverKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNeverKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NeverKeyword}. + */ +declare function isNeverKeyword(node: ts.Node): node is NeverKeyword; +/** + * Test if a node is a {@link NullKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NullKeyword}. + */ +declare function isNullKeyword(node: ts.Node): node is NullKeyword; +/** + * Test if a node is a `NullLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NullLiteral`. + */ +declare function isNullLiteral(node: ts.Node): node is ts.NullLiteral; +/** + * Test if a node is a {@link NumberKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumberKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumberKeyword}. + */ +declare function isNumberKeyword(node: ts.Node): node is NumberKeyword; +/** + * Test if a node is an {@link ObjectKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ObjectKeyword}. + */ +declare function isObjectKeyword(node: ts.Node): node is ObjectKeyword; +/** + * Test if a node is an `OutKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOutKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OutKeyword`. + */ +declare function isOutKeyword(node: ts.Node): node is ts.OutKeyword; +/** + * Test if a node is an `OverrideKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOverrideKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OverrideKeyword`. + */ +declare function isOverrideKeyword(node: ts.Node): node is ts.OverrideKeyword; +/** + * Test if a node is a `PrivateKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPrivateKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PrivateKeyword`. + */ +declare function isPrivateKeyword(node: ts.Node): node is ts.PrivateKeyword; +/** + * Test if a node is a `ProtectedKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isProtectedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ProtectedKeyword`. + */ +declare function isProtectedKeyword(node: ts.Node): node is ts.ProtectedKeyword; +/** + * Test if a node is a `PublicKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPublicKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PublicKeyword`. + */ +declare function isPublicKeyword(node: ts.Node): node is ts.PublicKeyword; +/** + * Test if a node is a `QuestionDotToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionDotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionDotToken`. + */ +declare function isQuestionDotToken(node: ts.Node): node is ts.QuestionDotToken; +/** + * Test if a node is a `QuestionToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionToken`. + */ +declare function isQuestionToken(node: ts.Node): node is ts.QuestionToken; +/** + * Test if a node is a `ReadonlyKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isReadonlyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ReadonlyKeyword`. + */ +declare function isReadonlyKeyword(node: ts.Node): node is ts.ReadonlyKeyword; +/** + * Test if a node is a `StaticKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStaticKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `StaticKeyword`. + */ +declare function isStaticKeyword(node: ts.Node): node is ts.StaticKeyword; +/** + * Test if a node is a {@link StringKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStringKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link StringKeyword}. + */ +declare function isStringKeyword(node: ts.Node): node is StringKeyword; +/** + * Test if a node is a `SuperExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperExpression`. + */ +declare function isSuperExpression(node: ts.Node): node is ts.SuperExpression; +/** + * Test if a node is a {@link SuperKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SuperKeyword}. + */ +declare function isSuperKeyword(node: ts.Node): node is SuperKeyword; +/** + * Test if a node is a {@link SymbolKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSymbolKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SymbolKeyword}. + */ +declare function isSymbolKeyword(node: ts.Node): node is SymbolKeyword; +/** + * Test if a node is a `SyntaxList`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSyntaxList(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SyntaxList`. + */ +declare function isSyntaxList(node: ts.Node): node is ts.SyntaxList; +/** + * Test if a node is a `ThisExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ThisExpression`. + */ +declare function isThisExpression(node: ts.Node): node is ts.ThisExpression; +/** + * Test if a node is a {@link ThisKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ThisKeyword}. + */ +declare function isThisKeyword(node: ts.Node): node is ThisKeyword; +/** + * Test if a node is a {@link TrueKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link TrueKeyword}. + */ +declare function isTrueKeyword(node: ts.Node): node is TrueKeyword; +/** + * Test if a node is a `TrueLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TrueLiteral`. + */ +declare function isTrueLiteral(node: ts.Node): node is ts.TrueLiteral; +/** + * Test if a node is an {@link UndefinedKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUndefinedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UndefinedKeyword}. + */ +declare function isUndefinedKeyword(node: ts.Node): node is UndefinedKeyword; +/** + * Test if a node is an {@link UnknownKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnknownKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UnknownKeyword}. + */ +declare function isUnknownKeyword(node: ts.Node): node is UnknownKeyword; +/** + * Test if a node is a {@link VoidKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVoidKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link VoidKeyword}. + */ +declare function isVoidKeyword(node: ts.Node): node is VoidKeyword; + +/** + * Test if a node is a `HasDecorators`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasDecorators(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasDecorators`. + */ +declare function hasDecorators(node: ts.Node): node is ts.HasDecorators; +/** + * Test if a node is a `HasExpressionInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasExpressionInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasExpressionInitializer`. + */ +declare function hasExpressionInitializer(node: ts.Node): node is ts.HasExpressionInitializer; +/** + * Test if a node is a `HasInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasInitializer`. + */ +declare function hasInitializer(node: ts.Node): node is ts.HasInitializer; +/** + * Test if a node is a `HasJSDoc`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasJSDoc(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasJSDoc`. + */ +declare function hasJSDoc(node: ts.Node): node is ts.HasJSDoc; +/** + * Test if a node is a `HasModifiers`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasModifiers(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasModifiers`. + */ +declare function hasModifiers(node: ts.Node): node is ts.HasModifiers; +/** + * Test if a node is a `HasType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasType`. + */ +declare function hasType(node: ts.Node): node is ts.HasType; +/** + * Test if a node is a `HasTypeArguments`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasTypeArguments(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasTypeArguments`. + */ +declare function hasTypeArguments(node: ts.Node): node is ts.HasTypeArguments; +/** + * Test if a node is an `AccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessExpression`. + */ +declare function isAccessExpression(node: ts.Node): node is ts.AccessExpression; +/** + * Test if a node is an `AccessibilityModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessibilityModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessibilityModifier`. + */ +declare function isAccessibilityModifier(node: ts.Node): node is ts.AccessibilityModifier; +/** + * Test if a node is an `AccessorDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isAccessor`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorDeclaration`. + */ +declare function isAccessorDeclaration(node: ts.Node): node is ts.AccessorDeclaration; +/** + * Test if a node is an `ArrayBindingElement`. + * @deprecated With TypeScript v5, in favor of typescript's `isArrayBindingElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingElement`. + */ +declare function isArrayBindingElement(node: ts.Node): node is ts.ArrayBindingElement; +/** + * Test if a node is an `ArrayBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingOrAssignmentPattern`. + */ +declare function isArrayBindingOrAssignmentPattern(node: ts.Node): node is ts.ArrayBindingOrAssignmentPattern; +/** + * Test if a node is an `AssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssignmentPattern`. + */ +declare function isAssignmentPattern(node: ts.Node): node is ts.AssignmentPattern; +/** + * Test if a node is a `BindingOrAssignmentElementRestIndicator`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementRestIndicator(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementRestIndicator`. + */ +declare function isBindingOrAssignmentElementRestIndicator(node: ts.Node): node is ts.BindingOrAssignmentElementRestIndicator; +/** + * Test if a node is a `BindingOrAssignmentElementTarget`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementTarget(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementTarget`. + */ +declare function isBindingOrAssignmentElementTarget(node: ts.Node): node is ts.BindingOrAssignmentElementTarget; +/** + * Test if a node is a `BindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentPattern`. + */ +declare function isBindingOrAssignmentPattern(node: ts.Node): node is ts.BindingOrAssignmentPattern; +/** + * Test if a node is a `BindingPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingPattern`. + */ +declare function isBindingPattern(node: ts.Node): node is ts.BindingPattern; +/** + * Test if a node is a `BlockLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBlockLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BlockLike`. + */ +declare function isBlockLike(node: ts.Node): node is ts.BlockLike; +/** + * Test if a node is a `BooleanLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BooleanLiteral`. + */ +declare function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral; +/** + * Test if a node is a `ClassLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isClassLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassLikeDeclaration`. + */ +declare function isClassLikeDeclaration(node: ts.Node): node is ts.ClassLikeDeclaration; +/** + * Test if a node is a `ClassMemberModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassMemberModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassMemberModifier`. + */ +declare function isClassMemberModifier(node: ts.Node): node is ts.ClassMemberModifier; +/** + * Test if a node is a `DeclarationName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationName`. + */ +declare function isDeclarationName(node: ts.Node): node is ts.DeclarationName; +/** + * Test if a node is a `DeclarationWithTypeParameterChildren`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameterChildren(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameterChildren`. + */ +declare function isDeclarationWithTypeParameterChildren(node: ts.Node): node is ts.DeclarationWithTypeParameterChildren; +/** + * Test if a node is a `DeclarationWithTypeParameters`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameters(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameters`. + */ +declare function isDeclarationWithTypeParameters(node: ts.Node): node is ts.DeclarationWithTypeParameters; +/** + * Test if a node is a `DestructuringPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDestructuringPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DestructuringPattern`. + */ +declare function isDestructuringPattern(node: ts.Node): node is ts.DestructuringPattern; +/** + * Test if a node is an `EntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameExpression`. + */ +declare function isEntityNameExpression(node: ts.Node): node is ts.EntityNameExpression; +/** + * Test if a node is an `EntityNameOrEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameOrEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameOrEntityNameExpression`. + */ +declare function isEntityNameOrEntityNameExpression(node: ts.Node): node is ts.EntityNameOrEntityNameExpression; +/** + * Test if a node is a `ForInOrOfStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isForInOrOfStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ForInOrOfStatement`. + */ +declare function isForInOrOfStatement(node: ts.Node): node is ts.ForInOrOfStatement; +/** + * Test if a node is a `FunctionLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isFunctionLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FunctionLikeDeclaration`. + */ +declare function isFunctionLikeDeclaration(node: ts.Node): node is ts.FunctionLikeDeclaration; +/** + * Test if a node is a `JSDocComment`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocComment(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocComment`. + */ +declare function isJSDocComment(node: ts.Node): node is ts.JSDocComment; +/** + * Test if a node is a `JSDocNamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceBody`. + */ +declare function isJSDocNamespaceBody(node: ts.Node): node is ts.JSDocNamespaceBody; +/** + * Test if a node is a `JSDocTypeReferencingNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocTypeReferencingNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocTypeReferencingNode`. + */ +declare function isJSDocTypeReferencingNode(node: ts.Node): node is ts.JSDocTypeReferencingNode; +/** + * Test if a node is a `JsonObjectExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonObjectExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonObjectExpression`. + */ +declare function isJsonObjectExpression(node: ts.Node): node is ts.JsonObjectExpression; +/** + * Test if a node is a `JsxAttributeLike`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxAttributeLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeLike`. + */ +declare function isJsxAttributeLike(node: ts.Node): node is ts.JsxAttributeLike; +/** + * Test if a node is a `JsxAttributeValue`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeValue(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeValue`. + */ +declare function isJsxAttributeValue(node: ts.Node): node is ts.JsxAttributeValue; +/** + * Test if a node is a `JsxChild`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxChild`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxChild(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxChild`. + */ +declare function isJsxChild(node: ts.Node): node is ts.JsxChild; +/** + * Test if a node is a `JsxTagNameExpression`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxTagNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNameExpression`. + */ +declare function isJsxTagNameExpression(node: ts.Node): node is ts.JsxTagNameExpression; +/** + * Test if a node is a `LiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `LiteralToken`. + */ +declare function isLiteralToken(node: ts.Node): node is ts.LiteralToken; +/** + * Test if a node is a `ModuleBody`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleBody`. + */ +declare function isModuleBody(node: ts.Node): node is ts.ModuleBody; +/** + * Test if a node is a `ModuleName`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleName`. + */ +declare function isModuleName(node: ts.Node): node is ts.ModuleName; +/** + * Test if a node is a `ModuleReference`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleReference`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleReference(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleReference`. + */ +declare function isModuleReference(node: ts.Node): node is ts.ModuleReference; +/** + * Test if a node is a `NamedImportBindings`. + * @deprecated With TypeScript v5, in favor of typescript's `isNamedImportBindings`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportBindings(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportBindings`. + */ +declare function isNamedImportBindings(node: ts.Node): node is ts.NamedImportBindings; +/** + * Test if a node is a `NamedImportsOrExports`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportsOrExports(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportsOrExports`. + */ +declare function isNamedImportsOrExports(node: ts.Node): node is ts.NamedImportsOrExports; +/** + * Test if a node is a `NamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceBody`. + */ +declare function isNamespaceBody(node: ts.Node): node is ts.NamespaceBody; +/** + * Test if a node is an `ObjectBindingOrAssignmentElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentElement`. + */ +declare function isObjectBindingOrAssignmentElement(node: ts.Node): node is ts.ObjectBindingOrAssignmentElement; +/** + * Test if a node is an `ObjectBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentPattern`. + */ +declare function isObjectBindingOrAssignmentPattern(node: ts.Node): node is ts.ObjectBindingOrAssignmentPattern; +/** + * Test if a node is an `ObjectTypeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectTypeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectTypeDeclaration`. + */ +declare function isObjectTypeDeclaration(node: ts.Node): node is ts.ObjectTypeDeclaration; +/** + * Test if a node is a `ParameterPropertyModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isParameterPropertyModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ParameterPropertyModifier`. + */ +declare function isParameterPropertyModifier(node: ts.Node): node is ts.ParameterPropertyModifier; +/** + * Test if a node is a `PropertyNameLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyNameLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyNameLiteral`. + */ +declare function isPropertyNameLiteral(node: ts.Node): node is ts.PropertyNameLiteral; +/** + * Test if a node is a `PseudoLiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPseudoLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PseudoLiteralToken`. + */ +declare function isPseudoLiteralToken(node: ts.Node): node is ts.PseudoLiteralToken; +/** + * Test if a node is a `SignatureDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSignatureDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SignatureDeclaration`. + */ +declare function isSignatureDeclaration(node: ts.Node): node is ts.SignatureDeclaration; +/** + * Test if a node is a `SuperProperty`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperProperty(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperProperty`. + */ +declare function isSuperProperty(node: ts.Node): node is ts.SuperProperty; +/** + * Test if a node is a `TypeOnlyCompatibleAliasDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeOnlyCompatibleAliasDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeOnlyCompatibleAliasDeclaration`. + */ +declare function isTypeOnlyCompatibleAliasDeclaration(node: ts.Node): node is ts.TypeOnlyCompatibleAliasDeclaration; +/** + * Test if a node is a `TypeReferenceType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeReferenceType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeReferenceType`. + */ +declare function isTypeReferenceType(node: ts.Node): node is ts.TypeReferenceType; +/** + * Test if a node is an `UnionOrIntersectionTypeNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnionOrIntersectionTypeNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `UnionOrIntersectionTypeNode`. + */ +declare function isUnionOrIntersectionTypeNode(node: ts.Node): node is ts.UnionOrIntersectionTypeNode; +/** + * Test if a node is a `VariableLikeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVariableLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `VariableLikeDeclaration`. + */ +declare function isVariableLikeDeclaration(node: ts.Node): node is ts.VariableLikeDeclaration; + +/** + * Is the node a scope boundary, specifically due to it being a function. + * @category Scope Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionScopeBoundary(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isFunctionScopeBoundary(node: ts.Node): boolean; + +/** + * Test of the kind given is for assignment. + * @category Syntax Utilities + * @example + * ```ts + * declare const kind: ts.SyntaxKind; + * + * isAssignmentKind(kind); + * ``` + */ +declare function isAssignmentKind(kind: ts.SyntaxKind): boolean; +/** + * Test if a string is numeric. + * @category Syntax Utilities + * @example + * ```ts + * isNumericPropertyName("abc"); // false + * isNumericPropertyName("123"); // true + * ``` + */ +declare function isNumericPropertyName(name: string | ts.__String): boolean; +/** + * Determines whether the given text can be used to access a property with a `PropertyAccessExpression` while preserving the property's name. + * @category Syntax Utilities + * @example + * ```ts + * isValidPropertyAccess("abc"); // true + * isValidPropertyAccess("123"); // false + * ``` + */ +declare function isValidPropertyAccess(text: string, languageVersion?: ts.ScriptTarget): boolean; + +/** + * Callback type used for {@link forEachToken}. + * @category Callbacks + * @example + * ```ts + * let onToken: ForEachTokenCallback = (token) => { + * console.log(`Found token at position: ${token.pos}.`); + * }; + * ``` + */ +type ForEachTokenCallback = (token: ts.Node) => void; +/** + * Iterates over all tokens of `node` + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachToken(node, (token) => { + * console.log("Found token:", token.getText()); + * }); + * ``` + * @param node The node whose tokens should be visited + * @param callback Is called for every token contained in `node` + */ +declare function forEachToken(node: ts.Node, callback: ForEachTokenCallback, sourceFile?: ts.SourceFile): void; + +/** + * Get the `CallSignatures` of the given type. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * + * getCallSignaturesOfType(type); + * ``` + */ +declare function getCallSignaturesOfType(type: ts.Type): readonly ts.Signature[]; +/** + * Get the property with the given name on the given type (if it exists). + * @category Types - Getters + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * + * getPropertyOfType(type, property.getEscapedName()); + * ``` + */ +declare function getPropertyOfType(type: ts.Type, name: ts.__String): ts.Symbol | undefined; +/** + * Retrieves a type symbol corresponding to a well-known string name. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * getWellKnownSymbolPropertyOfType(type, "asyncIterator", typeChecker); + * ``` + */ +declare function getWellKnownSymbolPropertyOfType(type: ts.Type, wellKnownSymbolName: string, typeChecker: ts.TypeChecker): ts.Symbol | undefined; + +/** + * A "any" intrinsic type. + * @category Type Types + */ +interface IntrinsicAnyType extends IntrinsicType { + intrinsicName: "any"; +} +/** + * A "bigint" intrinsic type. + * @category Type Types + */ +interface IntrinsicBigIntType extends IntrinsicType { + intrinsicName: "bigint"; +} +/** + * A "boolean" intrinsic type. + * @category Type Types + */ +interface IntrinsicBooleanType extends IntrinsicType { + intrinsicName: "boolean"; +} +/** + * An "error" intrinsic type. + * + * This refers to a type generated when TypeScript encounters an error while + * trying to resolve the type. + * @category Type Types + */ +interface IntrinsicErrorType extends IntrinsicType { + intrinsicName: "error"; +} +/** + * A "symbol" intrinsic type. + * @category Type Types + */ +interface IntrinsicESSymbolType extends IntrinsicType { + intrinsicName: "symbol"; +} +/** + * An "intrinsic" (built-in to TypeScript) type. + * @category Type Types + */ +interface IntrinsicType extends ts.Type { + intrinsicName: string; + objectFlags: ts.ObjectFlags; +} +/** + * Determines whether the given type is the "any" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicAnyType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicAnyType(type: ts.Type): type is IntrinsicAnyType; +/** + * Determines whether the given type is the "bigint" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBigIntType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBigIntType(type: ts.Type): type is IntrinsicBigIntType; +/** + * Determines whether the given type is the "boolean" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBooleanType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBooleanType(type: ts.Type): type is IntrinsicBooleanType; +/** + * Determines whether the given type is the "error" intrinsic type. + * + * The intrinsic error type occurs when TypeScript encounters an error while + * trying to resolve the type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicErrorType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicErrorType(type: ts.Type): type is IntrinsicErrorType; +/** + * Determines whether the given type is the "symbol" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicESSymbolType(type: ts.Type): type is IntrinsicESSymbolType; +/** + * A "never" intrinsic type. + * @category Type Types + */ +interface IntrinsicNeverType extends IntrinsicType { + intrinsicName: "never"; +} +/** + * A non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Type Types + */ +interface IntrinsicNonPrimitiveType extends IntrinsicType { + intrinsicName: ""; +} +/** + * A "null" intrinsic type. + * @category Type Types + */ +interface IntrinsicNullType extends IntrinsicType { + intrinsicName: "null"; +} +/** + * A "number" intrinsic type. + * @category Type Types + */ +interface IntrinsicNumberType extends IntrinsicType { + intrinsicName: "number"; +} +/** + * A "string" intrinsic type. + * @category Type Types + */ +interface IntrinsicStringType extends IntrinsicType { + intrinsicName: "string"; +} +/** + * The built-in `undefined` type. + * @category Type Types + */ +interface IntrinsicUndefinedType extends IntrinsicType { + intrinsicName: "undefined"; +} +/** + * The built-in `unknown` type. + * @category Type Types + */ +interface IntrinsicUnknownType extends IntrinsicType { + intrinsicName: "unknown"; +} +/** + * A "void" intrinsic type. + * @category Type Types + */ +interface IntrinsicVoidType extends IntrinsicType { + intrinsicName: "void"; +} +/** + * Determines whether the given type is the "never" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNeverType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNeverType(type: ts.Type): type is IntrinsicNeverType; +/** + * Determines whether the given type is a non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNonPrimitiveType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNonPrimitiveType(type: ts.Type): type is IntrinsicNonPrimitiveType; +/** + * Determines whether the given type is the "null" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNullType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNullType(type: ts.Type): type is IntrinsicNullType; +/** + * Determines whether the given type is the "number" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNumberType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNumberType(type: ts.Type): type is IntrinsicNumberType; +/** + * Determines whether the given type is the "string" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicStringType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicStringType(type: ts.Type): type is IntrinsicStringType; +/** + * Test if a type is an {@link IntrinsicType}. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicType(type: ts.Type): type is IntrinsicType; +/** + * Determines whether the given type is the "undefined" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUndefinedType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUndefinedType(type: ts.Type): type is IntrinsicUndefinedType; +/** + * Determines whether the given type is the "unknown" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUnknownType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUnknownType(type: ts.Type): type is IntrinsicUnknownType; +/** + * Determines whether the given type is the "void" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicVoidType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicVoidType(type: ts.Type): type is IntrinsicVoidType; + +/** + * A type that is both an {@link IntrinsicType} and a `FreshableType` + * @category Type Types + */ +interface FreshableIntrinsicType extends ts.FreshableType, IntrinsicType { +} +/** + * Test if a type is a `FreshableIntrinsicType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableIntrinsicType(type)) { + * // ... + * } + */ +declare function isFreshableIntrinsicType(type: ts.Type): type is FreshableIntrinsicType; +/** + * Test if a type is a `TupleTypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleTypeReference(type)) { + * // ... + * } + */ +declare function isTupleTypeReference(type: ts.Type): type is ts.TupleTypeReference; + +/** + * A boolean literal. + * i.e. Either a "true" or "false" literal. + * @category Type Types + */ +interface BooleanLiteralType extends FreshableIntrinsicType { + intrinsicName: "false" | "true"; +} +/** + * A "false" literal. + * @category Type Types + */ +interface FalseLiteralType extends BooleanLiteralType { + intrinsicName: "false"; +} +/** + * A "true" literal. + * @category Type Types + */ +interface TrueLiteralType extends BooleanLiteralType { + intrinsicName: "true"; +} +/** + * `LiteralType` from typescript except that it allows for it to work on arbitrary types. + * @deprecated Use {@link FreshableIntrinsicType} instead. + * @category Type Types + */ +interface UnknownLiteralType extends FreshableIntrinsicType { + value?: unknown; +} +/** + * Test if a type is a `BigIntLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBigIntLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBigIntLiteralType(type: ts.Type): type is ts.BigIntLiteralType; +/** + * Determines whether the given type is a boolean literal type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBooleanLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBooleanLiteralType(type: ts.Type): type is BooleanLiteralType; +/** + * Determines whether the given type is a boolean literal type for "false". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalseLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isFalseLiteralType(type: ts.Type): type is FalseLiteralType; +/** + * Test if a type is a `LiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isLiteralType(type: ts.Type): type is ts.LiteralType; +/** + * Test if a type is a `NumberLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isNumberLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isNumberLiteralType(type: ts.Type): type is ts.NumberLiteralType; +/** + * Test if a type is a `StringLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isStringLiteralType(type: ts.Type): type is ts.StringLiteralType; +/** + * Test if a type is a `TemplateLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTemplateLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTemplateLiteralType(type: ts.Type): type is ts.TemplateLiteralType; +/** + * Determines whether the given type is a boolean literal type for "true". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTrueLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTrueLiteralType(type: ts.Type): type is TrueLiteralType; + +/** + * Test if a type is a `EvolvingArrayType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEvolvingArrayType(type)) { + * // ... + * } + * ``` + */ +declare function isEvolvingArrayType(type: ts.Type): type is ts.EvolvingArrayType; +/** + * Test if a type is a `TupleType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleType(type)) { + * // ... + * } + * ``` + */ +declare function isTupleType(type: ts.Type): type is ts.TupleType; +/** + * Test if a type is a `TypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeReference(type)) { + * // ... + * } + * ``` + */ +declare function isTypeReference(type: ts.Type): type is ts.TypeReference; + +/** + * Test if a type is a `ConditionalType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isConditionalType(type)) { + * // ... + * } + * ``` + */ +declare function isConditionalType(type: ts.Type): type is ts.ConditionalType; +/** + * Test if a type is a `EnumType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEnumType(type)) { + * // ... + * } + * ``` + */ +declare function isEnumType(type: ts.Type): type is ts.EnumType; +/** + * Test if a type is a `FreshableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableType(type)) { + * // ... + * } + * ``` + */ +declare function isFreshableType(type: ts.Type): type is ts.FreshableType; +/** + * Test if a type is a `IndexedAccessType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexedAccessType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexedAccessType(type: ts.Type): type is ts.IndexedAccessType; +/** + * Test if a type is a `IndexType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexType(type: ts.Type): type is ts.IndexType; +/** + * Test if a type is a `InstantiableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isInstantiableType(type)) { + * // ... + * } + * ``` + */ +declare function isInstantiableType(type: ts.Type): type is ts.InstantiableType; +/** + * Test if a type is a `IntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isIntersectionType(type: ts.Type): type is ts.IntersectionType; +/** + * Test if a type is a `ObjectType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isObjectType(type)) { + * // ... + * } + * ``` + */ +declare function isObjectType(type: ts.Type): type is ts.ObjectType; +/** + * Test if a type is a `StringMappingType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringMappingType(type)) { + * // ... + * } + * ``` + */ +declare function isStringMappingType(type: ts.Type): type is ts.StringMappingType; +/** + * Test if a type is a `SubstitutionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isSubstitutionType(type)) { + * // ... + * } + * ``` + */ +declare function isSubstitutionType(type: ts.Type): type is ts.SubstitutionType; +/** + * Test if a type is a `TypeParameter`. + * + * Note: It is intentional that this is not a type guard. + * @see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeParameter(type)) { + * // ... + * } + * ``` + */ +declare function isTypeParameter(type: ts.Type): boolean; +/** + * Test if a type is a `TypeVariable`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeVariable(type)) { + * // ... + * } + * ``` + */ +declare function isTypeVariable(type: ts.Type): type is ts.TypeVariable; +/** + * Test if a type is a `UnionOrIntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionOrIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionOrIntersectionType(type: ts.Type): type is ts.UnionOrIntersectionType; +/** + * Test if a type is a `UnionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionType(type: ts.Type): type is ts.UnionType; +/** + * Test if a type is a `UniqueESSymbolType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUniqueESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isUniqueESSymbolType(type: ts.Type): type is ts.UniqueESSymbolType; + +/** + * Get the intersection type parts of the given type. + * + * If the given type is not a intersection type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function intersectionTypeParts(type: ts.Type): ts.Type[]; +/** + * Determines whether a type is definitely falsy. This function doesn't unwrap union types. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalsyType(type)) { + * // ... + * } + * ``` + */ +declare function isFalsyType(type: ts.Type): boolean; +/** + * Determines whether writing to a certain property of a given type is allowed. + * @category Types - Utilities + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { + * // ... + * } + * ``` + */ +declare function isPropertyReadonlyInType(type: ts.Type, name: ts.__String, typeChecker: ts.TypeChecker): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const node: ts.Node; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, node, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Node, type: ts.Type): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, expression)) { + * // ... + * } + * ``` + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * declare const type: ts.Type; + * + * if (isThenableType(typeChecker, expression, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Expression, type?: ts.Type): boolean; +/** + * Test if the given symbol has a readonly declaration. + * @category Symbols - Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * declare const typeChecker: ts.TypeChecker; + * + * if (symbolHasReadonlyDeclaration(symbol, typeChecker)) { + * // ... + * } + * ``` + */ +declare function symbolHasReadonlyDeclaration(symbol: ts.Symbol, typeChecker: ts.TypeChecker): boolean; +/** + * TS's `type.isLiteral()` is bugged before TS v5.0 and won't return `true` for + * bigint literals. Use this function instead if you need to check for bigint + * literals in TS versions before v5.0. Otherwise, you should just use + * `type.isLiteral()`. + * @see https://github.com/microsoft/TypeScript/pull/50929 + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (typeIsLiteral(type)) { + * // ... + * } + * ``` + */ +declare function typeIsLiteral(type: ts.Type): type is ts.LiteralType; +/** + * Get the intersection or union type parts of the given type. + * + * Note that this is a shallow collection: it only returns `type.types` or `[type]`. + * + * If the given type is not an intersection or union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function typeParts(type: ts.Type): ts.Type[]; +/** + * Get the union type parts of the given type. + * + * If the given type is not a union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of unionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function unionTypeParts(type: ts.Type): ts.Type[]; + +/** + * Which "domain"(s) (most commonly, type or value space) a declaration is within. + */ +declare enum DeclarationDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + Import = 8 +} + +/** + * Which "domain"(s) (most commonly, type or value space) a usage is within. + */ +declare enum UsageDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + TypeQuery = 8, + ValueOrNamespace = 5 +} + +/** + * An instance of an item (type or value) being used. + */ +interface Usage { + /** + * Which space(s) the usage is within. + */ + domain: UsageDomain; + location: ts.Identifier; +} +/** + * How an item (type or value) was declared and/or referenced. + */ +interface UsageInfo { + /** + * Locations where the item was declared. + */ + declarations: ts.Identifier[]; + /** + * Which space(s) the item is within. + */ + domain: DeclarationDomain; + /** + * Whether the item was exported from its module or namespace scope. + */ + exported: boolean; + /** + * Whether the item's declaration was in the global scope. + */ + inGlobalScope: boolean; + /** + * Each reference to the item in the file. + */ + uses: Usage[]; +} + +/** + * Creates a mapping of each declared type and value to its type information. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const sourceFile: ts.SourceFile; + * + * const usage = collectVariableUsage(sourceFile); + * + * for (const [identifier, information] of usage) { + * console.log(`${identifier.getText()} is used ${information.uses.length} time(s).`); + * } + * ``` + */ +declare function collectVariableUsage(sourceFile: ts.SourceFile): Map; + +export { AccessKind, type AnyKeyword, type BigIntKeyword, type BooleanCompilerOptions, type BooleanKeyword, type BooleanLiteralType, type ConstAssertionExpression, type ConstAssertionIdentifier, DeclarationDomain, type FalseKeyword, type FalseLiteralType, type ForEachCommentCallback, type ForEachTokenCallback, type FreshableIntrinsicType, type ImportKeyword, type IntrinsicAnyType, type IntrinsicBigIntType, type IntrinsicBooleanType, type IntrinsicESSymbolType, type IntrinsicErrorType, type IntrinsicNeverType, type IntrinsicNonPrimitiveType, type IntrinsicNullType, type IntrinsicNumberType, type IntrinsicStringType, type IntrinsicType, type IntrinsicUndefinedType, type IntrinsicUnknownType, type IntrinsicVoidType, type NamedDeclarationWithName, type NeverKeyword, type NullKeyword, type NumberKeyword, type NumericOrStringLikeLiteral, type ObjectKeyword, type StrictCompilerOption, type StringKeyword, type SuperKeyword, type SymbolKeyword, type ThisKeyword, type TrueKeyword, type TrueLiteralType, type UndefinedKeyword, type UnknownKeyword, type UnknownLiteralType, UsageDomain, type UsageInfo as VariableInfo, type Usage as VariableUse, type VoidKeyword, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.ts b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.ts new file mode 100644 index 0000000000..217906ef6a --- /dev/null +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.d.ts @@ -0,0 +1,3003 @@ +import ts from 'typescript'; + +/** + * Callback type used for {@link forEachComment}. + * @category Callbacks + * @param fullText Full parsed text of the comment. + * @param comment Text range of the comment in its file. + * @example + * ```ts + * let onComment: ForEachCommentCallback = (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }; + * ``` + */ +type ForEachCommentCallback = (fullText: string, comment: ts.CommentRange) => void; +/** + * Iterates over all comments owned by `node` or its children. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachComment(node, (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }); + * ``` + */ +declare function forEachComment(node: ts.Node, callback: ForEachCommentCallback, sourceFile?: ts.SourceFile): void; + +/** + * An option that can be tested with {@link isCompilerOptionEnabled}. + * @category Compiler Options + */ +type BooleanCompilerOptions = keyof { + [K in keyof ts.CompilerOptions as NonNullable extends boolean ? K : never]: unknown; +}; +/** + * An option that can be tested with {@link isStrictCompilerOptionEnabled}. + * @category Compiler Options + */ +type StrictCompilerOption = "alwaysStrict" | "noImplicitAny" | "noImplicitThis" | "strictBindCallApply" | "strictFunctionTypes" | "strictNullChecks" | "strictPropertyInitialization"; +/** + * Checks if a given compiler option is enabled. + * It handles dependencies of options, e.g. `declaration` is implicitly enabled by `composite` or `strictNullChecks` is enabled by `strict`. + * However, it does not check dependencies that are already checked and reported as errors, e.g. `checkJs` without `allowJs`. + * This function only handles boolean flags. + * @category Compiler Options + * @example + * ```ts + * const options = { + * allowJs: true, + * }; + * + * isCompilerOptionEnabled(options, "allowJs"); // true + * isCompilerOptionEnabled(options, "allowSyntheticDefaultImports"); // false + * ``` + */ +declare function isCompilerOptionEnabled(options: ts.CompilerOptions, option: BooleanCompilerOptions): boolean; +/** + * Checks if a given compiler option is enabled, accounting for whether all flags + * (except `strictPropertyInitialization`) have been enabled by `strict: true`. + * @category Compiler Options + * @example + * ```ts + * const optionsLenient = { + * noImplicitAny: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitThis"); // false + * ``` + * @example + * ```ts + * const optionsStrict = { + * noImplicitThis: false, + * strict: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitThis"); // false + * ``` + */ +declare function isStrictCompilerOptionEnabled(options: ts.CompilerOptions, option: StrictCompilerOption): boolean; + +/** + * Test if the given node has the given `ModifierFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModifierFlagSet(node, ts.ModifierFlags.Abstract)) { + * // ... + * } + * ``` + */ +declare function isModifierFlagSet(node: ts.Declaration, flag: ts.ModifierFlags): boolean; +/** + * Test if the given node has the given `NodeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { + * // ... + * } + * ``` + */ +declare const isNodeFlagSet: (node: ts.Node, flag: ts.NodeFlags) => boolean; +/** + * Test if the given node has the given `ObjectFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectFlagSet(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isObjectFlagSet(objectType: ts.ObjectType, flag: ts.ObjectFlags): boolean; +/** + * Test if the given node has the given `SymbolFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * + * if (isSymbolFlagSet(symbol, ts.SymbolFlags.Accessor)) { + * // ... + * } + * ``` + */ +declare const isSymbolFlagSet: (symbol: ts.Symbol, flag: ts.SymbolFlags) => boolean; +/** + * Test if the given symbol's links has the given `CheckFlags` set. + * @internal + */ +declare function isTransientSymbolLinksFlagSet(links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean; +/** + * Test if the given node has the given `TypeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeFlagSet(type, ts.TypeFlags.Any)) { + * // ... + * } + * ``` + */ +declare const isTypeFlagSet: (type: ts.Type, flag: ts.TypeFlags) => boolean; + +/** + * Test if the given iterable includes a modifier of any of the given kinds. + * @category Modifier Utilities + * @example + * ```ts + * declare const modifiers: ts.Modifier[]; + * + * includesModifier(modifiers, ts.SyntaxKind.AbstractKeyword); + * ``` + */ +declare function includesModifier(modifiers: Iterable | undefined, ...kinds: ts.ModifierSyntaxKind[]): boolean; + +/** + * What operations(s), if any, an expression applies. + */ +declare enum AccessKind { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + ReadWrite = 3 +} +/** + * Determines which operation(s), if any, an expression applies. + * @example + * ```ts + * declare const node: ts.Expression; + * + * if (getAccessKind(node).Write & AccessKind.Write) !== 0) { + * // this is a reassignment (write) + * } + * ``` + */ +declare function getAccessKind(node: ts.Expression): AccessKind; + +/** + * An `AssertionExpression` that is declared as const. + * @category Node Types + */ +type ConstAssertionExpression = ts.AssertionExpression & { + type: ts.TypeReferenceNode; + typeName: ConstAssertionIdentifier; +}; +/** + * An `Identifier` with an `escapedText` value of `"const"`. + * @category Node Types + */ +type ConstAssertionIdentifier = ts.Identifier & { + escapedText: "const" & ts.__String; +}; +/** + * a `NamedDeclaration` that definitely has a name. + * @category Node Types + */ +interface NamedDeclarationWithName extends ts.NamedDeclaration { + name: ts.DeclarationName; +} +/** + * A number or string-like literal. + * @category Node Types + */ +type NumericOrStringLikeLiteral = ts.NumericLiteral | ts.StringLiteralLike; +/** + * Test if a node is a {@link ConstAssertionExpression}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstAssertionExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ConstAssertionExpression}. + */ +declare function isConstAssertionExpression(node: ts.AssertionExpression): node is ConstAssertionExpression; +/** + * Test if a node is an `IterationStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isIterationStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `IterationStatement`. + */ +declare function isIterationStatement(node: ts.Node): node is ts.IterationStatement; +/** + * Test if a node is a `JSDocNamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceDeclaration`. + */ +declare function isJSDocNamespaceDeclaration(node: ts.Node): node is ts.JSDocNamespaceDeclaration; +/** + * Test if a node is a `JsxTagNamePropertyAccess`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNamePropertyAccess(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNamePropertyAccess`. + */ +declare function isJsxTagNamePropertyAccess(node: ts.Node): node is ts.JsxTagNamePropertyAccess; +/** + * Test if a node is a {@link NamedDeclarationWithName}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedDeclarationWithName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NamedDeclarationWithName}. + */ +declare function isNamedDeclarationWithName(node: ts.Declaration): node is NamedDeclarationWithName; +/** + * Test if a node is a `NamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceDeclaration`. + */ +declare function isNamespaceDeclaration(node: ts.Node): node is ts.NamespaceDeclaration; +/** + * Test if a node is a {@link NumericOrStringLikeLiteral}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumericOrStringLikeLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumericOrStringLikeLiteral}. + */ +declare function isNumericOrStringLikeLiteral(node: ts.Node): node is NumericOrStringLikeLiteral; +/** + * Test if a node is a `PropertyAccessEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyAccessEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyAccessEntityNameExpression`. + */ +declare function isPropertyAccessEntityNameExpression(node: ts.Node): node is ts.PropertyAccessEntityNameExpression; +/** + * Test if a node is a `SuperElementAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperElementAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperElementAccessExpression`. + */ +declare function isSuperElementAccessExpression(node: ts.Node): node is ts.SuperElementAccessExpression; +/** + * Test if a node is a `SuperPropertyAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperPropertyAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperPropertyAccessExpression`. + */ +declare function isSuperPropertyAccessExpression(node: ts.Node): node is ts.SuperPropertyAccessExpression; + +/** + * A node that represents the any keyword. + * @category Node Types + */ +type AnyKeyword = ts.KeywordToken; +/** + * A node that represents the bigint keyword. + * @category Node Types + */ +type BigIntKeyword = ts.KeywordToken; +/** + * A node that represents the boolean keyword. + * @category Node Types + */ +type BooleanKeyword = ts.KeywordToken; +/** + * A node that represents the false keyword. + * @category Node Types + */ +type FalseKeyword = ts.KeywordToken; +/** + * A node that represents the import keyword. + * @category Node Types + */ +type ImportKeyword = ts.KeywordToken; +/** + * A node that represents the never keyword. + * @category Node Types + */ +type NeverKeyword = ts.KeywordToken; +/** + * A node that represents the null keyword. + * @category Node Types + */ +type NullKeyword = ts.KeywordToken; +/** + * A node that represents the number keyword. + * @category Node Types + */ +type NumberKeyword = ts.KeywordToken; +/** + * A node that represents the object keyword. + * @category Node Types + */ +type ObjectKeyword = ts.KeywordToken; +/** + * A node that represents the string keyword. + * @category Node Types + */ +type StringKeyword = ts.KeywordToken; +/** + * A node that represents the super keyword. + * @category Node Types + */ +type SuperKeyword = ts.KeywordToken; +/** + * A node that represents the symbol keyword. + * @category Node Types + */ +type SymbolKeyword = ts.KeywordToken; +/** + * A node that represents the this keyword. + * @category Node Types + */ +type ThisKeyword = ts.KeywordToken; +/** + * A node that represents the true keyword. + * @category Node Types + */ +type TrueKeyword = ts.KeywordToken; +/** + * A node that represents the undefined keyword. + * @category Node Types + */ +type UndefinedKeyword = ts.KeywordToken; +/** + * A node that represents the unknown keyword. + * @category Node Types + */ +type UnknownKeyword = ts.KeywordToken; +/** + * A node that represents the void keyword. + * @category Node Types + */ +type VoidKeyword = ts.KeywordToken; +/** + * Test if a node is an `AbstractKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAbstractKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AbstractKeyword`. + */ +declare function isAbstractKeyword(node: ts.Node): node is ts.AbstractKeyword; +/** + * Test if a node is an `AccessorKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorKeyword`. + */ +declare function isAccessorKeyword(node: ts.Node): node is ts.AccessorKeyword; +/** + * Test if a node is an {@link AnyKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAnyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link AnyKeyword}. + */ +declare function isAnyKeyword(node: ts.Node): node is AnyKeyword; +/** + * Test if a node is an `AssertKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertKeyword`. + */ +declare function isAssertKeyword(node: ts.Node): node is ts.AssertKeyword; +/** + * Test if a node is an `AssertsKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAssertsKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertsKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertsKeyword`. + */ +declare function isAssertsKeyword(node: ts.Node): node is ts.AssertsKeyword; +/** + * Test if a node is an `AsyncKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAsyncKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AsyncKeyword`. + */ +declare function isAsyncKeyword(node: ts.Node): node is ts.AsyncKeyword; +/** + * Test if a node is an `AwaitKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAwaitKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAwaitKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AwaitKeyword`. + */ +declare function isAwaitKeyword(node: ts.Node): node is ts.AwaitKeyword; +/** + * Test if a node is a {@link BigIntKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBigIntKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBigIntKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BigIntKeyword}. + */ +declare function isBigIntKeyword(node: ts.Node): node is BigIntKeyword; +/** + * Test if a node is a {@link BooleanKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBooleanKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BooleanKeyword}. + */ +declare function isBooleanKeyword(node: ts.Node): node is BooleanKeyword; +/** + * Test if a node is a `ColonToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isColonToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isColonToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ColonToken`. + */ +declare function isColonToken(node: ts.Node): node is ts.ColonToken; +/** + * Test if a node is a `ConstKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ConstKeyword`. + */ +declare function isConstKeyword(node: ts.Node): node is ts.ConstKeyword; +/** + * Test if a node is a `DeclareKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclareKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclareKeyword`. + */ +declare function isDeclareKeyword(node: ts.Node): node is ts.DeclareKeyword; +/** + * Test if a node is a `DefaultKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDefaultKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DefaultKeyword`. + */ +declare function isDefaultKeyword(node: ts.Node): node is ts.DefaultKeyword; +/** + * Test if a node is a `DotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DotToken`. + */ +declare function isDotToken(node: ts.Node): node is ts.DotToken; +/** + * Test if a node is an `EndOfFileToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEndOfFileToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EndOfFileToken`. + */ +declare function isEndOfFileToken(node: ts.Node): node is ts.EndOfFileToken; +/** + * Test if a node is an `EqualsGreaterThanToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isEqualsGreaterThanToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsGreaterThanToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsGreaterThanToken`. + */ +declare function isEqualsGreaterThanToken(node: ts.Node): node is ts.EqualsGreaterThanToken; +/** + * Test if a node is an `EqualsToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsToken`. + */ +declare function isEqualsToken(node: ts.Node): node is ts.EqualsToken; +/** + * Test if a node is an `ExclamationToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isExclamationToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExclamationToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExclamationToken`. + */ +declare function isExclamationToken(node: ts.Node): node is ts.ExclamationToken; +/** + * Test if a node is an `ExportKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExportKeyword`. + */ +declare function isExportKeyword(node: ts.Node): node is ts.ExportKeyword; +/** + * Test if a node is a {@link FalseKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link FalseKeyword}. + */ +declare function isFalseKeyword(node: ts.Node): node is FalseKeyword; +/** + * Test if a node is a `FalseLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FalseLiteral`. + */ +declare function isFalseLiteral(node: ts.Node): node is ts.FalseLiteral; +/** + * Test if a node is an `ImportExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ImportExpression`. + */ +declare function isImportExpression(node: ts.Node): node is ts.ImportExpression; +/** + * Test if a node is an {@link ImportKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ImportKeyword}. + */ +declare function isImportKeyword(node: ts.Node): node is ImportKeyword; +/** + * Test if a node is an `InKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isInKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `InKeyword`. + */ +declare function isInKeyword(node: ts.Node): node is ts.InKeyword; +/** + * Test if a node is a `JSDocText`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocText(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocText`. + */ +declare function isJSDocText(node: ts.Node): node is ts.JSDocText; +/** + * Test if a node is a `JsonMinusNumericLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonMinusNumericLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonMinusNumericLiteral`. + */ +declare function isJsonMinusNumericLiteral(node: ts.Node): node is ts.JsonMinusNumericLiteral; +/** + * Test if a node is a {@link NeverKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNeverKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NeverKeyword}. + */ +declare function isNeverKeyword(node: ts.Node): node is NeverKeyword; +/** + * Test if a node is a {@link NullKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NullKeyword}. + */ +declare function isNullKeyword(node: ts.Node): node is NullKeyword; +/** + * Test if a node is a `NullLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NullLiteral`. + */ +declare function isNullLiteral(node: ts.Node): node is ts.NullLiteral; +/** + * Test if a node is a {@link NumberKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumberKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumberKeyword}. + */ +declare function isNumberKeyword(node: ts.Node): node is NumberKeyword; +/** + * Test if a node is an {@link ObjectKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ObjectKeyword}. + */ +declare function isObjectKeyword(node: ts.Node): node is ObjectKeyword; +/** + * Test if a node is an `OutKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOutKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OutKeyword`. + */ +declare function isOutKeyword(node: ts.Node): node is ts.OutKeyword; +/** + * Test if a node is an `OverrideKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOverrideKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OverrideKeyword`. + */ +declare function isOverrideKeyword(node: ts.Node): node is ts.OverrideKeyword; +/** + * Test if a node is a `PrivateKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPrivateKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PrivateKeyword`. + */ +declare function isPrivateKeyword(node: ts.Node): node is ts.PrivateKeyword; +/** + * Test if a node is a `ProtectedKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isProtectedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ProtectedKeyword`. + */ +declare function isProtectedKeyword(node: ts.Node): node is ts.ProtectedKeyword; +/** + * Test if a node is a `PublicKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPublicKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PublicKeyword`. + */ +declare function isPublicKeyword(node: ts.Node): node is ts.PublicKeyword; +/** + * Test if a node is a `QuestionDotToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionDotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionDotToken`. + */ +declare function isQuestionDotToken(node: ts.Node): node is ts.QuestionDotToken; +/** + * Test if a node is a `QuestionToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionToken`. + */ +declare function isQuestionToken(node: ts.Node): node is ts.QuestionToken; +/** + * Test if a node is a `ReadonlyKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isReadonlyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ReadonlyKeyword`. + */ +declare function isReadonlyKeyword(node: ts.Node): node is ts.ReadonlyKeyword; +/** + * Test if a node is a `StaticKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStaticKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `StaticKeyword`. + */ +declare function isStaticKeyword(node: ts.Node): node is ts.StaticKeyword; +/** + * Test if a node is a {@link StringKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStringKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link StringKeyword}. + */ +declare function isStringKeyword(node: ts.Node): node is StringKeyword; +/** + * Test if a node is a `SuperExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperExpression`. + */ +declare function isSuperExpression(node: ts.Node): node is ts.SuperExpression; +/** + * Test if a node is a {@link SuperKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SuperKeyword}. + */ +declare function isSuperKeyword(node: ts.Node): node is SuperKeyword; +/** + * Test if a node is a {@link SymbolKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSymbolKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SymbolKeyword}. + */ +declare function isSymbolKeyword(node: ts.Node): node is SymbolKeyword; +/** + * Test if a node is a `SyntaxList`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSyntaxList(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SyntaxList`. + */ +declare function isSyntaxList(node: ts.Node): node is ts.SyntaxList; +/** + * Test if a node is a `ThisExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ThisExpression`. + */ +declare function isThisExpression(node: ts.Node): node is ts.ThisExpression; +/** + * Test if a node is a {@link ThisKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ThisKeyword}. + */ +declare function isThisKeyword(node: ts.Node): node is ThisKeyword; +/** + * Test if a node is a {@link TrueKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link TrueKeyword}. + */ +declare function isTrueKeyword(node: ts.Node): node is TrueKeyword; +/** + * Test if a node is a `TrueLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TrueLiteral`. + */ +declare function isTrueLiteral(node: ts.Node): node is ts.TrueLiteral; +/** + * Test if a node is an {@link UndefinedKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUndefinedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UndefinedKeyword}. + */ +declare function isUndefinedKeyword(node: ts.Node): node is UndefinedKeyword; +/** + * Test if a node is an {@link UnknownKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnknownKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UnknownKeyword}. + */ +declare function isUnknownKeyword(node: ts.Node): node is UnknownKeyword; +/** + * Test if a node is a {@link VoidKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVoidKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link VoidKeyword}. + */ +declare function isVoidKeyword(node: ts.Node): node is VoidKeyword; + +/** + * Test if a node is a `HasDecorators`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasDecorators(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasDecorators`. + */ +declare function hasDecorators(node: ts.Node): node is ts.HasDecorators; +/** + * Test if a node is a `HasExpressionInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasExpressionInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasExpressionInitializer`. + */ +declare function hasExpressionInitializer(node: ts.Node): node is ts.HasExpressionInitializer; +/** + * Test if a node is a `HasInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasInitializer`. + */ +declare function hasInitializer(node: ts.Node): node is ts.HasInitializer; +/** + * Test if a node is a `HasJSDoc`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasJSDoc(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasJSDoc`. + */ +declare function hasJSDoc(node: ts.Node): node is ts.HasJSDoc; +/** + * Test if a node is a `HasModifiers`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasModifiers(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasModifiers`. + */ +declare function hasModifiers(node: ts.Node): node is ts.HasModifiers; +/** + * Test if a node is a `HasType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasType`. + */ +declare function hasType(node: ts.Node): node is ts.HasType; +/** + * Test if a node is a `HasTypeArguments`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasTypeArguments(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasTypeArguments`. + */ +declare function hasTypeArguments(node: ts.Node): node is ts.HasTypeArguments; +/** + * Test if a node is an `AccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessExpression`. + */ +declare function isAccessExpression(node: ts.Node): node is ts.AccessExpression; +/** + * Test if a node is an `AccessibilityModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessibilityModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessibilityModifier`. + */ +declare function isAccessibilityModifier(node: ts.Node): node is ts.AccessibilityModifier; +/** + * Test if a node is an `AccessorDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isAccessor`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorDeclaration`. + */ +declare function isAccessorDeclaration(node: ts.Node): node is ts.AccessorDeclaration; +/** + * Test if a node is an `ArrayBindingElement`. + * @deprecated With TypeScript v5, in favor of typescript's `isArrayBindingElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingElement`. + */ +declare function isArrayBindingElement(node: ts.Node): node is ts.ArrayBindingElement; +/** + * Test if a node is an `ArrayBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingOrAssignmentPattern`. + */ +declare function isArrayBindingOrAssignmentPattern(node: ts.Node): node is ts.ArrayBindingOrAssignmentPattern; +/** + * Test if a node is an `AssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssignmentPattern`. + */ +declare function isAssignmentPattern(node: ts.Node): node is ts.AssignmentPattern; +/** + * Test if a node is a `BindingOrAssignmentElementRestIndicator`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementRestIndicator(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementRestIndicator`. + */ +declare function isBindingOrAssignmentElementRestIndicator(node: ts.Node): node is ts.BindingOrAssignmentElementRestIndicator; +/** + * Test if a node is a `BindingOrAssignmentElementTarget`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementTarget(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementTarget`. + */ +declare function isBindingOrAssignmentElementTarget(node: ts.Node): node is ts.BindingOrAssignmentElementTarget; +/** + * Test if a node is a `BindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentPattern`. + */ +declare function isBindingOrAssignmentPattern(node: ts.Node): node is ts.BindingOrAssignmentPattern; +/** + * Test if a node is a `BindingPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingPattern`. + */ +declare function isBindingPattern(node: ts.Node): node is ts.BindingPattern; +/** + * Test if a node is a `BlockLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBlockLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BlockLike`. + */ +declare function isBlockLike(node: ts.Node): node is ts.BlockLike; +/** + * Test if a node is a `BooleanLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BooleanLiteral`. + */ +declare function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral; +/** + * Test if a node is a `ClassLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isClassLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassLikeDeclaration`. + */ +declare function isClassLikeDeclaration(node: ts.Node): node is ts.ClassLikeDeclaration; +/** + * Test if a node is a `ClassMemberModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassMemberModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassMemberModifier`. + */ +declare function isClassMemberModifier(node: ts.Node): node is ts.ClassMemberModifier; +/** + * Test if a node is a `DeclarationName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationName`. + */ +declare function isDeclarationName(node: ts.Node): node is ts.DeclarationName; +/** + * Test if a node is a `DeclarationWithTypeParameterChildren`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameterChildren(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameterChildren`. + */ +declare function isDeclarationWithTypeParameterChildren(node: ts.Node): node is ts.DeclarationWithTypeParameterChildren; +/** + * Test if a node is a `DeclarationWithTypeParameters`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameters(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameters`. + */ +declare function isDeclarationWithTypeParameters(node: ts.Node): node is ts.DeclarationWithTypeParameters; +/** + * Test if a node is a `DestructuringPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDestructuringPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DestructuringPattern`. + */ +declare function isDestructuringPattern(node: ts.Node): node is ts.DestructuringPattern; +/** + * Test if a node is an `EntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameExpression`. + */ +declare function isEntityNameExpression(node: ts.Node): node is ts.EntityNameExpression; +/** + * Test if a node is an `EntityNameOrEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameOrEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameOrEntityNameExpression`. + */ +declare function isEntityNameOrEntityNameExpression(node: ts.Node): node is ts.EntityNameOrEntityNameExpression; +/** + * Test if a node is a `ForInOrOfStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isForInOrOfStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ForInOrOfStatement`. + */ +declare function isForInOrOfStatement(node: ts.Node): node is ts.ForInOrOfStatement; +/** + * Test if a node is a `FunctionLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isFunctionLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FunctionLikeDeclaration`. + */ +declare function isFunctionLikeDeclaration(node: ts.Node): node is ts.FunctionLikeDeclaration; +/** + * Test if a node is a `JSDocComment`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocComment(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocComment`. + */ +declare function isJSDocComment(node: ts.Node): node is ts.JSDocComment; +/** + * Test if a node is a `JSDocNamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceBody`. + */ +declare function isJSDocNamespaceBody(node: ts.Node): node is ts.JSDocNamespaceBody; +/** + * Test if a node is a `JSDocTypeReferencingNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocTypeReferencingNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocTypeReferencingNode`. + */ +declare function isJSDocTypeReferencingNode(node: ts.Node): node is ts.JSDocTypeReferencingNode; +/** + * Test if a node is a `JsonObjectExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonObjectExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonObjectExpression`. + */ +declare function isJsonObjectExpression(node: ts.Node): node is ts.JsonObjectExpression; +/** + * Test if a node is a `JsxAttributeLike`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxAttributeLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeLike`. + */ +declare function isJsxAttributeLike(node: ts.Node): node is ts.JsxAttributeLike; +/** + * Test if a node is a `JsxAttributeValue`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeValue(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeValue`. + */ +declare function isJsxAttributeValue(node: ts.Node): node is ts.JsxAttributeValue; +/** + * Test if a node is a `JsxChild`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxChild`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxChild(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxChild`. + */ +declare function isJsxChild(node: ts.Node): node is ts.JsxChild; +/** + * Test if a node is a `JsxTagNameExpression`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxTagNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNameExpression`. + */ +declare function isJsxTagNameExpression(node: ts.Node): node is ts.JsxTagNameExpression; +/** + * Test if a node is a `LiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `LiteralToken`. + */ +declare function isLiteralToken(node: ts.Node): node is ts.LiteralToken; +/** + * Test if a node is a `ModuleBody`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleBody`. + */ +declare function isModuleBody(node: ts.Node): node is ts.ModuleBody; +/** + * Test if a node is a `ModuleName`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleName`. + */ +declare function isModuleName(node: ts.Node): node is ts.ModuleName; +/** + * Test if a node is a `ModuleReference`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleReference`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleReference(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleReference`. + */ +declare function isModuleReference(node: ts.Node): node is ts.ModuleReference; +/** + * Test if a node is a `NamedImportBindings`. + * @deprecated With TypeScript v5, in favor of typescript's `isNamedImportBindings`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportBindings(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportBindings`. + */ +declare function isNamedImportBindings(node: ts.Node): node is ts.NamedImportBindings; +/** + * Test if a node is a `NamedImportsOrExports`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportsOrExports(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportsOrExports`. + */ +declare function isNamedImportsOrExports(node: ts.Node): node is ts.NamedImportsOrExports; +/** + * Test if a node is a `NamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceBody`. + */ +declare function isNamespaceBody(node: ts.Node): node is ts.NamespaceBody; +/** + * Test if a node is an `ObjectBindingOrAssignmentElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentElement`. + */ +declare function isObjectBindingOrAssignmentElement(node: ts.Node): node is ts.ObjectBindingOrAssignmentElement; +/** + * Test if a node is an `ObjectBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentPattern`. + */ +declare function isObjectBindingOrAssignmentPattern(node: ts.Node): node is ts.ObjectBindingOrAssignmentPattern; +/** + * Test if a node is an `ObjectTypeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectTypeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectTypeDeclaration`. + */ +declare function isObjectTypeDeclaration(node: ts.Node): node is ts.ObjectTypeDeclaration; +/** + * Test if a node is a `ParameterPropertyModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isParameterPropertyModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ParameterPropertyModifier`. + */ +declare function isParameterPropertyModifier(node: ts.Node): node is ts.ParameterPropertyModifier; +/** + * Test if a node is a `PropertyNameLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyNameLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyNameLiteral`. + */ +declare function isPropertyNameLiteral(node: ts.Node): node is ts.PropertyNameLiteral; +/** + * Test if a node is a `PseudoLiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPseudoLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PseudoLiteralToken`. + */ +declare function isPseudoLiteralToken(node: ts.Node): node is ts.PseudoLiteralToken; +/** + * Test if a node is a `SignatureDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSignatureDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SignatureDeclaration`. + */ +declare function isSignatureDeclaration(node: ts.Node): node is ts.SignatureDeclaration; +/** + * Test if a node is a `SuperProperty`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperProperty(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperProperty`. + */ +declare function isSuperProperty(node: ts.Node): node is ts.SuperProperty; +/** + * Test if a node is a `TypeOnlyCompatibleAliasDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeOnlyCompatibleAliasDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeOnlyCompatibleAliasDeclaration`. + */ +declare function isTypeOnlyCompatibleAliasDeclaration(node: ts.Node): node is ts.TypeOnlyCompatibleAliasDeclaration; +/** + * Test if a node is a `TypeReferenceType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeReferenceType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeReferenceType`. + */ +declare function isTypeReferenceType(node: ts.Node): node is ts.TypeReferenceType; +/** + * Test if a node is an `UnionOrIntersectionTypeNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnionOrIntersectionTypeNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `UnionOrIntersectionTypeNode`. + */ +declare function isUnionOrIntersectionTypeNode(node: ts.Node): node is ts.UnionOrIntersectionTypeNode; +/** + * Test if a node is a `VariableLikeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVariableLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `VariableLikeDeclaration`. + */ +declare function isVariableLikeDeclaration(node: ts.Node): node is ts.VariableLikeDeclaration; + +/** + * Is the node a scope boundary, specifically due to it being a function. + * @category Scope Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionScopeBoundary(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isFunctionScopeBoundary(node: ts.Node): boolean; + +/** + * Test of the kind given is for assignment. + * @category Syntax Utilities + * @example + * ```ts + * declare const kind: ts.SyntaxKind; + * + * isAssignmentKind(kind); + * ``` + */ +declare function isAssignmentKind(kind: ts.SyntaxKind): boolean; +/** + * Test if a string is numeric. + * @category Syntax Utilities + * @example + * ```ts + * isNumericPropertyName("abc"); // false + * isNumericPropertyName("123"); // true + * ``` + */ +declare function isNumericPropertyName(name: string | ts.__String): boolean; +/** + * Determines whether the given text can be used to access a property with a `PropertyAccessExpression` while preserving the property's name. + * @category Syntax Utilities + * @example + * ```ts + * isValidPropertyAccess("abc"); // true + * isValidPropertyAccess("123"); // false + * ``` + */ +declare function isValidPropertyAccess(text: string, languageVersion?: ts.ScriptTarget): boolean; + +/** + * Callback type used for {@link forEachToken}. + * @category Callbacks + * @example + * ```ts + * let onToken: ForEachTokenCallback = (token) => { + * console.log(`Found token at position: ${token.pos}.`); + * }; + * ``` + */ +type ForEachTokenCallback = (token: ts.Node) => void; +/** + * Iterates over all tokens of `node` + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachToken(node, (token) => { + * console.log("Found token:", token.getText()); + * }); + * ``` + * @param node The node whose tokens should be visited + * @param callback Is called for every token contained in `node` + */ +declare function forEachToken(node: ts.Node, callback: ForEachTokenCallback, sourceFile?: ts.SourceFile): void; + +/** + * Get the `CallSignatures` of the given type. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * + * getCallSignaturesOfType(type); + * ``` + */ +declare function getCallSignaturesOfType(type: ts.Type): readonly ts.Signature[]; +/** + * Get the property with the given name on the given type (if it exists). + * @category Types - Getters + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * + * getPropertyOfType(type, property.getEscapedName()); + * ``` + */ +declare function getPropertyOfType(type: ts.Type, name: ts.__String): ts.Symbol | undefined; +/** + * Retrieves a type symbol corresponding to a well-known string name. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * getWellKnownSymbolPropertyOfType(type, "asyncIterator", typeChecker); + * ``` + */ +declare function getWellKnownSymbolPropertyOfType(type: ts.Type, wellKnownSymbolName: string, typeChecker: ts.TypeChecker): ts.Symbol | undefined; + +/** + * A "any" intrinsic type. + * @category Type Types + */ +interface IntrinsicAnyType extends IntrinsicType { + intrinsicName: "any"; +} +/** + * A "bigint" intrinsic type. + * @category Type Types + */ +interface IntrinsicBigIntType extends IntrinsicType { + intrinsicName: "bigint"; +} +/** + * A "boolean" intrinsic type. + * @category Type Types + */ +interface IntrinsicBooleanType extends IntrinsicType { + intrinsicName: "boolean"; +} +/** + * An "error" intrinsic type. + * + * This refers to a type generated when TypeScript encounters an error while + * trying to resolve the type. + * @category Type Types + */ +interface IntrinsicErrorType extends IntrinsicType { + intrinsicName: "error"; +} +/** + * A "symbol" intrinsic type. + * @category Type Types + */ +interface IntrinsicESSymbolType extends IntrinsicType { + intrinsicName: "symbol"; +} +/** + * An "intrinsic" (built-in to TypeScript) type. + * @category Type Types + */ +interface IntrinsicType extends ts.Type { + intrinsicName: string; + objectFlags: ts.ObjectFlags; +} +/** + * Determines whether the given type is the "any" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicAnyType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicAnyType(type: ts.Type): type is IntrinsicAnyType; +/** + * Determines whether the given type is the "bigint" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBigIntType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBigIntType(type: ts.Type): type is IntrinsicBigIntType; +/** + * Determines whether the given type is the "boolean" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBooleanType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBooleanType(type: ts.Type): type is IntrinsicBooleanType; +/** + * Determines whether the given type is the "error" intrinsic type. + * + * The intrinsic error type occurs when TypeScript encounters an error while + * trying to resolve the type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicErrorType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicErrorType(type: ts.Type): type is IntrinsicErrorType; +/** + * Determines whether the given type is the "symbol" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicESSymbolType(type: ts.Type): type is IntrinsicESSymbolType; +/** + * A "never" intrinsic type. + * @category Type Types + */ +interface IntrinsicNeverType extends IntrinsicType { + intrinsicName: "never"; +} +/** + * A non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Type Types + */ +interface IntrinsicNonPrimitiveType extends IntrinsicType { + intrinsicName: ""; +} +/** + * A "null" intrinsic type. + * @category Type Types + */ +interface IntrinsicNullType extends IntrinsicType { + intrinsicName: "null"; +} +/** + * A "number" intrinsic type. + * @category Type Types + */ +interface IntrinsicNumberType extends IntrinsicType { + intrinsicName: "number"; +} +/** + * A "string" intrinsic type. + * @category Type Types + */ +interface IntrinsicStringType extends IntrinsicType { + intrinsicName: "string"; +} +/** + * The built-in `undefined` type. + * @category Type Types + */ +interface IntrinsicUndefinedType extends IntrinsicType { + intrinsicName: "undefined"; +} +/** + * The built-in `unknown` type. + * @category Type Types + */ +interface IntrinsicUnknownType extends IntrinsicType { + intrinsicName: "unknown"; +} +/** + * A "void" intrinsic type. + * @category Type Types + */ +interface IntrinsicVoidType extends IntrinsicType { + intrinsicName: "void"; +} +/** + * Determines whether the given type is the "never" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNeverType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNeverType(type: ts.Type): type is IntrinsicNeverType; +/** + * Determines whether the given type is a non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNonPrimitiveType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNonPrimitiveType(type: ts.Type): type is IntrinsicNonPrimitiveType; +/** + * Determines whether the given type is the "null" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNullType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNullType(type: ts.Type): type is IntrinsicNullType; +/** + * Determines whether the given type is the "number" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNumberType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNumberType(type: ts.Type): type is IntrinsicNumberType; +/** + * Determines whether the given type is the "string" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicStringType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicStringType(type: ts.Type): type is IntrinsicStringType; +/** + * Test if a type is an {@link IntrinsicType}. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicType(type: ts.Type): type is IntrinsicType; +/** + * Determines whether the given type is the "undefined" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUndefinedType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUndefinedType(type: ts.Type): type is IntrinsicUndefinedType; +/** + * Determines whether the given type is the "unknown" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUnknownType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUnknownType(type: ts.Type): type is IntrinsicUnknownType; +/** + * Determines whether the given type is the "void" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicVoidType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicVoidType(type: ts.Type): type is IntrinsicVoidType; + +/** + * A type that is both an {@link IntrinsicType} and a `FreshableType` + * @category Type Types + */ +interface FreshableIntrinsicType extends ts.FreshableType, IntrinsicType { +} +/** + * Test if a type is a `FreshableIntrinsicType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableIntrinsicType(type)) { + * // ... + * } + */ +declare function isFreshableIntrinsicType(type: ts.Type): type is FreshableIntrinsicType; +/** + * Test if a type is a `TupleTypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleTypeReference(type)) { + * // ... + * } + */ +declare function isTupleTypeReference(type: ts.Type): type is ts.TupleTypeReference; + +/** + * A boolean literal. + * i.e. Either a "true" or "false" literal. + * @category Type Types + */ +interface BooleanLiteralType extends FreshableIntrinsicType { + intrinsicName: "false" | "true"; +} +/** + * A "false" literal. + * @category Type Types + */ +interface FalseLiteralType extends BooleanLiteralType { + intrinsicName: "false"; +} +/** + * A "true" literal. + * @category Type Types + */ +interface TrueLiteralType extends BooleanLiteralType { + intrinsicName: "true"; +} +/** + * `LiteralType` from typescript except that it allows for it to work on arbitrary types. + * @deprecated Use {@link FreshableIntrinsicType} instead. + * @category Type Types + */ +interface UnknownLiteralType extends FreshableIntrinsicType { + value?: unknown; +} +/** + * Test if a type is a `BigIntLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBigIntLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBigIntLiteralType(type: ts.Type): type is ts.BigIntLiteralType; +/** + * Determines whether the given type is a boolean literal type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBooleanLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBooleanLiteralType(type: ts.Type): type is BooleanLiteralType; +/** + * Determines whether the given type is a boolean literal type for "false". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalseLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isFalseLiteralType(type: ts.Type): type is FalseLiteralType; +/** + * Test if a type is a `LiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isLiteralType(type: ts.Type): type is ts.LiteralType; +/** + * Test if a type is a `NumberLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isNumberLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isNumberLiteralType(type: ts.Type): type is ts.NumberLiteralType; +/** + * Test if a type is a `StringLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isStringLiteralType(type: ts.Type): type is ts.StringLiteralType; +/** + * Test if a type is a `TemplateLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTemplateLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTemplateLiteralType(type: ts.Type): type is ts.TemplateLiteralType; +/** + * Determines whether the given type is a boolean literal type for "true". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTrueLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTrueLiteralType(type: ts.Type): type is TrueLiteralType; + +/** + * Test if a type is a `EvolvingArrayType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEvolvingArrayType(type)) { + * // ... + * } + * ``` + */ +declare function isEvolvingArrayType(type: ts.Type): type is ts.EvolvingArrayType; +/** + * Test if a type is a `TupleType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleType(type)) { + * // ... + * } + * ``` + */ +declare function isTupleType(type: ts.Type): type is ts.TupleType; +/** + * Test if a type is a `TypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeReference(type)) { + * // ... + * } + * ``` + */ +declare function isTypeReference(type: ts.Type): type is ts.TypeReference; + +/** + * Test if a type is a `ConditionalType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isConditionalType(type)) { + * // ... + * } + * ``` + */ +declare function isConditionalType(type: ts.Type): type is ts.ConditionalType; +/** + * Test if a type is a `EnumType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEnumType(type)) { + * // ... + * } + * ``` + */ +declare function isEnumType(type: ts.Type): type is ts.EnumType; +/** + * Test if a type is a `FreshableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableType(type)) { + * // ... + * } + * ``` + */ +declare function isFreshableType(type: ts.Type): type is ts.FreshableType; +/** + * Test if a type is a `IndexedAccessType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexedAccessType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexedAccessType(type: ts.Type): type is ts.IndexedAccessType; +/** + * Test if a type is a `IndexType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexType(type: ts.Type): type is ts.IndexType; +/** + * Test if a type is a `InstantiableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isInstantiableType(type)) { + * // ... + * } + * ``` + */ +declare function isInstantiableType(type: ts.Type): type is ts.InstantiableType; +/** + * Test if a type is a `IntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isIntersectionType(type: ts.Type): type is ts.IntersectionType; +/** + * Test if a type is a `ObjectType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isObjectType(type)) { + * // ... + * } + * ``` + */ +declare function isObjectType(type: ts.Type): type is ts.ObjectType; +/** + * Test if a type is a `StringMappingType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringMappingType(type)) { + * // ... + * } + * ``` + */ +declare function isStringMappingType(type: ts.Type): type is ts.StringMappingType; +/** + * Test if a type is a `SubstitutionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isSubstitutionType(type)) { + * // ... + * } + * ``` + */ +declare function isSubstitutionType(type: ts.Type): type is ts.SubstitutionType; +/** + * Test if a type is a `TypeParameter`. + * + * Note: It is intentional that this is not a type guard. + * @see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeParameter(type)) { + * // ... + * } + * ``` + */ +declare function isTypeParameter(type: ts.Type): boolean; +/** + * Test if a type is a `TypeVariable`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeVariable(type)) { + * // ... + * } + * ``` + */ +declare function isTypeVariable(type: ts.Type): type is ts.TypeVariable; +/** + * Test if a type is a `UnionOrIntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionOrIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionOrIntersectionType(type: ts.Type): type is ts.UnionOrIntersectionType; +/** + * Test if a type is a `UnionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionType(type: ts.Type): type is ts.UnionType; +/** + * Test if a type is a `UniqueESSymbolType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUniqueESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isUniqueESSymbolType(type: ts.Type): type is ts.UniqueESSymbolType; + +/** + * Get the intersection type parts of the given type. + * + * If the given type is not a intersection type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function intersectionTypeParts(type: ts.Type): ts.Type[]; +/** + * Determines whether a type is definitely falsy. This function doesn't unwrap union types. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalsyType(type)) { + * // ... + * } + * ``` + */ +declare function isFalsyType(type: ts.Type): boolean; +/** + * Determines whether writing to a certain property of a given type is allowed. + * @category Types - Utilities + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { + * // ... + * } + * ``` + */ +declare function isPropertyReadonlyInType(type: ts.Type, name: ts.__String, typeChecker: ts.TypeChecker): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const node: ts.Node; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, node, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Node, type: ts.Type): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, expression)) { + * // ... + * } + * ``` + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * declare const type: ts.Type; + * + * if (isThenableType(typeChecker, expression, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Expression, type?: ts.Type): boolean; +/** + * Test if the given symbol has a readonly declaration. + * @category Symbols - Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * declare const typeChecker: ts.TypeChecker; + * + * if (symbolHasReadonlyDeclaration(symbol, typeChecker)) { + * // ... + * } + * ``` + */ +declare function symbolHasReadonlyDeclaration(symbol: ts.Symbol, typeChecker: ts.TypeChecker): boolean; +/** + * TS's `type.isLiteral()` is bugged before TS v5.0 and won't return `true` for + * bigint literals. Use this function instead if you need to check for bigint + * literals in TS versions before v5.0. Otherwise, you should just use + * `type.isLiteral()`. + * @see https://github.com/microsoft/TypeScript/pull/50929 + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (typeIsLiteral(type)) { + * // ... + * } + * ``` + */ +declare function typeIsLiteral(type: ts.Type): type is ts.LiteralType; +/** + * Get the intersection or union type parts of the given type. + * + * Note that this is a shallow collection: it only returns `type.types` or `[type]`. + * + * If the given type is not an intersection or union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function typeParts(type: ts.Type): ts.Type[]; +/** + * Get the union type parts of the given type. + * + * If the given type is not a union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of unionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function unionTypeParts(type: ts.Type): ts.Type[]; + +/** + * Which "domain"(s) (most commonly, type or value space) a declaration is within. + */ +declare enum DeclarationDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + Import = 8 +} + +/** + * Which "domain"(s) (most commonly, type or value space) a usage is within. + */ +declare enum UsageDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + TypeQuery = 8, + ValueOrNamespace = 5 +} + +/** + * An instance of an item (type or value) being used. + */ +interface Usage { + /** + * Which space(s) the usage is within. + */ + domain: UsageDomain; + location: ts.Identifier; +} +/** + * How an item (type or value) was declared and/or referenced. + */ +interface UsageInfo { + /** + * Locations where the item was declared. + */ + declarations: ts.Identifier[]; + /** + * Which space(s) the item is within. + */ + domain: DeclarationDomain; + /** + * Whether the item was exported from its module or namespace scope. + */ + exported: boolean; + /** + * Whether the item's declaration was in the global scope. + */ + inGlobalScope: boolean; + /** + * Each reference to the item in the file. + */ + uses: Usage[]; +} + +/** + * Creates a mapping of each declared type and value to its type information. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const sourceFile: ts.SourceFile; + * + * const usage = collectVariableUsage(sourceFile); + * + * for (const [identifier, information] of usage) { + * console.log(`${identifier.getText()} is used ${information.uses.length} time(s).`); + * } + * ``` + */ +declare function collectVariableUsage(sourceFile: ts.SourceFile): Map; + +export { AccessKind, type AnyKeyword, type BigIntKeyword, type BooleanCompilerOptions, type BooleanKeyword, type BooleanLiteralType, type ConstAssertionExpression, type ConstAssertionIdentifier, DeclarationDomain, type FalseKeyword, type FalseLiteralType, type ForEachCommentCallback, type ForEachTokenCallback, type FreshableIntrinsicType, type ImportKeyword, type IntrinsicAnyType, type IntrinsicBigIntType, type IntrinsicBooleanType, type IntrinsicESSymbolType, type IntrinsicErrorType, type IntrinsicNeverType, type IntrinsicNonPrimitiveType, type IntrinsicNullType, type IntrinsicNumberType, type IntrinsicStringType, type IntrinsicType, type IntrinsicUndefinedType, type IntrinsicUnknownType, type IntrinsicVoidType, type NamedDeclarationWithName, type NeverKeyword, type NullKeyword, type NumberKeyword, type NumericOrStringLikeLiteral, type ObjectKeyword, type StrictCompilerOption, type StringKeyword, type SuperKeyword, type SymbolKeyword, type ThisKeyword, type TrueKeyword, type TrueLiteralType, type UndefinedKeyword, type UnknownKeyword, type UnknownLiteralType, UsageDomain, type UsageInfo as VariableInfo, type Usage as VariableUse, type VoidKeyword, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js new file mode 100644 index 0000000000..12c109acab --- /dev/null +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js @@ -0,0 +1,2078 @@ +import ts9 from 'typescript'; + +// src/comments.ts +function forEachToken(node, callback, sourceFile = node.getSourceFile()) { + const queue = []; + while (true) { + if (ts9.isTokenKind(node.kind)) { + callback(node); + } else { + const children = node.getChildren(sourceFile); + if (children.length === 1) { + node = children[0]; + continue; + } + for (let i = children.length - 1; i >= 0; --i) { + queue.push(children[i]); + } + } + if (queue.length === 0) { + break; + } + node = queue.pop(); + } +} + +// src/comments.ts +function forEachComment(node, callback, sourceFile = node.getSourceFile()) { + const fullText = sourceFile.text; + const notJsx = sourceFile.languageVariant !== ts9.LanguageVariant.JSX; + return forEachToken( + node, + (token) => { + if (token.pos === token.end) { + return; + } + if (token.kind !== ts9.SyntaxKind.JsxText) { + ts9.forEachLeadingCommentRange( + fullText, + // skip shebang at position 0 + token.pos === 0 ? (ts9.getShebang(fullText) ?? "").length : token.pos, + commentCallback + ); + } + if (notJsx || canHaveTrailingTrivia(token)) { + return ts9.forEachTrailingCommentRange( + fullText, + token.end, + commentCallback + ); + } + }, + sourceFile + ); + function commentCallback(pos, end, kind) { + callback(fullText, { end, kind, pos }); + } +} +function canHaveTrailingTrivia(token) { + switch (token.kind) { + case ts9.SyntaxKind.CloseBraceToken: + return token.parent.kind !== ts9.SyntaxKind.JsxExpression || !isJsxElementOrFragment(token.parent.parent); + case ts9.SyntaxKind.GreaterThanToken: + switch (token.parent.kind) { + case ts9.SyntaxKind.JsxClosingElement: + case ts9.SyntaxKind.JsxClosingFragment: + return !isJsxElementOrFragment(token.parent.parent.parent); + case ts9.SyntaxKind.JsxOpeningElement: + return token.end !== token.parent.end; + case ts9.SyntaxKind.JsxOpeningFragment: + return false; + // would be inside the fragment + case ts9.SyntaxKind.JsxSelfClosingElement: + return token.end !== token.parent.end || // if end is not equal, this is part of the type arguments list + !isJsxElementOrFragment(token.parent.parent); + } + } + return true; +} +function isJsxElementOrFragment(node) { + return node.kind === ts9.SyntaxKind.JsxElement || node.kind === ts9.SyntaxKind.JsxFragment; +} +function isCompilerOptionEnabled(options, option) { + switch (option) { + case "allowJs": + return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + case "allowSyntheticDefaultImports": + return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; + case "alwaysStrict": + case "noImplicitAny": + case "noImplicitThis": + case "strictBindCallApply": + case "strictFunctionTypes": + case "strictNullChecks": + case "strictPropertyInitialization": + return isStrictCompilerOptionEnabled( + options, + option + ); + case "declaration": + return options.declaration || isCompilerOptionEnabled(options, "composite"); + case "declarationMap": + case "emitDeclarationOnly": + case "stripInternal": + return options[option] === true && isCompilerOptionEnabled(options, "declaration"); + case "incremental": + return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + case "noUncheckedIndexedAccess": + return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); + case "skipDefaultLibCheck": + return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck"); + case "suppressImplicitAnyIndexErrors": + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated + options.suppressImplicitAnyIndexErrors === true && isCompilerOptionEnabled(options, "noImplicitAny") + ); + } + return options[option] === true; +} +function isStrictCompilerOptionEnabled(options, option) { + return (options.strict ? options[option] !== false : options[option] === true) && (option !== "strictPropertyInitialization" || isStrictCompilerOptionEnabled(options, "strictNullChecks")); +} +function isModifierFlagSet(node, flag) { + return isFlagSet(ts9.getCombinedModifierFlags(node), flag); +} +function isFlagSet(allFlags, flag) { + return (allFlags & flag) !== 0; +} +function isFlagSetOnObject(obj, flag) { + return isFlagSet(obj.flags, flag); +} +var isNodeFlagSet = isFlagSetOnObject; +function isObjectFlagSet(objectType, flag) { + return isFlagSet(objectType.objectFlags, flag); +} +var isSymbolFlagSet = isFlagSetOnObject; +function isTransientSymbolLinksFlagSet(links, flag) { + return isFlagSet(links.checkFlags, flag); +} +var isTypeFlagSet = isFlagSetOnObject; + +// src/modifiers.ts +function includesModifier(modifiers, ...kinds) { + if (modifiers === void 0) { + return false; + } + for (const modifier of modifiers) { + if (kinds.includes(modifier.kind)) { + return true; + } + } + return false; +} +function isAssignmentKind(kind) { + return kind >= ts9.SyntaxKind.FirstAssignment && kind <= ts9.SyntaxKind.LastAssignment; +} +function isNumericPropertyName(name) { + return String(+name) === name; +} +function isValidPropertyAccess(text, languageVersion = ts9.ScriptTarget.Latest) { + if (text.length === 0) { + return false; + } + let ch = text.codePointAt(0); + if (!ts9.isIdentifierStart(ch, languageVersion)) { + return false; + } + for (let i = charSize(ch); i < text.length; i += charSize(ch)) { + ch = text.codePointAt(i); + if (!ts9.isIdentifierPart(ch, languageVersion)) { + return false; + } + } + return true; +} +function charSize(ch) { + return ch >= 65536 ? 2 : 1; +} + +// src/nodes/access.ts +var AccessKind = /* @__PURE__ */ ((AccessKind2) => { + AccessKind2[AccessKind2["None"] = 0] = "None"; + AccessKind2[AccessKind2["Read"] = 1] = "Read"; + AccessKind2[AccessKind2["Write"] = 2] = "Write"; + AccessKind2[AccessKind2["Delete"] = 4] = "Delete"; + AccessKind2[AccessKind2["ReadWrite"] = 3] = "ReadWrite"; + return AccessKind2; +})(AccessKind || {}); +function getAccessKind(node) { + const parent = node.parent; + switch (parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.SpreadAssignment: + case ts9.SyntaxKind.SpreadElement: + return isInDestructuringAssignment( + parent + ) ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.ArrowFunction: + return parent.body === node ? 1 /* Read */ : 2 /* Write */; + case ts9.SyntaxKind.AsExpression: + case ts9.SyntaxKind.NonNullExpression: + case ts9.SyntaxKind.ParenthesizedExpression: + case ts9.SyntaxKind.TypeAssertionExpression: + return getAccessKind(parent); + case ts9.SyntaxKind.AwaitExpression: + case ts9.SyntaxKind.CallExpression: + case ts9.SyntaxKind.CaseClause: + case ts9.SyntaxKind.ComputedPropertyName: + case ts9.SyntaxKind.ConditionalExpression: + case ts9.SyntaxKind.Decorator: + case ts9.SyntaxKind.DoStatement: + case ts9.SyntaxKind.ElementAccessExpression: + case ts9.SyntaxKind.ExpressionStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.IfStatement: + case ts9.SyntaxKind.JsxElement: + case ts9.SyntaxKind.JsxExpression: + case ts9.SyntaxKind.JsxOpeningElement: + case ts9.SyntaxKind.JsxSelfClosingElement: + case ts9.SyntaxKind.JsxSpreadAttribute: + case ts9.SyntaxKind.NewExpression: + case ts9.SyntaxKind.ReturnStatement: + case ts9.SyntaxKind.SwitchStatement: + case ts9.SyntaxKind.TaggedTemplateExpression: + case ts9.SyntaxKind.TemplateSpan: + case ts9.SyntaxKind.ThrowStatement: + case ts9.SyntaxKind.TypeOfExpression: + case ts9.SyntaxKind.VoidExpression: + case ts9.SyntaxKind.WhileStatement: + case ts9.SyntaxKind.WithStatement: + case ts9.SyntaxKind.YieldExpression: + return 1 /* Read */; + case ts9.SyntaxKind.BinaryExpression: + return parent.right === node ? 1 /* Read */ : !isAssignmentKind(parent.operatorToken.kind) ? 1 /* Read */ : parent.operatorToken.kind === ts9.SyntaxKind.EqualsToken ? 2 /* Write */ : 3 /* ReadWrite */; + case ts9.SyntaxKind.BindingElement: + case ts9.SyntaxKind.EnumMember: + case ts9.SyntaxKind.JsxAttribute: + case ts9.SyntaxKind.Parameter: + case ts9.SyntaxKind.PropertyDeclaration: + case ts9.SyntaxKind.VariableDeclaration: + return parent.initializer === node ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.DeleteExpression: + return 4 /* Delete */; + case ts9.SyntaxKind.ExportAssignment: + return parent.isExportEquals ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9.SyntaxKind.ExtendsKeyword && parent.parent.parent.kind !== ts9.SyntaxKind.InterfaceDeclaration ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + return parent.initializer === node ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.PostfixUnaryExpression: + return 3 /* ReadWrite */; + case ts9.SyntaxKind.PrefixUnaryExpression: + return parent.operator === ts9.SyntaxKind.PlusPlusToken || parent.operator === ts9.SyntaxKind.MinusMinusToken ? 3 /* ReadWrite */ : 1 /* Read */; + case ts9.SyntaxKind.PropertyAccessExpression: + return parent.expression === node ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.PropertyAssignment: + return parent.name === node ? 0 /* None */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.ShorthandPropertyAssignment: + return parent.objectAssignmentInitializer === node ? 1 /* Read */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + } + return 0 /* None */; +} +function isInDestructuringAssignment(node) { + switch (node.kind) { + case ts9.SyntaxKind.ShorthandPropertyAssignment: + if (node.objectAssignmentInitializer !== void 0) { + return true; + } + // falls through + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.SpreadAssignment: + node = node.parent; + break; + case ts9.SyntaxKind.SpreadElement: + if (node.parent.kind !== ts9.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent; + } + while (true) { + switch (node.parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.ObjectLiteralExpression: + node = node.parent; + break; + case ts9.SyntaxKind.BinaryExpression: + return node.parent.left === node && node.parent.operatorToken.kind === ts9.SyntaxKind.EqualsToken; + case ts9.SyntaxKind.ForOfStatement: + return node.parent.initializer === node; + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.SpreadAssignment: + node = node.parent.parent; + break; + case ts9.SyntaxKind.SpreadElement: + if (node.parent.parent.kind !== ts9.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent.parent; + break; + default: + return false; + } + } +} +function isAbstractKeyword(node) { + return node.kind === ts9.SyntaxKind.AbstractKeyword; +} +function isAccessorKeyword(node) { + return node.kind === ts9.SyntaxKind.AccessorKeyword; +} +function isAnyKeyword(node) { + return node.kind === ts9.SyntaxKind.AnyKeyword; +} +function isAssertKeyword(node) { + return node.kind === ts9.SyntaxKind.AssertKeyword; +} +function isAssertsKeyword(node) { + return node.kind === ts9.SyntaxKind.AssertsKeyword; +} +function isAsyncKeyword(node) { + return node.kind === ts9.SyntaxKind.AsyncKeyword; +} +function isAwaitKeyword(node) { + return node.kind === ts9.SyntaxKind.AwaitKeyword; +} +function isBigIntKeyword(node) { + return node.kind === ts9.SyntaxKind.BigIntKeyword; +} +function isBooleanKeyword(node) { + return node.kind === ts9.SyntaxKind.BooleanKeyword; +} +function isColonToken(node) { + return node.kind === ts9.SyntaxKind.ColonToken; +} +function isConstKeyword(node) { + return node.kind === ts9.SyntaxKind.ConstKeyword; +} +function isDeclareKeyword(node) { + return node.kind === ts9.SyntaxKind.DeclareKeyword; +} +function isDefaultKeyword(node) { + return node.kind === ts9.SyntaxKind.DefaultKeyword; +} +function isDotToken(node) { + return node.kind === ts9.SyntaxKind.DotToken; +} +function isEndOfFileToken(node) { + return node.kind === ts9.SyntaxKind.EndOfFileToken; +} +function isEqualsGreaterThanToken(node) { + return node.kind === ts9.SyntaxKind.EqualsGreaterThanToken; +} +function isEqualsToken(node) { + return node.kind === ts9.SyntaxKind.EqualsToken; +} +function isExclamationToken(node) { + return node.kind === ts9.SyntaxKind.ExclamationToken; +} +function isExportKeyword(node) { + return node.kind === ts9.SyntaxKind.ExportKeyword; +} +function isFalseKeyword(node) { + return node.kind === ts9.SyntaxKind.FalseKeyword; +} +function isFalseLiteral(node) { + return node.kind === ts9.SyntaxKind.FalseKeyword; +} +function isImportExpression(node) { + return node.kind === ts9.SyntaxKind.ImportKeyword; +} +function isImportKeyword(node) { + return node.kind === ts9.SyntaxKind.ImportKeyword; +} +function isInKeyword(node) { + return node.kind === ts9.SyntaxKind.InKeyword; +} +function isJSDocText(node) { + return node.kind === ts9.SyntaxKind.JSDocText; +} +function isJsonMinusNumericLiteral(node) { + return node.kind === ts9.SyntaxKind.PrefixUnaryExpression; +} +function isNeverKeyword(node) { + return node.kind === ts9.SyntaxKind.NeverKeyword; +} +function isNullKeyword(node) { + return node.kind === ts9.SyntaxKind.NullKeyword; +} +function isNullLiteral(node) { + return node.kind === ts9.SyntaxKind.NullKeyword; +} +function isNumberKeyword(node) { + return node.kind === ts9.SyntaxKind.NumberKeyword; +} +function isObjectKeyword(node) { + return node.kind === ts9.SyntaxKind.ObjectKeyword; +} +function isOutKeyword(node) { + return node.kind === ts9.SyntaxKind.OutKeyword; +} +function isOverrideKeyword(node) { + return node.kind === ts9.SyntaxKind.OverrideKeyword; +} +function isPrivateKeyword(node) { + return node.kind === ts9.SyntaxKind.PrivateKeyword; +} +function isProtectedKeyword(node) { + return node.kind === ts9.SyntaxKind.ProtectedKeyword; +} +function isPublicKeyword(node) { + return node.kind === ts9.SyntaxKind.PublicKeyword; +} +function isQuestionDotToken(node) { + return node.kind === ts9.SyntaxKind.QuestionDotToken; +} +function isQuestionToken(node) { + return node.kind === ts9.SyntaxKind.QuestionToken; +} +function isReadonlyKeyword(node) { + return node.kind === ts9.SyntaxKind.ReadonlyKeyword; +} +function isStaticKeyword(node) { + return node.kind === ts9.SyntaxKind.StaticKeyword; +} +function isStringKeyword(node) { + return node.kind === ts9.SyntaxKind.StringKeyword; +} +function isSuperExpression(node) { + return node.kind === ts9.SyntaxKind.SuperKeyword; +} +function isSuperKeyword(node) { + return node.kind === ts9.SyntaxKind.SuperKeyword; +} +function isSymbolKeyword(node) { + return node.kind === ts9.SyntaxKind.SymbolKeyword; +} +function isSyntaxList(node) { + return node.kind === ts9.SyntaxKind.SyntaxList; +} +function isThisExpression(node) { + return node.kind === ts9.SyntaxKind.ThisKeyword; +} +function isThisKeyword(node) { + return node.kind === ts9.SyntaxKind.ThisKeyword; +} +function isTrueKeyword(node) { + return node.kind === ts9.SyntaxKind.TrueKeyword; +} +function isTrueLiteral(node) { + return node.kind === ts9.SyntaxKind.TrueKeyword; +} +function isUndefinedKeyword(node) { + return node.kind === ts9.SyntaxKind.UndefinedKeyword; +} +function isUnknownKeyword(node) { + return node.kind === ts9.SyntaxKind.UnknownKeyword; +} +function isVoidKeyword(node) { + return node.kind === ts9.SyntaxKind.VoidKeyword; +} +var [tsMajor, tsMinor] = ts9.versionMajorMinor.split(".").map((raw) => Number.parseInt(raw, 10)); +function isTsVersionAtLeast(major, minor = 0) { + return tsMajor > major || tsMajor === major && tsMinor >= minor; +} + +// src/nodes/typeGuards/union.ts +function hasDecorators(node) { + return ts9.isParameter(node) || ts9.isPropertyDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isClassExpression(node) || ts9.isClassDeclaration(node); +} +function hasExpressionInitializer(node) { + return ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isBindingElement(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertyAssignment(node) || ts9.isEnumMember(node); +} +function hasInitializer(node) { + return hasExpressionInitializer(node) || ts9.isForStatement(node) || ts9.isForInStatement(node) || ts9.isForOfStatement(node) || ts9.isJsxAttribute(node); +} +function hasJSDoc(node) { + if ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9.isArrowFunction(node) || ts9.isBlock(node) || ts9.isBreakStatement(node) || ts9.isCallSignatureDeclaration(node) || ts9.isCaseClause(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isConstructorTypeNode(node) || ts9.isConstructSignatureDeclaration(node) || ts9.isContinueStatement(node) || ts9.isDebuggerStatement(node) || ts9.isDoStatement(node) || ts9.isEmptyStatement(node) || isEndOfFileToken(node) || ts9.isEnumDeclaration(node) || ts9.isEnumMember(node) || ts9.isExportAssignment(node) || ts9.isExportDeclaration(node) || ts9.isExportSpecifier(node) || ts9.isExpressionStatement(node) || ts9.isForInStatement(node) || ts9.isForOfStatement(node) || ts9.isForStatement(node) || ts9.isFunctionDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isFunctionTypeNode(node) || ts9.isIfStatement(node) || ts9.isImportDeclaration(node) || ts9.isImportEqualsDeclaration(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isJSDocFunctionType(node) || ts9.isLabeledStatement(node) || ts9.isMethodDeclaration(node) || ts9.isMethodSignature(node) || ts9.isModuleDeclaration(node) || ts9.isNamedTupleMember(node) || ts9.isNamespaceExportDeclaration(node) || ts9.isParameter(node) || ts9.isParenthesizedExpression(node) || ts9.isPropertyAssignment(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertySignature(node) || ts9.isReturnStatement(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isSpreadAssignment(node) || ts9.isSwitchStatement(node) || ts9.isThrowStatement(node) || ts9.isTryStatement(node) || ts9.isTypeAliasDeclaration(node) || ts9.isVariableDeclaration(node) || ts9.isVariableStatement(node) || ts9.isWhileStatement(node) || ts9.isWithStatement(node) + ) { + return true; + } + if (isTsVersionAtLeast(4, 4) && ts9.isClassStaticBlockDeclaration(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9.isBinaryExpression(node) || ts9.isElementAccessExpression(node) || ts9.isIdentifier(node) || ts9.isJSDocSignature(node) || ts9.isObjectLiteralExpression(node) || ts9.isPropertyAccessExpression(node) || ts9.isTypeParameterDeclaration(node))) { + return true; + } + return false; +} +function hasModifiers(node) { + return ts9.isTypeParameterDeclaration(node) || ts9.isParameter(node) || ts9.isConstructorTypeNode(node) || ts9.isPropertySignature(node) || ts9.isPropertyDeclaration(node) || ts9.isMethodSignature(node) || ts9.isMethodDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node) || ts9.isClassExpression(node) || ts9.isVariableStatement(node) || ts9.isFunctionDeclaration(node) || ts9.isClassDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeAliasDeclaration(node) || ts9.isEnumDeclaration(node) || ts9.isModuleDeclaration(node) || ts9.isImportEqualsDeclaration(node) || ts9.isImportDeclaration(node) || ts9.isExportAssignment(node) || ts9.isExportDeclaration(node); +} +function hasType(node) { + return isSignatureDeclaration(node) || ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isPropertySignature(node) || ts9.isPropertyDeclaration(node) || ts9.isTypePredicateNode(node) || ts9.isParenthesizedTypeNode(node) || ts9.isTypeOperatorNode(node) || ts9.isMappedTypeNode(node) || ts9.isAssertionExpression(node) || ts9.isTypeAliasDeclaration(node) || ts9.isJSDocTypeExpression(node) || ts9.isJSDocNonNullableType(node) || ts9.isJSDocNullableType(node) || ts9.isJSDocOptionalType(node) || ts9.isJSDocVariadicType(node); +} +function hasTypeArguments(node) { + return ts9.isCallExpression(node) || ts9.isNewExpression(node) || ts9.isTaggedTemplateExpression(node) || ts9.isJsxOpeningElement(node) || ts9.isJsxSelfClosingElement(node); +} +function isAccessExpression(node) { + return ts9.isPropertyAccessExpression(node) || ts9.isElementAccessExpression(node); +} +function isAccessibilityModifier(node) { + return isPublicKeyword(node) || isPrivateKeyword(node) || isProtectedKeyword(node); +} +function isAccessorDeclaration(node) { + return ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node); +} +function isArrayBindingElement(node) { + return ts9.isBindingElement(node) || ts9.isOmittedExpression(node); +} +function isArrayBindingOrAssignmentPattern(node) { + return ts9.isArrayBindingPattern(node) || ts9.isArrayLiteralExpression(node); +} +function isAssignmentPattern(node) { + return ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node); +} +function isBindingOrAssignmentElementRestIndicator(node) { + if (ts9.isSpreadElement(node) || ts9.isSpreadAssignment(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9.isDotDotDotToken(node); + } + return false; +} +function isBindingOrAssignmentElementTarget(node) { + return isBindingOrAssignmentPattern(node) || ts9.isIdentifier(node) || ts9.isPropertyAccessExpression(node) || ts9.isElementAccessExpression(node) || ts9.isOmittedExpression(node); +} +function isBindingOrAssignmentPattern(node) { + return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); +} +function isBindingPattern(node) { + return ts9.isObjectBindingPattern(node) || ts9.isArrayBindingPattern(node); +} +function isBlockLike(node) { + return ts9.isSourceFile(node) || ts9.isBlock(node) || ts9.isModuleBlock(node) || ts9.isCaseOrDefaultClause(node); +} +function isBooleanLiteral(node) { + return isTrueLiteral(node) || isFalseLiteral(node); +} +function isClassLikeDeclaration(node) { + return ts9.isClassDeclaration(node) || ts9.isClassExpression(node); +} +function isClassMemberModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node) || isStaticKeyword(node) || isAccessorKeyword(node); +} +function isDeclarationName(node) { + return ts9.isIdentifier(node) || ts9.isPrivateIdentifier(node) || ts9.isStringLiteralLike(node) || ts9.isNumericLiteral(node) || ts9.isComputedPropertyName(node) || ts9.isElementAccessExpression(node) || isBindingPattern(node) || isEntityNameExpression(node); +} +function isDeclarationWithTypeParameterChildren(node) { + return isSignatureDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeAliasDeclaration(node) || ts9.isJSDocTemplateTag(node); +} +function isDeclarationWithTypeParameters(node) { + return isDeclarationWithTypeParameterChildren(node) || ts9.isJSDocTypedefTag(node) || ts9.isJSDocCallbackTag(node) || ts9.isJSDocSignature(node); +} +function isDestructuringPattern(node) { + return isBindingPattern(node) || ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node); +} +function isEntityNameExpression(node) { + return ts9.isIdentifier(node) || isPropertyAccessEntityNameExpression(node); +} +function isEntityNameOrEntityNameExpression(node) { + return ts9.isEntityName(node) || isEntityNameExpression(node); +} +function isForInOrOfStatement(node) { + return ts9.isForInStatement(node) || ts9.isForOfStatement(node); +} +function isFunctionLikeDeclaration(node) { + return ts9.isFunctionDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node); +} +function isJSDocComment(node) { + if (isJSDocText(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9.isJSDocLink(node) || ts9.isJSDocLinkCode(node) || ts9.isJSDocLinkPlain(node); + } + return false; +} +function isJSDocNamespaceBody(node) { + return ts9.isIdentifier(node) || isJSDocNamespaceDeclaration(node); +} +function isJSDocTypeReferencingNode(node) { + return ts9.isJSDocVariadicType(node) || ts9.isJSDocOptionalType(node) || ts9.isJSDocNullableType(node) || ts9.isJSDocNonNullableType(node); +} +function isJsonObjectExpression(node) { + return ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node) || isJsonMinusNumericLiteral(node) || ts9.isNumericLiteral(node) || ts9.isStringLiteral(node) || isBooleanLiteral(node) || isNullLiteral(node); +} +function isJsxAttributeLike(node) { + return ts9.isJsxAttribute(node) || ts9.isJsxSpreadAttribute(node); +} +function isJsxAttributeValue(node) { + return ts9.isStringLiteral(node) || ts9.isJsxExpression(node) || ts9.isJsxElement(node) || ts9.isJsxSelfClosingElement(node) || ts9.isJsxFragment(node); +} +function isJsxChild(node) { + return ts9.isJsxText(node) || ts9.isJsxExpression(node) || ts9.isJsxElement(node) || ts9.isJsxSelfClosingElement(node) || ts9.isJsxFragment(node); +} +function isJsxTagNameExpression(node) { + return ts9.isIdentifier(node) || isThisExpression(node) || isJsxTagNamePropertyAccess(node); +} +function isLiteralToken(node) { + return ts9.isNumericLiteral(node) || ts9.isBigIntLiteral(node) || ts9.isStringLiteral(node) || ts9.isJsxText(node) || ts9.isRegularExpressionLiteral(node) || ts9.isNoSubstitutionTemplateLiteral(node); +} +function isModuleBody(node) { + return isNamespaceBody(node) || isJSDocNamespaceBody(node); +} +function isModuleName(node) { + return ts9.isIdentifier(node) || ts9.isStringLiteral(node); +} +function isModuleReference(node) { + return ts9.isEntityName(node) || ts9.isExternalModuleReference(node); +} +function isNamedImportBindings(node) { + return ts9.isNamespaceImport(node) || ts9.isNamedImports(node); +} +function isNamedImportsOrExports(node) { + return ts9.isNamedImports(node) || ts9.isNamedExports(node); +} +function isNamespaceBody(node) { + return ts9.isModuleBlock(node) || isNamespaceDeclaration(node); +} +function isObjectBindingOrAssignmentElement(node) { + return ts9.isBindingElement(node) || ts9.isPropertyAssignment(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isSpreadAssignment(node); +} +function isObjectBindingOrAssignmentPattern(node) { + return ts9.isObjectBindingPattern(node) || ts9.isObjectLiteralExpression(node); +} +function isObjectTypeDeclaration(node) { + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeLiteralNode(node) + ); +} +function isParameterPropertyModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node); +} +function isPropertyNameLiteral(node) { + return ts9.isIdentifier(node) || ts9.isStringLiteralLike(node) || ts9.isNumericLiteral(node); +} +function isPseudoLiteralToken(node) { + return ts9.isTemplateHead(node) || ts9.isTemplateMiddle(node) || ts9.isTemplateTail(node); +} +function isSignatureDeclaration(node) { + return ts9.isCallSignatureDeclaration(node) || ts9.isConstructSignatureDeclaration(node) || ts9.isMethodSignature(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isFunctionTypeNode(node) || ts9.isConstructorTypeNode(node) || ts9.isJSDocFunctionType(node) || ts9.isFunctionDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isConstructorDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node); +} +function isSuperProperty(node) { + return isSuperPropertyAccessExpression(node) || isSuperElementAccessExpression(node); +} +function isTypeOnlyCompatibleAliasDeclaration(node) { + if (ts9.isImportClause(node) || ts9.isImportEqualsDeclaration(node) || ts9.isNamespaceImport(node) || ts9.isImportOrExportSpecifier(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9.isExportDeclaration(node) || ts9.isNamespaceExport(node))) { + return true; + } + return false; +} +function isTypeReferenceType(node) { + return ts9.isTypeReferenceNode(node) || ts9.isExpressionWithTypeArguments(node); +} +function isUnionOrIntersectionTypeNode(node) { + return ts9.isUnionTypeNode(node) || ts9.isIntersectionTypeNode(node); +} +function isVariableLikeDeclaration(node) { + return ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isBindingElement(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertyAssignment(node) || ts9.isPropertySignature(node) || ts9.isJsxAttribute(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isEnumMember(node) || ts9.isJSDocPropertyTag(node) || ts9.isJSDocParameterTag(node); +} + +// src/nodes/typeGuards/compound.ts +function isConstAssertionExpression(node) { + return ts9.isTypeReferenceNode(node.type) && ts9.isIdentifier(node.type.typeName) && node.type.typeName.escapedText === "const"; +} +function isIterationStatement(node) { + switch (node.kind) { + case ts9.SyntaxKind.DoStatement: + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.WhileStatement: + return true; + default: + return false; + } +} +function isJSDocNamespaceDeclaration(node) { + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); +} +function isJsxTagNamePropertyAccess(node) { + return ts9.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 + isJsxTagNameExpression(node.expression); +} +function isNamedDeclarationWithName(node) { + return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); +} +function isNamespaceDeclaration(node) { + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); +} +function isNumericOrStringLikeLiteral(node) { + switch (node.kind) { + case ts9.SyntaxKind.NoSubstitutionTemplateLiteral: + case ts9.SyntaxKind.NumericLiteral: + case ts9.SyntaxKind.StringLiteral: + return true; + default: + return false; + } +} +function isPropertyAccessEntityNameExpression(node) { + return ts9.isPropertyAccessExpression(node) && ts9.isIdentifier(node.name) && isEntityNameExpression(node.expression); +} +function isSuperElementAccessExpression(node) { + return ts9.isElementAccessExpression(node) && isSuperExpression(node.expression); +} +function isSuperPropertyAccessExpression(node) { + return ts9.isPropertyAccessExpression(node) && isSuperExpression(node.expression); +} +function isFunctionScopeBoundary(node) { + switch (node.kind) { + case ts9.SyntaxKind.ArrowFunction: + case ts9.SyntaxKind.CallSignature: + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + case ts9.SyntaxKind.Constructor: + case ts9.SyntaxKind.ConstructorType: + case ts9.SyntaxKind.ConstructSignature: + case ts9.SyntaxKind.EnumDeclaration: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.FunctionType: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.ModuleDeclaration: + case ts9.SyntaxKind.SetAccessor: + return true; + case ts9.SyntaxKind.SourceFile: + return ts9.isExternalModule(node); + default: + return false; + } +} +function isIntrinsicAnyType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Any); +} +function isIntrinsicBigIntType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BigInt); +} +function isIntrinsicBooleanType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Boolean); +} +function isIntrinsicErrorType(type) { + return isIntrinsicType(type) && type.intrinsicName === "error"; +} +function isIntrinsicESSymbolType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.ESSymbol); +} +var IntrinsicTypeFlags = ts9.TypeFlags.Intrinsic ?? ts9.TypeFlags.Any | ts9.TypeFlags.Unknown | ts9.TypeFlags.String | ts9.TypeFlags.Number | ts9.TypeFlags.BigInt | ts9.TypeFlags.Boolean | ts9.TypeFlags.BooleanLiteral | ts9.TypeFlags.ESSymbol | ts9.TypeFlags.Void | ts9.TypeFlags.Undefined | ts9.TypeFlags.Null | ts9.TypeFlags.Never | ts9.TypeFlags.NonPrimitive; +function isIntrinsicNeverType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Never); +} +function isIntrinsicNonPrimitiveType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.NonPrimitive); +} +function isIntrinsicNullType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Null); +} +function isIntrinsicNumberType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Number); +} +function isIntrinsicStringType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.String); +} +function isIntrinsicType(type) { + return isTypeFlagSet(type, IntrinsicTypeFlags); +} +function isIntrinsicUndefinedType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Undefined); +} +function isIntrinsicUnknownType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Unknown); +} +function isIntrinsicVoidType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Void); +} +function isConditionalType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Conditional); +} +function isEnumType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Enum); +} +function isFreshableType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Freshable); +} +function isIndexedAccessType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.IndexedAccess); +} +function isIndexType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Index); +} +function isInstantiableType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Instantiable); +} +function isIntersectionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Intersection); +} +function isObjectType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Object); +} +function isStringMappingType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.StringMapping); +} +function isSubstitutionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Substitution); +} +function isTypeParameter(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TypeParameter); +} +function isTypeVariable(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TypeVariable); +} +function isUnionOrIntersectionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.UnionOrIntersection); +} +function isUnionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Union); +} +function isUniqueESSymbolType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.UniqueESSymbol); +} + +// src/types/typeGuards/objects.ts +function isEvolvingArrayType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.EvolvingArray); +} +function isTupleType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.Tuple); +} +function isTypeReference(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.Reference); +} + +// src/types/typeGuards/compound.ts +function isFreshableIntrinsicType(type) { + return isIntrinsicType(type) && isFreshableType(type); +} +function isTupleTypeReference(type) { + return isTypeReference(type) && isTupleType(type.target); +} +function isBigIntLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BigIntLiteral); +} +function isBooleanLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BooleanLiteral); +} +function isFalseLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "false"; +} +function isLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Literal); +} +function isNumberLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.NumberLiteral); +} +function isStringLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.StringLiteral); +} +function isTemplateLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TemplateLiteral); +} +function isTrueLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "true"; +} + +// src/types/getters.ts +function getCallSignaturesOfType(type) { + if (isUnionType(type)) { + const signatures = []; + for (const subType of type.types) { + signatures.push(...getCallSignaturesOfType(subType)); + } + return signatures; + } + if (isIntersectionType(type)) { + let signatures; + for (const subType of type.types) { + const sig = getCallSignaturesOfType(subType); + if (sig.length !== 0) { + if (signatures !== void 0) { + return []; + } + signatures = sig; + } + } + return signatures === void 0 ? [] : signatures; + } + return type.getCallSignatures(); +} +function getPropertyOfType(type, name) { + if (!name.startsWith("__")) { + return type.getProperty(name); + } + return type.getProperties().find((s) => s.escapedName === name); +} +function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker) { + const prefix = "__@" + wellKnownSymbolName; + for (const prop of type.getProperties()) { + if (!prop.name.startsWith(prefix)) { + continue; + } + const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; + if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9.isComputedPropertyName(declaration.name)) { + continue; + } + const globalSymbol = typeChecker.getApparentType( + typeChecker.getTypeAtLocation(declaration.name.expression) + ).symbol; + if (prop.escapedName === getPropertyNameOfWellKnownSymbol( + typeChecker, + globalSymbol, + wellKnownSymbolName + )) { + return prop; + } + } + return void 0; +} +function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { + const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( + symbolConstructor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + symbolConstructor.valueDeclaration + ).getProperty(symbolName); + const knownSymbolType = knownSymbol && typeChecker.getTypeOfSymbolAtLocation( + knownSymbol, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + knownSymbol.valueDeclaration + ); + if (knownSymbolType && isUniqueESSymbolType(knownSymbolType)) { + return knownSymbolType.escapedName; + } + return "__@" + symbolName; +} +function isBindableObjectDefinePropertyCall(node) { + return node.arguments.length === 3 && isEntityNameExpression(node.arguments[0]) && isNumericOrStringLikeLiteral(node.arguments[1]) && ts9.isPropertyAccessExpression(node.expression) && node.expression.name.escapedText === "defineProperty" && ts9.isIdentifier(node.expression.expression) && node.expression.expression.escapedText === "Object"; +} +function isInConstContext(node, typeChecker) { + let current = node; + while (true) { + const parent = current.parent; + outer: switch (parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.ObjectLiteralExpression: + case ts9.SyntaxKind.ParenthesizedExpression: + case ts9.SyntaxKind.TemplateExpression: + current = parent; + break; + case ts9.SyntaxKind.AsExpression: + case ts9.SyntaxKind.TypeAssertionExpression: + return isConstAssertionExpression(parent); + case ts9.SyntaxKind.CallExpression: { + if (!ts9.isExpression(current)) { + return false; + } + const functionSignature = typeChecker.getResolvedSignature( + parent + ); + if (functionSignature === void 0) { + return false; + } + const argumentIndex = parent.arguments.indexOf( + current + ); + if (argumentIndex < 0) { + return false; + } + const parameterSymbol = functionSignature.getParameters()[argumentIndex]; + if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + return false; + } + const parameterSymbolLinks = parameterSymbol.links; + const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; + if (propertySymbol === void 0 || !("links" in propertySymbol)) { + return false; + } + return isTransientSymbolLinksFlagSet( + propertySymbol.links, + ts9.CheckFlags.Readonly + ); + } + case ts9.SyntaxKind.PrefixUnaryExpression: + if (current.kind !== ts9.SyntaxKind.NumericLiteral) { + return false; + } + switch (parent.operator) { + case ts9.SyntaxKind.MinusToken: + case ts9.SyntaxKind.PlusToken: + current = parent; + break outer; + default: + return false; + } + case ts9.SyntaxKind.PropertyAssignment: + if (parent.initializer !== current) { + return false; + } + current = parent.parent; + break; + case ts9.SyntaxKind.ShorthandPropertyAssignment: + current = parent.parent; + break; + default: + return false; + } + } +} + +// src/types/utilities.ts +function intersectionTypeParts(type) { + return isIntersectionType(type) ? type.types : [type]; +} +function isFalsyType(type) { + if (isTypeFlagSet( + type, + ts9.TypeFlags.Undefined | ts9.TypeFlags.Null | ts9.TypeFlags.Void + )) { + return true; + } + if (typeIsLiteral(type)) { + if (typeof type.value === "object") { + return type.value.base10Value === "0"; + } else { + return !type.value; + } + } + return isFalseLiteralType(type); +} +function isPropertyReadonlyInType(type, name, typeChecker) { + let seenProperty = false; + let seenReadonlySignature = false; + for (const subType of unionTypeParts(type)) { + if (getPropertyOfType(subType, name) === void 0) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); + if (index?.isReadonly) { + if (seenProperty) { + return true; + } + seenReadonlySignature = true; + } + } else if (seenReadonlySignature || isReadonlyPropertyIntersection(subType, name, typeChecker)) { + return true; + } else { + seenProperty = true; + } + } + return false; +} +function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { + for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { + const then = typePart.getProperty("then"); + if (then === void 0) { + continue; + } + const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); + for (const subTypePart of unionTypeParts(thenType)) { + for (const signature of subTypePart.getCallSignatures()) { + if (signature.parameters.length !== 0 && isCallback(typeChecker, signature.parameters[0], node)) { + return true; + } + } + } + } + return false; +} +function symbolHasReadonlyDeclaration(symbol, typeChecker) { + return !!((symbol.flags & ts9.SymbolFlags.Accessor) === ts9.SymbolFlags.GetAccessor || symbol.declarations?.some( + (node) => isModifierFlagSet(node, ts9.ModifierFlags.Readonly) || ts9.isVariableDeclaration(node) && isNodeFlagSet(node.parent, ts9.NodeFlags.Const) || ts9.isCallExpression(node) && isReadonlyAssignmentDeclaration(node, typeChecker) || ts9.isEnumMember(node) || (ts9.isPropertyAssignment(node) || ts9.isShorthandPropertyAssignment(node)) && isInConstContext(node, typeChecker) + )); +} +function typeIsLiteral(type) { + if (isTsVersionAtLeast(5, 0)) { + return type.isLiteral(); + } else { + return isTypeFlagSet( + type, + ts9.TypeFlags.StringLiteral | ts9.TypeFlags.NumberLiteral | ts9.TypeFlags.BigIntLiteral + ); + } +} +function typeParts(type) { + return isIntersectionType(type) || isUnionType(type) ? type.types : [type]; +} +function unionTypeParts(type) { + return isUnionType(type) ? type.types : [type]; +} +function isCallback(typeChecker, param, node) { + let type = typeChecker.getApparentType( + typeChecker.getTypeOfSymbolAtLocation(param, node) + ); + if (param.valueDeclaration.dotDotDotToken) { + type = type.getNumberIndexType(); + if (type === void 0) { + return false; + } + } + for (const subType of unionTypeParts(type)) { + if (subType.getCallSignatures().length !== 0) { + return true; + } + } + return false; +} +function isReadonlyAssignmentDeclaration(node, typeChecker) { + if (!isBindableObjectDefinePropertyCall(node)) { + return false; + } + const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); + if (descriptorType.getProperty("value") === void 0) { + return descriptorType.getProperty("set") === void 0; + } + const writableProp = descriptorType.getProperty("writable"); + if (writableProp === void 0) { + return false; + } + const writableType = writableProp.valueDeclaration !== void 0 && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + return isFalseLiteralType(writableType); +} +function isReadonlyPropertyFromMappedType(type, name, typeChecker) { + if (!isObjectType(type) || !isObjectFlagSet(type, ts9.ObjectFlags.Mapped)) { + return; + } + const declaration = type.symbol.declarations[0]; + if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + return declaration.readonlyToken.kind !== ts9.SyntaxKind.MinusToken; + } + const { modifiersType } = type; + return modifiersType && isPropertyReadonlyInType(modifiersType, name, typeChecker); +} +function isReadonlyPropertyIntersection(type, name, typeChecker) { + const typeParts2 = isIntersectionType(type) ? type.types : [type]; + return typeParts2.some((subType) => { + const prop = getPropertyOfType(subType, name); + if (prop === void 0) { + return false; + } + if (prop.flags & ts9.SymbolFlags.Transient) { + if (/^(?:[1-9]\d*|0)$/.test(name) && isTupleTypeReference(subType)) { + return subType.target.readonly; + } + switch (isReadonlyPropertyFromMappedType(subType, name, typeChecker)) { + case false: + return false; + case true: + return true; + } + } + return !!// members of namespace import + (isSymbolFlagSet(prop, ts9.SymbolFlags.ValueModule) || // we unwrapped every mapped type, now we can check the actual declarations + symbolHasReadonlyDeclaration(prop, typeChecker)); + }); +} +function identifierToKeywordKind(node) { + return "originalKeywordKind" in node ? node.originalKeywordKind : ts9.identifierToKeywordKind(node); +} + +// src/usage/declarations.ts +var DeclarationDomain = /* @__PURE__ */ ((DeclarationDomain2) => { + DeclarationDomain2[DeclarationDomain2["Namespace"] = 1] = "Namespace"; + DeclarationDomain2[DeclarationDomain2["Type"] = 2] = "Type"; + DeclarationDomain2[DeclarationDomain2["Value"] = 4] = "Value"; + DeclarationDomain2[DeclarationDomain2["Any"] = 7] = "Any"; + DeclarationDomain2[DeclarationDomain2["Import"] = 8] = "Import"; + return DeclarationDomain2; +})(DeclarationDomain || {}); +function getDeclarationDomain(node) { + switch (node.parent.kind) { + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + return 2 /* Type */ | 4 /* Value */; + case ts9.SyntaxKind.EnumDeclaration: + return 7 /* Any */; + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + return 4 /* Value */; + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.NamespaceImport: + return 7 /* Any */ | 8 /* Import */; + // TODO handle type-only imports + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.ImportSpecifier: + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.TypeAliasDeclaration: + case ts9.SyntaxKind.TypeParameter: + return 2 /* Type */; + case ts9.SyntaxKind.ModuleDeclaration: + return 1 /* Namespace */; + case ts9.SyntaxKind.Parameter: + if (node.parent.parent.kind === ts9.SyntaxKind.IndexSignature || identifierToKeywordKind(node) === ts9.SyntaxKind.ThisKeyword) { + return; + } + // falls through + case ts9.SyntaxKind.BindingElement: + case ts9.SyntaxKind.VariableDeclaration: + return node.parent.name === node ? 4 /* Value */ : void 0; + } +} +function getPropertyName(propertyName) { + if (propertyName.kind === ts9.SyntaxKind.ComputedPropertyName) { + const expression = unwrapParentheses(propertyName.expression); + if (ts9.isPrefixUnaryExpression(expression)) { + let negate = false; + switch (expression.operator) { + case ts9.SyntaxKind.MinusToken: + negate = true; + // falls through + case ts9.SyntaxKind.PlusToken: + return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + default: + return; + } + } + if (ts9.isBigIntLiteral(expression)) { + return expression.text.slice(0, -1); + } + if (isNumericOrStringLikeLiteral(expression)) { + return expression.text; + } + return; + } + return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; +} +function unwrapParentheses(node) { + while (node.kind === ts9.SyntaxKind.ParenthesizedExpression) { + node = node.expression; + } + return node; +} +var UsageDomain = /* @__PURE__ */ ((UsageDomain2) => { + UsageDomain2[UsageDomain2["Namespace"] = 1] = "Namespace"; + UsageDomain2[UsageDomain2["Type"] = 2] = "Type"; + UsageDomain2[UsageDomain2["Value"] = 4] = "Value"; + UsageDomain2[UsageDomain2["Any"] = 7] = "Any"; + UsageDomain2[UsageDomain2["TypeQuery"] = 8] = "TypeQuery"; + UsageDomain2[UsageDomain2["ValueOrNamespace"] = 5] = "ValueOrNamespace"; + return UsageDomain2; +})(UsageDomain || {}); +function getUsageDomain(node) { + const parent = node.parent; + switch (parent.kind) { + // Value + case ts9.SyntaxKind.BindingElement: + if (parent.initializer === node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9.SyntaxKind.BreakStatement: + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + case ts9.SyntaxKind.ContinueStatement: + case ts9.SyntaxKind.EnumDeclaration: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.ImportSpecifier: + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.JsxAttribute: + case ts9.SyntaxKind.LabeledStatement: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.ModuleDeclaration: + case ts9.SyntaxKind.NamedTupleMember: + case ts9.SyntaxKind.NamespaceExport: + case ts9.SyntaxKind.NamespaceExportDeclaration: + case ts9.SyntaxKind.NamespaceImport: + case ts9.SyntaxKind.PropertySignature: + case ts9.SyntaxKind.SetAccessor: + case ts9.SyntaxKind.TypeAliasDeclaration: + case ts9.SyntaxKind.TypeParameter: + case ts9.SyntaxKind.TypePredicate: + break; + case ts9.SyntaxKind.EnumMember: + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.Parameter: + case ts9.SyntaxKind.PropertyAccessExpression: + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.PropertyDeclaration: + case ts9.SyntaxKind.VariableDeclaration: + if (parent.name !== node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9.SyntaxKind.ExportAssignment: + return 7 /* Any */; + case ts9.SyntaxKind.ExportSpecifier: + if (parent.propertyName === void 0 || parent.propertyName === node) { + return 7 /* Any */; + } + break; + case ts9.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9.SyntaxKind.ImplementsKeyword || parent.parent.parent.kind === ts9.SyntaxKind.InterfaceDeclaration ? 2 /* Type */ : 4 /* Value */; + case ts9.SyntaxKind.QualifiedName: + if (parent.left === node) { + if (getEntityNameParent(parent).kind === ts9.SyntaxKind.TypeQuery) { + return 1 /* Namespace */ | 8 /* TypeQuery */; + } + return 1 /* Namespace */; + } + break; + case ts9.SyntaxKind.TypeQuery: + return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; + case ts9.SyntaxKind.TypeReference: + return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + default: + return 5 /* ValueOrNamespace */; + } +} +function getEntityNameParent(name) { + let parent = name.parent; + while (parent.kind === ts9.SyntaxKind.QualifiedName) { + parent = parent.parent; + } + return parent; +} +function isBlockScopeBoundary(node) { + switch (node.kind) { + case ts9.SyntaxKind.Block: { + const parent = node.parent; + return parent.kind !== ts9.SyntaxKind.CatchClause && // blocks inside SourceFile are block scope boundaries + (parent.kind === ts9.SyntaxKind.SourceFile || // blocks that are direct children of a function scope boundary are no scope boundary + // for example the FunctionBlock is part of the function scope of the containing function + !isFunctionScopeBoundary(parent)) ? 2 /* Block */ : 0 /* None */; + } + case ts9.SyntaxKind.CaseBlock: + case ts9.SyntaxKind.CatchClause: + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.WithStatement: + return 2 /* Block */; + default: + return 0 /* None */; + } +} + +// src/usage/scopes.ts +var AbstractScope = class { + constructor(global) { + this.global = global; + } + namespaceScopes = void 0; + uses = []; + variables = /* @__PURE__ */ new Map(); + #enumScopes = void 0; + addUse(use) { + this.uses.push(use); + } + addVariable(identifier, name, selector, exported, domain) { + const variables = this.getDestinationScope(selector).getVariables(); + const declaration = { + declaration: name, + domain, + exported + }; + const variable = variables.get(identifier); + if (variable === void 0) { + variables.set(identifier, { + declarations: [declaration], + domain, + uses: [] + }); + } else { + variable.domain |= domain; + variable.declarations.push(declaration); + } + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + createOrReuseEnumScope(name, _exported) { + let scope; + if (this.#enumScopes === void 0) { + this.#enumScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.#enumScopes.get(name); + } + if (scope === void 0) { + scope = new EnumScope(this); + this.#enumScopes.set(name, scope); + } + return scope; + } + // only relevant for the root scope + createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { + let scope; + if (this.namespaceScopes === void 0) { + this.namespaceScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.namespaceScopes.get(name); + } + if (scope === void 0) { + scope = new NamespaceScope(ambient, hasExportStatement, this); + this.namespaceScopes.set(name, scope); + } else { + scope.refresh(ambient, hasExportStatement); + } + return scope; + } + end(cb) { + if (this.namespaceScopes !== void 0) { + this.namespaceScopes.forEach((value) => value.finish(cb)); + } + this.namespaceScopes = this.#enumScopes = void 0; + this.applyUses(); + this.variables.forEach((variable) => { + for (const declaration of variable.declarations) { + const result = { + declarations: [], + domain: declaration.domain, + exported: declaration.exported, + inGlobalScope: this.global, + uses: [] + }; + for (const other of variable.declarations) { + if (other.domain & declaration.domain) { + result.declarations.push(other.declaration); + } + } + for (const use of variable.uses) { + if (use.domain & declaration.domain) { + result.uses.push(use); + } + } + cb(result, declaration.declaration, this); + } + }); + } + getFunctionScope() { + return this; + } + getVariables() { + return this.variables; + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + markExported(_name) { + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + addUseToParent(_use) { + } + applyUse(use, variables = this.variables) { + const variable = variables.get(use.location.text); + if (variable === void 0 || (variable.domain & use.domain) === 0) { + return false; + } + variable.uses.push(use); + return true; + } + applyUses() { + for (const use of this.uses) { + if (!this.applyUse(use)) { + this.addUseToParent(use); + } + } + this.uses = []; + } +}; +var NonRootScope = class extends AbstractScope { + constructor(parent, boundary) { + super(false); + this.parent = parent; + this.boundary = boundary; + } + getDestinationScope(selector) { + return this.boundary & selector ? this : this.parent.getDestinationScope(selector); + } + addUseToParent(use) { + return this.parent.addUse(use, this); + } +}; +var AbstractNamedExpressionScope = class extends NonRootScope { + #domain; + #name; + constructor(name, domain, parent) { + super(parent, 1 /* Function */); + this.#name = name; + this.#domain = domain; + } + addUse(use, source) { + if (source !== this.innerScope) { + return this.innerScope.addUse(use); + } + if (use.domain & this.#domain && use.location.text === this.#name.text) { + this.uses.push(use); + } else { + return this.parent.addUse(use, this); + } + } + end(cb) { + this.innerScope.end(cb); + return cb( + { + declarations: [this.#name], + domain: this.#domain, + exported: false, + inGlobalScope: false, + uses: this.uses + }, + this.#name, + this + ); + } + getDestinationScope() { + return this.innerScope; + } + getFunctionScope() { + return this.innerScope; + } +}; +var BlockScope = class extends NonRootScope { + #functionScope; + constructor(functionScope, parent) { + super(parent, 2 /* Block */); + this.#functionScope = functionScope; + } + getFunctionScope() { + return this.#functionScope; + } +}; +var ClassExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new NonRootScope(this, 1 /* Function */); + constructor(name, parent) { + super(name, 4 /* Value */ | 2 /* Type */, parent); + } +}; +var ConditionalTypeScope = class extends NonRootScope { + #state = 0 /* Initial */; + constructor(parent) { + super(parent, 8 /* ConditionalType */); + } + addUse(use) { + if (this.#state === 2 /* TrueType */) { + return void this.uses.push(use); + } + return this.parent.addUse(use, this); + } + updateState(newState) { + this.#state = newState; + } +}; +var EnumScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + end() { + this.applyUses(); + } +}; +var FunctionScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + beginBody() { + this.applyUses(); + } +}; +var FunctionExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new FunctionScope(this); + constructor(name, parent) { + super(name, 4 /* Value */, parent); + } + beginBody() { + return this.innerScope.beginBody(); + } +}; +var NamespaceScope = class extends NonRootScope { + #ambient; + #exports = void 0; + #hasExport; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(ambient, hasExport, parent) { + super(parent, 1 /* Function */); + this.#ambient = ambient; + this.#hasExport = hasExport; + } + addUse(use, source) { + if (source !== this.#innerScope) { + return this.#innerScope.addUse(use); + } + this.uses.push(use); + } + createOrReuseEnumScope(name, exported) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseEnumScope(name, exported); + } + return super.createOrReuseEnumScope(name, exported); + } + createOrReuseNamespaceScope(name, exported, ambient, hasExportStatement) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + return super.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + end(cb) { + this.#innerScope.end((variable, key, scope) => { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + return cb(variable, key, scope); + } + const namespaceVar = this.variables.get(key.text); + if (namespaceVar === void 0) { + this.variables.set(key.text, { + declarations: variable.declarations.map(mapDeclaration), + domain: variable.domain, + uses: [...variable.uses] + }); + } else { + outer: for (const declaration of variable.declarations) { + for (const existing of namespaceVar.declarations) { + if (existing.declaration === declaration) { + continue outer; + } + namespaceVar.declarations.push(mapDeclaration(declaration)); + } + } + namespaceVar.domain |= variable.domain; + for (const use of variable.uses) { + if (namespaceVar.uses.includes(use)) { + continue; + } + namespaceVar.uses.push(use); + } + } + }); + this.applyUses(); + this.#innerScope = new NonRootScope(this, 1 /* Function */); + } + finish(cb) { + return super.end(cb); + } + getDestinationScope() { + return this.#innerScope; + } + markExported(name) { + if (this.#exports === void 0) { + this.#exports = /* @__PURE__ */ new Set(); + } + this.#exports.add(name.text); + } + refresh(ambient, hasExport) { + this.#ambient = ambient; + this.#hasExport = hasExport; + } +}; +var RootScope = class extends AbstractScope { + #exportAll; + #exports = void 0; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(exportAll, global) { + super(global); + this.#exportAll = exportAll; + } + addUse(use, origin) { + if (origin === this.#innerScope) { + return super.addUse(use); + } + return this.#innerScope.addUse(use); + } + addVariable(identifier, name, selector, exported, domain) { + if (domain & 8 /* Import */) { + return super.addVariable(identifier, name, selector, exported, domain); + } + return this.#innerScope.addVariable( + identifier, + name, + selector, + exported, + domain + ); + } + end(cb) { + this.#innerScope.end((value, key) => { + value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.inGlobalScope = this.global; + return cb(value, key, this); + }); + return super.end((value, key, scope) => { + value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + return cb(value, key, scope); + }); + } + getDestinationScope() { + return this; + } + markExported(id) { + if (this.#exports === void 0) { + this.#exports = [id.text]; + } else { + this.#exports.push(id.text); + } + } +}; +function mapDeclaration(declaration) { + return { + declaration, + domain: getDeclarationDomain(declaration), + exported: true + }; +} + +// src/usage/UsageWalker.ts +var UsageWalker = class { + #result = /* @__PURE__ */ new Map(); + #scope; + getUsage(sourceFile) { + const variableCallback = (variable, key) => { + this.#result.set(key, variable); + }; + const isModule = ts9.isExternalModule(sourceFile); + this.#scope = new RootScope( + sourceFile.isDeclarationFile && isModule && !containsExportStatement(sourceFile), + !isModule + ); + const cb = (node) => { + if (isBlockScopeBoundary(node)) { + return continueWithScope( + node, + new BlockScope(this.#scope.getFunctionScope(), this.#scope), + handleBlockScope + ); + } + switch (node.kind) { + case ts9.SyntaxKind.ArrowFunction: + case ts9.SyntaxKind.CallSignature: + case ts9.SyntaxKind.Constructor: + case ts9.SyntaxKind.ConstructorType: + case ts9.SyntaxKind.ConstructSignature: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.FunctionType: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.SetAccessor: + return this.#handleFunctionLikeDeclaration( + node, + cb, + variableCallback + ); + case ts9.SyntaxKind.ClassDeclaration: + this.#handleDeclaration( + node, + true, + 4 /* Value */ | 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9.SyntaxKind.ClassExpression: + return continueWithScope( + node, + node.name !== void 0 ? new ClassExpressionScope( + node.name, + this.#scope + ) : new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9.SyntaxKind.ConditionalType: + return this.#handleConditionalType( + node, + cb, + variableCallback + ); + case ts9.SyntaxKind.EnumDeclaration: + this.#handleDeclaration( + node, + true, + 7 /* Any */ + ); + return continueWithScope( + node, + this.#scope.createOrReuseEnumScope( + node.name.text, + includesModifier( + node.modifiers, + ts9.SyntaxKind.ExportKeyword + ) + ) + ); + case ts9.SyntaxKind.EnumMember: + this.#scope.addVariable( + getPropertyName(node.name), + node.name, + 1 /* Function */, + true, + 4 /* Value */ + ); + break; + case ts9.SyntaxKind.ExportAssignment: + if (node.expression.kind === ts9.SyntaxKind.Identifier) { + return this.#scope.markExported( + node.expression + ); + } + break; + case ts9.SyntaxKind.ExportSpecifier: + if (node.propertyName !== void 0) { + return this.#scope.markExported( + node.propertyName, + node.name + ); + } + return this.#scope.markExported(node.name); + case ts9.SyntaxKind.Identifier: { + const domain = getUsageDomain(node); + if (domain !== void 0) { + this.#scope.addUse({ domain, location: node }); + } + return; + } + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.ImportSpecifier: + case ts9.SyntaxKind.NamespaceImport: + this.#handleDeclaration( + node, + false, + 7 /* Any */ | 8 /* Import */ + ); + break; + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.TypeAliasDeclaration: + this.#handleDeclaration( + node, + true, + 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9.SyntaxKind.MappedType: + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9.SyntaxKind.ModuleDeclaration: + return this.#handleModule( + node, + continueWithScope + ); + case ts9.SyntaxKind.Parameter: + if (node.parent.kind !== ts9.SyntaxKind.IndexSignature && (node.name.kind !== ts9.SyntaxKind.Identifier || identifierToKeywordKind( + node.name + ) !== ts9.SyntaxKind.ThisKeyword)) { + this.#handleBindingName( + node.name, + false, + false + ); + } + break; + case ts9.SyntaxKind.TypeParameter: + this.#scope.addVariable( + node.name.text, + node.name, + node.parent.kind === ts9.SyntaxKind.InferType ? 8 /* InferType */ : 7 /* Type */, + false, + 2 /* Type */ + ); + break; + // End of Scope specific handling + case ts9.SyntaxKind.VariableDeclarationList: + this.#handleVariableDeclaration(node); + break; + } + return ts9.forEachChild(node, cb); + }; + const continueWithScope = (node, scope, next = forEachChild) => { + const savedScope = this.#scope; + this.#scope = scope; + next(node); + this.#scope.end(variableCallback); + this.#scope = savedScope; + }; + const handleBlockScope = (node) => { + if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + this.#handleBindingName( + node.variableDeclaration.name, + true, + false + ); + } + return ts9.forEachChild(node, cb); + }; + ts9.forEachChild(sourceFile, cb); + this.#scope.end(variableCallback); + return this.#result; + function forEachChild(node) { + return ts9.forEachChild(node, cb); + } + } + #handleBindingName(name, blockScoped, exported) { + if (name.kind === ts9.SyntaxKind.Identifier) { + return this.#scope.addVariable( + name.text, + name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + } + forEachDestructuringIdentifier(name, (declaration) => { + this.#scope.addVariable( + declaration.name.text, + declaration.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + }); + } + #handleConditionalType(node, cb, varCb) { + const savedScope = this.#scope; + const scope = this.#scope = new ConditionalTypeScope(savedScope); + cb(node.checkType); + scope.updateState(1 /* Extends */); + cb(node.extendsType); + scope.updateState(2 /* TrueType */); + cb(node.trueType); + scope.updateState(3 /* FalseType */); + cb(node.falseType); + scope.end(varCb); + this.#scope = savedScope; + } + #handleDeclaration(node, blockScoped, domain) { + if (node.name !== void 0) { + this.#scope.addVariable( + node.name.text, + node.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + includesModifier( + node.modifiers, + ts9.SyntaxKind.ExportKeyword + ), + domain + ); + } + } + #handleFunctionLikeDeclaration(node, cb, varCb) { + if (ts9.canHaveDecorators(node)) { + ts9.getDecorators(node)?.forEach(cb); + } + const savedScope = this.#scope; + if (node.kind === ts9.SyntaxKind.FunctionDeclaration) { + this.#handleDeclaration(node, false, 4 /* Value */); + } + const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== void 0) { + cb(node.name); + } + if (node.typeParameters !== void 0) { + node.typeParameters.forEach(cb); + } + node.parameters.forEach(cb); + if (node.type !== void 0) { + cb(node.type); + } + if (node.body !== void 0) { + scope.beginBody(); + cb(node.body); + } + scope.end(varCb); + this.#scope = savedScope; + } + #handleModule(node, next) { + if (node.flags & ts9.NodeFlags.GlobalAugmentation) { + return next( + node, + this.#scope.createOrReuseNamespaceScope("-global", false, true, false) + ); + } + if (node.name.kind === ts9.SyntaxKind.Identifier) { + const exported = isNamespaceExported(node); + this.#scope.addVariable( + node.name.text, + node.name, + 1 /* Function */, + exported, + 1 /* Namespace */ | 4 /* Value */ + ); + const ambient = includesModifier( + node.modifiers, + ts9.SyntaxKind.DeclareKeyword + ); + return next( + node, + this.#scope.createOrReuseNamespaceScope( + node.name.text, + exported, + ambient, + ambient && namespaceHasExportStatement(node) + ) + ); + } + return next( + node, + this.#scope.createOrReuseNamespaceScope( + `"${node.name.text}"`, + false, + true, + namespaceHasExportStatement(node) + ) + ); + } + #handleVariableDeclaration(declarationList) { + const blockScoped = isBlockScopedVariableDeclarationList(declarationList); + const exported = declarationList.parent.kind === ts9.SyntaxKind.VariableStatement && includesModifier( + declarationList.parent.modifiers, + ts9.SyntaxKind.ExportKeyword + ); + for (const declaration of declarationList.declarations) { + this.#handleBindingName(declaration.name, blockScoped, exported); + } + } +}; +function containsExportStatement(block) { + for (const statement of block.statements) { + if (statement.kind === ts9.SyntaxKind.ExportDeclaration || statement.kind === ts9.SyntaxKind.ExportAssignment) { + return true; + } + } + return false; +} +function forEachDestructuringIdentifier(pattern, fn) { + for (const element of pattern.elements) { + if (element.kind !== ts9.SyntaxKind.BindingElement) { + continue; + } + let result; + if (element.name.kind === ts9.SyntaxKind.Identifier) { + result = fn(element); + } else { + result = forEachDestructuringIdentifier(element.name, fn); + } + if (result) { + return result; + } + } +} +function isBlockScopedVariableDeclarationList(declarationList) { + return (declarationList.flags & ts9.NodeFlags.BlockScoped) !== 0; +} +function isNamespaceExported(node) { + return node.parent.kind === ts9.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9.SyntaxKind.ExportKeyword); +} +function namespaceHasExportStatement(ns) { + if (ns.body === void 0 || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { + return false; + } + return containsExportStatement(ns.body); +} + +// src/usage/collectVariableUsage.ts +function collectVariableUsage(sourceFile) { + return new UsageWalker().getUsage(sourceFile); +} + +export { AccessKind, DeclarationDomain, UsageDomain, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json new file mode 100644 index 0000000000..78378ff3f8 --- /dev/null +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json @@ -0,0 +1,105 @@ +{ + "name": "ts-api-utils", + "version": "2.0.0", + "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️", + "repository": { + "type": "git", + "url": "https://github.com/JoshuaKGoldberg/ts-api-utils" + }, + "license": "MIT", + "author": { + "name": "JoshuaKGoldberg", + "email": "npm@joshuakgoldberg.com" + }, + "type": "module", + "exports": { + ".": { + "types": { + "import": "./lib/index.d.ts", + "require": "./lib/index.d.cts" + }, + "import": "./lib/index.js", + "require": "./lib/index.cjs" + } + }, + "main": "./lib/index.js", + "files": [ + "lib/", + "package.json", + "LICENSE.md", + "README.md" + ], + "scripts": { + "build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts", + "docs": "typedoc", + "docs:serve": "npx --yes http-server docs/generated", + "format": "prettier \"**/*\" --ignore-unknown", + "lint": "eslint . --max-warnings 0", + "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors", + "lint:knip": "knip", + "lint:knip:production": "knip --production", + "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line", + "lint:packages": "pnpm dedupe --check", + "lint:spelling": "cspell \"**\" \".github/**/*\"", + "prepare": "husky", + "should-semantic-release": "should-semantic-release --verbose", + "test": "vitest", + "tsc": "tsc" + }, + "lint-staged": { + "*": "prettier --ignore-unknown --write" + }, + "devDependencies": { + "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", + "@eslint/js": "^9.15.0", + "@phenomnomnominal/tsquery": "^6.1.3", + "@release-it/conventional-changelog": "^9.0.3", + "@types/eslint-plugin-markdown": "^2.0.2", + "@types/node": "^18.19.65", + "@typescript/vfs": "^1.6.0", + "@vitest/coverage-v8": "^2.1.5", + "@vitest/eslint-plugin": "^1.1.10", + "console-fail-test": "^0.5.0", + "cspell": "^8.16.0", + "eslint": "^9.15.0", + "eslint-plugin-jsdoc": "^50.5.0", + "eslint-plugin-jsonc": "^2.18.2", + "eslint-plugin-markdown": "^5.1.0", + "eslint-plugin-n": "^17.14.0", + "eslint-plugin-package-json": "^0.15.6", + "eslint-plugin-perfectionist": "^4.1.2", + "eslint-plugin-regexp": "^2.7.0", + "eslint-plugin-yml": "^1.15.0", + "husky": "^9.1.7", + "jsonc-eslint-parser": "^2.4.0", + "knip": "^5.37.2", + "lint-staged": "^15.2.10", + "markdownlint": "^0.36.1", + "markdownlint-cli": "^0.43.0", + "prettier": "^3.3.3", + "prettier-plugin-curly": "^0.3.1", + "prettier-plugin-packagejson": "^2.5.6", + "release-it": "^17.10.0", + "sentences-per-line": "^0.2.1", + "should-semantic-release": "^0.3.0", + "tsup": "^8.3.5", + "typedoc": "^0.26.11", + "typedoc-plugin-coverage": "^3.4.0", + "typedoc-plugin-custom-validation": "^2.0.2", + "typedoc-plugin-konamimojisplosion": "^0.0.2", + "typedoc-plugin-mdn-links": "^4.0.1", + "typescript": "^5.7.2", + "typescript-eslint": "^8.16.0", + "vitest": "^2.1.5" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + }, + "packageManager": "pnpm@9.14.2", + "engines": { + "node": ">=18.12" + }, + "publishConfig": { + "provenance": true + } +} diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index b5be2259dd..94e4605c38 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "8.19.0", + "version": "8.20.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -53,10 +53,10 @@ "typescript": ">=4.8.4 <5.8.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts.map b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts.map index 3db2a702b6..f47f7d3428 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"builtinSymbolLikes.d.ts","sourceRoot":"","sources":["../src/builtinSymbolLikes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAIjC;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAEzE;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,OAAO,CAET;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAEvE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,OAAO,CAQT;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,CAAC,EAAE,CACV,OAAO,EAAE;IACP,WAAW,EAAE,EAAE,CAAC,MAAM,CAAC;IACvB,kBAAkB,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC;CACxC,GAAG,EAAE,CAAC,IAAI,KACR,OAAO,GACX,OAAO,CAMT;AACD,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,CACT,OAAO,EAAE;IACP,WAAW,EAAE,EAAE,CAAC,MAAM,CAAC;IACvB,kBAAkB,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC;CACxC,GAAG,EAAE,CAAC,IAAI,KACR,OAAO,GACX,OAAO,CAsBT;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAC5B,OAAO,CAoBT;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,KAAK,OAAO,GAAG,IAAI,GAC9C,OAAO,CAwCT"} \ No newline at end of file +{"version":3,"file":"builtinSymbolLikes.d.ts","sourceRoot":"","sources":["../src/builtinSymbolLikes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAIjC;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAEzE;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,OAAO,CAET;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAEvE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,GACZ,OAAO,CAQT;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,CAAC,EAAE,CACV,OAAO,EAAE;IACP,WAAW,EAAE,EAAE,CAAC,MAAM,CAAC;IACvB,kBAAkB,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC;CACxC,GAAG,EAAE,CAAC,IAAI,KACR,OAAO,GACX,OAAO,CAMT;AACD,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,CACT,OAAO,EAAE;IACP,WAAW,EAAE,EAAE,CAAC,MAAM,CAAC;IACvB,kBAAkB,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC;CACxC,GAAG,EAAE,CAAC,IAAI,KACR,OAAO,GACX,OAAO,CAsBT;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAC5B,OAAO,CAoBT;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,KAAK,OAAO,GAAG,IAAI,GAC9C,OAAO,CAuCT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js index fc91f7ac54..8bfe1c7dd6 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +++ b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js @@ -139,7 +139,6 @@ function isBuiltinSymbolLikeRecurser(program, type, predicate) { if (type.isUnion()) { return type.types.every(t => isBuiltinSymbolLikeRecurser(program, t, predicate)); } - // https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 if (tsutils.isTypeParameter(type)) { const t = type.getConstraint(); if (t) { diff --git a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map index a858bb3942..7178a8be35 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map @@ -1 +1 @@ -{"version":3,"file":"builtinSymbolLikes.js","sourceRoot":"","sources":["../src/builtinSymbolLikes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,sCAEC;AAUD,4DAKC;AAUD,kCAEC;AASD,kDAWC;AASD,gDAeC;AACD,wDA+BC;AAED,kDAwBC;AAED,kEA4CC;AA9LD,sDAAwC;AACxC,+CAAiC;AAEjC,6EAA0E;AAE1E;;;;;;;GAOG;AACH,SAAgB,aAAa,CAAC,OAAmB,EAAE,IAAa;IAC9D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,wBAAwB,CACtC,OAAmB,EACnB,IAAa;IAEb,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC;AAClE,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,WAAW,CAAC,OAAmB,EAAE,IAAa;IAC5D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,mBAAmB,CACjC,OAAmB,EACnB,IAAa;IAEb,OAAO,kBAAkB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QACjD,MAAM,CAAC,YAAY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B,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IACE,MAAM;QACN,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,EAChE,CAAC;QACD,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QACzC,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,YAAY,CAAC,IAAwB,CAAC,EAAE,CAAC;YACtE,IAAI,2BAA2B,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"builtinSymbolLikes.js","sourceRoot":"","sources":["../src/builtinSymbolLikes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,sCAEC;AAUD,4DAKC;AAUD,kCAEC;AASD,kDAWC;AASD,gDAeC;AACD,wDA+BC;AAED,kDAwBC;AAED,kEA2CC;AA7LD,sDAAwC;AACxC,+CAAiC;AAEjC,6EAA0E;AAE1E;;;;;;;GAOG;AACH,SAAgB,aAAa,CAAC,OAAmB,EAAE,IAAa;IAC9D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,wBAAwB,CACtC,OAAmB,EACnB,IAAa;IAEb,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC;AAClE,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,WAAW,CAAC,OAAmB,EAAE,IAAa;IAC5D,OAAO,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC;AAED;;;;;;GAMG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AM,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IACxC,IAAI,OAAO,eAAe,KAAK,SAAS,EAAE,CAAC;QACzC,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IACE,MAAM;QACN,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,EAChE,CAAC;QACD,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;QACzC,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,YAAY,CAAC,IAAwB,CAAC,EAAE,CAAC;YACtE,IAAI,2BAA2B,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/predicates.js b/node_modules/@typescript-eslint/type-utils/dist/predicates.js index 7c7d1a3fc6..c3f0ceafd4 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/predicates.js +++ b/node_modules/@typescript-eslint/type-utils/dist/predicates.js @@ -53,7 +53,7 @@ const debug_1 = __importDefault(require("debug")); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); const typeFlagUtils_1 = require("./typeFlagUtils"); -const log = (0, debug_1.default)('typescript-eslint:eslint-plugin:utils:types'); +const log = (0, debug_1.default)('typescript-eslint:type-utils:predicates'); /** * Checks if the given type is (or accepts) nullable */ diff --git a/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map b/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map index 954c6f91bc..a52ec13a42 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map @@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AI,gBAAgB,EAAE,CAAC;QACxC,MAAM,UAAU,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACxC,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,KAAK,YAAY,CAAC,IAAI,EAAE,CAAC;YACxD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,uBAAuB,CACrC,IAAa;IAEb,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,yBAAyB,CACvC,IAAa;IAEb,OAAO,IAAA,6BAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json index 7665258566..b79986a1fd 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.19.0", + "version": "8.20.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0" + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.19.0", + "@typescript-eslint/typescript-estree": "8.20.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json index 50ed2e2b8d..4fe9a03c9c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.19.0", + "version": "8.20.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map index e18970253c..9721538360 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js index f1c15c37c3..7fb7b2455f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js @@ -41,7 +41,7 @@ const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const getScriptKind_1 = require("./getScriptKind"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createIsolatedProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createIsolatedProgram'); /** * @returns Returns a new source file and program corresponding to the linted code */ diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map index 9727116196..65755f2023 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFS,sDAAqB;AAtF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/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;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map index d1cbe49a8a..3d03fa59da 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAUtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js index a2d4898f67..15132c53e7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js @@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug")); const node_utils_1 = require("../node-utils"); const createProjectProgramError_1 = require("./createProjectProgramError"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectProgram'); /** * @param parseSettings Internal settings for parsing the file * @returns If found, the source file corresponding to the code and the containing program diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map index 7364ba1502..57d54babe8 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAiBA,oDAiBC;AAhCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAE9E;;;GAGG;AACH,SAAgB,oBAAoB,CAClC,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAAC;IAEF,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,IAAA,qDAAyB,EAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAmBA,oDAiBC;AAlCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;GAGG;AACH,SAAgB,oBAAoB,CAClC,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAAC;IAEF,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,IAAA,qDAAyB,EAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map index 53a46e1cea..fd3eab8978 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA2B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,EACjD,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,sBAAsB,CAoIxB"} \ No newline at end of file +{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA6B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,EACjD,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,sBAAsB,CAoIxB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js index afa037db92..4ae3b2d18f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js @@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const validateDefaultProjectForFilesGlob_1 = require("./validateDefaultProjectForFilesGlob"); const DEFAULT_PROJECT_MATCHED_FILES_THRESHOLD = 8; -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectService'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectService'); const logTsserverErr = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:err'); const logTsserverInfo = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:info'); const logTsserverPerf = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:perf'); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map index 43d81c28eb..466a594e45 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AAyCA,oDAwIC;AA9KD,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAC9E,MAAM,cAAc,GAAG,IAAA,eAAK,EAC1B,kDAAkD,CACnD,CAAC;AAC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AAE;gBACV,gBAAgB,CAAC,CAAC,CAAC,CAAC;YACtB,CAAC;YACH,CAAC,CAAC,SAAS;QACb,IAAI,EAAE,MAAM;QACZ,gBAAgB;QAChB,MAAM;QACN,OAAO,EAAE,SAAS;QAClB,gCAAgC,EAAE,KAAK;QACvC,wBAAwB,EAAE,KAAK;KAChC,CAAC,CAAC;IAEH,OAAO,CAAC,oBAAoB,CAAC;QAC3B,WAAW,EAAE;YACX,6BAA6B,EAAE,KAAK;SACrC;KACF,CAAC,CAAC;IAEH,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAC5D,IAAI,UAA4C,CAAC;IAEjD,IAAI,CAAC;QACH,UAAU,GAAG,IAAA,yCAAmB,EAC9B,QAAQ,EACR,OAAO,CAAC,cAAc,EACtB,eAAe,CAChB,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,gBAAgB,CAAC,cAAc,EAAE,CAAC;YACpC,MAAM,IAAI,KAAK,CACb,mDAAmD,OAAO,CAAC,cAAc,MAAO,KAAe,CAAC,OAAO,EAAE,CAC1G,CAAC;QACJ,CAAC;IACH,CAAC;IAED,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,CAAC,qCAAqC;QAC3C,mFAAmF;QACnF,uFAAuF;QACvF,iFAAiF;QACjF,yHAAyH;QACzH,UAAU,CAAC,OAA4D,CACxE,CAAC;IACJ,CAAC;IAED,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,mBAAmB,EAAE,WAAW,CAAC,GAAG,EAAE;QACtC,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AA2CA,oDAwIC;AAhLD,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AA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J,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map index e3e7f74423..3477afc9b1 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js index 118c3d5859..5f85d5fcd6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js @@ -42,7 +42,7 @@ const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); const getScriptKind_1 = require("./getScriptKind"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createSourceFile'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createSourceFile'); function createSourceFile(parseSettings) { log('Getting AST without type information in %s mode for: %s', parseSettings.jsx ? 'TSX' : 'TS', parseSettings.filePath); return (0, source_files_1.isSourceFile)(parseSettings.code) diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map index 2c21e87393..ec6eceb29f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCS,0CAAe;AAAE,4CAAgB;AAxC1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,sDAAsD,CAAC,CAAC;AAE1E,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CS,0CAAe;AAAE,4CAAgB;AA1C1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map index 4e5b64de53..f6f43cff32 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA+CtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js index 8bb3abb9ab..000760e3c8 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js @@ -43,7 +43,7 @@ const node_fs_1 = __importDefault(require("node:fs")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createWatchProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:getWatchProgramsForProjects'); /** * Maps tsconfig paths to their corresponding file contents and resulting watches */ diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index 6149b30499..84f1c53502 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4eS,4CAAgB;AAAE,kEAA2B;AA5etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,KAAK,EAAE,CAAC;IACvC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IAC5B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,kCAAkC,CAAC,KAAK,EAAE,CAAC;AAC7C,CAAC;AAED,SAAS,iBAAi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AED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8eS,4CAAgB;AAAE,kEAA2B;AA9etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,gFAAgF,CACjF,CAAC;AAEF;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAA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OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index bd56bf8396..616e2b3996 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 2220ad8e19..97f572daf0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -43,7 +43,7 @@ const path = __importStar(require("node:path")); const ts = __importStar(require("typescript")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const shared_1 = require("./shared"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:useProvidedProgram'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:useProvidedPrograms'); function useProvidedPrograms(programInstances, parseSettings) { log('Retrieving ast for %s from provided program instance(s)', parseSettings.filePath); let astAndProgram; diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index f2b1c1e824..7a4afe6a57 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoES,kEAA2B;AAAE,kDAAmB;AApEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsES,kEAA2B;AAAE,kDAAmB;AAtEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE,CACzE,CAAC;AAEF,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 27ec844fae..7b0b02a9b1 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -50,7 +50,7 @@ const getProjectConfigFiles_1 = require("./getProjectConfigFiles"); const inferSingleRun_1 = require("./inferSingleRun"); const resolveProjectList_1 = require("./resolveProjectList"); const warnAboutTSVersion_1 = require("./warnAboutTSVersion"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:createParseSettings'); let TSCONFIG_MATCH_CACHE; let TSSERVER_PROJECT_SERVICE = null; // NOTE - we intentionally use "unnecessary" `?.` here because in TS<5.3 this enum doesn't exist diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index 2f667cd715..f6f73640c4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;AAEnE,gGAAgG;AAChG,+GAA+G;AAC/G,uDAAuD;AACvD,gEAAgE;AAChE,MAAM,gBAAgB,GAAG;IACvB,QAAQ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C,CAAC;IACL,CAAC;IAED,yFAAyF;IACzF,yEAAyE;IACzE,IACE,eAAe,CAAC,gBAAgB,IAAI,IAAI;QACxC,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC;QACjC,aAAa,CAAC,QAAQ,IAAI,IAAI;QAC9B,aAAa,CAAC,cAAc,IAAI,IAAI,EACpC,CAAC;QACD,aAAa,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC9D,CAAC;IAED,IAAA,uCAAkB,EAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,kDA4JC;AAED,0DAEC;AAED,kEAEC;AA3MD,kDAA0B;AAC1B,0DAA6B;AAC7B,+CAAiC;AAMjC,iFAA8E;AAC9E,qDAA8D;AAC9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAChE,qDAAk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escript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map index bf99e5dd4f..be48dc3b09 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js index 59cba04ace..9d932ecc17 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js @@ -40,7 +40,7 @@ exports.getProjectConfigFiles = getProjectConfigFiles; const debug_1 = __importDefault(require("debug")); const fs = __importStar(require("node:fs")); const path = __importStar(require("node:path")); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:getProjectConfigFiles'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:getProjectConfigFiles'); /** * Checks for a matching TSConfig to a file including its parent directories, * permanently caching results under each directory it checks. diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map index 670d0ded30..89688182da 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDA6CC;AA/DD,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAm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AAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,sDA6CC;AAjED,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js index 55930e2fbd..6ecca0ae2d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js @@ -11,7 +11,7 @@ const fast_glob_1 = require("fast-glob"); const is_glob_1 = __importDefault(require("is-glob")); const shared_1 = require("../create-program/shared"); const ExpiringCache_1 = require("./ExpiringCache"); -const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:resolveProjectList'); +const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:resolveProjectList'); let RESOLUTION_CACHE = null; function clearGlobCache() { RESOLUTION_CACHE?.clear(); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map index ff4ddfbc9d..831d7844f4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map @@ -1 +1 @@ -{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;IAED,MAAM,uBAAuB,GAAG,CAC9B,OAAO,CAAC,uBAAuB,IAAI,CAAC,oBAAoB,CAAC,CAC1D;SACE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC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,OAAO,CAAC,EAAE,CAChD,IAAA,gBAAQ,EAAC,OAAO,EAAE;YAChB,GAAG,EAAE,OAAO,CAAC,eAAe;YAC5B,MAAM,EAAE,uBAAuB;SAChC,CAAC,CACH,CAAC;IACJ,CAAC;IAED,MAAM,2BAA2B,GAAG,IAAI,GAAG,CACzC,CAAC,GAAG,eAAe,EAAE,GAAG,gBAAgB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACvD,IAAA,6BAAoB,EAClB,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CACrD;QACD,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC;KACrD,CAAC,CACH,CAAC;IAEF,GAAG,CACD,gEAAgE,EAChE,2BAA2B,CAC5B,CAAC;IAEF,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;IAC5D,OAAO,2BAA2B,CAAC;AACrC,CAAC;AAED,SAAS,OAAO,CAAC,EACf,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6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CAAC;KACrD,CAAC,CACH,CAAC;IAEF,GAAG,CACD,gEAAgE,EAChE,2BAA2B,CAC5B,CAAC;IAEF,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;IAC5D,OAAO,2BAA2B,CAAC;AACrC,CAAC;AAED,SAAS,OAAO,CAAC,EACf,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json index a9b75afc04..60bb84efdd 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.19.0", + "version": "8.20.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,14 +54,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/visitor-keys": "8.19.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/visitor-keys": "8.20.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "devDependencies": { "@jest/types": "29.6.3", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json index 603265f73c..e1c7b72017 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.19.0", + "version": "8.20.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.19.0", - "@typescript-eslint/types": "8.19.0", - "@typescript-eslint/typescript-estree": "8.19.0" + "@typescript-eslint/scope-manager": "8.20.0", + "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/typescript-estree": "8.20.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json index 7d7edd0ccf..83119d5e9c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.19.0", + "version": "8.20.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.19.0", + "@typescript-eslint/types": "8.20.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/LICENSE.md b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/LICENSE.md new file mode 100644 index 0000000000..08520a1e27 --- /dev/null +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/LICENSE.md @@ -0,0 +1,20 @@ +# 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/@typescript-eslint/type-utils/node_modules/ts-api-utils/README.md b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/README.md new file mode 100644 index 0000000000..b2c13ef845 --- /dev/null +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/README.md @@ -0,0 +1,84 @@ +

TypeScript API Utils

+ +

+ Utility functions for working with TypeScript's API. + Successor to the wonderful tsutils. + 🛠️️ +

+ +

+ + +All Contributors: 8 👪 + + + 🤝 Code of Conduct: Kept + 🧪 Coverage + 📚 Documentation Coverage + 📝 License: MIT + 📦 npm version + 💪 TypeScript: Strict +

+ +## Usage + +```shell +npm i ts-api-utils +``` + +```ts +import * as tsutils from "ts-api-utils"; + +tsutils.forEachToken(/* ... */); +``` + +### API + +`ts-api-utils` provides many utility functions. +Check out our API docs for details: + +📝 [ts-api-utils API docs](https://joshuakgoldberg.github.io/ts-api-utils). + +## Development + +See [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md). +Thanks! 💖 + +## Contributors + +Many thanks to [@ajafff](https://github.com/ajafff) for creating the original [`tsutils`](https://github.com/ajafff/tsutils) ([original license: MIT](https://github.com/ajafff/tsutils/blob/26b195358ec36d59f00333115aa3ffd9611ca78b/LICENSE)) that this project was originally based on! 🙏 + + + + + + + + + + + + + + + + + + + + + + +
Dan Vanderkam
Dan Vanderkam

🐛
Johannes Chorzempa
Johannes Chorzempa

📖 💻
Josh Goldberg
Josh Goldberg

🐛 💻 📖 📆 ⚠️ 🔧 🚧 🚇 🤔
Kirill Cherkashin
Kirill Cherkashin

💻
Kirk Waiblinger
Kirk Waiblinger

🐛 💻
Klaus Meinhardt
Klaus Meinhardt

💻 ⚠️
Lars Kappert
Lars Kappert

💻
Rebecca Stevens
Rebecca Stevens

🐛 💻 📖 📆 ⚠️ 🔧 🚇 🚧 🤔
+ + + + + + + + + +> 💙 This package was templated with [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). + +> _"My tools! I have to have my tools!" - Dennis Reynolds_ diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs new file mode 100644 index 0000000000..fffa147ccc --- /dev/null +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs @@ -0,0 +1,2274 @@ +'use strict'; + +var ts9 = require('typescript'); + +function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } + +var ts9__default = /*#__PURE__*/_interopDefault(ts9); + +// src/comments.ts +function forEachToken(node, callback, sourceFile = node.getSourceFile()) { + const queue = []; + while (true) { + if (ts9__default.default.isTokenKind(node.kind)) { + callback(node); + } else { + const children = node.getChildren(sourceFile); + if (children.length === 1) { + node = children[0]; + continue; + } + for (let i = children.length - 1; i >= 0; --i) { + queue.push(children[i]); + } + } + if (queue.length === 0) { + break; + } + node = queue.pop(); + } +} + +// src/comments.ts +function forEachComment(node, callback, sourceFile = node.getSourceFile()) { + const fullText = sourceFile.text; + const notJsx = sourceFile.languageVariant !== ts9__default.default.LanguageVariant.JSX; + return forEachToken( + node, + (token) => { + if (token.pos === token.end) { + return; + } + if (token.kind !== ts9__default.default.SyntaxKind.JsxText) { + ts9__default.default.forEachLeadingCommentRange( + fullText, + // skip shebang at position 0 + token.pos === 0 ? (ts9__default.default.getShebang(fullText) ?? "").length : token.pos, + commentCallback + ); + } + if (notJsx || canHaveTrailingTrivia(token)) { + return ts9__default.default.forEachTrailingCommentRange( + fullText, + token.end, + commentCallback + ); + } + }, + sourceFile + ); + function commentCallback(pos, end, kind) { + callback(fullText, { end, kind, pos }); + } +} +function canHaveTrailingTrivia(token) { + switch (token.kind) { + case ts9__default.default.SyntaxKind.CloseBraceToken: + return token.parent.kind !== ts9__default.default.SyntaxKind.JsxExpression || !isJsxElementOrFragment(token.parent.parent); + case ts9__default.default.SyntaxKind.GreaterThanToken: + switch (token.parent.kind) { + case ts9__default.default.SyntaxKind.JsxClosingElement: + case ts9__default.default.SyntaxKind.JsxClosingFragment: + return !isJsxElementOrFragment(token.parent.parent.parent); + case ts9__default.default.SyntaxKind.JsxOpeningElement: + return token.end !== token.parent.end; + case ts9__default.default.SyntaxKind.JsxOpeningFragment: + return false; + // would be inside the fragment + case ts9__default.default.SyntaxKind.JsxSelfClosingElement: + return token.end !== token.parent.end || // if end is not equal, this is part of the type arguments list + !isJsxElementOrFragment(token.parent.parent); + } + } + return true; +} +function isJsxElementOrFragment(node) { + return node.kind === ts9__default.default.SyntaxKind.JsxElement || node.kind === ts9__default.default.SyntaxKind.JsxFragment; +} +function isCompilerOptionEnabled(options, option) { + switch (option) { + case "allowJs": + return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + case "allowSyntheticDefaultImports": + return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; + case "alwaysStrict": + case "noImplicitAny": + case "noImplicitThis": + case "strictBindCallApply": + case "strictFunctionTypes": + case "strictNullChecks": + case "strictPropertyInitialization": + return isStrictCompilerOptionEnabled( + options, + option + ); + case "declaration": + return options.declaration || isCompilerOptionEnabled(options, "composite"); + case "declarationMap": + case "emitDeclarationOnly": + case "stripInternal": + return options[option] === true && isCompilerOptionEnabled(options, "declaration"); + case "incremental": + return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + case "noUncheckedIndexedAccess": + return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); + case "skipDefaultLibCheck": + return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck"); + case "suppressImplicitAnyIndexErrors": + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated + options.suppressImplicitAnyIndexErrors === true && isCompilerOptionEnabled(options, "noImplicitAny") + ); + } + return options[option] === true; +} +function isStrictCompilerOptionEnabled(options, option) { + return (options.strict ? options[option] !== false : options[option] === true) && (option !== "strictPropertyInitialization" || isStrictCompilerOptionEnabled(options, "strictNullChecks")); +} +function isModifierFlagSet(node, flag) { + return isFlagSet(ts9__default.default.getCombinedModifierFlags(node), flag); +} +function isFlagSet(allFlags, flag) { + return (allFlags & flag) !== 0; +} +function isFlagSetOnObject(obj, flag) { + return isFlagSet(obj.flags, flag); +} +var isNodeFlagSet = isFlagSetOnObject; +function isObjectFlagSet(objectType, flag) { + return isFlagSet(objectType.objectFlags, flag); +} +var isSymbolFlagSet = isFlagSetOnObject; +function isTransientSymbolLinksFlagSet(links, flag) { + return isFlagSet(links.checkFlags, flag); +} +var isTypeFlagSet = isFlagSetOnObject; + +// src/modifiers.ts +function includesModifier(modifiers, ...kinds) { + if (modifiers === void 0) { + return false; + } + for (const modifier of modifiers) { + if (kinds.includes(modifier.kind)) { + return true; + } + } + return false; +} +function isAssignmentKind(kind) { + return kind >= ts9__default.default.SyntaxKind.FirstAssignment && kind <= ts9__default.default.SyntaxKind.LastAssignment; +} +function isNumericPropertyName(name) { + return String(+name) === name; +} +function isValidPropertyAccess(text, languageVersion = ts9__default.default.ScriptTarget.Latest) { + if (text.length === 0) { + return false; + } + let ch = text.codePointAt(0); + if (!ts9__default.default.isIdentifierStart(ch, languageVersion)) { + return false; + } + for (let i = charSize(ch); i < text.length; i += charSize(ch)) { + ch = text.codePointAt(i); + if (!ts9__default.default.isIdentifierPart(ch, languageVersion)) { + return false; + } + } + return true; +} +function charSize(ch) { + return ch >= 65536 ? 2 : 1; +} + +// src/nodes/access.ts +var AccessKind = /* @__PURE__ */ ((AccessKind2) => { + AccessKind2[AccessKind2["None"] = 0] = "None"; + AccessKind2[AccessKind2["Read"] = 1] = "Read"; + AccessKind2[AccessKind2["Write"] = 2] = "Write"; + AccessKind2[AccessKind2["Delete"] = 4] = "Delete"; + AccessKind2[AccessKind2["ReadWrite"] = 3] = "ReadWrite"; + return AccessKind2; +})(AccessKind || {}); +function getAccessKind(node) { + const parent = node.parent; + switch (parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.SpreadAssignment: + case ts9__default.default.SyntaxKind.SpreadElement: + return isInDestructuringAssignment( + parent + ) ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.ArrowFunction: + return parent.body === node ? 1 /* Read */ : 2 /* Write */; + case ts9__default.default.SyntaxKind.AsExpression: + case ts9__default.default.SyntaxKind.NonNullExpression: + case ts9__default.default.SyntaxKind.ParenthesizedExpression: + case ts9__default.default.SyntaxKind.TypeAssertionExpression: + return getAccessKind(parent); + case ts9__default.default.SyntaxKind.AwaitExpression: + case ts9__default.default.SyntaxKind.CallExpression: + case ts9__default.default.SyntaxKind.CaseClause: + case ts9__default.default.SyntaxKind.ComputedPropertyName: + case ts9__default.default.SyntaxKind.ConditionalExpression: + case ts9__default.default.SyntaxKind.Decorator: + case ts9__default.default.SyntaxKind.DoStatement: + case ts9__default.default.SyntaxKind.ElementAccessExpression: + case ts9__default.default.SyntaxKind.ExpressionStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.IfStatement: + case ts9__default.default.SyntaxKind.JsxElement: + case ts9__default.default.SyntaxKind.JsxExpression: + case ts9__default.default.SyntaxKind.JsxOpeningElement: + case ts9__default.default.SyntaxKind.JsxSelfClosingElement: + case ts9__default.default.SyntaxKind.JsxSpreadAttribute: + case ts9__default.default.SyntaxKind.NewExpression: + case ts9__default.default.SyntaxKind.ReturnStatement: + case ts9__default.default.SyntaxKind.SwitchStatement: + case ts9__default.default.SyntaxKind.TaggedTemplateExpression: + case ts9__default.default.SyntaxKind.TemplateSpan: + case ts9__default.default.SyntaxKind.ThrowStatement: + case ts9__default.default.SyntaxKind.TypeOfExpression: + case ts9__default.default.SyntaxKind.VoidExpression: + case ts9__default.default.SyntaxKind.WhileStatement: + case ts9__default.default.SyntaxKind.WithStatement: + case ts9__default.default.SyntaxKind.YieldExpression: + return 1 /* Read */; + case ts9__default.default.SyntaxKind.BinaryExpression: + return parent.right === node ? 1 /* Read */ : !isAssignmentKind(parent.operatorToken.kind) ? 1 /* Read */ : parent.operatorToken.kind === ts9__default.default.SyntaxKind.EqualsToken ? 2 /* Write */ : 3 /* ReadWrite */; + case ts9__default.default.SyntaxKind.BindingElement: + case ts9__default.default.SyntaxKind.EnumMember: + case ts9__default.default.SyntaxKind.JsxAttribute: + case ts9__default.default.SyntaxKind.Parameter: + case ts9__default.default.SyntaxKind.PropertyDeclaration: + case ts9__default.default.SyntaxKind.VariableDeclaration: + return parent.initializer === node ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.DeleteExpression: + return 4 /* Delete */; + case ts9__default.default.SyntaxKind.ExportAssignment: + return parent.isExportEquals ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9__default.default.SyntaxKind.ExtendsKeyword && parent.parent.parent.kind !== ts9__default.default.SyntaxKind.InterfaceDeclaration ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + return parent.initializer === node ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.PostfixUnaryExpression: + return 3 /* ReadWrite */; + case ts9__default.default.SyntaxKind.PrefixUnaryExpression: + return parent.operator === ts9__default.default.SyntaxKind.PlusPlusToken || parent.operator === ts9__default.default.SyntaxKind.MinusMinusToken ? 3 /* ReadWrite */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.PropertyAccessExpression: + return parent.expression === node ? 1 /* Read */ : 0 /* None */; + case ts9__default.default.SyntaxKind.PropertyAssignment: + return parent.name === node ? 0 /* None */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + return parent.objectAssignmentInitializer === node ? 1 /* Read */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + } + return 0 /* None */; +} +function isInDestructuringAssignment(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + if (node.objectAssignmentInitializer !== void 0) { + return true; + } + // falls through + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.SpreadAssignment: + node = node.parent; + break; + case ts9__default.default.SyntaxKind.SpreadElement: + if (node.parent.kind !== ts9__default.default.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent; + } + while (true) { + switch (node.parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.ObjectLiteralExpression: + node = node.parent; + break; + case ts9__default.default.SyntaxKind.BinaryExpression: + return node.parent.left === node && node.parent.operatorToken.kind === ts9__default.default.SyntaxKind.EqualsToken; + case ts9__default.default.SyntaxKind.ForOfStatement: + return node.parent.initializer === node; + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.SpreadAssignment: + node = node.parent.parent; + break; + case ts9__default.default.SyntaxKind.SpreadElement: + if (node.parent.parent.kind !== ts9__default.default.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent.parent; + break; + default: + return false; + } + } +} +function isAbstractKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AbstractKeyword; +} +function isAccessorKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AccessorKeyword; +} +function isAnyKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AnyKeyword; +} +function isAssertKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AssertKeyword; +} +function isAssertsKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AssertsKeyword; +} +function isAsyncKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AsyncKeyword; +} +function isAwaitKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.AwaitKeyword; +} +function isBigIntKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.BigIntKeyword; +} +function isBooleanKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.BooleanKeyword; +} +function isColonToken(node) { + return node.kind === ts9__default.default.SyntaxKind.ColonToken; +} +function isConstKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ConstKeyword; +} +function isDeclareKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.DeclareKeyword; +} +function isDefaultKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.DefaultKeyword; +} +function isDotToken(node) { + return node.kind === ts9__default.default.SyntaxKind.DotToken; +} +function isEndOfFileToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EndOfFileToken; +} +function isEqualsGreaterThanToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EqualsGreaterThanToken; +} +function isEqualsToken(node) { + return node.kind === ts9__default.default.SyntaxKind.EqualsToken; +} +function isExclamationToken(node) { + return node.kind === ts9__default.default.SyntaxKind.ExclamationToken; +} +function isExportKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ExportKeyword; +} +function isFalseKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.FalseKeyword; +} +function isFalseLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.FalseKeyword; +} +function isImportExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.ImportKeyword; +} +function isImportKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ImportKeyword; +} +function isInKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.InKeyword; +} +function isJSDocText(node) { + return node.kind === ts9__default.default.SyntaxKind.JSDocText; +} +function isJsonMinusNumericLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.PrefixUnaryExpression; +} +function isNeverKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NeverKeyword; +} +function isNullKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NullKeyword; +} +function isNullLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.NullKeyword; +} +function isNumberKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.NumberKeyword; +} +function isObjectKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ObjectKeyword; +} +function isOutKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.OutKeyword; +} +function isOverrideKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.OverrideKeyword; +} +function isPrivateKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.PrivateKeyword; +} +function isProtectedKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ProtectedKeyword; +} +function isPublicKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.PublicKeyword; +} +function isQuestionDotToken(node) { + return node.kind === ts9__default.default.SyntaxKind.QuestionDotToken; +} +function isQuestionToken(node) { + return node.kind === ts9__default.default.SyntaxKind.QuestionToken; +} +function isReadonlyKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ReadonlyKeyword; +} +function isStaticKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.StaticKeyword; +} +function isStringKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.StringKeyword; +} +function isSuperExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.SuperKeyword; +} +function isSuperKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.SuperKeyword; +} +function isSymbolKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.SymbolKeyword; +} +function isSyntaxList(node) { + return node.kind === ts9__default.default.SyntaxKind.SyntaxList; +} +function isThisExpression(node) { + return node.kind === ts9__default.default.SyntaxKind.ThisKeyword; +} +function isThisKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.ThisKeyword; +} +function isTrueKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.TrueKeyword; +} +function isTrueLiteral(node) { + return node.kind === ts9__default.default.SyntaxKind.TrueKeyword; +} +function isUndefinedKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.UndefinedKeyword; +} +function isUnknownKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.UnknownKeyword; +} +function isVoidKeyword(node) { + return node.kind === ts9__default.default.SyntaxKind.VoidKeyword; +} +var [tsMajor, tsMinor] = ts9__default.default.versionMajorMinor.split(".").map((raw) => Number.parseInt(raw, 10)); +function isTsVersionAtLeast(major, minor = 0) { + return tsMajor > major || tsMajor === major && tsMinor >= minor; +} + +// src/nodes/typeGuards/union.ts +function hasDecorators(node) { + return ts9__default.default.isParameter(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isClassExpression(node) || ts9__default.default.isClassDeclaration(node); +} +function hasExpressionInitializer(node) { + return ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isEnumMember(node); +} +function hasInitializer(node) { + return hasExpressionInitializer(node) || ts9__default.default.isForStatement(node) || ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node) || ts9__default.default.isJsxAttribute(node); +} +function hasJSDoc(node) { + if ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9__default.default.isArrowFunction(node) || ts9__default.default.isBlock(node) || ts9__default.default.isBreakStatement(node) || ts9__default.default.isCallSignatureDeclaration(node) || ts9__default.default.isCaseClause(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isConstructSignatureDeclaration(node) || ts9__default.default.isContinueStatement(node) || ts9__default.default.isDebuggerStatement(node) || ts9__default.default.isDoStatement(node) || ts9__default.default.isEmptyStatement(node) || isEndOfFileToken(node) || ts9__default.default.isEnumDeclaration(node) || ts9__default.default.isEnumMember(node) || ts9__default.default.isExportAssignment(node) || ts9__default.default.isExportDeclaration(node) || ts9__default.default.isExportSpecifier(node) || ts9__default.default.isExpressionStatement(node) || ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node) || ts9__default.default.isForStatement(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isFunctionTypeNode(node) || ts9__default.default.isIfStatement(node) || ts9__default.default.isImportDeclaration(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isJSDocFunctionType(node) || ts9__default.default.isLabeledStatement(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isModuleDeclaration(node) || ts9__default.default.isNamedTupleMember(node) || ts9__default.default.isNamespaceExportDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isParenthesizedExpression(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isReturnStatement(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isSpreadAssignment(node) || ts9__default.default.isSwitchStatement(node) || ts9__default.default.isThrowStatement(node) || ts9__default.default.isTryStatement(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isVariableStatement(node) || ts9__default.default.isWhileStatement(node) || ts9__default.default.isWithStatement(node) + ) { + return true; + } + if (isTsVersionAtLeast(4, 4) && ts9__default.default.isClassStaticBlockDeclaration(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9__default.default.isBinaryExpression(node) || ts9__default.default.isElementAccessExpression(node) || ts9__default.default.isIdentifier(node) || ts9__default.default.isJSDocSignature(node) || ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isTypeParameterDeclaration(node))) { + return true; + } + return false; +} +function hasModifiers(node) { + return ts9__default.default.isTypeParameterDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node) || ts9__default.default.isClassExpression(node) || ts9__default.default.isVariableStatement(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isClassDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isEnumDeclaration(node) || ts9__default.default.isModuleDeclaration(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isImportDeclaration(node) || ts9__default.default.isExportAssignment(node) || ts9__default.default.isExportDeclaration(node); +} +function hasType(node) { + return isSignatureDeclaration(node) || ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isTypePredicateNode(node) || ts9__default.default.isParenthesizedTypeNode(node) || ts9__default.default.isTypeOperatorNode(node) || ts9__default.default.isMappedTypeNode(node) || ts9__default.default.isAssertionExpression(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isJSDocTypeExpression(node) || ts9__default.default.isJSDocNonNullableType(node) || ts9__default.default.isJSDocNullableType(node) || ts9__default.default.isJSDocOptionalType(node) || ts9__default.default.isJSDocVariadicType(node); +} +function hasTypeArguments(node) { + return ts9__default.default.isCallExpression(node) || ts9__default.default.isNewExpression(node) || ts9__default.default.isTaggedTemplateExpression(node) || ts9__default.default.isJsxOpeningElement(node) || ts9__default.default.isJsxSelfClosingElement(node); +} +function isAccessExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isElementAccessExpression(node); +} +function isAccessibilityModifier(node) { + return isPublicKeyword(node) || isPrivateKeyword(node) || isProtectedKeyword(node); +} +function isAccessorDeclaration(node) { + return ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node); +} +function isArrayBindingElement(node) { + return ts9__default.default.isBindingElement(node) || ts9__default.default.isOmittedExpression(node); +} +function isArrayBindingOrAssignmentPattern(node) { + return ts9__default.default.isArrayBindingPattern(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isAssignmentPattern(node) { + return ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isBindingOrAssignmentElementRestIndicator(node) { + if (ts9__default.default.isSpreadElement(node) || ts9__default.default.isSpreadAssignment(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9__default.default.isDotDotDotToken(node); + } + return false; +} +function isBindingOrAssignmentElementTarget(node) { + return isBindingOrAssignmentPattern(node) || ts9__default.default.isIdentifier(node) || ts9__default.default.isPropertyAccessExpression(node) || ts9__default.default.isElementAccessExpression(node) || ts9__default.default.isOmittedExpression(node); +} +function isBindingOrAssignmentPattern(node) { + return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); +} +function isBindingPattern(node) { + return ts9__default.default.isObjectBindingPattern(node) || ts9__default.default.isArrayBindingPattern(node); +} +function isBlockLike(node) { + return ts9__default.default.isSourceFile(node) || ts9__default.default.isBlock(node) || ts9__default.default.isModuleBlock(node) || ts9__default.default.isCaseOrDefaultClause(node); +} +function isBooleanLiteral(node) { + return isTrueLiteral(node) || isFalseLiteral(node); +} +function isClassLikeDeclaration(node) { + return ts9__default.default.isClassDeclaration(node) || ts9__default.default.isClassExpression(node); +} +function isClassMemberModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node) || isStaticKeyword(node) || isAccessorKeyword(node); +} +function isDeclarationName(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isPrivateIdentifier(node) || ts9__default.default.isStringLiteralLike(node) || ts9__default.default.isNumericLiteral(node) || ts9__default.default.isComputedPropertyName(node) || ts9__default.default.isElementAccessExpression(node) || isBindingPattern(node) || isEntityNameExpression(node); +} +function isDeclarationWithTypeParameterChildren(node) { + return isSignatureDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeAliasDeclaration(node) || ts9__default.default.isJSDocTemplateTag(node); +} +function isDeclarationWithTypeParameters(node) { + return isDeclarationWithTypeParameterChildren(node) || ts9__default.default.isJSDocTypedefTag(node) || ts9__default.default.isJSDocCallbackTag(node) || ts9__default.default.isJSDocSignature(node); +} +function isDestructuringPattern(node) { + return isBindingPattern(node) || ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node); +} +function isEntityNameExpression(node) { + return ts9__default.default.isIdentifier(node) || isPropertyAccessEntityNameExpression(node); +} +function isEntityNameOrEntityNameExpression(node) { + return ts9__default.default.isEntityName(node) || isEntityNameExpression(node); +} +function isForInOrOfStatement(node) { + return ts9__default.default.isForInStatement(node) || ts9__default.default.isForOfStatement(node); +} +function isFunctionLikeDeclaration(node) { + return ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isGetAccessorDeclaration(node) || ts9__default.default.isSetAccessorDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node); +} +function isJSDocComment(node) { + if (isJSDocText(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9__default.default.isJSDocLink(node) || ts9__default.default.isJSDocLinkCode(node) || ts9__default.default.isJSDocLinkPlain(node); + } + return false; +} +function isJSDocNamespaceBody(node) { + return ts9__default.default.isIdentifier(node) || isJSDocNamespaceDeclaration(node); +} +function isJSDocTypeReferencingNode(node) { + return ts9__default.default.isJSDocVariadicType(node) || ts9__default.default.isJSDocOptionalType(node) || ts9__default.default.isJSDocNullableType(node) || ts9__default.default.isJSDocNonNullableType(node); +} +function isJsonObjectExpression(node) { + return ts9__default.default.isObjectLiteralExpression(node) || ts9__default.default.isArrayLiteralExpression(node) || isJsonMinusNumericLiteral(node) || ts9__default.default.isNumericLiteral(node) || ts9__default.default.isStringLiteral(node) || isBooleanLiteral(node) || isNullLiteral(node); +} +function isJsxAttributeLike(node) { + return ts9__default.default.isJsxAttribute(node) || ts9__default.default.isJsxSpreadAttribute(node); +} +function isJsxAttributeValue(node) { + return ts9__default.default.isStringLiteral(node) || ts9__default.default.isJsxExpression(node) || ts9__default.default.isJsxElement(node) || ts9__default.default.isJsxSelfClosingElement(node) || ts9__default.default.isJsxFragment(node); +} +function isJsxChild(node) { + return ts9__default.default.isJsxText(node) || ts9__default.default.isJsxExpression(node) || ts9__default.default.isJsxElement(node) || ts9__default.default.isJsxSelfClosingElement(node) || ts9__default.default.isJsxFragment(node); +} +function isJsxTagNameExpression(node) { + return ts9__default.default.isIdentifier(node) || isThisExpression(node) || isJsxTagNamePropertyAccess(node); +} +function isLiteralToken(node) { + return ts9__default.default.isNumericLiteral(node) || ts9__default.default.isBigIntLiteral(node) || ts9__default.default.isStringLiteral(node) || ts9__default.default.isJsxText(node) || ts9__default.default.isRegularExpressionLiteral(node) || ts9__default.default.isNoSubstitutionTemplateLiteral(node); +} +function isModuleBody(node) { + return isNamespaceBody(node) || isJSDocNamespaceBody(node); +} +function isModuleName(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isStringLiteral(node); +} +function isModuleReference(node) { + return ts9__default.default.isEntityName(node) || ts9__default.default.isExternalModuleReference(node); +} +function isNamedImportBindings(node) { + return ts9__default.default.isNamespaceImport(node) || ts9__default.default.isNamedImports(node); +} +function isNamedImportsOrExports(node) { + return ts9__default.default.isNamedImports(node) || ts9__default.default.isNamedExports(node); +} +function isNamespaceBody(node) { + return ts9__default.default.isModuleBlock(node) || isNamespaceDeclaration(node); +} +function isObjectBindingOrAssignmentElement(node) { + return ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isSpreadAssignment(node); +} +function isObjectBindingOrAssignmentPattern(node) { + return ts9__default.default.isObjectBindingPattern(node) || ts9__default.default.isObjectLiteralExpression(node); +} +function isObjectTypeDeclaration(node) { + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9__default.default.isInterfaceDeclaration(node) || ts9__default.default.isTypeLiteralNode(node) + ); +} +function isParameterPropertyModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node); +} +function isPropertyNameLiteral(node) { + return ts9__default.default.isIdentifier(node) || ts9__default.default.isStringLiteralLike(node) || ts9__default.default.isNumericLiteral(node); +} +function isPseudoLiteralToken(node) { + return ts9__default.default.isTemplateHead(node) || ts9__default.default.isTemplateMiddle(node) || ts9__default.default.isTemplateTail(node); +} +function isSignatureDeclaration(node) { + return ts9__default.default.isCallSignatureDeclaration(node) || ts9__default.default.isConstructSignatureDeclaration(node) || ts9__default.default.isMethodSignature(node) || ts9__default.default.isIndexSignatureDeclaration(node) || ts9__default.default.isFunctionTypeNode(node) || ts9__default.default.isConstructorTypeNode(node) || ts9__default.default.isJSDocFunctionType(node) || ts9__default.default.isFunctionDeclaration(node) || ts9__default.default.isMethodDeclaration(node) || ts9__default.default.isConstructorDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9__default.default.isFunctionExpression(node) || ts9__default.default.isArrowFunction(node); +} +function isSuperProperty(node) { + return isSuperPropertyAccessExpression(node) || isSuperElementAccessExpression(node); +} +function isTypeOnlyCompatibleAliasDeclaration(node) { + if (ts9__default.default.isImportClause(node) || ts9__default.default.isImportEqualsDeclaration(node) || ts9__default.default.isNamespaceImport(node) || ts9__default.default.isImportOrExportSpecifier(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9__default.default.isExportDeclaration(node) || ts9__default.default.isNamespaceExport(node))) { + return true; + } + return false; +} +function isTypeReferenceType(node) { + return ts9__default.default.isTypeReferenceNode(node) || ts9__default.default.isExpressionWithTypeArguments(node); +} +function isUnionOrIntersectionTypeNode(node) { + return ts9__default.default.isUnionTypeNode(node) || ts9__default.default.isIntersectionTypeNode(node); +} +function isVariableLikeDeclaration(node) { + return ts9__default.default.isVariableDeclaration(node) || ts9__default.default.isParameter(node) || ts9__default.default.isBindingElement(node) || ts9__default.default.isPropertyDeclaration(node) || ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isPropertySignature(node) || ts9__default.default.isJsxAttribute(node) || ts9__default.default.isShorthandPropertyAssignment(node) || ts9__default.default.isEnumMember(node) || ts9__default.default.isJSDocPropertyTag(node) || ts9__default.default.isJSDocParameterTag(node); +} + +// src/nodes/typeGuards/compound.ts +function isConstAssertionExpression(node) { + return ts9__default.default.isTypeReferenceNode(node.type) && ts9__default.default.isIdentifier(node.type.typeName) && node.type.typeName.escapedText === "const"; +} +function isIterationStatement(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.DoStatement: + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.WhileStatement: + return true; + default: + return false; + } +} +function isJSDocNamespaceDeclaration(node) { + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); +} +function isJsxTagNamePropertyAccess(node) { + return ts9__default.default.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 + isJsxTagNameExpression(node.expression); +} +function isNamedDeclarationWithName(node) { + return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); +} +function isNamespaceDeclaration(node) { + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); +} +function isNumericOrStringLikeLiteral(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.NoSubstitutionTemplateLiteral: + case ts9__default.default.SyntaxKind.NumericLiteral: + case ts9__default.default.SyntaxKind.StringLiteral: + return true; + default: + return false; + } +} +function isPropertyAccessEntityNameExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) && ts9__default.default.isIdentifier(node.name) && isEntityNameExpression(node.expression); +} +function isSuperElementAccessExpression(node) { + return ts9__default.default.isElementAccessExpression(node) && isSuperExpression(node.expression); +} +function isSuperPropertyAccessExpression(node) { + return ts9__default.default.isPropertyAccessExpression(node) && isSuperExpression(node.expression); +} +function isFunctionScopeBoundary(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.ArrowFunction: + case ts9__default.default.SyntaxKind.CallSignature: + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + case ts9__default.default.SyntaxKind.Constructor: + case ts9__default.default.SyntaxKind.ConstructorType: + case ts9__default.default.SyntaxKind.ConstructSignature: + case ts9__default.default.SyntaxKind.EnumDeclaration: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.FunctionType: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.ModuleDeclaration: + case ts9__default.default.SyntaxKind.SetAccessor: + return true; + case ts9__default.default.SyntaxKind.SourceFile: + return ts9__default.default.isExternalModule(node); + default: + return false; + } +} +function isIntrinsicAnyType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Any); +} +function isIntrinsicBigIntType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BigInt); +} +function isIntrinsicBooleanType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Boolean); +} +function isIntrinsicErrorType(type) { + return isIntrinsicType(type) && type.intrinsicName === "error"; +} +function isIntrinsicESSymbolType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.ESSymbol); +} +var IntrinsicTypeFlags = ts9__default.default.TypeFlags.Intrinsic ?? ts9__default.default.TypeFlags.Any | ts9__default.default.TypeFlags.Unknown | ts9__default.default.TypeFlags.String | ts9__default.default.TypeFlags.Number | ts9__default.default.TypeFlags.BigInt | ts9__default.default.TypeFlags.Boolean | ts9__default.default.TypeFlags.BooleanLiteral | ts9__default.default.TypeFlags.ESSymbol | ts9__default.default.TypeFlags.Void | ts9__default.default.TypeFlags.Undefined | ts9__default.default.TypeFlags.Null | ts9__default.default.TypeFlags.Never | ts9__default.default.TypeFlags.NonPrimitive; +function isIntrinsicNeverType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Never); +} +function isIntrinsicNonPrimitiveType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.NonPrimitive); +} +function isIntrinsicNullType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Null); +} +function isIntrinsicNumberType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Number); +} +function isIntrinsicStringType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.String); +} +function isIntrinsicType(type) { + return isTypeFlagSet(type, IntrinsicTypeFlags); +} +function isIntrinsicUndefinedType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Undefined); +} +function isIntrinsicUnknownType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Unknown); +} +function isIntrinsicVoidType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Void); +} +function isConditionalType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Conditional); +} +function isEnumType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Enum); +} +function isFreshableType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Freshable); +} +function isIndexedAccessType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.IndexedAccess); +} +function isIndexType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Index); +} +function isInstantiableType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Instantiable); +} +function isIntersectionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Intersection); +} +function isObjectType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Object); +} +function isStringMappingType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.StringMapping); +} +function isSubstitutionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Substitution); +} +function isTypeParameter(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TypeParameter); +} +function isTypeVariable(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TypeVariable); +} +function isUnionOrIntersectionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.UnionOrIntersection); +} +function isUnionType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Union); +} +function isUniqueESSymbolType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.UniqueESSymbol); +} + +// src/types/typeGuards/objects.ts +function isEvolvingArrayType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.EvolvingArray); +} +function isTupleType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.Tuple); +} +function isTypeReference(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9__default.default.ObjectFlags.Reference); +} + +// src/types/typeGuards/compound.ts +function isFreshableIntrinsicType(type) { + return isIntrinsicType(type) && isFreshableType(type); +} +function isTupleTypeReference(type) { + return isTypeReference(type) && isTupleType(type.target); +} +function isBigIntLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BigIntLiteral); +} +function isBooleanLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.BooleanLiteral); +} +function isFalseLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "false"; +} +function isLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.Literal); +} +function isNumberLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.NumberLiteral); +} +function isStringLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.StringLiteral); +} +function isTemplateLiteralType(type) { + return isTypeFlagSet(type, ts9__default.default.TypeFlags.TemplateLiteral); +} +function isTrueLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "true"; +} + +// src/types/getters.ts +function getCallSignaturesOfType(type) { + if (isUnionType(type)) { + const signatures = []; + for (const subType of type.types) { + signatures.push(...getCallSignaturesOfType(subType)); + } + return signatures; + } + if (isIntersectionType(type)) { + let signatures; + for (const subType of type.types) { + const sig = getCallSignaturesOfType(subType); + if (sig.length !== 0) { + if (signatures !== void 0) { + return []; + } + signatures = sig; + } + } + return signatures === void 0 ? [] : signatures; + } + return type.getCallSignatures(); +} +function getPropertyOfType(type, name) { + if (!name.startsWith("__")) { + return type.getProperty(name); + } + return type.getProperties().find((s) => s.escapedName === name); +} +function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker) { + const prefix = "__@" + wellKnownSymbolName; + for (const prop of type.getProperties()) { + if (!prop.name.startsWith(prefix)) { + continue; + } + const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; + if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9__default.default.isComputedPropertyName(declaration.name)) { + continue; + } + const globalSymbol = typeChecker.getApparentType( + typeChecker.getTypeAtLocation(declaration.name.expression) + ).symbol; + if (prop.escapedName === getPropertyNameOfWellKnownSymbol( + typeChecker, + globalSymbol, + wellKnownSymbolName + )) { + return prop; + } + } + return void 0; +} +function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { + const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( + symbolConstructor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + symbolConstructor.valueDeclaration + ).getProperty(symbolName); + const knownSymbolType = knownSymbol && typeChecker.getTypeOfSymbolAtLocation( + knownSymbol, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + knownSymbol.valueDeclaration + ); + if (knownSymbolType && isUniqueESSymbolType(knownSymbolType)) { + return knownSymbolType.escapedName; + } + return "__@" + symbolName; +} +function isBindableObjectDefinePropertyCall(node) { + return node.arguments.length === 3 && isEntityNameExpression(node.arguments[0]) && isNumericOrStringLikeLiteral(node.arguments[1]) && ts9__default.default.isPropertyAccessExpression(node.expression) && node.expression.name.escapedText === "defineProperty" && ts9__default.default.isIdentifier(node.expression.expression) && node.expression.expression.escapedText === "Object"; +} +function isInConstContext(node, typeChecker) { + let current = node; + while (true) { + const parent = current.parent; + outer: switch (parent.kind) { + case ts9__default.default.SyntaxKind.ArrayLiteralExpression: + case ts9__default.default.SyntaxKind.ObjectLiteralExpression: + case ts9__default.default.SyntaxKind.ParenthesizedExpression: + case ts9__default.default.SyntaxKind.TemplateExpression: + current = parent; + break; + case ts9__default.default.SyntaxKind.AsExpression: + case ts9__default.default.SyntaxKind.TypeAssertionExpression: + return isConstAssertionExpression(parent); + case ts9__default.default.SyntaxKind.CallExpression: { + if (!ts9__default.default.isExpression(current)) { + return false; + } + const functionSignature = typeChecker.getResolvedSignature( + parent + ); + if (functionSignature === void 0) { + return false; + } + const argumentIndex = parent.arguments.indexOf( + current + ); + if (argumentIndex < 0) { + return false; + } + const parameterSymbol = functionSignature.getParameters()[argumentIndex]; + if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + return false; + } + const parameterSymbolLinks = parameterSymbol.links; + const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; + if (propertySymbol === void 0 || !("links" in propertySymbol)) { + return false; + } + return isTransientSymbolLinksFlagSet( + propertySymbol.links, + ts9__default.default.CheckFlags.Readonly + ); + } + case ts9__default.default.SyntaxKind.PrefixUnaryExpression: + if (current.kind !== ts9__default.default.SyntaxKind.NumericLiteral) { + return false; + } + switch (parent.operator) { + case ts9__default.default.SyntaxKind.MinusToken: + case ts9__default.default.SyntaxKind.PlusToken: + current = parent; + break outer; + default: + return false; + } + case ts9__default.default.SyntaxKind.PropertyAssignment: + if (parent.initializer !== current) { + return false; + } + current = parent.parent; + break; + case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: + current = parent.parent; + break; + default: + return false; + } + } +} + +// src/types/utilities.ts +function intersectionTypeParts(type) { + return isIntersectionType(type) ? type.types : [type]; +} +function isFalsyType(type) { + if (isTypeFlagSet( + type, + ts9__default.default.TypeFlags.Undefined | ts9__default.default.TypeFlags.Null | ts9__default.default.TypeFlags.Void + )) { + return true; + } + if (typeIsLiteral(type)) { + if (typeof type.value === "object") { + return type.value.base10Value === "0"; + } else { + return !type.value; + } + } + return isFalseLiteralType(type); +} +function isPropertyReadonlyInType(type, name, typeChecker) { + let seenProperty = false; + let seenReadonlySignature = false; + for (const subType of unionTypeParts(type)) { + if (getPropertyOfType(subType, name) === void 0) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); + if (index?.isReadonly) { + if (seenProperty) { + return true; + } + seenReadonlySignature = true; + } + } else if (seenReadonlySignature || isReadonlyPropertyIntersection(subType, name, typeChecker)) { + return true; + } else { + seenProperty = true; + } + } + return false; +} +function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { + for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { + const then = typePart.getProperty("then"); + if (then === void 0) { + continue; + } + const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); + for (const subTypePart of unionTypeParts(thenType)) { + for (const signature of subTypePart.getCallSignatures()) { + if (signature.parameters.length !== 0 && isCallback(typeChecker, signature.parameters[0], node)) { + return true; + } + } + } + } + return false; +} +function symbolHasReadonlyDeclaration(symbol, typeChecker) { + return !!((symbol.flags & ts9__default.default.SymbolFlags.Accessor) === ts9__default.default.SymbolFlags.GetAccessor || symbol.declarations?.some( + (node) => isModifierFlagSet(node, ts9__default.default.ModifierFlags.Readonly) || ts9__default.default.isVariableDeclaration(node) && isNodeFlagSet(node.parent, ts9__default.default.NodeFlags.Const) || ts9__default.default.isCallExpression(node) && isReadonlyAssignmentDeclaration(node, typeChecker) || ts9__default.default.isEnumMember(node) || (ts9__default.default.isPropertyAssignment(node) || ts9__default.default.isShorthandPropertyAssignment(node)) && isInConstContext(node, typeChecker) + )); +} +function typeIsLiteral(type) { + if (isTsVersionAtLeast(5, 0)) { + return type.isLiteral(); + } else { + return isTypeFlagSet( + type, + ts9__default.default.TypeFlags.StringLiteral | ts9__default.default.TypeFlags.NumberLiteral | ts9__default.default.TypeFlags.BigIntLiteral + ); + } +} +function typeParts(type) { + return isIntersectionType(type) || isUnionType(type) ? type.types : [type]; +} +function unionTypeParts(type) { + return isUnionType(type) ? type.types : [type]; +} +function isCallback(typeChecker, param, node) { + let type = typeChecker.getApparentType( + typeChecker.getTypeOfSymbolAtLocation(param, node) + ); + if (param.valueDeclaration.dotDotDotToken) { + type = type.getNumberIndexType(); + if (type === void 0) { + return false; + } + } + for (const subType of unionTypeParts(type)) { + if (subType.getCallSignatures().length !== 0) { + return true; + } + } + return false; +} +function isReadonlyAssignmentDeclaration(node, typeChecker) { + if (!isBindableObjectDefinePropertyCall(node)) { + return false; + } + const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); + if (descriptorType.getProperty("value") === void 0) { + return descriptorType.getProperty("set") === void 0; + } + const writableProp = descriptorType.getProperty("writable"); + if (writableProp === void 0) { + return false; + } + const writableType = writableProp.valueDeclaration !== void 0 && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + return isFalseLiteralType(writableType); +} +function isReadonlyPropertyFromMappedType(type, name, typeChecker) { + if (!isObjectType(type) || !isObjectFlagSet(type, ts9__default.default.ObjectFlags.Mapped)) { + return; + } + const declaration = type.symbol.declarations[0]; + if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + return declaration.readonlyToken.kind !== ts9__default.default.SyntaxKind.MinusToken; + } + const { modifiersType } = type; + return modifiersType && isPropertyReadonlyInType(modifiersType, name, typeChecker); +} +function isReadonlyPropertyIntersection(type, name, typeChecker) { + const typeParts2 = isIntersectionType(type) ? type.types : [type]; + return typeParts2.some((subType) => { + const prop = getPropertyOfType(subType, name); + if (prop === void 0) { + return false; + } + if (prop.flags & ts9__default.default.SymbolFlags.Transient) { + if (/^(?:[1-9]\d*|0)$/.test(name) && isTupleTypeReference(subType)) { + return subType.target.readonly; + } + switch (isReadonlyPropertyFromMappedType(subType, name, typeChecker)) { + case false: + return false; + case true: + return true; + } + } + return !!// members of namespace import + (isSymbolFlagSet(prop, ts9__default.default.SymbolFlags.ValueModule) || // we unwrapped every mapped type, now we can check the actual declarations + symbolHasReadonlyDeclaration(prop, typeChecker)); + }); +} +function identifierToKeywordKind(node) { + return "originalKeywordKind" in node ? node.originalKeywordKind : ts9__default.default.identifierToKeywordKind(node); +} + +// src/usage/declarations.ts +var DeclarationDomain = /* @__PURE__ */ ((DeclarationDomain2) => { + DeclarationDomain2[DeclarationDomain2["Namespace"] = 1] = "Namespace"; + DeclarationDomain2[DeclarationDomain2["Type"] = 2] = "Type"; + DeclarationDomain2[DeclarationDomain2["Value"] = 4] = "Value"; + DeclarationDomain2[DeclarationDomain2["Any"] = 7] = "Any"; + DeclarationDomain2[DeclarationDomain2["Import"] = 8] = "Import"; + return DeclarationDomain2; +})(DeclarationDomain || {}); +function getDeclarationDomain(node) { + switch (node.parent.kind) { + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + return 2 /* Type */ | 4 /* Value */; + case ts9__default.default.SyntaxKind.EnumDeclaration: + return 7 /* Any */; + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + return 4 /* Value */; + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.NamespaceImport: + return 7 /* Any */ | 8 /* Import */; + // TODO handle type-only imports + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.ImportSpecifier: + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + case ts9__default.default.SyntaxKind.TypeParameter: + return 2 /* Type */; + case ts9__default.default.SyntaxKind.ModuleDeclaration: + return 1 /* Namespace */; + case ts9__default.default.SyntaxKind.Parameter: + if (node.parent.parent.kind === ts9__default.default.SyntaxKind.IndexSignature || identifierToKeywordKind(node) === ts9__default.default.SyntaxKind.ThisKeyword) { + return; + } + // falls through + case ts9__default.default.SyntaxKind.BindingElement: + case ts9__default.default.SyntaxKind.VariableDeclaration: + return node.parent.name === node ? 4 /* Value */ : void 0; + } +} +function getPropertyName(propertyName) { + if (propertyName.kind === ts9__default.default.SyntaxKind.ComputedPropertyName) { + const expression = unwrapParentheses(propertyName.expression); + if (ts9__default.default.isPrefixUnaryExpression(expression)) { + let negate = false; + switch (expression.operator) { + case ts9__default.default.SyntaxKind.MinusToken: + negate = true; + // falls through + case ts9__default.default.SyntaxKind.PlusToken: + return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + default: + return; + } + } + if (ts9__default.default.isBigIntLiteral(expression)) { + return expression.text.slice(0, -1); + } + if (isNumericOrStringLikeLiteral(expression)) { + return expression.text; + } + return; + } + return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; +} +function unwrapParentheses(node) { + while (node.kind === ts9__default.default.SyntaxKind.ParenthesizedExpression) { + node = node.expression; + } + return node; +} +var UsageDomain = /* @__PURE__ */ ((UsageDomain2) => { + UsageDomain2[UsageDomain2["Namespace"] = 1] = "Namespace"; + UsageDomain2[UsageDomain2["Type"] = 2] = "Type"; + UsageDomain2[UsageDomain2["Value"] = 4] = "Value"; + UsageDomain2[UsageDomain2["Any"] = 7] = "Any"; + UsageDomain2[UsageDomain2["TypeQuery"] = 8] = "TypeQuery"; + UsageDomain2[UsageDomain2["ValueOrNamespace"] = 5] = "ValueOrNamespace"; + return UsageDomain2; +})(UsageDomain || {}); +function getUsageDomain(node) { + const parent = node.parent; + switch (parent.kind) { + // Value + case ts9__default.default.SyntaxKind.BindingElement: + if (parent.initializer === node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9__default.default.SyntaxKind.BreakStatement: + case ts9__default.default.SyntaxKind.ClassDeclaration: + case ts9__default.default.SyntaxKind.ClassExpression: + case ts9__default.default.SyntaxKind.ContinueStatement: + case ts9__default.default.SyntaxKind.EnumDeclaration: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.ImportSpecifier: + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.JsxAttribute: + case ts9__default.default.SyntaxKind.LabeledStatement: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.ModuleDeclaration: + case ts9__default.default.SyntaxKind.NamedTupleMember: + case ts9__default.default.SyntaxKind.NamespaceExport: + case ts9__default.default.SyntaxKind.NamespaceExportDeclaration: + case ts9__default.default.SyntaxKind.NamespaceImport: + case ts9__default.default.SyntaxKind.PropertySignature: + case ts9__default.default.SyntaxKind.SetAccessor: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + case ts9__default.default.SyntaxKind.TypeParameter: + case ts9__default.default.SyntaxKind.TypePredicate: + break; + case ts9__default.default.SyntaxKind.EnumMember: + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.Parameter: + case ts9__default.default.SyntaxKind.PropertyAccessExpression: + case ts9__default.default.SyntaxKind.PropertyAssignment: + case ts9__default.default.SyntaxKind.PropertyDeclaration: + case ts9__default.default.SyntaxKind.VariableDeclaration: + if (parent.name !== node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9__default.default.SyntaxKind.ExportAssignment: + return 7 /* Any */; + case ts9__default.default.SyntaxKind.ExportSpecifier: + if (parent.propertyName === void 0 || parent.propertyName === node) { + return 7 /* Any */; + } + break; + case ts9__default.default.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9__default.default.SyntaxKind.ImplementsKeyword || parent.parent.parent.kind === ts9__default.default.SyntaxKind.InterfaceDeclaration ? 2 /* Type */ : 4 /* Value */; + case ts9__default.default.SyntaxKind.QualifiedName: + if (parent.left === node) { + if (getEntityNameParent(parent).kind === ts9__default.default.SyntaxKind.TypeQuery) { + return 1 /* Namespace */ | 8 /* TypeQuery */; + } + return 1 /* Namespace */; + } + break; + case ts9__default.default.SyntaxKind.TypeQuery: + return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; + case ts9__default.default.SyntaxKind.TypeReference: + return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + default: + return 5 /* ValueOrNamespace */; + } +} +function getEntityNameParent(name) { + let parent = name.parent; + while (parent.kind === ts9__default.default.SyntaxKind.QualifiedName) { + parent = parent.parent; + } + return parent; +} +function isBlockScopeBoundary(node) { + switch (node.kind) { + case ts9__default.default.SyntaxKind.Block: { + const parent = node.parent; + return parent.kind !== ts9__default.default.SyntaxKind.CatchClause && // blocks inside SourceFile are block scope boundaries + (parent.kind === ts9__default.default.SyntaxKind.SourceFile || // blocks that are direct children of a function scope boundary are no scope boundary + // for example the FunctionBlock is part of the function scope of the containing function + !isFunctionScopeBoundary(parent)) ? 2 /* Block */ : 0 /* None */; + } + case ts9__default.default.SyntaxKind.CaseBlock: + case ts9__default.default.SyntaxKind.CatchClause: + case ts9__default.default.SyntaxKind.ForInStatement: + case ts9__default.default.SyntaxKind.ForOfStatement: + case ts9__default.default.SyntaxKind.ForStatement: + case ts9__default.default.SyntaxKind.WithStatement: + return 2 /* Block */; + default: + return 0 /* None */; + } +} + +// src/usage/scopes.ts +var AbstractScope = class { + constructor(global) { + this.global = global; + } + namespaceScopes = void 0; + uses = []; + variables = /* @__PURE__ */ new Map(); + #enumScopes = void 0; + addUse(use) { + this.uses.push(use); + } + addVariable(identifier, name, selector, exported, domain) { + const variables = this.getDestinationScope(selector).getVariables(); + const declaration = { + declaration: name, + domain, + exported + }; + const variable = variables.get(identifier); + if (variable === void 0) { + variables.set(identifier, { + declarations: [declaration], + domain, + uses: [] + }); + } else { + variable.domain |= domain; + variable.declarations.push(declaration); + } + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + createOrReuseEnumScope(name, _exported) { + let scope; + if (this.#enumScopes === void 0) { + this.#enumScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.#enumScopes.get(name); + } + if (scope === void 0) { + scope = new EnumScope(this); + this.#enumScopes.set(name, scope); + } + return scope; + } + // only relevant for the root scope + createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { + let scope; + if (this.namespaceScopes === void 0) { + this.namespaceScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.namespaceScopes.get(name); + } + if (scope === void 0) { + scope = new NamespaceScope(ambient, hasExportStatement, this); + this.namespaceScopes.set(name, scope); + } else { + scope.refresh(ambient, hasExportStatement); + } + return scope; + } + end(cb) { + if (this.namespaceScopes !== void 0) { + this.namespaceScopes.forEach((value) => value.finish(cb)); + } + this.namespaceScopes = this.#enumScopes = void 0; + this.applyUses(); + this.variables.forEach((variable) => { + for (const declaration of variable.declarations) { + const result = { + declarations: [], + domain: declaration.domain, + exported: declaration.exported, + inGlobalScope: this.global, + uses: [] + }; + for (const other of variable.declarations) { + if (other.domain & declaration.domain) { + result.declarations.push(other.declaration); + } + } + for (const use of variable.uses) { + if (use.domain & declaration.domain) { + result.uses.push(use); + } + } + cb(result, declaration.declaration, this); + } + }); + } + getFunctionScope() { + return this; + } + getVariables() { + return this.variables; + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + markExported(_name) { + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + addUseToParent(_use) { + } + applyUse(use, variables = this.variables) { + const variable = variables.get(use.location.text); + if (variable === void 0 || (variable.domain & use.domain) === 0) { + return false; + } + variable.uses.push(use); + return true; + } + applyUses() { + for (const use of this.uses) { + if (!this.applyUse(use)) { + this.addUseToParent(use); + } + } + this.uses = []; + } +}; +var NonRootScope = class extends AbstractScope { + constructor(parent, boundary) { + super(false); + this.parent = parent; + this.boundary = boundary; + } + getDestinationScope(selector) { + return this.boundary & selector ? this : this.parent.getDestinationScope(selector); + } + addUseToParent(use) { + return this.parent.addUse(use, this); + } +}; +var AbstractNamedExpressionScope = class extends NonRootScope { + #domain; + #name; + constructor(name, domain, parent) { + super(parent, 1 /* Function */); + this.#name = name; + this.#domain = domain; + } + addUse(use, source) { + if (source !== this.innerScope) { + return this.innerScope.addUse(use); + } + if (use.domain & this.#domain && use.location.text === this.#name.text) { + this.uses.push(use); + } else { + return this.parent.addUse(use, this); + } + } + end(cb) { + this.innerScope.end(cb); + return cb( + { + declarations: [this.#name], + domain: this.#domain, + exported: false, + inGlobalScope: false, + uses: this.uses + }, + this.#name, + this + ); + } + getDestinationScope() { + return this.innerScope; + } + getFunctionScope() { + return this.innerScope; + } +}; +var BlockScope = class extends NonRootScope { + #functionScope; + constructor(functionScope, parent) { + super(parent, 2 /* Block */); + this.#functionScope = functionScope; + } + getFunctionScope() { + return this.#functionScope; + } +}; +var ClassExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new NonRootScope(this, 1 /* Function */); + constructor(name, parent) { + super(name, 4 /* Value */ | 2 /* Type */, parent); + } +}; +var ConditionalTypeScope = class extends NonRootScope { + #state = 0 /* Initial */; + constructor(parent) { + super(parent, 8 /* ConditionalType */); + } + addUse(use) { + if (this.#state === 2 /* TrueType */) { + return void this.uses.push(use); + } + return this.parent.addUse(use, this); + } + updateState(newState) { + this.#state = newState; + } +}; +var EnumScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + end() { + this.applyUses(); + } +}; +var FunctionScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + beginBody() { + this.applyUses(); + } +}; +var FunctionExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new FunctionScope(this); + constructor(name, parent) { + super(name, 4 /* Value */, parent); + } + beginBody() { + return this.innerScope.beginBody(); + } +}; +var NamespaceScope = class extends NonRootScope { + #ambient; + #exports = void 0; + #hasExport; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(ambient, hasExport, parent) { + super(parent, 1 /* Function */); + this.#ambient = ambient; + this.#hasExport = hasExport; + } + addUse(use, source) { + if (source !== this.#innerScope) { + return this.#innerScope.addUse(use); + } + this.uses.push(use); + } + createOrReuseEnumScope(name, exported) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseEnumScope(name, exported); + } + return super.createOrReuseEnumScope(name, exported); + } + createOrReuseNamespaceScope(name, exported, ambient, hasExportStatement) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + return super.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + end(cb) { + this.#innerScope.end((variable, key, scope) => { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + return cb(variable, key, scope); + } + const namespaceVar = this.variables.get(key.text); + if (namespaceVar === void 0) { + this.variables.set(key.text, { + declarations: variable.declarations.map(mapDeclaration), + domain: variable.domain, + uses: [...variable.uses] + }); + } else { + outer: for (const declaration of variable.declarations) { + for (const existing of namespaceVar.declarations) { + if (existing.declaration === declaration) { + continue outer; + } + namespaceVar.declarations.push(mapDeclaration(declaration)); + } + } + namespaceVar.domain |= variable.domain; + for (const use of variable.uses) { + if (namespaceVar.uses.includes(use)) { + continue; + } + namespaceVar.uses.push(use); + } + } + }); + this.applyUses(); + this.#innerScope = new NonRootScope(this, 1 /* Function */); + } + finish(cb) { + return super.end(cb); + } + getDestinationScope() { + return this.#innerScope; + } + markExported(name) { + if (this.#exports === void 0) { + this.#exports = /* @__PURE__ */ new Set(); + } + this.#exports.add(name.text); + } + refresh(ambient, hasExport) { + this.#ambient = ambient; + this.#hasExport = hasExport; + } +}; +var RootScope = class extends AbstractScope { + #exportAll; + #exports = void 0; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(exportAll, global) { + super(global); + this.#exportAll = exportAll; + } + addUse(use, origin) { + if (origin === this.#innerScope) { + return super.addUse(use); + } + return this.#innerScope.addUse(use); + } + addVariable(identifier, name, selector, exported, domain) { + if (domain & 8 /* Import */) { + return super.addVariable(identifier, name, selector, exported, domain); + } + return this.#innerScope.addVariable( + identifier, + name, + selector, + exported, + domain + ); + } + end(cb) { + this.#innerScope.end((value, key) => { + value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.inGlobalScope = this.global; + return cb(value, key, this); + }); + return super.end((value, key, scope) => { + value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + return cb(value, key, scope); + }); + } + getDestinationScope() { + return this; + } + markExported(id) { + if (this.#exports === void 0) { + this.#exports = [id.text]; + } else { + this.#exports.push(id.text); + } + } +}; +function mapDeclaration(declaration) { + return { + declaration, + domain: getDeclarationDomain(declaration), + exported: true + }; +} + +// src/usage/UsageWalker.ts +var UsageWalker = class { + #result = /* @__PURE__ */ new Map(); + #scope; + getUsage(sourceFile) { + const variableCallback = (variable, key) => { + this.#result.set(key, variable); + }; + const isModule = ts9__default.default.isExternalModule(sourceFile); + this.#scope = new RootScope( + sourceFile.isDeclarationFile && isModule && !containsExportStatement(sourceFile), + !isModule + ); + const cb = (node) => { + if (isBlockScopeBoundary(node)) { + return continueWithScope( + node, + new BlockScope(this.#scope.getFunctionScope(), this.#scope), + handleBlockScope + ); + } + switch (node.kind) { + case ts9__default.default.SyntaxKind.ArrowFunction: + case ts9__default.default.SyntaxKind.CallSignature: + case ts9__default.default.SyntaxKind.Constructor: + case ts9__default.default.SyntaxKind.ConstructorType: + case ts9__default.default.SyntaxKind.ConstructSignature: + case ts9__default.default.SyntaxKind.FunctionDeclaration: + case ts9__default.default.SyntaxKind.FunctionExpression: + case ts9__default.default.SyntaxKind.FunctionType: + case ts9__default.default.SyntaxKind.GetAccessor: + case ts9__default.default.SyntaxKind.MethodDeclaration: + case ts9__default.default.SyntaxKind.MethodSignature: + case ts9__default.default.SyntaxKind.SetAccessor: + return this.#handleFunctionLikeDeclaration( + node, + cb, + variableCallback + ); + case ts9__default.default.SyntaxKind.ClassDeclaration: + this.#handleDeclaration( + node, + true, + 4 /* Value */ | 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9__default.default.SyntaxKind.ClassExpression: + return continueWithScope( + node, + node.name !== void 0 ? new ClassExpressionScope( + node.name, + this.#scope + ) : new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9__default.default.SyntaxKind.ConditionalType: + return this.#handleConditionalType( + node, + cb, + variableCallback + ); + case ts9__default.default.SyntaxKind.EnumDeclaration: + this.#handleDeclaration( + node, + true, + 7 /* Any */ + ); + return continueWithScope( + node, + this.#scope.createOrReuseEnumScope( + node.name.text, + includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ) + ) + ); + case ts9__default.default.SyntaxKind.EnumMember: + this.#scope.addVariable( + getPropertyName(node.name), + node.name, + 1 /* Function */, + true, + 4 /* Value */ + ); + break; + case ts9__default.default.SyntaxKind.ExportAssignment: + if (node.expression.kind === ts9__default.default.SyntaxKind.Identifier) { + return this.#scope.markExported( + node.expression + ); + } + break; + case ts9__default.default.SyntaxKind.ExportSpecifier: + if (node.propertyName !== void 0) { + return this.#scope.markExported( + node.propertyName, + node.name + ); + } + return this.#scope.markExported(node.name); + case ts9__default.default.SyntaxKind.Identifier: { + const domain = getUsageDomain(node); + if (domain !== void 0) { + this.#scope.addUse({ domain, location: node }); + } + return; + } + case ts9__default.default.SyntaxKind.ImportClause: + case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: + case ts9__default.default.SyntaxKind.ImportSpecifier: + case ts9__default.default.SyntaxKind.NamespaceImport: + this.#handleDeclaration( + node, + false, + 7 /* Any */ | 8 /* Import */ + ); + break; + case ts9__default.default.SyntaxKind.InterfaceDeclaration: + case ts9__default.default.SyntaxKind.TypeAliasDeclaration: + this.#handleDeclaration( + node, + true, + 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9__default.default.SyntaxKind.MappedType: + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9__default.default.SyntaxKind.ModuleDeclaration: + return this.#handleModule( + node, + continueWithScope + ); + case ts9__default.default.SyntaxKind.Parameter: + if (node.parent.kind !== ts9__default.default.SyntaxKind.IndexSignature && (node.name.kind !== ts9__default.default.SyntaxKind.Identifier || identifierToKeywordKind( + node.name + ) !== ts9__default.default.SyntaxKind.ThisKeyword)) { + this.#handleBindingName( + node.name, + false, + false + ); + } + break; + case ts9__default.default.SyntaxKind.TypeParameter: + this.#scope.addVariable( + node.name.text, + node.name, + node.parent.kind === ts9__default.default.SyntaxKind.InferType ? 8 /* InferType */ : 7 /* Type */, + false, + 2 /* Type */ + ); + break; + // End of Scope specific handling + case ts9__default.default.SyntaxKind.VariableDeclarationList: + this.#handleVariableDeclaration(node); + break; + } + return ts9__default.default.forEachChild(node, cb); + }; + const continueWithScope = (node, scope, next = forEachChild) => { + const savedScope = this.#scope; + this.#scope = scope; + next(node); + this.#scope.end(variableCallback); + this.#scope = savedScope; + }; + const handleBlockScope = (node) => { + if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + this.#handleBindingName( + node.variableDeclaration.name, + true, + false + ); + } + return ts9__default.default.forEachChild(node, cb); + }; + ts9__default.default.forEachChild(sourceFile, cb); + this.#scope.end(variableCallback); + return this.#result; + function forEachChild(node) { + return ts9__default.default.forEachChild(node, cb); + } + } + #handleBindingName(name, blockScoped, exported) { + if (name.kind === ts9__default.default.SyntaxKind.Identifier) { + return this.#scope.addVariable( + name.text, + name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + } + forEachDestructuringIdentifier(name, (declaration) => { + this.#scope.addVariable( + declaration.name.text, + declaration.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + }); + } + #handleConditionalType(node, cb, varCb) { + const savedScope = this.#scope; + const scope = this.#scope = new ConditionalTypeScope(savedScope); + cb(node.checkType); + scope.updateState(1 /* Extends */); + cb(node.extendsType); + scope.updateState(2 /* TrueType */); + cb(node.trueType); + scope.updateState(3 /* FalseType */); + cb(node.falseType); + scope.end(varCb); + this.#scope = savedScope; + } + #handleDeclaration(node, blockScoped, domain) { + if (node.name !== void 0) { + this.#scope.addVariable( + node.name.text, + node.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ), + domain + ); + } + } + #handleFunctionLikeDeclaration(node, cb, varCb) { + if (ts9__default.default.canHaveDecorators(node)) { + ts9__default.default.getDecorators(node)?.forEach(cb); + } + const savedScope = this.#scope; + if (node.kind === ts9__default.default.SyntaxKind.FunctionDeclaration) { + this.#handleDeclaration(node, false, 4 /* Value */); + } + const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== void 0) { + cb(node.name); + } + if (node.typeParameters !== void 0) { + node.typeParameters.forEach(cb); + } + node.parameters.forEach(cb); + if (node.type !== void 0) { + cb(node.type); + } + if (node.body !== void 0) { + scope.beginBody(); + cb(node.body); + } + scope.end(varCb); + this.#scope = savedScope; + } + #handleModule(node, next) { + if (node.flags & ts9__default.default.NodeFlags.GlobalAugmentation) { + return next( + node, + this.#scope.createOrReuseNamespaceScope("-global", false, true, false) + ); + } + if (node.name.kind === ts9__default.default.SyntaxKind.Identifier) { + const exported = isNamespaceExported(node); + this.#scope.addVariable( + node.name.text, + node.name, + 1 /* Function */, + exported, + 1 /* Namespace */ | 4 /* Value */ + ); + const ambient = includesModifier( + node.modifiers, + ts9__default.default.SyntaxKind.DeclareKeyword + ); + return next( + node, + this.#scope.createOrReuseNamespaceScope( + node.name.text, + exported, + ambient, + ambient && namespaceHasExportStatement(node) + ) + ); + } + return next( + node, + this.#scope.createOrReuseNamespaceScope( + `"${node.name.text}"`, + false, + true, + namespaceHasExportStatement(node) + ) + ); + } + #handleVariableDeclaration(declarationList) { + const blockScoped = isBlockScopedVariableDeclarationList(declarationList); + const exported = declarationList.parent.kind === ts9__default.default.SyntaxKind.VariableStatement && includesModifier( + declarationList.parent.modifiers, + ts9__default.default.SyntaxKind.ExportKeyword + ); + for (const declaration of declarationList.declarations) { + this.#handleBindingName(declaration.name, blockScoped, exported); + } + } +}; +function containsExportStatement(block) { + for (const statement of block.statements) { + if (statement.kind === ts9__default.default.SyntaxKind.ExportDeclaration || statement.kind === ts9__default.default.SyntaxKind.ExportAssignment) { + return true; + } + } + return false; +} +function forEachDestructuringIdentifier(pattern, fn) { + for (const element of pattern.elements) { + if (element.kind !== ts9__default.default.SyntaxKind.BindingElement) { + continue; + } + let result; + if (element.name.kind === ts9__default.default.SyntaxKind.Identifier) { + result = fn(element); + } else { + result = forEachDestructuringIdentifier(element.name, fn); + } + if (result) { + return result; + } + } +} +function isBlockScopedVariableDeclarationList(declarationList) { + return (declarationList.flags & ts9__default.default.NodeFlags.BlockScoped) !== 0; +} +function isNamespaceExported(node) { + return node.parent.kind === ts9__default.default.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9__default.default.SyntaxKind.ExportKeyword); +} +function namespaceHasExportStatement(ns) { + if (ns.body === void 0 || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { + return false; + } + return containsExportStatement(ns.body); +} + +// src/usage/collectVariableUsage.ts +function collectVariableUsage(sourceFile) { + return new UsageWalker().getUsage(sourceFile); +} + +exports.AccessKind = AccessKind; +exports.DeclarationDomain = DeclarationDomain; +exports.UsageDomain = UsageDomain; +exports.collectVariableUsage = collectVariableUsage; +exports.forEachComment = forEachComment; +exports.forEachToken = forEachToken; +exports.getAccessKind = getAccessKind; +exports.getCallSignaturesOfType = getCallSignaturesOfType; +exports.getPropertyOfType = getPropertyOfType; +exports.getWellKnownSymbolPropertyOfType = getWellKnownSymbolPropertyOfType; +exports.hasDecorators = hasDecorators; +exports.hasExpressionInitializer = hasExpressionInitializer; +exports.hasInitializer = hasInitializer; +exports.hasJSDoc = hasJSDoc; +exports.hasModifiers = hasModifiers; +exports.hasType = hasType; +exports.hasTypeArguments = hasTypeArguments; +exports.includesModifier = includesModifier; +exports.intersectionTypeParts = intersectionTypeParts; +exports.isAbstractKeyword = isAbstractKeyword; +exports.isAccessExpression = isAccessExpression; +exports.isAccessibilityModifier = isAccessibilityModifier; +exports.isAccessorDeclaration = isAccessorDeclaration; +exports.isAccessorKeyword = isAccessorKeyword; +exports.isAnyKeyword = isAnyKeyword; +exports.isArrayBindingElement = isArrayBindingElement; +exports.isArrayBindingOrAssignmentPattern = isArrayBindingOrAssignmentPattern; +exports.isAssertKeyword = isAssertKeyword; +exports.isAssertsKeyword = isAssertsKeyword; +exports.isAssignmentKind = isAssignmentKind; +exports.isAssignmentPattern = isAssignmentPattern; +exports.isAsyncKeyword = isAsyncKeyword; +exports.isAwaitKeyword = isAwaitKeyword; +exports.isBigIntKeyword = isBigIntKeyword; +exports.isBigIntLiteralType = isBigIntLiteralType; +exports.isBindingOrAssignmentElementRestIndicator = isBindingOrAssignmentElementRestIndicator; +exports.isBindingOrAssignmentElementTarget = isBindingOrAssignmentElementTarget; +exports.isBindingOrAssignmentPattern = isBindingOrAssignmentPattern; +exports.isBindingPattern = isBindingPattern; +exports.isBlockLike = isBlockLike; +exports.isBooleanKeyword = isBooleanKeyword; +exports.isBooleanLiteral = isBooleanLiteral; +exports.isBooleanLiteralType = isBooleanLiteralType; +exports.isClassLikeDeclaration = isClassLikeDeclaration; +exports.isClassMemberModifier = isClassMemberModifier; +exports.isColonToken = isColonToken; +exports.isCompilerOptionEnabled = isCompilerOptionEnabled; +exports.isConditionalType = isConditionalType; +exports.isConstAssertionExpression = isConstAssertionExpression; +exports.isConstKeyword = isConstKeyword; +exports.isDeclarationName = isDeclarationName; +exports.isDeclarationWithTypeParameterChildren = isDeclarationWithTypeParameterChildren; +exports.isDeclarationWithTypeParameters = isDeclarationWithTypeParameters; +exports.isDeclareKeyword = isDeclareKeyword; +exports.isDefaultKeyword = isDefaultKeyword; +exports.isDestructuringPattern = isDestructuringPattern; +exports.isDotToken = isDotToken; +exports.isEndOfFileToken = isEndOfFileToken; +exports.isEntityNameExpression = isEntityNameExpression; +exports.isEntityNameOrEntityNameExpression = isEntityNameOrEntityNameExpression; +exports.isEnumType = isEnumType; +exports.isEqualsGreaterThanToken = isEqualsGreaterThanToken; +exports.isEqualsToken = isEqualsToken; +exports.isEvolvingArrayType = isEvolvingArrayType; +exports.isExclamationToken = isExclamationToken; +exports.isExportKeyword = isExportKeyword; +exports.isFalseKeyword = isFalseKeyword; +exports.isFalseLiteral = isFalseLiteral; +exports.isFalseLiteralType = isFalseLiteralType; +exports.isFalsyType = isFalsyType; +exports.isForInOrOfStatement = isForInOrOfStatement; +exports.isFreshableIntrinsicType = isFreshableIntrinsicType; +exports.isFreshableType = isFreshableType; +exports.isFunctionLikeDeclaration = isFunctionLikeDeclaration; +exports.isFunctionScopeBoundary = isFunctionScopeBoundary; +exports.isImportExpression = isImportExpression; +exports.isImportKeyword = isImportKeyword; +exports.isInKeyword = isInKeyword; +exports.isIndexType = isIndexType; +exports.isIndexedAccessType = isIndexedAccessType; +exports.isInstantiableType = isInstantiableType; +exports.isIntersectionType = isIntersectionType; +exports.isIntrinsicAnyType = isIntrinsicAnyType; +exports.isIntrinsicBigIntType = isIntrinsicBigIntType; +exports.isIntrinsicBooleanType = isIntrinsicBooleanType; +exports.isIntrinsicESSymbolType = isIntrinsicESSymbolType; +exports.isIntrinsicErrorType = isIntrinsicErrorType; +exports.isIntrinsicNeverType = isIntrinsicNeverType; +exports.isIntrinsicNonPrimitiveType = isIntrinsicNonPrimitiveType; +exports.isIntrinsicNullType = isIntrinsicNullType; +exports.isIntrinsicNumberType = isIntrinsicNumberType; +exports.isIntrinsicStringType = isIntrinsicStringType; +exports.isIntrinsicType = isIntrinsicType; +exports.isIntrinsicUndefinedType = isIntrinsicUndefinedType; +exports.isIntrinsicUnknownType = isIntrinsicUnknownType; +exports.isIntrinsicVoidType = isIntrinsicVoidType; +exports.isIterationStatement = isIterationStatement; +exports.isJSDocComment = isJSDocComment; +exports.isJSDocNamespaceBody = isJSDocNamespaceBody; +exports.isJSDocNamespaceDeclaration = isJSDocNamespaceDeclaration; +exports.isJSDocText = isJSDocText; +exports.isJSDocTypeReferencingNode = isJSDocTypeReferencingNode; +exports.isJsonMinusNumericLiteral = isJsonMinusNumericLiteral; +exports.isJsonObjectExpression = isJsonObjectExpression; +exports.isJsxAttributeLike = isJsxAttributeLike; +exports.isJsxAttributeValue = isJsxAttributeValue; +exports.isJsxChild = isJsxChild; +exports.isJsxTagNameExpression = isJsxTagNameExpression; +exports.isJsxTagNamePropertyAccess = isJsxTagNamePropertyAccess; +exports.isLiteralToken = isLiteralToken; +exports.isLiteralType = isLiteralType; +exports.isModifierFlagSet = isModifierFlagSet; +exports.isModuleBody = isModuleBody; +exports.isModuleName = isModuleName; +exports.isModuleReference = isModuleReference; +exports.isNamedDeclarationWithName = isNamedDeclarationWithName; +exports.isNamedImportBindings = isNamedImportBindings; +exports.isNamedImportsOrExports = isNamedImportsOrExports; +exports.isNamespaceBody = isNamespaceBody; +exports.isNamespaceDeclaration = isNamespaceDeclaration; +exports.isNeverKeyword = isNeverKeyword; +exports.isNodeFlagSet = isNodeFlagSet; +exports.isNullKeyword = isNullKeyword; +exports.isNullLiteral = isNullLiteral; +exports.isNumberKeyword = isNumberKeyword; +exports.isNumberLiteralType = isNumberLiteralType; +exports.isNumericOrStringLikeLiteral = isNumericOrStringLikeLiteral; +exports.isNumericPropertyName = isNumericPropertyName; +exports.isObjectBindingOrAssignmentElement = isObjectBindingOrAssignmentElement; +exports.isObjectBindingOrAssignmentPattern = isObjectBindingOrAssignmentPattern; +exports.isObjectFlagSet = isObjectFlagSet; +exports.isObjectKeyword = isObjectKeyword; +exports.isObjectType = isObjectType; +exports.isObjectTypeDeclaration = isObjectTypeDeclaration; +exports.isOutKeyword = isOutKeyword; +exports.isOverrideKeyword = isOverrideKeyword; +exports.isParameterPropertyModifier = isParameterPropertyModifier; +exports.isPrivateKeyword = isPrivateKeyword; +exports.isPropertyAccessEntityNameExpression = isPropertyAccessEntityNameExpression; +exports.isPropertyNameLiteral = isPropertyNameLiteral; +exports.isPropertyReadonlyInType = isPropertyReadonlyInType; +exports.isProtectedKeyword = isProtectedKeyword; +exports.isPseudoLiteralToken = isPseudoLiteralToken; +exports.isPublicKeyword = isPublicKeyword; +exports.isQuestionDotToken = isQuestionDotToken; +exports.isQuestionToken = isQuestionToken; +exports.isReadonlyKeyword = isReadonlyKeyword; +exports.isSignatureDeclaration = isSignatureDeclaration; +exports.isStaticKeyword = isStaticKeyword; +exports.isStrictCompilerOptionEnabled = isStrictCompilerOptionEnabled; +exports.isStringKeyword = isStringKeyword; +exports.isStringLiteralType = isStringLiteralType; +exports.isStringMappingType = isStringMappingType; +exports.isSubstitutionType = isSubstitutionType; +exports.isSuperElementAccessExpression = isSuperElementAccessExpression; +exports.isSuperExpression = isSuperExpression; +exports.isSuperKeyword = isSuperKeyword; +exports.isSuperProperty = isSuperProperty; +exports.isSuperPropertyAccessExpression = isSuperPropertyAccessExpression; +exports.isSymbolFlagSet = isSymbolFlagSet; +exports.isSymbolKeyword = isSymbolKeyword; +exports.isSyntaxList = isSyntaxList; +exports.isTemplateLiteralType = isTemplateLiteralType; +exports.isThenableType = isThenableType; +exports.isThisExpression = isThisExpression; +exports.isThisKeyword = isThisKeyword; +exports.isTransientSymbolLinksFlagSet = isTransientSymbolLinksFlagSet; +exports.isTrueKeyword = isTrueKeyword; +exports.isTrueLiteral = isTrueLiteral; +exports.isTrueLiteralType = isTrueLiteralType; +exports.isTupleType = isTupleType; +exports.isTupleTypeReference = isTupleTypeReference; +exports.isTypeFlagSet = isTypeFlagSet; +exports.isTypeOnlyCompatibleAliasDeclaration = isTypeOnlyCompatibleAliasDeclaration; +exports.isTypeParameter = isTypeParameter; +exports.isTypeReference = isTypeReference; +exports.isTypeReferenceType = isTypeReferenceType; +exports.isTypeVariable = isTypeVariable; +exports.isUndefinedKeyword = isUndefinedKeyword; +exports.isUnionOrIntersectionType = isUnionOrIntersectionType; +exports.isUnionOrIntersectionTypeNode = isUnionOrIntersectionTypeNode; +exports.isUnionType = isUnionType; +exports.isUniqueESSymbolType = isUniqueESSymbolType; +exports.isUnknownKeyword = isUnknownKeyword; +exports.isValidPropertyAccess = isValidPropertyAccess; +exports.isVariableLikeDeclaration = isVariableLikeDeclaration; +exports.isVoidKeyword = isVoidKeyword; +exports.symbolHasReadonlyDeclaration = symbolHasReadonlyDeclaration; +exports.typeIsLiteral = typeIsLiteral; +exports.typeParts = typeParts; +exports.unionTypeParts = unionTypeParts; diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.cts b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.cts new file mode 100644 index 0000000000..217906ef6a --- /dev/null +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.cts @@ -0,0 +1,3003 @@ +import ts from 'typescript'; + +/** + * Callback type used for {@link forEachComment}. + * @category Callbacks + * @param fullText Full parsed text of the comment. + * @param comment Text range of the comment in its file. + * @example + * ```ts + * let onComment: ForEachCommentCallback = (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }; + * ``` + */ +type ForEachCommentCallback = (fullText: string, comment: ts.CommentRange) => void; +/** + * Iterates over all comments owned by `node` or its children. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachComment(node, (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }); + * ``` + */ +declare function forEachComment(node: ts.Node, callback: ForEachCommentCallback, sourceFile?: ts.SourceFile): void; + +/** + * An option that can be tested with {@link isCompilerOptionEnabled}. + * @category Compiler Options + */ +type BooleanCompilerOptions = keyof { + [K in keyof ts.CompilerOptions as NonNullable extends boolean ? K : never]: unknown; +}; +/** + * An option that can be tested with {@link isStrictCompilerOptionEnabled}. + * @category Compiler Options + */ +type StrictCompilerOption = "alwaysStrict" | "noImplicitAny" | "noImplicitThis" | "strictBindCallApply" | "strictFunctionTypes" | "strictNullChecks" | "strictPropertyInitialization"; +/** + * Checks if a given compiler option is enabled. + * It handles dependencies of options, e.g. `declaration` is implicitly enabled by `composite` or `strictNullChecks` is enabled by `strict`. + * However, it does not check dependencies that are already checked and reported as errors, e.g. `checkJs` without `allowJs`. + * This function only handles boolean flags. + * @category Compiler Options + * @example + * ```ts + * const options = { + * allowJs: true, + * }; + * + * isCompilerOptionEnabled(options, "allowJs"); // true + * isCompilerOptionEnabled(options, "allowSyntheticDefaultImports"); // false + * ``` + */ +declare function isCompilerOptionEnabled(options: ts.CompilerOptions, option: BooleanCompilerOptions): boolean; +/** + * Checks if a given compiler option is enabled, accounting for whether all flags + * (except `strictPropertyInitialization`) have been enabled by `strict: true`. + * @category Compiler Options + * @example + * ```ts + * const optionsLenient = { + * noImplicitAny: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitThis"); // false + * ``` + * @example + * ```ts + * const optionsStrict = { + * noImplicitThis: false, + * strict: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitThis"); // false + * ``` + */ +declare function isStrictCompilerOptionEnabled(options: ts.CompilerOptions, option: StrictCompilerOption): boolean; + +/** + * Test if the given node has the given `ModifierFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModifierFlagSet(node, ts.ModifierFlags.Abstract)) { + * // ... + * } + * ``` + */ +declare function isModifierFlagSet(node: ts.Declaration, flag: ts.ModifierFlags): boolean; +/** + * Test if the given node has the given `NodeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { + * // ... + * } + * ``` + */ +declare const isNodeFlagSet: (node: ts.Node, flag: ts.NodeFlags) => boolean; +/** + * Test if the given node has the given `ObjectFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectFlagSet(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isObjectFlagSet(objectType: ts.ObjectType, flag: ts.ObjectFlags): boolean; +/** + * Test if the given node has the given `SymbolFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * + * if (isSymbolFlagSet(symbol, ts.SymbolFlags.Accessor)) { + * // ... + * } + * ``` + */ +declare const isSymbolFlagSet: (symbol: ts.Symbol, flag: ts.SymbolFlags) => boolean; +/** + * Test if the given symbol's links has the given `CheckFlags` set. + * @internal + */ +declare function isTransientSymbolLinksFlagSet(links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean; +/** + * Test if the given node has the given `TypeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeFlagSet(type, ts.TypeFlags.Any)) { + * // ... + * } + * ``` + */ +declare const isTypeFlagSet: (type: ts.Type, flag: ts.TypeFlags) => boolean; + +/** + * Test if the given iterable includes a modifier of any of the given kinds. + * @category Modifier Utilities + * @example + * ```ts + * declare const modifiers: ts.Modifier[]; + * + * includesModifier(modifiers, ts.SyntaxKind.AbstractKeyword); + * ``` + */ +declare function includesModifier(modifiers: Iterable | undefined, ...kinds: ts.ModifierSyntaxKind[]): boolean; + +/** + * What operations(s), if any, an expression applies. + */ +declare enum AccessKind { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + ReadWrite = 3 +} +/** + * Determines which operation(s), if any, an expression applies. + * @example + * ```ts + * declare const node: ts.Expression; + * + * if (getAccessKind(node).Write & AccessKind.Write) !== 0) { + * // this is a reassignment (write) + * } + * ``` + */ +declare function getAccessKind(node: ts.Expression): AccessKind; + +/** + * An `AssertionExpression` that is declared as const. + * @category Node Types + */ +type ConstAssertionExpression = ts.AssertionExpression & { + type: ts.TypeReferenceNode; + typeName: ConstAssertionIdentifier; +}; +/** + * An `Identifier` with an `escapedText` value of `"const"`. + * @category Node Types + */ +type ConstAssertionIdentifier = ts.Identifier & { + escapedText: "const" & ts.__String; +}; +/** + * a `NamedDeclaration` that definitely has a name. + * @category Node Types + */ +interface NamedDeclarationWithName extends ts.NamedDeclaration { + name: ts.DeclarationName; +} +/** + * A number or string-like literal. + * @category Node Types + */ +type NumericOrStringLikeLiteral = ts.NumericLiteral | ts.StringLiteralLike; +/** + * Test if a node is a {@link ConstAssertionExpression}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstAssertionExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ConstAssertionExpression}. + */ +declare function isConstAssertionExpression(node: ts.AssertionExpression): node is ConstAssertionExpression; +/** + * Test if a node is an `IterationStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isIterationStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `IterationStatement`. + */ +declare function isIterationStatement(node: ts.Node): node is ts.IterationStatement; +/** + * Test if a node is a `JSDocNamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceDeclaration`. + */ +declare function isJSDocNamespaceDeclaration(node: ts.Node): node is ts.JSDocNamespaceDeclaration; +/** + * Test if a node is a `JsxTagNamePropertyAccess`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNamePropertyAccess(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNamePropertyAccess`. + */ +declare function isJsxTagNamePropertyAccess(node: ts.Node): node is ts.JsxTagNamePropertyAccess; +/** + * Test if a node is a {@link NamedDeclarationWithName}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedDeclarationWithName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NamedDeclarationWithName}. + */ +declare function isNamedDeclarationWithName(node: ts.Declaration): node is NamedDeclarationWithName; +/** + * Test if a node is a `NamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceDeclaration`. + */ +declare function isNamespaceDeclaration(node: ts.Node): node is ts.NamespaceDeclaration; +/** + * Test if a node is a {@link NumericOrStringLikeLiteral}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumericOrStringLikeLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumericOrStringLikeLiteral}. + */ +declare function isNumericOrStringLikeLiteral(node: ts.Node): node is NumericOrStringLikeLiteral; +/** + * Test if a node is a `PropertyAccessEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyAccessEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyAccessEntityNameExpression`. + */ +declare function isPropertyAccessEntityNameExpression(node: ts.Node): node is ts.PropertyAccessEntityNameExpression; +/** + * Test if a node is a `SuperElementAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperElementAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperElementAccessExpression`. + */ +declare function isSuperElementAccessExpression(node: ts.Node): node is ts.SuperElementAccessExpression; +/** + * Test if a node is a `SuperPropertyAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperPropertyAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperPropertyAccessExpression`. + */ +declare function isSuperPropertyAccessExpression(node: ts.Node): node is ts.SuperPropertyAccessExpression; + +/** + * A node that represents the any keyword. + * @category Node Types + */ +type AnyKeyword = ts.KeywordToken; +/** + * A node that represents the bigint keyword. + * @category Node Types + */ +type BigIntKeyword = ts.KeywordToken; +/** + * A node that represents the boolean keyword. + * @category Node Types + */ +type BooleanKeyword = ts.KeywordToken; +/** + * A node that represents the false keyword. + * @category Node Types + */ +type FalseKeyword = ts.KeywordToken; +/** + * A node that represents the import keyword. + * @category Node Types + */ +type ImportKeyword = ts.KeywordToken; +/** + * A node that represents the never keyword. + * @category Node Types + */ +type NeverKeyword = ts.KeywordToken; +/** + * A node that represents the null keyword. + * @category Node Types + */ +type NullKeyword = ts.KeywordToken; +/** + * A node that represents the number keyword. + * @category Node Types + */ +type NumberKeyword = ts.KeywordToken; +/** + * A node that represents the object keyword. + * @category Node Types + */ +type ObjectKeyword = ts.KeywordToken; +/** + * A node that represents the string keyword. + * @category Node Types + */ +type StringKeyword = ts.KeywordToken; +/** + * A node that represents the super keyword. + * @category Node Types + */ +type SuperKeyword = ts.KeywordToken; +/** + * A node that represents the symbol keyword. + * @category Node Types + */ +type SymbolKeyword = ts.KeywordToken; +/** + * A node that represents the this keyword. + * @category Node Types + */ +type ThisKeyword = ts.KeywordToken; +/** + * A node that represents the true keyword. + * @category Node Types + */ +type TrueKeyword = ts.KeywordToken; +/** + * A node that represents the undefined keyword. + * @category Node Types + */ +type UndefinedKeyword = ts.KeywordToken; +/** + * A node that represents the unknown keyword. + * @category Node Types + */ +type UnknownKeyword = ts.KeywordToken; +/** + * A node that represents the void keyword. + * @category Node Types + */ +type VoidKeyword = ts.KeywordToken; +/** + * Test if a node is an `AbstractKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAbstractKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AbstractKeyword`. + */ +declare function isAbstractKeyword(node: ts.Node): node is ts.AbstractKeyword; +/** + * Test if a node is an `AccessorKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorKeyword`. + */ +declare function isAccessorKeyword(node: ts.Node): node is ts.AccessorKeyword; +/** + * Test if a node is an {@link AnyKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAnyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link AnyKeyword}. + */ +declare function isAnyKeyword(node: ts.Node): node is AnyKeyword; +/** + * Test if a node is an `AssertKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertKeyword`. + */ +declare function isAssertKeyword(node: ts.Node): node is ts.AssertKeyword; +/** + * Test if a node is an `AssertsKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAssertsKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertsKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertsKeyword`. + */ +declare function isAssertsKeyword(node: ts.Node): node is ts.AssertsKeyword; +/** + * Test if a node is an `AsyncKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAsyncKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AsyncKeyword`. + */ +declare function isAsyncKeyword(node: ts.Node): node is ts.AsyncKeyword; +/** + * Test if a node is an `AwaitKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAwaitKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAwaitKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AwaitKeyword`. + */ +declare function isAwaitKeyword(node: ts.Node): node is ts.AwaitKeyword; +/** + * Test if a node is a {@link BigIntKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBigIntKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBigIntKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BigIntKeyword}. + */ +declare function isBigIntKeyword(node: ts.Node): node is BigIntKeyword; +/** + * Test if a node is a {@link BooleanKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBooleanKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BooleanKeyword}. + */ +declare function isBooleanKeyword(node: ts.Node): node is BooleanKeyword; +/** + * Test if a node is a `ColonToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isColonToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isColonToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ColonToken`. + */ +declare function isColonToken(node: ts.Node): node is ts.ColonToken; +/** + * Test if a node is a `ConstKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ConstKeyword`. + */ +declare function isConstKeyword(node: ts.Node): node is ts.ConstKeyword; +/** + * Test if a node is a `DeclareKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclareKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclareKeyword`. + */ +declare function isDeclareKeyword(node: ts.Node): node is ts.DeclareKeyword; +/** + * Test if a node is a `DefaultKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDefaultKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DefaultKeyword`. + */ +declare function isDefaultKeyword(node: ts.Node): node is ts.DefaultKeyword; +/** + * Test if a node is a `DotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DotToken`. + */ +declare function isDotToken(node: ts.Node): node is ts.DotToken; +/** + * Test if a node is an `EndOfFileToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEndOfFileToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EndOfFileToken`. + */ +declare function isEndOfFileToken(node: ts.Node): node is ts.EndOfFileToken; +/** + * Test if a node is an `EqualsGreaterThanToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isEqualsGreaterThanToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsGreaterThanToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsGreaterThanToken`. + */ +declare function isEqualsGreaterThanToken(node: ts.Node): node is ts.EqualsGreaterThanToken; +/** + * Test if a node is an `EqualsToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsToken`. + */ +declare function isEqualsToken(node: ts.Node): node is ts.EqualsToken; +/** + * Test if a node is an `ExclamationToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isExclamationToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExclamationToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExclamationToken`. + */ +declare function isExclamationToken(node: ts.Node): node is ts.ExclamationToken; +/** + * Test if a node is an `ExportKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExportKeyword`. + */ +declare function isExportKeyword(node: ts.Node): node is ts.ExportKeyword; +/** + * Test if a node is a {@link FalseKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link FalseKeyword}. + */ +declare function isFalseKeyword(node: ts.Node): node is FalseKeyword; +/** + * Test if a node is a `FalseLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FalseLiteral`. + */ +declare function isFalseLiteral(node: ts.Node): node is ts.FalseLiteral; +/** + * Test if a node is an `ImportExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ImportExpression`. + */ +declare function isImportExpression(node: ts.Node): node is ts.ImportExpression; +/** + * Test if a node is an {@link ImportKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ImportKeyword}. + */ +declare function isImportKeyword(node: ts.Node): node is ImportKeyword; +/** + * Test if a node is an `InKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isInKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `InKeyword`. + */ +declare function isInKeyword(node: ts.Node): node is ts.InKeyword; +/** + * Test if a node is a `JSDocText`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocText(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocText`. + */ +declare function isJSDocText(node: ts.Node): node is ts.JSDocText; +/** + * Test if a node is a `JsonMinusNumericLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonMinusNumericLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonMinusNumericLiteral`. + */ +declare function isJsonMinusNumericLiteral(node: ts.Node): node is ts.JsonMinusNumericLiteral; +/** + * Test if a node is a {@link NeverKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNeverKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NeverKeyword}. + */ +declare function isNeverKeyword(node: ts.Node): node is NeverKeyword; +/** + * Test if a node is a {@link NullKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NullKeyword}. + */ +declare function isNullKeyword(node: ts.Node): node is NullKeyword; +/** + * Test if a node is a `NullLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NullLiteral`. + */ +declare function isNullLiteral(node: ts.Node): node is ts.NullLiteral; +/** + * Test if a node is a {@link NumberKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumberKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumberKeyword}. + */ +declare function isNumberKeyword(node: ts.Node): node is NumberKeyword; +/** + * Test if a node is an {@link ObjectKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ObjectKeyword}. + */ +declare function isObjectKeyword(node: ts.Node): node is ObjectKeyword; +/** + * Test if a node is an `OutKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOutKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OutKeyword`. + */ +declare function isOutKeyword(node: ts.Node): node is ts.OutKeyword; +/** + * Test if a node is an `OverrideKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOverrideKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OverrideKeyword`. + */ +declare function isOverrideKeyword(node: ts.Node): node is ts.OverrideKeyword; +/** + * Test if a node is a `PrivateKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPrivateKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PrivateKeyword`. + */ +declare function isPrivateKeyword(node: ts.Node): node is ts.PrivateKeyword; +/** + * Test if a node is a `ProtectedKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isProtectedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ProtectedKeyword`. + */ +declare function isProtectedKeyword(node: ts.Node): node is ts.ProtectedKeyword; +/** + * Test if a node is a `PublicKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPublicKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PublicKeyword`. + */ +declare function isPublicKeyword(node: ts.Node): node is ts.PublicKeyword; +/** + * Test if a node is a `QuestionDotToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionDotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionDotToken`. + */ +declare function isQuestionDotToken(node: ts.Node): node is ts.QuestionDotToken; +/** + * Test if a node is a `QuestionToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionToken`. + */ +declare function isQuestionToken(node: ts.Node): node is ts.QuestionToken; +/** + * Test if a node is a `ReadonlyKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isReadonlyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ReadonlyKeyword`. + */ +declare function isReadonlyKeyword(node: ts.Node): node is ts.ReadonlyKeyword; +/** + * Test if a node is a `StaticKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStaticKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `StaticKeyword`. + */ +declare function isStaticKeyword(node: ts.Node): node is ts.StaticKeyword; +/** + * Test if a node is a {@link StringKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStringKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link StringKeyword}. + */ +declare function isStringKeyword(node: ts.Node): node is StringKeyword; +/** + * Test if a node is a `SuperExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperExpression`. + */ +declare function isSuperExpression(node: ts.Node): node is ts.SuperExpression; +/** + * Test if a node is a {@link SuperKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SuperKeyword}. + */ +declare function isSuperKeyword(node: ts.Node): node is SuperKeyword; +/** + * Test if a node is a {@link SymbolKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSymbolKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SymbolKeyword}. + */ +declare function isSymbolKeyword(node: ts.Node): node is SymbolKeyword; +/** + * Test if a node is a `SyntaxList`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSyntaxList(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SyntaxList`. + */ +declare function isSyntaxList(node: ts.Node): node is ts.SyntaxList; +/** + * Test if a node is a `ThisExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ThisExpression`. + */ +declare function isThisExpression(node: ts.Node): node is ts.ThisExpression; +/** + * Test if a node is a {@link ThisKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ThisKeyword}. + */ +declare function isThisKeyword(node: ts.Node): node is ThisKeyword; +/** + * Test if a node is a {@link TrueKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link TrueKeyword}. + */ +declare function isTrueKeyword(node: ts.Node): node is TrueKeyword; +/** + * Test if a node is a `TrueLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TrueLiteral`. + */ +declare function isTrueLiteral(node: ts.Node): node is ts.TrueLiteral; +/** + * Test if a node is an {@link UndefinedKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUndefinedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UndefinedKeyword}. + */ +declare function isUndefinedKeyword(node: ts.Node): node is UndefinedKeyword; +/** + * Test if a node is an {@link UnknownKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnknownKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UnknownKeyword}. + */ +declare function isUnknownKeyword(node: ts.Node): node is UnknownKeyword; +/** + * Test if a node is a {@link VoidKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVoidKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link VoidKeyword}. + */ +declare function isVoidKeyword(node: ts.Node): node is VoidKeyword; + +/** + * Test if a node is a `HasDecorators`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasDecorators(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasDecorators`. + */ +declare function hasDecorators(node: ts.Node): node is ts.HasDecorators; +/** + * Test if a node is a `HasExpressionInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasExpressionInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasExpressionInitializer`. + */ +declare function hasExpressionInitializer(node: ts.Node): node is ts.HasExpressionInitializer; +/** + * Test if a node is a `HasInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasInitializer`. + */ +declare function hasInitializer(node: ts.Node): node is ts.HasInitializer; +/** + * Test if a node is a `HasJSDoc`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasJSDoc(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasJSDoc`. + */ +declare function hasJSDoc(node: ts.Node): node is ts.HasJSDoc; +/** + * Test if a node is a `HasModifiers`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasModifiers(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasModifiers`. + */ +declare function hasModifiers(node: ts.Node): node is ts.HasModifiers; +/** + * Test if a node is a `HasType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasType`. + */ +declare function hasType(node: ts.Node): node is ts.HasType; +/** + * Test if a node is a `HasTypeArguments`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasTypeArguments(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasTypeArguments`. + */ +declare function hasTypeArguments(node: ts.Node): node is ts.HasTypeArguments; +/** + * Test if a node is an `AccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessExpression`. + */ +declare function isAccessExpression(node: ts.Node): node is ts.AccessExpression; +/** + * Test if a node is an `AccessibilityModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessibilityModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessibilityModifier`. + */ +declare function isAccessibilityModifier(node: ts.Node): node is ts.AccessibilityModifier; +/** + * Test if a node is an `AccessorDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isAccessor`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorDeclaration`. + */ +declare function isAccessorDeclaration(node: ts.Node): node is ts.AccessorDeclaration; +/** + * Test if a node is an `ArrayBindingElement`. + * @deprecated With TypeScript v5, in favor of typescript's `isArrayBindingElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingElement`. + */ +declare function isArrayBindingElement(node: ts.Node): node is ts.ArrayBindingElement; +/** + * Test if a node is an `ArrayBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingOrAssignmentPattern`. + */ +declare function isArrayBindingOrAssignmentPattern(node: ts.Node): node is ts.ArrayBindingOrAssignmentPattern; +/** + * Test if a node is an `AssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssignmentPattern`. + */ +declare function isAssignmentPattern(node: ts.Node): node is ts.AssignmentPattern; +/** + * Test if a node is a `BindingOrAssignmentElementRestIndicator`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementRestIndicator(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementRestIndicator`. + */ +declare function isBindingOrAssignmentElementRestIndicator(node: ts.Node): node is ts.BindingOrAssignmentElementRestIndicator; +/** + * Test if a node is a `BindingOrAssignmentElementTarget`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementTarget(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementTarget`. + */ +declare function isBindingOrAssignmentElementTarget(node: ts.Node): node is ts.BindingOrAssignmentElementTarget; +/** + * Test if a node is a `BindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentPattern`. + */ +declare function isBindingOrAssignmentPattern(node: ts.Node): node is ts.BindingOrAssignmentPattern; +/** + * Test if a node is a `BindingPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingPattern`. + */ +declare function isBindingPattern(node: ts.Node): node is ts.BindingPattern; +/** + * Test if a node is a `BlockLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBlockLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BlockLike`. + */ +declare function isBlockLike(node: ts.Node): node is ts.BlockLike; +/** + * Test if a node is a `BooleanLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BooleanLiteral`. + */ +declare function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral; +/** + * Test if a node is a `ClassLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isClassLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassLikeDeclaration`. + */ +declare function isClassLikeDeclaration(node: ts.Node): node is ts.ClassLikeDeclaration; +/** + * Test if a node is a `ClassMemberModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassMemberModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassMemberModifier`. + */ +declare function isClassMemberModifier(node: ts.Node): node is ts.ClassMemberModifier; +/** + * Test if a node is a `DeclarationName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationName`. + */ +declare function isDeclarationName(node: ts.Node): node is ts.DeclarationName; +/** + * Test if a node is a `DeclarationWithTypeParameterChildren`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameterChildren(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameterChildren`. + */ +declare function isDeclarationWithTypeParameterChildren(node: ts.Node): node is ts.DeclarationWithTypeParameterChildren; +/** + * Test if a node is a `DeclarationWithTypeParameters`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameters(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameters`. + */ +declare function isDeclarationWithTypeParameters(node: ts.Node): node is ts.DeclarationWithTypeParameters; +/** + * Test if a node is a `DestructuringPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDestructuringPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DestructuringPattern`. + */ +declare function isDestructuringPattern(node: ts.Node): node is ts.DestructuringPattern; +/** + * Test if a node is an `EntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameExpression`. + */ +declare function isEntityNameExpression(node: ts.Node): node is ts.EntityNameExpression; +/** + * Test if a node is an `EntityNameOrEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameOrEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameOrEntityNameExpression`. + */ +declare function isEntityNameOrEntityNameExpression(node: ts.Node): node is ts.EntityNameOrEntityNameExpression; +/** + * Test if a node is a `ForInOrOfStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isForInOrOfStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ForInOrOfStatement`. + */ +declare function isForInOrOfStatement(node: ts.Node): node is ts.ForInOrOfStatement; +/** + * Test if a node is a `FunctionLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isFunctionLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FunctionLikeDeclaration`. + */ +declare function isFunctionLikeDeclaration(node: ts.Node): node is ts.FunctionLikeDeclaration; +/** + * Test if a node is a `JSDocComment`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocComment(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocComment`. + */ +declare function isJSDocComment(node: ts.Node): node is ts.JSDocComment; +/** + * Test if a node is a `JSDocNamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceBody`. + */ +declare function isJSDocNamespaceBody(node: ts.Node): node is ts.JSDocNamespaceBody; +/** + * Test if a node is a `JSDocTypeReferencingNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocTypeReferencingNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocTypeReferencingNode`. + */ +declare function isJSDocTypeReferencingNode(node: ts.Node): node is ts.JSDocTypeReferencingNode; +/** + * Test if a node is a `JsonObjectExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonObjectExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonObjectExpression`. + */ +declare function isJsonObjectExpression(node: ts.Node): node is ts.JsonObjectExpression; +/** + * Test if a node is a `JsxAttributeLike`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxAttributeLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeLike`. + */ +declare function isJsxAttributeLike(node: ts.Node): node is ts.JsxAttributeLike; +/** + * Test if a node is a `JsxAttributeValue`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeValue(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeValue`. + */ +declare function isJsxAttributeValue(node: ts.Node): node is ts.JsxAttributeValue; +/** + * Test if a node is a `JsxChild`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxChild`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxChild(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxChild`. + */ +declare function isJsxChild(node: ts.Node): node is ts.JsxChild; +/** + * Test if a node is a `JsxTagNameExpression`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxTagNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNameExpression`. + */ +declare function isJsxTagNameExpression(node: ts.Node): node is ts.JsxTagNameExpression; +/** + * Test if a node is a `LiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `LiteralToken`. + */ +declare function isLiteralToken(node: ts.Node): node is ts.LiteralToken; +/** + * Test if a node is a `ModuleBody`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleBody`. + */ +declare function isModuleBody(node: ts.Node): node is ts.ModuleBody; +/** + * Test if a node is a `ModuleName`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleName`. + */ +declare function isModuleName(node: ts.Node): node is ts.ModuleName; +/** + * Test if a node is a `ModuleReference`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleReference`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleReference(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleReference`. + */ +declare function isModuleReference(node: ts.Node): node is ts.ModuleReference; +/** + * Test if a node is a `NamedImportBindings`. + * @deprecated With TypeScript v5, in favor of typescript's `isNamedImportBindings`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportBindings(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportBindings`. + */ +declare function isNamedImportBindings(node: ts.Node): node is ts.NamedImportBindings; +/** + * Test if a node is a `NamedImportsOrExports`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportsOrExports(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportsOrExports`. + */ +declare function isNamedImportsOrExports(node: ts.Node): node is ts.NamedImportsOrExports; +/** + * Test if a node is a `NamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceBody`. + */ +declare function isNamespaceBody(node: ts.Node): node is ts.NamespaceBody; +/** + * Test if a node is an `ObjectBindingOrAssignmentElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentElement`. + */ +declare function isObjectBindingOrAssignmentElement(node: ts.Node): node is ts.ObjectBindingOrAssignmentElement; +/** + * Test if a node is an `ObjectBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentPattern`. + */ +declare function isObjectBindingOrAssignmentPattern(node: ts.Node): node is ts.ObjectBindingOrAssignmentPattern; +/** + * Test if a node is an `ObjectTypeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectTypeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectTypeDeclaration`. + */ +declare function isObjectTypeDeclaration(node: ts.Node): node is ts.ObjectTypeDeclaration; +/** + * Test if a node is a `ParameterPropertyModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isParameterPropertyModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ParameterPropertyModifier`. + */ +declare function isParameterPropertyModifier(node: ts.Node): node is ts.ParameterPropertyModifier; +/** + * Test if a node is a `PropertyNameLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyNameLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyNameLiteral`. + */ +declare function isPropertyNameLiteral(node: ts.Node): node is ts.PropertyNameLiteral; +/** + * Test if a node is a `PseudoLiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPseudoLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PseudoLiteralToken`. + */ +declare function isPseudoLiteralToken(node: ts.Node): node is ts.PseudoLiteralToken; +/** + * Test if a node is a `SignatureDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSignatureDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SignatureDeclaration`. + */ +declare function isSignatureDeclaration(node: ts.Node): node is ts.SignatureDeclaration; +/** + * Test if a node is a `SuperProperty`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperProperty(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperProperty`. + */ +declare function isSuperProperty(node: ts.Node): node is ts.SuperProperty; +/** + * Test if a node is a `TypeOnlyCompatibleAliasDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeOnlyCompatibleAliasDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeOnlyCompatibleAliasDeclaration`. + */ +declare function isTypeOnlyCompatibleAliasDeclaration(node: ts.Node): node is ts.TypeOnlyCompatibleAliasDeclaration; +/** + * Test if a node is a `TypeReferenceType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeReferenceType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeReferenceType`. + */ +declare function isTypeReferenceType(node: ts.Node): node is ts.TypeReferenceType; +/** + * Test if a node is an `UnionOrIntersectionTypeNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnionOrIntersectionTypeNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `UnionOrIntersectionTypeNode`. + */ +declare function isUnionOrIntersectionTypeNode(node: ts.Node): node is ts.UnionOrIntersectionTypeNode; +/** + * Test if a node is a `VariableLikeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVariableLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `VariableLikeDeclaration`. + */ +declare function isVariableLikeDeclaration(node: ts.Node): node is ts.VariableLikeDeclaration; + +/** + * Is the node a scope boundary, specifically due to it being a function. + * @category Scope Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionScopeBoundary(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isFunctionScopeBoundary(node: ts.Node): boolean; + +/** + * Test of the kind given is for assignment. + * @category Syntax Utilities + * @example + * ```ts + * declare const kind: ts.SyntaxKind; + * + * isAssignmentKind(kind); + * ``` + */ +declare function isAssignmentKind(kind: ts.SyntaxKind): boolean; +/** + * Test if a string is numeric. + * @category Syntax Utilities + * @example + * ```ts + * isNumericPropertyName("abc"); // false + * isNumericPropertyName("123"); // true + * ``` + */ +declare function isNumericPropertyName(name: string | ts.__String): boolean; +/** + * Determines whether the given text can be used to access a property with a `PropertyAccessExpression` while preserving the property's name. + * @category Syntax Utilities + * @example + * ```ts + * isValidPropertyAccess("abc"); // true + * isValidPropertyAccess("123"); // false + * ``` + */ +declare function isValidPropertyAccess(text: string, languageVersion?: ts.ScriptTarget): boolean; + +/** + * Callback type used for {@link forEachToken}. + * @category Callbacks + * @example + * ```ts + * let onToken: ForEachTokenCallback = (token) => { + * console.log(`Found token at position: ${token.pos}.`); + * }; + * ``` + */ +type ForEachTokenCallback = (token: ts.Node) => void; +/** + * Iterates over all tokens of `node` + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachToken(node, (token) => { + * console.log("Found token:", token.getText()); + * }); + * ``` + * @param node The node whose tokens should be visited + * @param callback Is called for every token contained in `node` + */ +declare function forEachToken(node: ts.Node, callback: ForEachTokenCallback, sourceFile?: ts.SourceFile): void; + +/** + * Get the `CallSignatures` of the given type. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * + * getCallSignaturesOfType(type); + * ``` + */ +declare function getCallSignaturesOfType(type: ts.Type): readonly ts.Signature[]; +/** + * Get the property with the given name on the given type (if it exists). + * @category Types - Getters + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * + * getPropertyOfType(type, property.getEscapedName()); + * ``` + */ +declare function getPropertyOfType(type: ts.Type, name: ts.__String): ts.Symbol | undefined; +/** + * Retrieves a type symbol corresponding to a well-known string name. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * getWellKnownSymbolPropertyOfType(type, "asyncIterator", typeChecker); + * ``` + */ +declare function getWellKnownSymbolPropertyOfType(type: ts.Type, wellKnownSymbolName: string, typeChecker: ts.TypeChecker): ts.Symbol | undefined; + +/** + * A "any" intrinsic type. + * @category Type Types + */ +interface IntrinsicAnyType extends IntrinsicType { + intrinsicName: "any"; +} +/** + * A "bigint" intrinsic type. + * @category Type Types + */ +interface IntrinsicBigIntType extends IntrinsicType { + intrinsicName: "bigint"; +} +/** + * A "boolean" intrinsic type. + * @category Type Types + */ +interface IntrinsicBooleanType extends IntrinsicType { + intrinsicName: "boolean"; +} +/** + * An "error" intrinsic type. + * + * This refers to a type generated when TypeScript encounters an error while + * trying to resolve the type. + * @category Type Types + */ +interface IntrinsicErrorType extends IntrinsicType { + intrinsicName: "error"; +} +/** + * A "symbol" intrinsic type. + * @category Type Types + */ +interface IntrinsicESSymbolType extends IntrinsicType { + intrinsicName: "symbol"; +} +/** + * An "intrinsic" (built-in to TypeScript) type. + * @category Type Types + */ +interface IntrinsicType extends ts.Type { + intrinsicName: string; + objectFlags: ts.ObjectFlags; +} +/** + * Determines whether the given type is the "any" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicAnyType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicAnyType(type: ts.Type): type is IntrinsicAnyType; +/** + * Determines whether the given type is the "bigint" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBigIntType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBigIntType(type: ts.Type): type is IntrinsicBigIntType; +/** + * Determines whether the given type is the "boolean" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBooleanType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBooleanType(type: ts.Type): type is IntrinsicBooleanType; +/** + * Determines whether the given type is the "error" intrinsic type. + * + * The intrinsic error type occurs when TypeScript encounters an error while + * trying to resolve the type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicErrorType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicErrorType(type: ts.Type): type is IntrinsicErrorType; +/** + * Determines whether the given type is the "symbol" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicESSymbolType(type: ts.Type): type is IntrinsicESSymbolType; +/** + * A "never" intrinsic type. + * @category Type Types + */ +interface IntrinsicNeverType extends IntrinsicType { + intrinsicName: "never"; +} +/** + * A non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Type Types + */ +interface IntrinsicNonPrimitiveType extends IntrinsicType { + intrinsicName: ""; +} +/** + * A "null" intrinsic type. + * @category Type Types + */ +interface IntrinsicNullType extends IntrinsicType { + intrinsicName: "null"; +} +/** + * A "number" intrinsic type. + * @category Type Types + */ +interface IntrinsicNumberType extends IntrinsicType { + intrinsicName: "number"; +} +/** + * A "string" intrinsic type. + * @category Type Types + */ +interface IntrinsicStringType extends IntrinsicType { + intrinsicName: "string"; +} +/** + * The built-in `undefined` type. + * @category Type Types + */ +interface IntrinsicUndefinedType extends IntrinsicType { + intrinsicName: "undefined"; +} +/** + * The built-in `unknown` type. + * @category Type Types + */ +interface IntrinsicUnknownType extends IntrinsicType { + intrinsicName: "unknown"; +} +/** + * A "void" intrinsic type. + * @category Type Types + */ +interface IntrinsicVoidType extends IntrinsicType { + intrinsicName: "void"; +} +/** + * Determines whether the given type is the "never" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNeverType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNeverType(type: ts.Type): type is IntrinsicNeverType; +/** + * Determines whether the given type is a non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNonPrimitiveType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNonPrimitiveType(type: ts.Type): type is IntrinsicNonPrimitiveType; +/** + * Determines whether the given type is the "null" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNullType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNullType(type: ts.Type): type is IntrinsicNullType; +/** + * Determines whether the given type is the "number" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNumberType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNumberType(type: ts.Type): type is IntrinsicNumberType; +/** + * Determines whether the given type is the "string" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicStringType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicStringType(type: ts.Type): type is IntrinsicStringType; +/** + * Test if a type is an {@link IntrinsicType}. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicType(type: ts.Type): type is IntrinsicType; +/** + * Determines whether the given type is the "undefined" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUndefinedType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUndefinedType(type: ts.Type): type is IntrinsicUndefinedType; +/** + * Determines whether the given type is the "unknown" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUnknownType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUnknownType(type: ts.Type): type is IntrinsicUnknownType; +/** + * Determines whether the given type is the "void" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicVoidType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicVoidType(type: ts.Type): type is IntrinsicVoidType; + +/** + * A type that is both an {@link IntrinsicType} and a `FreshableType` + * @category Type Types + */ +interface FreshableIntrinsicType extends ts.FreshableType, IntrinsicType { +} +/** + * Test if a type is a `FreshableIntrinsicType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableIntrinsicType(type)) { + * // ... + * } + */ +declare function isFreshableIntrinsicType(type: ts.Type): type is FreshableIntrinsicType; +/** + * Test if a type is a `TupleTypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleTypeReference(type)) { + * // ... + * } + */ +declare function isTupleTypeReference(type: ts.Type): type is ts.TupleTypeReference; + +/** + * A boolean literal. + * i.e. Either a "true" or "false" literal. + * @category Type Types + */ +interface BooleanLiteralType extends FreshableIntrinsicType { + intrinsicName: "false" | "true"; +} +/** + * A "false" literal. + * @category Type Types + */ +interface FalseLiteralType extends BooleanLiteralType { + intrinsicName: "false"; +} +/** + * A "true" literal. + * @category Type Types + */ +interface TrueLiteralType extends BooleanLiteralType { + intrinsicName: "true"; +} +/** + * `LiteralType` from typescript except that it allows for it to work on arbitrary types. + * @deprecated Use {@link FreshableIntrinsicType} instead. + * @category Type Types + */ +interface UnknownLiteralType extends FreshableIntrinsicType { + value?: unknown; +} +/** + * Test if a type is a `BigIntLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBigIntLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBigIntLiteralType(type: ts.Type): type is ts.BigIntLiteralType; +/** + * Determines whether the given type is a boolean literal type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBooleanLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBooleanLiteralType(type: ts.Type): type is BooleanLiteralType; +/** + * Determines whether the given type is a boolean literal type for "false". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalseLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isFalseLiteralType(type: ts.Type): type is FalseLiteralType; +/** + * Test if a type is a `LiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isLiteralType(type: ts.Type): type is ts.LiteralType; +/** + * Test if a type is a `NumberLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isNumberLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isNumberLiteralType(type: ts.Type): type is ts.NumberLiteralType; +/** + * Test if a type is a `StringLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isStringLiteralType(type: ts.Type): type is ts.StringLiteralType; +/** + * Test if a type is a `TemplateLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTemplateLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTemplateLiteralType(type: ts.Type): type is ts.TemplateLiteralType; +/** + * Determines whether the given type is a boolean literal type for "true". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTrueLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTrueLiteralType(type: ts.Type): type is TrueLiteralType; + +/** + * Test if a type is a `EvolvingArrayType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEvolvingArrayType(type)) { + * // ... + * } + * ``` + */ +declare function isEvolvingArrayType(type: ts.Type): type is ts.EvolvingArrayType; +/** + * Test if a type is a `TupleType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleType(type)) { + * // ... + * } + * ``` + */ +declare function isTupleType(type: ts.Type): type is ts.TupleType; +/** + * Test if a type is a `TypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeReference(type)) { + * // ... + * } + * ``` + */ +declare function isTypeReference(type: ts.Type): type is ts.TypeReference; + +/** + * Test if a type is a `ConditionalType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isConditionalType(type)) { + * // ... + * } + * ``` + */ +declare function isConditionalType(type: ts.Type): type is ts.ConditionalType; +/** + * Test if a type is a `EnumType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEnumType(type)) { + * // ... + * } + * ``` + */ +declare function isEnumType(type: ts.Type): type is ts.EnumType; +/** + * Test if a type is a `FreshableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableType(type)) { + * // ... + * } + * ``` + */ +declare function isFreshableType(type: ts.Type): type is ts.FreshableType; +/** + * Test if a type is a `IndexedAccessType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexedAccessType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexedAccessType(type: ts.Type): type is ts.IndexedAccessType; +/** + * Test if a type is a `IndexType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexType(type: ts.Type): type is ts.IndexType; +/** + * Test if a type is a `InstantiableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isInstantiableType(type)) { + * // ... + * } + * ``` + */ +declare function isInstantiableType(type: ts.Type): type is ts.InstantiableType; +/** + * Test if a type is a `IntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isIntersectionType(type: ts.Type): type is ts.IntersectionType; +/** + * Test if a type is a `ObjectType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isObjectType(type)) { + * // ... + * } + * ``` + */ +declare function isObjectType(type: ts.Type): type is ts.ObjectType; +/** + * Test if a type is a `StringMappingType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringMappingType(type)) { + * // ... + * } + * ``` + */ +declare function isStringMappingType(type: ts.Type): type is ts.StringMappingType; +/** + * Test if a type is a `SubstitutionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isSubstitutionType(type)) { + * // ... + * } + * ``` + */ +declare function isSubstitutionType(type: ts.Type): type is ts.SubstitutionType; +/** + * Test if a type is a `TypeParameter`. + * + * Note: It is intentional that this is not a type guard. + * @see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeParameter(type)) { + * // ... + * } + * ``` + */ +declare function isTypeParameter(type: ts.Type): boolean; +/** + * Test if a type is a `TypeVariable`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeVariable(type)) { + * // ... + * } + * ``` + */ +declare function isTypeVariable(type: ts.Type): type is ts.TypeVariable; +/** + * Test if a type is a `UnionOrIntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionOrIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionOrIntersectionType(type: ts.Type): type is ts.UnionOrIntersectionType; +/** + * Test if a type is a `UnionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionType(type: ts.Type): type is ts.UnionType; +/** + * Test if a type is a `UniqueESSymbolType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUniqueESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isUniqueESSymbolType(type: ts.Type): type is ts.UniqueESSymbolType; + +/** + * Get the intersection type parts of the given type. + * + * If the given type is not a intersection type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function intersectionTypeParts(type: ts.Type): ts.Type[]; +/** + * Determines whether a type is definitely falsy. This function doesn't unwrap union types. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalsyType(type)) { + * // ... + * } + * ``` + */ +declare function isFalsyType(type: ts.Type): boolean; +/** + * Determines whether writing to a certain property of a given type is allowed. + * @category Types - Utilities + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { + * // ... + * } + * ``` + */ +declare function isPropertyReadonlyInType(type: ts.Type, name: ts.__String, typeChecker: ts.TypeChecker): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const node: ts.Node; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, node, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Node, type: ts.Type): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, expression)) { + * // ... + * } + * ``` + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * declare const type: ts.Type; + * + * if (isThenableType(typeChecker, expression, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Expression, type?: ts.Type): boolean; +/** + * Test if the given symbol has a readonly declaration. + * @category Symbols - Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * declare const typeChecker: ts.TypeChecker; + * + * if (symbolHasReadonlyDeclaration(symbol, typeChecker)) { + * // ... + * } + * ``` + */ +declare function symbolHasReadonlyDeclaration(symbol: ts.Symbol, typeChecker: ts.TypeChecker): boolean; +/** + * TS's `type.isLiteral()` is bugged before TS v5.0 and won't return `true` for + * bigint literals. Use this function instead if you need to check for bigint + * literals in TS versions before v5.0. Otherwise, you should just use + * `type.isLiteral()`. + * @see https://github.com/microsoft/TypeScript/pull/50929 + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (typeIsLiteral(type)) { + * // ... + * } + * ``` + */ +declare function typeIsLiteral(type: ts.Type): type is ts.LiteralType; +/** + * Get the intersection or union type parts of the given type. + * + * Note that this is a shallow collection: it only returns `type.types` or `[type]`. + * + * If the given type is not an intersection or union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function typeParts(type: ts.Type): ts.Type[]; +/** + * Get the union type parts of the given type. + * + * If the given type is not a union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of unionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function unionTypeParts(type: ts.Type): ts.Type[]; + +/** + * Which "domain"(s) (most commonly, type or value space) a declaration is within. + */ +declare enum DeclarationDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + Import = 8 +} + +/** + * Which "domain"(s) (most commonly, type or value space) a usage is within. + */ +declare enum UsageDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + TypeQuery = 8, + ValueOrNamespace = 5 +} + +/** + * An instance of an item (type or value) being used. + */ +interface Usage { + /** + * Which space(s) the usage is within. + */ + domain: UsageDomain; + location: ts.Identifier; +} +/** + * How an item (type or value) was declared and/or referenced. + */ +interface UsageInfo { + /** + * Locations where the item was declared. + */ + declarations: ts.Identifier[]; + /** + * Which space(s) the item is within. + */ + domain: DeclarationDomain; + /** + * Whether the item was exported from its module or namespace scope. + */ + exported: boolean; + /** + * Whether the item's declaration was in the global scope. + */ + inGlobalScope: boolean; + /** + * Each reference to the item in the file. + */ + uses: Usage[]; +} + +/** + * Creates a mapping of each declared type and value to its type information. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const sourceFile: ts.SourceFile; + * + * const usage = collectVariableUsage(sourceFile); + * + * for (const [identifier, information] of usage) { + * console.log(`${identifier.getText()} is used ${information.uses.length} time(s).`); + * } + * ``` + */ +declare function collectVariableUsage(sourceFile: ts.SourceFile): Map; + +export { AccessKind, type AnyKeyword, type BigIntKeyword, type BooleanCompilerOptions, type BooleanKeyword, type BooleanLiteralType, type ConstAssertionExpression, type ConstAssertionIdentifier, DeclarationDomain, type FalseKeyword, type FalseLiteralType, type ForEachCommentCallback, type ForEachTokenCallback, type FreshableIntrinsicType, type ImportKeyword, type IntrinsicAnyType, type IntrinsicBigIntType, type IntrinsicBooleanType, type IntrinsicESSymbolType, type IntrinsicErrorType, type IntrinsicNeverType, type IntrinsicNonPrimitiveType, type IntrinsicNullType, type IntrinsicNumberType, type IntrinsicStringType, type IntrinsicType, type IntrinsicUndefinedType, type IntrinsicUnknownType, type IntrinsicVoidType, type NamedDeclarationWithName, type NeverKeyword, type NullKeyword, type NumberKeyword, type NumericOrStringLikeLiteral, type ObjectKeyword, type StrictCompilerOption, type StringKeyword, type SuperKeyword, type SymbolKeyword, type ThisKeyword, type TrueKeyword, type TrueLiteralType, type UndefinedKeyword, type UnknownKeyword, type UnknownLiteralType, UsageDomain, type UsageInfo as VariableInfo, type Usage as VariableUse, type VoidKeyword, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.ts new file mode 100644 index 0000000000..217906ef6a --- /dev/null +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.d.ts @@ -0,0 +1,3003 @@ +import ts from 'typescript'; + +/** + * Callback type used for {@link forEachComment}. + * @category Callbacks + * @param fullText Full parsed text of the comment. + * @param comment Text range of the comment in its file. + * @example + * ```ts + * let onComment: ForEachCommentCallback = (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }; + * ``` + */ +type ForEachCommentCallback = (fullText: string, comment: ts.CommentRange) => void; +/** + * Iterates over all comments owned by `node` or its children. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachComment(node, (fullText, comment) => { + * console.log(`Found comment at position ${comment.pos}: '${fullText}'.`); + * }); + * ``` + */ +declare function forEachComment(node: ts.Node, callback: ForEachCommentCallback, sourceFile?: ts.SourceFile): void; + +/** + * An option that can be tested with {@link isCompilerOptionEnabled}. + * @category Compiler Options + */ +type BooleanCompilerOptions = keyof { + [K in keyof ts.CompilerOptions as NonNullable extends boolean ? K : never]: unknown; +}; +/** + * An option that can be tested with {@link isStrictCompilerOptionEnabled}. + * @category Compiler Options + */ +type StrictCompilerOption = "alwaysStrict" | "noImplicitAny" | "noImplicitThis" | "strictBindCallApply" | "strictFunctionTypes" | "strictNullChecks" | "strictPropertyInitialization"; +/** + * Checks if a given compiler option is enabled. + * It handles dependencies of options, e.g. `declaration` is implicitly enabled by `composite` or `strictNullChecks` is enabled by `strict`. + * However, it does not check dependencies that are already checked and reported as errors, e.g. `checkJs` without `allowJs`. + * This function only handles boolean flags. + * @category Compiler Options + * @example + * ```ts + * const options = { + * allowJs: true, + * }; + * + * isCompilerOptionEnabled(options, "allowJs"); // true + * isCompilerOptionEnabled(options, "allowSyntheticDefaultImports"); // false + * ``` + */ +declare function isCompilerOptionEnabled(options: ts.CompilerOptions, option: BooleanCompilerOptions): boolean; +/** + * Checks if a given compiler option is enabled, accounting for whether all flags + * (except `strictPropertyInitialization`) have been enabled by `strict: true`. + * @category Compiler Options + * @example + * ```ts + * const optionsLenient = { + * noImplicitAny: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsLenient, "noImplicitThis"); // false + * ``` + * @example + * ```ts + * const optionsStrict = { + * noImplicitThis: false, + * strict: true, + * }; + * + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitAny"); // true + * isStrictCompilerOptionEnabled(optionsStrict, "noImplicitThis"); // false + * ``` + */ +declare function isStrictCompilerOptionEnabled(options: ts.CompilerOptions, option: StrictCompilerOption): boolean; + +/** + * Test if the given node has the given `ModifierFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModifierFlagSet(node, ts.ModifierFlags.Abstract)) { + * // ... + * } + * ``` + */ +declare function isModifierFlagSet(node: ts.Declaration, flag: ts.ModifierFlags): boolean; +/** + * Test if the given node has the given `NodeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { + * // ... + * } + * ``` + */ +declare const isNodeFlagSet: (node: ts.Node, flag: ts.NodeFlags) => boolean; +/** + * Test if the given node has the given `ObjectFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectFlagSet(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isObjectFlagSet(objectType: ts.ObjectType, flag: ts.ObjectFlags): boolean; +/** + * Test if the given node has the given `SymbolFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * + * if (isSymbolFlagSet(symbol, ts.SymbolFlags.Accessor)) { + * // ... + * } + * ``` + */ +declare const isSymbolFlagSet: (symbol: ts.Symbol, flag: ts.SymbolFlags) => boolean; +/** + * Test if the given symbol's links has the given `CheckFlags` set. + * @internal + */ +declare function isTransientSymbolLinksFlagSet(links: ts.TransientSymbolLinks, flag: ts.CheckFlags): boolean; +/** + * Test if the given node has the given `TypeFlags` set. + * @category Nodes - Flag Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeFlagSet(type, ts.TypeFlags.Any)) { + * // ... + * } + * ``` + */ +declare const isTypeFlagSet: (type: ts.Type, flag: ts.TypeFlags) => boolean; + +/** + * Test if the given iterable includes a modifier of any of the given kinds. + * @category Modifier Utilities + * @example + * ```ts + * declare const modifiers: ts.Modifier[]; + * + * includesModifier(modifiers, ts.SyntaxKind.AbstractKeyword); + * ``` + */ +declare function includesModifier(modifiers: Iterable | undefined, ...kinds: ts.ModifierSyntaxKind[]): boolean; + +/** + * What operations(s), if any, an expression applies. + */ +declare enum AccessKind { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + ReadWrite = 3 +} +/** + * Determines which operation(s), if any, an expression applies. + * @example + * ```ts + * declare const node: ts.Expression; + * + * if (getAccessKind(node).Write & AccessKind.Write) !== 0) { + * // this is a reassignment (write) + * } + * ``` + */ +declare function getAccessKind(node: ts.Expression): AccessKind; + +/** + * An `AssertionExpression` that is declared as const. + * @category Node Types + */ +type ConstAssertionExpression = ts.AssertionExpression & { + type: ts.TypeReferenceNode; + typeName: ConstAssertionIdentifier; +}; +/** + * An `Identifier` with an `escapedText` value of `"const"`. + * @category Node Types + */ +type ConstAssertionIdentifier = ts.Identifier & { + escapedText: "const" & ts.__String; +}; +/** + * a `NamedDeclaration` that definitely has a name. + * @category Node Types + */ +interface NamedDeclarationWithName extends ts.NamedDeclaration { + name: ts.DeclarationName; +} +/** + * A number or string-like literal. + * @category Node Types + */ +type NumericOrStringLikeLiteral = ts.NumericLiteral | ts.StringLiteralLike; +/** + * Test if a node is a {@link ConstAssertionExpression}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstAssertionExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ConstAssertionExpression}. + */ +declare function isConstAssertionExpression(node: ts.AssertionExpression): node is ConstAssertionExpression; +/** + * Test if a node is an `IterationStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isIterationStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `IterationStatement`. + */ +declare function isIterationStatement(node: ts.Node): node is ts.IterationStatement; +/** + * Test if a node is a `JSDocNamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceDeclaration`. + */ +declare function isJSDocNamespaceDeclaration(node: ts.Node): node is ts.JSDocNamespaceDeclaration; +/** + * Test if a node is a `JsxTagNamePropertyAccess`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNamePropertyAccess(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNamePropertyAccess`. + */ +declare function isJsxTagNamePropertyAccess(node: ts.Node): node is ts.JsxTagNamePropertyAccess; +/** + * Test if a node is a {@link NamedDeclarationWithName}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedDeclarationWithName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NamedDeclarationWithName}. + */ +declare function isNamedDeclarationWithName(node: ts.Declaration): node is NamedDeclarationWithName; +/** + * Test if a node is a `NamespaceDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceDeclaration`. + */ +declare function isNamespaceDeclaration(node: ts.Node): node is ts.NamespaceDeclaration; +/** + * Test if a node is a {@link NumericOrStringLikeLiteral}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumericOrStringLikeLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumericOrStringLikeLiteral}. + */ +declare function isNumericOrStringLikeLiteral(node: ts.Node): node is NumericOrStringLikeLiteral; +/** + * Test if a node is a `PropertyAccessEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyAccessEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyAccessEntityNameExpression`. + */ +declare function isPropertyAccessEntityNameExpression(node: ts.Node): node is ts.PropertyAccessEntityNameExpression; +/** + * Test if a node is a `SuperElementAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperElementAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperElementAccessExpression`. + */ +declare function isSuperElementAccessExpression(node: ts.Node): node is ts.SuperElementAccessExpression; +/** + * Test if a node is a `SuperPropertyAccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperPropertyAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperPropertyAccessExpression`. + */ +declare function isSuperPropertyAccessExpression(node: ts.Node): node is ts.SuperPropertyAccessExpression; + +/** + * A node that represents the any keyword. + * @category Node Types + */ +type AnyKeyword = ts.KeywordToken; +/** + * A node that represents the bigint keyword. + * @category Node Types + */ +type BigIntKeyword = ts.KeywordToken; +/** + * A node that represents the boolean keyword. + * @category Node Types + */ +type BooleanKeyword = ts.KeywordToken; +/** + * A node that represents the false keyword. + * @category Node Types + */ +type FalseKeyword = ts.KeywordToken; +/** + * A node that represents the import keyword. + * @category Node Types + */ +type ImportKeyword = ts.KeywordToken; +/** + * A node that represents the never keyword. + * @category Node Types + */ +type NeverKeyword = ts.KeywordToken; +/** + * A node that represents the null keyword. + * @category Node Types + */ +type NullKeyword = ts.KeywordToken; +/** + * A node that represents the number keyword. + * @category Node Types + */ +type NumberKeyword = ts.KeywordToken; +/** + * A node that represents the object keyword. + * @category Node Types + */ +type ObjectKeyword = ts.KeywordToken; +/** + * A node that represents the string keyword. + * @category Node Types + */ +type StringKeyword = ts.KeywordToken; +/** + * A node that represents the super keyword. + * @category Node Types + */ +type SuperKeyword = ts.KeywordToken; +/** + * A node that represents the symbol keyword. + * @category Node Types + */ +type SymbolKeyword = ts.KeywordToken; +/** + * A node that represents the this keyword. + * @category Node Types + */ +type ThisKeyword = ts.KeywordToken; +/** + * A node that represents the true keyword. + * @category Node Types + */ +type TrueKeyword = ts.KeywordToken; +/** + * A node that represents the undefined keyword. + * @category Node Types + */ +type UndefinedKeyword = ts.KeywordToken; +/** + * A node that represents the unknown keyword. + * @category Node Types + */ +type UnknownKeyword = ts.KeywordToken; +/** + * A node that represents the void keyword. + * @category Node Types + */ +type VoidKeyword = ts.KeywordToken; +/** + * Test if a node is an `AbstractKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAbstractKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AbstractKeyword`. + */ +declare function isAbstractKeyword(node: ts.Node): node is ts.AbstractKeyword; +/** + * Test if a node is an `AccessorKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorKeyword`. + */ +declare function isAccessorKeyword(node: ts.Node): node is ts.AccessorKeyword; +/** + * Test if a node is an {@link AnyKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAnyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link AnyKeyword}. + */ +declare function isAnyKeyword(node: ts.Node): node is AnyKeyword; +/** + * Test if a node is an `AssertKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertKeyword`. + */ +declare function isAssertKeyword(node: ts.Node): node is ts.AssertKeyword; +/** + * Test if a node is an `AssertsKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAssertsKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssertsKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssertsKeyword`. + */ +declare function isAssertsKeyword(node: ts.Node): node is ts.AssertsKeyword; +/** + * Test if a node is an `AsyncKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAsyncKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AsyncKeyword`. + */ +declare function isAsyncKeyword(node: ts.Node): node is ts.AsyncKeyword; +/** + * Test if a node is an `AwaitKeyword`. + * @deprecated With TypeScript v5, in favor of typescript's `isAwaitKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAwaitKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AwaitKeyword`. + */ +declare function isAwaitKeyword(node: ts.Node): node is ts.AwaitKeyword; +/** + * Test if a node is a {@link BigIntKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBigIntKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBigIntKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BigIntKeyword}. + */ +declare function isBigIntKeyword(node: ts.Node): node is BigIntKeyword; +/** + * Test if a node is a {@link BooleanKeyword}. + * @deprecated With TypeScript v5, in favor of typescript's `isBooleanKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link BooleanKeyword}. + */ +declare function isBooleanKeyword(node: ts.Node): node is BooleanKeyword; +/** + * Test if a node is a `ColonToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isColonToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isColonToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ColonToken`. + */ +declare function isColonToken(node: ts.Node): node is ts.ColonToken; +/** + * Test if a node is a `ConstKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isConstKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ConstKeyword`. + */ +declare function isConstKeyword(node: ts.Node): node is ts.ConstKeyword; +/** + * Test if a node is a `DeclareKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclareKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclareKeyword`. + */ +declare function isDeclareKeyword(node: ts.Node): node is ts.DeclareKeyword; +/** + * Test if a node is a `DefaultKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDefaultKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DefaultKeyword`. + */ +declare function isDefaultKeyword(node: ts.Node): node is ts.DefaultKeyword; +/** + * Test if a node is a `DotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DotToken`. + */ +declare function isDotToken(node: ts.Node): node is ts.DotToken; +/** + * Test if a node is an `EndOfFileToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEndOfFileToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EndOfFileToken`. + */ +declare function isEndOfFileToken(node: ts.Node): node is ts.EndOfFileToken; +/** + * Test if a node is an `EqualsGreaterThanToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isEqualsGreaterThanToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsGreaterThanToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsGreaterThanToken`. + */ +declare function isEqualsGreaterThanToken(node: ts.Node): node is ts.EqualsGreaterThanToken; +/** + * Test if a node is an `EqualsToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEqualsToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EqualsToken`. + */ +declare function isEqualsToken(node: ts.Node): node is ts.EqualsToken; +/** + * Test if a node is an `ExclamationToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isExclamationToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExclamationToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExclamationToken`. + */ +declare function isExclamationToken(node: ts.Node): node is ts.ExclamationToken; +/** + * Test if a node is an `ExportKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isExportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ExportKeyword`. + */ +declare function isExportKeyword(node: ts.Node): node is ts.ExportKeyword; +/** + * Test if a node is a {@link FalseKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link FalseKeyword}. + */ +declare function isFalseKeyword(node: ts.Node): node is FalseKeyword; +/** + * Test if a node is a `FalseLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFalseLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FalseLiteral`. + */ +declare function isFalseLiteral(node: ts.Node): node is ts.FalseLiteral; +/** + * Test if a node is an `ImportExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ImportExpression`. + */ +declare function isImportExpression(node: ts.Node): node is ts.ImportExpression; +/** + * Test if a node is an {@link ImportKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isImportKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ImportKeyword}. + */ +declare function isImportKeyword(node: ts.Node): node is ImportKeyword; +/** + * Test if a node is an `InKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isInKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `InKeyword`. + */ +declare function isInKeyword(node: ts.Node): node is ts.InKeyword; +/** + * Test if a node is a `JSDocText`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocText(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocText`. + */ +declare function isJSDocText(node: ts.Node): node is ts.JSDocText; +/** + * Test if a node is a `JsonMinusNumericLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonMinusNumericLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonMinusNumericLiteral`. + */ +declare function isJsonMinusNumericLiteral(node: ts.Node): node is ts.JsonMinusNumericLiteral; +/** + * Test if a node is a {@link NeverKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNeverKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NeverKeyword}. + */ +declare function isNeverKeyword(node: ts.Node): node is NeverKeyword; +/** + * Test if a node is a {@link NullKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NullKeyword}. + */ +declare function isNullKeyword(node: ts.Node): node is NullKeyword; +/** + * Test if a node is a `NullLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNullLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NullLiteral`. + */ +declare function isNullLiteral(node: ts.Node): node is ts.NullLiteral; +/** + * Test if a node is a {@link NumberKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNumberKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link NumberKeyword}. + */ +declare function isNumberKeyword(node: ts.Node): node is NumberKeyword; +/** + * Test if a node is an {@link ObjectKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link ObjectKeyword}. + */ +declare function isObjectKeyword(node: ts.Node): node is ObjectKeyword; +/** + * Test if a node is an `OutKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOutKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OutKeyword`. + */ +declare function isOutKeyword(node: ts.Node): node is ts.OutKeyword; +/** + * Test if a node is an `OverrideKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isOverrideKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `OverrideKeyword`. + */ +declare function isOverrideKeyword(node: ts.Node): node is ts.OverrideKeyword; +/** + * Test if a node is a `PrivateKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPrivateKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PrivateKeyword`. + */ +declare function isPrivateKeyword(node: ts.Node): node is ts.PrivateKeyword; +/** + * Test if a node is a `ProtectedKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isProtectedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ProtectedKeyword`. + */ +declare function isProtectedKeyword(node: ts.Node): node is ts.ProtectedKeyword; +/** + * Test if a node is a `PublicKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPublicKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PublicKeyword`. + */ +declare function isPublicKeyword(node: ts.Node): node is ts.PublicKeyword; +/** + * Test if a node is a `QuestionDotToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionDotToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionDotToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionDotToken`. + */ +declare function isQuestionDotToken(node: ts.Node): node is ts.QuestionDotToken; +/** + * Test if a node is a `QuestionToken`. + * @deprecated With TypeScript v5, in favor of typescript's `isQuestionToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isQuestionToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `QuestionToken`. + */ +declare function isQuestionToken(node: ts.Node): node is ts.QuestionToken; +/** + * Test if a node is a `ReadonlyKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isReadonlyKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ReadonlyKeyword`. + */ +declare function isReadonlyKeyword(node: ts.Node): node is ts.ReadonlyKeyword; +/** + * Test if a node is a `StaticKeyword`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStaticKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `StaticKeyword`. + */ +declare function isStaticKeyword(node: ts.Node): node is ts.StaticKeyword; +/** + * Test if a node is a {@link StringKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isStringKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link StringKeyword}. + */ +declare function isStringKeyword(node: ts.Node): node is StringKeyword; +/** + * Test if a node is a `SuperExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperExpression`. + */ +declare function isSuperExpression(node: ts.Node): node is ts.SuperExpression; +/** + * Test if a node is a {@link SuperKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SuperKeyword}. + */ +declare function isSuperKeyword(node: ts.Node): node is SuperKeyword; +/** + * Test if a node is a {@link SymbolKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSymbolKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link SymbolKeyword}. + */ +declare function isSymbolKeyword(node: ts.Node): node is SymbolKeyword; +/** + * Test if a node is a `SyntaxList`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSyntaxList(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SyntaxList`. + */ +declare function isSyntaxList(node: ts.Node): node is ts.SyntaxList; +/** + * Test if a node is a `ThisExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ThisExpression`. + */ +declare function isThisExpression(node: ts.Node): node is ts.ThisExpression; +/** + * Test if a node is a {@link ThisKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isThisKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link ThisKeyword}. + */ +declare function isThisKeyword(node: ts.Node): node is ThisKeyword; +/** + * Test if a node is a {@link TrueKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link TrueKeyword}. + */ +declare function isTrueKeyword(node: ts.Node): node is TrueKeyword; +/** + * Test if a node is a `TrueLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTrueLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TrueLiteral`. + */ +declare function isTrueLiteral(node: ts.Node): node is ts.TrueLiteral; +/** + * Test if a node is an {@link UndefinedKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUndefinedKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UndefinedKeyword}. + */ +declare function isUndefinedKeyword(node: ts.Node): node is UndefinedKeyword; +/** + * Test if a node is an {@link UnknownKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnknownKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an {@link UnknownKeyword}. + */ +declare function isUnknownKeyword(node: ts.Node): node is UnknownKeyword; +/** + * Test if a node is a {@link VoidKeyword}. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVoidKeyword(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a {@link VoidKeyword}. + */ +declare function isVoidKeyword(node: ts.Node): node is VoidKeyword; + +/** + * Test if a node is a `HasDecorators`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasDecorators(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasDecorators`. + */ +declare function hasDecorators(node: ts.Node): node is ts.HasDecorators; +/** + * Test if a node is a `HasExpressionInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasExpressionInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasExpressionInitializer`. + */ +declare function hasExpressionInitializer(node: ts.Node): node is ts.HasExpressionInitializer; +/** + * Test if a node is a `HasInitializer`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasInitializer(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasInitializer`. + */ +declare function hasInitializer(node: ts.Node): node is ts.HasInitializer; +/** + * Test if a node is a `HasJSDoc`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasJSDoc(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasJSDoc`. + */ +declare function hasJSDoc(node: ts.Node): node is ts.HasJSDoc; +/** + * Test if a node is a `HasModifiers`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasModifiers(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasModifiers`. + */ +declare function hasModifiers(node: ts.Node): node is ts.HasModifiers; +/** + * Test if a node is a `HasType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasType`. + */ +declare function hasType(node: ts.Node): node is ts.HasType; +/** + * Test if a node is a `HasTypeArguments`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (hasTypeArguments(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `HasTypeArguments`. + */ +declare function hasTypeArguments(node: ts.Node): node is ts.HasTypeArguments; +/** + * Test if a node is an `AccessExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessExpression`. + */ +declare function isAccessExpression(node: ts.Node): node is ts.AccessExpression; +/** + * Test if a node is an `AccessibilityModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessibilityModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessibilityModifier`. + */ +declare function isAccessibilityModifier(node: ts.Node): node is ts.AccessibilityModifier; +/** + * Test if a node is an `AccessorDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isAccessor`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAccessorDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AccessorDeclaration`. + */ +declare function isAccessorDeclaration(node: ts.Node): node is ts.AccessorDeclaration; +/** + * Test if a node is an `ArrayBindingElement`. + * @deprecated With TypeScript v5, in favor of typescript's `isArrayBindingElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingElement`. + */ +declare function isArrayBindingElement(node: ts.Node): node is ts.ArrayBindingElement; +/** + * Test if a node is an `ArrayBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isArrayBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ArrayBindingOrAssignmentPattern`. + */ +declare function isArrayBindingOrAssignmentPattern(node: ts.Node): node is ts.ArrayBindingOrAssignmentPattern; +/** + * Test if a node is an `AssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `AssignmentPattern`. + */ +declare function isAssignmentPattern(node: ts.Node): node is ts.AssignmentPattern; +/** + * Test if a node is a `BindingOrAssignmentElementRestIndicator`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementRestIndicator(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementRestIndicator`. + */ +declare function isBindingOrAssignmentElementRestIndicator(node: ts.Node): node is ts.BindingOrAssignmentElementRestIndicator; +/** + * Test if a node is a `BindingOrAssignmentElementTarget`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentElementTarget(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentElementTarget`. + */ +declare function isBindingOrAssignmentElementTarget(node: ts.Node): node is ts.BindingOrAssignmentElementTarget; +/** + * Test if a node is a `BindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingOrAssignmentPattern`. + */ +declare function isBindingOrAssignmentPattern(node: ts.Node): node is ts.BindingOrAssignmentPattern; +/** + * Test if a node is a `BindingPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBindingPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BindingPattern`. + */ +declare function isBindingPattern(node: ts.Node): node is ts.BindingPattern; +/** + * Test if a node is a `BlockLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBlockLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BlockLike`. + */ +declare function isBlockLike(node: ts.Node): node is ts.BlockLike; +/** + * Test if a node is a `BooleanLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isBooleanLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `BooleanLiteral`. + */ +declare function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral; +/** + * Test if a node is a `ClassLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isClassLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassLikeDeclaration`. + */ +declare function isClassLikeDeclaration(node: ts.Node): node is ts.ClassLikeDeclaration; +/** + * Test if a node is a `ClassMemberModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isClassMemberModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ClassMemberModifier`. + */ +declare function isClassMemberModifier(node: ts.Node): node is ts.ClassMemberModifier; +/** + * Test if a node is a `DeclarationName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationName`. + */ +declare function isDeclarationName(node: ts.Node): node is ts.DeclarationName; +/** + * Test if a node is a `DeclarationWithTypeParameterChildren`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameterChildren(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameterChildren`. + */ +declare function isDeclarationWithTypeParameterChildren(node: ts.Node): node is ts.DeclarationWithTypeParameterChildren; +/** + * Test if a node is a `DeclarationWithTypeParameters`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDeclarationWithTypeParameters(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DeclarationWithTypeParameters`. + */ +declare function isDeclarationWithTypeParameters(node: ts.Node): node is ts.DeclarationWithTypeParameters; +/** + * Test if a node is a `DestructuringPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isDestructuringPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `DestructuringPattern`. + */ +declare function isDestructuringPattern(node: ts.Node): node is ts.DestructuringPattern; +/** + * Test if a node is an `EntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameExpression`. + */ +declare function isEntityNameExpression(node: ts.Node): node is ts.EntityNameExpression; +/** + * Test if a node is an `EntityNameOrEntityNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isEntityNameOrEntityNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `EntityNameOrEntityNameExpression`. + */ +declare function isEntityNameOrEntityNameExpression(node: ts.Node): node is ts.EntityNameOrEntityNameExpression; +/** + * Test if a node is a `ForInOrOfStatement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isForInOrOfStatement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ForInOrOfStatement`. + */ +declare function isForInOrOfStatement(node: ts.Node): node is ts.ForInOrOfStatement; +/** + * Test if a node is a `FunctionLikeDeclaration`. + * @deprecated With TypeScript v5, in favor of typescript's `isFunctionLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `FunctionLikeDeclaration`. + */ +declare function isFunctionLikeDeclaration(node: ts.Node): node is ts.FunctionLikeDeclaration; +/** + * Test if a node is a `JSDocComment`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocComment(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocComment`. + */ +declare function isJSDocComment(node: ts.Node): node is ts.JSDocComment; +/** + * Test if a node is a `JSDocNamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocNamespaceBody`. + */ +declare function isJSDocNamespaceBody(node: ts.Node): node is ts.JSDocNamespaceBody; +/** + * Test if a node is a `JSDocTypeReferencingNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJSDocTypeReferencingNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JSDocTypeReferencingNode`. + */ +declare function isJSDocTypeReferencingNode(node: ts.Node): node is ts.JSDocTypeReferencingNode; +/** + * Test if a node is a `JsonObjectExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsonObjectExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsonObjectExpression`. + */ +declare function isJsonObjectExpression(node: ts.Node): node is ts.JsonObjectExpression; +/** + * Test if a node is a `JsxAttributeLike`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxAttributeLike`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeLike(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeLike`. + */ +declare function isJsxAttributeLike(node: ts.Node): node is ts.JsxAttributeLike; +/** + * Test if a node is a `JsxAttributeValue`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxAttributeValue(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxAttributeValue`. + */ +declare function isJsxAttributeValue(node: ts.Node): node is ts.JsxAttributeValue; +/** + * Test if a node is a `JsxChild`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxChild`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxChild(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxChild`. + */ +declare function isJsxChild(node: ts.Node): node is ts.JsxChild; +/** + * Test if a node is a `JsxTagNameExpression`. + * @deprecated With TypeScript v5, in favor of typescript's `isJsxTagNameExpression`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isJsxTagNameExpression(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `JsxTagNameExpression`. + */ +declare function isJsxTagNameExpression(node: ts.Node): node is ts.JsxTagNameExpression; +/** + * Test if a node is a `LiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `LiteralToken`. + */ +declare function isLiteralToken(node: ts.Node): node is ts.LiteralToken; +/** + * Test if a node is a `ModuleBody`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleBody`. + */ +declare function isModuleBody(node: ts.Node): node is ts.ModuleBody; +/** + * Test if a node is a `ModuleName`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleName`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleName(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleName`. + */ +declare function isModuleName(node: ts.Node): node is ts.ModuleName; +/** + * Test if a node is a `ModuleReference`. + * @deprecated With TypeScript v5, in favor of typescript's `isModuleReference`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isModuleReference(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ModuleReference`. + */ +declare function isModuleReference(node: ts.Node): node is ts.ModuleReference; +/** + * Test if a node is a `NamedImportBindings`. + * @deprecated With TypeScript v5, in favor of typescript's `isNamedImportBindings`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportBindings(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportBindings`. + */ +declare function isNamedImportBindings(node: ts.Node): node is ts.NamedImportBindings; +/** + * Test if a node is a `NamedImportsOrExports`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamedImportsOrExports(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamedImportsOrExports`. + */ +declare function isNamedImportsOrExports(node: ts.Node): node is ts.NamedImportsOrExports; +/** + * Test if a node is a `NamespaceBody`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isNamespaceBody(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `NamespaceBody`. + */ +declare function isNamespaceBody(node: ts.Node): node is ts.NamespaceBody; +/** + * Test if a node is an `ObjectBindingOrAssignmentElement`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentElement(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentElement`. + */ +declare function isObjectBindingOrAssignmentElement(node: ts.Node): node is ts.ObjectBindingOrAssignmentElement; +/** + * Test if a node is an `ObjectBindingOrAssignmentPattern`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectBindingOrAssignmentPattern(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectBindingOrAssignmentPattern`. + */ +declare function isObjectBindingOrAssignmentPattern(node: ts.Node): node is ts.ObjectBindingOrAssignmentPattern; +/** + * Test if a node is an `ObjectTypeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isObjectTypeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `ObjectTypeDeclaration`. + */ +declare function isObjectTypeDeclaration(node: ts.Node): node is ts.ObjectTypeDeclaration; +/** + * Test if a node is a `ParameterPropertyModifier`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isParameterPropertyModifier(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `ParameterPropertyModifier`. + */ +declare function isParameterPropertyModifier(node: ts.Node): node is ts.ParameterPropertyModifier; +/** + * Test if a node is a `PropertyNameLiteral`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPropertyNameLiteral(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PropertyNameLiteral`. + */ +declare function isPropertyNameLiteral(node: ts.Node): node is ts.PropertyNameLiteral; +/** + * Test if a node is a `PseudoLiteralToken`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isPseudoLiteralToken(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `PseudoLiteralToken`. + */ +declare function isPseudoLiteralToken(node: ts.Node): node is ts.PseudoLiteralToken; +/** + * Test if a node is a `SignatureDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSignatureDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SignatureDeclaration`. + */ +declare function isSignatureDeclaration(node: ts.Node): node is ts.SignatureDeclaration; +/** + * Test if a node is a `SuperProperty`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isSuperProperty(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `SuperProperty`. + */ +declare function isSuperProperty(node: ts.Node): node is ts.SuperProperty; +/** + * Test if a node is a `TypeOnlyCompatibleAliasDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeOnlyCompatibleAliasDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeOnlyCompatibleAliasDeclaration`. + */ +declare function isTypeOnlyCompatibleAliasDeclaration(node: ts.Node): node is ts.TypeOnlyCompatibleAliasDeclaration; +/** + * Test if a node is a `TypeReferenceType`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isTypeReferenceType(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `TypeReferenceType`. + */ +declare function isTypeReferenceType(node: ts.Node): node is ts.TypeReferenceType; +/** + * Test if a node is an `UnionOrIntersectionTypeNode`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isUnionOrIntersectionTypeNode(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be an `UnionOrIntersectionTypeNode`. + */ +declare function isUnionOrIntersectionTypeNode(node: ts.Node): node is ts.UnionOrIntersectionTypeNode; +/** + * Test if a node is a `VariableLikeDeclaration`. + * @category Nodes - Type Guards + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isVariableLikeDeclaration(node)) { + * // ... + * } + * ``` + * @returns Whether the given node appears to be a `VariableLikeDeclaration`. + */ +declare function isVariableLikeDeclaration(node: ts.Node): node is ts.VariableLikeDeclaration; + +/** + * Is the node a scope boundary, specifically due to it being a function. + * @category Scope Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * if (isFunctionScopeBoundary(node, ts.ObjectFlags.Anonymous)) { + * // ... + * } + * ``` + */ +declare function isFunctionScopeBoundary(node: ts.Node): boolean; + +/** + * Test of the kind given is for assignment. + * @category Syntax Utilities + * @example + * ```ts + * declare const kind: ts.SyntaxKind; + * + * isAssignmentKind(kind); + * ``` + */ +declare function isAssignmentKind(kind: ts.SyntaxKind): boolean; +/** + * Test if a string is numeric. + * @category Syntax Utilities + * @example + * ```ts + * isNumericPropertyName("abc"); // false + * isNumericPropertyName("123"); // true + * ``` + */ +declare function isNumericPropertyName(name: string | ts.__String): boolean; +/** + * Determines whether the given text can be used to access a property with a `PropertyAccessExpression` while preserving the property's name. + * @category Syntax Utilities + * @example + * ```ts + * isValidPropertyAccess("abc"); // true + * isValidPropertyAccess("123"); // false + * ``` + */ +declare function isValidPropertyAccess(text: string, languageVersion?: ts.ScriptTarget): boolean; + +/** + * Callback type used for {@link forEachToken}. + * @category Callbacks + * @example + * ```ts + * let onToken: ForEachTokenCallback = (token) => { + * console.log(`Found token at position: ${token.pos}.`); + * }; + * ``` + */ +type ForEachTokenCallback = (token: ts.Node) => void; +/** + * Iterates over all tokens of `node` + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const node: ts.Node; + * + * forEachToken(node, (token) => { + * console.log("Found token:", token.getText()); + * }); + * ``` + * @param node The node whose tokens should be visited + * @param callback Is called for every token contained in `node` + */ +declare function forEachToken(node: ts.Node, callback: ForEachTokenCallback, sourceFile?: ts.SourceFile): void; + +/** + * Get the `CallSignatures` of the given type. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * + * getCallSignaturesOfType(type); + * ``` + */ +declare function getCallSignaturesOfType(type: ts.Type): readonly ts.Signature[]; +/** + * Get the property with the given name on the given type (if it exists). + * @category Types - Getters + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * + * getPropertyOfType(type, property.getEscapedName()); + * ``` + */ +declare function getPropertyOfType(type: ts.Type, name: ts.__String): ts.Symbol | undefined; +/** + * Retrieves a type symbol corresponding to a well-known string name. + * @category Types - Getters + * @example + * ```ts + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * getWellKnownSymbolPropertyOfType(type, "asyncIterator", typeChecker); + * ``` + */ +declare function getWellKnownSymbolPropertyOfType(type: ts.Type, wellKnownSymbolName: string, typeChecker: ts.TypeChecker): ts.Symbol | undefined; + +/** + * A "any" intrinsic type. + * @category Type Types + */ +interface IntrinsicAnyType extends IntrinsicType { + intrinsicName: "any"; +} +/** + * A "bigint" intrinsic type. + * @category Type Types + */ +interface IntrinsicBigIntType extends IntrinsicType { + intrinsicName: "bigint"; +} +/** + * A "boolean" intrinsic type. + * @category Type Types + */ +interface IntrinsicBooleanType extends IntrinsicType { + intrinsicName: "boolean"; +} +/** + * An "error" intrinsic type. + * + * This refers to a type generated when TypeScript encounters an error while + * trying to resolve the type. + * @category Type Types + */ +interface IntrinsicErrorType extends IntrinsicType { + intrinsicName: "error"; +} +/** + * A "symbol" intrinsic type. + * @category Type Types + */ +interface IntrinsicESSymbolType extends IntrinsicType { + intrinsicName: "symbol"; +} +/** + * An "intrinsic" (built-in to TypeScript) type. + * @category Type Types + */ +interface IntrinsicType extends ts.Type { + intrinsicName: string; + objectFlags: ts.ObjectFlags; +} +/** + * Determines whether the given type is the "any" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicAnyType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicAnyType(type: ts.Type): type is IntrinsicAnyType; +/** + * Determines whether the given type is the "bigint" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBigIntType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBigIntType(type: ts.Type): type is IntrinsicBigIntType; +/** + * Determines whether the given type is the "boolean" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicBooleanType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicBooleanType(type: ts.Type): type is IntrinsicBooleanType; +/** + * Determines whether the given type is the "error" intrinsic type. + * + * The intrinsic error type occurs when TypeScript encounters an error while + * trying to resolve the type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicErrorType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicErrorType(type: ts.Type): type is IntrinsicErrorType; +/** + * Determines whether the given type is the "symbol" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicESSymbolType(type: ts.Type): type is IntrinsicESSymbolType; +/** + * A "never" intrinsic type. + * @category Type Types + */ +interface IntrinsicNeverType extends IntrinsicType { + intrinsicName: "never"; +} +/** + * A non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Type Types + */ +interface IntrinsicNonPrimitiveType extends IntrinsicType { + intrinsicName: ""; +} +/** + * A "null" intrinsic type. + * @category Type Types + */ +interface IntrinsicNullType extends IntrinsicType { + intrinsicName: "null"; +} +/** + * A "number" intrinsic type. + * @category Type Types + */ +interface IntrinsicNumberType extends IntrinsicType { + intrinsicName: "number"; +} +/** + * A "string" intrinsic type. + * @category Type Types + */ +interface IntrinsicStringType extends IntrinsicType { + intrinsicName: "string"; +} +/** + * The built-in `undefined` type. + * @category Type Types + */ +interface IntrinsicUndefinedType extends IntrinsicType { + intrinsicName: "undefined"; +} +/** + * The built-in `unknown` type. + * @category Type Types + */ +interface IntrinsicUnknownType extends IntrinsicType { + intrinsicName: "unknown"; +} +/** + * A "void" intrinsic type. + * @category Type Types + */ +interface IntrinsicVoidType extends IntrinsicType { + intrinsicName: "void"; +} +/** + * Determines whether the given type is the "never" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNeverType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNeverType(type: ts.Type): type is IntrinsicNeverType; +/** + * Determines whether the given type is a non-primitive intrinsic type. + * E.g. An "object" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNonPrimitiveType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNonPrimitiveType(type: ts.Type): type is IntrinsicNonPrimitiveType; +/** + * Determines whether the given type is the "null" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNullType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNullType(type: ts.Type): type is IntrinsicNullType; +/** + * Determines whether the given type is the "number" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicNumberType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicNumberType(type: ts.Type): type is IntrinsicNumberType; +/** + * Determines whether the given type is the "string" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicStringType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicStringType(type: ts.Type): type is IntrinsicStringType; +/** + * Test if a type is an {@link IntrinsicType}. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicType(type: ts.Type): type is IntrinsicType; +/** + * Determines whether the given type is the "undefined" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUndefinedType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUndefinedType(type: ts.Type): type is IntrinsicUndefinedType; +/** + * Determines whether the given type is the "unknown" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicUnknownType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicUnknownType(type: ts.Type): type is IntrinsicUnknownType; +/** + * Determines whether the given type is the "void" intrinsic type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntrinsicVoidType(type)) { + * // ... + * } + * ``` + */ +declare function isIntrinsicVoidType(type: ts.Type): type is IntrinsicVoidType; + +/** + * A type that is both an {@link IntrinsicType} and a `FreshableType` + * @category Type Types + */ +interface FreshableIntrinsicType extends ts.FreshableType, IntrinsicType { +} +/** + * Test if a type is a `FreshableIntrinsicType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableIntrinsicType(type)) { + * // ... + * } + */ +declare function isFreshableIntrinsicType(type: ts.Type): type is FreshableIntrinsicType; +/** + * Test if a type is a `TupleTypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleTypeReference(type)) { + * // ... + * } + */ +declare function isTupleTypeReference(type: ts.Type): type is ts.TupleTypeReference; + +/** + * A boolean literal. + * i.e. Either a "true" or "false" literal. + * @category Type Types + */ +interface BooleanLiteralType extends FreshableIntrinsicType { + intrinsicName: "false" | "true"; +} +/** + * A "false" literal. + * @category Type Types + */ +interface FalseLiteralType extends BooleanLiteralType { + intrinsicName: "false"; +} +/** + * A "true" literal. + * @category Type Types + */ +interface TrueLiteralType extends BooleanLiteralType { + intrinsicName: "true"; +} +/** + * `LiteralType` from typescript except that it allows for it to work on arbitrary types. + * @deprecated Use {@link FreshableIntrinsicType} instead. + * @category Type Types + */ +interface UnknownLiteralType extends FreshableIntrinsicType { + value?: unknown; +} +/** + * Test if a type is a `BigIntLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBigIntLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBigIntLiteralType(type: ts.Type): type is ts.BigIntLiteralType; +/** + * Determines whether the given type is a boolean literal type. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isBooleanLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isBooleanLiteralType(type: ts.Type): type is BooleanLiteralType; +/** + * Determines whether the given type is a boolean literal type for "false". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalseLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isFalseLiteralType(type: ts.Type): type is FalseLiteralType; +/** + * Test if a type is a `LiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isLiteralType(type: ts.Type): type is ts.LiteralType; +/** + * Test if a type is a `NumberLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isNumberLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isNumberLiteralType(type: ts.Type): type is ts.NumberLiteralType; +/** + * Test if a type is a `StringLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isStringLiteralType(type: ts.Type): type is ts.StringLiteralType; +/** + * Test if a type is a `TemplateLiteralType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTemplateLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTemplateLiteralType(type: ts.Type): type is ts.TemplateLiteralType; +/** + * Determines whether the given type is a boolean literal type for "true". + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTrueLiteralType(type)) { + * // ... + * } + * ``` + */ +declare function isTrueLiteralType(type: ts.Type): type is TrueLiteralType; + +/** + * Test if a type is a `EvolvingArrayType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEvolvingArrayType(type)) { + * // ... + * } + * ``` + */ +declare function isEvolvingArrayType(type: ts.Type): type is ts.EvolvingArrayType; +/** + * Test if a type is a `TupleType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTupleType(type)) { + * // ... + * } + * ``` + */ +declare function isTupleType(type: ts.Type): type is ts.TupleType; +/** + * Test if a type is a `TypeReference`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeReference(type)) { + * // ... + * } + * ``` + */ +declare function isTypeReference(type: ts.Type): type is ts.TypeReference; + +/** + * Test if a type is a `ConditionalType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isConditionalType(type)) { + * // ... + * } + * ``` + */ +declare function isConditionalType(type: ts.Type): type is ts.ConditionalType; +/** + * Test if a type is a `EnumType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isEnumType(type)) { + * // ... + * } + * ``` + */ +declare function isEnumType(type: ts.Type): type is ts.EnumType; +/** + * Test if a type is a `FreshableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFreshableType(type)) { + * // ... + * } + * ``` + */ +declare function isFreshableType(type: ts.Type): type is ts.FreshableType; +/** + * Test if a type is a `IndexedAccessType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexedAccessType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexedAccessType(type: ts.Type): type is ts.IndexedAccessType; +/** + * Test if a type is a `IndexType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIndexType(type)) { + * // ... + * } + * ``` + */ +declare function isIndexType(type: ts.Type): type is ts.IndexType; +/** + * Test if a type is a `InstantiableType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isInstantiableType(type)) { + * // ... + * } + * ``` + */ +declare function isInstantiableType(type: ts.Type): type is ts.InstantiableType; +/** + * Test if a type is a `IntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isIntersectionType(type: ts.Type): type is ts.IntersectionType; +/** + * Test if a type is a `ObjectType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isObjectType(type)) { + * // ... + * } + * ``` + */ +declare function isObjectType(type: ts.Type): type is ts.ObjectType; +/** + * Test if a type is a `StringMappingType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isStringMappingType(type)) { + * // ... + * } + * ``` + */ +declare function isStringMappingType(type: ts.Type): type is ts.StringMappingType; +/** + * Test if a type is a `SubstitutionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isSubstitutionType(type)) { + * // ... + * } + * ``` + */ +declare function isSubstitutionType(type: ts.Type): type is ts.SubstitutionType; +/** + * Test if a type is a `TypeParameter`. + * + * Note: It is intentional that this is not a type guard. + * @see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382 + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeParameter(type)) { + * // ... + * } + * ``` + */ +declare function isTypeParameter(type: ts.Type): boolean; +/** + * Test if a type is a `TypeVariable`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isTypeVariable(type)) { + * // ... + * } + * ``` + */ +declare function isTypeVariable(type: ts.Type): type is ts.TypeVariable; +/** + * Test if a type is a `UnionOrIntersectionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionOrIntersectionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionOrIntersectionType(type: ts.Type): type is ts.UnionOrIntersectionType; +/** + * Test if a type is a `UnionType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUnionType(type)) { + * // ... + * } + * ``` + */ +declare function isUnionType(type: ts.Type): type is ts.UnionType; +/** + * Test if a type is a `UniqueESSymbolType`. + * @category Types - Type Guards + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isUniqueESSymbolType(type)) { + * // ... + * } + * ``` + */ +declare function isUniqueESSymbolType(type: ts.Type): type is ts.UniqueESSymbolType; + +/** + * Get the intersection type parts of the given type. + * + * If the given type is not a intersection type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function intersectionTypeParts(type: ts.Type): ts.Type[]; +/** + * Determines whether a type is definitely falsy. This function doesn't unwrap union types. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (isFalsyType(type)) { + * // ... + * } + * ``` + */ +declare function isFalsyType(type: ts.Type): boolean; +/** + * Determines whether writing to a certain property of a given type is allowed. + * @category Types - Utilities + * @example + * ```ts + * declare const property: ts.Symbol; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isPropertyReadonlyInType(type, property.getEscapedName(), typeChecker)) { + * // ... + * } + * ``` + */ +declare function isPropertyReadonlyInType(type: ts.Type, name: ts.__String, typeChecker: ts.TypeChecker): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const node: ts.Node; + * declare const type: ts.Type; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, node, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Node, type: ts.Type): boolean; +/** + * Determines whether a type is thenable and thus can be used with `await`. + * @category Types - Utilities + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * + * if (isThenableType(typeChecker, expression)) { + * // ... + * } + * ``` + * @example + * ```ts + * declare const expression: ts.Expression; + * declare const typeChecker: ts.TypeChecker; + * declare const type: ts.Type; + * + * if (isThenableType(typeChecker, expression, type)) { + * // ... + * } + * ``` + */ +declare function isThenableType(typeChecker: ts.TypeChecker, node: ts.Expression, type?: ts.Type): boolean; +/** + * Test if the given symbol has a readonly declaration. + * @category Symbols - Utilities + * @example + * ```ts + * declare const symbol: ts.Symbol; + * declare const typeChecker: ts.TypeChecker; + * + * if (symbolHasReadonlyDeclaration(symbol, typeChecker)) { + * // ... + * } + * ``` + */ +declare function symbolHasReadonlyDeclaration(symbol: ts.Symbol, typeChecker: ts.TypeChecker): boolean; +/** + * TS's `type.isLiteral()` is bugged before TS v5.0 and won't return `true` for + * bigint literals. Use this function instead if you need to check for bigint + * literals in TS versions before v5.0. Otherwise, you should just use + * `type.isLiteral()`. + * @see https://github.com/microsoft/TypeScript/pull/50929 + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * if (typeIsLiteral(type)) { + * // ... + * } + * ``` + */ +declare function typeIsLiteral(type: ts.Type): type is ts.LiteralType; +/** + * Get the intersection or union type parts of the given type. + * + * Note that this is a shallow collection: it only returns `type.types` or `[type]`. + * + * If the given type is not an intersection or union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of intersectionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function typeParts(type: ts.Type): ts.Type[]; +/** + * Get the union type parts of the given type. + * + * If the given type is not a union type, an array contain only that type will be returned. + * @category Types - Utilities + * @example + * ```ts + * declare const type: ts.Type; + * + * for (const typePart of unionTypeParts(type)) { + * // ... + * } + * ``` + */ +declare function unionTypeParts(type: ts.Type): ts.Type[]; + +/** + * Which "domain"(s) (most commonly, type or value space) a declaration is within. + */ +declare enum DeclarationDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + Import = 8 +} + +/** + * Which "domain"(s) (most commonly, type or value space) a usage is within. + */ +declare enum UsageDomain { + Namespace = 1, + Type = 2, + Value = 4, + Any = 7, + TypeQuery = 8, + ValueOrNamespace = 5 +} + +/** + * An instance of an item (type or value) being used. + */ +interface Usage { + /** + * Which space(s) the usage is within. + */ + domain: UsageDomain; + location: ts.Identifier; +} +/** + * How an item (type or value) was declared and/or referenced. + */ +interface UsageInfo { + /** + * Locations where the item was declared. + */ + declarations: ts.Identifier[]; + /** + * Which space(s) the item is within. + */ + domain: DeclarationDomain; + /** + * Whether the item was exported from its module or namespace scope. + */ + exported: boolean; + /** + * Whether the item's declaration was in the global scope. + */ + inGlobalScope: boolean; + /** + * Each reference to the item in the file. + */ + uses: Usage[]; +} + +/** + * Creates a mapping of each declared type and value to its type information. + * @category Nodes - Other Utilities + * @example + * ```ts + * declare const sourceFile: ts.SourceFile; + * + * const usage = collectVariableUsage(sourceFile); + * + * for (const [identifier, information] of usage) { + * console.log(`${identifier.getText()} is used ${information.uses.length} time(s).`); + * } + * ``` + */ +declare function collectVariableUsage(sourceFile: ts.SourceFile): Map; + +export { AccessKind, type AnyKeyword, type BigIntKeyword, type BooleanCompilerOptions, type BooleanKeyword, type BooleanLiteralType, type ConstAssertionExpression, type ConstAssertionIdentifier, DeclarationDomain, type FalseKeyword, type FalseLiteralType, type ForEachCommentCallback, type ForEachTokenCallback, type FreshableIntrinsicType, type ImportKeyword, type IntrinsicAnyType, type IntrinsicBigIntType, type IntrinsicBooleanType, type IntrinsicESSymbolType, type IntrinsicErrorType, type IntrinsicNeverType, type IntrinsicNonPrimitiveType, type IntrinsicNullType, type IntrinsicNumberType, type IntrinsicStringType, type IntrinsicType, type IntrinsicUndefinedType, type IntrinsicUnknownType, type IntrinsicVoidType, type NamedDeclarationWithName, type NeverKeyword, type NullKeyword, type NumberKeyword, type NumericOrStringLikeLiteral, type ObjectKeyword, type StrictCompilerOption, type StringKeyword, type SuperKeyword, type SymbolKeyword, type ThisKeyword, type TrueKeyword, type TrueLiteralType, type UndefinedKeyword, type UnknownKeyword, type UnknownLiteralType, UsageDomain, type UsageInfo as VariableInfo, type Usage as VariableUse, type VoidKeyword, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js new file mode 100644 index 0000000000..12c109acab --- /dev/null +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js @@ -0,0 +1,2078 @@ +import ts9 from 'typescript'; + +// src/comments.ts +function forEachToken(node, callback, sourceFile = node.getSourceFile()) { + const queue = []; + while (true) { + if (ts9.isTokenKind(node.kind)) { + callback(node); + } else { + const children = node.getChildren(sourceFile); + if (children.length === 1) { + node = children[0]; + continue; + } + for (let i = children.length - 1; i >= 0; --i) { + queue.push(children[i]); + } + } + if (queue.length === 0) { + break; + } + node = queue.pop(); + } +} + +// src/comments.ts +function forEachComment(node, callback, sourceFile = node.getSourceFile()) { + const fullText = sourceFile.text; + const notJsx = sourceFile.languageVariant !== ts9.LanguageVariant.JSX; + return forEachToken( + node, + (token) => { + if (token.pos === token.end) { + return; + } + if (token.kind !== ts9.SyntaxKind.JsxText) { + ts9.forEachLeadingCommentRange( + fullText, + // skip shebang at position 0 + token.pos === 0 ? (ts9.getShebang(fullText) ?? "").length : token.pos, + commentCallback + ); + } + if (notJsx || canHaveTrailingTrivia(token)) { + return ts9.forEachTrailingCommentRange( + fullText, + token.end, + commentCallback + ); + } + }, + sourceFile + ); + function commentCallback(pos, end, kind) { + callback(fullText, { end, kind, pos }); + } +} +function canHaveTrailingTrivia(token) { + switch (token.kind) { + case ts9.SyntaxKind.CloseBraceToken: + return token.parent.kind !== ts9.SyntaxKind.JsxExpression || !isJsxElementOrFragment(token.parent.parent); + case ts9.SyntaxKind.GreaterThanToken: + switch (token.parent.kind) { + case ts9.SyntaxKind.JsxClosingElement: + case ts9.SyntaxKind.JsxClosingFragment: + return !isJsxElementOrFragment(token.parent.parent.parent); + case ts9.SyntaxKind.JsxOpeningElement: + return token.end !== token.parent.end; + case ts9.SyntaxKind.JsxOpeningFragment: + return false; + // would be inside the fragment + case ts9.SyntaxKind.JsxSelfClosingElement: + return token.end !== token.parent.end || // if end is not equal, this is part of the type arguments list + !isJsxElementOrFragment(token.parent.parent); + } + } + return true; +} +function isJsxElementOrFragment(node) { + return node.kind === ts9.SyntaxKind.JsxElement || node.kind === ts9.SyntaxKind.JsxFragment; +} +function isCompilerOptionEnabled(options, option) { + switch (option) { + case "allowJs": + return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + case "allowSyntheticDefaultImports": + return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; + case "alwaysStrict": + case "noImplicitAny": + case "noImplicitThis": + case "strictBindCallApply": + case "strictFunctionTypes": + case "strictNullChecks": + case "strictPropertyInitialization": + return isStrictCompilerOptionEnabled( + options, + option + ); + case "declaration": + return options.declaration || isCompilerOptionEnabled(options, "composite"); + case "declarationMap": + case "emitDeclarationOnly": + case "stripInternal": + return options[option] === true && isCompilerOptionEnabled(options, "declaration"); + case "incremental": + return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + case "noUncheckedIndexedAccess": + return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); + case "skipDefaultLibCheck": + return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck"); + case "suppressImplicitAnyIndexErrors": + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated + options.suppressImplicitAnyIndexErrors === true && isCompilerOptionEnabled(options, "noImplicitAny") + ); + } + return options[option] === true; +} +function isStrictCompilerOptionEnabled(options, option) { + return (options.strict ? options[option] !== false : options[option] === true) && (option !== "strictPropertyInitialization" || isStrictCompilerOptionEnabled(options, "strictNullChecks")); +} +function isModifierFlagSet(node, flag) { + return isFlagSet(ts9.getCombinedModifierFlags(node), flag); +} +function isFlagSet(allFlags, flag) { + return (allFlags & flag) !== 0; +} +function isFlagSetOnObject(obj, flag) { + return isFlagSet(obj.flags, flag); +} +var isNodeFlagSet = isFlagSetOnObject; +function isObjectFlagSet(objectType, flag) { + return isFlagSet(objectType.objectFlags, flag); +} +var isSymbolFlagSet = isFlagSetOnObject; +function isTransientSymbolLinksFlagSet(links, flag) { + return isFlagSet(links.checkFlags, flag); +} +var isTypeFlagSet = isFlagSetOnObject; + +// src/modifiers.ts +function includesModifier(modifiers, ...kinds) { + if (modifiers === void 0) { + return false; + } + for (const modifier of modifiers) { + if (kinds.includes(modifier.kind)) { + return true; + } + } + return false; +} +function isAssignmentKind(kind) { + return kind >= ts9.SyntaxKind.FirstAssignment && kind <= ts9.SyntaxKind.LastAssignment; +} +function isNumericPropertyName(name) { + return String(+name) === name; +} +function isValidPropertyAccess(text, languageVersion = ts9.ScriptTarget.Latest) { + if (text.length === 0) { + return false; + } + let ch = text.codePointAt(0); + if (!ts9.isIdentifierStart(ch, languageVersion)) { + return false; + } + for (let i = charSize(ch); i < text.length; i += charSize(ch)) { + ch = text.codePointAt(i); + if (!ts9.isIdentifierPart(ch, languageVersion)) { + return false; + } + } + return true; +} +function charSize(ch) { + return ch >= 65536 ? 2 : 1; +} + +// src/nodes/access.ts +var AccessKind = /* @__PURE__ */ ((AccessKind2) => { + AccessKind2[AccessKind2["None"] = 0] = "None"; + AccessKind2[AccessKind2["Read"] = 1] = "Read"; + AccessKind2[AccessKind2["Write"] = 2] = "Write"; + AccessKind2[AccessKind2["Delete"] = 4] = "Delete"; + AccessKind2[AccessKind2["ReadWrite"] = 3] = "ReadWrite"; + return AccessKind2; +})(AccessKind || {}); +function getAccessKind(node) { + const parent = node.parent; + switch (parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.SpreadAssignment: + case ts9.SyntaxKind.SpreadElement: + return isInDestructuringAssignment( + parent + ) ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.ArrowFunction: + return parent.body === node ? 1 /* Read */ : 2 /* Write */; + case ts9.SyntaxKind.AsExpression: + case ts9.SyntaxKind.NonNullExpression: + case ts9.SyntaxKind.ParenthesizedExpression: + case ts9.SyntaxKind.TypeAssertionExpression: + return getAccessKind(parent); + case ts9.SyntaxKind.AwaitExpression: + case ts9.SyntaxKind.CallExpression: + case ts9.SyntaxKind.CaseClause: + case ts9.SyntaxKind.ComputedPropertyName: + case ts9.SyntaxKind.ConditionalExpression: + case ts9.SyntaxKind.Decorator: + case ts9.SyntaxKind.DoStatement: + case ts9.SyntaxKind.ElementAccessExpression: + case ts9.SyntaxKind.ExpressionStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.IfStatement: + case ts9.SyntaxKind.JsxElement: + case ts9.SyntaxKind.JsxExpression: + case ts9.SyntaxKind.JsxOpeningElement: + case ts9.SyntaxKind.JsxSelfClosingElement: + case ts9.SyntaxKind.JsxSpreadAttribute: + case ts9.SyntaxKind.NewExpression: + case ts9.SyntaxKind.ReturnStatement: + case ts9.SyntaxKind.SwitchStatement: + case ts9.SyntaxKind.TaggedTemplateExpression: + case ts9.SyntaxKind.TemplateSpan: + case ts9.SyntaxKind.ThrowStatement: + case ts9.SyntaxKind.TypeOfExpression: + case ts9.SyntaxKind.VoidExpression: + case ts9.SyntaxKind.WhileStatement: + case ts9.SyntaxKind.WithStatement: + case ts9.SyntaxKind.YieldExpression: + return 1 /* Read */; + case ts9.SyntaxKind.BinaryExpression: + return parent.right === node ? 1 /* Read */ : !isAssignmentKind(parent.operatorToken.kind) ? 1 /* Read */ : parent.operatorToken.kind === ts9.SyntaxKind.EqualsToken ? 2 /* Write */ : 3 /* ReadWrite */; + case ts9.SyntaxKind.BindingElement: + case ts9.SyntaxKind.EnumMember: + case ts9.SyntaxKind.JsxAttribute: + case ts9.SyntaxKind.Parameter: + case ts9.SyntaxKind.PropertyDeclaration: + case ts9.SyntaxKind.VariableDeclaration: + return parent.initializer === node ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.DeleteExpression: + return 4 /* Delete */; + case ts9.SyntaxKind.ExportAssignment: + return parent.isExportEquals ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9.SyntaxKind.ExtendsKeyword && parent.parent.parent.kind !== ts9.SyntaxKind.InterfaceDeclaration ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + return parent.initializer === node ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.PostfixUnaryExpression: + return 3 /* ReadWrite */; + case ts9.SyntaxKind.PrefixUnaryExpression: + return parent.operator === ts9.SyntaxKind.PlusPlusToken || parent.operator === ts9.SyntaxKind.MinusMinusToken ? 3 /* ReadWrite */ : 1 /* Read */; + case ts9.SyntaxKind.PropertyAccessExpression: + return parent.expression === node ? 1 /* Read */ : 0 /* None */; + case ts9.SyntaxKind.PropertyAssignment: + return parent.name === node ? 0 /* None */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + case ts9.SyntaxKind.ShorthandPropertyAssignment: + return parent.objectAssignmentInitializer === node ? 1 /* Read */ : isInDestructuringAssignment(parent) ? 2 /* Write */ : 1 /* Read */; + } + return 0 /* None */; +} +function isInDestructuringAssignment(node) { + switch (node.kind) { + case ts9.SyntaxKind.ShorthandPropertyAssignment: + if (node.objectAssignmentInitializer !== void 0) { + return true; + } + // falls through + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.SpreadAssignment: + node = node.parent; + break; + case ts9.SyntaxKind.SpreadElement: + if (node.parent.kind !== ts9.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent; + } + while (true) { + switch (node.parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.ObjectLiteralExpression: + node = node.parent; + break; + case ts9.SyntaxKind.BinaryExpression: + return node.parent.left === node && node.parent.operatorToken.kind === ts9.SyntaxKind.EqualsToken; + case ts9.SyntaxKind.ForOfStatement: + return node.parent.initializer === node; + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.SpreadAssignment: + node = node.parent.parent; + break; + case ts9.SyntaxKind.SpreadElement: + if (node.parent.parent.kind !== ts9.SyntaxKind.ArrayLiteralExpression) { + return false; + } + node = node.parent.parent; + break; + default: + return false; + } + } +} +function isAbstractKeyword(node) { + return node.kind === ts9.SyntaxKind.AbstractKeyword; +} +function isAccessorKeyword(node) { + return node.kind === ts9.SyntaxKind.AccessorKeyword; +} +function isAnyKeyword(node) { + return node.kind === ts9.SyntaxKind.AnyKeyword; +} +function isAssertKeyword(node) { + return node.kind === ts9.SyntaxKind.AssertKeyword; +} +function isAssertsKeyword(node) { + return node.kind === ts9.SyntaxKind.AssertsKeyword; +} +function isAsyncKeyword(node) { + return node.kind === ts9.SyntaxKind.AsyncKeyword; +} +function isAwaitKeyword(node) { + return node.kind === ts9.SyntaxKind.AwaitKeyword; +} +function isBigIntKeyword(node) { + return node.kind === ts9.SyntaxKind.BigIntKeyword; +} +function isBooleanKeyword(node) { + return node.kind === ts9.SyntaxKind.BooleanKeyword; +} +function isColonToken(node) { + return node.kind === ts9.SyntaxKind.ColonToken; +} +function isConstKeyword(node) { + return node.kind === ts9.SyntaxKind.ConstKeyword; +} +function isDeclareKeyword(node) { + return node.kind === ts9.SyntaxKind.DeclareKeyword; +} +function isDefaultKeyword(node) { + return node.kind === ts9.SyntaxKind.DefaultKeyword; +} +function isDotToken(node) { + return node.kind === ts9.SyntaxKind.DotToken; +} +function isEndOfFileToken(node) { + return node.kind === ts9.SyntaxKind.EndOfFileToken; +} +function isEqualsGreaterThanToken(node) { + return node.kind === ts9.SyntaxKind.EqualsGreaterThanToken; +} +function isEqualsToken(node) { + return node.kind === ts9.SyntaxKind.EqualsToken; +} +function isExclamationToken(node) { + return node.kind === ts9.SyntaxKind.ExclamationToken; +} +function isExportKeyword(node) { + return node.kind === ts9.SyntaxKind.ExportKeyword; +} +function isFalseKeyword(node) { + return node.kind === ts9.SyntaxKind.FalseKeyword; +} +function isFalseLiteral(node) { + return node.kind === ts9.SyntaxKind.FalseKeyword; +} +function isImportExpression(node) { + return node.kind === ts9.SyntaxKind.ImportKeyword; +} +function isImportKeyword(node) { + return node.kind === ts9.SyntaxKind.ImportKeyword; +} +function isInKeyword(node) { + return node.kind === ts9.SyntaxKind.InKeyword; +} +function isJSDocText(node) { + return node.kind === ts9.SyntaxKind.JSDocText; +} +function isJsonMinusNumericLiteral(node) { + return node.kind === ts9.SyntaxKind.PrefixUnaryExpression; +} +function isNeverKeyword(node) { + return node.kind === ts9.SyntaxKind.NeverKeyword; +} +function isNullKeyword(node) { + return node.kind === ts9.SyntaxKind.NullKeyword; +} +function isNullLiteral(node) { + return node.kind === ts9.SyntaxKind.NullKeyword; +} +function isNumberKeyword(node) { + return node.kind === ts9.SyntaxKind.NumberKeyword; +} +function isObjectKeyword(node) { + return node.kind === ts9.SyntaxKind.ObjectKeyword; +} +function isOutKeyword(node) { + return node.kind === ts9.SyntaxKind.OutKeyword; +} +function isOverrideKeyword(node) { + return node.kind === ts9.SyntaxKind.OverrideKeyword; +} +function isPrivateKeyword(node) { + return node.kind === ts9.SyntaxKind.PrivateKeyword; +} +function isProtectedKeyword(node) { + return node.kind === ts9.SyntaxKind.ProtectedKeyword; +} +function isPublicKeyword(node) { + return node.kind === ts9.SyntaxKind.PublicKeyword; +} +function isQuestionDotToken(node) { + return node.kind === ts9.SyntaxKind.QuestionDotToken; +} +function isQuestionToken(node) { + return node.kind === ts9.SyntaxKind.QuestionToken; +} +function isReadonlyKeyword(node) { + return node.kind === ts9.SyntaxKind.ReadonlyKeyword; +} +function isStaticKeyword(node) { + return node.kind === ts9.SyntaxKind.StaticKeyword; +} +function isStringKeyword(node) { + return node.kind === ts9.SyntaxKind.StringKeyword; +} +function isSuperExpression(node) { + return node.kind === ts9.SyntaxKind.SuperKeyword; +} +function isSuperKeyword(node) { + return node.kind === ts9.SyntaxKind.SuperKeyword; +} +function isSymbolKeyword(node) { + return node.kind === ts9.SyntaxKind.SymbolKeyword; +} +function isSyntaxList(node) { + return node.kind === ts9.SyntaxKind.SyntaxList; +} +function isThisExpression(node) { + return node.kind === ts9.SyntaxKind.ThisKeyword; +} +function isThisKeyword(node) { + return node.kind === ts9.SyntaxKind.ThisKeyword; +} +function isTrueKeyword(node) { + return node.kind === ts9.SyntaxKind.TrueKeyword; +} +function isTrueLiteral(node) { + return node.kind === ts9.SyntaxKind.TrueKeyword; +} +function isUndefinedKeyword(node) { + return node.kind === ts9.SyntaxKind.UndefinedKeyword; +} +function isUnknownKeyword(node) { + return node.kind === ts9.SyntaxKind.UnknownKeyword; +} +function isVoidKeyword(node) { + return node.kind === ts9.SyntaxKind.VoidKeyword; +} +var [tsMajor, tsMinor] = ts9.versionMajorMinor.split(".").map((raw) => Number.parseInt(raw, 10)); +function isTsVersionAtLeast(major, minor = 0) { + return tsMajor > major || tsMajor === major && tsMinor >= minor; +} + +// src/nodes/typeGuards/union.ts +function hasDecorators(node) { + return ts9.isParameter(node) || ts9.isPropertyDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isClassExpression(node) || ts9.isClassDeclaration(node); +} +function hasExpressionInitializer(node) { + return ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isBindingElement(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertyAssignment(node) || ts9.isEnumMember(node); +} +function hasInitializer(node) { + return hasExpressionInitializer(node) || ts9.isForStatement(node) || ts9.isForInStatement(node) || ts9.isForOfStatement(node) || ts9.isJsxAttribute(node); +} +function hasJSDoc(node) { + if ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9.isArrowFunction(node) || ts9.isBlock(node) || ts9.isBreakStatement(node) || ts9.isCallSignatureDeclaration(node) || ts9.isCaseClause(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isConstructorTypeNode(node) || ts9.isConstructSignatureDeclaration(node) || ts9.isContinueStatement(node) || ts9.isDebuggerStatement(node) || ts9.isDoStatement(node) || ts9.isEmptyStatement(node) || isEndOfFileToken(node) || ts9.isEnumDeclaration(node) || ts9.isEnumMember(node) || ts9.isExportAssignment(node) || ts9.isExportDeclaration(node) || ts9.isExportSpecifier(node) || ts9.isExpressionStatement(node) || ts9.isForInStatement(node) || ts9.isForOfStatement(node) || ts9.isForStatement(node) || ts9.isFunctionDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isFunctionTypeNode(node) || ts9.isIfStatement(node) || ts9.isImportDeclaration(node) || ts9.isImportEqualsDeclaration(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isJSDocFunctionType(node) || ts9.isLabeledStatement(node) || ts9.isMethodDeclaration(node) || ts9.isMethodSignature(node) || ts9.isModuleDeclaration(node) || ts9.isNamedTupleMember(node) || ts9.isNamespaceExportDeclaration(node) || ts9.isParameter(node) || ts9.isParenthesizedExpression(node) || ts9.isPropertyAssignment(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertySignature(node) || ts9.isReturnStatement(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isSpreadAssignment(node) || ts9.isSwitchStatement(node) || ts9.isThrowStatement(node) || ts9.isTryStatement(node) || ts9.isTypeAliasDeclaration(node) || ts9.isVariableDeclaration(node) || ts9.isVariableStatement(node) || ts9.isWhileStatement(node) || ts9.isWithStatement(node) + ) { + return true; + } + if (isTsVersionAtLeast(4, 4) && ts9.isClassStaticBlockDeclaration(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9.isBinaryExpression(node) || ts9.isElementAccessExpression(node) || ts9.isIdentifier(node) || ts9.isJSDocSignature(node) || ts9.isObjectLiteralExpression(node) || ts9.isPropertyAccessExpression(node) || ts9.isTypeParameterDeclaration(node))) { + return true; + } + return false; +} +function hasModifiers(node) { + return ts9.isTypeParameterDeclaration(node) || ts9.isParameter(node) || ts9.isConstructorTypeNode(node) || ts9.isPropertySignature(node) || ts9.isPropertyDeclaration(node) || ts9.isMethodSignature(node) || ts9.isMethodDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node) || ts9.isClassExpression(node) || ts9.isVariableStatement(node) || ts9.isFunctionDeclaration(node) || ts9.isClassDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeAliasDeclaration(node) || ts9.isEnumDeclaration(node) || ts9.isModuleDeclaration(node) || ts9.isImportEqualsDeclaration(node) || ts9.isImportDeclaration(node) || ts9.isExportAssignment(node) || ts9.isExportDeclaration(node); +} +function hasType(node) { + return isSignatureDeclaration(node) || ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isPropertySignature(node) || ts9.isPropertyDeclaration(node) || ts9.isTypePredicateNode(node) || ts9.isParenthesizedTypeNode(node) || ts9.isTypeOperatorNode(node) || ts9.isMappedTypeNode(node) || ts9.isAssertionExpression(node) || ts9.isTypeAliasDeclaration(node) || ts9.isJSDocTypeExpression(node) || ts9.isJSDocNonNullableType(node) || ts9.isJSDocNullableType(node) || ts9.isJSDocOptionalType(node) || ts9.isJSDocVariadicType(node); +} +function hasTypeArguments(node) { + return ts9.isCallExpression(node) || ts9.isNewExpression(node) || ts9.isTaggedTemplateExpression(node) || ts9.isJsxOpeningElement(node) || ts9.isJsxSelfClosingElement(node); +} +function isAccessExpression(node) { + return ts9.isPropertyAccessExpression(node) || ts9.isElementAccessExpression(node); +} +function isAccessibilityModifier(node) { + return isPublicKeyword(node) || isPrivateKeyword(node) || isProtectedKeyword(node); +} +function isAccessorDeclaration(node) { + return ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node); +} +function isArrayBindingElement(node) { + return ts9.isBindingElement(node) || ts9.isOmittedExpression(node); +} +function isArrayBindingOrAssignmentPattern(node) { + return ts9.isArrayBindingPattern(node) || ts9.isArrayLiteralExpression(node); +} +function isAssignmentPattern(node) { + return ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node); +} +function isBindingOrAssignmentElementRestIndicator(node) { + if (ts9.isSpreadElement(node) || ts9.isSpreadAssignment(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9.isDotDotDotToken(node); + } + return false; +} +function isBindingOrAssignmentElementTarget(node) { + return isBindingOrAssignmentPattern(node) || ts9.isIdentifier(node) || ts9.isPropertyAccessExpression(node) || ts9.isElementAccessExpression(node) || ts9.isOmittedExpression(node); +} +function isBindingOrAssignmentPattern(node) { + return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node); +} +function isBindingPattern(node) { + return ts9.isObjectBindingPattern(node) || ts9.isArrayBindingPattern(node); +} +function isBlockLike(node) { + return ts9.isSourceFile(node) || ts9.isBlock(node) || ts9.isModuleBlock(node) || ts9.isCaseOrDefaultClause(node); +} +function isBooleanLiteral(node) { + return isTrueLiteral(node) || isFalseLiteral(node); +} +function isClassLikeDeclaration(node) { + return ts9.isClassDeclaration(node) || ts9.isClassExpression(node); +} +function isClassMemberModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node) || isStaticKeyword(node) || isAccessorKeyword(node); +} +function isDeclarationName(node) { + return ts9.isIdentifier(node) || ts9.isPrivateIdentifier(node) || ts9.isStringLiteralLike(node) || ts9.isNumericLiteral(node) || ts9.isComputedPropertyName(node) || ts9.isElementAccessExpression(node) || isBindingPattern(node) || isEntityNameExpression(node); +} +function isDeclarationWithTypeParameterChildren(node) { + return isSignatureDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeAliasDeclaration(node) || ts9.isJSDocTemplateTag(node); +} +function isDeclarationWithTypeParameters(node) { + return isDeclarationWithTypeParameterChildren(node) || ts9.isJSDocTypedefTag(node) || ts9.isJSDocCallbackTag(node) || ts9.isJSDocSignature(node); +} +function isDestructuringPattern(node) { + return isBindingPattern(node) || ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node); +} +function isEntityNameExpression(node) { + return ts9.isIdentifier(node) || isPropertyAccessEntityNameExpression(node); +} +function isEntityNameOrEntityNameExpression(node) { + return ts9.isEntityName(node) || isEntityNameExpression(node); +} +function isForInOrOfStatement(node) { + return ts9.isForInStatement(node) || ts9.isForOfStatement(node); +} +function isFunctionLikeDeclaration(node) { + return ts9.isFunctionDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isGetAccessorDeclaration(node) || ts9.isSetAccessorDeclaration(node) || ts9.isConstructorDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node); +} +function isJSDocComment(node) { + if (isJSDocText(node)) { + return true; + } + if (isTsVersionAtLeast(4, 4)) { + return ts9.isJSDocLink(node) || ts9.isJSDocLinkCode(node) || ts9.isJSDocLinkPlain(node); + } + return false; +} +function isJSDocNamespaceBody(node) { + return ts9.isIdentifier(node) || isJSDocNamespaceDeclaration(node); +} +function isJSDocTypeReferencingNode(node) { + return ts9.isJSDocVariadicType(node) || ts9.isJSDocOptionalType(node) || ts9.isJSDocNullableType(node) || ts9.isJSDocNonNullableType(node); +} +function isJsonObjectExpression(node) { + return ts9.isObjectLiteralExpression(node) || ts9.isArrayLiteralExpression(node) || isJsonMinusNumericLiteral(node) || ts9.isNumericLiteral(node) || ts9.isStringLiteral(node) || isBooleanLiteral(node) || isNullLiteral(node); +} +function isJsxAttributeLike(node) { + return ts9.isJsxAttribute(node) || ts9.isJsxSpreadAttribute(node); +} +function isJsxAttributeValue(node) { + return ts9.isStringLiteral(node) || ts9.isJsxExpression(node) || ts9.isJsxElement(node) || ts9.isJsxSelfClosingElement(node) || ts9.isJsxFragment(node); +} +function isJsxChild(node) { + return ts9.isJsxText(node) || ts9.isJsxExpression(node) || ts9.isJsxElement(node) || ts9.isJsxSelfClosingElement(node) || ts9.isJsxFragment(node); +} +function isJsxTagNameExpression(node) { + return ts9.isIdentifier(node) || isThisExpression(node) || isJsxTagNamePropertyAccess(node); +} +function isLiteralToken(node) { + return ts9.isNumericLiteral(node) || ts9.isBigIntLiteral(node) || ts9.isStringLiteral(node) || ts9.isJsxText(node) || ts9.isRegularExpressionLiteral(node) || ts9.isNoSubstitutionTemplateLiteral(node); +} +function isModuleBody(node) { + return isNamespaceBody(node) || isJSDocNamespaceBody(node); +} +function isModuleName(node) { + return ts9.isIdentifier(node) || ts9.isStringLiteral(node); +} +function isModuleReference(node) { + return ts9.isEntityName(node) || ts9.isExternalModuleReference(node); +} +function isNamedImportBindings(node) { + return ts9.isNamespaceImport(node) || ts9.isNamedImports(node); +} +function isNamedImportsOrExports(node) { + return ts9.isNamedImports(node) || ts9.isNamedExports(node); +} +function isNamespaceBody(node) { + return ts9.isModuleBlock(node) || isNamespaceDeclaration(node); +} +function isObjectBindingOrAssignmentElement(node) { + return ts9.isBindingElement(node) || ts9.isPropertyAssignment(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isSpreadAssignment(node); +} +function isObjectBindingOrAssignmentPattern(node) { + return ts9.isObjectBindingPattern(node) || ts9.isObjectLiteralExpression(node); +} +function isObjectTypeDeclaration(node) { + return ( + // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isClassLikeDeclaration(node) || ts9.isInterfaceDeclaration(node) || ts9.isTypeLiteralNode(node) + ); +} +function isParameterPropertyModifier(node) { + return isAccessibilityModifier(node) || isReadonlyKeyword(node); +} +function isPropertyNameLiteral(node) { + return ts9.isIdentifier(node) || ts9.isStringLiteralLike(node) || ts9.isNumericLiteral(node); +} +function isPseudoLiteralToken(node) { + return ts9.isTemplateHead(node) || ts9.isTemplateMiddle(node) || ts9.isTemplateTail(node); +} +function isSignatureDeclaration(node) { + return ts9.isCallSignatureDeclaration(node) || ts9.isConstructSignatureDeclaration(node) || ts9.isMethodSignature(node) || ts9.isIndexSignatureDeclaration(node) || ts9.isFunctionTypeNode(node) || ts9.isConstructorTypeNode(node) || ts9.isJSDocFunctionType(node) || ts9.isFunctionDeclaration(node) || ts9.isMethodDeclaration(node) || ts9.isConstructorDeclaration(node) || // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts <5 + isAccessorDeclaration(node) || ts9.isFunctionExpression(node) || ts9.isArrowFunction(node); +} +function isSuperProperty(node) { + return isSuperPropertyAccessExpression(node) || isSuperElementAccessExpression(node); +} +function isTypeOnlyCompatibleAliasDeclaration(node) { + if (ts9.isImportClause(node) || ts9.isImportEqualsDeclaration(node) || ts9.isNamespaceImport(node) || ts9.isImportOrExportSpecifier(node)) { + return true; + } + if (isTsVersionAtLeast(5, 0) && (ts9.isExportDeclaration(node) || ts9.isNamespaceExport(node))) { + return true; + } + return false; +} +function isTypeReferenceType(node) { + return ts9.isTypeReferenceNode(node) || ts9.isExpressionWithTypeArguments(node); +} +function isUnionOrIntersectionTypeNode(node) { + return ts9.isUnionTypeNode(node) || ts9.isIntersectionTypeNode(node); +} +function isVariableLikeDeclaration(node) { + return ts9.isVariableDeclaration(node) || ts9.isParameter(node) || ts9.isBindingElement(node) || ts9.isPropertyDeclaration(node) || ts9.isPropertyAssignment(node) || ts9.isPropertySignature(node) || ts9.isJsxAttribute(node) || ts9.isShorthandPropertyAssignment(node) || ts9.isEnumMember(node) || ts9.isJSDocPropertyTag(node) || ts9.isJSDocParameterTag(node); +} + +// src/nodes/typeGuards/compound.ts +function isConstAssertionExpression(node) { + return ts9.isTypeReferenceNode(node.type) && ts9.isIdentifier(node.type.typeName) && node.type.typeName.escapedText === "const"; +} +function isIterationStatement(node) { + switch (node.kind) { + case ts9.SyntaxKind.DoStatement: + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.WhileStatement: + return true; + default: + return false; + } +} +function isJSDocNamespaceDeclaration(node) { + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); +} +function isJsxTagNamePropertyAccess(node) { + return ts9.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 + isJsxTagNameExpression(node.expression); +} +function isNamedDeclarationWithName(node) { + return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); +} +function isNamespaceDeclaration(node) { + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); +} +function isNumericOrStringLikeLiteral(node) { + switch (node.kind) { + case ts9.SyntaxKind.NoSubstitutionTemplateLiteral: + case ts9.SyntaxKind.NumericLiteral: + case ts9.SyntaxKind.StringLiteral: + return true; + default: + return false; + } +} +function isPropertyAccessEntityNameExpression(node) { + return ts9.isPropertyAccessExpression(node) && ts9.isIdentifier(node.name) && isEntityNameExpression(node.expression); +} +function isSuperElementAccessExpression(node) { + return ts9.isElementAccessExpression(node) && isSuperExpression(node.expression); +} +function isSuperPropertyAccessExpression(node) { + return ts9.isPropertyAccessExpression(node) && isSuperExpression(node.expression); +} +function isFunctionScopeBoundary(node) { + switch (node.kind) { + case ts9.SyntaxKind.ArrowFunction: + case ts9.SyntaxKind.CallSignature: + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + case ts9.SyntaxKind.Constructor: + case ts9.SyntaxKind.ConstructorType: + case ts9.SyntaxKind.ConstructSignature: + case ts9.SyntaxKind.EnumDeclaration: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.FunctionType: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.ModuleDeclaration: + case ts9.SyntaxKind.SetAccessor: + return true; + case ts9.SyntaxKind.SourceFile: + return ts9.isExternalModule(node); + default: + return false; + } +} +function isIntrinsicAnyType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Any); +} +function isIntrinsicBigIntType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BigInt); +} +function isIntrinsicBooleanType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Boolean); +} +function isIntrinsicErrorType(type) { + return isIntrinsicType(type) && type.intrinsicName === "error"; +} +function isIntrinsicESSymbolType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.ESSymbol); +} +var IntrinsicTypeFlags = ts9.TypeFlags.Intrinsic ?? ts9.TypeFlags.Any | ts9.TypeFlags.Unknown | ts9.TypeFlags.String | ts9.TypeFlags.Number | ts9.TypeFlags.BigInt | ts9.TypeFlags.Boolean | ts9.TypeFlags.BooleanLiteral | ts9.TypeFlags.ESSymbol | ts9.TypeFlags.Void | ts9.TypeFlags.Undefined | ts9.TypeFlags.Null | ts9.TypeFlags.Never | ts9.TypeFlags.NonPrimitive; +function isIntrinsicNeverType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Never); +} +function isIntrinsicNonPrimitiveType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.NonPrimitive); +} +function isIntrinsicNullType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Null); +} +function isIntrinsicNumberType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Number); +} +function isIntrinsicStringType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.String); +} +function isIntrinsicType(type) { + return isTypeFlagSet(type, IntrinsicTypeFlags); +} +function isIntrinsicUndefinedType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Undefined); +} +function isIntrinsicUnknownType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Unknown); +} +function isIntrinsicVoidType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Void); +} +function isConditionalType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Conditional); +} +function isEnumType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Enum); +} +function isFreshableType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Freshable); +} +function isIndexedAccessType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.IndexedAccess); +} +function isIndexType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Index); +} +function isInstantiableType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Instantiable); +} +function isIntersectionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Intersection); +} +function isObjectType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Object); +} +function isStringMappingType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.StringMapping); +} +function isSubstitutionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Substitution); +} +function isTypeParameter(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TypeParameter); +} +function isTypeVariable(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TypeVariable); +} +function isUnionOrIntersectionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.UnionOrIntersection); +} +function isUnionType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Union); +} +function isUniqueESSymbolType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.UniqueESSymbol); +} + +// src/types/typeGuards/objects.ts +function isEvolvingArrayType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.EvolvingArray); +} +function isTupleType(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.Tuple); +} +function isTypeReference(type) { + return isObjectType(type) && isObjectFlagSet(type, ts9.ObjectFlags.Reference); +} + +// src/types/typeGuards/compound.ts +function isFreshableIntrinsicType(type) { + return isIntrinsicType(type) && isFreshableType(type); +} +function isTupleTypeReference(type) { + return isTypeReference(type) && isTupleType(type.target); +} +function isBigIntLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BigIntLiteral); +} +function isBooleanLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.BooleanLiteral); +} +function isFalseLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "false"; +} +function isLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.Literal); +} +function isNumberLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.NumberLiteral); +} +function isStringLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.StringLiteral); +} +function isTemplateLiteralType(type) { + return isTypeFlagSet(type, ts9.TypeFlags.TemplateLiteral); +} +function isTrueLiteralType(type) { + return isBooleanLiteralType(type) && type.intrinsicName === "true"; +} + +// src/types/getters.ts +function getCallSignaturesOfType(type) { + if (isUnionType(type)) { + const signatures = []; + for (const subType of type.types) { + signatures.push(...getCallSignaturesOfType(subType)); + } + return signatures; + } + if (isIntersectionType(type)) { + let signatures; + for (const subType of type.types) { + const sig = getCallSignaturesOfType(subType); + if (sig.length !== 0) { + if (signatures !== void 0) { + return []; + } + signatures = sig; + } + } + return signatures === void 0 ? [] : signatures; + } + return type.getCallSignatures(); +} +function getPropertyOfType(type, name) { + if (!name.startsWith("__")) { + return type.getProperty(name); + } + return type.getProperties().find((s) => s.escapedName === name); +} +function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker) { + const prefix = "__@" + wellKnownSymbolName; + for (const prop of type.getProperties()) { + if (!prop.name.startsWith(prefix)) { + continue; + } + const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; + if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9.isComputedPropertyName(declaration.name)) { + continue; + } + const globalSymbol = typeChecker.getApparentType( + typeChecker.getTypeAtLocation(declaration.name.expression) + ).symbol; + if (prop.escapedName === getPropertyNameOfWellKnownSymbol( + typeChecker, + globalSymbol, + wellKnownSymbolName + )) { + return prop; + } + } + return void 0; +} +function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { + const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( + symbolConstructor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + symbolConstructor.valueDeclaration + ).getProperty(symbolName); + const knownSymbolType = knownSymbol && typeChecker.getTypeOfSymbolAtLocation( + knownSymbol, + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access + knownSymbol.valueDeclaration + ); + if (knownSymbolType && isUniqueESSymbolType(knownSymbolType)) { + return knownSymbolType.escapedName; + } + return "__@" + symbolName; +} +function isBindableObjectDefinePropertyCall(node) { + return node.arguments.length === 3 && isEntityNameExpression(node.arguments[0]) && isNumericOrStringLikeLiteral(node.arguments[1]) && ts9.isPropertyAccessExpression(node.expression) && node.expression.name.escapedText === "defineProperty" && ts9.isIdentifier(node.expression.expression) && node.expression.expression.escapedText === "Object"; +} +function isInConstContext(node, typeChecker) { + let current = node; + while (true) { + const parent = current.parent; + outer: switch (parent.kind) { + case ts9.SyntaxKind.ArrayLiteralExpression: + case ts9.SyntaxKind.ObjectLiteralExpression: + case ts9.SyntaxKind.ParenthesizedExpression: + case ts9.SyntaxKind.TemplateExpression: + current = parent; + break; + case ts9.SyntaxKind.AsExpression: + case ts9.SyntaxKind.TypeAssertionExpression: + return isConstAssertionExpression(parent); + case ts9.SyntaxKind.CallExpression: { + if (!ts9.isExpression(current)) { + return false; + } + const functionSignature = typeChecker.getResolvedSignature( + parent + ); + if (functionSignature === void 0) { + return false; + } + const argumentIndex = parent.arguments.indexOf( + current + ); + if (argumentIndex < 0) { + return false; + } + const parameterSymbol = functionSignature.getParameters()[argumentIndex]; + if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + return false; + } + const parameterSymbolLinks = parameterSymbol.links; + const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; + if (propertySymbol === void 0 || !("links" in propertySymbol)) { + return false; + } + return isTransientSymbolLinksFlagSet( + propertySymbol.links, + ts9.CheckFlags.Readonly + ); + } + case ts9.SyntaxKind.PrefixUnaryExpression: + if (current.kind !== ts9.SyntaxKind.NumericLiteral) { + return false; + } + switch (parent.operator) { + case ts9.SyntaxKind.MinusToken: + case ts9.SyntaxKind.PlusToken: + current = parent; + break outer; + default: + return false; + } + case ts9.SyntaxKind.PropertyAssignment: + if (parent.initializer !== current) { + return false; + } + current = parent.parent; + break; + case ts9.SyntaxKind.ShorthandPropertyAssignment: + current = parent.parent; + break; + default: + return false; + } + } +} + +// src/types/utilities.ts +function intersectionTypeParts(type) { + return isIntersectionType(type) ? type.types : [type]; +} +function isFalsyType(type) { + if (isTypeFlagSet( + type, + ts9.TypeFlags.Undefined | ts9.TypeFlags.Null | ts9.TypeFlags.Void + )) { + return true; + } + if (typeIsLiteral(type)) { + if (typeof type.value === "object") { + return type.value.base10Value === "0"; + } else { + return !type.value; + } + } + return isFalseLiteralType(type); +} +function isPropertyReadonlyInType(type, name, typeChecker) { + let seenProperty = false; + let seenReadonlySignature = false; + for (const subType of unionTypeParts(type)) { + if (getPropertyOfType(subType, name) === void 0) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); + if (index?.isReadonly) { + if (seenProperty) { + return true; + } + seenReadonlySignature = true; + } + } else if (seenReadonlySignature || isReadonlyPropertyIntersection(subType, name, typeChecker)) { + return true; + } else { + seenProperty = true; + } + } + return false; +} +function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { + for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { + const then = typePart.getProperty("then"); + if (then === void 0) { + continue; + } + const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); + for (const subTypePart of unionTypeParts(thenType)) { + for (const signature of subTypePart.getCallSignatures()) { + if (signature.parameters.length !== 0 && isCallback(typeChecker, signature.parameters[0], node)) { + return true; + } + } + } + } + return false; +} +function symbolHasReadonlyDeclaration(symbol, typeChecker) { + return !!((symbol.flags & ts9.SymbolFlags.Accessor) === ts9.SymbolFlags.GetAccessor || symbol.declarations?.some( + (node) => isModifierFlagSet(node, ts9.ModifierFlags.Readonly) || ts9.isVariableDeclaration(node) && isNodeFlagSet(node.parent, ts9.NodeFlags.Const) || ts9.isCallExpression(node) && isReadonlyAssignmentDeclaration(node, typeChecker) || ts9.isEnumMember(node) || (ts9.isPropertyAssignment(node) || ts9.isShorthandPropertyAssignment(node)) && isInConstContext(node, typeChecker) + )); +} +function typeIsLiteral(type) { + if (isTsVersionAtLeast(5, 0)) { + return type.isLiteral(); + } else { + return isTypeFlagSet( + type, + ts9.TypeFlags.StringLiteral | ts9.TypeFlags.NumberLiteral | ts9.TypeFlags.BigIntLiteral + ); + } +} +function typeParts(type) { + return isIntersectionType(type) || isUnionType(type) ? type.types : [type]; +} +function unionTypeParts(type) { + return isUnionType(type) ? type.types : [type]; +} +function isCallback(typeChecker, param, node) { + let type = typeChecker.getApparentType( + typeChecker.getTypeOfSymbolAtLocation(param, node) + ); + if (param.valueDeclaration.dotDotDotToken) { + type = type.getNumberIndexType(); + if (type === void 0) { + return false; + } + } + for (const subType of unionTypeParts(type)) { + if (subType.getCallSignatures().length !== 0) { + return true; + } + } + return false; +} +function isReadonlyAssignmentDeclaration(node, typeChecker) { + if (!isBindableObjectDefinePropertyCall(node)) { + return false; + } + const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); + if (descriptorType.getProperty("value") === void 0) { + return descriptorType.getProperty("set") === void 0; + } + const writableProp = descriptorType.getProperty("writable"); + if (writableProp === void 0) { + return false; + } + const writableType = writableProp.valueDeclaration !== void 0 && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + return isFalseLiteralType(writableType); +} +function isReadonlyPropertyFromMappedType(type, name, typeChecker) { + if (!isObjectType(type) || !isObjectFlagSet(type, ts9.ObjectFlags.Mapped)) { + return; + } + const declaration = type.symbol.declarations[0]; + if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + return declaration.readonlyToken.kind !== ts9.SyntaxKind.MinusToken; + } + const { modifiersType } = type; + return modifiersType && isPropertyReadonlyInType(modifiersType, name, typeChecker); +} +function isReadonlyPropertyIntersection(type, name, typeChecker) { + const typeParts2 = isIntersectionType(type) ? type.types : [type]; + return typeParts2.some((subType) => { + const prop = getPropertyOfType(subType, name); + if (prop === void 0) { + return false; + } + if (prop.flags & ts9.SymbolFlags.Transient) { + if (/^(?:[1-9]\d*|0)$/.test(name) && isTupleTypeReference(subType)) { + return subType.target.readonly; + } + switch (isReadonlyPropertyFromMappedType(subType, name, typeChecker)) { + case false: + return false; + case true: + return true; + } + } + return !!// members of namespace import + (isSymbolFlagSet(prop, ts9.SymbolFlags.ValueModule) || // we unwrapped every mapped type, now we can check the actual declarations + symbolHasReadonlyDeclaration(prop, typeChecker)); + }); +} +function identifierToKeywordKind(node) { + return "originalKeywordKind" in node ? node.originalKeywordKind : ts9.identifierToKeywordKind(node); +} + +// src/usage/declarations.ts +var DeclarationDomain = /* @__PURE__ */ ((DeclarationDomain2) => { + DeclarationDomain2[DeclarationDomain2["Namespace"] = 1] = "Namespace"; + DeclarationDomain2[DeclarationDomain2["Type"] = 2] = "Type"; + DeclarationDomain2[DeclarationDomain2["Value"] = 4] = "Value"; + DeclarationDomain2[DeclarationDomain2["Any"] = 7] = "Any"; + DeclarationDomain2[DeclarationDomain2["Import"] = 8] = "Import"; + return DeclarationDomain2; +})(DeclarationDomain || {}); +function getDeclarationDomain(node) { + switch (node.parent.kind) { + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + return 2 /* Type */ | 4 /* Value */; + case ts9.SyntaxKind.EnumDeclaration: + return 7 /* Any */; + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + return 4 /* Value */; + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.NamespaceImport: + return 7 /* Any */ | 8 /* Import */; + // TODO handle type-only imports + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.ImportSpecifier: + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.TypeAliasDeclaration: + case ts9.SyntaxKind.TypeParameter: + return 2 /* Type */; + case ts9.SyntaxKind.ModuleDeclaration: + return 1 /* Namespace */; + case ts9.SyntaxKind.Parameter: + if (node.parent.parent.kind === ts9.SyntaxKind.IndexSignature || identifierToKeywordKind(node) === ts9.SyntaxKind.ThisKeyword) { + return; + } + // falls through + case ts9.SyntaxKind.BindingElement: + case ts9.SyntaxKind.VariableDeclaration: + return node.parent.name === node ? 4 /* Value */ : void 0; + } +} +function getPropertyName(propertyName) { + if (propertyName.kind === ts9.SyntaxKind.ComputedPropertyName) { + const expression = unwrapParentheses(propertyName.expression); + if (ts9.isPrefixUnaryExpression(expression)) { + let negate = false; + switch (expression.operator) { + case ts9.SyntaxKind.MinusToken: + negate = true; + // falls through + case ts9.SyntaxKind.PlusToken: + return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + default: + return; + } + } + if (ts9.isBigIntLiteral(expression)) { + return expression.text.slice(0, -1); + } + if (isNumericOrStringLikeLiteral(expression)) { + return expression.text; + } + return; + } + return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; +} +function unwrapParentheses(node) { + while (node.kind === ts9.SyntaxKind.ParenthesizedExpression) { + node = node.expression; + } + return node; +} +var UsageDomain = /* @__PURE__ */ ((UsageDomain2) => { + UsageDomain2[UsageDomain2["Namespace"] = 1] = "Namespace"; + UsageDomain2[UsageDomain2["Type"] = 2] = "Type"; + UsageDomain2[UsageDomain2["Value"] = 4] = "Value"; + UsageDomain2[UsageDomain2["Any"] = 7] = "Any"; + UsageDomain2[UsageDomain2["TypeQuery"] = 8] = "TypeQuery"; + UsageDomain2[UsageDomain2["ValueOrNamespace"] = 5] = "ValueOrNamespace"; + return UsageDomain2; +})(UsageDomain || {}); +function getUsageDomain(node) { + const parent = node.parent; + switch (parent.kind) { + // Value + case ts9.SyntaxKind.BindingElement: + if (parent.initializer === node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9.SyntaxKind.BreakStatement: + case ts9.SyntaxKind.ClassDeclaration: + case ts9.SyntaxKind.ClassExpression: + case ts9.SyntaxKind.ContinueStatement: + case ts9.SyntaxKind.EnumDeclaration: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.ImportSpecifier: + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.JsxAttribute: + case ts9.SyntaxKind.LabeledStatement: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.ModuleDeclaration: + case ts9.SyntaxKind.NamedTupleMember: + case ts9.SyntaxKind.NamespaceExport: + case ts9.SyntaxKind.NamespaceExportDeclaration: + case ts9.SyntaxKind.NamespaceImport: + case ts9.SyntaxKind.PropertySignature: + case ts9.SyntaxKind.SetAccessor: + case ts9.SyntaxKind.TypeAliasDeclaration: + case ts9.SyntaxKind.TypeParameter: + case ts9.SyntaxKind.TypePredicate: + break; + case ts9.SyntaxKind.EnumMember: + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.Parameter: + case ts9.SyntaxKind.PropertyAccessExpression: + case ts9.SyntaxKind.PropertyAssignment: + case ts9.SyntaxKind.PropertyDeclaration: + case ts9.SyntaxKind.VariableDeclaration: + if (parent.name !== node) { + return 5 /* ValueOrNamespace */; + } + break; + case ts9.SyntaxKind.ExportAssignment: + return 7 /* Any */; + case ts9.SyntaxKind.ExportSpecifier: + if (parent.propertyName === void 0 || parent.propertyName === node) { + return 7 /* Any */; + } + break; + case ts9.SyntaxKind.ExpressionWithTypeArguments: + return parent.parent.token === ts9.SyntaxKind.ImplementsKeyword || parent.parent.parent.kind === ts9.SyntaxKind.InterfaceDeclaration ? 2 /* Type */ : 4 /* Value */; + case ts9.SyntaxKind.QualifiedName: + if (parent.left === node) { + if (getEntityNameParent(parent).kind === ts9.SyntaxKind.TypeQuery) { + return 1 /* Namespace */ | 8 /* TypeQuery */; + } + return 1 /* Namespace */; + } + break; + case ts9.SyntaxKind.TypeQuery: + return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; + case ts9.SyntaxKind.TypeReference: + return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + default: + return 5 /* ValueOrNamespace */; + } +} +function getEntityNameParent(name) { + let parent = name.parent; + while (parent.kind === ts9.SyntaxKind.QualifiedName) { + parent = parent.parent; + } + return parent; +} +function isBlockScopeBoundary(node) { + switch (node.kind) { + case ts9.SyntaxKind.Block: { + const parent = node.parent; + return parent.kind !== ts9.SyntaxKind.CatchClause && // blocks inside SourceFile are block scope boundaries + (parent.kind === ts9.SyntaxKind.SourceFile || // blocks that are direct children of a function scope boundary are no scope boundary + // for example the FunctionBlock is part of the function scope of the containing function + !isFunctionScopeBoundary(parent)) ? 2 /* Block */ : 0 /* None */; + } + case ts9.SyntaxKind.CaseBlock: + case ts9.SyntaxKind.CatchClause: + case ts9.SyntaxKind.ForInStatement: + case ts9.SyntaxKind.ForOfStatement: + case ts9.SyntaxKind.ForStatement: + case ts9.SyntaxKind.WithStatement: + return 2 /* Block */; + default: + return 0 /* None */; + } +} + +// src/usage/scopes.ts +var AbstractScope = class { + constructor(global) { + this.global = global; + } + namespaceScopes = void 0; + uses = []; + variables = /* @__PURE__ */ new Map(); + #enumScopes = void 0; + addUse(use) { + this.uses.push(use); + } + addVariable(identifier, name, selector, exported, domain) { + const variables = this.getDestinationScope(selector).getVariables(); + const declaration = { + declaration: name, + domain, + exported + }; + const variable = variables.get(identifier); + if (variable === void 0) { + variables.set(identifier, { + declarations: [declaration], + domain, + uses: [] + }); + } else { + variable.domain |= domain; + variable.declarations.push(declaration); + } + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + createOrReuseEnumScope(name, _exported) { + let scope; + if (this.#enumScopes === void 0) { + this.#enumScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.#enumScopes.get(name); + } + if (scope === void 0) { + scope = new EnumScope(this); + this.#enumScopes.set(name, scope); + } + return scope; + } + // only relevant for the root scope + createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { + let scope; + if (this.namespaceScopes === void 0) { + this.namespaceScopes = /* @__PURE__ */ new Map(); + } else { + scope = this.namespaceScopes.get(name); + } + if (scope === void 0) { + scope = new NamespaceScope(ambient, hasExportStatement, this); + this.namespaceScopes.set(name, scope); + } else { + scope.refresh(ambient, hasExportStatement); + } + return scope; + } + end(cb) { + if (this.namespaceScopes !== void 0) { + this.namespaceScopes.forEach((value) => value.finish(cb)); + } + this.namespaceScopes = this.#enumScopes = void 0; + this.applyUses(); + this.variables.forEach((variable) => { + for (const declaration of variable.declarations) { + const result = { + declarations: [], + domain: declaration.domain, + exported: declaration.exported, + inGlobalScope: this.global, + uses: [] + }; + for (const other of variable.declarations) { + if (other.domain & declaration.domain) { + result.declarations.push(other.declaration); + } + } + for (const use of variable.uses) { + if (use.domain & declaration.domain) { + result.uses.push(use); + } + } + cb(result, declaration.declaration, this); + } + }); + } + getFunctionScope() { + return this; + } + getVariables() { + return this.variables; + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + markExported(_name) { + } + // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars + addUseToParent(_use) { + } + applyUse(use, variables = this.variables) { + const variable = variables.get(use.location.text); + if (variable === void 0 || (variable.domain & use.domain) === 0) { + return false; + } + variable.uses.push(use); + return true; + } + applyUses() { + for (const use of this.uses) { + if (!this.applyUse(use)) { + this.addUseToParent(use); + } + } + this.uses = []; + } +}; +var NonRootScope = class extends AbstractScope { + constructor(parent, boundary) { + super(false); + this.parent = parent; + this.boundary = boundary; + } + getDestinationScope(selector) { + return this.boundary & selector ? this : this.parent.getDestinationScope(selector); + } + addUseToParent(use) { + return this.parent.addUse(use, this); + } +}; +var AbstractNamedExpressionScope = class extends NonRootScope { + #domain; + #name; + constructor(name, domain, parent) { + super(parent, 1 /* Function */); + this.#name = name; + this.#domain = domain; + } + addUse(use, source) { + if (source !== this.innerScope) { + return this.innerScope.addUse(use); + } + if (use.domain & this.#domain && use.location.text === this.#name.text) { + this.uses.push(use); + } else { + return this.parent.addUse(use, this); + } + } + end(cb) { + this.innerScope.end(cb); + return cb( + { + declarations: [this.#name], + domain: this.#domain, + exported: false, + inGlobalScope: false, + uses: this.uses + }, + this.#name, + this + ); + } + getDestinationScope() { + return this.innerScope; + } + getFunctionScope() { + return this.innerScope; + } +}; +var BlockScope = class extends NonRootScope { + #functionScope; + constructor(functionScope, parent) { + super(parent, 2 /* Block */); + this.#functionScope = functionScope; + } + getFunctionScope() { + return this.#functionScope; + } +}; +var ClassExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new NonRootScope(this, 1 /* Function */); + constructor(name, parent) { + super(name, 4 /* Value */ | 2 /* Type */, parent); + } +}; +var ConditionalTypeScope = class extends NonRootScope { + #state = 0 /* Initial */; + constructor(parent) { + super(parent, 8 /* ConditionalType */); + } + addUse(use) { + if (this.#state === 2 /* TrueType */) { + return void this.uses.push(use); + } + return this.parent.addUse(use, this); + } + updateState(newState) { + this.#state = newState; + } +}; +var EnumScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + end() { + this.applyUses(); + } +}; +var FunctionScope = class extends NonRootScope { + constructor(parent) { + super(parent, 1 /* Function */); + } + beginBody() { + this.applyUses(); + } +}; +var FunctionExpressionScope = class extends AbstractNamedExpressionScope { + innerScope = new FunctionScope(this); + constructor(name, parent) { + super(name, 4 /* Value */, parent); + } + beginBody() { + return this.innerScope.beginBody(); + } +}; +var NamespaceScope = class extends NonRootScope { + #ambient; + #exports = void 0; + #hasExport; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(ambient, hasExport, parent) { + super(parent, 1 /* Function */); + this.#ambient = ambient; + this.#hasExport = hasExport; + } + addUse(use, source) { + if (source !== this.#innerScope) { + return this.#innerScope.addUse(use); + } + this.uses.push(use); + } + createOrReuseEnumScope(name, exported) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseEnumScope(name, exported); + } + return super.createOrReuseEnumScope(name, exported); + } + createOrReuseNamespaceScope(name, exported, ambient, hasExportStatement) { + if (!exported && (!this.#ambient || this.#hasExport)) { + return this.#innerScope.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + return super.createOrReuseNamespaceScope( + name, + exported, + ambient || this.#ambient, + hasExportStatement + ); + } + end(cb) { + this.#innerScope.end((variable, key, scope) => { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + return cb(variable, key, scope); + } + const namespaceVar = this.variables.get(key.text); + if (namespaceVar === void 0) { + this.variables.set(key.text, { + declarations: variable.declarations.map(mapDeclaration), + domain: variable.domain, + uses: [...variable.uses] + }); + } else { + outer: for (const declaration of variable.declarations) { + for (const existing of namespaceVar.declarations) { + if (existing.declaration === declaration) { + continue outer; + } + namespaceVar.declarations.push(mapDeclaration(declaration)); + } + } + namespaceVar.domain |= variable.domain; + for (const use of variable.uses) { + if (namespaceVar.uses.includes(use)) { + continue; + } + namespaceVar.uses.push(use); + } + } + }); + this.applyUses(); + this.#innerScope = new NonRootScope(this, 1 /* Function */); + } + finish(cb) { + return super.end(cb); + } + getDestinationScope() { + return this.#innerScope; + } + markExported(name) { + if (this.#exports === void 0) { + this.#exports = /* @__PURE__ */ new Set(); + } + this.#exports.add(name.text); + } + refresh(ambient, hasExport) { + this.#ambient = ambient; + this.#hasExport = hasExport; + } +}; +var RootScope = class extends AbstractScope { + #exportAll; + #exports = void 0; + #innerScope = new NonRootScope(this, 1 /* Function */); + constructor(exportAll, global) { + super(global); + this.#exportAll = exportAll; + } + addUse(use, origin) { + if (origin === this.#innerScope) { + return super.addUse(use); + } + return this.#innerScope.addUse(use); + } + addVariable(identifier, name, selector, exported, domain) { + if (domain & 8 /* Import */) { + return super.addVariable(identifier, name, selector, exported, domain); + } + return this.#innerScope.addVariable( + identifier, + name, + selector, + exported, + domain + ); + } + end(cb) { + this.#innerScope.end((value, key) => { + value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.inGlobalScope = this.global; + return cb(value, key, this); + }); + return super.end((value, key, scope) => { + value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + return cb(value, key, scope); + }); + } + getDestinationScope() { + return this; + } + markExported(id) { + if (this.#exports === void 0) { + this.#exports = [id.text]; + } else { + this.#exports.push(id.text); + } + } +}; +function mapDeclaration(declaration) { + return { + declaration, + domain: getDeclarationDomain(declaration), + exported: true + }; +} + +// src/usage/UsageWalker.ts +var UsageWalker = class { + #result = /* @__PURE__ */ new Map(); + #scope; + getUsage(sourceFile) { + const variableCallback = (variable, key) => { + this.#result.set(key, variable); + }; + const isModule = ts9.isExternalModule(sourceFile); + this.#scope = new RootScope( + sourceFile.isDeclarationFile && isModule && !containsExportStatement(sourceFile), + !isModule + ); + const cb = (node) => { + if (isBlockScopeBoundary(node)) { + return continueWithScope( + node, + new BlockScope(this.#scope.getFunctionScope(), this.#scope), + handleBlockScope + ); + } + switch (node.kind) { + case ts9.SyntaxKind.ArrowFunction: + case ts9.SyntaxKind.CallSignature: + case ts9.SyntaxKind.Constructor: + case ts9.SyntaxKind.ConstructorType: + case ts9.SyntaxKind.ConstructSignature: + case ts9.SyntaxKind.FunctionDeclaration: + case ts9.SyntaxKind.FunctionExpression: + case ts9.SyntaxKind.FunctionType: + case ts9.SyntaxKind.GetAccessor: + case ts9.SyntaxKind.MethodDeclaration: + case ts9.SyntaxKind.MethodSignature: + case ts9.SyntaxKind.SetAccessor: + return this.#handleFunctionLikeDeclaration( + node, + cb, + variableCallback + ); + case ts9.SyntaxKind.ClassDeclaration: + this.#handleDeclaration( + node, + true, + 4 /* Value */ | 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9.SyntaxKind.ClassExpression: + return continueWithScope( + node, + node.name !== void 0 ? new ClassExpressionScope( + node.name, + this.#scope + ) : new NonRootScope(this.#scope, 1 /* Function */) + ); + case ts9.SyntaxKind.ConditionalType: + return this.#handleConditionalType( + node, + cb, + variableCallback + ); + case ts9.SyntaxKind.EnumDeclaration: + this.#handleDeclaration( + node, + true, + 7 /* Any */ + ); + return continueWithScope( + node, + this.#scope.createOrReuseEnumScope( + node.name.text, + includesModifier( + node.modifiers, + ts9.SyntaxKind.ExportKeyword + ) + ) + ); + case ts9.SyntaxKind.EnumMember: + this.#scope.addVariable( + getPropertyName(node.name), + node.name, + 1 /* Function */, + true, + 4 /* Value */ + ); + break; + case ts9.SyntaxKind.ExportAssignment: + if (node.expression.kind === ts9.SyntaxKind.Identifier) { + return this.#scope.markExported( + node.expression + ); + } + break; + case ts9.SyntaxKind.ExportSpecifier: + if (node.propertyName !== void 0) { + return this.#scope.markExported( + node.propertyName, + node.name + ); + } + return this.#scope.markExported(node.name); + case ts9.SyntaxKind.Identifier: { + const domain = getUsageDomain(node); + if (domain !== void 0) { + this.#scope.addUse({ domain, location: node }); + } + return; + } + case ts9.SyntaxKind.ImportClause: + case ts9.SyntaxKind.ImportEqualsDeclaration: + case ts9.SyntaxKind.ImportSpecifier: + case ts9.SyntaxKind.NamespaceImport: + this.#handleDeclaration( + node, + false, + 7 /* Any */ | 8 /* Import */ + ); + break; + case ts9.SyntaxKind.InterfaceDeclaration: + case ts9.SyntaxKind.TypeAliasDeclaration: + this.#handleDeclaration( + node, + true, + 2 /* Type */ + ); + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9.SyntaxKind.MappedType: + return continueWithScope( + node, + new NonRootScope(this.#scope, 4 /* Type */) + ); + case ts9.SyntaxKind.ModuleDeclaration: + return this.#handleModule( + node, + continueWithScope + ); + case ts9.SyntaxKind.Parameter: + if (node.parent.kind !== ts9.SyntaxKind.IndexSignature && (node.name.kind !== ts9.SyntaxKind.Identifier || identifierToKeywordKind( + node.name + ) !== ts9.SyntaxKind.ThisKeyword)) { + this.#handleBindingName( + node.name, + false, + false + ); + } + break; + case ts9.SyntaxKind.TypeParameter: + this.#scope.addVariable( + node.name.text, + node.name, + node.parent.kind === ts9.SyntaxKind.InferType ? 8 /* InferType */ : 7 /* Type */, + false, + 2 /* Type */ + ); + break; + // End of Scope specific handling + case ts9.SyntaxKind.VariableDeclarationList: + this.#handleVariableDeclaration(node); + break; + } + return ts9.forEachChild(node, cb); + }; + const continueWithScope = (node, scope, next = forEachChild) => { + const savedScope = this.#scope; + this.#scope = scope; + next(node); + this.#scope.end(variableCallback); + this.#scope = savedScope; + }; + const handleBlockScope = (node) => { + if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + this.#handleBindingName( + node.variableDeclaration.name, + true, + false + ); + } + return ts9.forEachChild(node, cb); + }; + ts9.forEachChild(sourceFile, cb); + this.#scope.end(variableCallback); + return this.#result; + function forEachChild(node) { + return ts9.forEachChild(node, cb); + } + } + #handleBindingName(name, blockScoped, exported) { + if (name.kind === ts9.SyntaxKind.Identifier) { + return this.#scope.addVariable( + name.text, + name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + } + forEachDestructuringIdentifier(name, (declaration) => { + this.#scope.addVariable( + declaration.name.text, + declaration.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + exported, + 4 /* Value */ + ); + }); + } + #handleConditionalType(node, cb, varCb) { + const savedScope = this.#scope; + const scope = this.#scope = new ConditionalTypeScope(savedScope); + cb(node.checkType); + scope.updateState(1 /* Extends */); + cb(node.extendsType); + scope.updateState(2 /* TrueType */); + cb(node.trueType); + scope.updateState(3 /* FalseType */); + cb(node.falseType); + scope.end(varCb); + this.#scope = savedScope; + } + #handleDeclaration(node, blockScoped, domain) { + if (node.name !== void 0) { + this.#scope.addVariable( + node.name.text, + node.name, + blockScoped ? 3 /* Block */ : 1 /* Function */, + includesModifier( + node.modifiers, + ts9.SyntaxKind.ExportKeyword + ), + domain + ); + } + } + #handleFunctionLikeDeclaration(node, cb, varCb) { + if (ts9.canHaveDecorators(node)) { + ts9.getDecorators(node)?.forEach(cb); + } + const savedScope = this.#scope; + if (node.kind === ts9.SyntaxKind.FunctionDeclaration) { + this.#handleDeclaration(node, false, 4 /* Value */); + } + const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== void 0) { + cb(node.name); + } + if (node.typeParameters !== void 0) { + node.typeParameters.forEach(cb); + } + node.parameters.forEach(cb); + if (node.type !== void 0) { + cb(node.type); + } + if (node.body !== void 0) { + scope.beginBody(); + cb(node.body); + } + scope.end(varCb); + this.#scope = savedScope; + } + #handleModule(node, next) { + if (node.flags & ts9.NodeFlags.GlobalAugmentation) { + return next( + node, + this.#scope.createOrReuseNamespaceScope("-global", false, true, false) + ); + } + if (node.name.kind === ts9.SyntaxKind.Identifier) { + const exported = isNamespaceExported(node); + this.#scope.addVariable( + node.name.text, + node.name, + 1 /* Function */, + exported, + 1 /* Namespace */ | 4 /* Value */ + ); + const ambient = includesModifier( + node.modifiers, + ts9.SyntaxKind.DeclareKeyword + ); + return next( + node, + this.#scope.createOrReuseNamespaceScope( + node.name.text, + exported, + ambient, + ambient && namespaceHasExportStatement(node) + ) + ); + } + return next( + node, + this.#scope.createOrReuseNamespaceScope( + `"${node.name.text}"`, + false, + true, + namespaceHasExportStatement(node) + ) + ); + } + #handleVariableDeclaration(declarationList) { + const blockScoped = isBlockScopedVariableDeclarationList(declarationList); + const exported = declarationList.parent.kind === ts9.SyntaxKind.VariableStatement && includesModifier( + declarationList.parent.modifiers, + ts9.SyntaxKind.ExportKeyword + ); + for (const declaration of declarationList.declarations) { + this.#handleBindingName(declaration.name, blockScoped, exported); + } + } +}; +function containsExportStatement(block) { + for (const statement of block.statements) { + if (statement.kind === ts9.SyntaxKind.ExportDeclaration || statement.kind === ts9.SyntaxKind.ExportAssignment) { + return true; + } + } + return false; +} +function forEachDestructuringIdentifier(pattern, fn) { + for (const element of pattern.elements) { + if (element.kind !== ts9.SyntaxKind.BindingElement) { + continue; + } + let result; + if (element.name.kind === ts9.SyntaxKind.Identifier) { + result = fn(element); + } else { + result = forEachDestructuringIdentifier(element.name, fn); + } + if (result) { + return result; + } + } +} +function isBlockScopedVariableDeclarationList(declarationList) { + return (declarationList.flags & ts9.NodeFlags.BlockScoped) !== 0; +} +function isNamespaceExported(node) { + return node.parent.kind === ts9.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9.SyntaxKind.ExportKeyword); +} +function namespaceHasExportStatement(ns) { + if (ns.body === void 0 || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { + return false; + } + return containsExportStatement(ns.body); +} + +// src/usage/collectVariableUsage.ts +function collectVariableUsage(sourceFile) { + return new UsageWalker().getUsage(sourceFile); +} + +export { AccessKind, DeclarationDomain, UsageDomain, collectVariableUsage, forEachComment, forEachToken, getAccessKind, getCallSignaturesOfType, getPropertyOfType, getWellKnownSymbolPropertyOfType, hasDecorators, hasExpressionInitializer, hasInitializer, hasJSDoc, hasModifiers, hasType, hasTypeArguments, includesModifier, intersectionTypeParts, isAbstractKeyword, isAccessExpression, isAccessibilityModifier, isAccessorDeclaration, isAccessorKeyword, isAnyKeyword, isArrayBindingElement, isArrayBindingOrAssignmentPattern, isAssertKeyword, isAssertsKeyword, isAssignmentKind, isAssignmentPattern, isAsyncKeyword, isAwaitKeyword, isBigIntKeyword, isBigIntLiteralType, isBindingOrAssignmentElementRestIndicator, isBindingOrAssignmentElementTarget, isBindingOrAssignmentPattern, isBindingPattern, isBlockLike, isBooleanKeyword, isBooleanLiteral, isBooleanLiteralType, isClassLikeDeclaration, isClassMemberModifier, isColonToken, isCompilerOptionEnabled, isConditionalType, isConstAssertionExpression, isConstKeyword, isDeclarationName, isDeclarationWithTypeParameterChildren, isDeclarationWithTypeParameters, isDeclareKeyword, isDefaultKeyword, isDestructuringPattern, isDotToken, isEndOfFileToken, isEntityNameExpression, isEntityNameOrEntityNameExpression, isEnumType, isEqualsGreaterThanToken, isEqualsToken, isEvolvingArrayType, isExclamationToken, isExportKeyword, isFalseKeyword, isFalseLiteral, isFalseLiteralType, isFalsyType, isForInOrOfStatement, isFreshableIntrinsicType, isFreshableType, isFunctionLikeDeclaration, isFunctionScopeBoundary, isImportExpression, isImportKeyword, isInKeyword, isIndexType, isIndexedAccessType, isInstantiableType, isIntersectionType, isIntrinsicAnyType, isIntrinsicBigIntType, isIntrinsicBooleanType, isIntrinsicESSymbolType, isIntrinsicErrorType, isIntrinsicNeverType, isIntrinsicNonPrimitiveType, isIntrinsicNullType, isIntrinsicNumberType, isIntrinsicStringType, isIntrinsicType, isIntrinsicUndefinedType, isIntrinsicUnknownType, isIntrinsicVoidType, isIterationStatement, isJSDocComment, isJSDocNamespaceBody, isJSDocNamespaceDeclaration, isJSDocText, isJSDocTypeReferencingNode, isJsonMinusNumericLiteral, isJsonObjectExpression, isJsxAttributeLike, isJsxAttributeValue, isJsxChild, isJsxTagNameExpression, isJsxTagNamePropertyAccess, isLiteralToken, isLiteralType, isModifierFlagSet, isModuleBody, isModuleName, isModuleReference, isNamedDeclarationWithName, isNamedImportBindings, isNamedImportsOrExports, isNamespaceBody, isNamespaceDeclaration, isNeverKeyword, isNodeFlagSet, isNullKeyword, isNullLiteral, isNumberKeyword, isNumberLiteralType, isNumericOrStringLikeLiteral, isNumericPropertyName, isObjectBindingOrAssignmentElement, isObjectBindingOrAssignmentPattern, isObjectFlagSet, isObjectKeyword, isObjectType, isObjectTypeDeclaration, isOutKeyword, isOverrideKeyword, isParameterPropertyModifier, isPrivateKeyword, isPropertyAccessEntityNameExpression, isPropertyNameLiteral, isPropertyReadonlyInType, isProtectedKeyword, isPseudoLiteralToken, isPublicKeyword, isQuestionDotToken, isQuestionToken, isReadonlyKeyword, isSignatureDeclaration, isStaticKeyword, isStrictCompilerOptionEnabled, isStringKeyword, isStringLiteralType, isStringMappingType, isSubstitutionType, isSuperElementAccessExpression, isSuperExpression, isSuperKeyword, isSuperProperty, isSuperPropertyAccessExpression, isSymbolFlagSet, isSymbolKeyword, isSyntaxList, isTemplateLiteralType, isThenableType, isThisExpression, isThisKeyword, isTransientSymbolLinksFlagSet, isTrueKeyword, isTrueLiteral, isTrueLiteralType, isTupleType, isTupleTypeReference, isTypeFlagSet, isTypeOnlyCompatibleAliasDeclaration, isTypeParameter, isTypeReference, isTypeReferenceType, isTypeVariable, isUndefinedKeyword, isUnionOrIntersectionType, isUnionOrIntersectionTypeNode, isUnionType, isUniqueESSymbolType, isUnknownKeyword, isValidPropertyAccess, isVariableLikeDeclaration, isVoidKeyword, symbolHasReadonlyDeclaration, typeIsLiteral, typeParts, unionTypeParts }; diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json new file mode 100644 index 0000000000..78378ff3f8 --- /dev/null +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json @@ -0,0 +1,105 @@ +{ + "name": "ts-api-utils", + "version": "2.0.0", + "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️", + "repository": { + "type": "git", + "url": "https://github.com/JoshuaKGoldberg/ts-api-utils" + }, + "license": "MIT", + "author": { + "name": "JoshuaKGoldberg", + "email": "npm@joshuakgoldberg.com" + }, + "type": "module", + "exports": { + ".": { + "types": { + "import": "./lib/index.d.ts", + "require": "./lib/index.d.cts" + }, + "import": "./lib/index.js", + "require": "./lib/index.cjs" + } + }, + "main": "./lib/index.js", + "files": [ + "lib/", + "package.json", + "LICENSE.md", + "README.md" + ], + "scripts": { + "build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts", + "docs": "typedoc", + "docs:serve": "npx --yes http-server docs/generated", + "format": "prettier \"**/*\" --ignore-unknown", + "lint": "eslint . --max-warnings 0", + "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors", + "lint:knip": "knip", + "lint:knip:production": "knip --production", + "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line", + "lint:packages": "pnpm dedupe --check", + "lint:spelling": "cspell \"**\" \".github/**/*\"", + "prepare": "husky", + "should-semantic-release": "should-semantic-release --verbose", + "test": "vitest", + "tsc": "tsc" + }, + "lint-staged": { + "*": "prettier --ignore-unknown --write" + }, + "devDependencies": { + "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", + "@eslint/js": "^9.15.0", + "@phenomnomnominal/tsquery": "^6.1.3", + "@release-it/conventional-changelog": "^9.0.3", + "@types/eslint-plugin-markdown": "^2.0.2", + "@types/node": "^18.19.65", + "@typescript/vfs": "^1.6.0", + "@vitest/coverage-v8": "^2.1.5", + "@vitest/eslint-plugin": "^1.1.10", + "console-fail-test": "^0.5.0", + "cspell": "^8.16.0", + "eslint": "^9.15.0", + "eslint-plugin-jsdoc": "^50.5.0", + "eslint-plugin-jsonc": "^2.18.2", + "eslint-plugin-markdown": "^5.1.0", + "eslint-plugin-n": "^17.14.0", + "eslint-plugin-package-json": "^0.15.6", + "eslint-plugin-perfectionist": "^4.1.2", + "eslint-plugin-regexp": "^2.7.0", + "eslint-plugin-yml": "^1.15.0", + "husky": "^9.1.7", + "jsonc-eslint-parser": "^2.4.0", + "knip": "^5.37.2", + "lint-staged": "^15.2.10", + "markdownlint": "^0.36.1", + "markdownlint-cli": "^0.43.0", + "prettier": "^3.3.3", + "prettier-plugin-curly": "^0.3.1", + "prettier-plugin-packagejson": "^2.5.6", + "release-it": "^17.10.0", + "sentences-per-line": "^0.2.1", + "should-semantic-release": "^0.3.0", + "tsup": "^8.3.5", + "typedoc": "^0.26.11", + "typedoc-plugin-coverage": "^3.4.0", + "typedoc-plugin-custom-validation": "^2.0.2", + "typedoc-plugin-konamimojisplosion": "^0.0.2", + "typedoc-plugin-mdn-links": "^4.0.1", + "typescript": "^5.7.2", + "typescript-eslint": "^8.16.0", + "vitest": "^2.1.5" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + }, + "packageManager": "pnpm@9.14.2", + "engines": { + "node": ">=18.12" + }, + "publishConfig": { + "provenance": true + } +} diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index 667910689c..1c8d82974f 100644 --- a/node_modules/@typescript-eslint/type-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "8.19.0", + "version": "8.20.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,10 +46,10 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "8.19.0", - "@typescript-eslint/utils": "8.19.0", + "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/utils": "8.20.0", "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", @@ -57,7 +57,7 @@ }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "8.19.0", + "@typescript-eslint/parser": "8.20.0", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", diff --git a/node_modules/eslint-plugin-github/lib/rules/async-currenttarget.js b/node_modules/eslint-plugin-github/lib/rules/async-currenttarget.js index d2115b407e..a9c46999a6 100644 --- a/node_modules/eslint-plugin-github/lib/rules/async-currenttarget.js +++ b/node_modules/eslint-plugin-github/lib/rules/async-currenttarget.js @@ -10,16 +10,24 @@ module.exports = { create(context) { const scopeDidWait = new WeakSet() + const sourceCode = context.sourceCode ?? context.getSourceCode() return { - AwaitExpression() { - scopeDidWait.add(context.getScope(), true) + AwaitExpression(node) { + scopeDidWait.add(sourceCode.getScope ? sourceCode.getScope(node) : context.getScope()) }, MemberExpression(node) { if (node.property && node.property.name === 'currentTarget') { - const scope = context.getScope() - if (scope.block.async && scopeDidWait.has(scope)) { - context.report({node, message: 'event.currentTarget inside an async function is error prone'}) + let scope = sourceCode.getScope ? sourceCode.getScope(node) : context.getScope() + while (scope) { + if (scopeDidWait.has(scope)) { + context.report({ + node, + message: 'event.currentTarget inside an async function is error prone', + }) + break + } + scope = scope.upper } } }, diff --git a/node_modules/eslint-plugin-github/lib/rules/async-preventdefault.js b/node_modules/eslint-plugin-github/lib/rules/async-preventdefault.js index 51adc77cda..f4154bf0c4 100644 --- a/node_modules/eslint-plugin-github/lib/rules/async-preventdefault.js +++ b/node_modules/eslint-plugin-github/lib/rules/async-preventdefault.js @@ -10,16 +10,24 @@ module.exports = { create(context) { const scopeDidWait = new WeakSet() + const sourceCode = context.sourceCode ?? context.getSourceCode() return { - AwaitExpression() { - scopeDidWait.add(context.getScope(), true) + AwaitExpression(node) { + scopeDidWait.add(sourceCode.getScope ? sourceCode.getScope(node) : context.getScope()) }, CallExpression(node) { if (node.callee.property && node.callee.property.name === 'preventDefault') { - const scope = context.getScope() - if (scope.block.async && scopeDidWait.has(scope)) { - context.report({node, message: 'event.preventDefault() inside an async function is error prone'}) + let scope = sourceCode.getScope ? sourceCode.getScope(node) : context.getScope() + while (scope) { + if (scopeDidWait.has(scope)) { + context.report({ + node, + message: 'event.preventDefault() inside an async function is error prone', + }) + break + } + scope = scope.upper } } }, diff --git a/node_modules/eslint-plugin-github/lib/rules/filenames-match-regex.js b/node_modules/eslint-plugin-github/lib/rules/filenames-match-regex.js index f50952c521..beec42d2da 100644 --- a/node_modules/eslint-plugin-github/lib/rules/filenames-match-regex.js +++ b/node_modules/eslint-plugin-github/lib/rules/filenames-match-regex.js @@ -32,7 +32,7 @@ module.exports = { return { Program(node) { - const filename = context.getFilename() + const filename = context.filename ?? context.getFilename() const absoluteFilename = path.resolve(filename) const parsed = parseFilename(absoluteFilename) const shouldIgnore = isIgnoredFilename(filename) diff --git a/node_modules/eslint-plugin-github/lib/rules/no-useless-passive.js b/node_modules/eslint-plugin-github/lib/rules/no-useless-passive.js index 5e77188450..e472b5b8b4 100644 --- a/node_modules/eslint-plugin-github/lib/rules/no-useless-passive.js +++ b/node_modules/eslint-plugin-github/lib/rules/no-useless-passive.js @@ -32,7 +32,7 @@ module.exports = { if (i === -1) return const passiveProp = options.properties[i] const l = options.properties.length - const source = context.getSourceCode() + const source = context.sourceCode ?? context.getSourceCode() context.report({ node: passiveProp, message: `"${name.value}" event listener is not cancellable and so \`passive: true\` does nothing.`, diff --git a/node_modules/eslint-plugin-github/package.json b/node_modules/eslint-plugin-github/package.json index 63d35d2939..d3d6d1fb2f 100644 --- a/node_modules/eslint-plugin-github/package.json +++ b/node_modules/eslint-plugin-github/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-github", - "version": "5.1.4", + "version": "5.1.5", "description": "An opinionated collection of ESLint shared configs and rules used by GitHub.", "main": "lib/index.js", "entries": [ @@ -67,9 +67,9 @@ "@github/prettier-config": "0.0.6", "chai": "^5.0.0", "eslint": "^9.14.0", - "eslint-doc-generator": "^1.4.3", + "eslint-doc-generator": "^2.0.1", "eslint-plugin-eslint-plugin": "^6.1.0", - "mocha": "^10.0.0", + "mocha": "^11.0.1", "npm-run-all": "^4.1.5" } } diff --git a/node_modules/long/index.d.ts b/node_modules/long/index.d.ts index 521533d72b..d675d338d5 100644 --- a/node_modules/long/index.d.ts +++ b/node_modules/long/index.d.ts @@ -1,457 +1,2 @@ -declare class Long { - /** - * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as signed integers. See the from* functions below for more convenient ways of constructing Longs. - */ - constructor(low: number, high?: number, unsigned?: boolean); - - /** - * Maximum unsigned value. - */ - static MAX_UNSIGNED_VALUE: Long; - - /** - * Maximum signed value. - */ - static MAX_VALUE: Long; - - /** - * Minimum signed value. - */ - static MIN_VALUE: Long; - - /** - * Signed negative one. - */ - static NEG_ONE: Long; - - /** - * Signed one. - */ - static ONE: Long; - - /** - * Unsigned one. - */ - static UONE: Long; - - /** - * Unsigned zero. - */ - static UZERO: Long; - - /** - * Signed zero - */ - static ZERO: Long; - - /** - * The high 32 bits as a signed value. - */ - high: number; - - /** - * The low 32 bits as a signed value. - */ - low: number; - - /** - * Whether unsigned or not. - */ - unsigned: boolean; - - /** - * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits. - */ - static fromBits(lowBits: number, highBits: number, unsigned?: boolean): Long; - - /** - * Returns a Long representing the given 32 bit integer value. - */ - static fromInt(value: number, unsigned?: boolean): Long; - - /** - * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. - */ - static fromNumber(value: number, unsigned?: boolean): Long; - - /** - * Returns a Long representation of the given string, written using the specified radix. - */ - static fromString( - str: string, - unsigned?: boolean | number, - radix?: number - ): Long; - - /** - * Creates a Long from its byte representation. - */ - static fromBytes(bytes: number[], unsigned?: boolean, le?: boolean): Long; - - /** - * Creates a Long from its little endian byte representation. - */ - static fromBytesLE(bytes: number[], unsigned?: boolean): Long; - - /** - * Creates a Long from its big endian byte representation. - */ - static fromBytesBE(bytes: number[], unsigned?: boolean): Long; - - /** - * Tests if the specified object is a Long. - */ - static isLong(obj: any): obj is Long; - - /** - * Converts the specified value to a Long. - */ - static fromValue( - val: - | Long - | number - | string - | { low: number; high: number; unsigned: boolean }, - unsigned?: boolean - ): Long; - - /** - * Returns the sum of this and the specified Long. - */ - add(addend: number | Long | string): Long; - - /** - * Returns the bitwise AND of this Long and the specified. - */ - and(other: Long | number | string): Long; - - /** - * Compares this Long's value with the specified's. - */ - compare(other: Long | number | string): number; - - /** - * Compares this Long's value with the specified's. - */ - comp(other: Long | number | string): number; - - /** - * Returns this Long divided by the specified. - */ - divide(divisor: Long | number | string): Long; - - /** - * Returns this Long divided by the specified. - */ - div(divisor: Long | number | string): Long; - - /** - * Tests if this Long's value equals the specified's. - */ - equals(other: Long | number | string): boolean; - - /** - * Tests if this Long's value equals the specified's. - */ - eq(other: Long | number | string): boolean; - - /** - * Gets the high 32 bits as a signed integer. - */ - getHighBits(): number; - - /** - * Gets the high 32 bits as an unsigned integer. - */ - getHighBitsUnsigned(): number; - - /** - * Gets the low 32 bits as a signed integer. - */ - getLowBits(): number; - - /** - * Gets the low 32 bits as an unsigned integer. - */ - getLowBitsUnsigned(): number; - - /** - * Gets the number of bits needed to represent the absolute value of this Long. - */ - getNumBitsAbs(): number; - - /** - * Tests if this Long's value is greater than the specified's. - */ - greaterThan(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is greater than the specified's. - */ - gt(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is greater than or equal the specified's. - */ - greaterThanOrEqual(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is greater than or equal the specified's. - */ - gte(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is greater than or equal the specified's. - */ - ge(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is even. - */ - isEven(): boolean; - - /** - * Tests if this Long's value is negative. - */ - isNegative(): boolean; - - /** - * Tests if this Long's value is odd. - */ - isOdd(): boolean; - - /** - * Tests if this Long's value is positive or zero. - */ - isPositive(): boolean; - - /** - * Tests if this Long's value equals zero. - */ - isZero(): boolean; - - /** - * Tests if this Long's value equals zero. - */ - eqz(): boolean; - - /** - * Tests if this Long's value is less than the specified's. - */ - lessThan(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is less than the specified's. - */ - lt(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is less than or equal the specified's. - */ - lessThanOrEqual(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is less than or equal the specified's. - */ - lte(other: Long | number | string): boolean; - - /** - * Tests if this Long's value is less than or equal the specified's. - */ - le(other: Long | number | string): boolean; - - /** - * Returns this Long modulo the specified. - */ - modulo(other: Long | number | string): Long; - - /** - * Returns this Long modulo the specified. - */ - mod(other: Long | number | string): Long; - - /** - * Returns this Long modulo the specified. - */ - rem(other: Long | number | string): Long; - - /** - * Returns the product of this and the specified Long. - */ - multiply(multiplier: Long | number | string): Long; - - /** - * Returns the product of this and the specified Long. - */ - mul(multiplier: Long | number | string): Long; - - /** - * Negates this Long's value. - */ - negate(): Long; - - /** - * Negates this Long's value. - */ - neg(): Long; - - /** - * Returns the bitwise NOT of this Long. - */ - not(): Long; - - /** - * Returns count leading zeros of this Long. - */ - countLeadingZeros(): number; - - /** - * Returns count leading zeros of this Long. - */ - clz(): number; - - /** - * Returns count trailing zeros of this Long. - */ - countTrailingZeros(): number; - - /** - * Returns count trailing zeros of this Long. - */ - ctz(): number; - - /** - * Tests if this Long's value differs from the specified's. - */ - notEquals(other: Long | number | string): boolean; - - /** - * Tests if this Long's value differs from the specified's. - */ - neq(other: Long | number | string): boolean; - - /** - * Tests if this Long's value differs from the specified's. - */ - ne(other: Long | number | string): boolean; - - /** - * Returns the bitwise OR of this Long and the specified. - */ - or(other: Long | number | string): Long; - - /** - * Returns this Long with bits shifted to the left by the given amount. - */ - shiftLeft(numBits: number | Long): Long; - - /** - * Returns this Long with bits shifted to the left by the given amount. - */ - shl(numBits: number | Long): Long; - - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. - */ - shiftRight(numBits: number | Long): Long; - - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. - */ - shr(numBits: number | Long): Long; - - /** - * Returns this Long with bits logically shifted to the right by the given amount. - */ - shiftRightUnsigned(numBits: number | Long): Long; - - /** - * Returns this Long with bits logically shifted to the right by the given amount. - */ - shru(numBits: number | Long): Long; - - /** - * Returns this Long with bits logically shifted to the right by the given amount. - */ - shr_u(numBits: number | Long): Long; - - /** - * Returns this Long with bits rotated to the left by the given amount. - */ - rotateLeft(numBits: number | Long): Long; - - /** - * Returns this Long with bits rotated to the left by the given amount. - */ - rotl(numBits: number | Long): Long; - - /** - * Returns this Long with bits rotated to the right by the given amount. - */ - rotateRight(numBits: number | Long): Long; - - /** - * Returns this Long with bits rotated to the right by the given amount. - */ - rotr(numBits: number | Long): Long; - - /** - * Returns the difference of this and the specified Long. - */ - subtract(subtrahend: number | Long | string): Long; - - /** - * Returns the difference of this and the specified Long. - */ - sub(subtrahend: number | Long | string): Long; - - /** - * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. - */ - toInt(): number; - - /** - * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa). - */ - toNumber(): number; - - /** - * Converts this Long to its byte representation. - */ - - toBytes(le?: boolean): number[]; - - /** - * Converts this Long to its little endian byte representation. - */ - - toBytesLE(): number[]; - - /** - * Converts this Long to its big endian byte representation. - */ - - toBytesBE(): number[]; - - /** - * Converts this Long to signed. - */ - toSigned(): Long; - - /** - * Converts the Long to a string written in the specified radix. - */ - toString(radix?: number): string; - - /** - * Converts this Long to unsigned. - */ - toUnsigned(): Long; - - /** - * Returns the bitwise XOR of this Long and the given one. - */ - xor(other: Long | number | string): Long; -} - +import Long from './umd/index'; export default Long; // compatible with `import Long from "long"` diff --git a/node_modules/long/package.json b/node_modules/long/package.json index 3a063620a1..5333376db3 100644 --- a/node_modules/long/package.json +++ b/node_modules/long/package.json @@ -1,6 +1,6 @@ { "name": "long", - "version": "5.2.3", + "version": "5.2.4", "author": "Daniel Wirtz ", "description": "A Long class for representing a 64-bit two's-complement integer value.", "repository": { diff --git a/node_modules/long/umd/index.d.ts b/node_modules/long/umd/index.d.ts index c623535ccd..c6b1440c86 100644 --- a/node_modules/long/umd/index.d.ts +++ b/node_modules/long/umd/index.d.ts @@ -1,2 +1,457 @@ -import Long from "../index.js"; +declare class Long { + /** + * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as signed integers. See the from* functions below for more convenient ways of constructing Longs. + */ + constructor(low: number, high?: number, unsigned?: boolean); + + /** + * Maximum unsigned value. + */ + static MAX_UNSIGNED_VALUE: Long; + + /** + * Maximum signed value. + */ + static MAX_VALUE: Long; + + /** + * Minimum signed value. + */ + static MIN_VALUE: Long; + + /** + * Signed negative one. + */ + static NEG_ONE: Long; + + /** + * Signed one. + */ + static ONE: Long; + + /** + * Unsigned one. + */ + static UONE: Long; + + /** + * Unsigned zero. + */ + static UZERO: Long; + + /** + * Signed zero + */ + static ZERO: Long; + + /** + * The high 32 bits as a signed value. + */ + high: number; + + /** + * The low 32 bits as a signed value. + */ + low: number; + + /** + * Whether unsigned or not. + */ + unsigned: boolean; + + /** + * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits. + */ + static fromBits(lowBits: number, highBits: number, unsigned?: boolean): Long; + + /** + * Returns a Long representing the given 32 bit integer value. + */ + static fromInt(value: number, unsigned?: boolean): Long; + + /** + * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. + */ + static fromNumber(value: number, unsigned?: boolean): Long; + + /** + * Returns a Long representation of the given string, written using the specified radix. + */ + static fromString( + str: string, + unsigned?: boolean | number, + radix?: number + ): Long; + + /** + * Creates a Long from its byte representation. + */ + static fromBytes(bytes: number[], unsigned?: boolean, le?: boolean): Long; + + /** + * Creates a Long from its little endian byte representation. + */ + static fromBytesLE(bytes: number[], unsigned?: boolean): Long; + + /** + * Creates a Long from its big endian byte representation. + */ + static fromBytesBE(bytes: number[], unsigned?: boolean): Long; + + /** + * Tests if the specified object is a Long. + */ + static isLong(obj: any): obj is Long; + + /** + * Converts the specified value to a Long. + */ + static fromValue( + val: + | Long + | number + | string + | { low: number; high: number; unsigned: boolean }, + unsigned?: boolean + ): Long; + + /** + * Returns the sum of this and the specified Long. + */ + add(addend: number | Long | string): Long; + + /** + * Returns the bitwise AND of this Long and the specified. + */ + and(other: Long | number | string): Long; + + /** + * Compares this Long's value with the specified's. + */ + compare(other: Long | number | string): number; + + /** + * Compares this Long's value with the specified's. + */ + comp(other: Long | number | string): number; + + /** + * Returns this Long divided by the specified. + */ + divide(divisor: Long | number | string): Long; + + /** + * Returns this Long divided by the specified. + */ + div(divisor: Long | number | string): Long; + + /** + * Tests if this Long's value equals the specified's. + */ + equals(other: Long | number | string): boolean; + + /** + * Tests if this Long's value equals the specified's. + */ + eq(other: Long | number | string): boolean; + + /** + * Gets the high 32 bits as a signed integer. + */ + getHighBits(): number; + + /** + * Gets the high 32 bits as an unsigned integer. + */ + getHighBitsUnsigned(): number; + + /** + * Gets the low 32 bits as a signed integer. + */ + getLowBits(): number; + + /** + * Gets the low 32 bits as an unsigned integer. + */ + getLowBitsUnsigned(): number; + + /** + * Gets the number of bits needed to represent the absolute value of this Long. + */ + getNumBitsAbs(): number; + + /** + * Tests if this Long's value is greater than the specified's. + */ + greaterThan(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is greater than the specified's. + */ + gt(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is greater than or equal the specified's. + */ + greaterThanOrEqual(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is greater than or equal the specified's. + */ + gte(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is greater than or equal the specified's. + */ + ge(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is even. + */ + isEven(): boolean; + + /** + * Tests if this Long's value is negative. + */ + isNegative(): boolean; + + /** + * Tests if this Long's value is odd. + */ + isOdd(): boolean; + + /** + * Tests if this Long's value is positive or zero. + */ + isPositive(): boolean; + + /** + * Tests if this Long's value equals zero. + */ + isZero(): boolean; + + /** + * Tests if this Long's value equals zero. + */ + eqz(): boolean; + + /** + * Tests if this Long's value is less than the specified's. + */ + lessThan(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is less than the specified's. + */ + lt(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is less than or equal the specified's. + */ + lessThanOrEqual(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is less than or equal the specified's. + */ + lte(other: Long | number | string): boolean; + + /** + * Tests if this Long's value is less than or equal the specified's. + */ + le(other: Long | number | string): boolean; + + /** + * Returns this Long modulo the specified. + */ + modulo(other: Long | number | string): Long; + + /** + * Returns this Long modulo the specified. + */ + mod(other: Long | number | string): Long; + + /** + * Returns this Long modulo the specified. + */ + rem(other: Long | number | string): Long; + + /** + * Returns the product of this and the specified Long. + */ + multiply(multiplier: Long | number | string): Long; + + /** + * Returns the product of this and the specified Long. + */ + mul(multiplier: Long | number | string): Long; + + /** + * Negates this Long's value. + */ + negate(): Long; + + /** + * Negates this Long's value. + */ + neg(): Long; + + /** + * Returns the bitwise NOT of this Long. + */ + not(): Long; + + /** + * Returns count leading zeros of this Long. + */ + countLeadingZeros(): number; + + /** + * Returns count leading zeros of this Long. + */ + clz(): number; + + /** + * Returns count trailing zeros of this Long. + */ + countTrailingZeros(): number; + + /** + * Returns count trailing zeros of this Long. + */ + ctz(): number; + + /** + * Tests if this Long's value differs from the specified's. + */ + notEquals(other: Long | number | string): boolean; + + /** + * Tests if this Long's value differs from the specified's. + */ + neq(other: Long | number | string): boolean; + + /** + * Tests if this Long's value differs from the specified's. + */ + ne(other: Long | number | string): boolean; + + /** + * Returns the bitwise OR of this Long and the specified. + */ + or(other: Long | number | string): Long; + + /** + * Returns this Long with bits shifted to the left by the given amount. + */ + shiftLeft(numBits: number | Long): Long; + + /** + * Returns this Long with bits shifted to the left by the given amount. + */ + shl(numBits: number | Long): Long; + + /** + * Returns this Long with bits arithmetically shifted to the right by the given amount. + */ + shiftRight(numBits: number | Long): Long; + + /** + * Returns this Long with bits arithmetically shifted to the right by the given amount. + */ + shr(numBits: number | Long): Long; + + /** + * Returns this Long with bits logically shifted to the right by the given amount. + */ + shiftRightUnsigned(numBits: number | Long): Long; + + /** + * Returns this Long with bits logically shifted to the right by the given amount. + */ + shru(numBits: number | Long): Long; + + /** + * Returns this Long with bits logically shifted to the right by the given amount. + */ + shr_u(numBits: number | Long): Long; + + /** + * Returns this Long with bits rotated to the left by the given amount. + */ + rotateLeft(numBits: number | Long): Long; + + /** + * Returns this Long with bits rotated to the left by the given amount. + */ + rotl(numBits: number | Long): Long; + + /** + * Returns this Long with bits rotated to the right by the given amount. + */ + rotateRight(numBits: number | Long): Long; + + /** + * Returns this Long with bits rotated to the right by the given amount. + */ + rotr(numBits: number | Long): Long; + + /** + * Returns the difference of this and the specified Long. + */ + subtract(subtrahend: number | Long | string): Long; + + /** + * Returns the difference of this and the specified Long. + */ + sub(subtrahend: number | Long | string): Long; + + /** + * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. + */ + toInt(): number; + + /** + * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa). + */ + toNumber(): number; + + /** + * Converts this Long to its byte representation. + */ + + toBytes(le?: boolean): number[]; + + /** + * Converts this Long to its little endian byte representation. + */ + + toBytesLE(): number[]; + + /** + * Converts this Long to its big endian byte representation. + */ + + toBytesBE(): number[]; + + /** + * Converts this Long to signed. + */ + toSigned(): Long; + + /** + * Converts the Long to a string written in the specified radix. + */ + toString(radix?: number): string; + + /** + * Converts this Long to unsigned. + */ + toUnsigned(): Long; + + /** + * Returns the bitwise XOR of this Long and the given one. + */ + xor(other: Long | number | string): Long; +} + export = Long; diff --git a/node_modules/typescript/lib/_tsc.js b/node_modules/typescript/lib/_tsc.js index 3bcdbf7ae5..d1ea13710b 100644 --- a/node_modules/typescript/lib/_tsc.js +++ b/node_modules/typescript/lib/_tsc.js @@ -18,7 +18,7 @@ and limitations under the License. // src/compiler/corePublic.ts var versionMajorMinor = "5.7"; -var version = "5.7.2"; +var version = "5.7.3"; // src/compiler/core.ts var emptyArray = []; @@ -11143,6 +11143,7 @@ function sortAndDeduplicateDiagnostics(diagnostics) { } var targetToLibMap = /* @__PURE__ */ new Map([ [99 /* ESNext */, "lib.esnext.full.d.ts"], + [11 /* ES2024 */, "lib.es2024.full.d.ts"], [10 /* ES2023 */, "lib.es2023.full.d.ts"], [9 /* ES2022 */, "lib.es2022.full.d.ts"], [8 /* ES2021 */, "lib.es2021.full.d.ts"], @@ -11158,6 +11159,7 @@ function getDefaultLibFileName(options) { const target = getEmitScriptTarget(options); switch (target) { case 99 /* ESNext */: + case 11 /* ES2024 */: case 10 /* ES2023 */: case 9 /* ES2022 */: case 8 /* ES2021 */: @@ -46776,6 +46778,12 @@ function createTypeChecker(host) { /*isReadonly*/ true ); + var anyBaseTypeIndexInfo = createIndexInfo( + stringType, + anyType, + /*isReadonly*/ + false + ); var iterationTypesCache = /* @__PURE__ */ new Map(); var noIterationTypes = { get yieldType() { @@ -50319,7 +50327,7 @@ function createTypeChecker(host) { return true; } if (requiresAddingUndefined && annotationType) { - annotationType = getOptionalType(annotationType, !isParameter(node)); + annotationType = addOptionality(annotationType, !isParameter(node)); } return !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type); } @@ -56577,12 +56585,7 @@ function createTypeChecker(host) { addInheritedMembers(members, getPropertiesOfType(instantiatedBaseType)); callSignatures = concatenate(callSignatures, getSignaturesOfType(instantiatedBaseType, 0 /* Call */)); constructSignatures = concatenate(constructSignatures, getSignaturesOfType(instantiatedBaseType, 1 /* Construct */)); - const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo( - stringType, - anyType, - /*isReadonly*/ - false - )]; + const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [anyBaseTypeIndexInfo]; indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType))); } } @@ -57108,12 +57111,7 @@ function createTypeChecker(host) { members = createSymbolTable(getNamedOrIndexSignatureMembers(members)); addInheritedMembers(members, getPropertiesOfType(baseConstructorType)); } else if (baseConstructorType === anyType) { - baseConstructorIndexInfo = createIndexInfo( - stringType, - anyType, - /*isReadonly*/ - false - ); + baseConstructorIndexInfo = anyBaseTypeIndexInfo; } } const indexSymbol = getIndexSymbolFromSymbolTable(members); @@ -70460,12 +70458,13 @@ function createTypeChecker(host) { const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0; const jsxFactoryNamespace = getJsxNamespace(node); const jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node; + const shouldFactoryRefErr = compilerOptions.jsx !== 1 /* Preserve */ && compilerOptions.jsx !== 3 /* ReactNative */; let jsxFactorySym; if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === "null")) { jsxFactorySym = resolveName( jsxFactoryLocation, jsxFactoryNamespace, - compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + shouldFactoryRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */, jsxFactoryRefErr, /*isUse*/ true @@ -70484,7 +70483,7 @@ function createTypeChecker(host) { resolveName( jsxFactoryLocation, localJsxNamespace, - compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + shouldFactoryRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */, jsxFactoryRefErr, /*isUse*/ true @@ -74045,6 +74044,13 @@ function createTypeChecker(host) { return getIntersectionType(x); } function reportNonexistentProperty(propNode, containingType, isUncheckedJS) { + const links = getNodeLinks(propNode); + const cache = links.nonExistentPropCheckCache || (links.nonExistentPropCheckCache = /* @__PURE__ */ new Set()); + const key = `${getTypeId(containingType)}|${isUncheckedJS}`; + if (cache.has(key)) { + return; + } + cache.add(key); let errorInfo; let relatedInfo; if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 /* Union */ && !(containingType.flags & 402784252 /* Primitive */)) { @@ -76003,12 +76009,14 @@ function createTypeChecker(host) { const sourceFileLinks = getNodeLinks(getSourceFileOfNode(node)); if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType; const jsxFragmentFactoryName = getJsxNamespace(node); - if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType; + const shouldResolveFactoryReference = (compilerOptions.jsx === 2 /* React */ || compilerOptions.jsxFragmentFactory !== void 0) && jsxFragmentFactoryName !== "null"; + if (!shouldResolveFactoryReference) return sourceFileLinks.jsxFragmentType = anyType; + const shouldModuleRefErr = compilerOptions.jsx !== 1 /* Preserve */ && compilerOptions.jsx !== 3 /* ReactNative */; const jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0; const jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName( node, jsxFragmentFactoryName, - compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + shouldModuleRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */, /*nameNotFoundMessage*/ jsxFactoryRefErr, /*isUse*/ @@ -78574,7 +78582,9 @@ function createTypeChecker(host) { switch (node.kind) { case 223 /* AwaitExpression */: case 213 /* CallExpression */: + case 215 /* TaggedTemplateExpression */: case 212 /* ElementAccessExpression */: + case 236 /* MetaProperty */: case 214 /* NewExpression */: case 211 /* PropertyAccessExpression */: case 229 /* YieldExpression */: @@ -78590,6 +78600,8 @@ function createTypeChecker(host) { case 56 /* AmpersandAmpersandToken */: case 77 /* AmpersandAmpersandEqualsToken */: return 3 /* Sometimes */; + case 28 /* CommaToken */: + return getSyntacticNullishnessSemantics(node.right); } return 2 /* Never */; case 227 /* ConditionalExpression */: @@ -84702,7 +84714,7 @@ function createTypeChecker(host) { } } } - if (isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) { + if (!importClause.isTypeOnly && moduleKind === 199 /* NodeNext */ && isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) { error(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind]); } } else if (noUncheckedSideEffectImports && !importClause) { @@ -86986,6 +86998,7 @@ function createTypeChecker(host) { result || (result = []); for (const info of infoList) { if (info.declaration) continue; + if (info === anyBaseTypeIndexInfo) continue; const node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker); if (node && infoList === staticInfos) { (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(126 /* StaticKeyword */)); @@ -131703,9 +131716,9 @@ function createSyntacticTypeNodeBuilder(options, resolver) { } if (!result && node.kind === 303 /* PropertyAssignment */) { const initializer = node.initializer; - const type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0; - if (type && !isConstTypeReference(type)) { - result = serializeExistingTypeNode(type, context); + const assertionNode = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0; + if (assertionNode && !isConstTypeReference(assertionNode) && resolver.canReuseTypeNodeAnnotation(context, node, assertionNode, symbol)) { + result = serializeExistingTypeNode(assertionNode, context); } } return result ?? inferTypeOfDeclaration( diff --git a/node_modules/typescript/lib/typescript.js b/node_modules/typescript/lib/typescript.js index 33387eadeb..fa7c62f9a0 100644 --- a/node_modules/typescript/lib/typescript.js +++ b/node_modules/typescript/lib/typescript.js @@ -2278,7 +2278,7 @@ module.exports = __toCommonJS(typescript_exports); // src/compiler/corePublic.ts var versionMajorMinor = "5.7"; -var version = "5.7.2"; +var version = "5.7.3"; var Comparison = /* @__PURE__ */ ((Comparison3) => { Comparison3[Comparison3["LessThan"] = -1] = "LessThan"; Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo"; @@ -14547,6 +14547,7 @@ function sortAndDeduplicateDiagnostics(diagnostics) { } var targetToLibMap = /* @__PURE__ */ new Map([ [99 /* ESNext */, "lib.esnext.full.d.ts"], + [11 /* ES2024 */, "lib.es2024.full.d.ts"], [10 /* ES2023 */, "lib.es2023.full.d.ts"], [9 /* ES2022 */, "lib.es2022.full.d.ts"], [8 /* ES2021 */, "lib.es2021.full.d.ts"], @@ -14562,6 +14563,7 @@ function getDefaultLibFileName(options) { const target = getEmitScriptTarget(options); switch (target) { case 99 /* ESNext */: + case 11 /* ES2024 */: case 10 /* ES2023 */: case 9 /* ES2022 */: case 8 /* ES2021 */: @@ -51379,6 +51381,12 @@ function createTypeChecker(host) { /*isReadonly*/ true ); + var anyBaseTypeIndexInfo = createIndexInfo( + stringType, + anyType, + /*isReadonly*/ + false + ); var iterationTypesCache = /* @__PURE__ */ new Map(); var noIterationTypes = { get yieldType() { @@ -54922,7 +54930,7 @@ function createTypeChecker(host) { return true; } if (requiresAddingUndefined && annotationType) { - annotationType = getOptionalType(annotationType, !isParameter(node)); + annotationType = addOptionality(annotationType, !isParameter(node)); } return !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type); } @@ -61180,12 +61188,7 @@ function createTypeChecker(host) { addInheritedMembers(members, getPropertiesOfType(instantiatedBaseType)); callSignatures = concatenate(callSignatures, getSignaturesOfType(instantiatedBaseType, 0 /* Call */)); constructSignatures = concatenate(constructSignatures, getSignaturesOfType(instantiatedBaseType, 1 /* Construct */)); - const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo( - stringType, - anyType, - /*isReadonly*/ - false - )]; + const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [anyBaseTypeIndexInfo]; indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType))); } } @@ -61711,12 +61714,7 @@ function createTypeChecker(host) { members = createSymbolTable(getNamedOrIndexSignatureMembers(members)); addInheritedMembers(members, getPropertiesOfType(baseConstructorType)); } else if (baseConstructorType === anyType) { - baseConstructorIndexInfo = createIndexInfo( - stringType, - anyType, - /*isReadonly*/ - false - ); + baseConstructorIndexInfo = anyBaseTypeIndexInfo; } } const indexSymbol = getIndexSymbolFromSymbolTable(members); @@ -75063,12 +75061,13 @@ function createTypeChecker(host) { const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0; const jsxFactoryNamespace = getJsxNamespace(node); const jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node; + const shouldFactoryRefErr = compilerOptions.jsx !== 1 /* Preserve */ && compilerOptions.jsx !== 3 /* ReactNative */; let jsxFactorySym; if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === "null")) { jsxFactorySym = resolveName( jsxFactoryLocation, jsxFactoryNamespace, - compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + shouldFactoryRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */, jsxFactoryRefErr, /*isUse*/ true @@ -75087,7 +75086,7 @@ function createTypeChecker(host) { resolveName( jsxFactoryLocation, localJsxNamespace, - compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + shouldFactoryRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */, jsxFactoryRefErr, /*isUse*/ true @@ -78648,6 +78647,13 @@ function createTypeChecker(host) { return getIntersectionType(x); } function reportNonexistentProperty(propNode, containingType, isUncheckedJS) { + const links = getNodeLinks(propNode); + const cache = links.nonExistentPropCheckCache || (links.nonExistentPropCheckCache = /* @__PURE__ */ new Set()); + const key = `${getTypeId(containingType)}|${isUncheckedJS}`; + if (cache.has(key)) { + return; + } + cache.add(key); let errorInfo; let relatedInfo; if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 /* Union */ && !(containingType.flags & 402784252 /* Primitive */)) { @@ -80606,12 +80612,14 @@ function createTypeChecker(host) { const sourceFileLinks = getNodeLinks(getSourceFileOfNode(node)); if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType; const jsxFragmentFactoryName = getJsxNamespace(node); - if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType; + const shouldResolveFactoryReference = (compilerOptions.jsx === 2 /* React */ || compilerOptions.jsxFragmentFactory !== void 0) && jsxFragmentFactoryName !== "null"; + if (!shouldResolveFactoryReference) return sourceFileLinks.jsxFragmentType = anyType; + const shouldModuleRefErr = compilerOptions.jsx !== 1 /* Preserve */ && compilerOptions.jsx !== 3 /* ReactNative */; const jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0; const jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName( node, jsxFragmentFactoryName, - compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */, + shouldModuleRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */, /*nameNotFoundMessage*/ jsxFactoryRefErr, /*isUse*/ @@ -83177,7 +83185,9 @@ function createTypeChecker(host) { switch (node.kind) { case 223 /* AwaitExpression */: case 213 /* CallExpression */: + case 215 /* TaggedTemplateExpression */: case 212 /* ElementAccessExpression */: + case 236 /* MetaProperty */: case 214 /* NewExpression */: case 211 /* PropertyAccessExpression */: case 229 /* YieldExpression */: @@ -83193,6 +83203,8 @@ function createTypeChecker(host) { case 56 /* AmpersandAmpersandToken */: case 77 /* AmpersandAmpersandEqualsToken */: return 3 /* Sometimes */; + case 28 /* CommaToken */: + return getSyntacticNullishnessSemantics(node.right); } return 2 /* Never */; case 227 /* ConditionalExpression */: @@ -89305,7 +89317,7 @@ function createTypeChecker(host) { } } } - if (isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) { + if (!importClause.isTypeOnly && moduleKind === 199 /* NodeNext */ && isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) { error2(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind]); } } else if (noUncheckedSideEffectImports && !importClause) { @@ -91589,6 +91601,7 @@ function createTypeChecker(host) { result || (result = []); for (const info of infoList) { if (info.declaration) continue; + if (info === anyBaseTypeIndexInfo) continue; const node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker); if (node && infoList === staticInfos) { (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(126 /* StaticKeyword */)); @@ -136663,9 +136676,9 @@ function createSyntacticTypeNodeBuilder(options, resolver) { } if (!result && node.kind === 303 /* PropertyAssignment */) { const initializer = node.initializer; - const type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0; - if (type && !isConstTypeReference(type)) { - result = serializeExistingTypeNode(type, context); + const assertionNode = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0; + if (assertionNode && !isConstTypeReference(assertionNode) && resolver.canReuseTypeNodeAnnotation(context, node, assertionNode, symbol)) { + result = serializeExistingTypeNode(assertionNode, context); } } return result ?? inferTypeOfDeclaration( diff --git a/node_modules/typescript/package.json b/node_modules/typescript/package.json index 8f08792247..716cd64e18 100644 --- a/node_modules/typescript/package.json +++ b/node_modules/typescript/package.json @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "5.7.2", + "version": "5.7.3", "license": "Apache-2.0", "description": "TypeScript is a language for application scale JavaScript development", "keywords": [ @@ -116,5 +116,5 @@ "node": "20.1.0", "npm": "8.19.4" }, - "gitHead": "d701d908d534e68cfab24b6df15539014ac348a3" + "gitHead": "a5e123d9e0690fcea92878ea8a0a382922009fc9" } diff --git a/node_modules/uuid/dist/cjs-browser/md5.d.ts b/node_modules/uuid/dist/cjs-browser/md5.d.ts index 44bc824b1b..5a55f51ebd 100644 --- a/node_modules/uuid/dist/cjs-browser/md5.d.ts +++ b/node_modules/uuid/dist/cjs-browser/md5.d.ts @@ -1,2 +1,2 @@ -declare function md5(bytes: Uint8Array): Uint8Array; +declare function md5(bytes: Uint8Array): Uint8Array; export default md5; diff --git a/node_modules/uuid/dist/cjs-browser/parse.d.ts b/node_modules/uuid/dist/cjs-browser/parse.d.ts index 86d55ef9c5..a316fb1178 100644 --- a/node_modules/uuid/dist/cjs-browser/parse.d.ts +++ b/node_modules/uuid/dist/cjs-browser/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/cjs-browser/rng.d.ts b/node_modules/uuid/dist/cjs-browser/rng.d.ts index 1fbb163599..73e60cf348 100644 --- a/node_modules/uuid/dist/cjs-browser/rng.d.ts +++ b/node_modules/uuid/dist/cjs-browser/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/cjs-browser/rng.js b/node_modules/uuid/dist/cjs-browser/rng.js index 6130d22a48..155bcd7dfe 100644 --- a/node_modules/uuid/dist/cjs-browser/rng.js +++ b/node_modules/uuid/dist/cjs-browser/rng.js @@ -1,6 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = rng; let getRandomValues; const rnds8 = new Uint8Array(16); function rng() { @@ -12,3 +11,4 @@ function rng() { } return getRandomValues(rnds8); } +exports.default = rng; diff --git a/node_modules/uuid/dist/cjs-browser/stringify.js b/node_modules/uuid/dist/cjs-browser/stringify.js index ff2f3cbc75..2ba27bbd5d 100644 --- a/node_modules/uuid/dist/cjs-browser/stringify.js +++ b/node_modules/uuid/dist/cjs-browser/stringify.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.unsafeStringify = unsafeStringify; +exports.unsafeStringify = void 0; const validate_js_1 = require("./validate.js"); const byteToHex = []; for (let i = 0; i < 256; ++i) { @@ -28,6 +28,7 @@ function unsafeStringify(arr, offset = 0) { byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); } +exports.unsafeStringify = unsafeStringify; function stringify(arr, offset = 0) { const uuid = unsafeStringify(arr, offset); if (!(0, validate_js_1.default)(uuid)) { diff --git a/node_modules/uuid/dist/cjs-browser/v1.js b/node_modules/uuid/dist/cjs-browser/v1.js index 667fade140..d0dbf0b9c7 100644 --- a/node_modules/uuid/dist/cjs-browser/v1.js +++ b/node_modules/uuid/dist/cjs-browser/v1.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.updateV1State = updateV1State; +exports.updateV1State = void 0; const rng_js_1 = require("./rng.js"); const stringify_js_1 = require("./stringify.js"); const _state = {}; @@ -48,6 +48,7 @@ function updateV1State(state, now, rnds) { state.msecs = now; return state; } +exports.updateV1State = updateV1State; function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { if (rnds.length < 16) { throw new Error('Random bytes length must be >= 16'); diff --git a/node_modules/uuid/dist/cjs-browser/v1ToV6.js b/node_modules/uuid/dist/cjs-browser/v1ToV6.js index 84afebc585..daba2c326c 100644 --- a/node_modules/uuid/dist/cjs-browser/v1ToV6.js +++ b/node_modules/uuid/dist/cjs-browser/v1ToV6.js @@ -1,6 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = v1ToV6; const parse_js_1 = require("./parse.js"); const stringify_js_1 = require("./stringify.js"); function v1ToV6(uuid) { @@ -8,6 +7,7 @@ function v1ToV6(uuid) { const v6Bytes = _v1ToV6(v1Bytes); return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v6Bytes) : v6Bytes; } +exports.default = v1ToV6; function _v1ToV6(v1Bytes) { return Uint8Array.of(((v1Bytes[6] & 0x0f) << 4) | ((v1Bytes[7] >> 4) & 0x0f), ((v1Bytes[7] & 0x0f) << 4) | ((v1Bytes[4] & 0xf0) >> 4), ((v1Bytes[4] & 0x0f) << 4) | ((v1Bytes[5] & 0xf0) >> 4), ((v1Bytes[5] & 0x0f) << 4) | ((v1Bytes[0] & 0xf0) >> 4), ((v1Bytes[0] & 0x0f) << 4) | ((v1Bytes[1] & 0xf0) >> 4), ((v1Bytes[1] & 0x0f) << 4) | ((v1Bytes[2] & 0xf0) >> 4), 0x60 | (v1Bytes[2] & 0x0f), v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]); } diff --git a/node_modules/uuid/dist/cjs-browser/v35.d.ts b/node_modules/uuid/dist/cjs-browser/v35.d.ts index a2c132633f..5d1d06daef 100644 --- a/node_modules/uuid/dist/cjs-browser/v35.d.ts +++ b/node_modules/uuid/dist/cjs-browser/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/dist/cjs-browser/v35.js b/node_modules/uuid/dist/cjs-browser/v35.js index 84a73488e4..a3712f2a7c 100644 --- a/node_modules/uuid/dist/cjs-browser/v35.js +++ b/node_modules/uuid/dist/cjs-browser/v35.js @@ -1,8 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.URL = exports.DNS = void 0; -exports.stringToBytes = stringToBytes; -exports.default = v35; +exports.URL = exports.DNS = exports.stringToBytes = void 0; const parse_js_1 = require("./parse.js"); const stringify_js_1 = require("./stringify.js"); function stringToBytes(str) { @@ -13,6 +11,7 @@ function stringToBytes(str) { } return bytes; } +exports.stringToBytes = stringToBytes; exports.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; exports.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; function v35(version, hash, value, namespace, buf, offset) { @@ -39,3 +38,4 @@ function v35(version, hash, value, namespace, buf, offset) { } return (0, stringify_js_1.unsafeStringify)(bytes); } +exports.default = v35; diff --git a/node_modules/uuid/dist/cjs-browser/v6ToV1.js b/node_modules/uuid/dist/cjs-browser/v6ToV1.js index ce9679ccda..9dcb6615c8 100644 --- a/node_modules/uuid/dist/cjs-browser/v6ToV1.js +++ b/node_modules/uuid/dist/cjs-browser/v6ToV1.js @@ -1,6 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = v6ToV1; const parse_js_1 = require("./parse.js"); const stringify_js_1 = require("./stringify.js"); function v6ToV1(uuid) { @@ -8,6 +7,7 @@ function v6ToV1(uuid) { const v1Bytes = _v6ToV1(v6Bytes); return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v1Bytes) : v1Bytes; } +exports.default = v6ToV1; function _v6ToV1(v6Bytes) { return Uint8Array.of(((v6Bytes[3] & 0x0f) << 4) | ((v6Bytes[4] >> 4) & 0x0f), ((v6Bytes[4] & 0x0f) << 4) | ((v6Bytes[5] & 0xf0) >> 4), ((v6Bytes[5] & 0x0f) << 4) | (v6Bytes[6] & 0x0f), v6Bytes[7], ((v6Bytes[1] & 0x0f) << 4) | ((v6Bytes[2] & 0xf0) >> 4), ((v6Bytes[2] & 0x0f) << 4) | ((v6Bytes[3] & 0xf0) >> 4), 0x10 | ((v6Bytes[0] & 0xf0) >> 4), ((v6Bytes[0] & 0x0f) << 4) | ((v6Bytes[1] & 0xf0) >> 4), v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]); } diff --git a/node_modules/uuid/dist/cjs-browser/v7.js b/node_modules/uuid/dist/cjs-browser/v7.js index ff01dc08cc..482b6f7091 100644 --- a/node_modules/uuid/dist/cjs-browser/v7.js +++ b/node_modules/uuid/dist/cjs-browser/v7.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.updateV7State = updateV7State; +exports.updateV7State = void 0; const rng_js_1 = require("./rng.js"); const stringify_js_1 = require("./stringify.js"); const _state = {}; @@ -32,6 +32,7 @@ function updateV7State(state, now, rnds) { } return state; } +exports.updateV7State = updateV7State; function v7Bytes(rnds, msecs, seq, buf, offset = 0) { if (rnds.length < 16) { throw new Error('Random bytes length must be >= 16'); diff --git a/node_modules/uuid/dist/cjs/md5.d.ts b/node_modules/uuid/dist/cjs/md5.d.ts index 1d00cf700a..f8f6ecf3b8 100644 --- a/node_modules/uuid/dist/cjs/md5.d.ts +++ b/node_modules/uuid/dist/cjs/md5.d.ts @@ -1,2 +1,4 @@ -declare function md5(bytes: Uint8Array): Buffer; +/// +/// +declare function md5(bytes: Uint8Array): Buffer; export default md5; diff --git a/node_modules/uuid/dist/cjs/native.d.ts b/node_modules/uuid/dist/cjs/native.d.ts index 171ce06c38..2b6c756ee7 100644 --- a/node_modules/uuid/dist/cjs/native.d.ts +++ b/node_modules/uuid/dist/cjs/native.d.ts @@ -1,3 +1,4 @@ +/// import { randomUUID } from 'crypto'; declare const _default: { randomUUID: typeof randomUUID; diff --git a/node_modules/uuid/dist/cjs/parse.d.ts b/node_modules/uuid/dist/cjs/parse.d.ts index 86d55ef9c5..a316fb1178 100644 --- a/node_modules/uuid/dist/cjs/parse.d.ts +++ b/node_modules/uuid/dist/cjs/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/cjs/rng.d.ts b/node_modules/uuid/dist/cjs/rng.d.ts index 1fbb163599..73e60cf348 100644 --- a/node_modules/uuid/dist/cjs/rng.d.ts +++ b/node_modules/uuid/dist/cjs/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/cjs/rng.js b/node_modules/uuid/dist/cjs/rng.js index 5a49c50b88..8f5458eb03 100644 --- a/node_modules/uuid/dist/cjs/rng.js +++ b/node_modules/uuid/dist/cjs/rng.js @@ -1,6 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = rng; const crypto_1 = require("crypto"); const rnds8Pool = new Uint8Array(256); let poolPtr = rnds8Pool.length; @@ -11,3 +10,4 @@ function rng() { } return rnds8Pool.slice(poolPtr, (poolPtr += 16)); } +exports.default = rng; diff --git a/node_modules/uuid/dist/cjs/sha1.d.ts b/node_modules/uuid/dist/cjs/sha1.d.ts index 8e272a55be..dfdc2ea03b 100644 --- a/node_modules/uuid/dist/cjs/sha1.d.ts +++ b/node_modules/uuid/dist/cjs/sha1.d.ts @@ -1,2 +1,4 @@ -declare function sha1(bytes: Uint8Array): Buffer; +/// +/// +declare function sha1(bytes: Uint8Array): Buffer; export default sha1; diff --git a/node_modules/uuid/dist/cjs/stringify.js b/node_modules/uuid/dist/cjs/stringify.js index ff2f3cbc75..2ba27bbd5d 100644 --- a/node_modules/uuid/dist/cjs/stringify.js +++ b/node_modules/uuid/dist/cjs/stringify.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.unsafeStringify = unsafeStringify; +exports.unsafeStringify = void 0; const validate_js_1 = require("./validate.js"); const byteToHex = []; for (let i = 0; i < 256; ++i) { @@ -28,6 +28,7 @@ function unsafeStringify(arr, offset = 0) { byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); } +exports.unsafeStringify = unsafeStringify; function stringify(arr, offset = 0) { const uuid = unsafeStringify(arr, offset); if (!(0, validate_js_1.default)(uuid)) { diff --git a/node_modules/uuid/dist/cjs/v1.js b/node_modules/uuid/dist/cjs/v1.js index 667fade140..d0dbf0b9c7 100644 --- a/node_modules/uuid/dist/cjs/v1.js +++ b/node_modules/uuid/dist/cjs/v1.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.updateV1State = updateV1State; +exports.updateV1State = void 0; const rng_js_1 = require("./rng.js"); const stringify_js_1 = require("./stringify.js"); const _state = {}; @@ -48,6 +48,7 @@ function updateV1State(state, now, rnds) { state.msecs = now; return state; } +exports.updateV1State = updateV1State; function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { if (rnds.length < 16) { throw new Error('Random bytes length must be >= 16'); diff --git a/node_modules/uuid/dist/cjs/v1ToV6.js b/node_modules/uuid/dist/cjs/v1ToV6.js index 84afebc585..daba2c326c 100644 --- a/node_modules/uuid/dist/cjs/v1ToV6.js +++ b/node_modules/uuid/dist/cjs/v1ToV6.js @@ -1,6 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = v1ToV6; const parse_js_1 = require("./parse.js"); const stringify_js_1 = require("./stringify.js"); function v1ToV6(uuid) { @@ -8,6 +7,7 @@ function v1ToV6(uuid) { const v6Bytes = _v1ToV6(v1Bytes); return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v6Bytes) : v6Bytes; } +exports.default = v1ToV6; function _v1ToV6(v1Bytes) { return Uint8Array.of(((v1Bytes[6] & 0x0f) << 4) | ((v1Bytes[7] >> 4) & 0x0f), ((v1Bytes[7] & 0x0f) << 4) | ((v1Bytes[4] & 0xf0) >> 4), ((v1Bytes[4] & 0x0f) << 4) | ((v1Bytes[5] & 0xf0) >> 4), ((v1Bytes[5] & 0x0f) << 4) | ((v1Bytes[0] & 0xf0) >> 4), ((v1Bytes[0] & 0x0f) << 4) | ((v1Bytes[1] & 0xf0) >> 4), ((v1Bytes[1] & 0x0f) << 4) | ((v1Bytes[2] & 0xf0) >> 4), 0x60 | (v1Bytes[2] & 0x0f), v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]); } diff --git a/node_modules/uuid/dist/cjs/v35.d.ts b/node_modules/uuid/dist/cjs/v35.d.ts index a2c132633f..5d1d06daef 100644 --- a/node_modules/uuid/dist/cjs/v35.d.ts +++ b/node_modules/uuid/dist/cjs/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/dist/cjs/v35.js b/node_modules/uuid/dist/cjs/v35.js index 84a73488e4..a3712f2a7c 100644 --- a/node_modules/uuid/dist/cjs/v35.js +++ b/node_modules/uuid/dist/cjs/v35.js @@ -1,8 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.URL = exports.DNS = void 0; -exports.stringToBytes = stringToBytes; -exports.default = v35; +exports.URL = exports.DNS = exports.stringToBytes = void 0; const parse_js_1 = require("./parse.js"); const stringify_js_1 = require("./stringify.js"); function stringToBytes(str) { @@ -13,6 +11,7 @@ function stringToBytes(str) { } return bytes; } +exports.stringToBytes = stringToBytes; exports.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; exports.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; function v35(version, hash, value, namespace, buf, offset) { @@ -39,3 +38,4 @@ function v35(version, hash, value, namespace, buf, offset) { } return (0, stringify_js_1.unsafeStringify)(bytes); } +exports.default = v35; diff --git a/node_modules/uuid/dist/cjs/v6ToV1.js b/node_modules/uuid/dist/cjs/v6ToV1.js index ce9679ccda..9dcb6615c8 100644 --- a/node_modules/uuid/dist/cjs/v6ToV1.js +++ b/node_modules/uuid/dist/cjs/v6ToV1.js @@ -1,6 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = v6ToV1; const parse_js_1 = require("./parse.js"); const stringify_js_1 = require("./stringify.js"); function v6ToV1(uuid) { @@ -8,6 +7,7 @@ function v6ToV1(uuid) { const v1Bytes = _v6ToV1(v6Bytes); return typeof uuid === 'string' ? (0, stringify_js_1.unsafeStringify)(v1Bytes) : v1Bytes; } +exports.default = v6ToV1; function _v6ToV1(v6Bytes) { return Uint8Array.of(((v6Bytes[3] & 0x0f) << 4) | ((v6Bytes[4] >> 4) & 0x0f), ((v6Bytes[4] & 0x0f) << 4) | ((v6Bytes[5] & 0xf0) >> 4), ((v6Bytes[5] & 0x0f) << 4) | (v6Bytes[6] & 0x0f), v6Bytes[7], ((v6Bytes[1] & 0x0f) << 4) | ((v6Bytes[2] & 0xf0) >> 4), ((v6Bytes[2] & 0x0f) << 4) | ((v6Bytes[3] & 0xf0) >> 4), 0x10 | ((v6Bytes[0] & 0xf0) >> 4), ((v6Bytes[0] & 0x0f) << 4) | ((v6Bytes[1] & 0xf0) >> 4), v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]); } diff --git a/node_modules/uuid/dist/cjs/v7.js b/node_modules/uuid/dist/cjs/v7.js index ff01dc08cc..482b6f7091 100644 --- a/node_modules/uuid/dist/cjs/v7.js +++ b/node_modules/uuid/dist/cjs/v7.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.updateV7State = updateV7State; +exports.updateV7State = void 0; const rng_js_1 = require("./rng.js"); const stringify_js_1 = require("./stringify.js"); const _state = {}; @@ -32,6 +32,7 @@ function updateV7State(state, now, rnds) { } return state; } +exports.updateV7State = updateV7State; function v7Bytes(rnds, msecs, seq, buf, offset = 0) { if (rnds.length < 16) { throw new Error('Random bytes length must be >= 16'); diff --git a/node_modules/uuid/dist/esm-browser/md5.d.ts b/node_modules/uuid/dist/esm-browser/md5.d.ts index 44bc824b1b..5a55f51ebd 100644 --- a/node_modules/uuid/dist/esm-browser/md5.d.ts +++ b/node_modules/uuid/dist/esm-browser/md5.d.ts @@ -1,2 +1,2 @@ -declare function md5(bytes: Uint8Array): Uint8Array; +declare function md5(bytes: Uint8Array): Uint8Array; export default md5; diff --git a/node_modules/uuid/dist/esm-browser/parse.d.ts b/node_modules/uuid/dist/esm-browser/parse.d.ts index 86d55ef9c5..a316fb1178 100644 --- a/node_modules/uuid/dist/esm-browser/parse.d.ts +++ b/node_modules/uuid/dist/esm-browser/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/esm-browser/rng.d.ts b/node_modules/uuid/dist/esm-browser/rng.d.ts index 1fbb163599..73e60cf348 100644 --- a/node_modules/uuid/dist/esm-browser/rng.d.ts +++ b/node_modules/uuid/dist/esm-browser/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/esm-browser/v35.d.ts b/node_modules/uuid/dist/esm-browser/v35.d.ts index a2c132633f..5d1d06daef 100644 --- a/node_modules/uuid/dist/esm-browser/v35.d.ts +++ b/node_modules/uuid/dist/esm-browser/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/dist/esm/md5.d.ts b/node_modules/uuid/dist/esm/md5.d.ts index 1d00cf700a..7d60244b3b 100644 --- a/node_modules/uuid/dist/esm/md5.d.ts +++ b/node_modules/uuid/dist/esm/md5.d.ts @@ -1,2 +1,4 @@ -declare function md5(bytes: Uint8Array): Buffer; +/// +/// +declare function md5(bytes: Uint8Array): Buffer; export default md5; diff --git a/node_modules/uuid/dist/esm/native.d.ts b/node_modules/uuid/dist/esm/native.d.ts index 171ce06c38..9e0d2ac581 100644 --- a/node_modules/uuid/dist/esm/native.d.ts +++ b/node_modules/uuid/dist/esm/native.d.ts @@ -1,3 +1,4 @@ +/// import { randomUUID } from 'crypto'; declare const _default: { randomUUID: typeof randomUUID; diff --git a/node_modules/uuid/dist/esm/parse.d.ts b/node_modules/uuid/dist/esm/parse.d.ts index 86d55ef9c5..a316fb1178 100644 --- a/node_modules/uuid/dist/esm/parse.d.ts +++ b/node_modules/uuid/dist/esm/parse.d.ts @@ -1,2 +1,2 @@ -declare function parse(uuid: string): Uint8Array; +declare function parse(uuid: string): Uint8Array; export default parse; diff --git a/node_modules/uuid/dist/esm/rng.d.ts b/node_modules/uuid/dist/esm/rng.d.ts index 1fbb163599..73e60cf348 100644 --- a/node_modules/uuid/dist/esm/rng.d.ts +++ b/node_modules/uuid/dist/esm/rng.d.ts @@ -1 +1 @@ -export default function rng(): Uint8Array; +export default function rng(): Uint8Array; diff --git a/node_modules/uuid/dist/esm/sha1.d.ts b/node_modules/uuid/dist/esm/sha1.d.ts index 8e272a55be..ebb14045a7 100644 --- a/node_modules/uuid/dist/esm/sha1.d.ts +++ b/node_modules/uuid/dist/esm/sha1.d.ts @@ -1,2 +1,4 @@ -declare function sha1(bytes: Uint8Array): Buffer; +/// +/// +declare function sha1(bytes: Uint8Array): Buffer; export default sha1; diff --git a/node_modules/uuid/dist/esm/v35.d.ts b/node_modules/uuid/dist/esm/v35.d.ts index a2c132633f..5d1d06daef 100644 --- a/node_modules/uuid/dist/esm/v35.d.ts +++ b/node_modules/uuid/dist/esm/v35.d.ts @@ -1,7 +1,7 @@ import { UUIDTypes } from './types.js'; -export declare function stringToBytes(str: string): Uint8Array; +export declare function stringToBytes(str: string): Uint8Array; export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; type HashFunction = (bytes: Uint8Array) => Uint8Array; -export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; +export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: Uint8Array, offset?: number): string | Uint8Array; export {}; diff --git a/node_modules/uuid/package.json b/node_modules/uuid/package.json index a7461c0737..d7deaa56ed 100644 --- a/node_modules/uuid/package.json +++ b/node_modules/uuid/package.json @@ -1,6 +1,6 @@ { "name": "uuid", - "version": "11.0.4", + "version": "11.0.5", "description": "RFC9562 UUIDs", "type": "module", "funding": [ @@ -68,7 +68,7 @@ "release-please": "16.15.0", "runmd": "1.4.1", "standard-version": "9.5.0", - "typescript": "5.7.2", + "typescript": "5.0.4", "typescript-eslint": "8.18.2" }, "optionalDevDependencies": { @@ -87,15 +87,17 @@ "docs": "npm run build && npx runmd --output=README.md README_js.md", "eslint:check": "eslint src/ test/ examples/ *.[jt]s", "eslint:fix": "eslint --fix src/ test/ examples/ *.[jt]s", - "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build", - "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build", - "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test", - "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test", - "examples:node:jest:test": "cd examples/node-jest && npm install && npm test", + "examples:browser:rollup:build": "cd examples/browser-rollup && npm run build", + "examples:browser:webpack:build": "cd examples/browser-webpack && npm run build", + "examples:node:commonjs:test": "cd examples/node-commonjs && npm test", + "examples:node:esmodules:test": "cd examples/node-esmodules && npm test", + "examples:node:jest:test": "cd examples/node-jest && npm test", + "examples:node:typescript:test": "cd examples/typescript && npm test", "lint": "npm run eslint:check && npm run prettier:check", "md": "runmd --watch --output=README.md README_js.md", - "prepack": "npm run build", + "prepack": "npm run build -- --no-pack", "prepare": "husky", + "prepublishOnly": "npm run build", "pretest:benchmark": "npm run build", "pretest:browser": "./scripts/iodd && npm run build && npm-run-all --parallel examples:browser:**", "pretest:node": "npm run build", @@ -103,10 +105,9 @@ "prettier:check": "prettier --check .", "prettier:fix": "prettier --write .", "release": "standard-version --no-verify", - "test:benchmark": "cd examples/benchmark && HUSKY=0 npm install && npm test", + "test:benchmark": "cd examples/benchmark && npm test", "test:browser": "wdio run ./wdio.conf.js", "test:node": "npm-run-all --parallel examples:node:**", - "test:pack": "./scripts/testpack.sh", "test:watch": "node --test --enable-source-maps --watch dist/esm/test/*.js", "test": "node --test --enable-source-maps dist/esm/test/*.js" }, From 68b1b4e9ebefe8c5b2993e1fd0eb10e10fc7821c Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 13 Jan 2025 14:28:54 -0800 Subject: [PATCH 041/132] getPullRequestEditedDiffRanges: compute diff ranges --- src/analyze.ts | 85 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 83 insertions(+), 2 deletions(-) diff --git a/src/analyze.ts b/src/analyze.ts index 2c3b714dce..488a9ad05d 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -294,8 +294,19 @@ async function getPullRequestEditedDiffRanges( headLabel: string, logger: Logger, ): Promise { - await getFileDiffsWithBasehead(baseRef, headLabel, logger); - return undefined; + const fileDiffs = await getFileDiffsWithBasehead(baseRef, headLabel, logger); + if (fileDiffs === undefined) { + return undefined; + } + const results: DiffThunkRange[] = []; + for (const filediff of fileDiffs) { + const diffRanges = getDiffRanges(filediff, logger); + if (diffRanges === undefined) { + return undefined; + } + results.push(...diffRanges); + } + return results; } /** @@ -348,6 +359,76 @@ async function getFileDiffsWithBasehead( } } +function getDiffRanges( + fileDiff: FileDiff, + logger: Logger, +): DiffThunkRange[] | undefined { + if (fileDiff.patch === undefined) { + return undefined; + } + + // Diff-informed queries expect the file path to be absolute. CodeQL always + // uses forward slashes as the path separator, so on Windows we need to + // replace any backslashes with forward slashes. + const filename = path + .join(actionsUtil.getRequiredInput("checkout_path"), fileDiff.filename) + .replaceAll(path.sep, "/"); + + // The 1-based file line number of the current line + let currentLine = 0; + // The 1-based file line number that starts the current range of added lines + let additionRangeStartLine: number | undefined = undefined; + const diffRanges: DiffThunkRange[] = []; + + const diffLines = fileDiff.patch.split("\n"); + // Adding a fake context line at the end ensures that the following loop will + // always terminate the last range of added lines. + diffLines.push(" "); + + for (const diffLine of diffLines) { + if (diffLine.startsWith("-")) { + // Ignore deletions completely -- we do not even want to consider them when + // calculating consecutive ranges of added lines. + continue; + } + if (diffLine.startsWith("+")) { + if (additionRangeStartLine === undefined) { + additionRangeStartLine = currentLine; + } + currentLine++; + continue; + } + if (additionRangeStartLine !== undefined) { + // Any line that does not start with a "+" or "-" terminates the current + // range of added lines. + diffRanges.push({ + path: filename, + startLine: additionRangeStartLine, + endLine: currentLine - 1, + }); + additionRangeStartLine = undefined; + } + if (diffLine.startsWith("@@ ")) { + // A new hunk header line resets the current line number. + const match = diffLine.match(/^@@ -\d+(?:,\d+)? \+(\d+)(?:,\d+)? @@/); + if (match === null) { + logger.warning( + `Cannot parse diff hunk header for ${fileDiff.filename}: ${diffLine}`, + ); + return undefined; + } + currentLine = parseInt(match[1], 10); + continue; + } + if (diffLine.startsWith(" ")) { + // An unchanged context line advances the current line number. + currentLine++; + continue; + } + } + return diffRanges; +} + /** * Create an extension pack in the temporary directory that contains the file * line ranges that were added or modified in the pull request. From 63d1f4f8a22a2a3f57e2bcdc94e4b61a02884c27 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 13 Jan 2025 08:03:34 -0800 Subject: [PATCH 042/132] getPullRequestEditedDiffRanges: check the number of changed files --- src/analyze.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/analyze.ts b/src/analyze.ts index 488a9ad05d..9563bf976e 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -298,6 +298,17 @@ async function getPullRequestEditedDiffRanges( if (fileDiffs === undefined) { return undefined; } + if (fileDiffs.length >= 300) { + // The "compare two commits" API returns a maximum of 300 changed files. If + // we see that many changed files, it is possible that there could be more, + // with the rest being truncated. In this case, we should not attempt to + // compute the diff ranges, as the result would be incomplete. + logger.warning( + `Cannot retrieve the full diff because there are too many ` + + `(${fileDiffs.length}) changed files in the pull request.`, + ); + return undefined; + } const results: DiffThunkRange[] = []; for (const filediff of fileDiffs) { const diffRanges = getDiffRanges(filediff, logger); From d4c56bbb3164ea1d89016f186c62e78165624878 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Thu, 9 Jan 2025 12:47:57 -0800 Subject: [PATCH 043/132] getDiffRanges: improve handling for missing patch --- src/analyze.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/analyze.ts b/src/analyze.ts index 9563bf976e..c90138b0e9 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -375,6 +375,20 @@ function getDiffRanges( logger: Logger, ): DiffThunkRange[] | undefined { if (fileDiff.patch === undefined) { + if (fileDiff.changes === 0) { + // There are situations where a changed file legitimately has no diff. + // For example, the file may be a binary file, or that the file may have + // been renamed with no changes to its contents. In these cases, the + // file would be reported as having 0 changes, and we can return an empty + // array to indicate no diff range in this file. + return []; + } + // If a file is reported to have nonzero changes but no patch, that may be + // due to the file diff being too large. In this case, we should return + // undefined to indicate that we cannot process the diff. + logger.warning( + `No patch found for file ${fileDiff.filename} with ${fileDiff.changes} changes.`, + ); return undefined; } From 784896750fa652cd83a12662bba3924b2e649e60 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 13 Jan 2025 11:45:55 -0800 Subject: [PATCH 044/132] getDiffRanges: add unit tests --- src/analyze.test.ts | 190 +++++++++++++++++++++++++++++++++++++++++++- src/analyze.ts | 4 + 2 files changed, 193 insertions(+), 1 deletion(-) diff --git a/src/analyze.test.ts b/src/analyze.test.ts index 6c7fd3212c..8745c1f38c 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -4,7 +4,8 @@ import * as path from "path"; import test from "ava"; import * as sinon from "sinon"; -import { runQueries } from "./analyze"; +import * as actionsUtil from "./actions-util"; +import { exportedForTesting, runQueries } from "./analyze"; import { setCodeQL } from "./codeql"; import { Feature } from "./feature-flags"; import { Language } from "./languages"; @@ -119,3 +120,190 @@ test("status report fields", async (t) => { } }); }); + +function runGetDiffRanges(changes: number, patch: string[] | undefined): any { + sinon + .stub(actionsUtil, "getRequiredInput") + .withArgs("checkout_path") + .returns("/checkout/path"); + return exportedForTesting.getDiffRanges( + { + filename: "test.txt", + changes, + patch: patch?.join("\n"), + }, + getRunnerLogger(true), + ); +} + +test("getDiffRanges: file unchanged", async (t) => { + const diffRanges = runGetDiffRanges(0, undefined); + t.deepEqual(diffRanges, []); +}); + +test("getDiffRanges: file diff too large", async (t) => { + const diffRanges = runGetDiffRanges(1000000, undefined); + t.deepEqual(diffRanges, undefined); +}); + +test("getDiffRanges: diff thunk with single addition range", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,6 +50,8 @@", + " a", + " b", + " c", + "+1", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 54, + }, + ]); +}); + +test("getDiffRanges: diff thunk with single deletion range", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,8 +50,6 @@", + " a", + " b", + " c", + "-1", + "-2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, []); +}); + +test("getDiffRanges: diff thunk with single update range", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,7 +50,7 @@", + " a", + " b", + " c", + "-1", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 53, + }, + ]); +}); + +test("getDiffRanges: diff thunk with addition ranges", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,7 +50,9 @@", + " a", + " b", + " c", + "+1", + " c", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 53, + }, + { + path: "/checkout/path/test.txt", + startLine: 55, + endLine: 55, + }, + ]); +}); + +test("getDiffRanges: diff thunk with mixed ranges", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,7 +50,7 @@", + " a", + " b", + " c", + "-1", + " d", + "-2", + "+3", + " e", + " f", + "+4", + "+5", + " g", + " h", + " i", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 54, + endLine: 54, + }, + { + path: "/checkout/path/test.txt", + startLine: 57, + endLine: 58, + }, + ]); +}); + +test("getDiffRanges: multiple diff thunks", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,6 +50,8 @@", + " a", + " b", + " c", + "+1", + "+2", + " d", + " e", + " f", + "@@ -130,6 +150,8 @@", + " a", + " b", + " c", + "+1", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 54, + }, + { + path: "/checkout/path/test.txt", + startLine: 153, + endLine: 154, + }, + ]); +}); + +test("getDiffRanges: no diff context lines", async (t) => { + const diffRanges = runGetDiffRanges(2, ["@@ -30 +50,2 @@", "+1", "+2"]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 50, + endLine: 51, + }, + ]); +}); diff --git a/src/analyze.ts b/src/analyze.ts index c90138b0e9..184ed247d5 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -764,3 +764,7 @@ export async function runCleanup( } logger.endGroup(); } + +export const exportedForTesting = { + getDiffRanges, +}; From 52315a9f7dbabdcb518ba45689722c7426f40804 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Thu, 9 Jan 2025 14:16:37 -0800 Subject: [PATCH 045/132] setupDiffInformedQueryRun: log setup failure --- src/analyze.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/analyze.ts b/src/analyze.ts index 184ed247d5..f0ec8c6add 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -266,7 +266,18 @@ export async function setupDiffInformedQueryRun( headLabel, logger, ); - return writeDiffRangeDataExtensionPack(logger, diffRanges); + const packDir = writeDiffRangeDataExtensionPack(logger, diffRanges); + if (packDir === undefined) { + logger.warning( + "Cannot create diff range extension pack for diff-informed queries; " + + "reverting to performing full analysis.", + ); + } else { + logger.info( + `Successfully created diff range extension pack at ${packDir}.`, + ); + } + return packDir; }, ); } From 3548ff54b5e54db237049bac959e13f48db15a76 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Fri, 10 Jan 2025 13:57:50 -0800 Subject: [PATCH 046/132] writeDiffRangeDataExtensionPack: escape special characters in filenames --- src/analyze.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/analyze.ts b/src/analyze.ts index f0ec8c6add..52ae26aa05 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -512,7 +512,11 @@ extensions: let data = ranges .map( (range) => - ` - ["${range.path}", ${range.startLine}, ${range.endLine}]\n`, + // Using yaml.dump() with `forceQuotes: true` ensures that all special + // characters are escaped, and that the path is always rendered as a + // quoted string on a single line. + ` - [${yaml.dump(range.path, { forceQuotes: true }).trim()}, ` + + `${range.startLine}, ${range.endLine}]\n`, ) .join(""); if (!data) { From ae19466961685ea8358129043b2dc0af0597269b Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 13 Jan 2025 14:29:39 -0800 Subject: [PATCH 047/132] build: refresh js files --- lib/analyze-action.js | 2 +- lib/analyze-action.js.map | 2 +- lib/analyze.js | 220 +++++++++++++++++++++++--------------- lib/analyze.js.map | 2 +- lib/analyze.test.js | 175 ++++++++++++++++++++++++++++++ lib/analyze.test.js.map | 2 +- 6 files changed, 315 insertions(+), 88 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 738097218f..350d0530cc 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -188,7 +188,7 @@ async function run() { const memory = util.getMemoryFlag(actionsUtil.getOptionalInput("ram") || process.env["CODEQL_RAM"], logger); const pull_request = github.context.payload.pull_request; const diffRangePackDir = pull_request && - (await (0, analyze_1.setupDiffInformedQueryRun)(pull_request.base.ref, pull_request.head.ref, codeql, logger, features)); + (await (0, analyze_1.setupDiffInformedQueryRun)(pull_request.base.ref, pull_request.head.label, codeql, logger, features)); await (0, analyze_1.warnIfGoInstalledAfterInit)(config, logger); await runAutobuildIfLegacyGoWorkflow(config, logger); dbCreationTimings = await (0, analyze_1.runFinalize)(outputDir, threads, memory, codeql, config, logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index a270cfee8c..7aa46488dd 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,2CAAyC;AAEzC,oDAAsC;AACtC,wDAA0C;AAE1C,4DAA8C;AAC9C,uCASmB;AACnB,6CAA+D;AAC/D,2CAA2C;AAC3C,mDAAsE;AACtE,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,6DAA8D;AAC9D,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mDAMyB;AACzB,iDAIwB;AACxB,wDAA0C;AAE1C,6CAA+B;AAkB/B,KAAK,UAAU,gBAAgB,CAC7B,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,gBAA0D,EAC1D,MAAc;IAEd,MAAM,MAAM,GAAG,IAAA,gCAAgB,EAAC,KAAK,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAAC;IACxE,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,OAAO,EAClB,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EACjC,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,MAAM,GAAuB;YACjC,GAAG,gBAAgB;YACnB,GAAG,CAAC,KAAK,IAAI,EAAE,C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ACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,kBAAU,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,0BAA0B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,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,2CAAyC;AAEzC,oDAAsC;AACtC,wDAA0C;AAE1C,4DAA8C;AAC9C,uCASmB;AACnB,6CAA+D;AAC/D,2CAA2C;AAC3C,mDAAsE;AACtE,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,6DAA8D;AAC9D,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mDAMyB;AACzB,iDAIwB;AACxB,wDAA0C;AAE1C,6CAA+B;AAkB/B,KAAK,UAAU,gBAAgB,CAC7B,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,gBAA0D,EAC1D,MAAc;IAEd,MAAM,MAAM,GAAG,IAAA,gC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,IAAI,QAAQ,IAAI,YAAY,EAAE,CAAC;QAC7B,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,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,EAAE,CAAC;QACpB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,kBAAU,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,0BAA0B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/analyze.js b/lib/analyze.js index e6bf71d0bd..8d57b9e7af 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.CodeQLAnalysisError = void 0; +exports.exportedForTesting = exports.CodeQLAnalysisError = void 0; exports.runExtraction = runExtraction; exports.dbIsFinalized = dbIsFinalized; exports.setupDiffInformedQueryRun = setupDiffInformedQueryRun; @@ -51,12 +51,12 @@ const io = __importStar(require("@actions/io")); const del_1 = __importDefault(require("del")); const yaml = __importStar(require("js-yaml")); const actionsUtil = __importStar(require("./actions-util")); +const api_client_1 = require("./api-client"); const autobuild_1 = require("./autobuild"); const codeql_1 = require("./codeql"); const diagnostics_1 = require("./diagnostics"); const environment_1 = require("./environment"); const feature_flags_1 = require("./feature-flags"); -const gitUtils = __importStar(require("./git-utils")); const languages_1 = require("./languages"); const logging_1 = require("./logging"); const tools_features_1 = require("./tools-features"); @@ -152,123 +152,167 @@ async function finalizeDatabaseCreation(codeql, config, threadsFlag, memoryFlag, * Set up the diff-informed analysis feature. * * @param baseRef The base branch name, used for calculating the diff range. - * @param headRef The head branch name, used for calculating the diff range. + * @param headLabel The label that uniquely identifies the head branch across + * repositories, used for calculating the diff range. * @param codeql * @param logger * @param features * @returns Absolute path to the directory containing the extension pack for * the diff range information, or `undefined` if the feature is disabled. */ -async function setupDiffInformedQueryRun(baseRef, headRef, codeql, logger, features) { +async function setupDiffInformedQueryRun(baseRef, headLabel, codeql, logger, features) { if (!(await features.getValue(feature_flags_1.Feature.DiffInformedQueries, codeql))) { return undefined; } return await (0, logging_1.withGroupAsync)("Generating diff range extension pack", async () => { - const diffRanges = await getPullRequestEditedDiffRanges(baseRef, headRef, logger); - return writeDiffRangeDataExtensionPack(logger, diffRanges); + const diffRanges = await getPullRequestEditedDiffRanges(baseRef, headLabel, logger); + const packDir = writeDiffRangeDataExtensionPack(logger, diffRanges); + if (packDir === undefined) { + logger.warning("Cannot create diff range extension pack for diff-informed queries; " + + "reverting to performing full analysis."); + } + else { + logger.info(`Successfully created diff range extension pack at ${packDir}.`); + } + return packDir; }); } /** * Return the file line ranges that were added or modified in the pull request. * * @param baseRef The base branch name, used for calculating the diff range. - * @param headRef The head branch name, used for calculating the diff range. + * @param headLabel The label that uniquely identifies the head branch across + * repositories, used for calculating the diff range. * @param logger * @returns An array of tuples, where each tuple contains the absolute path of a * file, the start line and the end line (both 1-based and inclusive) of an * added or modified range in that file. Returns `undefined` if the action was * not triggered by a pull request or if there was an error. */ -async function getPullRequestEditedDiffRanges(baseRef, headRef, logger) { - const checkoutPath = actionsUtil.getOptionalInput("checkout_path"); - if (checkoutPath === undefined) { +async function getPullRequestEditedDiffRanges(baseRef, headLabel, logger) { + const fileDiffs = await getFileDiffsWithBasehead(baseRef, headLabel, logger); + if (fileDiffs === undefined) { return undefined; } - // To compute the merge bases between the base branch and the PR topic branch, - // we need to fetch the commit graph from the branch heads to those merge - // babes. The following 6-step procedure does so while limiting the amount of - // history fetched. - // Step 1: Deepen from the PR merge commit to the base branch head and the PR - // topic branch head, so that the PR merge commit is no longer considered a - // grafted commit. - await gitUtils.deepenGitHistory(); - // Step 2: Fetch the base branch shallow history. This step ensures that the - // base branch name is present in the local repository. Normally the base - // branch name would be added by Step 4. However, if the base branch head is - // an ancestor of the PR topic branch head, Step 4 would fail without doing - // anything, so we need to fetch the base branch explicitly. - await gitUtils.gitFetch(baseRef, ["--depth=1"]); - // Step 3: Fetch the PR topic branch history, stopping when we reach commits - // that are reachable from the base branch head. - await gitUtils.gitFetch(headRef, [`--shallow-exclude=${baseRef}`]); - // Step 4: Fetch the base branch history, stopping when we reach commits that - // are reachable from the PR topic branch head. - await gitUtils.gitFetch(baseRef, [`--shallow-exclude=${headRef}`]); - // Step 5: Repack the history to remove the shallow grafts that were added by - // the previous fetches. This step works around a bug that causes subsequent - // deepening fetches to fail with "fatal: error in object: unshallow ". - // See https://stackoverflow.com/q/63878612 - await gitUtils.gitRepack(["-d"]); - // Step 6: Deepen the history so that we have the merge bases between the base - // branch and the PR topic branch. - await gitUtils.deepenGitHistory(); - // To compute the exact same diff as GitHub would compute for the PR, we need - // to use the same merge base as GitHub. That is easy to do if there is only - // one merge base, which is by far the most common case. If there are multiple - // merge bases, we stop without producing a diff range. - const mergeBases = await gitUtils.getAllGitMergeBases([baseRef, headRef]); - logger.info(`Merge bases: ${mergeBases.join(", ")}`); - if (mergeBases.length !== 1) { - logger.info("Cannot compute diff range because baseRef and headRef " + - `have ${mergeBases.length} merge bases (instead of exactly 1).`); + if (fileDiffs.length >= 300) { + // The "compare two commits" API returns a maximum of 300 changed files. If + // we see that many changed files, it is possible that there could be more, + // with the rest being truncated. In this case, we should not attempt to + // compute the diff ranges, as the result would be incomplete. + logger.warning(`Cannot retrieve the full diff because there are too many ` + + `(${fileDiffs.length}) changed files in the pull request.`); return undefined; } - const diffHunkHeaders = await gitUtils.getGitDiffHunkHeaders(mergeBases[0], headRef); - if (diffHunkHeaders === undefined) { + const results = []; + for (const filediff of fileDiffs) { + const diffRanges = getDiffRanges(filediff, logger); + if (diffRanges === undefined) { + return undefined; + } + results.push(...diffRanges); + } + return results; +} +async function getFileDiffsWithBasehead(baseRef, headLabel, logger) { + const ownerRepo = util.getRequiredEnvParam("GITHUB_REPOSITORY").split("/"); + const owner = ownerRepo[0]; + const repo = ownerRepo[1]; + const basehead = `${baseRef}...${headLabel}`; + try { + const response = await (0, api_client_1.getApiClient)().rest.repos.compareCommitsWithBasehead({ + owner, + repo, + basehead, + per_page: 1, + }); + logger.debug(`Response from compareCommitsWithBasehead(${basehead}):` + + `\n${JSON.stringify(response, null, 2)}`); + return response.data.files; + } + catch (error) { + if (error.status) { + logger.warning(`Error retrieving diff ${basehead}: ${error.message}`); + logger.debug(`Error running compareCommitsWithBasehead(${basehead}):` + + `\nRequest: ${JSON.stringify(error.request, null, 2)}` + + `\nError Response: ${JSON.stringify(error.response, null, 2)}`); + return undefined; + } + else { + throw error; + } + } +} +function getDiffRanges(fileDiff, logger) { + if (fileDiff.patch === undefined) { + if (fileDiff.changes === 0) { + // There are situations where a changed file legitimately has no diff. + // For example, the file may be a binary file, or that the file may have + // been renamed with no changes to its contents. In these cases, the + // file would be reported as having 0 changes, and we can return an empty + // array to indicate no diff range in this file. + return []; + } + // If a file is reported to have nonzero changes but no patch, that may be + // due to the file diff being too large. In this case, we should return + // undefined to indicate that we cannot process the diff. + logger.warning(`No patch found for file ${fileDiff.filename} with ${fileDiff.changes} changes.`); return undefined; } - const results = new Array(); - let changedFile = ""; - for (const line of diffHunkHeaders) { - if (line.startsWith("+++ ")) { - const filePath = gitUtils.decodeGitFilePath(line.substring(4)); - if (filePath.startsWith("b/")) { - // The file was edited: track all hunks in the file - changedFile = filePath.substring(2); - } - else if (filePath === "/dev/null") { - // The file was deleted: skip all hunks in the file - changedFile = ""; - } - else { - logger.warning(`Failed to parse diff hunk header line: ${line}`); - return undefined; + // Diff-informed queries expect the file path to be absolute. CodeQL always + // uses forward slashes as the path separator, so on Windows we need to + // replace any backslashes with forward slashes. + const filename = path + .join(actionsUtil.getRequiredInput("checkout_path"), fileDiff.filename) + .replaceAll(path.sep, "/"); + // The 1-based file line number of the current line + let currentLine = 0; + // The 1-based file line number that starts the current range of added lines + let additionRangeStartLine = undefined; + const diffRanges = []; + const diffLines = fileDiff.patch.split("\n"); + // Adding a fake context line at the end ensures that the following loop will + // always terminate the last range of added lines. + diffLines.push(" "); + for (const diffLine of diffLines) { + if (diffLine.startsWith("-")) { + // Ignore deletions completely -- we do not even want to consider them when + // calculating consecutive ranges of added lines. + continue; + } + if (diffLine.startsWith("+")) { + if (additionRangeStartLine === undefined) { + additionRangeStartLine = currentLine; } + currentLine++; continue; } - if (line.startsWith("@@ ")) { - if (changedFile === "") - continue; - const match = line.match(/^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@/); + if (additionRangeStartLine !== undefined) { + // Any line that does not start with a "+" or "-" terminates the current + // range of added lines. + diffRanges.push({ + path: filename, + startLine: additionRangeStartLine, + endLine: currentLine - 1, + }); + additionRangeStartLine = undefined; + } + if (diffLine.startsWith("@@ ")) { + // A new hunk header line resets the current line number. + const match = diffLine.match(/^@@ -\d+(?:,\d+)? \+(\d+)(?:,\d+)? @@/); if (match === null) { - logger.warning(`Failed to parse diff hunk header line: ${line}`); + logger.warning(`Cannot parse diff hunk header for ${fileDiff.filename}: ${diffLine}`); return undefined; } - const startLine = parseInt(match[1], 10); - const numLines = parseInt(match[2], 10); - if (numLines === 0) { - // The hunk was a deletion: skip it - continue; - } - const endLine = startLine + (numLines || 1) - 1; - results.push({ - path: path.join(checkoutPath, changedFile), - startLine, - endLine, - }); + currentLine = parseInt(match[1], 10); + continue; + } + if (diffLine.startsWith(" ")) { + // An unchanged context line advances the current line number. + currentLine++; + continue; } } - return results; + return diffRanges; } /** * Create an extension pack in the temporary directory that contains the file @@ -303,7 +347,12 @@ extensions: data: `; let data = ranges - .map((range) => ` - ["${range.path}", ${range.startLine}, ${range.endLine}]\n`) + .map((range) => + // Using yaml.dump() with `forceQuotes: true` ensures that all special + // characters are escaped, and that the path is always rendered as a + // quoted string on a single line. + ` - [${yaml.dump(range.path, { forceQuotes: true }).trim()}, ` + + `${range.startLine}, ${range.endLine}]\n`) .join(""); if (!data) { // Ensure that the data extension is not empty, so that a pull request with @@ -461,4 +510,7 @@ async function runCleanup(config, cleanupLevel, logger) { } logger.endGroup(); } +exports.exportedForTesting = { + getDiffRanges, +}; //# sourceMappingURL=analyze.js.map \ No newline at end of file diff --git a/lib/analyze.js.map b/lib/analyze.js.map index b03f44a01a..81173fe23e 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsIA,sCAmCC;AAcD,sCAiBC;AAiDD,8DAqBC;AA+LD,gCAuJC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AA/rBD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,gDAAkC;AAClC,8CAAsB;AACtB,8CAAgC;AAEhC,4DAA8C;AAC9C,2CAAgD;AAChD,qCAIkB;AAElB,+CAA8D;AAC9D,+CAAuC;AAC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ACf,eAAe,EAAE,IAAI;iBACtB;gBACD,QAAQ,EAAE,SAAS;aACpB,CACF,CACF,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AAEM,KAAK,UAAU,UAAU,CAC9B,MAA0B,EAC1B,YAAoB,EACpB,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAC3C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAClE,MAAM,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAEY,QAAA,kBAAkB,GAAG;IAChC,aAAa;CACd,CAAC"} \ No newline at end of file diff --git a/lib/analyze.test.js b/lib/analyze.test.js index 1db8afa75d..abc9297810 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -40,6 +40,7 @@ const fs = __importStar(require("fs")); const path = __importStar(require("path")); const ava_1 = __importDefault(require("ava")); const sinon = __importStar(require("sinon")); +const actionsUtil = __importStar(require("./actions-util")); const analyze_1 = require("./analyze"); const codeql_1 = require("./codeql"); const feature_flags_1 = require("./feature-flags"); @@ -127,4 +128,178 @@ const util = __importStar(require("./util")); } }); }); +function runGetDiffRanges(changes, patch) { + sinon + .stub(actionsUtil, "getRequiredInput") + .withArgs("checkout_path") + .returns("/checkout/path"); + return analyze_1.exportedForTesting.getDiffRanges({ + filename: "test.txt", + changes, + patch: patch?.join("\n"), + }, (0, logging_1.getRunnerLogger)(true)); +} +(0, ava_1.default)("getDiffRanges: file unchanged", async (t) => { + const diffRanges = runGetDiffRanges(0, undefined); + t.deepEqual(diffRanges, []); +}); +(0, ava_1.default)("getDiffRanges: file diff too large", async (t) => { + const diffRanges = runGetDiffRanges(1000000, undefined); + t.deepEqual(diffRanges, undefined); +}); +(0, ava_1.default)("getDiffRanges: diff thunk with single addition range", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,6 +50,8 @@", + " a", + " b", + " c", + "+1", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 54, + }, + ]); +}); +(0, ava_1.default)("getDiffRanges: diff thunk with single deletion range", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,8 +50,6 @@", + " a", + " b", + " c", + "-1", + "-2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, []); +}); +(0, ava_1.default)("getDiffRanges: diff thunk with single update range", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,7 +50,7 @@", + " a", + " b", + " c", + "-1", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 53, + }, + ]); +}); +(0, ava_1.default)("getDiffRanges: diff thunk with addition ranges", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,7 +50,9 @@", + " a", + " b", + " c", + "+1", + " c", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 53, + }, + { + path: "/checkout/path/test.txt", + startLine: 55, + endLine: 55, + }, + ]); +}); +(0, ava_1.default)("getDiffRanges: diff thunk with mixed ranges", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,7 +50,7 @@", + " a", + " b", + " c", + "-1", + " d", + "-2", + "+3", + " e", + " f", + "+4", + "+5", + " g", + " h", + " i", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 54, + endLine: 54, + }, + { + path: "/checkout/path/test.txt", + startLine: 57, + endLine: 58, + }, + ]); +}); +(0, ava_1.default)("getDiffRanges: multiple diff thunks", async (t) => { + const diffRanges = runGetDiffRanges(2, [ + "@@ -30,6 +50,8 @@", + " a", + " b", + " c", + "+1", + "+2", + " d", + " e", + " f", + "@@ -130,6 +150,8 @@", + " a", + " b", + " c", + "+1", + "+2", + " d", + " e", + " f", + ]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 53, + endLine: 54, + }, + { + path: "/checkout/path/test.txt", + startLine: 153, + endLine: 154, + }, + ]); +}); +(0, ava_1.default)("getDiffRanges: no diff context lines", async (t) => { + const diffRanges = runGetDiffRanges(2, ["@@ -30 +50,2 @@", "+1", "+2"]); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 50, + endLine: 51, + }, + ]); +}); //# 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 7a14568785..6601807eb0 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,8CAAuB;AACvB,6CAA+B;AAE/B,uCAAuC;AACvC,qCAAqC;AACrC,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,mDAKyB;AACzB,wDAA0C;AAC1C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB;;;;;GAKG;AACH,IAAA,aAAI,EAAC,sBAAsB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvC,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,MAA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,CAAC,CAAC;YACH,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE;gBACzD,SAAS,EAAE,IAAI;aAChB,CAAC,CAAC;YAEH,MAAM,YAAY,GAAG,MAAM,IAAA,oBAAU,EACnC,MAAM,EACN,UAAU,EACV,eAAe,EACf,WAAW,EACX,SAAS,EACT,SAAS,EACT,MAAM,EACN,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,IAAA,8BAAc,EAAC,CAAC,uBAAO,CAAC,kBAAkB,CAAC,CAAC,CAC7C,CAAC;YACF,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE,EAAE;gBAC5C,2BAA2B,QAAQ,cAAc;gBACjD,eAAe;gBACf,qBAAqB,QAAQ,cAAc;aAC5C,CAAC,CAAC;YACH,KAAK,MAAM,WAAW,IAAI,YAAY,CAAC,aAAc,EAAE,CAAC;gBACtD,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,mCAAmC,CAAC,CAAC;gBACpE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,WAAW,CAAC,CAAC;gBACpC,CAAC,CAAC,IAAI,CAAC,aAAa,IAAI,WAAW,CAAC,UAAW,CAAC,CAAC;YACnD,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA2D;AAC3D,qCAAqC;AACrC,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,mDAKyB;AACzB,wDAA0C;AAC1C,6CAA+B;AAE/B,IAAA,0BA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gBAAgB,CAAC,CAAC,EAAE,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;IACxE,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE;QACtB;YACE,IAAI,EAAE,yBAAyB;YAC/B,SAAS,EAAE,EAAE;YACb,OAAO,EAAE,EAAE;SACZ;KACF,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file From 31d11b19a035018673058326efbaa22fe3b8dc40 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Tue, 14 Jan 2025 14:20:23 +0000 Subject: [PATCH 048/132] Use Language type --- lib/languages.js | 2 ++ lib/languages.js.map | 2 +- lib/start-proxy-action.js | 19 ++++++++++++++++--- lib/start-proxy-action.js.map | 2 +- src/languages.ts | 2 ++ src/start-proxy-action.ts | 21 +++++++++++++++++---- 6 files changed, 39 insertions(+), 9 deletions(-) diff --git a/lib/languages.js b/lib/languages.js index 449d280412..9c93689f31 100644 --- a/lib/languages.js +++ b/lib/languages.js @@ -25,6 +25,8 @@ exports.LANGUAGE_ALIASES = { "c#": Language.csharp, kotlin: Language.java, typescript: Language.javascript, + "javascript-typescript": Language.javascript, + "java-kotlin": Language.java, }; /** * Translate from user input or GitHub's API names for languages to CodeQL's diff --git a/lib/languages.js.map b/lib/languages.js.map index e2d6a156eb..b2fcb525c9 100644 --- a/lib/languages.js.map +++ b/lib/languages.js.map @@ -1 +1 @@ -{"version":3,"file":"languages.js","sourceRoot":"","sources":["../src/languages.ts"],"names":[],"mappings":";;;AAgCA,sCAgBC;AAED,4CAQC;AAED,8CAEC;AA9DD,wCAAwC;AACxC,IAAY,QAWX;AAXD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,qBAAS,CAAA;IACT,yBAAa,CAAA;IACb,qCAAyB,CAAA;IACzB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,2BAAe,CAAA;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at end of file diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 2083b6bf34..6a2030ea9d 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -39,6 +39,7 @@ const core = __importStar(require("@actions/core")); const toolcache = __importStar(require("@actions/tool-cache")); const node_forge_1 = require("node-forge"); const actionsUtil = __importStar(require("./actions-util")); +const languages_1 = require("./languages"); const logging_1 = require("./logging"); const util = __importStar(require("./util")); const UPDATEJOB_PROXY = "update-job-proxy"; @@ -48,9 +49,17 @@ const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; const LANGUAGE_TO_REGISTRY_TYPE = { - "java-kotlin": "maven_repository", java: "maven_repository", csharp: "nuget_feed", + javascript: "npm_registry", + python: "python_index", + ruby: "rubygems_server", + rust: "cargo_registry", + // We do not have an established proxy type for these languages, thus leaving empty. + actions: "", + cpp: "", + go: "", + swift: "", }; const CERT_SUBJECT = [ { @@ -175,7 +184,11 @@ async function startProxy(binPath, config, logFilePath, logger) { function getCredentials(logger) { const registriesCredentials = actionsUtil.getOptionalInput("registries_credentials"); const registrySecrets = actionsUtil.getOptionalInput("registry_secrets"); - const language = actionsUtil.getOptionalInput("language"); + const languageString = actionsUtil.getOptionalInput("language"); + const language = languageString ? (0, languages_1.parseLanguage)(languageString) : undefined; + const registryTypeForLanguage = language + ? LANGUAGE_TO_REGISTRY_TYPE[language] + : undefined; let credentialsStr; if (registriesCredentials !== undefined) { logger.info(`Using registries_credentials input.`); @@ -198,7 +211,7 @@ function getCredentials(logger) { } // Filter credentials based on language if specified. `type` is the registry type. // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. - if (language && LANGUAGE_TO_REGISTRY_TYPE[language] !== e.type) { + if (e.type !== registryTypeForLanguage) { continue; } out.push({ diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index cd91fbacd9..5e4bbc8f79 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B,MAAM,yBAAyB,GAAG;IAChC,aAAa,EAAE,kBAAkB;IACjC,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,YAAY;CACZ,CAAC;AA2BX,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,eAAe;KACvB;CACF,CAAC;AAEF,SAAS,4BAA4B;IACnC,MAAM,IAAI,GAAG,gBAAG,CAAC,GAAG,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,IAAI,GAAG,gBAAG,CAAC,iBAAiB,EAAE,CAAC;IACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IAChC,IAAI,CAAC,YAAY,GAAG,I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AC,CAAC,OAAO;YACT,CAAC,CAAC,SAAS,CAAC;IAClB,MAAM,YAAY,GAAG,GAAG,eAAe,IAAI,QAAQ,SAAS,CAAC;IAC7D,MAAM,QAAQ,GAAG,GAAG,0BAA0B,GAAG,YAAY,EAAE,CAAC;IAEhE,IAAI,QAAQ,GAAG,SAAS,CAAC,IAAI,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;IACtE,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QACpD,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACnD,QAAQ,GAAG,MAAM,SAAS,CAAC,QAAQ,CACjC,SAAS,EACT,aAAa,EACb,uBAAuB,CACxB,CAAC;IACJ,CAAC;IACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,eAAe,CAAC,CAAa;IACpC,OAAO,SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/languages.ts b/src/languages.ts index e2ac61455c..e25e87fa5b 100644 --- a/src/languages.ts +++ b/src/languages.ts @@ -19,6 +19,8 @@ export const LANGUAGE_ALIASES: { [lang: string]: Language } = { "c#": Language.csharp, kotlin: Language.java, typescript: Language.javascript, + "javascript-typescript": Language.javascript, + "java-kotlin": Language.java, }; /** diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 8c2c8d7d5b..0cbfcf7173 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -6,6 +6,7 @@ import * as toolcache from "@actions/tool-cache"; import { pki } from "node-forge"; import * as actionsUtil from "./actions-util"; +import { Language, parseLanguage } from "./languages"; import { getActionsLogger, Logger } from "./logging"; import * as util from "./util"; @@ -17,10 +18,18 @@ const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; -const LANGUAGE_TO_REGISTRY_TYPE = { - "java-kotlin": "maven_repository", +const LANGUAGE_TO_REGISTRY_TYPE: Record = { java: "maven_repository", csharp: "nuget_feed", + javascript: "npm_registry", + python: "python_index", + ruby: "rubygems_server", + rust: "cargo_registry", + // We do not have an established proxy type for these languages, thus leaving empty. + actions: "", + cpp: "", + go: "", + swift: "", } as const; type CertificateAuthority = { @@ -198,7 +207,11 @@ function getCredentials(logger: Logger): Credential[] { "registries_credentials", ); const registrySecrets = actionsUtil.getOptionalInput("registry_secrets"); - const language = actionsUtil.getOptionalInput("language"); + const languageString = actionsUtil.getOptionalInput("language"); + const language = languageString ? parseLanguage(languageString) : undefined; + const registryTypeForLanguage = language + ? LANGUAGE_TO_REGISTRY_TYPE[language] + : undefined; let credentialsStr: string; if (registriesCredentials !== undefined) { @@ -222,7 +235,7 @@ function getCredentials(logger: Logger): Credential[] { // Filter credentials based on language if specified. `type` is the registry type. // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. - if (language && LANGUAGE_TO_REGISTRY_TYPE[language] !== e.type) { + if (e.type !== registryTypeForLanguage) { continue; } From 02dfacf1c15fe7bfff8802f228ae11eadf786379 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 15 Jan 2025 13:57:15 +0000 Subject: [PATCH 049/132] Fix linting errors --- lib/init-action-post-helper.test.js | 6 +++--- lib/init-action-post-helper.test.js.map | 2 +- src/init-action-post-helper.test.ts | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/init-action-post-helper.test.js b/lib/init-action-post-helper.test.js index 80bbfd3e6c..2e5f433c6e 100644 --- a/lib/init-action-post-helper.test.js +++ b/lib/init-action-post-helper.test.js @@ -343,12 +343,12 @@ async function testFailedSarifUpload(t, actionsWorkflow, { category, databaseExi zipped_upload_size_bytes: 10, }); if (databaseExists && exportDiagnosticsEnabled) { - t.true(databaseExportDiagnosticsStub.calledOnceWith(config.dbLocation, sinon.match.string, category), `Actual args were: ${databaseExportDiagnosticsStub.args}`); + t.true(databaseExportDiagnosticsStub.calledOnceWith(config.dbLocation, sinon.match.string, category), `Actual args were: ${JSON.stringify(databaseExportDiagnosticsStub.args)}`); } else { - t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config), `Actual args were: ${diagnosticsExportStub.args}`); + t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config), `Actual args were: ${JSON.stringify(diagnosticsExportStub.args)}`); } - t.true(uploadFiles.calledOnceWith(sinon.match.string, sinon.match.string, category, sinon.match.any, sinon.match.any), `Actual args were: ${uploadFiles.args}`); + t.true(uploadFiles.calledOnceWith(sinon.match.string, sinon.match.string, category, sinon.match.any, sinon.match.any), `Actual args were: ${JSON.stringify(uploadFiles.args)}`); t.true(waitForProcessing.calledOnceWith(sinon.match.any, "42", sinon.match.any, { isUnsuccessfulExecution: true, })); diff --git a/lib/init-action-post-helper.test.js.map b/lib/init-action-post-helper.test.js.map index ec1b213f6e..02635c1e56 100644 --- a/lib/init-action-post-helper.test.js.map +++ b/lib/init-action-post-helper.test.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action-post-helper.test.js","sourceRoot":"","sources":["../src/init-action-post-helper.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA6C;AAC7C,6CAA+B;AAE/B,4DAA8C;AAC9C,iDAAmC;AACnC,4DAA8C;AAC9C,mDAA0C;AAC1C,gFAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAKyB;AACzB,wDAA0C;AAC1C,6CAA+B;AAC/B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AuB,EAAE,IAAI;SAC9B,CAAC,CACH,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAC9B,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACtC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action-post-helper.test.js","sourceRoot":"","sources":["../src/init-action-post-helper.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA6C;AAC7C,6CAA+B;AAE/B,4DAA8C;AAC9C,iDAAmC;AACnC,4DAA8C;AAC9C,mDAA0C;AAC1C,gFAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAKyB;AACzB,wDAA0C;AAC1C,6CAA+B;AAC/B,qDAAuC;AAEvC,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,uCAAuC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACxD,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAC5C,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,sCAAsC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,MAAM,CAAC;QAEpC,MAAM,aAAa,GAAuB;YACxC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM;SAChC,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC;YAC5C,SAAS,EAAE,KAAK;YAChB,aAAa;YACb,SAAS,EAAE,EAAE;YACb,KAAK,EAAE,EAAE;SACuB,CAAC,CAAC;QAEpC,MAAM,mCAAmC,GAAG,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A6B,CAAC,IAAI,CAAC,EAAE,CAC1E,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,CAAC,CAAC,IAAI,CACJ,qBAAqB,CAAC,cAAc,CAClC,KAAK,CAAC,KAAK,CAAC,MAAM,EAClB,QAAQ,EACR,MAAM,CACP,EACD,qBAAqB,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAClE,CAAC;QACJ,CAAC;QACD,CAAC,CAAC,IAAI,CACJ,WAAW,CAAC,cAAc,CACxB,KAAK,CAAC,KAAK,CAAC,MAAM,EAClB,KAAK,CAAC,KAAK,CAAC,MAAM,EAClB,QAAQ,EACR,KAAK,CAAC,KAAK,CAAC,GAAG,EACf,KAAK,CAAC,KAAK,CAAC,GAAG,CAChB,EACD,qBAAqB,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CACxD,CAAC;QACF,CAAC,CAAC,IAAI,CACJ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE;YACvE,uBAAuB,EAAE,IAAI;SAC9B,CAAC,CACH,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAC9B,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACtC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/src/init-action-post-helper.test.ts b/src/init-action-post-helper.test.ts index 13390c56c6..9ba5792e0c 100644 --- a/src/init-action-post-helper.test.ts +++ b/src/init-action-post-helper.test.ts @@ -393,7 +393,7 @@ async function testFailedSarifUpload( sinon.match.string, category, ), - `Actual args were: ${databaseExportDiagnosticsStub.args}`, + `Actual args were: ${JSON.stringify(databaseExportDiagnosticsStub.args)}`, ); } else { t.true( @@ -402,7 +402,7 @@ async function testFailedSarifUpload( category, config, ), - `Actual args were: ${diagnosticsExportStub.args}`, + `Actual args were: ${JSON.stringify(diagnosticsExportStub.args)}`, ); } t.true( @@ -413,7 +413,7 @@ async function testFailedSarifUpload( sinon.match.any, sinon.match.any, ), - `Actual args were: ${uploadFiles.args}`, + `Actual args were: ${JSON.stringify(uploadFiles.args)}`, ); t.true( waitForProcessing.calledOnceWith(sinon.match.any, "42", sinon.match.any, { From 048b0a2fc9f9b9e364cbd4d86c2d907280a98095 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 15 Jan 2025 13:59:30 +0000 Subject: [PATCH 050/132] Remove Node 16 compilation PR check --- .github/workflows/pr-checks.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 04998a5516..bd406774b8 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -19,8 +19,6 @@ jobs: strategy: fail-fast: false - matrix: - node-types-version: [16.11, current] # run tests on 16.11 while CodeQL Action v2 is still supported steps: - name: Checkout @@ -32,34 +30,10 @@ jobs: - name: Upload sarif uses: github/codeql-action/upload-sarif@v3 - # Only upload SARIF for the latest version of Node.js - if: "!cancelled() && matrix.node-types-version == 'current' && !startsWith(github.head_ref, 'dependabot/')" with: sarif_file: eslint.sarif category: eslint - - name: Update version of @types/node - if: matrix.node-types-version != 'current' - env: - NODE_TYPES_VERSION: ${{ matrix.node-types-version }} - run: | - # Export `NODE_TYPES_VERSION` so it's available to jq - export NODE_TYPES_VERSION="${NODE_TYPES_VERSION}" - contents=$(jq '.devDependencies."@types/node" = env.NODE_TYPES_VERSION' package.json) - echo "${contents}" > package.json - # Usually we run `npm install` on macOS to ensure that we pick up macOS-only dependencies. - # However we're not checking in the updated lockfile here, so it's fine to run - # `npm install` on Linux. - npm install - - if [ ! -z "$(git status --porcelain)" ]; then - git config --global user.email "github-actions@github.com" - git config --global user.name "github-actions[bot]" - # The period in `git add --all .` ensures that we stage deleted files too. - git add --all . - git commit -m "Use @types/node=${NODE_TYPES_VERSION}" - fi - - name: Check generated JS run: .github/workflows/script/check-js.sh From fc8d71f8015ca899ee3a7037f9477875b8402e7e Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 15 Jan 2025 14:12:58 +0000 Subject: [PATCH 051/132] Add reminder to CONTRIBUTING.md --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6418f05396..34bd99dac3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -109,6 +109,7 @@ To add a new major version of the Action: 1. Change the `version` field of `package.json` by running `npm version x.y.z` where `x` is the new major version, and `y` and `z` match the latest minor and patch versions of the last release. 1. Update appropriate documentation to explain the reasoning behind the releases: see [the diff](https://github.com/github/codeql-action/pull/2677/commits/913d60579d4b560addf53ec3c493d491dd3c1378) in our last major version deprecation for examples on which parts of the documentation should be updated. 1. Consider the timeline behind deprecating the prior Action version: see [CodeQL Action deprecation documentation](#deprecating-a-codeql-action-major-version-write-access-required) +1. If the new major version runs on a new version of Node, add a PR check to ensure the codebase continues to compile against the previous version of Node. See [Remove Node 16 compilation PR check](https://github.com/github/codeql-action/pull/2695) for an example. ## Deprecating a CodeQL Action major version (write access required) From bd76a92ebec472fb11c72904310da276b5d8649e Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 15 Jan 2025 17:50:02 +0000 Subject: [PATCH 052/132] PR checks: Remove code for unsupported versions --- .github/workflows/__all-platform-bundle.yml | 5 ---- .github/workflows/__analyze-ref-input.yml | 5 ---- .github/workflows/__autobuild-action.yml | 5 ---- ...obuild-direct-tracing-with-working-dir.yml | 5 ---- .../workflows/__autobuild-direct-tracing.yml | 5 ---- .github/workflows/__build-mode-autobuild.yml | 5 ---- .github/workflows/__build-mode-manual.yml | 5 ---- .github/workflows/__build-mode-none.yml | 5 ---- .github/workflows/__build-mode-rollback.yml | 5 ---- .../workflows/__cleanup-db-cluster-dir.yml | 5 ---- .github/workflows/__config-export.yml | 5 ---- .github/workflows/__config-input.yml | 5 ---- .github/workflows/__cpp-deptrace-disabled.yml | 5 ---- .../__cpp-deptrace-enabled-on-macos.yml | 5 ---- .github/workflows/__cpp-deptrace-enabled.yml | 5 ---- .github/workflows/__diagnostics-export.yml | 5 ---- .../__export-file-baseline-information.yml | 5 ---- .../__extract-direct-to-toolcache.yml | 5 ---- .github/workflows/__extractor-ram-threads.yml | 5 ---- .github/workflows/__go-custom-queries.yml | 5 ---- ...indirect-tracing-workaround-diagnostic.yml | 5 ---- ...ect-tracing-workaround-no-file-program.yml | 5 ---- .../__go-indirect-tracing-workaround.yml | 5 ---- .../workflows/__go-tracing-autobuilder.yml | 5 ---- .../__go-tracing-custom-build-steps.yml | 5 ---- .../__go-tracing-legacy-workflow.yml | 5 ---- .github/workflows/__init-with-registries.yml | 5 ---- .../workflows/__javascript-source-root.yml | 5 ---- .github/workflows/__job-run-uuid-sarif.yml | 5 ---- .github/workflows/__language-aliases.yml | 5 ---- .../workflows/__multi-language-autodetect.yml | 5 ---- ...ackaging-codescanning-config-inputs-js.yml | 5 ---- .../__packaging-config-inputs-js.yml | 5 ---- .github/workflows/__packaging-config-js.yml | 5 ---- .github/workflows/__packaging-inputs-js.yml | 5 ---- .github/workflows/__remote-config.yml | 5 ---- .../__resolve-environment-action.yml | 5 ---- .../workflows/__rubocop-multi-language.yml | 5 ---- .github/workflows/__ruby.yml | 5 ---- .github/workflows/__split-workflow.yml | 5 ---- .github/workflows/__start-proxy.yml | 5 ---- .github/workflows/__submit-sarif-failure.yml | 5 ---- .github/workflows/__swift-autobuild.yml | 5 ---- .github/workflows/__swift-custom-build.yml | 5 ---- .../__test-autobuild-working-dir.yml | 5 ---- .github/workflows/__test-local-codeql.yml | 5 ---- .github/workflows/__test-proxy.yml | 5 ---- .github/workflows/__unset-environment.yml | 5 ---- .github/workflows/__upload-ref-sha-input.yml | 5 ---- .github/workflows/__with-checkout-path.yml | 5 ---- .github/workflows/__zstd-bundle-streaming.yml | 5 ---- .github/workflows/__zstd-bundle.yml | 5 ---- pr-checks/sync.py | 24 ++++--------------- 53 files changed, 4 insertions(+), 280 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index d6fbb9d430..7439f7e16c 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index b54ddeadde..3047b9d73f 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 118e29449e..497f668a08 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml index f26cb36b44..4ee53ef132 100644 --- a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml +++ b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml @@ -42,11 +42,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__autobuild-direct-tracing.yml b/.github/workflows/__autobuild-direct-tracing.yml index 83c1976ebd..964f53fd6b 100644 --- a/.github/workflows/__autobuild-direct-tracing.yml +++ b/.github/workflows/__autobuild-direct-tracing.yml @@ -42,11 +42,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__build-mode-autobuild.yml b/.github/workflows/__build-mode-autobuild.yml index 362b78cfb4..3c934442c6 100644 --- a/.github/workflows/__build-mode-autobuild.yml +++ b/.github/workflows/__build-mode-autobuild.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__build-mode-manual.yml b/.github/workflows/__build-mode-manual.yml index d846da36d8..74252c9966 100644 --- a/.github/workflows/__build-mode-manual.yml +++ b/.github/workflows/__build-mode-manual.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__build-mode-none.yml b/.github/workflows/__build-mode-none.yml index 80a7a90e73..a9ce123f97 100644 --- a/.github/workflows/__build-mode-none.yml +++ b/.github/workflows/__build-mode-none.yml @@ -38,11 +38,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__build-mode-rollback.yml b/.github/workflows/__build-mode-rollback.yml index 3e232144cc..5457a02d59 100644 --- a/.github/workflows/__build-mode-rollback.yml +++ b/.github/workflows/__build-mode-rollback.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__cleanup-db-cluster-dir.yml b/.github/workflows/__cleanup-db-cluster-dir.yml index 2851f99f0e..b6abe761a8 100644 --- a/.github/workflows/__cleanup-db-cluster-dir.yml +++ b/.github/workflows/__cleanup-db-cluster-dir.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index b23cb43a8f..76b7b9037d 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -46,11 +46,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__config-input.yml b/.github/workflows/__config-input.yml index 0337aeac8b..1b419aee7b 100644 --- a/.github/workflows/__config-input.yml +++ b/.github/workflows/__config-input.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml index d38f04063a..17aa07c8bc 100644 --- a/.github/workflows/__cpp-deptrace-disabled.yml +++ b/.github/workflows/__cpp-deptrace-disabled.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml index 544fe2ab22..60997a9172 100644 --- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml +++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml index 3e93548d54..ce9087f095 100644 --- a/.github/workflows/__cpp-deptrace-enabled.yml +++ b/.github/workflows/__cpp-deptrace-enabled.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index c0d2027b87..53014cf36c 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -46,11 +46,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index b44e5b0859..e6e38ef8a9 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__extract-direct-to-toolcache.yml b/.github/workflows/__extract-direct-to-toolcache.yml index 1e4c2443f0..32727c997b 100644 --- a/.github/workflows/__extract-direct-to-toolcache.yml +++ b/.github/workflows/__extract-direct-to-toolcache.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index 46d46ec8cf..1c38060832 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index f921835d06..927b2b88b6 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -38,11 +38,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml index 2f7caf34b7..27f1ac7eb7 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml index 03d48d86d0..471fc64978 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml index b5924bca17..62459c3eb6 100644 --- a/.github/workflows/__go-indirect-tracing-workaround.yml +++ b/.github/workflows/__go-indirect-tracing-workaround.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index a430ddd26c..20caf17005 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -66,11 +66,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index bd2af96bc7..f5dc2333b7 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -66,11 +66,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index 1f7bee078b..4baab11718 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -66,11 +66,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 776215bf30..f19328aab7 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -53,11 +53,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index 31cdaa85c0..04d93978ee 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__job-run-uuid-sarif.yml b/.github/workflows/__job-run-uuid-sarif.yml index 6c0abcb779..40ff0cb741 100644 --- a/.github/workflows/__job-run-uuid-sarif.yml +++ b/.github/workflows/__job-run-uuid-sarif.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml index 8d25a4d112..a7db4bdf66 100644 --- a/.github/workflows/__language-aliases.yml +++ b/.github/workflows/__language-aliases.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 5d5c52cac3..1bab334dcf 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -66,11 +66,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index 3d56a2aa01..15aeeb4171 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -52,11 +52,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 4f26e89a03..e68085be0c 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -52,11 +52,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index a1a9ba0c92..dea5d8eae3 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -52,11 +52,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 5efe2351ba..cbb91f90dc 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -52,11 +52,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index 3bf2562299..198fdde921 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -38,11 +38,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 105534d6df..2c6380323d 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -52,11 +52,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index bc0eae2e50..16a6c958d9 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index 46a12ecac0..441b51981c 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -46,11 +46,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index aaad2a9149..ea72bde861 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -46,11 +46,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__start-proxy.yml b/.github/workflows/__start-proxy.yml index 2a361ed31e..e66da8bfd9 100644 --- a/.github/workflows/__start-proxy.yml +++ b/.github/workflows/__start-proxy.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index 00f56224da..1f4300d630 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__swift-autobuild.yml b/.github/workflows/__swift-autobuild.yml index 3c178424dd..9c17dda79c 100644 --- a/.github/workflows/__swift-autobuild.yml +++ b/.github/workflows/__swift-autobuild.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index a4a7a8062c..ae3d802250 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index 4904677e0e..144ca2173d 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index a79d6e9f72..27792efce0 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -36,11 +36,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index d2ffe1f6b2..1b2bb68117 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -50,11 +50,6 @@ jobs: apt-add-repository https://cli.github.com/packages apt install -y gh env: {} - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 7ae11bd1e8..3a21054876 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -38,11 +38,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index e956b81651..7483a83621 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index 82b1d910c6..d054ca0cef 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__zstd-bundle-streaming.yml b/.github/workflows/__zstd-bundle-streaming.yml index bf4477c0bd..e6fad57086 100644 --- a/.github/workflows/__zstd-bundle-streaming.yml +++ b/.github/workflows/__zstd-bundle-streaming.yml @@ -38,11 +38,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index ac254aaaf3..f45268af84 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -40,11 +40,6 @@ jobs: timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - - name: Setup Python on macOS - uses: actions/setup-python@v5 - if: runner.os == 'macOS' && matrix.version == 'stable-v2.14.6' - with: - python-version: '3.11' - name: Check out repository uses: actions/checkout@v4 - name: Prepare test diff --git a/pr-checks/sync.py b/pr-checks/sync.py index d16ae4551d..13ee591af9 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -80,32 +80,16 @@ def writeHeader(checkStream): if is_os_and_version_excluded(operatingSystem, version, excludedOsesAndVersions): continue - # Prior to CLI v2.15.1, ARM runners were not supported by the build tracer. - # "macos-latest" is now an ARM runner, so we run tests on the old CLIs on Intel runners instead. - if version in ["stable-v2.14.6"] and runnerImage == "macos-latest": - matrix.append({ - 'os': "macos-13", - 'version': version - }) - else: - matrix.append({ - 'os': runnerImage, - 'version': version - }) + matrix.append({ + 'os': runnerImage, + 'version': version + }) useAllPlatformBundle = "false" # Default to false if checkSpecification.get('useAllPlatformBundle'): useAllPlatformBundle = checkSpecification['useAllPlatformBundle'] steps = [ - { - 'name': 'Setup Python on macOS', - 'uses': 'actions/setup-python@v5', - 'if': "runner.os == 'macOS' && matrix.version == 'stable-v2.14.6'", - 'with': { - 'python-version': '3.11' - } - }, { 'name': 'Check out repository', 'uses': 'actions/checkout@v4' From 40a203a0ea8379c51e156083242bc2c8d62ef834 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 15 Jan 2025 17:59:15 +0000 Subject: [PATCH 053/132] Remove redundant version checks Remove version checks that always return true given the new minimum version of CodeQL. --- lib/analyze.js | 7 -- lib/analyze.js.map | 2 +- lib/codeql.js | 52 ++------------ lib/codeql.js.map | 2 +- lib/codeql.test.js | 10 +-- lib/codeql.test.js.map | 2 +- lib/feature-flags.js | 7 +- lib/feature-flags.js.map | 2 +- pr-checks/checks/cpp-deptrace-disabled.yml | 2 +- pr-checks/checks/cpp-deptrace-enabled.yml | 2 +- src/analyze.ts | 20 +----- src/codeql.test.ts | 10 +-- src/codeql.ts | 84 ++-------------------- src/feature-flags.ts | 6 -- 14 files changed, 21 insertions(+), 187 deletions(-) diff --git a/lib/analyze.js b/lib/analyze.js index 8d57b9e7af..5275eda87b 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -420,9 +420,6 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, } statusReport["event_reports"].push(perQueryAlertCountEventReport); } - if (!(await util.codeQlVersionAtLeast(codeql, codeql_1.CODEQL_VERSION_ANALYSIS_SUMMARY_V2))) { - await runPrintLinesOfCode(language); - } } catch (e) { statusReport.analyze_failure_language = language; @@ -454,10 +451,6 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, } return perQueryAlertCounts; } - async function runPrintLinesOfCode(language) { - const databasePath = util.getCodeQLDatabasePath(config, language); - return await codeql.databasePrintBaseline(databasePath); - } } async function runFinalize(outputDir, threadsFlag, memoryFlag, codeql, config, logger) { try { diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 81173fe23e..2d93a33f54 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsIA,sCAmCC;AAcD,sCAiBC;AAkDD,8DAgCC;AAgQD,gCAuJC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AA5wBD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,gDAAkC;AAClC,8CAAsB;AACtB,8CAAgC;AAEhC,4DAA8C;AAC9C,6CAA4C;AAC5C,2CAAgD;AAChD,qCAIkB;AAElB,+CAA8D;AAC9D,+CAAuC;AACvC,mDAA6D;AAC7D,2CAA0D;AAC1D,uCAAmD;AAEnD,qDAAgD;AAChD,mDAAuD;AACvD,6CAAuD;AACvD,6CAA+B;AAC/B,iCAAmC;AAEnC,MAAa,mBAAoB,SAAQ,KAAK;IAC5C,YACS,mBAAwC,EACxC,OAAe,EACf,KAAY;QAEnB,KAAK,CAAC,OAAO,CAAC,CAAC;QAJR,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,YAAO,GAAP,OAAO,CAAQ;QACf,UAAK,GAAL,KAAK,CAAO;QAGnB,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;CACF;AATD,kDASC;AAkFD,KAAK,UAAU,oB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Y,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAEY,QAAA,kBAAkB,GAAG;IAChC,aAAa;CACd,CAAC"} \ No newline at end of file diff --git a/lib/codeql.js b/lib/codeql.js index 2b4f017c04..c226df9b13 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -33,7 +33,6 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE = exports.CODEQL_VERSION_ANALYSIS_SUMMARY_V2 = void 0; exports.setupCodeQL = setupCodeQL; exports.getCodeQL = getCodeQL; exports.setCodeQL = setCodeQL; @@ -49,7 +48,6 @@ const path = __importStar(require("path")); const core = __importStar(require("@actions/core")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); const yaml = __importStar(require("js-yaml")); -const semver = __importStar(require("semver")); const actions_util_1 = require("./actions-util"); const cli_errors_1 = require("./cli-errors"); const doc_url_1 = require("./doc-url"); @@ -97,18 +95,6 @@ const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++"; * For convenience, please keep these in descending order. Once a version * flag is older than the oldest supported version above, it may be removed. */ -/** - * Versions 2.15.0+ of the CodeQL CLI support new analysis summaries. - */ -exports.CODEQL_VERSION_ANALYSIS_SUMMARY_V2 = "2.15.0"; -/** - * Versions 2.15.0+ of the CodeQL CLI support sub-language file coverage information. - */ -exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE = "2.15.0"; -/** - * Versions 2.15.2+ of the CodeQL CLI support the `--sarif-include-query-help` option. - */ -const CODEQL_VERSION_INCLUDE_QUERY_HELP = "2.15.2"; /** * Versions 2.17.1+ of the CodeQL CLI support the `--cache-cleanup` option. */ @@ -289,13 +275,6 @@ async function getCodeQLForCmd(cmd, checkVersion) { if (qlconfigFile !== undefined) { extraArgs.push(`--qlconfig-file=${qlconfigFile}`); } - extraArgs.push("--calculate-language-specific-baseline"); - if (await isSublanguageFileCoverageEnabled(config, this)) { - extraArgs.push("--sublanguage-file-coverage"); - } - else if (await util.codeQlVersionAtLeast(this, exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE)) { - extraArgs.push("--no-sublanguage-file-coverage"); - } const overwriteFlag = (0, tools_features_1.isSupportedToolsFeature)(await this.getVersion(), tools_features_1.ToolsFeature.ForceOverwrite) ? "--force-overwrite" : "--overwrite"; @@ -306,7 +285,9 @@ async function getCodeQLForCmd(cmd, checkVersion) { "--db-cluster", config.dbLocation, `--source-root=${sourceRoot}`, + "--calculate-language-specific-baseline", "--extractor-include-aliases", + "--sublanguage-file-coverage", ...extraArgs, ...getExtraOptionsFromEnv(["database", "init"], { ignoringOptions: ["--overwrite"], @@ -466,15 +447,13 @@ async function getCodeQLForCmd(cmd, checkVersion) { ...flags, databasePath, "--expect-discarded-cache", + "--intra-layer-parallelism", "--min-disk-free=1024", // Try to leave at least 1GB free "-v", ...getExtraOptionsFromEnv(["database", "run-queries"], { ignoringOptions: ["--expect-discarded-cache"], }), ]; - if (await util.codeQlVersionAtLeast(this, feature_flags_1.CODEQL_VERSION_FINE_GRAINED_PARALLELISM)) { - codeqlArgs.push("--intra-layer-parallelism"); - } await runCli(cmd, codeqlArgs); }, async databaseInterpretResults(databasePath, querySuitePaths, sarifFile, addSnippetsFlag, threadsFlag, verbosityFlag, sarifRunPropertyFlag, automationDetailsId, config, features) { @@ -492,7 +471,8 @@ async function getCodeQLForCmd(cmd, checkVersion) { "--sarif-add-baseline-file-info", `--sarif-codescanning-config=${getGeneratedCodeScanningConfigPath(config)}`, "--sarif-group-rules-by-pack", - ...(await getCodeScanningQueryHelpArguments(this)), + "--sarif-include-query-help=always", + "--sublanguage-file-coverage", ...(await getJobRunUuidSarifOptions(this)), ...getExtraOptionsFromEnv(["database", "interpret-results"]), ]; @@ -502,20 +482,13 @@ async function getCodeQLForCmd(cmd, checkVersion) { if (automationDetailsId !== undefined) { codeqlArgs.push("--sarif-category", automationDetailsId); } - if (await isSublanguageFileCoverageEnabled(config, this)) { - codeqlArgs.push("--sublanguage-file-coverage"); - } - else if (await util.codeQlVersionAtLeast(this, exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE)) { - codeqlArgs.push("--no-sublanguage-file-coverage"); - } if (shouldExportDiagnostics) { codeqlArgs.push("--sarif-include-diagnostics"); } else { codeqlArgs.push("--no-sarif-include-diagnostics"); } - if ((await util.codeQlVersionAtLeast(this, exports.CODEQL_VERSION_ANALYSIS_SUMMARY_V2)) && - !(0, tools_features_1.isSupportedToolsFeature)(await this.getVersion(), tools_features_1.ToolsFeature.AnalysisSummaryV2IsDefault)) { + if (!(0, tools_features_1.isSupportedToolsFeature)(await this.getVersion(), tools_features_1.ToolsFeature.AnalysisSummaryV2IsDefault)) { codeqlArgs.push("--new-analysis-summary"); } codeqlArgs.push(databasePath); @@ -846,19 +819,6 @@ async function getTrapCachingExtractorConfigArgsForLang(config, language) { function getGeneratedCodeScanningConfigPath(config) { return path.resolve(config.tempDir, "user-config.yaml"); } -async function isSublanguageFileCoverageEnabled(config, codeql) { - return ( - // Sub-language file coverage is first supported in GHES 3.12. - (config.gitHubVersion.type !== util.GitHubVariant.GHES || - semver.gte(config.gitHubVersion.version, "3.12.0")) && - (await util.codeQlVersionAtLeast(codeql, exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE))); -} -async function getCodeScanningQueryHelpArguments(codeql) { - if (await util.codeQlVersionAtLeast(codeql, CODEQL_VERSION_INCLUDE_QUERY_HELP)) { - return ["--sarif-include-query-help=always"]; - } - return ["--sarif-add-query-help"]; -} function getExtractionVerbosityArguments(enableDebugLogging) { return enableDebugLogging ? [`--verbosity=${EXTRACTION_DEBUG_MODE_VERBOSITY}`] diff --git a/lib/codeql.js.map b/lib/codeql.js.map index e86f0ce3be..f42d845793 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot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js +++ b/lib/codeql.test.js @@ -521,14 +521,6 @@ const NEW_ANALYSIS_SUMMARY_TEST_CASES = [ flagPassed: true, negativeFlagPassed: false, }, - { - codeqlVersion: (0, testing_utils_1.makeVersionInfo)("2.14.6"), - githubVersion: { - type: util.GitHubVariant.DOTCOM, - }, - flagPassed: false, - negativeFlagPassed: false, - }, ]; for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of NEW_ANALYSIS_SUMMARY_TEST_CASES) { (0, ava_1.default)(`database interpret-results passes ${flagPassed @@ -620,7 +612,7 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of sinon.stub(io, "which").resolves(""); await t.throwsAsync(async () => await codeqlObject.databaseRunQueries(stubConfig.dbLocation, []), { instanceOf: cli_errors_1.CliError, - message: `Encountered a fatal error while running "codeql-for-testing database run-queries --expect-discarded-cache --min-disk-free=1024 -v --intra-layer-parallelism". Exit code was 1 and error was: Oops! A fatal internal error occurred. Details: + message: `Encountered a fatal error while running "codeql-for-testing database run-queries --expect-discarded-cache --intra-layer-parallelism --min-disk-free=1024 -v". Exit code was 1 and error was: Oops! A fatal internal error occurred. Details: com.semmle.util.exception.CatastrophicError: An error occurred while evaluating ControlFlowGraph::ControlFlow::Root.isRootOf/1#dispred#f610e6ed/2@86282cc8 Severe disk cache trouble (corruption or out of space) at /home/runner/work/_temp/codeql_databases/go/db-go/default/cache/pages/28/33.pack: Failed to write item to disk. See the logs for more details.`, }); diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index cf4f86d8f3..f62818e5f1 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2gCA,8DAqBC;AAhiCD,uCAAyB;AAGzB,yEAA2D;AAC3D,gDAAkC;AAClC,+DAAiD;AACjD,8CAA6C;AA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AAC;IACF,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,4CAA4C,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,SAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5C,MAAM,IAAA,aAAG,EAAC,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACzC,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,WAAmB,CAAC,EACpB,MAAe;IAEf,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CACtC,UAAU,EACV,YAAY,CACoC,CAAC;IACnD,IAAI,cAAc,GAAyC,SAAS,CAAC;IACrE,qBAAqB,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;QACpE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3C,OAAO,gBAAgB,CAAC;IAC1B,CAAC,CAAC,CAAC;IACH,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACzC,IAAI,cAAc,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index 1c3efbaee9..9a86c4b575 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.Features = exports.FEATURE_FLAGS_FILE_NAME = exports.featureConfig = exports.Feature = exports.CODEQL_VERSION_ZSTD_BUNDLE = exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = void 0; +exports.Features = exports.FEATURE_FLAGS_FILE_NAME = exports.featureConfig = exports.Feature = exports.CODEQL_VERSION_ZSTD_BUNDLE = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const semver = __importStar(require("semver")); @@ -43,11 +43,6 @@ const tools_features_1 = require("./tools-features"); const util = __importStar(require("./util")); const DEFAULT_VERSION_FEATURE_FLAG_PREFIX = "default_codeql_version_"; const DEFAULT_VERSION_FEATURE_FLAG_SUFFIX = "_enabled"; -/** - * Evaluator fine-grained parallelism (aka intra-layer parallelism) is only safe to enable in 2.15.1 onwards. - * (Some earlier versions recognize the command-line flag, but they contain a bug which makes it unsafe to use). - */ -exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = "2.15.1"; /** * The first version of the CodeQL Bundle that shipped with zstd-compressed bundles. */ diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index 4c27a477e8..aa0cf5849a 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,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,qDAAgD;AAChD,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAEhE;;GAEG;AACU,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AAgBnD;;;;;;;GAOG;AACH,IAAY,OAaX;AAbD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,mDAAwC,CAAA;IACxC,4EAAiE,CAAA;IACjE,wDAA6C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IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,qDAAgD;AAChD,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACU,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AAgBnD;;;;;;;GAOG;AACH,IAAY,OAaX;AAbD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,mDAAwC,CAAA;IACxC,4EAAiE,CAAA;IACjE,wDAA6C,CAAA;IAC7C,8DAAmD,CAAA;IACnD,yEAA8D,CAAA;IAC9D,2EAAgE,CAAA;IAChE,kEAAuD,CAAA;IACvD,sDAA2C,CAAA;IAC3C,wFAA6E,CAAA;IAC7E,sDAA2C,CAAA;IAC3C,6EAAkE,CAAA;AACpE,CAAC,EAbW,OAAO,uBAAP,OAAO,QAalB;AAEY,QAAA,aAAa,GA8BtB;IACF,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;QAC3B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gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file diff --git a/pr-checks/checks/cpp-deptrace-disabled.yml b/pr-checks/checks/cpp-deptrace-disabled.yml index 4a98a720c9..9018352c43 100644 --- a/pr-checks/checks/cpp-deptrace-disabled.yml +++ b/pr-checks/checks/cpp-deptrace-disabled.yml @@ -1,7 +1,7 @@ name: "C/C++: disabling autoinstalling dependencies (Linux)" description: "Checks that running C/C++ autobuild with autoinstalling dependencies explicitly disabled works" operatingSystems: ["ubuntu"] -versions: ["linked", "default", "nightly-latest"] # This feature is not compatible with CLIs < 2.15.0 +versions: ["linked", "default", "nightly-latest"] env: DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: diff --git a/pr-checks/checks/cpp-deptrace-enabled.yml b/pr-checks/checks/cpp-deptrace-enabled.yml index 05d86e2cf1..cad6d12bf7 100644 --- a/pr-checks/checks/cpp-deptrace-enabled.yml +++ b/pr-checks/checks/cpp-deptrace-enabled.yml @@ -1,7 +1,7 @@ name: "C/C++: autoinstalling dependencies (Linux)" description: "Checks that running C/C++ autobuild with autoinstalling dependencies works" operatingSystems: ["ubuntu"] -versions: ["linked", "default", "nightly-latest"] # This feature is not compatible with CLIs < 2.15.0 +versions: ["linked", "default", "nightly-latest"] env: DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: diff --git a/src/analyze.ts b/src/analyze.ts index 52ae26aa05..ec6fe7d0b2 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -9,11 +9,7 @@ import * as yaml from "js-yaml"; import * as actionsUtil from "./actions-util"; import { getApiClient } from "./api-client"; import { setupCppAutobuild } from "./autobuild"; -import { - CODEQL_VERSION_ANALYSIS_SUMMARY_V2, - CodeQL, - getCodeQL, -} from "./codeql"; +import { CodeQL, getCodeQL } from "./codeql"; import * as configUtils from "./config-utils"; import { addDiagnostic, makeDiagnostic } from "./diagnostics"; import { EnvVar } from "./environment"; @@ -613,15 +609,6 @@ export async function runQueries( } statusReport["event_reports"].push(perQueryAlertCountEventReport); } - - if ( - !(await util.codeQlVersionAtLeast( - codeql, - CODEQL_VERSION_ANALYSIS_SUMMARY_V2, - )) - ) { - await runPrintLinesOfCode(language); - } } catch (e) { statusReport.analyze_failure_language = language; throw new CodeQLAnalysisError( @@ -682,11 +669,6 @@ export async function runQueries( } return perQueryAlertCounts; } - - async function runPrintLinesOfCode(language: Language): Promise { - const databasePath = util.getCodeQLDatabasePath(config, language); - return await codeql.databasePrintBaseline(databasePath); - } } export async function runFinalize( diff --git a/src/codeql.test.ts b/src/codeql.test.ts index e239f34e5c..04b903aef6 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -791,14 +791,6 @@ const NEW_ANALYSIS_SUMMARY_TEST_CASES = [ flagPassed: true, negativeFlagPassed: false, }, - { - codeqlVersion: makeVersionInfo("2.14.6"), - githubVersion: { - type: util.GitHubVariant.DOTCOM, - }, - flagPassed: false, - negativeFlagPassed: false, - }, ]; for (const { @@ -965,7 +957,7 @@ test("runTool recognizes fatal internal errors", async (t) => { await codeqlObject.databaseRunQueries(stubConfig.dbLocation, []), { instanceOf: CliError, - message: `Encountered a fatal error while running "codeql-for-testing database run-queries --expect-discarded-cache --min-disk-free=1024 -v --intra-layer-parallelism". Exit code was 1 and error was: Oops! A fatal internal error occurred. Details: + message: `Encountered a fatal error while running "codeql-for-testing database run-queries --expect-discarded-cache --intra-layer-parallelism --min-disk-free=1024 -v". Exit code was 1 and error was: Oops! A fatal internal error occurred. Details: com.semmle.util.exception.CatastrophicError: An error occurred while evaluating ControlFlowGraph::ControlFlow::Root.isRootOf/1#dispred#f610e6ed/2@86282cc8 Severe disk cache trouble (corruption or out of space) at /home/runner/work/_temp/codeql_databases/go/db-go/default/cache/pages/28/33.pack: Failed to write item to disk. See the logs for more details.`, }, diff --git a/src/codeql.ts b/src/codeql.ts index 492654dd7a..03c6bbc55d 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -4,7 +4,6 @@ import * as path from "path"; import * as core from "@actions/core"; import * as toolrunner from "@actions/exec/lib/toolrunner"; import * as yaml from "js-yaml"; -import * as semver from "semver"; import { CommandInvocationError, @@ -18,7 +17,6 @@ import { type Config } from "./config-utils"; import { DocUrl } from "./doc-url"; import { EnvVar } from "./environment"; import { - CODEQL_VERSION_FINE_GRAINED_PARALLELISM, CodeQLDefaultVersionInfo, Feature, FeatureEnablement, @@ -304,21 +302,6 @@ const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++"; * flag is older than the oldest supported version above, it may be removed. */ -/** - * Versions 2.15.0+ of the CodeQL CLI support new analysis summaries. - */ -export const CODEQL_VERSION_ANALYSIS_SUMMARY_V2 = "2.15.0"; - -/** - * Versions 2.15.0+ of the CodeQL CLI support sub-language file coverage information. - */ -export const CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE = "2.15.0"; - -/** - * Versions 2.15.2+ of the CodeQL CLI support the `--sarif-include-query-help` option. - */ -const CODEQL_VERSION_INCLUDE_QUERY_HELP = "2.15.2"; - /** * Versions 2.17.1+ of the CodeQL CLI support the `--cache-cleanup` option. */ @@ -602,19 +585,6 @@ export async function getCodeQLForCmd( extraArgs.push(`--qlconfig-file=${qlconfigFile}`); } - extraArgs.push("--calculate-language-specific-baseline"); - - if (await isSublanguageFileCoverageEnabled(config, this)) { - extraArgs.push("--sublanguage-file-coverage"); - } else if ( - await util.codeQlVersionAtLeast( - this, - CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE, - ) - ) { - extraArgs.push("--no-sublanguage-file-coverage"); - } - const overwriteFlag = isSupportedToolsFeature( await this.getVersion(), ToolsFeature.ForceOverwrite, @@ -631,7 +601,9 @@ export async function getCodeQLForCmd( "--db-cluster", config.dbLocation, `--source-root=${sourceRoot}`, + "--calculate-language-specific-baseline", "--extractor-include-aliases", + "--sublanguage-file-coverage", ...extraArgs, ...getExtraOptionsFromEnv(["database", "init"], { ignoringOptions: ["--overwrite"], @@ -820,20 +792,13 @@ export async function getCodeQLForCmd( ...flags, databasePath, "--expect-discarded-cache", + "--intra-layer-parallelism", "--min-disk-free=1024", // Try to leave at least 1GB free "-v", ...getExtraOptionsFromEnv(["database", "run-queries"], { ignoringOptions: ["--expect-discarded-cache"], }), ]; - if ( - await util.codeQlVersionAtLeast( - this, - CODEQL_VERSION_FINE_GRAINED_PARALLELISM, - ) - ) { - codeqlArgs.push("--intra-layer-parallelism"); - } await runCli(cmd, codeqlArgs); }, async databaseInterpretResults( @@ -867,7 +832,8 @@ export async function getCodeQLForCmd( config, )}`, "--sarif-group-rules-by-pack", - ...(await getCodeScanningQueryHelpArguments(this)), + "--sarif-include-query-help=always", + "--sublanguage-file-coverage", ...(await getJobRunUuidSarifOptions(this)), ...getExtraOptionsFromEnv(["database", "interpret-results"]), ]; @@ -877,26 +843,12 @@ export async function getCodeQLForCmd( if (automationDetailsId !== undefined) { codeqlArgs.push("--sarif-category", automationDetailsId); } - if (await isSublanguageFileCoverageEnabled(config, this)) { - codeqlArgs.push("--sublanguage-file-coverage"); - } else if ( - await util.codeQlVersionAtLeast( - this, - CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE, - ) - ) { - codeqlArgs.push("--no-sublanguage-file-coverage"); - } if (shouldExportDiagnostics) { codeqlArgs.push("--sarif-include-diagnostics"); } else { codeqlArgs.push("--no-sarif-include-diagnostics"); } if ( - (await util.codeQlVersionAtLeast( - this, - CODEQL_VERSION_ANALYSIS_SUMMARY_V2, - )) && !isSupportedToolsFeature( await this.getVersion(), ToolsFeature.AnalysisSummaryV2IsDefault, @@ -1333,32 +1285,6 @@ export function getGeneratedCodeScanningConfigPath(config: Config): string { return path.resolve(config.tempDir, "user-config.yaml"); } -async function isSublanguageFileCoverageEnabled( - config: Config, - codeql: CodeQL, -) { - return ( - // Sub-language file coverage is first supported in GHES 3.12. - (config.gitHubVersion.type !== util.GitHubVariant.GHES || - semver.gte(config.gitHubVersion.version, "3.12.0")) && - (await util.codeQlVersionAtLeast( - codeql, - CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE, - )) - ); -} - -async function getCodeScanningQueryHelpArguments( - codeql: CodeQL, -): Promise { - if ( - await util.codeQlVersionAtLeast(codeql, CODEQL_VERSION_INCLUDE_QUERY_HELP) - ) { - return ["--sarif-include-query-help=always"]; - } - return ["--sarif-add-query-help"]; -} - function getExtractionVerbosityArguments( enableDebugLogging: boolean, ): string[] { diff --git a/src/feature-flags.ts b/src/feature-flags.ts index 670e4500b6..561c56e331 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -14,12 +14,6 @@ import * as util from "./util"; const DEFAULT_VERSION_FEATURE_FLAG_PREFIX = "default_codeql_version_"; const DEFAULT_VERSION_FEATURE_FLAG_SUFFIX = "_enabled"; -/** - * Evaluator fine-grained parallelism (aka intra-layer parallelism) is only safe to enable in 2.15.1 onwards. - * (Some earlier versions recognize the command-line flag, but they contain a bug which makes it unsafe to use). - */ -export const CODEQL_VERSION_FINE_GRAINED_PARALLELISM = "2.15.1"; - /** * The first version of the CodeQL Bundle that shipped with zstd-compressed bundles. */ From 5889cfd4994efea544ff3bc9f368822ecb589693 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Thu, 16 Jan 2025 08:50:23 -0800 Subject: [PATCH 054/132] Add analysis_is_diff_informed to status report --- lib/analyze.js | 1 + lib/analyze.js.map | 2 +- lib/analyze.test.js | 1 + lib/analyze.test.js.map | 2 +- src/analyze.test.ts | 1 + src/analyze.ts | 7 +++++++ 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/analyze.js b/lib/analyze.js index 5275eda87b..354ca86b0c 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -368,6 +368,7 @@ extensions: // Runs queries and creates sarif files in the given folder async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, diffRangePackDir, automationDetailsId, config, logger, features) { const statusReport = {}; + statusReport.analysis_is_diff_informed = diffRangePackDir !== undefined; const dataExtensionFlags = diffRangePackDir ? [ `--additional-packs=${diffRangePackDir}`, diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 2d93a33f54..8b44a56c3a 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkIA,sCAmCC;AAcD,sCAiBC;AAkDD,8DAgCC;AAgQD,gCAyIC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AA1vBD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,gDAAkC;AAClC,8CAAsB;AACtB,8CAAgC;AAEhC,4DAA8C;AAC9C,6CAA4C;AAC5C,2CAAgD;AAChD,qCAA6C;AAE7C,+CAA8D;AAC9D,+CAAuC;AACvC,mDAA6D;AAC7D,2CAA0D;AAC1D,uCAAmD;AAEnD,qDAAgD;AAChD,mDAAuD;AACvD,6CAAuD;AACvD,6CAA+B;AAC/B,iCAAmC;AAEnC,MAAa,mBAAoB,SAAQ,KAAK;IAC5C,YACS,mBAAwC,EACxC,OAAe,EACf,KAAY;QAEnB,KAAK,CAAC,OAAO,CAAC,CAAC;QAJR,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,YAAO,GAAP,OAAO,CAAQ;QACf,UAAK,GAAL,KAAK,CAAO;QAGnB,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;CACF;AATD,kDASC;AAkFD,KAAK,UAAU,oBAAoB,CAAC,MAAc;IAChD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClD,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5D,+FAA+F;QAC/F,OA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CAAmC,UAAU,aAAa,YAAY,+GAA+G,CACtL,CAAC;YAEF,IAAA,2BAAa,EACX,MAAM,EACN,oBAAQ,CAAC,EAAE,EACX,IAAA,4BAAc,EACZ,4CAA4C,EAC5C,gEAAgE,EAChE;gBACE,eAAe,EACb,sIAAsI;gBACxI,UAAU,EAAE;oBACV,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,eAAe,EAAE,IAAI;iBACtB;gBACD,QAAQ,EAAE,SAAS;aACpB,CACF,CACF,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AAEM,KAAK,UAAU,UAAU,CAC9B,MAA0B,EAC1B,YAAoB,EACpB,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAC3C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAClE,MAAM,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAEY,QAAA,kBAAkB,GAAG;IAChC,aAAa;CACd,CAAC"} \ No newline at end of file diff --git a/lib/analyze.test.js b/lib/analyze.test.js index abc9297810..a74de5c969 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -116,6 +116,7 @@ const util = __importStar(require("./util")); }); const statusReport = await (0, analyze_1.runQueries)(tmpDir, memoryFlag, addSnippetsFlag, threadsFlag, undefined, undefined, config, (0, logging_1.getRunnerLogger)(true), (0, testing_utils_1.createFeatures)([feature_flags_1.Feature.QaTelemetryEnabled])); t.deepEqual(Object.keys(statusReport).sort(), [ + "analysis_is_diff_informed", `analyze_builtin_queries_${language}_duration_ms`, "event_reports", `interpret_results_${language}_duration_ms`, diff --git a/lib/analyze.test.js.map b/lib/analyze.test.js.map index 6601807eb0..1694ac52ff 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,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA2D;AAC3D,qCAAqC;AACrC,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,mDAKyB;AACzB,wDAA0C;AAC1C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB;;;;;GAKG;AACH,IAAA,aAAI,EAAC,sBAAsB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvC,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,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,yBAAyB,CAAC,CAAC;QAEjD,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,oBAAQ,CAAC,EAAE,CAAC;YAC/C,IAAA,kBAAS,EAAC;gBACR,kBAAkB,EAAE,KAAK,IAAI,EAAE,GAAE,CAAC;gBAClC,YAAY,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;gBACzC,wBAAwB,EAAE,KAAK,EAC7B,GAAW,EACX,WAAqB,EACrB,SAAiB,EACjB,EAAE;oBACF,EAAE,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ACJ,IAAI;QACJ,qBAAqB;QACrB,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;KACL,CAAC,CAAC;IACH,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE;QACtB;YACE,IAAI,EAAE,yBAAyB;YAC/B,SAAS,EAAE,EAAE;YACb,OAAO,EAAE,EAAE;SACZ;QACD;YACE,IAAI,EAAE,yBAAyB;YAC/B,SAAS,EAAE,GAAG;YACd,OAAO,EAAE,GAAG;SACb;KACF,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sCAAsC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvD,MAAM,UAAU,GAAG,gBAAgB,CAAC,CAAC,EAAE,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;IACxE,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE;QACtB;YACE,IAAI,EAAE,yBAAyB;YAC/B,SAAS,EAAE,EAAE;YACb,OAAO,EAAE,EAAE;SACZ;KACF,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA2D;AAC3D,qCAAqC;AACrC,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,mDAKyB;AACzB,wDAA0C;AAC1C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB;;;;;GAKG;AACH,IAAA,aAAI,EAAC,sBAAsB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvC,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAA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yBAAyB;YAC/B,SAAS,EAAE,EAAE;YACb,OAAO,EAAE,EAAE;SACZ;KACF,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/analyze.test.ts b/src/analyze.test.ts index 8745c1f38c..39b9f6ae05 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -108,6 +108,7 @@ test("status report fields", async (t) => { createFeatures([Feature.QaTelemetryEnabled]), ); t.deepEqual(Object.keys(statusReport).sort(), [ + "analysis_is_diff_informed", `analyze_builtin_queries_${language}_duration_ms`, "event_reports", `interpret_results_${language}_duration_ms`, diff --git a/src/analyze.ts b/src/analyze.ts index ec6fe7d0b2..91a706e06e 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -108,6 +108,12 @@ export interface QueriesStatusReport { /** Time taken in ms to interpret results for swift (or undefined if this language was not analyzed). */ interpret_results_swift_duration_ms?: number; + /** + * Whether the analysis is diff-informed (in the sense that the action generates a diff-range data + * extension for the analysis, regardless of whether the data extension is actually used by queries). + */ + analysis_is_diff_informed?: boolean; + /** Name of language that errored during analysis (or undefined if no language failed). */ analyze_failure_language?: string; /** Reports on discrete events associated with this status report. */ @@ -545,6 +551,7 @@ export async function runQueries( ): Promise { const statusReport: QueriesStatusReport = {}; + statusReport.analysis_is_diff_informed = diffRangePackDir !== undefined; const dataExtensionFlags = diffRangePackDir ? [ `--additional-packs=${diffRangePackDir}`, From 071996fbe2aafc9c8cce73ed09679656c8ba6cb7 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Thu, 16 Jan 2025 09:26:22 -0800 Subject: [PATCH 055/132] getDiffRanges: better fallback for absent patch --- lib/analyze.js | 25 +++++++++++++++---------- lib/analyze.js.map | 2 +- lib/analyze.test.js | 12 +++++++++++- lib/analyze.test.js.map | 2 +- src/analyze.test.ts | 13 ++++++++++++- src/analyze.ts | 29 ++++++++++++++++------------- 6 files changed, 56 insertions(+), 27 deletions(-) diff --git a/lib/analyze.js b/lib/analyze.js index 354ca86b0c..775ecd69f1 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -243,6 +243,12 @@ async function getFileDiffsWithBasehead(baseRef, headLabel, logger) { } } function getDiffRanges(fileDiff, logger) { + // Diff-informed queries expect the file path to be absolute. CodeQL always + // uses forward slashes as the path separator, so on Windows we need to + // replace any backslashes with forward slashes. + const filename = path + .join(actionsUtil.getRequiredInput("checkout_path"), fileDiff.filename) + .replaceAll(path.sep, "/"); if (fileDiff.patch === undefined) { if (fileDiff.changes === 0) { // There are situations where a changed file legitimately has no diff. @@ -253,17 +259,16 @@ function getDiffRanges(fileDiff, logger) { return []; } // If a file is reported to have nonzero changes but no patch, that may be - // due to the file diff being too large. In this case, we should return - // undefined to indicate that we cannot process the diff. - logger.warning(`No patch found for file ${fileDiff.filename} with ${fileDiff.changes} changes.`); - return undefined; + // due to the file diff being too large. In this case, we should fall back + // to a special diff range that covers the entire file. + return [ + { + path: filename, + startLine: 0, + endLine: 0, + }, + ]; } - // Diff-informed queries expect the file path to be absolute. CodeQL always - // uses forward slashes as the path separator, so on Windows we need to - // replace any backslashes with forward slashes. - const filename = path - .join(actionsUtil.getRequiredInput("checkout_path"), fileDiff.filename) - .replaceAll(path.sep, "/"); // The 1-based file line number of the current line let currentLine = 0; // The 1-based file line number that starts the current range of added lines diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 8b44a56c3a..d61f50f2e8 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwIA,sCAmCC;AAcD,sCAiBC;AAkDD,8DAgCC;AAgQD,gCA0IC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AAjwBD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,gDAAkC;AAClC,8CAAsB;AACtB,8CAAgC;AAEhC,4DA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A,kBAAkB,GAAG;IAChC,aAAa;CACd,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwIA,sCAmCC;AAcD,sCAiBC;AAkDD,8DAgCC;AAmQD,gCA0IC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AApwBD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,gDAAkC;AAClC,8CAAsB;AACtB,8CAAgC;AAEhC,4DAA8C;AAC9C,6CAA4C;AAC5C,2CAAgD;AAChD,qCAA6C;AAE7C,+CAA8D;AAC9D,+CAAuC;AACvC,mDAA6D;AAC7D,2CAA0D;AAC1D,uCAAmD;AAEnD,qDAAgD;AAChD,mDAAuD;AACvD,6CAAuD;AACvD,6CAA+B;AAC/B,iCAAmC;AAEnC,MAAa,mBAAoB,SAAQ,KAAK;IAC5C,YACS,mBAAwC,EACxC,OAAe,EACf,KAAY;QAEnB,KAAK,CAAC,OAAO,CAAC,CAAC;QAJR,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,YAAO,GAAP,OAAO,CAAQ;QACf,UAAK,GAAL,KAAK,CAAO;QAGnB,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;CACF;AATD,kDASC;AAwFD,KAAK,UAAU,oBAAoB,CAAC,MAAc;IAChD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClD,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5D,+FAA+F;QAC/F,OAAO;IACT,CAAC;IAED,MAAM,CAAC,OAAO,CACZ,iSAAiS;QAC/R,mPAAmP,CACtP,CAAC;IACF,OAAO;AACT,CAAC;AAEM,KAAK,UAAU,aAAa,CACjC,MAAc,EACd,MAA0B,EAC1B,MAAc;IAEd,KAAK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M,QAAQ,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAClE,MAAM,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAEY,QAAA,kBAAkB,GAAG;IAChC,aAAa;CACd,CAAC"} \ No newline at end of file diff --git a/lib/analyze.test.js b/lib/analyze.test.js index a74de5c969..ddaf8cfaca 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -146,7 +146,13 @@ function runGetDiffRanges(changes, patch) { }); (0, ava_1.default)("getDiffRanges: file diff too large", async (t) => { const diffRanges = runGetDiffRanges(1000000, undefined); - t.deepEqual(diffRanges, undefined); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 0, + endLine: 0, + }, + ]); }); (0, ava_1.default)("getDiffRanges: diff thunk with single addition range", async (t) => { const diffRanges = runGetDiffRanges(2, [ @@ -303,4 +309,8 @@ function runGetDiffRanges(changes, patch) { }, ]); }); +(0, ava_1.default)("getDiffRanges: malformed thunk header", async (t) => { + const diffRanges = runGetDiffRanges(2, ["@@ 30 +50,2 @@", "+1", "+2"]); + t.deepEqual(diffRanges, undefined); +}); //# 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 1694ac52ff..1aa1a1b6df 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;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BAAgB,CAAC,CAAC,EAAE,CAAC,gBAAgB,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;IACvE,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;AACrC,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/analyze.test.ts b/src/analyze.test.ts index 39b9f6ae05..20cde745b3 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -144,7 +144,13 @@ test("getDiffRanges: file unchanged", async (t) => { test("getDiffRanges: file diff too large", async (t) => { const diffRanges = runGetDiffRanges(1000000, undefined); - t.deepEqual(diffRanges, undefined); + t.deepEqual(diffRanges, [ + { + path: "/checkout/path/test.txt", + startLine: 0, + endLine: 0, + }, + ]); }); test("getDiffRanges: diff thunk with single addition range", async (t) => { @@ -308,3 +314,8 @@ test("getDiffRanges: no diff context lines", async (t) => { }, ]); }); + +test("getDiffRanges: malformed thunk header", async (t) => { + const diffRanges = runGetDiffRanges(2, ["@@ 30 +50,2 @@", "+1", "+2"]); + t.deepEqual(diffRanges, undefined); +}); diff --git a/src/analyze.ts b/src/analyze.ts index 91a706e06e..d21418d42c 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -387,6 +387,13 @@ function getDiffRanges( fileDiff: FileDiff, logger: Logger, ): DiffThunkRange[] | undefined { + // Diff-informed queries expect the file path to be absolute. CodeQL always + // uses forward slashes as the path separator, so on Windows we need to + // replace any backslashes with forward slashes. + const filename = path + .join(actionsUtil.getRequiredInput("checkout_path"), fileDiff.filename) + .replaceAll(path.sep, "/"); + if (fileDiff.patch === undefined) { if (fileDiff.changes === 0) { // There are situations where a changed file legitimately has no diff. @@ -397,21 +404,17 @@ function getDiffRanges( return []; } // If a file is reported to have nonzero changes but no patch, that may be - // due to the file diff being too large. In this case, we should return - // undefined to indicate that we cannot process the diff. - logger.warning( - `No patch found for file ${fileDiff.filename} with ${fileDiff.changes} changes.`, - ); - return undefined; + // due to the file diff being too large. In this case, we should fall back + // to a special diff range that covers the entire file. + return [ + { + path: filename, + startLine: 0, + endLine: 0, + }, + ]; } - // Diff-informed queries expect the file path to be absolute. CodeQL always - // uses forward slashes as the path separator, so on Windows we need to - // replace any backslashes with forward slashes. - const filename = path - .join(actionsUtil.getRequiredInput("checkout_path"), fileDiff.filename) - .replaceAll(path.sep, "/"); - // The 1-based file line number of the current line let currentLine = 0; // The 1-based file line number that starts the current range of added lines From c16863838b8cb3c55d7f56d546070ebaa43615e5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 17:42:26 +0000 Subject: [PATCH 056/132] build(deps): bump the npm group with 3 updates Bumps the npm group with 3 updates: [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@actions/tool-cache` from 2.0.1 to 2.0.2 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache) Updates `@typescript-eslint/eslint-plugin` from 8.20.0 to 8.21.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.21.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.20.0 to 8.21.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.21.0/packages/parser) --- updated-dependencies: - dependency-name: "@actions/tool-cache" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm ... Signed-off-by: dependabot[bot] --- package-lock.json | 193 +++++++++++++++++++++------------------------- package.json | 6 +- 2 files changed, 93 insertions(+), 106 deletions(-) diff --git a/package-lock.json b/package-lock.json index c7dbdb60ce..0120b09db0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@actions/glob": "^0.5.0", "@actions/http-client": "^2.2.3", "@actions/io": "^1.1.3", - "@actions/tool-cache": "^2.0.1", + "@actions/tool-cache": "^2.0.2", "@octokit/plugin-retry": "^5.0.2", "@octokit/types": "^13.7.0", "@schemastore/package": "0.0.10", @@ -56,8 +56,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.20.0", - "@typescript-eslint/parser": "^8.20.0", + "@typescript-eslint/eslint-plugin": "^8.21.0", + "@typescript-eslint/parser": "^8.21.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", @@ -237,29 +237,16 @@ "license": "MIT" }, "node_modules/@actions/tool-cache": { - "version": "2.0.1", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.2.tgz", + "integrity": "sha512-fBhNNOWxuoLxztQebpOaWu6WeVmuwa77Z+DxIZ1B+OYvGkGQon6kTVg6Z32Cb13WCuw0szqonK+hh03mJV7Z6w==", "license": "MIT", "dependencies": { - "@actions/core": "^1.2.6", + "@actions/core": "^1.11.1", "@actions/exec": "^1.0.0", "@actions/http-client": "^2.0.1", "@actions/io": "^1.1.1", - "semver": "^6.1.0", - "uuid": "^3.3.2" - } - }, - "node_modules/@actions/tool-cache/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@actions/tool-cache/node_modules/uuid": { - "version": "3.4.0", - "license": "MIT", - "bin": { - "uuid": "bin/uuid" + "semver": "^6.1.0" } }, "node_modules/@ava/typescript": { @@ -1373,17 +1360,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.20.0.tgz", - "integrity": "sha512-naduuphVw5StFfqp4Gq4WhIBE2gN1GEmMUExpJYknZJdRnc+2gDzB8Z3+5+/Kv33hPQRDGzQO/0opHE72lZZ6A==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.21.0.tgz", + "integrity": "sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/type-utils": "8.20.0", - "@typescript-eslint/utils": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/type-utils": "8.21.0", + "@typescript-eslint/utils": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1403,14 +1390,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", - "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", + "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1421,9 +1408,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", - "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", + "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", "dev": true, "license": "MIT", "engines": { @@ -1435,14 +1422,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", - "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", + "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1462,16 +1449,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", - "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", + "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0" + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1486,13 +1473,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", - "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", + "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1556,16 +1543,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.20.0.tgz", - "integrity": "sha512-gKXG7A5HMyjDIedBi6bUrDcun8GIjnI8qOwVLiY3rx6T/sHP/19XLJOnIq/FgQvWLHja5JN/LSE7eklNBr612g==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.21.0.tgz", + "integrity": "sha512-Wy+/sdEH9kI3w9civgACwabHbKl+qIOu0uFZ9IMKzX3Jpv9og0ZBJrZExGrPpFAY7rWsXuxs5e7CPPP17A4eYA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4" }, "engines": { @@ -1581,14 +1568,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", - "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", + "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1599,9 +1586,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", - "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", + "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", "dev": true, "license": "MIT", "engines": { @@ -1613,14 +1600,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", - "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", + "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1640,13 +1627,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", - "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", + "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1728,14 +1715,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.20.0.tgz", - "integrity": "sha512-bPC+j71GGvA7rVNAHAtOjbVXbLN5PkwqMvy1cwGeaxUoRQXVuKCebRoLzm+IPW/NtFFpstn1ummSIasD5t60GA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.21.0.tgz", + "integrity": "sha512-95OsL6J2BtzoBxHicoXHxgk3z+9P3BEcQTpBKriqiYzLKnM2DeSqs+sndMKdamU8FosiadQFT3D+BSL9EKnAJQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.20.0", - "@typescript-eslint/utils": "8.20.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/utils": "8.21.0", "debug": "^4.3.4", "ts-api-utils": "^2.0.0" }, @@ -1752,14 +1739,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", - "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", + "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1770,9 +1757,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", - "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", + "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", "dev": true, "license": "MIT", "engines": { @@ -1784,14 +1771,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", - "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", + "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1811,16 +1798,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", - "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", + "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0" + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1835,13 +1822,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", - "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", + "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { diff --git a/package.json b/package.json index 7543cb6e00..fc64f4ebc0 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@actions/glob": "^0.5.0", "@actions/http-client": "^2.2.3", "@actions/io": "^1.1.3", - "@actions/tool-cache": "^2.0.1", + "@actions/tool-cache": "^2.0.2", "@octokit/plugin-retry": "^5.0.2", "@octokit/types": "^13.7.0", "@schemastore/package": "0.0.10", @@ -72,8 +72,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.20.0", - "@typescript-eslint/parser": "^8.20.0", + "@typescript-eslint/eslint-plugin": "^8.21.0", + "@typescript-eslint/parser": "^8.21.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", From 7b7562b1766199469ed7f907ce332bdd498e8a28 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 17:43:54 +0000 Subject: [PATCH 057/132] Update checked-in dependencies --- node_modules/.package-lock.json | 187 +- .../@actions/tool-cache/lib/manifest.js | 19 +- .../@actions/tool-cache/lib/manifest.js.map | 2 +- .../@actions/tool-cache/lib/retry-helper.js | 8 +- .../tool-cache/lib/retry-helper.js.map | 2 +- .../@actions/tool-cache/lib/tool-cache.d.ts | 4 +- .../@actions/tool-cache/lib/tool-cache.js | 45 +- .../@actions/tool-cache/lib/tool-cache.js.map | 2 +- .../tool-cache/node_modules/.bin/semver | 1 - .../tool-cache/node_modules/.bin/uuid | 1 - .../tool-cache/node_modules/semver/LICENSE | 15 - .../tool-cache/node_modules/semver/README.md | 443 ----- .../node_modules/semver/bin/semver.js | 174 -- .../node_modules/semver/package.json | 38 - .../tool-cache/node_modules/semver/range.bnf | 16 - .../tool-cache/node_modules/semver/semver.js | 1643 ----------------- .../tool-cache/node_modules/uuid/AUTHORS | 5 - .../tool-cache/node_modules/uuid/CHANGELOG.md | 119 -- .../tool-cache/node_modules/uuid/LICENSE.md | 21 - .../tool-cache/node_modules/uuid/README.md | 276 --- .../tool-cache/node_modules/uuid/bin/uuid | 65 - .../tool-cache/node_modules/uuid/index.js | 8 - .../node_modules/uuid/lib/bytesToUuid.js | 26 - .../node_modules/uuid/lib/md5-browser.js | 216 --- .../tool-cache/node_modules/uuid/lib/md5.js | 25 - .../node_modules/uuid/lib/rng-browser.js | 34 - .../tool-cache/node_modules/uuid/lib/rng.js | 8 - .../node_modules/uuid/lib/sha1-browser.js | 89 - .../tool-cache/node_modules/uuid/lib/sha1.js | 25 - .../tool-cache/node_modules/uuid/lib/v35.js | 57 - .../tool-cache/node_modules/uuid/package.json | 49 - .../tool-cache/node_modules/uuid/v1.js | 109 -- .../tool-cache/node_modules/uuid/v3.js | 4 - .../tool-cache/node_modules/uuid/v4.js | 29 - .../tool-cache/node_modules/uuid/v5.js | 3 - node_modules/@actions/tool-cache/package.json | 12 +- .../rules/naming-convention-utils/enums.js | 2 +- .../naming-convention-utils/enums.js.map | 2 +- .../rules/naming-convention-utils/format.js | 3 +- .../naming-convention-utils/format.js.map | 2 +- .../parse-options.js.map | 2 +- .../rules/naming-convention-utils/schema.js | 3 +- .../naming-convention-utils/schema.js.map | 2 +- .../rules/naming-convention-utils/shared.js | 2 +- .../naming-convention-utils/shared.js.map | 2 +- .../naming-convention-utils/validator.js.map | 2 +- .../dist/rules/no-base-to-string.js | 38 +- .../dist/rules/no-base-to-string.js.map | 2 +- .../dist/rules/no-duplicate-enum-values.js | 8 + .../rules/no-duplicate-enum-values.js.map | 2 +- .../dist/rules/no-for-in-array.js | 20 +- .../dist/rules/no-for-in-array.js.map | 2 +- .../dist/rules/no-misused-spread.js | 1 + .../dist/rules/no-misused-spread.js.map | 2 +- .../rules/no-unnecessary-type-arguments.js | 4 +- .../no-unnecessary-type-arguments.js.map | 2 +- .../dist/util/collectUnusedVariables.js.map | 2 +- .../dist/util/explicitReturnTypeUtils.js | 6 +- .../dist/util/explicitReturnTypeUtils.js.map | 2 +- .../eslint-plugin/dist/util/index.js | 8 +- .../eslint-plugin/dist/util/index.js.map | 2 +- .../eslint-plugin/dist/util/misc.js | 18 +- .../eslint-plugin/dist/util/misc.js.map | 2 +- .../dist/util/objectIterators.js.map | 2 +- .../docs/rules/no-duplicate-enum-values.mdx | 2 + .../docs/rules/no-misused-spread.mdx | 2 +- .../scope-manager/dist/ID.d.ts | 5 +- .../scope-manager/dist/ID.d.ts.map | 2 +- .../scope-manager/dist/ID.js.map | 2 +- .../scope-manager/dist/ScopeManager.d.ts | 4 +- .../scope-manager/dist/ScopeManager.d.ts.map | 2 +- .../scope-manager/dist/ScopeManager.js.map | 2 +- .../scope-manager/dist/analyze.d.ts | 5 +- .../scope-manager/dist/analyze.d.ts.map | 2 +- .../scope-manager/dist/analyze.js.map | 2 +- .../scope-manager/dist/assert.d.ts | 3 +- .../scope-manager/dist/assert.d.ts.map | 2 +- .../scope-manager/dist/assert.js.map | 2 +- .../definition/CatchClauseDefinition.d.ts | 3 +- .../definition/CatchClauseDefinition.d.ts.map | 2 +- .../definition/CatchClauseDefinition.js.map | 2 +- .../dist/definition/ClassNameDefinition.d.ts | 3 +- .../definition/ClassNameDefinition.d.ts.map | 2 +- .../definition/ClassNameDefinition.js.map | 2 +- .../dist/definition/Definition.d.ts | 3 +- .../dist/definition/Definition.d.ts.map | 2 +- .../dist/definition/DefinitionBase.d.ts | 3 +- .../dist/definition/DefinitionBase.d.ts.map | 2 +- .../dist/definition/DefinitionBase.js.map | 2 +- .../dist/definition/DefinitionType.d.ts | 3 +- .../dist/definition/DefinitionType.d.ts.map | 2 +- .../dist/definition/DefinitionType.js.map | 2 +- .../definition/FunctionNameDefinition.d.ts | 3 +- .../FunctionNameDefinition.d.ts.map | 2 +- .../definition/FunctionNameDefinition.js.map | 2 +- .../ImplicitGlobalVariableDefinition.d.ts | 3 +- .../ImplicitGlobalVariableDefinition.d.ts.map | 2 +- .../ImplicitGlobalVariableDefinition.js.map | 2 +- .../definition/ImportBindingDefinition.d.ts | 3 +- .../ImportBindingDefinition.d.ts.map | 2 +- .../definition/ImportBindingDefinition.js.map | 2 +- .../dist/definition/ParameterDefinition.d.ts | 3 +- .../definition/ParameterDefinition.d.ts.map | 2 +- .../definition/ParameterDefinition.js.map | 2 +- .../definition/TSEnumMemberDefinition.d.ts | 3 +- .../TSEnumMemberDefinition.d.ts.map | 2 +- .../definition/TSEnumMemberDefinition.js.map | 2 +- .../dist/definition/TSEnumNameDefinition.d.ts | 3 +- .../definition/TSEnumNameDefinition.d.ts.map | 2 +- .../definition/TSEnumNameDefinition.js.map | 2 +- .../definition/TSModuleNameDefinition.d.ts | 3 +- .../TSModuleNameDefinition.d.ts.map | 2 +- .../definition/TSModuleNameDefinition.js.map | 2 +- .../dist/definition/TypeDefinition.d.ts | 3 +- .../dist/definition/TypeDefinition.d.ts.map | 2 +- .../dist/definition/TypeDefinition.js.map | 2 +- .../dist/definition/VariableDefinition.d.ts | 3 +- .../definition/VariableDefinition.d.ts.map | 2 +- .../dist/definition/VariableDefinition.js.map | 2 +- .../scope-manager/dist/lib/index.d.ts | 3 +- .../scope-manager/dist/lib/index.d.ts.map | 2 +- .../scope-manager/dist/lib/index.js | 3 +- .../scope-manager/dist/lib/index.js.map | 2 +- .../dist/referencer/ClassVisitor.d.ts | 3 +- .../dist/referencer/ClassVisitor.d.ts.map | 2 +- .../dist/referencer/ClassVisitor.js.map | 2 +- .../dist/referencer/ExportVisitor.d.ts | 5 +- .../dist/referencer/ExportVisitor.d.ts.map | 2 +- .../dist/referencer/ExportVisitor.js.map | 2 +- .../dist/referencer/ImportVisitor.d.ts | 3 +- .../dist/referencer/ImportVisitor.d.ts.map | 2 +- .../dist/referencer/ImportVisitor.js.map | 2 +- .../dist/referencer/PatternVisitor.d.ts | 7 +- .../dist/referencer/PatternVisitor.d.ts.map | 2 +- .../dist/referencer/PatternVisitor.js.map | 2 +- .../dist/referencer/Reference.d.ts | 9 +- .../dist/referencer/Reference.d.ts.map | 2 +- .../dist/referencer/Reference.js | 2 +- .../dist/referencer/Reference.js.map | 2 +- .../dist/referencer/Referencer.d.ts | 8 +- .../dist/referencer/Referencer.d.ts.map | 2 +- .../dist/referencer/Referencer.js | 33 +- .../dist/referencer/Referencer.js.map | 2 +- .../dist/referencer/TypeVisitor.d.ts | 3 +- .../dist/referencer/TypeVisitor.d.ts.map | 2 +- .../dist/referencer/TypeVisitor.js.map | 2 +- .../dist/referencer/Visitor.d.ts | 3 +- .../dist/referencer/Visitor.d.ts.map | 2 +- .../dist/referencer/Visitor.js.map | 2 +- .../dist/referencer/VisitorBase.d.ts | 5 +- .../dist/referencer/VisitorBase.d.ts.map | 2 +- .../dist/referencer/VisitorBase.js.map | 2 +- .../scope-manager/dist/scope/BlockScope.d.ts | 3 +- .../dist/scope/BlockScope.d.ts.map | 2 +- .../dist/scope/BlockScope.js.map | 2 +- .../scope-manager/dist/scope/CatchScope.d.ts | 3 +- .../dist/scope/CatchScope.d.ts.map | 2 +- .../dist/scope/CatchScope.js.map | 2 +- .../scope/ClassFieldInitializerScope.d.ts | 3 +- .../scope/ClassFieldInitializerScope.d.ts.map | 2 +- .../scope/ClassFieldInitializerScope.js.map | 2 +- .../scope-manager/dist/scope/ClassScope.d.ts | 3 +- .../dist/scope/ClassScope.d.ts.map | 2 +- .../dist/scope/ClassScope.js.map | 2 +- .../dist/scope/ClassStaticBlockScope.d.ts | 3 +- .../dist/scope/ClassStaticBlockScope.d.ts.map | 2 +- .../dist/scope/ClassStaticBlockScope.js.map | 2 +- .../dist/scope/ConditionalTypeScope.d.ts | 3 +- .../dist/scope/ConditionalTypeScope.d.ts.map | 2 +- .../dist/scope/ConditionalTypeScope.js.map | 2 +- .../scope-manager/dist/scope/ForScope.d.ts | 3 +- .../dist/scope/ForScope.d.ts.map | 2 +- .../scope-manager/dist/scope/ForScope.js.map | 2 +- .../scope/FunctionExpressionNameScope.d.ts | 3 +- .../FunctionExpressionNameScope.d.ts.map | 2 +- .../scope/FunctionExpressionNameScope.js.map | 2 +- .../dist/scope/FunctionScope.d.ts | 3 +- .../dist/scope/FunctionScope.d.ts.map | 2 +- .../dist/scope/FunctionScope.js.map | 2 +- .../dist/scope/FunctionTypeScope.d.ts | 3 +- .../dist/scope/FunctionTypeScope.d.ts.map | 2 +- .../dist/scope/FunctionTypeScope.js.map | 2 +- .../scope-manager/dist/scope/GlobalScope.d.ts | 3 +- .../dist/scope/GlobalScope.d.ts.map | 2 +- .../dist/scope/GlobalScope.js.map | 2 +- .../dist/scope/MappedTypeScope.d.ts | 3 +- .../dist/scope/MappedTypeScope.d.ts.map | 2 +- .../dist/scope/MappedTypeScope.js.map | 2 +- .../scope-manager/dist/scope/ModuleScope.d.ts | 3 +- .../dist/scope/ModuleScope.d.ts.map | 2 +- .../dist/scope/ModuleScope.js.map | 2 +- .../scope-manager/dist/scope/Scope.d.ts | 3 +- .../scope-manager/dist/scope/Scope.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeBase.d.ts | 4 +- .../dist/scope/ScopeBase.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeBase.js.map | 2 +- .../scope-manager/dist/scope/ScopeType.d.ts | 3 +- .../dist/scope/ScopeType.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeType.js.map | 2 +- .../scope-manager/dist/scope/SwitchScope.d.ts | 3 +- .../dist/scope/SwitchScope.d.ts.map | 2 +- .../dist/scope/SwitchScope.js.map | 2 +- .../scope-manager/dist/scope/TSEnumScope.d.ts | 3 +- .../dist/scope/TSEnumScope.d.ts.map | 2 +- .../dist/scope/TSEnumScope.js.map | 2 +- .../dist/scope/TSModuleScope.d.ts | 3 +- .../dist/scope/TSModuleScope.d.ts.map | 2 +- .../dist/scope/TSModuleScope.js.map | 2 +- .../scope-manager/dist/scope/TypeScope.d.ts | 3 +- .../dist/scope/TypeScope.d.ts.map | 2 +- .../scope-manager/dist/scope/TypeScope.js.map | 2 +- .../scope-manager/dist/scope/WithScope.d.ts | 3 +- .../dist/scope/WithScope.d.ts.map | 2 +- .../scope-manager/dist/scope/WithScope.js.map | 2 +- .../dist/variable/ESLintScopeVariable.d.ts | 5 +- .../variable/ESLintScopeVariable.d.ts.map | 2 +- .../dist/variable/ESLintScopeVariable.js | 2 +- .../dist/variable/ESLintScopeVariable.js.map | 2 +- .../dist/variable/ImplicitLibVariable.d.ts | 5 +- .../variable/ImplicitLibVariable.d.ts.map | 2 +- .../dist/variable/ImplicitLibVariable.js.map | 2 +- .../scope-manager/dist/variable/Variable.d.ts | 3 +- .../dist/variable/Variable.d.ts.map | 2 +- .../dist/variable/Variable.js.map | 2 +- .../dist/variable/VariableBase.d.ts | 3 +- .../dist/variable/VariableBase.d.ts.map | 2 +- .../dist/variable/VariableBase.js.map | 2 +- .../scope-manager/package.json | 8 +- .../types/dist/generated/ast-spec.d.ts | 1 + .../types/dist/generated/ast-spec.d.ts.map | 2 +- .../@typescript-eslint/types/dist/lib.d.ts | 3 +- .../types/dist/lib.d.ts.map | 2 +- .../types/dist/parser-options.d.ts | 17 +- .../types/dist/parser-options.d.ts.map | 2 +- .../types/dist/ts-estree.d.ts | 2 +- .../types/dist/ts-estree.d.ts.map | 2 +- .../types/dist/ts-estree.js.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/dist/convert.d.ts.map | 2 +- .../typescript-estree/dist/convert.js | 1 + .../typescript-estree/dist/convert.js.map | 2 +- .../WatchCompilerHostOfConfigFile.d.ts | 4 +- .../WatchCompilerHostOfConfigFile.d.ts.map | 2 +- .../create-program/createIsolatedProgram.d.ts | 3 +- .../createIsolatedProgram.d.ts.map | 2 +- .../createIsolatedProgram.js.map | 2 +- .../dist/create-program/createSourceFile.d.ts | 5 +- .../create-program/createSourceFile.d.ts.map | 2 +- .../dist/create-program/createSourceFile.js | 2 +- .../create-program/createSourceFile.js.map | 2 +- .../create-program/getParsedConfigFile.d.ts | 3 +- .../getParsedConfigFile.d.ts.map | 2 +- .../create-program/getParsedConfigFile.js.map | 2 +- .../dist/create-program/getScriptKind.d.ts | 5 +- .../create-program/getScriptKind.d.ts.map | 2 +- .../dist/create-program/getScriptKind.js | 2 +- .../dist/create-program/getScriptKind.js.map | 2 +- .../getWatchProgramsForProjects.d.ts | 5 +- .../getWatchProgramsForProjects.d.ts.map | 2 +- .../getWatchProgramsForProjects.js.map | 2 +- .../dist/create-program/shared.d.ts | 25 +- .../dist/create-program/shared.d.ts.map | 2 +- .../dist/create-program/shared.js | 14 +- .../dist/create-program/shared.js.map | 2 +- .../create-program/useProvidedPrograms.d.ts | 5 +- .../useProvidedPrograms.d.ts.map | 2 +- .../create-program/useProvidedPrograms.js | 2 +- .../create-program/useProvidedPrograms.js.map | 2 +- .../typescript-estree/dist/parser.d.ts | 15 +- .../typescript-estree/dist/parser.d.ts.map | 2 +- .../typescript-estree/dist/parser.js | 4 +- .../typescript-estree/dist/parser.js.map | 2 +- .../typescript-estree/dist/version-check.d.ts | 4 +- .../dist/version-check.d.ts.map | 2 +- .../typescript-estree/dist/version-check.js | 5 +- .../dist/version-check.js.map | 2 +- .../typescript-estree/package.json | 6 +- .../eslint-utils/PatternMatcher.d.ts | 4 +- .../eslint-utils/PatternMatcher.d.ts.map | 2 +- .../ast-utils/eslint-utils/PatternMatcher.js | 3 +- .../eslint-utils/PatternMatcher.js.map | 2 +- .../eslint-utils/ReferenceTracker.d.ts | 4 +- .../eslint-utils/ReferenceTracker.d.ts.map | 2 +- .../eslint-utils/ReferenceTracker.js | 3 +- .../eslint-utils/ReferenceTracker.js.map | 2 +- .../ast-utils/eslint-utils/astUtilities.d.ts | 15 +- .../eslint-utils/astUtilities.d.ts.map | 2 +- .../ast-utils/eslint-utils/astUtilities.js | 21 +- .../eslint-utils/astUtilities.js.map | 2 +- .../ast-utils/eslint-utils/predicates.d.ts | 46 +- .../eslint-utils/predicates.d.ts.map | 2 +- .../dist/ast-utils/eslint-utils/predicates.js | 68 +- .../ast-utils/eslint-utils/predicates.js.map | 2 +- .../ast-utils/eslint-utils/scopeAnalysis.d.ts | 5 +- .../eslint-utils/scopeAnalysis.d.ts.map | 2 +- .../ast-utils/eslint-utils/scopeAnalysis.js | 6 +- .../eslint-utils/scopeAnalysis.js.map | 2 +- .../utils/dist/ast-utils/misc.d.ts | 5 +- .../utils/dist/ast-utils/misc.d.ts.map | 2 +- .../utils/dist/ast-utils/misc.js | 3 +- .../utils/dist/ast-utils/misc.js.map | 2 +- .../utils/dist/ast-utils/predicates.d.ts | 45 +- .../utils/dist/ast-utils/predicates.d.ts.map | 2 +- .../utils/dist/ast-utils/predicates.js | 71 +- .../utils/dist/ast-utils/predicates.js.map | 2 +- .../dist/eslint-utils/InferTypesFromRule.d.ts | 5 +- .../eslint-utils/InferTypesFromRule.d.ts.map | 2 +- .../utils/dist/eslint-utils/applyDefault.d.ts | 3 +- .../dist/eslint-utils/applyDefault.d.ts.map | 2 +- .../dist/eslint-utils/applyDefault.js.map | 2 +- .../utils/dist/eslint-utils/deepMerge.d.ts | 3 +- .../dist/eslint-utils/deepMerge.d.ts.map | 2 +- .../utils/dist/eslint-utils/deepMerge.js | 2 +- .../utils/dist/eslint-utils/deepMerge.js.map | 2 +- .../dist/eslint-utils/getParserServices.d.ts | 9 +- .../eslint-utils/getParserServices.d.ts.map | 2 +- .../eslint-utils/getParserServices.js.map | 2 +- .../utils/dist/eslint-utils/nullThrows.d.ts | 5 +- .../dist/eslint-utils/nullThrows.d.ts.map | 2 +- .../utils/dist/eslint-utils/nullThrows.js | 3 +- .../utils/dist/eslint-utils/nullThrows.js.map | 2 +- .../utils/dist/ts-eslint/AST.js | 2 +- .../utils/dist/ts-eslint/AST.js.map | 2 +- .../utils/dist/ts-eslint/Linter.js | 2 +- .../utils/dist/ts-eslint/Linter.js.map | 2 +- .../utils/dist/ts-eslint/RuleTester.d.ts | 18 +- .../utils/dist/ts-eslint/RuleTester.d.ts.map | 2 +- .../utils/dist/ts-eslint/RuleTester.js.map | 2 +- .../utils/dist/ts-eslint/Scope.d.ts | 3 +- .../utils/dist/ts-eslint/Scope.d.ts.map | 2 +- .../utils/dist/ts-eslint/Scope.js.map | 2 +- .../utils/dist/ts-eslint/SourceCode.js | 2 +- .../utils/dist/ts-eslint/SourceCode.js.map | 2 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/dist/get-keys.d.ts | 3 +- .../visitor-keys/dist/get-keys.d.ts.map | 2 +- .../visitor-keys/dist/get-keys.js | 3 +- .../visitor-keys/dist/get-keys.js.map | 2 +- .../visitor-keys/dist/visitor-keys.d.ts | 5 +- .../visitor-keys/dist/visitor-keys.d.ts.map | 2 +- .../visitor-keys/dist/visitor-keys.js | 3 +- .../visitor-keys/dist/visitor-keys.js.map | 2 +- .../visitor-keys/package.json | 4 +- .../eslint-plugin/package.json | 14 +- .../eslint-plugin/rules.d.ts | 1 + .../parser/dist/parser.d.ts | 5 +- .../parser/dist/parser.d.ts.map | 2 +- .../parser/dist/parser.js.map | 2 +- .../scope-manager/dist/ID.d.ts | 5 +- .../scope-manager/dist/ID.d.ts.map | 2 +- .../scope-manager/dist/ID.js.map | 2 +- .../scope-manager/dist/ScopeManager.d.ts | 4 +- .../scope-manager/dist/ScopeManager.d.ts.map | 2 +- .../scope-manager/dist/ScopeManager.js.map | 2 +- .../scope-manager/dist/analyze.d.ts | 5 +- .../scope-manager/dist/analyze.d.ts.map | 2 +- .../scope-manager/dist/analyze.js.map | 2 +- .../scope-manager/dist/assert.d.ts | 3 +- .../scope-manager/dist/assert.d.ts.map | 2 +- .../scope-manager/dist/assert.js.map | 2 +- .../definition/CatchClauseDefinition.d.ts | 3 +- .../definition/CatchClauseDefinition.d.ts.map | 2 +- .../definition/CatchClauseDefinition.js.map | 2 +- .../dist/definition/ClassNameDefinition.d.ts | 3 +- .../definition/ClassNameDefinition.d.ts.map | 2 +- .../definition/ClassNameDefinition.js.map | 2 +- .../dist/definition/Definition.d.ts | 3 +- .../dist/definition/Definition.d.ts.map | 2 +- .../dist/definition/DefinitionBase.d.ts | 3 +- .../dist/definition/DefinitionBase.d.ts.map | 2 +- .../dist/definition/DefinitionBase.js.map | 2 +- .../dist/definition/DefinitionType.d.ts | 3 +- .../dist/definition/DefinitionType.d.ts.map | 2 +- .../dist/definition/DefinitionType.js.map | 2 +- .../definition/FunctionNameDefinition.d.ts | 3 +- .../FunctionNameDefinition.d.ts.map | 2 +- .../definition/FunctionNameDefinition.js.map | 2 +- .../ImplicitGlobalVariableDefinition.d.ts | 3 +- .../ImplicitGlobalVariableDefinition.d.ts.map | 2 +- .../ImplicitGlobalVariableDefinition.js.map | 2 +- .../definition/ImportBindingDefinition.d.ts | 3 +- .../ImportBindingDefinition.d.ts.map | 2 +- .../definition/ImportBindingDefinition.js.map | 2 +- .../dist/definition/ParameterDefinition.d.ts | 3 +- .../definition/ParameterDefinition.d.ts.map | 2 +- .../definition/ParameterDefinition.js.map | 2 +- .../definition/TSEnumMemberDefinition.d.ts | 3 +- .../TSEnumMemberDefinition.d.ts.map | 2 +- .../definition/TSEnumMemberDefinition.js.map | 2 +- .../dist/definition/TSEnumNameDefinition.d.ts | 3 +- .../definition/TSEnumNameDefinition.d.ts.map | 2 +- .../definition/TSEnumNameDefinition.js.map | 2 +- .../definition/TSModuleNameDefinition.d.ts | 3 +- .../TSModuleNameDefinition.d.ts.map | 2 +- .../definition/TSModuleNameDefinition.js.map | 2 +- .../dist/definition/TypeDefinition.d.ts | 3 +- .../dist/definition/TypeDefinition.d.ts.map | 2 +- .../dist/definition/TypeDefinition.js.map | 2 +- .../dist/definition/VariableDefinition.d.ts | 3 +- .../definition/VariableDefinition.d.ts.map | 2 +- .../dist/definition/VariableDefinition.js.map | 2 +- .../scope-manager/dist/lib/index.d.ts | 3 +- .../scope-manager/dist/lib/index.d.ts.map | 2 +- .../scope-manager/dist/lib/index.js | 3 +- .../scope-manager/dist/lib/index.js.map | 2 +- .../dist/referencer/ClassVisitor.d.ts | 3 +- .../dist/referencer/ClassVisitor.d.ts.map | 2 +- .../dist/referencer/ClassVisitor.js.map | 2 +- .../dist/referencer/ExportVisitor.d.ts | 5 +- .../dist/referencer/ExportVisitor.d.ts.map | 2 +- .../dist/referencer/ExportVisitor.js.map | 2 +- .../dist/referencer/ImportVisitor.d.ts | 3 +- .../dist/referencer/ImportVisitor.d.ts.map | 2 +- .../dist/referencer/ImportVisitor.js.map | 2 +- .../dist/referencer/PatternVisitor.d.ts | 7 +- .../dist/referencer/PatternVisitor.d.ts.map | 2 +- .../dist/referencer/PatternVisitor.js.map | 2 +- .../dist/referencer/Reference.d.ts | 9 +- .../dist/referencer/Reference.d.ts.map | 2 +- .../dist/referencer/Reference.js | 2 +- .../dist/referencer/Reference.js.map | 2 +- .../dist/referencer/Referencer.d.ts | 8 +- .../dist/referencer/Referencer.d.ts.map | 2 +- .../dist/referencer/Referencer.js | 33 +- .../dist/referencer/Referencer.js.map | 2 +- .../dist/referencer/TypeVisitor.d.ts | 3 +- .../dist/referencer/TypeVisitor.d.ts.map | 2 +- .../dist/referencer/TypeVisitor.js.map | 2 +- .../dist/referencer/Visitor.d.ts | 3 +- .../dist/referencer/Visitor.d.ts.map | 2 +- .../dist/referencer/Visitor.js.map | 2 +- .../dist/referencer/VisitorBase.d.ts | 5 +- .../dist/referencer/VisitorBase.d.ts.map | 2 +- .../dist/referencer/VisitorBase.js.map | 2 +- .../scope-manager/dist/scope/BlockScope.d.ts | 3 +- .../dist/scope/BlockScope.d.ts.map | 2 +- .../dist/scope/BlockScope.js.map | 2 +- .../scope-manager/dist/scope/CatchScope.d.ts | 3 +- .../dist/scope/CatchScope.d.ts.map | 2 +- .../dist/scope/CatchScope.js.map | 2 +- .../scope/ClassFieldInitializerScope.d.ts | 3 +- .../scope/ClassFieldInitializerScope.d.ts.map | 2 +- .../scope/ClassFieldInitializerScope.js.map | 2 +- .../scope-manager/dist/scope/ClassScope.d.ts | 3 +- .../dist/scope/ClassScope.d.ts.map | 2 +- .../dist/scope/ClassScope.js.map | 2 +- .../dist/scope/ClassStaticBlockScope.d.ts | 3 +- .../dist/scope/ClassStaticBlockScope.d.ts.map | 2 +- .../dist/scope/ClassStaticBlockScope.js.map | 2 +- .../dist/scope/ConditionalTypeScope.d.ts | 3 +- .../dist/scope/ConditionalTypeScope.d.ts.map | 2 +- .../dist/scope/ConditionalTypeScope.js.map | 2 +- .../scope-manager/dist/scope/ForScope.d.ts | 3 +- .../dist/scope/ForScope.d.ts.map | 2 +- .../scope-manager/dist/scope/ForScope.js.map | 2 +- .../scope/FunctionExpressionNameScope.d.ts | 3 +- .../FunctionExpressionNameScope.d.ts.map | 2 +- .../scope/FunctionExpressionNameScope.js.map | 2 +- .../dist/scope/FunctionScope.d.ts | 3 +- .../dist/scope/FunctionScope.d.ts.map | 2 +- .../dist/scope/FunctionScope.js.map | 2 +- .../dist/scope/FunctionTypeScope.d.ts | 3 +- .../dist/scope/FunctionTypeScope.d.ts.map | 2 +- .../dist/scope/FunctionTypeScope.js.map | 2 +- .../scope-manager/dist/scope/GlobalScope.d.ts | 3 +- .../dist/scope/GlobalScope.d.ts.map | 2 +- .../dist/scope/GlobalScope.js.map | 2 +- .../dist/scope/MappedTypeScope.d.ts | 3 +- .../dist/scope/MappedTypeScope.d.ts.map | 2 +- .../dist/scope/MappedTypeScope.js.map | 2 +- .../scope-manager/dist/scope/ModuleScope.d.ts | 3 +- .../dist/scope/ModuleScope.d.ts.map | 2 +- .../dist/scope/ModuleScope.js.map | 2 +- .../scope-manager/dist/scope/Scope.d.ts | 3 +- .../scope-manager/dist/scope/Scope.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeBase.d.ts | 4 +- .../dist/scope/ScopeBase.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeBase.js.map | 2 +- .../scope-manager/dist/scope/ScopeType.d.ts | 3 +- .../dist/scope/ScopeType.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeType.js.map | 2 +- .../scope-manager/dist/scope/SwitchScope.d.ts | 3 +- .../dist/scope/SwitchScope.d.ts.map | 2 +- .../dist/scope/SwitchScope.js.map | 2 +- .../scope-manager/dist/scope/TSEnumScope.d.ts | 3 +- .../dist/scope/TSEnumScope.d.ts.map | 2 +- .../dist/scope/TSEnumScope.js.map | 2 +- .../dist/scope/TSModuleScope.d.ts | 3 +- .../dist/scope/TSModuleScope.d.ts.map | 2 +- .../dist/scope/TSModuleScope.js.map | 2 +- .../scope-manager/dist/scope/TypeScope.d.ts | 3 +- .../dist/scope/TypeScope.d.ts.map | 2 +- .../scope-manager/dist/scope/TypeScope.js.map | 2 +- .../scope-manager/dist/scope/WithScope.d.ts | 3 +- .../dist/scope/WithScope.d.ts.map | 2 +- .../scope-manager/dist/scope/WithScope.js.map | 2 +- .../dist/variable/ESLintScopeVariable.d.ts | 5 +- .../variable/ESLintScopeVariable.d.ts.map | 2 +- .../dist/variable/ESLintScopeVariable.js | 2 +- .../dist/variable/ESLintScopeVariable.js.map | 2 +- .../dist/variable/ImplicitLibVariable.d.ts | 5 +- .../variable/ImplicitLibVariable.d.ts.map | 2 +- .../dist/variable/ImplicitLibVariable.js.map | 2 +- .../scope-manager/dist/variable/Variable.d.ts | 3 +- .../dist/variable/Variable.d.ts.map | 2 +- .../dist/variable/Variable.js.map | 2 +- .../dist/variable/VariableBase.d.ts | 3 +- .../dist/variable/VariableBase.d.ts.map | 2 +- .../dist/variable/VariableBase.js.map | 2 +- .../scope-manager/package.json | 8 +- .../types/dist/generated/ast-spec.d.ts | 1 + .../types/dist/generated/ast-spec.d.ts.map | 2 +- .../@typescript-eslint/types/dist/lib.d.ts | 3 +- .../types/dist/lib.d.ts.map | 2 +- .../types/dist/parser-options.d.ts | 17 +- .../types/dist/parser-options.d.ts.map | 2 +- .../types/dist/ts-estree.d.ts | 2 +- .../types/dist/ts-estree.d.ts.map | 2 +- .../types/dist/ts-estree.js.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/dist/convert.d.ts.map | 2 +- .../typescript-estree/dist/convert.js | 1 + .../typescript-estree/dist/convert.js.map | 2 +- .../WatchCompilerHostOfConfigFile.d.ts | 4 +- .../WatchCompilerHostOfConfigFile.d.ts.map | 2 +- .../create-program/createIsolatedProgram.d.ts | 3 +- .../createIsolatedProgram.d.ts.map | 2 +- .../createIsolatedProgram.js.map | 2 +- .../dist/create-program/createSourceFile.d.ts | 5 +- .../create-program/createSourceFile.d.ts.map | 2 +- .../dist/create-program/createSourceFile.js | 2 +- .../create-program/createSourceFile.js.map | 2 +- .../create-program/getParsedConfigFile.d.ts | 3 +- .../getParsedConfigFile.d.ts.map | 2 +- .../create-program/getParsedConfigFile.js.map | 2 +- .../dist/create-program/getScriptKind.d.ts | 5 +- .../create-program/getScriptKind.d.ts.map | 2 +- .../dist/create-program/getScriptKind.js | 2 +- .../dist/create-program/getScriptKind.js.map | 2 +- .../getWatchProgramsForProjects.d.ts | 5 +- .../getWatchProgramsForProjects.d.ts.map | 2 +- .../getWatchProgramsForProjects.js.map | 2 +- .../dist/create-program/shared.d.ts | 25 +- .../dist/create-program/shared.d.ts.map | 2 +- .../dist/create-program/shared.js | 14 +- .../dist/create-program/shared.js.map | 2 +- .../create-program/useProvidedPrograms.d.ts | 5 +- .../useProvidedPrograms.d.ts.map | 2 +- .../create-program/useProvidedPrograms.js | 2 +- .../create-program/useProvidedPrograms.js.map | 2 +- .../typescript-estree/dist/parser.d.ts | 15 +- .../typescript-estree/dist/parser.d.ts.map | 2 +- .../typescript-estree/dist/parser.js | 4 +- .../typescript-estree/dist/parser.js.map | 2 +- .../typescript-estree/dist/version-check.d.ts | 4 +- .../dist/version-check.d.ts.map | 2 +- .../typescript-estree/dist/version-check.js | 5 +- .../dist/version-check.js.map | 2 +- .../typescript-estree/package.json | 6 +- .../visitor-keys/dist/get-keys.d.ts | 3 +- .../visitor-keys/dist/get-keys.d.ts.map | 2 +- .../visitor-keys/dist/get-keys.js | 3 +- .../visitor-keys/dist/get-keys.js.map | 2 +- .../visitor-keys/dist/visitor-keys.d.ts | 5 +- .../visitor-keys/dist/visitor-keys.d.ts.map | 2 +- .../visitor-keys/dist/visitor-keys.js | 3 +- .../visitor-keys/dist/visitor-keys.js.map | 2 +- .../visitor-keys/package.json | 4 +- .../@typescript-eslint/parser/package.json | 10 +- .../type-utils/dist/isTypeReadonly.d.ts | 3 +- .../type-utils/dist/isTypeReadonly.d.ts.map | 2 +- .../type-utils/dist/isTypeReadonly.js.map | 2 +- .../type-utils/dist/requiresQuoting.d.ts | 3 +- .../type-utils/dist/requiresQuoting.d.ts.map | 2 +- .../type-utils/dist/requiresQuoting.js.map | 2 +- .../scope-manager/dist/ID.d.ts | 5 +- .../scope-manager/dist/ID.d.ts.map | 2 +- .../scope-manager/dist/ID.js.map | 2 +- .../scope-manager/dist/ScopeManager.d.ts | 4 +- .../scope-manager/dist/ScopeManager.d.ts.map | 2 +- .../scope-manager/dist/ScopeManager.js.map | 2 +- .../scope-manager/dist/analyze.d.ts | 5 +- .../scope-manager/dist/analyze.d.ts.map | 2 +- .../scope-manager/dist/analyze.js.map | 2 +- .../scope-manager/dist/assert.d.ts | 3 +- .../scope-manager/dist/assert.d.ts.map | 2 +- .../scope-manager/dist/assert.js.map | 2 +- .../definition/CatchClauseDefinition.d.ts | 3 +- .../definition/CatchClauseDefinition.d.ts.map | 2 +- .../definition/CatchClauseDefinition.js.map | 2 +- .../dist/definition/ClassNameDefinition.d.ts | 3 +- .../definition/ClassNameDefinition.d.ts.map | 2 +- .../definition/ClassNameDefinition.js.map | 2 +- .../dist/definition/Definition.d.ts | 3 +- .../dist/definition/Definition.d.ts.map | 2 +- .../dist/definition/DefinitionBase.d.ts | 3 +- .../dist/definition/DefinitionBase.d.ts.map | 2 +- .../dist/definition/DefinitionBase.js.map | 2 +- .../dist/definition/DefinitionType.d.ts | 3 +- .../dist/definition/DefinitionType.d.ts.map | 2 +- .../dist/definition/DefinitionType.js.map | 2 +- .../definition/FunctionNameDefinition.d.ts | 3 +- .../FunctionNameDefinition.d.ts.map | 2 +- .../definition/FunctionNameDefinition.js.map | 2 +- .../ImplicitGlobalVariableDefinition.d.ts | 3 +- .../ImplicitGlobalVariableDefinition.d.ts.map | 2 +- .../ImplicitGlobalVariableDefinition.js.map | 2 +- .../definition/ImportBindingDefinition.d.ts | 3 +- .../ImportBindingDefinition.d.ts.map | 2 +- .../definition/ImportBindingDefinition.js.map | 2 +- .../dist/definition/ParameterDefinition.d.ts | 3 +- .../definition/ParameterDefinition.d.ts.map | 2 +- .../definition/ParameterDefinition.js.map | 2 +- .../definition/TSEnumMemberDefinition.d.ts | 3 +- .../TSEnumMemberDefinition.d.ts.map | 2 +- .../definition/TSEnumMemberDefinition.js.map | 2 +- .../dist/definition/TSEnumNameDefinition.d.ts | 3 +- .../definition/TSEnumNameDefinition.d.ts.map | 2 +- .../definition/TSEnumNameDefinition.js.map | 2 +- .../definition/TSModuleNameDefinition.d.ts | 3 +- .../TSModuleNameDefinition.d.ts.map | 2 +- .../definition/TSModuleNameDefinition.js.map | 2 +- .../dist/definition/TypeDefinition.d.ts | 3 +- .../dist/definition/TypeDefinition.d.ts.map | 2 +- .../dist/definition/TypeDefinition.js.map | 2 +- .../dist/definition/VariableDefinition.d.ts | 3 +- .../definition/VariableDefinition.d.ts.map | 2 +- .../dist/definition/VariableDefinition.js.map | 2 +- .../scope-manager/dist/lib/index.d.ts | 3 +- .../scope-manager/dist/lib/index.d.ts.map | 2 +- .../scope-manager/dist/lib/index.js | 3 +- .../scope-manager/dist/lib/index.js.map | 2 +- .../dist/referencer/ClassVisitor.d.ts | 3 +- .../dist/referencer/ClassVisitor.d.ts.map | 2 +- .../dist/referencer/ClassVisitor.js.map | 2 +- .../dist/referencer/ExportVisitor.d.ts | 5 +- .../dist/referencer/ExportVisitor.d.ts.map | 2 +- .../dist/referencer/ExportVisitor.js.map | 2 +- .../dist/referencer/ImportVisitor.d.ts | 3 +- .../dist/referencer/ImportVisitor.d.ts.map | 2 +- .../dist/referencer/ImportVisitor.js.map | 2 +- .../dist/referencer/PatternVisitor.d.ts | 7 +- .../dist/referencer/PatternVisitor.d.ts.map | 2 +- .../dist/referencer/PatternVisitor.js.map | 2 +- .../dist/referencer/Reference.d.ts | 9 +- .../dist/referencer/Reference.d.ts.map | 2 +- .../dist/referencer/Reference.js | 2 +- .../dist/referencer/Reference.js.map | 2 +- .../dist/referencer/Referencer.d.ts | 8 +- .../dist/referencer/Referencer.d.ts.map | 2 +- .../dist/referencer/Referencer.js | 33 +- .../dist/referencer/Referencer.js.map | 2 +- .../dist/referencer/TypeVisitor.d.ts | 3 +- .../dist/referencer/TypeVisitor.d.ts.map | 2 +- .../dist/referencer/TypeVisitor.js.map | 2 +- .../dist/referencer/Visitor.d.ts | 3 +- .../dist/referencer/Visitor.d.ts.map | 2 +- .../dist/referencer/Visitor.js.map | 2 +- .../dist/referencer/VisitorBase.d.ts | 5 +- .../dist/referencer/VisitorBase.d.ts.map | 2 +- .../dist/referencer/VisitorBase.js.map | 2 +- .../scope-manager/dist/scope/BlockScope.d.ts | 3 +- .../dist/scope/BlockScope.d.ts.map | 2 +- .../dist/scope/BlockScope.js.map | 2 +- .../scope-manager/dist/scope/CatchScope.d.ts | 3 +- .../dist/scope/CatchScope.d.ts.map | 2 +- .../dist/scope/CatchScope.js.map | 2 +- .../scope/ClassFieldInitializerScope.d.ts | 3 +- .../scope/ClassFieldInitializerScope.d.ts.map | 2 +- .../scope/ClassFieldInitializerScope.js.map | 2 +- .../scope-manager/dist/scope/ClassScope.d.ts | 3 +- .../dist/scope/ClassScope.d.ts.map | 2 +- .../dist/scope/ClassScope.js.map | 2 +- .../dist/scope/ClassStaticBlockScope.d.ts | 3 +- .../dist/scope/ClassStaticBlockScope.d.ts.map | 2 +- .../dist/scope/ClassStaticBlockScope.js.map | 2 +- .../dist/scope/ConditionalTypeScope.d.ts | 3 +- .../dist/scope/ConditionalTypeScope.d.ts.map | 2 +- .../dist/scope/ConditionalTypeScope.js.map | 2 +- .../scope-manager/dist/scope/ForScope.d.ts | 3 +- .../dist/scope/ForScope.d.ts.map | 2 +- .../scope-manager/dist/scope/ForScope.js.map | 2 +- .../scope/FunctionExpressionNameScope.d.ts | 3 +- .../FunctionExpressionNameScope.d.ts.map | 2 +- .../scope/FunctionExpressionNameScope.js.map | 2 +- .../dist/scope/FunctionScope.d.ts | 3 +- .../dist/scope/FunctionScope.d.ts.map | 2 +- .../dist/scope/FunctionScope.js.map | 2 +- .../dist/scope/FunctionTypeScope.d.ts | 3 +- .../dist/scope/FunctionTypeScope.d.ts.map | 2 +- .../dist/scope/FunctionTypeScope.js.map | 2 +- .../scope-manager/dist/scope/GlobalScope.d.ts | 3 +- .../dist/scope/GlobalScope.d.ts.map | 2 +- .../dist/scope/GlobalScope.js.map | 2 +- .../dist/scope/MappedTypeScope.d.ts | 3 +- .../dist/scope/MappedTypeScope.d.ts.map | 2 +- .../dist/scope/MappedTypeScope.js.map | 2 +- .../scope-manager/dist/scope/ModuleScope.d.ts | 3 +- .../dist/scope/ModuleScope.d.ts.map | 2 +- .../dist/scope/ModuleScope.js.map | 2 +- .../scope-manager/dist/scope/Scope.d.ts | 3 +- .../scope-manager/dist/scope/Scope.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeBase.d.ts | 4 +- .../dist/scope/ScopeBase.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeBase.js.map | 2 +- .../scope-manager/dist/scope/ScopeType.d.ts | 3 +- .../dist/scope/ScopeType.d.ts.map | 2 +- .../scope-manager/dist/scope/ScopeType.js.map | 2 +- .../scope-manager/dist/scope/SwitchScope.d.ts | 3 +- .../dist/scope/SwitchScope.d.ts.map | 2 +- .../dist/scope/SwitchScope.js.map | 2 +- .../scope-manager/dist/scope/TSEnumScope.d.ts | 3 +- .../dist/scope/TSEnumScope.d.ts.map | 2 +- .../dist/scope/TSEnumScope.js.map | 2 +- .../dist/scope/TSModuleScope.d.ts | 3 +- .../dist/scope/TSModuleScope.d.ts.map | 2 +- .../dist/scope/TSModuleScope.js.map | 2 +- .../scope-manager/dist/scope/TypeScope.d.ts | 3 +- .../dist/scope/TypeScope.d.ts.map | 2 +- .../scope-manager/dist/scope/TypeScope.js.map | 2 +- .../scope-manager/dist/scope/WithScope.d.ts | 3 +- .../dist/scope/WithScope.d.ts.map | 2 +- .../scope-manager/dist/scope/WithScope.js.map | 2 +- .../dist/variable/ESLintScopeVariable.d.ts | 5 +- .../variable/ESLintScopeVariable.d.ts.map | 2 +- .../dist/variable/ESLintScopeVariable.js | 2 +- .../dist/variable/ESLintScopeVariable.js.map | 2 +- .../dist/variable/ImplicitLibVariable.d.ts | 5 +- .../variable/ImplicitLibVariable.d.ts.map | 2 +- .../dist/variable/ImplicitLibVariable.js.map | 2 +- .../scope-manager/dist/variable/Variable.d.ts | 3 +- .../dist/variable/Variable.d.ts.map | 2 +- .../dist/variable/Variable.js.map | 2 +- .../dist/variable/VariableBase.d.ts | 3 +- .../dist/variable/VariableBase.d.ts.map | 2 +- .../dist/variable/VariableBase.js.map | 2 +- .../scope-manager/package.json | 8 +- .../types/dist/generated/ast-spec.d.ts | 1 + .../types/dist/generated/ast-spec.d.ts.map | 2 +- .../@typescript-eslint/types/dist/lib.d.ts | 3 +- .../types/dist/lib.d.ts.map | 2 +- .../types/dist/parser-options.d.ts | 17 +- .../types/dist/parser-options.d.ts.map | 2 +- .../types/dist/ts-estree.d.ts | 2 +- .../types/dist/ts-estree.d.ts.map | 2 +- .../types/dist/ts-estree.js.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/dist/convert.d.ts.map | 2 +- .../typescript-estree/dist/convert.js | 1 + .../typescript-estree/dist/convert.js.map | 2 +- .../WatchCompilerHostOfConfigFile.d.ts | 4 +- .../WatchCompilerHostOfConfigFile.d.ts.map | 2 +- .../create-program/createIsolatedProgram.d.ts | 3 +- .../createIsolatedProgram.d.ts.map | 2 +- .../createIsolatedProgram.js.map | 2 +- .../dist/create-program/createSourceFile.d.ts | 5 +- .../create-program/createSourceFile.d.ts.map | 2 +- .../dist/create-program/createSourceFile.js | 2 +- .../create-program/createSourceFile.js.map | 2 +- .../create-program/getParsedConfigFile.d.ts | 3 +- .../getParsedConfigFile.d.ts.map | 2 +- .../create-program/getParsedConfigFile.js.map | 2 +- .../dist/create-program/getScriptKind.d.ts | 5 +- .../create-program/getScriptKind.d.ts.map | 2 +- .../dist/create-program/getScriptKind.js | 2 +- .../dist/create-program/getScriptKind.js.map | 2 +- .../getWatchProgramsForProjects.d.ts | 5 +- .../getWatchProgramsForProjects.d.ts.map | 2 +- .../getWatchProgramsForProjects.js.map | 2 +- .../dist/create-program/shared.d.ts | 25 +- .../dist/create-program/shared.d.ts.map | 2 +- .../dist/create-program/shared.js | 14 +- .../dist/create-program/shared.js.map | 2 +- .../create-program/useProvidedPrograms.d.ts | 5 +- .../useProvidedPrograms.d.ts.map | 2 +- .../create-program/useProvidedPrograms.js | 2 +- .../create-program/useProvidedPrograms.js.map | 2 +- .../typescript-estree/dist/parser.d.ts | 15 +- .../typescript-estree/dist/parser.d.ts.map | 2 +- .../typescript-estree/dist/parser.js | 4 +- .../typescript-estree/dist/parser.js.map | 2 +- .../typescript-estree/dist/version-check.d.ts | 4 +- .../dist/version-check.d.ts.map | 2 +- .../typescript-estree/dist/version-check.js | 5 +- .../dist/version-check.js.map | 2 +- .../typescript-estree/package.json | 6 +- .../eslint-utils/PatternMatcher.d.ts | 4 +- .../eslint-utils/PatternMatcher.d.ts.map | 2 +- .../ast-utils/eslint-utils/PatternMatcher.js | 3 +- .../eslint-utils/PatternMatcher.js.map | 2 +- .../eslint-utils/ReferenceTracker.d.ts | 4 +- .../eslint-utils/ReferenceTracker.d.ts.map | 2 +- .../eslint-utils/ReferenceTracker.js | 3 +- .../eslint-utils/ReferenceTracker.js.map | 2 +- .../ast-utils/eslint-utils/astUtilities.d.ts | 15 +- .../eslint-utils/astUtilities.d.ts.map | 2 +- .../ast-utils/eslint-utils/astUtilities.js | 21 +- .../eslint-utils/astUtilities.js.map | 2 +- .../ast-utils/eslint-utils/predicates.d.ts | 46 +- .../eslint-utils/predicates.d.ts.map | 2 +- .../dist/ast-utils/eslint-utils/predicates.js | 68 +- .../ast-utils/eslint-utils/predicates.js.map | 2 +- .../ast-utils/eslint-utils/scopeAnalysis.d.ts | 5 +- .../eslint-utils/scopeAnalysis.d.ts.map | 2 +- .../ast-utils/eslint-utils/scopeAnalysis.js | 6 +- .../eslint-utils/scopeAnalysis.js.map | 2 +- .../utils/dist/ast-utils/misc.d.ts | 5 +- .../utils/dist/ast-utils/misc.d.ts.map | 2 +- .../utils/dist/ast-utils/misc.js | 3 +- .../utils/dist/ast-utils/misc.js.map | 2 +- .../utils/dist/ast-utils/predicates.d.ts | 45 +- .../utils/dist/ast-utils/predicates.d.ts.map | 2 +- .../utils/dist/ast-utils/predicates.js | 71 +- .../utils/dist/ast-utils/predicates.js.map | 2 +- .../dist/eslint-utils/InferTypesFromRule.d.ts | 5 +- .../eslint-utils/InferTypesFromRule.d.ts.map | 2 +- .../utils/dist/eslint-utils/applyDefault.d.ts | 3 +- .../dist/eslint-utils/applyDefault.d.ts.map | 2 +- .../dist/eslint-utils/applyDefault.js.map | 2 +- .../utils/dist/eslint-utils/deepMerge.d.ts | 3 +- .../dist/eslint-utils/deepMerge.d.ts.map | 2 +- .../utils/dist/eslint-utils/deepMerge.js | 2 +- .../utils/dist/eslint-utils/deepMerge.js.map | 2 +- .../dist/eslint-utils/getParserServices.d.ts | 9 +- .../eslint-utils/getParserServices.d.ts.map | 2 +- .../eslint-utils/getParserServices.js.map | 2 +- .../utils/dist/eslint-utils/nullThrows.d.ts | 5 +- .../dist/eslint-utils/nullThrows.d.ts.map | 2 +- .../utils/dist/eslint-utils/nullThrows.js | 3 +- .../utils/dist/eslint-utils/nullThrows.js.map | 2 +- .../utils/dist/ts-eslint/AST.js | 2 +- .../utils/dist/ts-eslint/AST.js.map | 2 +- .../utils/dist/ts-eslint/Linter.js | 2 +- .../utils/dist/ts-eslint/Linter.js.map | 2 +- .../utils/dist/ts-eslint/RuleTester.d.ts | 18 +- .../utils/dist/ts-eslint/RuleTester.d.ts.map | 2 +- .../utils/dist/ts-eslint/RuleTester.js.map | 2 +- .../utils/dist/ts-eslint/Scope.d.ts | 3 +- .../utils/dist/ts-eslint/Scope.d.ts.map | 2 +- .../utils/dist/ts-eslint/Scope.js.map | 2 +- .../utils/dist/ts-eslint/SourceCode.js | 2 +- .../utils/dist/ts-eslint/SourceCode.js.map | 2 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/dist/get-keys.d.ts | 3 +- .../visitor-keys/dist/get-keys.d.ts.map | 2 +- .../visitor-keys/dist/get-keys.js | 3 +- .../visitor-keys/dist/get-keys.js.map | 2 +- .../visitor-keys/dist/visitor-keys.d.ts | 5 +- .../visitor-keys/dist/visitor-keys.d.ts.map | 2 +- .../visitor-keys/dist/visitor-keys.js | 3 +- .../visitor-keys/dist/visitor-keys.js.map | 2 +- .../visitor-keys/package.json | 4 +- .../type-utils/package.json | 8 +- 853 files changed, 1493 insertions(+), 5311 deletions(-) delete mode 120000 node_modules/@actions/tool-cache/node_modules/.bin/semver delete mode 120000 node_modules/@actions/tool-cache/node_modules/.bin/uuid delete mode 100644 node_modules/@actions/tool-cache/node_modules/semver/LICENSE delete mode 100644 node_modules/@actions/tool-cache/node_modules/semver/README.md delete mode 100755 node_modules/@actions/tool-cache/node_modules/semver/bin/semver.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/semver/package.json delete mode 100644 node_modules/@actions/tool-cache/node_modules/semver/range.bnf delete mode 100644 node_modules/@actions/tool-cache/node_modules/semver/semver.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/AUTHORS delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/CHANGELOG.md delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/LICENSE.md delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/README.md delete mode 100755 node_modules/@actions/tool-cache/node_modules/uuid/bin/uuid delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/index.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/md5-browser.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/md5.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/rng-browser.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1-browser.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/lib/v35.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/package.json delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/v1.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/v3.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/v4.js delete mode 100644 node_modules/@actions/tool-cache/node_modules/uuid/v5.js diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 774327a9b1..58af654965 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -169,29 +169,16 @@ "license": "MIT" }, "node_modules/@actions/tool-cache": { - "version": "2.0.1", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.2.tgz", + "integrity": "sha512-fBhNNOWxuoLxztQebpOaWu6WeVmuwa77Z+DxIZ1B+OYvGkGQon6kTVg6Z32Cb13WCuw0szqonK+hh03mJV7Z6w==", "license": "MIT", "dependencies": { - "@actions/core": "^1.2.6", + "@actions/core": "^1.11.1", "@actions/exec": "^1.0.0", "@actions/http-client": "^2.0.1", "@actions/io": "^1.1.1", - "semver": "^6.1.0", - "uuid": "^3.3.2" - } - }, - "node_modules/@actions/tool-cache/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@actions/tool-cache/node_modules/uuid": { - "version": "3.4.0", - "license": "MIT", - "bin": { - "uuid": "bin/uuid" + "semver": "^6.1.0" } }, "node_modules/@ava/typescript": { @@ -1305,17 +1292,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.20.0.tgz", - "integrity": "sha512-naduuphVw5StFfqp4Gq4WhIBE2gN1GEmMUExpJYknZJdRnc+2gDzB8Z3+5+/Kv33hPQRDGzQO/0opHE72lZZ6A==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.21.0.tgz", + "integrity": "sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/type-utils": "8.20.0", - "@typescript-eslint/utils": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/type-utils": "8.21.0", + "@typescript-eslint/utils": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1335,14 +1322,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", - "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", + "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1353,9 +1340,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", - "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", + "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", "dev": true, "license": "MIT", "engines": { @@ -1367,14 +1354,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", - "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", + "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1394,16 +1381,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", - "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", + "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0" + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1418,13 +1405,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", - "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", + "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1488,16 +1475,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.20.0.tgz", - "integrity": "sha512-gKXG7A5HMyjDIedBi6bUrDcun8GIjnI8qOwVLiY3rx6T/sHP/19XLJOnIq/FgQvWLHja5JN/LSE7eklNBr612g==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.21.0.tgz", + "integrity": "sha512-Wy+/sdEH9kI3w9civgACwabHbKl+qIOu0uFZ9IMKzX3Jpv9og0ZBJrZExGrPpFAY7rWsXuxs5e7CPPP17A4eYA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4" }, "engines": { @@ -1513,14 +1500,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", - "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", + "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1531,9 +1518,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", - "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", + "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", "dev": true, "license": "MIT", "engines": { @@ -1545,14 +1532,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", - "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", + "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1572,13 +1559,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", - "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", + "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1660,14 +1647,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.20.0.tgz", - "integrity": "sha512-bPC+j71GGvA7rVNAHAtOjbVXbLN5PkwqMvy1cwGeaxUoRQXVuKCebRoLzm+IPW/NtFFpstn1ummSIasD5t60GA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.21.0.tgz", + "integrity": "sha512-95OsL6J2BtzoBxHicoXHxgk3z+9P3BEcQTpBKriqiYzLKnM2DeSqs+sndMKdamU8FosiadQFT3D+BSL9EKnAJQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.20.0", - "@typescript-eslint/utils": "8.20.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/utils": "8.21.0", "debug": "^4.3.4", "ts-api-utils": "^2.0.0" }, @@ -1684,14 +1671,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz", - "integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", + "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1702,9 +1689,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz", - "integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", + "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", "dev": true, "license": "MIT", "engines": { @@ -1716,14 +1703,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz", - "integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", + "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1743,16 +1730,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz", - "integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", + "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0" + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1767,13 +1754,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz", - "integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", + "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { diff --git a/node_modules/@actions/tool-cache/lib/manifest.js b/node_modules/@actions/tool-cache/lib/manifest.js index b5e5bc1431..a7df884566 100644 --- a/node_modules/@actions/tool-cache/lib/manifest.js +++ b/node_modules/@actions/tool-cache/lib/manifest.js @@ -1,7 +1,11 @@ "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]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -14,7 +18,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( 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.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + 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; }; @@ -44,11 +48,11 @@ function _findMatch(versionSpec, stable, candidates, archFilter) { let file; for (const candidate of candidates) { const version = candidate.version; - core_1.debug(`check ${version} satisfies ${versionSpec}`); + (0, core_1.debug)(`check ${version} satisfies ${versionSpec}`); if (semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) { file = candidate.files.find(item => { - core_1.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`); + (0, core_1.debug)(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`); let chk = item.arch === archFilter && item.platform === platFilter; if (chk && item.platform_version) { const osVersion = module.exports._getOsVersion(); @@ -62,7 +66,7 @@ function _findMatch(versionSpec, stable, candidates, archFilter) { return chk; }); if (file) { - core_1.debug(`matched ${candidate.version}`); + (0, core_1.debug)(`matched ${candidate.version}`); match = candidate; break; } @@ -100,10 +104,7 @@ function _getOsVersion() { if (parts.length === 2 && (parts[0].trim() === 'VERSION_ID' || parts[0].trim() === 'DISTRIB_RELEASE')) { - version = parts[1] - .trim() - .replace(/^"/, '') - .replace(/"$/, ''); + version = parts[1].trim().replace(/^"/, '').replace(/"$/, ''); break; } } diff --git a/node_modules/@actions/tool-cache/lib/manifest.js.map b/node_modules/@actions/tool-cache/lib/manifest.js.map index 64602cbb1a..adcd62b30d 100644 --- a/node_modules/@actions/tool-cache/lib/manifest.js.map +++ b/node_modules/@actions/tool-cache/lib/manifest.js.map @@ -1 +1 @@ -{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAgC;AAChC,wCAAmC;AAEnC,yDAAyD;AACzD,qDAAqD;AAErD,yBAAyB;AACzB,oCAAoC;AACpC,yBAAyB;AAqDzB,SAAsB,UAAU,CAC9B,WAAmB,EACnB,MAAe,EACf,UAA0B,EAC1B,UAAkB;;QAElB,MAAM,UAAU,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAA;QAEhC,IAAI,MAAgC,CAAA;QACpC,IAAI,KAA+B,CAAA;QAEnC,IAAI,IAAkC,CAAA;QACtC,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE;YAClC,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAA;YAEjC,YAAK,CAAC,SAAS,OAAO,cAAc,WAAW,EAAE,CAAC,CAAA;YAClD,IACE,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,WAAW,CAAC;gBACtC,CAAC,CAAC,MAAM,IAAI,SAAS,CAAC,MAAM,KAAK,MAAM,CAAC,EACxC;gBACA,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBACjC,YAAK,CACH,GAAG,IAAI,CAAC,IAAI,MAAM,UAAU,OAAO,IAAI,CAAC,QAAQ,MAAM,UAAU,EAAE,CACnE,CAAA;oBAED,IAAI,GAAG,GAAG,IAAI,CAAC,IAAI,KAAK,UAAU,IAAI,IAAI,CAAC,QAAQ,KAAK,UAA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ACA,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;oBAC7D,MAAK;iBACN;aACF;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAjCD,sCAiCC;AAED,SAAgB,qBAAqB;IACnC,MAAM,cAAc,GAAG,kBAAkB,CAAA;IACzC,MAAM,aAAa,GAAG,iBAAiB,CAAA;IACvC,IAAI,QAAQ,GAAG,EAAE,CAAA;IAEjB,IAAI,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE;QACjC,QAAQ,GAAG,EAAE,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE,CAAA;KACtD;SAAM,IAAI,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE;QACvC,QAAQ,GAAG,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE,CAAA;KACrD;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AAZD,sDAYC"} \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/lib/retry-helper.js b/node_modules/@actions/tool-cache/lib/retry-helper.js index 8d786d48f3..eb970bb631 100644 --- a/node_modules/@actions/tool-cache/lib/retry-helper.js +++ b/node_modules/@actions/tool-cache/lib/retry-helper.js @@ -1,7 +1,11 @@ "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]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -14,7 +18,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( 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.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + 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; }; diff --git a/node_modules/@actions/tool-cache/lib/retry-helper.js.map b/node_modules/@actions/tool-cache/lib/retry-helper.js.map index 7bc1cb81df..4b949c01a3 100644 --- a/node_modules/@actions/tool-cache/lib/retry-helper.js.map +++ b/node_modules/@actions/tool-cache/lib/retry-helper.js.map @@ -1 +1 @@ -{"version":3,"file":"retry-helper.js","sourceRoot":"","sources":["../src/retry-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AAErC;;GAEG;AACH,MAAa,WAAW;IAKtB,YAAY,WAAmB,EAAE,UAAkB,EAAE,UAAkB;QACrE,IAAI,WAAW,GAAG,CAAC,EAAE;YACnB,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAA;SACrE;QAED,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;QACxC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;QACxC,IAAI,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAA;SAC3E;IACH,CAAC;IAEK,OAAO,CACX,MAAwB,EACxB,WAAmC;;YAEnC,IAAI,OAAO,GAAG,CAAC,CAAA;YACf,OAAO,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE;gBACjC,MAAM;gBACN,IAAI;oBACF,OAAO,MAAM,MAAM,EAAE,CAAA;iBACtB;gBAAC,OAAO,GAAG,EAAE;oBACZ,IAAI,WAAW,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE;wBACpC,MAAM,GAAG,CAAA;qBACV;oBAED,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;iBACvB;gBAED,QAAQ;gBACR,MAAM,OAAO,GAAG,IAAI,CAAC,cAAc,EAAE,CAAA;gBACrC,IAAI,CAAC,IAAI,CAAC,WAAW,OAAO,8BAA8B,CAAC,CAAA;gBAC3D,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;gBACzB,OAAO,EAAE,CAAA;aACV;YAED,eAAe;YACf,OAAO,MAAM,MAAM,EAAE,CAAA;QACvB,CAAC;KAAA;IAEO,cAAc;QACpB,OAAO,CACL,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC;YACnE,IAAI,CAAC,UAAU,CAChB,CAAA;IACH,CAAC;IAEa,KAAK,CAAC,OAAe;;YACjC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC,CAAC,CAAA;QACpE,CAAC;KAAA;CACF;AAxDD,kCAwDC"} \ No newline at end of file +{"version":3,"file":"retry-helper.js","sourceRoot":"","sources":["../src/retry-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AAErC;;GAEG;AACH,MAAa,WAAW;IAKtB,YAAY,WAAmB,EAAE,UAAkB,EAAE,UAAkB;QACrE,IAAI,WAAW,GAAG,CAAC,EAAE;YACnB,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAA;SACrE;QAED,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAI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CAAA;QACpE,CAAC;KAAA;CACF;AAxDD,kCAwDC"} \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.d.ts b/node_modules/@actions/tool-cache/lib/tool-cache.d.ts index 28fa97b886..7a229426d2 100644 --- a/node_modules/@actions/tool-cache/lib/tool-cache.d.ts +++ b/node_modules/@actions/tool-cache/lib/tool-cache.d.ts @@ -92,8 +92,8 @@ export declare function find(toolName: string, versionSpec: string, arch?: strin * @param arch optional arch. defaults to arch of computer */ export declare function findAllVersions(toolName: string, arch?: string): string[]; -export declare type IToolRelease = mm.IToolRelease; -export declare type IToolReleaseFile = mm.IToolReleaseFile; +export type IToolRelease = mm.IToolRelease; +export type IToolReleaseFile = mm.IToolReleaseFile; export declare function getManifestFromRepo(owner: string, repo: string, auth?: string, branch?: string): Promise; export declare function findFromManifest(versionSpec: string, stable: boolean, manifest: IToolRelease[], archFilter?: string): Promise; /** diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.js b/node_modules/@actions/tool-cache/lib/tool-cache.js index bbe82f8e41..a50bce3b81 100644 --- a/node_modules/@actions/tool-cache/lib/tool-cache.js +++ b/node_modules/@actions/tool-cache/lib/tool-cache.js @@ -1,7 +1,11 @@ "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]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -14,7 +18,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( 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.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + 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; }; @@ -27,13 +31,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); exports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0; const core = __importStar(require("@actions/core")); const io = __importStar(require("@actions/io")); +const crypto = __importStar(require("crypto")); const fs = __importStar(require("fs")); const mm = __importStar(require("./manifest")); const os = __importStar(require("os")); @@ -43,7 +45,6 @@ const semver = __importStar(require("semver")); const stream = __importStar(require("stream")); const util = __importStar(require("util")); const assert_1 = require("assert"); -const v4_1 = __importDefault(require("uuid/v4")); const exec_1 = require("@actions/exec/lib/exec"); const retry_helper_1 = require("./retry-helper"); class HTTPError extends Error { @@ -68,7 +69,7 @@ const userAgent = 'actions/tool-cache'; */ function downloadTool(url, dest, auth, headers) { return __awaiter(this, void 0, void 0, function* () { - dest = dest || path.join(_getTempDirectory(), v4_1.default()); + dest = dest || path.join(_getTempDirectory(), crypto.randomUUID()); yield io.mkdirP(path.dirname(dest)); core.debug(`Downloading ${url}`); core.debug(`Destination ${dest}`); @@ -157,8 +158,8 @@ function downloadToolAttempt(url, dest, auth, headers) { */ function extract7z(file, dest, _7zPath) { return __awaiter(this, void 0, void 0, function* () { - assert_1.ok(IS_WINDOWS, 'extract7z() not supported on current OS'); - assert_1.ok(file, 'parameter "file" is required'); + (0, assert_1.ok)(IS_WINDOWS, 'extract7z() not supported on current OS'); + (0, assert_1.ok)(file, 'parameter "file" is required'); dest = yield _createExtractFolder(dest); const originalCwd = process.cwd(); process.chdir(dest); @@ -175,7 +176,7 @@ function extract7z(file, dest, _7zPath) { const options = { silent: true }; - yield exec_1.exec(`"${_7zPath}"`, args, options); + yield (0, exec_1.exec)(`"${_7zPath}"`, args, options); } finally { process.chdir(originalCwd); @@ -204,7 +205,7 @@ function extract7z(file, dest, _7zPath) { }; try { const powershellPath = yield io.which('powershell', true); - yield exec_1.exec(`"${powershellPath}"`, args, options); + yield (0, exec_1.exec)(`"${powershellPath}"`, args, options); } finally { process.chdir(originalCwd); @@ -232,7 +233,7 @@ function extractTar(file, dest, flags = 'xz') { // Determine whether GNU tar core.debug('Checking tar --version'); let versionOutput = ''; - yield exec_1.exec('tar --version', [], { + yield (0, exec_1.exec)('tar --version', [], { ignoreReturnCode: true, silent: true, listeners: { @@ -268,7 +269,7 @@ function extractTar(file, dest, flags = 'xz') { args.push('--overwrite'); } args.push('-C', destArg, '-f', fileArg); - yield exec_1.exec(`tar`, args); + yield (0, exec_1.exec)(`tar`, args); return dest; }); } @@ -283,8 +284,8 @@ exports.extractTar = extractTar; */ function extractXar(file, dest, flags = []) { return __awaiter(this, void 0, void 0, function* () { - assert_1.ok(IS_MAC, 'extractXar() not supported on current OS'); - assert_1.ok(file, 'parameter "file" is required'); + (0, assert_1.ok)(IS_MAC, 'extractXar() not supported on current OS'); + (0, assert_1.ok)(file, 'parameter "file" is required'); dest = yield _createExtractFolder(dest); let args; if (flags instanceof Array) { @@ -298,7 +299,7 @@ function extractXar(file, dest, flags = []) { args.push('-v'); } const xarPath = yield io.which('xar', true); - yield exec_1.exec(`"${xarPath}"`, _unique(args)); + yield (0, exec_1.exec)(`"${xarPath}"`, _unique(args)); return dest; }); } @@ -352,7 +353,7 @@ function extractZipWin(file, dest) { pwshCommand ]; core.debug(`Using pwsh at path: ${pwshPath}`); - yield exec_1.exec(`"${pwshPath}"`, args); + yield (0, exec_1.exec)(`"${pwshPath}"`, args); } else { const powershellCommand = [ @@ -373,7 +374,7 @@ function extractZipWin(file, dest) { ]; const powershellPath = yield io.which('powershell', true); core.debug(`Using powershell at path: ${powershellPath}`); - yield exec_1.exec(`"${powershellPath}"`, args); + yield (0, exec_1.exec)(`"${powershellPath}"`, args); } }); } @@ -385,7 +386,7 @@ function extractZipNix(file, dest) { args.unshift('-q'); } args.unshift('-o'); //overwrite with -o, otherwise a prompt is shown which freezes the run - yield exec_1.exec(`"${unzipPath}"`, args, { cwd: dest }); + yield (0, exec_1.exec)(`"${unzipPath}"`, args, { cwd: dest }); }); } /** @@ -562,7 +563,7 @@ function _createExtractFolder(dest) { return __awaiter(this, void 0, void 0, function* () { if (!dest) { // create a temp dir - dest = path.join(_getTempDirectory(), v4_1.default()); + dest = path.join(_getTempDirectory(), crypto.randomUUID()); } yield io.mkdirP(dest); return dest; @@ -635,7 +636,7 @@ exports.evaluateVersions = evaluateVersions; */ function _getCacheDirectory() { const cacheDirectory = process.env['RUNNER_TOOL_CACHE'] || ''; - assert_1.ok(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined'); + (0, assert_1.ok)(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined'); return cacheDirectory; } /** @@ -643,7 +644,7 @@ function _getCacheDirectory() { */ function _getTempDirectory() { const tempDirectory = process.env['RUNNER_TEMP'] || ''; - assert_1.ok(tempDirectory, 'Expected RUNNER_TEMP to be defined'); + (0, assert_1.ok)(tempDirectory, 'Expected RUNNER_TEMP to be defined'); return tempDirectory; } /** diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.js.map b/node_modules/@actions/tool-cache/lib/tool-cache.js.map index c432a67a6b..baa8c1fc45 100644 --- a/node_modules/@actions/tool-cache/lib/tool-cache.js.map +++ b/node_modules/@actions/tool-cache/lib/tool-cache.js.map @@ -1 +1 @@ -{"version":3,"file":"tool-cache.js","sourceRoot":"","sources":["../src/tool-cache.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AAC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CAAC,GAAG,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAA;IAC7D,WAAE,CAAC,cAAc,EAAE,0CAA0C,CAAC,CAAA;IAC9D,OAAO,cAAc,CAAA;AACvB,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB;IACxB,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;IACtD,WAAE,CAAC,aAAa,EAAE,oCAAoC,CAAC,CAAA;IACvD,OAAO,aAAa,CAAA;AACtB,CAAC;AAED;;GAEG;AACH,SAAS,UAAU,CAAI,GAAW,EAAE,YAAe;IACjD,uDAAuD;IACvD,MAAM,KAAK,GAAI,MAAc,CAAC,GAAG,CAAkB,CAAA;IACnD,sDAAsD;IACtD,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAA;AACnD,CAAC;AAED;;;GAGG;AACH,SAAS,OAAO,CAAI,MAAW;IAC7B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;AACpC,CAAC"} \ No newline at end of file +{"version":3,"file":"tool-cache.js","sourceRoot":"","sources":["../src/tool-cache.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AACrC,gDAAiC;AACjC,+CAAgC;AAChC,uCAAwB;AACxB,+CAAgC;AAChC,uCAAwB;AACxB,2CAA4B;AAC5B,4DAA6C;AAC7C,+CAAgC;AAChC,+CAAgC;AAChC,2CAA4B;AAC5B,mCAAyB;AAEzB,iDAA2C;AAE3C,iDAA0C;AAE1C,MAAa,SAAU,SAAQ,KAAK;IAClC,YAAqB,cAAkC;QACrD,KAAK,CAAC,6BAA6B,cAAc,EAAE,CAAC,CAAA;QADjC,mBAAc,GAAd,cAAc,CAAoB;QAErD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC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oC,CAAC,CAAA;IACvD,OAAO,aAAa,CAAA;AACtB,CAAC;AAED;;GAEG;AACH,SAAS,UAAU,CAAI,GAAW,EAAE,YAAe;IACjD,uDAAuD;IACvD,MAAM,KAAK,GAAI,MAAc,CAAC,GAAG,CAAkB,CAAA;IACnD,sDAAsD;IACtD,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAA;AACnD,CAAC;AAED;;;GAGG;AACH,SAAS,OAAO,CAAI,MAAW;IAC7B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/node_modules/.bin/semver b/node_modules/@actions/tool-cache/node_modules/.bin/semver deleted file mode 120000 index 5aaadf42c4..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/node_modules/.bin/uuid b/node_modules/@actions/tool-cache/node_modules/.bin/uuid deleted file mode 120000 index b3e45bc531..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/.bin/uuid +++ /dev/null @@ -1 +0,0 @@ -../uuid/bin/uuid \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/node_modules/semver/LICENSE b/node_modules/@actions/tool-cache/node_modules/semver/LICENSE deleted file mode 100644 index 19129e315f..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/semver/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/@actions/tool-cache/node_modules/semver/README.md b/node_modules/@actions/tool-cache/node_modules/semver/README.md deleted file mode 100644 index 2293a14fdc..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/semver/README.md +++ /dev/null @@ -1,443 +0,0 @@ -semver(1) -- The semantic versioner for npm -=========================================== - -## Install - -```bash -npm install semver -```` - -## Usage - -As a node module: - -```js -const semver = require('semver') - -semver.valid('1.2.3') // '1.2.3' -semver.valid('a.b.c') // null -semver.clean(' =v1.2.3 ') // '1.2.3' -semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true -semver.gt('1.2.3', '9.8.7') // false -semver.lt('1.2.3', '9.8.7') // true -semver.minVersion('>=1.0.0') // '1.0.0' -semver.valid(semver.coerce('v2')) // '2.0.0' -semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7' -``` - -As a command-line utility: - -``` -$ semver -h - -A JavaScript implementation of the https://semver.org/ specification -Copyright Isaac Z. Schlueter - -Usage: semver [options] [ [...]] -Prints valid versions sorted by SemVer precedence - -Options: --r --range - Print versions that match the specified range. - --i --increment [] - Increment a version by the specified level. Level can - be one of: major, minor, patch, premajor, preminor, - prepatch, or prerelease. Default level is 'patch'. - Only one version may be specified. - ---preid - Identifier to be used to prefix premajor, preminor, - prepatch or prerelease version increments. - --l --loose - Interpret versions and ranges loosely - --p --include-prerelease - Always include prerelease versions in range matching - --c --coerce - Coerce a string into SemVer if possible - (does not imply --loose) - ---rtl - Coerce version strings right to left - ---ltr - Coerce version strings left to right (default) - -Program exits successfully if any valid version satisfies -all supplied ranges, and prints all satisfying versions. - -If no satisfying versions are found, then exits failure. - -Versions are printed in ascending order, so supplying -multiple versions to the utility will just sort them. -``` - -## Versions - -A "version" is described by the `v2.0.0` specification found at -. - -A leading `"="` or `"v"` character is stripped off and ignored. - -## Ranges - -A `version range` is a set of `comparators` which specify versions -that satisfy the range. - -A `comparator` is composed of an `operator` and a `version`. The set -of primitive `operators` is: - -* `<` Less than -* `<=` Less than or equal to -* `>` Greater than -* `>=` Greater than or equal to -* `=` Equal. If no operator is specified, then equality is assumed, - so this operator is optional, but MAY be included. - -For example, the comparator `>=1.2.7` would match the versions -`1.2.7`, `1.2.8`, `2.5.3`, and `1.3.9`, but not the versions `1.2.6` -or `1.1.0`. - -Comparators can be joined by whitespace to form a `comparator set`, -which is satisfied by the **intersection** of all of the comparators -it includes. - -A range is composed of one or more comparator sets, joined by `||`. A -version matches a range if and only if every comparator in at least -one of the `||`-separated comparator sets is satisfied by the version. - -For example, the range `>=1.2.7 <1.3.0` would match the versions -`1.2.7`, `1.2.8`, and `1.2.99`, but not the versions `1.2.6`, `1.3.0`, -or `1.1.0`. - -The range `1.2.7 || >=1.2.9 <2.0.0` would match the versions `1.2.7`, -`1.2.9`, and `1.4.6`, but not the versions `1.2.8` or `2.0.0`. - -### Prerelease Tags - -If a version has a prerelease tag (for example, `1.2.3-alpha.3`) then -it will only be allowed to satisfy comparator sets if at least one -comparator with the same `[major, minor, patch]` tuple also has a -prerelease tag. - -For example, the range `>1.2.3-alpha.3` would be allowed to match the -version `1.2.3-alpha.7`, but it would *not* be satisfied by -`3.4.5-alpha.9`, even though `3.4.5-alpha.9` is technically "greater -than" `1.2.3-alpha.3` according to the SemVer sort rules. The version -range only accepts prerelease tags on the `1.2.3` version. The -version `3.4.5` *would* satisfy the range, because it does not have a -prerelease flag, and `3.4.5` is greater than `1.2.3-alpha.7`. - -The purpose for this behavior is twofold. First, prerelease versions -frequently are updated very quickly, and contain many breaking changes -that are (by the author's design) not yet fit for public consumption. -Therefore, by default, they are excluded from range matching -semantics. - -Second, a user who has opted into using a prerelease version has -clearly indicated the intent to use *that specific* set of -alpha/beta/rc versions. By including a prerelease tag in the range, -the user is indicating that they are aware of the risk. However, it -is still not appropriate to assume that they have opted into taking a -similar risk on the *next* set of prerelease versions. - -Note that this behavior can be suppressed (treating all prerelease -versions as if they were normal versions, for the purpose of range -matching) by setting the `includePrerelease` flag on the options -object to any -[functions](https://github.com/npm/node-semver#functions) that do -range matching. - -#### Prerelease Identifiers - -The method `.inc` takes an additional `identifier` string argument that -will append the value of the string as a prerelease identifier: - -```javascript -semver.inc('1.2.3', 'prerelease', 'beta') -// '1.2.4-beta.0' -``` - -command-line example: - -```bash -$ semver 1.2.3 -i prerelease --preid beta -1.2.4-beta.0 -``` - -Which then can be used to increment further: - -```bash -$ semver 1.2.4-beta.0 -i prerelease -1.2.4-beta.1 -``` - -### Advanced Range Syntax - -Advanced range syntax desugars to primitive comparators in -deterministic ways. - -Advanced ranges may be combined in the same way as primitive -comparators using white space or `||`. - -#### Hyphen Ranges `X.Y.Z - A.B.C` - -Specifies an inclusive set. - -* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4` - -If a partial version is provided as the first version in the inclusive -range, then the missing pieces are replaced with zeroes. - -* `1.2 - 2.3.4` := `>=1.2.0 <=2.3.4` - -If a partial version is provided as the second version in the -inclusive range, then all versions that start with the supplied parts -of the tuple are accepted, but nothing that would be greater than the -provided tuple parts. - -* `1.2.3 - 2.3` := `>=1.2.3 <2.4.0` -* `1.2.3 - 2` := `>=1.2.3 <3.0.0` - -#### X-Ranges `1.2.x` `1.X` `1.2.*` `*` - -Any of `X`, `x`, or `*` may be used to "stand in" for one of the -numeric values in the `[major, minor, patch]` tuple. - -* `*` := `>=0.0.0` (Any version satisfies) -* `1.x` := `>=1.0.0 <2.0.0` (Matching major version) -* `1.2.x` := `>=1.2.0 <1.3.0` (Matching major and minor versions) - -A partial version range is treated as an X-Range, so the special -character is in fact optional. - -* `""` (empty string) := `*` := `>=0.0.0` -* `1` := `1.x.x` := `>=1.0.0 <2.0.0` -* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0` - -#### Tilde Ranges `~1.2.3` `~1.2` `~1` - -Allows patch-level changes if a minor version is specified on the -comparator. Allows minor-level changes if not. - -* `~1.2.3` := `>=1.2.3 <1.(2+1).0` := `>=1.2.3 <1.3.0` -* `~1.2` := `>=1.2.0 <1.(2+1).0` := `>=1.2.0 <1.3.0` (Same as `1.2.x`) -* `~1` := `>=1.0.0 <(1+1).0.0` := `>=1.0.0 <2.0.0` (Same as `1.x`) -* `~0.2.3` := `>=0.2.3 <0.(2+1).0` := `>=0.2.3 <0.3.0` -* `~0.2` := `>=0.2.0 <0.(2+1).0` := `>=0.2.0 <0.3.0` (Same as `0.2.x`) -* `~0` := `>=0.0.0 <(0+1).0.0` := `>=0.0.0 <1.0.0` (Same as `0.x`) -* `~1.2.3-beta.2` := `>=1.2.3-beta.2 <1.3.0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. - -#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4` - -Allows changes that do not modify the left-most non-zero element in the -`[major, minor, patch]` tuple. In other words, this allows patch and -minor updates for versions `1.0.0` and above, patch updates for -versions `0.X >=0.1.0`, and *no* updates for versions `0.0.X`. - -Many authors treat a `0.x` version as if the `x` were the major -"breaking-change" indicator. - -Caret ranges are ideal when an author may make breaking changes -between `0.2.4` and `0.3.0` releases, which is a common practice. -However, it presumes that there will *not* be breaking changes between -`0.2.4` and `0.2.5`. It allows for changes that are presumed to be -additive (but non-breaking), according to commonly observed practices. - -* `^1.2.3` := `>=1.2.3 <2.0.0` -* `^0.2.3` := `>=0.2.3 <0.3.0` -* `^0.0.3` := `>=0.0.3 <0.0.4` -* `^1.2.3-beta.2` := `>=1.2.3-beta.2 <2.0.0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. -* `^0.0.3-beta` := `>=0.0.3-beta <0.0.4` Note that prereleases in the - `0.0.3` version *only* will be allowed, if they are greater than or - equal to `beta`. So, `0.0.3-pr.2` would be allowed. - -When parsing caret ranges, a missing `patch` value desugars to the -number `0`, but will allow flexibility within that value, even if the -major and minor versions are both `0`. - -* `^1.2.x` := `>=1.2.0 <2.0.0` -* `^0.0.x` := `>=0.0.0 <0.1.0` -* `^0.0` := `>=0.0.0 <0.1.0` - -A missing `minor` and `patch` values will desugar to zero, but also -allow flexibility within those values, even if the major version is -zero. - -* `^1.x` := `>=1.0.0 <2.0.0` -* `^0.x` := `>=0.0.0 <1.0.0` - -### Range Grammar - -Putting all this together, here is a Backus-Naur grammar for ranges, -for the benefit of parser authors: - -```bnf -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ -``` - -## Functions - -All methods and classes take a final `options` object argument. All -options in this object are `false` by default. The options supported -are: - -- `loose` Be more forgiving about not-quite-valid semver strings. - (Any resulting output will always be 100% strict compliant, of - course.) For backwards compatibility reasons, if the `options` - argument is a boolean value instead of an object, it is interpreted - to be the `loose` param. -- `includePrerelease` Set to suppress the [default - behavior](https://github.com/npm/node-semver#prerelease-tags) of - excluding prerelease tagged versions from ranges unless they are - explicitly opted into. - -Strict-mode Comparators and Ranges will be strict about the SemVer -strings that they parse. - -* `valid(v)`: Return the parsed version, or null if it's not valid. -* `inc(v, release)`: Return the version incremented by the release - type (`major`, `premajor`, `minor`, `preminor`, `patch`, - `prepatch`, or `prerelease`), or null if it's not valid - * `premajor` in one call will bump the version up to the next major - version and down to a prerelease of that major version. - `preminor`, and `prepatch` work the same way. - * If called from a non-prerelease version, the `prerelease` will work the - same as `prepatch`. It increments the patch version, then makes a - prerelease. If the input version is already a prerelease it simply - increments it. -* `prerelease(v)`: Returns an array of prerelease components, or null - if none exist. Example: `prerelease('1.2.3-alpha.1') -> ['alpha', 1]` -* `major(v)`: Return the major version number. -* `minor(v)`: Return the minor version number. -* `patch(v)`: Return the patch version number. -* `intersects(r1, r2, loose)`: Return true if the two supplied ranges - or comparators intersect. -* `parse(v)`: Attempt to parse a string as a semantic version, returning either - a `SemVer` object or `null`. - -### Comparison - -* `gt(v1, v2)`: `v1 > v2` -* `gte(v1, v2)`: `v1 >= v2` -* `lt(v1, v2)`: `v1 < v2` -* `lte(v1, v2)`: `v1 <= v2` -* `eq(v1, v2)`: `v1 == v2` This is true if they're logically equivalent, - even if they're not the exact same string. You already know how to - compare strings. -* `neq(v1, v2)`: `v1 != v2` The opposite of `eq`. -* `cmp(v1, comparator, v2)`: Pass in a comparison string, and it'll call - the corresponding function above. `"==="` and `"!=="` do simple - string comparison, but are included for completeness. Throws if an - invalid comparison string is provided. -* `compare(v1, v2)`: Return `0` if `v1 == v2`, or `1` if `v1` is greater, or `-1` if - `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. -* `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions - in descending order when passed to `Array.sort()`. -* `compareBuild(v1, v2)`: The same as `compare` but considers `build` when two versions - are equal. Sorts in ascending order if passed to `Array.sort()`. - `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. -* `diff(v1, v2)`: Returns difference between two versions by the release type - (`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`), - or null if the versions are the same. - -### Comparators - -* `intersects(comparator)`: Return true if the comparators intersect - -### Ranges - -* `validRange(range)`: Return the valid range or null if it's not valid -* `satisfies(version, range)`: Return true if the version satisfies the - range. -* `maxSatisfying(versions, range)`: Return the highest version in the list - that satisfies the range, or `null` if none of them do. -* `minSatisfying(versions, range)`: Return the lowest version in the list - that satisfies the range, or `null` if none of them do. -* `minVersion(range)`: Return the lowest version that can possibly match - the given range. -* `gtr(version, range)`: Return `true` if version is greater than all the - versions possible in the range. -* `ltr(version, range)`: Return `true` if version is less than all the - versions possible in the range. -* `outside(version, range, hilo)`: Return true if the version is outside - the bounds of the range in either the high or low direction. The - `hilo` argument must be either the string `'>'` or `'<'`. (This is - the function called by `gtr` and `ltr`.) -* `intersects(range)`: Return true if any of the ranges comparators intersect - -Note that, since ranges may be non-contiguous, a version might not be -greater than a range, less than a range, *or* satisfy a range! For -example, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9` -until `2.0.0`, so the version `1.2.10` would not be greater than the -range (because `2.0.1` satisfies, which is higher), nor less than the -range (since `1.2.8` satisfies, which is lower), and it also does not -satisfy the range. - -If you want to know if a version satisfies or does not satisfy a -range, use the `satisfies(version, range)` function. - -### Coercion - -* `coerce(version, options)`: Coerces a string to semver if possible - -This aims to provide a very forgiving translation of a non-semver string to -semver. It looks for the first digit in a string, and consumes all -remaining characters which satisfy at least a partial semver (e.g., `1`, -`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer -versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All -surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes -`3.4.0`). Only text which lacks digits will fail coercion (`version one` -is not valid). The maximum length for any semver component considered for -coercion is 16 characters; longer components will be ignored -(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any -semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value -components are invalid (`9999999999999999.4.7.4` is likely invalid). - -If the `options.rtl` flag is set, then `coerce` will return the right-most -coercible tuple that does not share an ending index with a longer coercible -tuple. For example, `1.2.3.4` will return `2.3.4` in rtl mode, not -`4.0.0`. `1.2.3/4` will return `4.0.0`, because the `4` is not a part of -any other overlapping SemVer tuple. - -### Clean - -* `clean(version)`: Clean a string to be a valid semver if possible - -This will return a cleaned and trimmed semver version. If the provided version is not valid a null will be returned. This does not work for ranges. - -ex. -* `s.clean(' = v 2.1.5foo')`: `null` -* `s.clean(' = v 2.1.5foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean(' = v 2.1.5-foo')`: `null` -* `s.clean(' = v 2.1.5-foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean('=v2.1.5')`: `'2.1.5'` -* `s.clean(' =v2.1.5')`: `2.1.5` -* `s.clean(' 2.1.5 ')`: `'2.1.5'` -* `s.clean('~1.0.0')`: `null` diff --git a/node_modules/@actions/tool-cache/node_modules/semver/bin/semver.js b/node_modules/@actions/tool-cache/node_modules/semver/bin/semver.js deleted file mode 100755 index 666034a75d..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/semver/bin/semver.js +++ /dev/null @@ -1,174 +0,0 @@ -#!/usr/bin/env node -// Standalone semver comparison program. -// Exits successfully and prints matching version(s) if -// any supplied version is valid and passes all tests. - -var argv = process.argv.slice(2) - -var versions = [] - -var range = [] - -var inc = null - -var version = require('../package.json').version - -var loose = false - -var includePrerelease = false - -var coerce = false - -var rtl = false - -var identifier - -var semver = require('../semver') - -var reverse = false - -var options = {} - -main() - -function main () { - if (!argv.length) return help() - while (argv.length) { - var a = argv.shift() - var indexOfEqualSign = a.indexOf('=') - if (indexOfEqualSign !== -1) { - a = a.slice(0, indexOfEqualSign) - argv.unshift(a.slice(indexOfEqualSign + 1)) - } - switch (a) { - case '-rv': case '-rev': case '--rev': case '--reverse': - reverse = true - break - case '-l': case '--loose': - loose = true - break - case '-p': case '--include-prerelease': - includePrerelease = true - break - case '-v': case '--version': - versions.push(argv.shift()) - break - case '-i': case '--inc': case '--increment': - switch (argv[0]) { - case 'major': case 'minor': case 'patch': case 'prerelease': - case 'premajor': case 'preminor': case 'prepatch': - inc = argv.shift() - break - default: - inc = 'patch' - break - } - break - case '--preid': - identifier = argv.shift() - break - case '-r': case '--range': - range.push(argv.shift()) - break - case '-c': case '--coerce': - coerce = true - break - case '--rtl': - rtl = true - break - case '--ltr': - rtl = false - break - case '-h': case '--help': case '-?': - return help() - default: - versions.push(a) - break - } - } - - var options = { loose: loose, includePrerelease: includePrerelease, rtl: rtl } - - versions = versions.map(function (v) { - return coerce ? (semver.coerce(v, options) || { version: v }).version : v - }).filter(function (v) { - return semver.valid(v) - }) - if (!versions.length) return fail() - if (inc && (versions.length !== 1 || range.length)) { return failInc() } - - for (var i = 0, l = range.length; i < l; i++) { - versions = versions.filter(function (v) { - return semver.satisfies(v, range[i], options) - }) - if (!versions.length) return fail() - } - return success(versions) -} - -function failInc () { - console.error('--inc can only be used on a single version with no range') - fail() -} - -function fail () { process.exit(1) } - -function success () { - var compare = reverse ? 'rcompare' : 'compare' - versions.sort(function (a, b) { - return semver[compare](a, b, options) - }).map(function (v) { - return semver.clean(v, options) - }).map(function (v) { - return inc ? semver.inc(v, inc, options, identifier) : v - }).forEach(function (v, i, _) { console.log(v) }) -} - -function help () { - console.log(['SemVer ' + version, - '', - 'A JavaScript implementation of the https://semver.org/ specification', - 'Copyright Isaac Z. Schlueter', - '', - 'Usage: semver [options] [ [...]]', - 'Prints valid versions sorted by SemVer precedence', - '', - 'Options:', - '-r --range ', - ' Print versions that match the specified range.', - '', - '-i --increment []', - ' Increment a version by the specified level. Level can', - ' be one of: major, minor, patch, premajor, preminor,', - " prepatch, or prerelease. Default level is 'patch'.", - ' Only one version may be specified.', - '', - '--preid ', - ' Identifier to be used to prefix premajor, preminor,', - ' prepatch or prerelease version increments.', - '', - '-l --loose', - ' Interpret versions and ranges loosely', - '', - '-p --include-prerelease', - ' Always include prerelease versions in range matching', - '', - '-c --coerce', - ' Coerce a string into SemVer if possible', - ' (does not imply --loose)', - '', - '--rtl', - ' Coerce version strings right to left', - '', - '--ltr', - ' Coerce version strings left to right (default)', - '', - 'Program exits successfully if any valid version satisfies', - 'all supplied ranges, and prints all satisfying versions.', - '', - 'If no satisfying versions are found, then exits failure.', - '', - 'Versions are printed in ascending order, so supplying', - 'multiple versions to the utility will just sort them.' - ].join('\n')) -} diff --git a/node_modules/@actions/tool-cache/node_modules/semver/package.json b/node_modules/@actions/tool-cache/node_modules/semver/package.json deleted file mode 100644 index 6b970a629f..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/semver/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "semver", - "version": "6.3.1", - "description": "The semantic version parser used by npm.", - "main": "semver.js", - "scripts": { - "test": "tap test/ --100 --timeout=30", - "lint": "echo linting disabled", - "postlint": "template-oss-check", - "template-oss-apply": "template-oss-apply --force", - "lintfix": "npm run lint -- --fix", - "snap": "tap test/ --100 --timeout=30", - "posttest": "npm run lint" - }, - "devDependencies": { - "@npmcli/template-oss": "4.17.0", - "tap": "^12.7.0" - }, - "license": "ISC", - "repository": { - "type": "git", - "url": "https://github.com/npm/node-semver.git" - }, - "bin": { - "semver": "./bin/semver.js" - }, - "files": [ - "bin", - "range.bnf", - "semver.js" - ], - "author": "GitHub Inc.", - "templateOSS": { - "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "content": "./scripts/template-oss", - "version": "4.17.0" - } -} diff --git a/node_modules/@actions/tool-cache/node_modules/semver/range.bnf b/node_modules/@actions/tool-cache/node_modules/semver/range.bnf deleted file mode 100644 index d4c6ae0d76..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/semver/range.bnf +++ /dev/null @@ -1,16 +0,0 @@ -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | [1-9] ( [0-9] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ diff --git a/node_modules/@actions/tool-cache/node_modules/semver/semver.js b/node_modules/@actions/tool-cache/node_modules/semver/semver.js deleted file mode 100644 index 39319c13ca..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/semver/semver.js +++ /dev/null @@ -1,1643 +0,0 @@ -exports = module.exports = SemVer - -var debug -/* istanbul ignore next */ -if (typeof process === 'object' && - process.env && - process.env.NODE_DEBUG && - /\bsemver\b/i.test(process.env.NODE_DEBUG)) { - debug = function () { - var args = Array.prototype.slice.call(arguments, 0) - args.unshift('SEMVER') - console.log.apply(console, args) - } -} else { - debug = function () {} -} - -// Note: this is the semver.org version of the spec that it implements -// Not necessarily the package version of this code. -exports.SEMVER_SPEC_VERSION = '2.0.0' - -var MAX_LENGTH = 256 -var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || - /* istanbul ignore next */ 9007199254740991 - -// Max safe segment length for coercion. -var MAX_SAFE_COMPONENT_LENGTH = 16 - -var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6 - -// The actual regexps go on exports.re -var re = exports.re = [] -var safeRe = exports.safeRe = [] -var src = exports.src = [] -var t = exports.tokens = {} -var R = 0 - -function tok (n) { - t[n] = R++ -} - -var LETTERDASHNUMBER = '[a-zA-Z0-9-]' - -// Replace some greedy regex tokens to prevent regex dos issues. These regex are -// used internally via the safeRe object since all inputs in this library get -// normalized first to trim and collapse all extra whitespace. The original -// regexes are exported for userland consumption and lower level usage. A -// future breaking change could export the safer regex only with a note that -// all input should have extra whitespace removed. -var safeRegexReplacements = [ - ['\\s', 1], - ['\\d', MAX_LENGTH], - [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH], -] - -function makeSafeRe (value) { - for (var i = 0; i < safeRegexReplacements.length; i++) { - var token = safeRegexReplacements[i][0] - var max = safeRegexReplacements[i][1] - value = value - .split(token + '*').join(token + '{0,' + max + '}') - .split(token + '+').join(token + '{1,' + max + '}') - } - return value -} - -// The following Regular Expressions can be used for tokenizing, -// validating, and parsing SemVer version strings. - -// ## Numeric Identifier -// A single `0`, or a non-zero digit followed by zero or more digits. - -tok('NUMERICIDENTIFIER') -src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*' -tok('NUMERICIDENTIFIERLOOSE') -src[t.NUMERICIDENTIFIERLOOSE] = '\\d+' - -// ## Non-numeric Identifier -// Zero or more digits, followed by a letter or hyphen, and then zero or -// more letters, digits, or hyphens. - -tok('NONNUMERICIDENTIFIER') -src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*' - -// ## Main Version -// Three dot-separated numeric identifiers. - -tok('MAINVERSION') -src[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')' - -tok('MAINVERSIONLOOSE') -src[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')' - -// ## Pre-release Version Identifier -// A numeric identifier, or a non-numeric identifier. - -tok('PRERELEASEIDENTIFIER') -src[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' - -tok('PRERELEASEIDENTIFIERLOOSE') -src[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' - -// ## Pre-release Version -// Hyphen, followed by one or more dot-separated pre-release version -// identifiers. - -tok('PRERELEASE') -src[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))' - -tok('PRERELEASELOOSE') -src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))' - -// ## Build Metadata Identifier -// Any combination of digits, letters, or hyphens. - -tok('BUILDIDENTIFIER') -src[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+' - -// ## Build Metadata -// Plus sign, followed by one or more period-separated build metadata -// identifiers. - -tok('BUILD') -src[t.BUILD] = '(?:\\+(' + src[t.BUILDIDENTIFIER] + - '(?:\\.' + src[t.BUILDIDENTIFIER] + ')*))' - -// ## Full Version String -// A main version, followed optionally by a pre-release version and -// build metadata. - -// Note that the only major, minor, patch, and pre-release sections of -// the version string are capturing groups. The build metadata is not a -// capturing group, because it should not ever be used in version -// comparison. - -tok('FULL') -tok('FULLPLAIN') -src[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] + - src[t.PRERELEASE] + '?' + - src[t.BUILD] + '?' - -src[t.FULL] = '^' + src[t.FULLPLAIN] + '$' - -// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. -// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty -// common in the npm registry. -tok('LOOSEPLAIN') -src[t.LOOSEPLAIN] = '[v=\\s]*' + src[t.MAINVERSIONLOOSE] + - src[t.PRERELEASELOOSE] + '?' + - src[t.BUILD] + '?' - -tok('LOOSE') -src[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$' - -tok('GTLT') -src[t.GTLT] = '((?:<|>)?=?)' - -// Something like "2.*" or "1.2.x". -// Note that "x.x" is a valid xRange identifer, meaning "any version" -// Only the first item is strictly required. -tok('XRANGEIDENTIFIERLOOSE') -src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' -tok('XRANGEIDENTIFIER') -src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\*' - -tok('XRANGEPLAIN') -src[t.XRANGEPLAIN] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:' + src[t.PRERELEASE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' - -tok('XRANGEPLAINLOOSE') -src[t.XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:' + src[t.PRERELEASELOOSE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' - -tok('XRANGE') -src[t.XRANGE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAIN] + '$' -tok('XRANGELOOSE') -src[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAINLOOSE] + '$' - -// Coercion. -// Extract anything that could conceivably be a part of a valid semver -tok('COERCE') -src[t.COERCE] = '(^|[^\\d])' + - '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:$|[^\\d])' -tok('COERCERTL') -re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g') -safeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g') - -// Tilde ranges. -// Meaning is "reasonably at or greater than" -tok('LONETILDE') -src[t.LONETILDE] = '(?:~>?)' - -tok('TILDETRIM') -src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+' -re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g') -safeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g') -var tildeTrimReplace = '$1~' - -tok('TILDE') -src[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$' -tok('TILDELOOSE') -src[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$' - -// Caret ranges. -// Meaning is "at least and backwards compatible with" -tok('LONECARET') -src[t.LONECARET] = '(?:\\^)' - -tok('CARETTRIM') -src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+' -re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g') -safeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g') -var caretTrimReplace = '$1^' - -tok('CARET') -src[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$' -tok('CARETLOOSE') -src[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$' - -// A simple gt/lt/eq thing, or just "" to indicate "any version" -tok('COMPARATORLOOSE') -src[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\s*(' + src[t.LOOSEPLAIN] + ')$|^$' -tok('COMPARATOR') -src[t.COMPARATOR] = '^' + src[t.GTLT] + '\\s*(' + src[t.FULLPLAIN] + ')$|^$' - -// An expression to strip any whitespace between the gtlt and the thing -// it modifies, so that `> 1.2.3` ==> `>1.2.3` -tok('COMPARATORTRIM') -src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] + - '\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')' - -// this one has to use the /g flag -re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g') -safeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g') -var comparatorTrimReplace = '$1$2$3' - -// Something like `1.2.3 - 1.2.4` -// Note that these all use the loose form, because they'll be -// checked against either the strict or loose comparator form -// later. -tok('HYPHENRANGE') -src[t.HYPHENRANGE] = '^\\s*(' + src[t.XRANGEPLAIN] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAIN] + ')' + - '\\s*$' - -tok('HYPHENRANGELOOSE') -src[t.HYPHENRANGELOOSE] = '^\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s*$' - -// Star ranges basically just allow anything at all. -tok('STAR') -src[t.STAR] = '(<|>)?=?\\s*\\*' - -// Compile to actual regexp objects. -// All are flag-free, unless they were created above with a flag. -for (var i = 0; i < R; i++) { - debug(i, src[i]) - if (!re[i]) { - re[i] = new RegExp(src[i]) - - // Replace all greedy whitespace to prevent regex dos issues. These regex are - // used internally via the safeRe object since all inputs in this library get - // normalized first to trim and collapse all extra whitespace. The original - // regexes are exported for userland consumption and lower level usage. A - // future breaking change could export the safer regex only with a note that - // all input should have extra whitespace removed. - safeRe[i] = new RegExp(makeSafeRe(src[i])) - } -} - -exports.parse = parse -function parse (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (version instanceof SemVer) { - return version - } - - if (typeof version !== 'string') { - return null - } - - if (version.length > MAX_LENGTH) { - return null - } - - var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL] - if (!r.test(version)) { - return null - } - - try { - return new SemVer(version, options) - } catch (er) { - return null - } -} - -exports.valid = valid -function valid (version, options) { - var v = parse(version, options) - return v ? v.version : null -} - -exports.clean = clean -function clean (version, options) { - var s = parse(version.trim().replace(/^[=v]+/, ''), options) - return s ? s.version : null -} - -exports.SemVer = SemVer - -function SemVer (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - if (version instanceof SemVer) { - if (version.loose === options.loose) { - return version - } else { - version = version.version - } - } else if (typeof version !== 'string') { - throw new TypeError('Invalid Version: ' + version) - } - - if (version.length > MAX_LENGTH) { - throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters') - } - - if (!(this instanceof SemVer)) { - return new SemVer(version, options) - } - - debug('SemVer', version, options) - this.options = options - this.loose = !!options.loose - - var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]) - - if (!m) { - throw new TypeError('Invalid Version: ' + version) - } - - this.raw = version - - // these are actually numbers - this.major = +m[1] - this.minor = +m[2] - this.patch = +m[3] - - if (this.major > MAX_SAFE_INTEGER || this.major < 0) { - throw new TypeError('Invalid major version') - } - - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { - throw new TypeError('Invalid minor version') - } - - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { - throw new TypeError('Invalid patch version') - } - - // numberify any prerelease numeric ids - if (!m[4]) { - this.prerelease = [] - } else { - this.prerelease = m[4].split('.').map(function (id) { - if (/^[0-9]+$/.test(id)) { - var num = +id - if (num >= 0 && num < MAX_SAFE_INTEGER) { - return num - } - } - return id - }) - } - - this.build = m[5] ? m[5].split('.') : [] - this.format() -} - -SemVer.prototype.format = function () { - this.version = this.major + '.' + this.minor + '.' + this.patch - if (this.prerelease.length) { - this.version += '-' + this.prerelease.join('.') - } - return this.version -} - -SemVer.prototype.toString = function () { - return this.version -} - -SemVer.prototype.compare = function (other) { - debug('SemVer.compare', this.version, this.options, other) - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - return this.compareMain(other) || this.comparePre(other) -} - -SemVer.prototype.compareMain = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - return compareIdentifiers(this.major, other.major) || - compareIdentifiers(this.minor, other.minor) || - compareIdentifiers(this.patch, other.patch) -} - -SemVer.prototype.comparePre = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - // NOT having a prerelease is > having one - if (this.prerelease.length && !other.prerelease.length) { - return -1 - } else if (!this.prerelease.length && other.prerelease.length) { - return 1 - } else if (!this.prerelease.length && !other.prerelease.length) { - return 0 - } - - var i = 0 - do { - var a = this.prerelease[i] - var b = other.prerelease[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} - -SemVer.prototype.compareBuild = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - var i = 0 - do { - var a = this.build[i] - var b = other.build[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} - -// preminor will bump the version up to the next minor release, and immediately -// down to pre-release. premajor and prepatch work the same way. -SemVer.prototype.inc = function (release, identifier) { - switch (release) { - case 'premajor': - this.prerelease.length = 0 - this.patch = 0 - this.minor = 0 - this.major++ - this.inc('pre', identifier) - break - case 'preminor': - this.prerelease.length = 0 - this.patch = 0 - this.minor++ - this.inc('pre', identifier) - break - case 'prepatch': - // If this is already a prerelease, it will bump to the next version - // drop any prereleases that might already exist, since they are not - // relevant at this point. - this.prerelease.length = 0 - this.inc('patch', identifier) - this.inc('pre', identifier) - break - // If the input is a non-prerelease version, this acts the same as - // prepatch. - case 'prerelease': - if (this.prerelease.length === 0) { - this.inc('patch', identifier) - } - this.inc('pre', identifier) - break - - case 'major': - // If this is a pre-major version, bump up to the same major version. - // Otherwise increment major. - // 1.0.0-5 bumps to 1.0.0 - // 1.1.0 bumps to 2.0.0 - if (this.minor !== 0 || - this.patch !== 0 || - this.prerelease.length === 0) { - this.major++ - } - this.minor = 0 - this.patch = 0 - this.prerelease = [] - break - case 'minor': - // If this is a pre-minor version, bump up to the same minor version. - // Otherwise increment minor. - // 1.2.0-5 bumps to 1.2.0 - // 1.2.1 bumps to 1.3.0 - if (this.patch !== 0 || this.prerelease.length === 0) { - this.minor++ - } - this.patch = 0 - this.prerelease = [] - break - case 'patch': - // If this is not a pre-release version, it will increment the patch. - // If it is a pre-release it will bump up to the same patch version. - // 1.2.0-5 patches to 1.2.0 - // 1.2.0 patches to 1.2.1 - if (this.prerelease.length === 0) { - this.patch++ - } - this.prerelease = [] - break - // This probably shouldn't be used publicly. - // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction. - case 'pre': - if (this.prerelease.length === 0) { - this.prerelease = [0] - } else { - var i = this.prerelease.length - while (--i >= 0) { - if (typeof this.prerelease[i] === 'number') { - this.prerelease[i]++ - i = -2 - } - } - if (i === -1) { - // didn't increment anything - this.prerelease.push(0) - } - } - if (identifier) { - // 1.2.0-beta.1 bumps to 1.2.0-beta.2, - // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 - if (this.prerelease[0] === identifier) { - if (isNaN(this.prerelease[1])) { - this.prerelease = [identifier, 0] - } - } else { - this.prerelease = [identifier, 0] - } - } - break - - default: - throw new Error('invalid increment argument: ' + release) - } - this.format() - this.raw = this.version - return this -} - -exports.inc = inc -function inc (version, release, loose, identifier) { - if (typeof (loose) === 'string') { - identifier = loose - loose = undefined - } - - try { - return new SemVer(version, loose).inc(release, identifier).version - } catch (er) { - return null - } -} - -exports.diff = diff -function diff (version1, version2) { - if (eq(version1, version2)) { - return null - } else { - var v1 = parse(version1) - var v2 = parse(version2) - var prefix = '' - if (v1.prerelease.length || v2.prerelease.length) { - prefix = 'pre' - var defaultResult = 'prerelease' - } - for (var key in v1) { - if (key === 'major' || key === 'minor' || key === 'patch') { - if (v1[key] !== v2[key]) { - return prefix + key - } - } - } - return defaultResult // may be undefined - } -} - -exports.compareIdentifiers = compareIdentifiers - -var numeric = /^[0-9]+$/ -function compareIdentifiers (a, b) { - var anum = numeric.test(a) - var bnum = numeric.test(b) - - if (anum && bnum) { - a = +a - b = +b - } - - return a === b ? 0 - : (anum && !bnum) ? -1 - : (bnum && !anum) ? 1 - : a < b ? -1 - : 1 -} - -exports.rcompareIdentifiers = rcompareIdentifiers -function rcompareIdentifiers (a, b) { - return compareIdentifiers(b, a) -} - -exports.major = major -function major (a, loose) { - return new SemVer(a, loose).major -} - -exports.minor = minor -function minor (a, loose) { - return new SemVer(a, loose).minor -} - -exports.patch = patch -function patch (a, loose) { - return new SemVer(a, loose).patch -} - -exports.compare = compare -function compare (a, b, loose) { - return new SemVer(a, loose).compare(new SemVer(b, loose)) -} - -exports.compareLoose = compareLoose -function compareLoose (a, b) { - return compare(a, b, true) -} - -exports.compareBuild = compareBuild -function compareBuild (a, b, loose) { - var versionA = new SemVer(a, loose) - var versionB = new SemVer(b, loose) - return versionA.compare(versionB) || versionA.compareBuild(versionB) -} - -exports.rcompare = rcompare -function rcompare (a, b, loose) { - return compare(b, a, loose) -} - -exports.sort = sort -function sort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) - }) -} - -exports.rsort = rsort -function rsort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) - }) -} - -exports.gt = gt -function gt (a, b, loose) { - return compare(a, b, loose) > 0 -} - -exports.lt = lt -function lt (a, b, loose) { - return compare(a, b, loose) < 0 -} - -exports.eq = eq -function eq (a, b, loose) { - return compare(a, b, loose) === 0 -} - -exports.neq = neq -function neq (a, b, loose) { - return compare(a, b, loose) !== 0 -} - -exports.gte = gte -function gte (a, b, loose) { - return compare(a, b, loose) >= 0 -} - -exports.lte = lte -function lte (a, b, loose) { - return compare(a, b, loose) <= 0 -} - -exports.cmp = cmp -function cmp (a, op, b, loose) { - switch (op) { - case '===': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a === b - - case '!==': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a !== b - - case '': - case '=': - case '==': - return eq(a, b, loose) - - case '!=': - return neq(a, b, loose) - - case '>': - return gt(a, b, loose) - - case '>=': - return gte(a, b, loose) - - case '<': - return lt(a, b, loose) - - case '<=': - return lte(a, b, loose) - - default: - throw new TypeError('Invalid operator: ' + op) - } -} - -exports.Comparator = Comparator -function Comparator (comp, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (comp instanceof Comparator) { - if (comp.loose === !!options.loose) { - return comp - } else { - comp = comp.value - } - } - - if (!(this instanceof Comparator)) { - return new Comparator(comp, options) - } - - comp = comp.trim().split(/\s+/).join(' ') - debug('comparator', comp, options) - this.options = options - this.loose = !!options.loose - this.parse(comp) - - if (this.semver === ANY) { - this.value = '' - } else { - this.value = this.operator + this.semver.version - } - - debug('comp', this) -} - -var ANY = {} -Comparator.prototype.parse = function (comp) { - var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR] - var m = comp.match(r) - - if (!m) { - throw new TypeError('Invalid comparator: ' + comp) - } - - this.operator = m[1] !== undefined ? m[1] : '' - if (this.operator === '=') { - this.operator = '' - } - - // if it literally is just '>' or '' then allow anything. - if (!m[2]) { - this.semver = ANY - } else { - this.semver = new SemVer(m[2], this.options.loose) - } -} - -Comparator.prototype.toString = function () { - return this.value -} - -Comparator.prototype.test = function (version) { - debug('Comparator.test', version, this.options.loose) - - if (this.semver === ANY || version === ANY) { - return true - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - return cmp(version, this.operator, this.semver, this.options) -} - -Comparator.prototype.intersects = function (comp, options) { - if (!(comp instanceof Comparator)) { - throw new TypeError('a Comparator is required') - } - - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - var rangeTmp - - if (this.operator === '') { - if (this.value === '') { - return true - } - rangeTmp = new Range(comp.value, options) - return satisfies(this.value, rangeTmp, options) - } else if (comp.operator === '') { - if (comp.value === '') { - return true - } - rangeTmp = new Range(this.value, options) - return satisfies(comp.semver, rangeTmp, options) - } - - var sameDirectionIncreasing = - (this.operator === '>=' || this.operator === '>') && - (comp.operator === '>=' || comp.operator === '>') - var sameDirectionDecreasing = - (this.operator === '<=' || this.operator === '<') && - (comp.operator === '<=' || comp.operator === '<') - var sameSemVer = this.semver.version === comp.semver.version - var differentDirectionsInclusive = - (this.operator === '>=' || this.operator === '<=') && - (comp.operator === '>=' || comp.operator === '<=') - var oppositeDirectionsLessThan = - cmp(this.semver, '<', comp.semver, options) && - ((this.operator === '>=' || this.operator === '>') && - (comp.operator === '<=' || comp.operator === '<')) - var oppositeDirectionsGreaterThan = - cmp(this.semver, '>', comp.semver, options) && - ((this.operator === '<=' || this.operator === '<') && - (comp.operator === '>=' || comp.operator === '>')) - - return sameDirectionIncreasing || sameDirectionDecreasing || - (sameSemVer && differentDirectionsInclusive) || - oppositeDirectionsLessThan || oppositeDirectionsGreaterThan -} - -exports.Range = Range -function Range (range, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (range instanceof Range) { - if (range.loose === !!options.loose && - range.includePrerelease === !!options.includePrerelease) { - return range - } else { - return new Range(range.raw, options) - } - } - - if (range instanceof Comparator) { - return new Range(range.value, options) - } - - if (!(this instanceof Range)) { - return new Range(range, options) - } - - this.options = options - this.loose = !!options.loose - this.includePrerelease = !!options.includePrerelease - - // First reduce all whitespace as much as possible so we do not have to rely - // on potentially slow regexes like \s*. This is then stored and used for - // future error messages as well. - this.raw = range - .trim() - .split(/\s+/) - .join(' ') - - // First, split based on boolean or || - this.set = this.raw.split('||').map(function (range) { - return this.parseRange(range.trim()) - }, this).filter(function (c) { - // throw out any that are not relevant for whatever reason - return c.length - }) - - if (!this.set.length) { - throw new TypeError('Invalid SemVer Range: ' + this.raw) - } - - this.format() -} - -Range.prototype.format = function () { - this.range = this.set.map(function (comps) { - return comps.join(' ').trim() - }).join('||').trim() - return this.range -} - -Range.prototype.toString = function () { - return this.range -} - -Range.prototype.parseRange = function (range) { - var loose = this.options.loose - // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` - var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE] - range = range.replace(hr, hyphenReplace) - debug('hyphen replace', range) - // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` - range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace) - debug('comparator trim', range, safeRe[t.COMPARATORTRIM]) - - // `~ 1.2.3` => `~1.2.3` - range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace) - - // `^ 1.2.3` => `^1.2.3` - range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace) - - // normalize spaces - range = range.split(/\s+/).join(' ') - - // At this point, the range is completely trimmed and - // ready to be split into comparators. - - var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR] - var set = range.split(' ').map(function (comp) { - return parseComparator(comp, this.options) - }, this).join(' ').split(/\s+/) - if (this.options.loose) { - // in loose mode, throw out any that are not valid comparators - set = set.filter(function (comp) { - return !!comp.match(compRe) - }) - } - set = set.map(function (comp) { - return new Comparator(comp, this.options) - }, this) - - return set -} - -Range.prototype.intersects = function (range, options) { - if (!(range instanceof Range)) { - throw new TypeError('a Range is required') - } - - return this.set.some(function (thisComparators) { - return ( - isSatisfiable(thisComparators, options) && - range.set.some(function (rangeComparators) { - return ( - isSatisfiable(rangeComparators, options) && - thisComparators.every(function (thisComparator) { - return rangeComparators.every(function (rangeComparator) { - return thisComparator.intersects(rangeComparator, options) - }) - }) - ) - }) - ) - }) -} - -// take a set of comparators and determine whether there -// exists a version which can satisfy it -function isSatisfiable (comparators, options) { - var result = true - var remainingComparators = comparators.slice() - var testComparator = remainingComparators.pop() - - while (result && remainingComparators.length) { - result = remainingComparators.every(function (otherComparator) { - return testComparator.intersects(otherComparator, options) - }) - - testComparator = remainingComparators.pop() - } - - return result -} - -// Mostly just for testing and legacy API reasons -exports.toComparators = toComparators -function toComparators (range, options) { - return new Range(range, options).set.map(function (comp) { - return comp.map(function (c) { - return c.value - }).join(' ').trim().split(' ') - }) -} - -// comprised of xranges, tildes, stars, and gtlt's at this point. -// already replaced the hyphen ranges -// turn into a set of JUST comparators. -function parseComparator (comp, options) { - debug('comp', comp, options) - comp = replaceCarets(comp, options) - debug('caret', comp) - comp = replaceTildes(comp, options) - debug('tildes', comp) - comp = replaceXRanges(comp, options) - debug('xrange', comp) - comp = replaceStars(comp, options) - debug('stars', comp) - return comp -} - -function isX (id) { - return !id || id.toLowerCase() === 'x' || id === '*' -} - -// ~, ~> --> * (any, kinda silly) -// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0 -// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0 -// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0 -// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0 -// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0 -function replaceTildes (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceTilde(comp, options) - }).join(' ') -} - -function replaceTilde (comp, options) { - var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE] - return comp.replace(r, function (_, M, m, p, pr) { - debug('tilde', comp, _, M, m, p, pr) - var ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - // ~1.2 == >=1.2.0 <1.3.0 - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else if (pr) { - debug('replaceTilde pr', pr) - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' - } else { - // ~1.2.3 == >=1.2.3 <1.3.0 - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' - } - - debug('tilde return', ret) - return ret - }) -} - -// ^ --> * (any, kinda silly) -// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0 -// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0 -// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0 -// ^1.2.3 --> >=1.2.3 <2.0.0 -// ^1.2.0 --> >=1.2.0 <2.0.0 -function replaceCarets (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceCaret(comp, options) - }).join(' ') -} - -function replaceCaret (comp, options) { - debug('caret', comp, options) - var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET] - return comp.replace(r, function (_, M, m, p, pr) { - debug('caret', comp, _, M, m, p, pr) - var ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - if (M === '0') { - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else { - ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0' - } - } else if (pr) { - debug('replaceCaret pr', pr) - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + m + '.' + (+p + 1) - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' - } - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + (+M + 1) + '.0.0' - } - } else { - debug('no pr') - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + m + '.' + (+p + 1) - } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' - } - } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + (+M + 1) + '.0.0' - } - } - - debug('caret return', ret) - return ret - }) -} - -function replaceXRanges (comp, options) { - debug('replaceXRanges', comp, options) - return comp.split(/\s+/).map(function (comp) { - return replaceXRange(comp, options) - }).join(' ') -} - -function replaceXRange (comp, options) { - comp = comp.trim() - var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE] - return comp.replace(r, function (ret, gtlt, M, m, p, pr) { - debug('xRange', comp, ret, gtlt, M, m, p, pr) - var xM = isX(M) - var xm = xM || isX(m) - var xp = xm || isX(p) - var anyX = xp - - if (gtlt === '=' && anyX) { - gtlt = '' - } - - // if we're including prereleases in the match, then we need - // to fix this to -0, the lowest possible prerelease value - pr = options.includePrerelease ? '-0' : '' - - if (xM) { - if (gtlt === '>' || gtlt === '<') { - // nothing is allowed - ret = '<0.0.0-0' - } else { - // nothing is forbidden - ret = '*' - } - } else if (gtlt && anyX) { - // we know patch is an x, because we have any x at all. - // replace X with 0 - if (xm) { - m = 0 - } - p = 0 - - if (gtlt === '>') { - // >1 => >=2.0.0 - // >1.2 => >=1.3.0 - // >1.2.3 => >= 1.2.4 - gtlt = '>=' - if (xm) { - M = +M + 1 - m = 0 - p = 0 - } else { - m = +m + 1 - p = 0 - } - } else if (gtlt === '<=') { - // <=0.7.x is actually <0.8.0, since any 0.7.x should - // pass. Similarly, <=7.x is actually <8.0.0, etc. - gtlt = '<' - if (xm) { - M = +M + 1 - } else { - m = +m + 1 - } - } - - ret = gtlt + M + '.' + m + '.' + p + pr - } else if (xm) { - ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr - } else if (xp) { - ret = '>=' + M + '.' + m + '.0' + pr + - ' <' + M + '.' + (+m + 1) + '.0' + pr - } - - debug('xRange return', ret) - - return ret - }) -} - -// Because * is AND-ed with everything else in the comparator, -// and '' means "any version", just remove the *s entirely. -function replaceStars (comp, options) { - debug('replaceStars', comp, options) - // Looseness is ignored here. star is always as loose as it gets! - return comp.trim().replace(safeRe[t.STAR], '') -} - -// This function is passed to string.replace(re[t.HYPHENRANGE]) -// M, m, patch, prerelease, build -// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 -// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do -// 1.2 - 3.4 => >=1.2.0 <3.5.0 -function hyphenReplace ($0, - from, fM, fm, fp, fpr, fb, - to, tM, tm, tp, tpr, tb) { - if (isX(fM)) { - from = '' - } else if (isX(fm)) { - from = '>=' + fM + '.0.0' - } else if (isX(fp)) { - from = '>=' + fM + '.' + fm + '.0' - } else { - from = '>=' + from - } - - if (isX(tM)) { - to = '' - } else if (isX(tm)) { - to = '<' + (+tM + 1) + '.0.0' - } else if (isX(tp)) { - to = '<' + tM + '.' + (+tm + 1) + '.0' - } else if (tpr) { - to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr - } else { - to = '<=' + to - } - - return (from + ' ' + to).trim() -} - -// if ANY of the sets match ALL of its comparators, then pass -Range.prototype.test = function (version) { - if (!version) { - return false - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - for (var i = 0; i < this.set.length; i++) { - if (testSet(this.set[i], version, this.options)) { - return true - } - } - return false -} - -function testSet (set, version, options) { - for (var i = 0; i < set.length; i++) { - if (!set[i].test(version)) { - return false - } - } - - if (version.prerelease.length && !options.includePrerelease) { - // Find the set of versions that are allowed to have prereleases - // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 - // That should allow `1.2.3-pr.2` to pass. - // However, `1.2.4-alpha.notready` should NOT be allowed, - // even though it's within the range set by the comparators. - for (i = 0; i < set.length; i++) { - debug(set[i].semver) - if (set[i].semver === ANY) { - continue - } - - if (set[i].semver.prerelease.length > 0) { - var allowed = set[i].semver - if (allowed.major === version.major && - allowed.minor === version.minor && - allowed.patch === version.patch) { - return true - } - } - } - - // Version has a -pre, but it's not one of the ones we like. - return false - } - - return true -} - -exports.satisfies = satisfies -function satisfies (version, range, options) { - try { - range = new Range(range, options) - } catch (er) { - return false - } - return range.test(version) -} - -exports.maxSatisfying = maxSatisfying -function maxSatisfying (versions, range, options) { - var max = null - var maxSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!max || maxSV.compare(v) === -1) { - // compare(max, v, true) - max = v - maxSV = new SemVer(max, options) - } - } - }) - return max -} - -exports.minSatisfying = minSatisfying -function minSatisfying (versions, range, options) { - var min = null - var minSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!min || minSV.compare(v) === 1) { - // compare(min, v, true) - min = v - minSV = new SemVer(min, options) - } - } - }) - return min -} - -exports.minVersion = minVersion -function minVersion (range, loose) { - range = new Range(range, loose) - - var minver = new SemVer('0.0.0') - if (range.test(minver)) { - return minver - } - - minver = new SemVer('0.0.0-0') - if (range.test(minver)) { - return minver - } - - minver = null - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] - - comparators.forEach(function (comparator) { - // Clone to avoid manipulating the comparator's semver object. - var compver = new SemVer(comparator.semver.version) - switch (comparator.operator) { - case '>': - if (compver.prerelease.length === 0) { - compver.patch++ - } else { - compver.prerelease.push(0) - } - compver.raw = compver.format() - /* fallthrough */ - case '': - case '>=': - if (!minver || gt(minver, compver)) { - minver = compver - } - break - case '<': - case '<=': - /* Ignore maximum versions */ - break - /* istanbul ignore next */ - default: - throw new Error('Unexpected operation: ' + comparator.operator) - } - }) - } - - if (minver && range.test(minver)) { - return minver - } - - return null -} - -exports.validRange = validRange -function validRange (range, options) { - try { - // Return '*' instead of '' so that truthiness works. - // This will throw if it's invalid anyway - return new Range(range, options).range || '*' - } catch (er) { - return null - } -} - -// Determine if version is less than all the versions possible in the range -exports.ltr = ltr -function ltr (version, range, options) { - return outside(version, range, '<', options) -} - -// Determine if version is greater than all the versions possible in the range. -exports.gtr = gtr -function gtr (version, range, options) { - return outside(version, range, '>', options) -} - -exports.outside = outside -function outside (version, range, hilo, options) { - version = new SemVer(version, options) - range = new Range(range, options) - - var gtfn, ltefn, ltfn, comp, ecomp - switch (hilo) { - case '>': - gtfn = gt - ltefn = lte - ltfn = lt - comp = '>' - ecomp = '>=' - break - case '<': - gtfn = lt - ltefn = gte - ltfn = gt - comp = '<' - ecomp = '<=' - break - default: - throw new TypeError('Must provide a hilo val of "<" or ">"') - } - - // If it satisifes the range it is not outside - if (satisfies(version, range, options)) { - return false - } - - // From now on, variable terms are as if we're in "gtr" mode. - // but note that everything is flipped for the "ltr" function. - - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] - - var high = null - var low = null - - comparators.forEach(function (comparator) { - if (comparator.semver === ANY) { - comparator = new Comparator('>=0.0.0') - } - high = high || comparator - low = low || comparator - if (gtfn(comparator.semver, high.semver, options)) { - high = comparator - } else if (ltfn(comparator.semver, low.semver, options)) { - low = comparator - } - }) - - // If the edge version comparator has a operator then our version - // isn't outside it - if (high.operator === comp || high.operator === ecomp) { - return false - } - - // If the lowest version comparator has an operator and our version - // is less than it then it isn't higher than the range - if ((!low.operator || low.operator === comp) && - ltefn(version, low.semver)) { - return false - } else if (low.operator === ecomp && ltfn(version, low.semver)) { - return false - } - } - return true -} - -exports.prerelease = prerelease -function prerelease (version, options) { - var parsed = parse(version, options) - return (parsed && parsed.prerelease.length) ? parsed.prerelease : null -} - -exports.intersects = intersects -function intersects (r1, r2, options) { - r1 = new Range(r1, options) - r2 = new Range(r2, options) - return r1.intersects(r2) -} - -exports.coerce = coerce -function coerce (version, options) { - if (version instanceof SemVer) { - return version - } - - if (typeof version === 'number') { - version = String(version) - } - - if (typeof version !== 'string') { - return null - } - - options = options || {} - - var match = null - if (!options.rtl) { - match = version.match(safeRe[t.COERCE]) - } else { - // Find the right-most coercible string that does not share - // a terminus with a more left-ward coercible string. - // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' - // - // Walk through the string checking with a /g regexp - // Manually set the index so as to pick up overlapping matches. - // Stop when we get a match that ends at the string end, since no - // coercible string can be more right-ward without the same terminus. - var next - while ((next = safeRe[t.COERCERTL].exec(version)) && - (!match || match.index + match[0].length !== version.length) - ) { - if (!match || - next.index + next[0].length !== match.index + match[0].length) { - match = next - } - safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length - } - // leave it in a clean state - safeRe[t.COERCERTL].lastIndex = -1 - } - - if (match === null) { - return null - } - - return parse(match[2] + - '.' + (match[3] || '0') + - '.' + (match[4] || '0'), options) -} diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/AUTHORS b/node_modules/@actions/tool-cache/node_modules/uuid/AUTHORS deleted file mode 100644 index 5a10523062..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/AUTHORS +++ /dev/null @@ -1,5 +0,0 @@ -Robert Kieffer -Christoph Tavan -AJ ONeal -Vincent Voyer -Roman Shtylman diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/CHANGELOG.md b/node_modules/@actions/tool-cache/node_modules/uuid/CHANGELOG.md deleted file mode 100644 index f811b8a0cb..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/CHANGELOG.md +++ /dev/null @@ -1,119 +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.4.0](https://github.com/uuidjs/uuid/compare/v3.3.3...v3.4.0) (2020-01-16) - - -### Features - -* rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([e2d7314](https://github.com/uuidjs/uuid/commit/e2d7314)), closes [#338](https://github.com/uuidjs/uuid/issues/338) - -### [3.3.3](https://github.com/uuidjs/uuid/compare/v3.3.2...v3.3.3) (2019-08-19) - - -## [3.3.2](https://github.com/uuidjs/uuid/compare/v3.3.1...v3.3.2) (2018-06-28) - - -### Bug Fixes - -* typo ([305d877](https://github.com/uuidjs/uuid/commit/305d877)) - - - - -## [3.3.1](https://github.com/uuidjs/uuid/compare/v3.3.0...v3.3.1) (2018-06-28) - - -### Bug Fixes - -* fix [#284](https://github.com/uuidjs/uuid/issues/284) by setting function name in try-catch ([f2a60f2](https://github.com/uuidjs/uuid/commit/f2a60f2)) - - - - -# [3.3.0](https://github.com/uuidjs/uuid/compare/v3.2.1...v3.3.0) (2018-06-22) - - -### Bug Fixes - -* assignment to readonly property to allow running in strict mode ([#270](https://github.com/uuidjs/uuid/issues/270)) ([d062fdc](https://github.com/uuidjs/uuid/commit/d062fdc)) -* fix [#229](https://github.com/uuidjs/uuid/issues/229) ([c9684d4](https://github.com/uuidjs/uuid/commit/c9684d4)) -* Get correct version of IE11 crypto ([#274](https://github.com/uuidjs/uuid/issues/274)) ([153d331](https://github.com/uuidjs/uuid/commit/153d331)) -* mem issue when generating uuid ([#267](https://github.com/uuidjs/uuid/issues/267)) ([c47702c](https://github.com/uuidjs/uuid/commit/c47702c)) - -### Features - -* enforce Conventional Commit style commit messages ([#282](https://github.com/uuidjs/uuid/issues/282)) ([cc9a182](https://github.com/uuidjs/uuid/commit/cc9a182)) - - - -## [3.2.1](https://github.com/uuidjs/uuid/compare/v3.2.0...v3.2.1) (2018-01-16) - - -### Bug Fixes - -* use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b)) - - - - -# [3.2.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.2.0) (2018-01-16) - - -### Bug Fixes - -* remove mistakenly added typescript dependency, rollback version (standard-version will auto-increment) ([09fa824](https://github.com/uuidjs/uuid/commit/09fa824)) -* use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b)) - - -### Features - -* Add v3 Support ([#217](https://github.com/uuidjs/uuid/issues/217)) ([d94f726](https://github.com/uuidjs/uuid/commit/d94f726)) - - -# [3.1.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.0.1) (2017-06-17) - -### Bug Fixes - -* (fix) Add .npmignore file to exclude test/ and other non-essential files from packing. (#183) -* Fix typo (#178) -* Simple typo fix (#165) - -### Features -* v5 support in CLI (#197) -* V5 support (#188) - - -# 3.0.1 (2016-11-28) - -* split uuid versions into separate files - - -# 3.0.0 (2016-11-17) - -* remove .parse and .unparse - - -# 2.0.0 - -* Removed uuid.BufferClass - - -# 1.4.0 - -* Improved module context detection -* Removed public RNG functions - - -# 1.3.2 - -* Improve tests and handling of v1() options (Issue #24) -* Expose RNG option to allow for perf testing with different generators - - -# 1.3.0 - -* Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)! -* Support for node.js crypto API -* De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/LICENSE.md b/node_modules/@actions/tool-cache/node_modules/uuid/LICENSE.md deleted file mode 100644 index 8c84e39866..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2010-2016 Robert Kieffer and other contributors - -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/@actions/tool-cache/node_modules/uuid/README.md b/node_modules/@actions/tool-cache/node_modules/uuid/README.md deleted file mode 100644 index 1752e4751f..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/README.md +++ /dev/null @@ -1,276 +0,0 @@ - - -# uuid [![Build Status](https://secure.travis-ci.org/kelektiv/node-uuid.svg?branch=master)](http://travis-ci.org/kelektiv/node-uuid) # - -Simple, fast generation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDS. - -Features: - -* Support for version 1, 3, 4 and 5 UUIDs -* Cross-platform -* Uses cryptographically-strong random number APIs (when available) -* Zero-dependency, small footprint (... but not [this small](https://gist.github.com/982883)) - -[**Deprecation warning**: The use of `require('uuid')` is deprecated and will not be -supported after version 3.x of this module. Instead, use `require('uuid/[v1|v3|v4|v5]')` as shown in the examples below.] - -## Quickstart - CommonJS (Recommended) - -```shell -npm install uuid -``` - -Then generate your uuid version of choice ... - -Version 1 (timestamp): - -```javascript -const uuidv1 = require('uuid/v1'); -uuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d' - -``` - -Version 3 (namespace): - -```javascript -const uuidv3 = require('uuid/v3'); - -// ... using predefined DNS namespace (for domain names) -uuidv3('hello.example.com', uuidv3.DNS); // ⇨ '9125a8dc-52ee-365b-a5aa-81b0b3681cf6' - -// ... using predefined URL namespace (for, well, URLs) -uuidv3('http://example.com/hello', uuidv3.URL); // ⇨ 'c6235813-3ba4-3801-ae84-e0a6ebb7d138' - -// ... using a custom namespace -// -// Note: Custom namespaces should be a UUID string specific to your application! -// E.g. the one here was generated using this modules `uuid` CLI. -const MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341'; -uuidv3('Hello, World!', MY_NAMESPACE); // ⇨ 'e8b5a51d-11c8-3310-a6ab-367563f20686' - -``` - -Version 4 (random): - -```javascript -const uuidv4 = require('uuid/v4'); -uuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed' - -``` - -Version 5 (namespace): - -```javascript -const uuidv5 = require('uuid/v5'); - -// ... using predefined DNS namespace (for domain names) -uuidv5('hello.example.com', uuidv5.DNS); // ⇨ 'fdda765f-fc57-5604-a269-52a7df8164ec' - -// ... using predefined URL namespace (for, well, URLs) -uuidv5('http://example.com/hello', uuidv5.URL); // ⇨ '3bbcee75-cecc-5b56-8031-b6641c1ed1f1' - -// ... using a custom namespace -// -// Note: Custom namespaces should be a UUID string specific to your application! -// E.g. the one here was generated using this modules `uuid` CLI. -const MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341'; -uuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681' - -``` - -## API - -### Version 1 - -```javascript -const uuidv1 = require('uuid/v1'); - -// Incantations -uuidv1(); -uuidv1(options); -uuidv1(options, buffer, offset); -``` - -Generate and return a RFC4122 v1 (timestamp-based) UUID. - -* `options` - (Object) Optional uuid state to apply. Properties may include: - - * `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1. - * `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used. - * `msecs` - (Number) Time in milliseconds since unix Epoch. Default: The current time is used. - * `nsecs` - (Number between 0-9999) additional time, in 100-nanosecond units. Ignored if `msecs` is unspecified. Default: internal uuid counter is used, as per 4.2.1.2. - -* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. -* `offset` - (Number) Starting index in `buffer` at which to begin writing. - -Returns `buffer`, if specified, otherwise the string form of the UUID - -Note: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process. - -Example: Generate string UUID with fully-specified options - -```javascript -const v1options = { - node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab], - clockseq: 0x1234, - msecs: new Date('2011-11-01').getTime(), - nsecs: 5678 -}; -uuidv1(v1options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab' - -``` - -Example: In-place generation of two binary IDs - -```javascript -// Generate two ids in an array -const arr = new Array(); -uuidv1(null, arr, 0); // ⇨ - // [ - // 44, 94, 164, 192, 64, 103, - // 17, 233, 146, 52, 155, 29, - // 235, 77, 59, 125 - // ] -uuidv1(null, arr, 16); // ⇨ - // [ - // 44, 94, 164, 192, 64, 103, 17, 233, - // 146, 52, 155, 29, 235, 77, 59, 125, - // 44, 94, 164, 193, 64, 103, 17, 233, - // 146, 52, 155, 29, 235, 77, 59, 125 - // ] - -``` - -### Version 3 - -```javascript -const uuidv3 = require('uuid/v3'); - -// Incantations -uuidv3(name, namespace); -uuidv3(name, namespace, buffer); -uuidv3(name, namespace, buffer, offset); -``` - -Generate and return a RFC4122 v3 UUID. - -* `name` - (String | Array[]) "name" to create UUID with -* `namespace` - (String | Array[]) "namespace" UUID either as a String or Array[16] of byte values -* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. -* `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0 - -Returns `buffer`, if specified, otherwise the string form of the UUID - -Example: - -```javascript -uuidv3('hello world', MY_NAMESPACE); // ⇨ '042ffd34-d989-321c-ad06-f60826172424' - -``` - -### Version 4 - -```javascript -const uuidv4 = require('uuid/v4') - -// Incantations -uuidv4(); -uuidv4(options); -uuidv4(options, buffer, offset); -``` - -Generate and return a RFC4122 v4 UUID. - -* `options` - (Object) Optional uuid state to apply. Properties may include: - * `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values - * `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255) -* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. -* `offset` - (Number) Starting index in `buffer` at which to begin writing. - -Returns `buffer`, if specified, otherwise the string form of the UUID - -Example: Generate string UUID with predefined `random` values - -```javascript -const v4options = { - random: [ - 0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea, - 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36 - ] -}; -uuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836' - -``` - -Example: Generate two IDs in a single buffer - -```javascript -const buffer = new Array(); -uuidv4(null, buffer, 0); // ⇨ - // [ - // 155, 29, 235, 77, 59, - // 125, 75, 173, 155, 221, - // 43, 13, 123, 61, 203, - // 109 - // ] -uuidv4(null, buffer, 16); // ⇨ - // [ - // 155, 29, 235, 77, 59, 125, 75, 173, - // 155, 221, 43, 13, 123, 61, 203, 109, - // 27, 157, 107, 205, 187, 253, 75, 45, - // 155, 93, 171, 141, 251, 189, 75, 237 - // ] - -``` - -### Version 5 - -```javascript -const uuidv5 = require('uuid/v5'); - -// Incantations -uuidv5(name, namespace); -uuidv5(name, namespace, buffer); -uuidv5(name, namespace, buffer, offset); -``` - -Generate and return a RFC4122 v5 UUID. - -* `name` - (String | Array[]) "name" to create UUID with -* `namespace` - (String | Array[]) "namespace" UUID either as a String or Array[16] of byte values -* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. -* `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0 - -Returns `buffer`, if specified, otherwise the string form of the UUID - -Example: - -```javascript -uuidv5('hello world', MY_NAMESPACE); // ⇨ '9f282611-e0fd-5650-8953-89c8e342da0b' - -``` - -## Command Line - -UUIDs can be generated from the command line with the `uuid` command. - -```shell -$ uuid -ddeb27fb-d9a0-4624-be4d-4615062daed4 - -$ uuid v1 -02d37060-d446-11e7-a9fa-7bdae751ebe1 -``` - -Type `uuid --help` for usage details - -## Testing - -```shell -npm test -``` - ----- -Markdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd) \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/bin/uuid b/node_modules/@actions/tool-cache/node_modules/uuid/bin/uuid deleted file mode 100755 index 502626e60f..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/bin/uuid +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env node -var assert = require('assert'); - -function usage() { - console.log('Usage:'); - console.log(' uuid'); - console.log(' uuid v1'); - console.log(' uuid v3 '); - console.log(' uuid v4'); - console.log(' uuid v5 '); - console.log(' uuid --help'); - console.log('\nNote: may be "URL" or "DNS" to use the corresponding UUIDs defined by RFC4122'); -} - -var args = process.argv.slice(2); - -if (args.indexOf('--help') >= 0) { - usage(); - process.exit(0); -} -var version = args.shift() || 'v4'; - -switch (version) { - case 'v1': - var uuidV1 = require('../v1'); - console.log(uuidV1()); - break; - - case 'v3': - var uuidV3 = require('../v3'); - - var name = args.shift(); - var namespace = args.shift(); - assert(name != null, 'v3 name not specified'); - assert(namespace != null, 'v3 namespace not specified'); - - if (namespace == 'URL') namespace = uuidV3.URL; - if (namespace == 'DNS') namespace = uuidV3.DNS; - - console.log(uuidV3(name, namespace)); - break; - - case 'v4': - var uuidV4 = require('../v4'); - console.log(uuidV4()); - break; - - case 'v5': - var uuidV5 = require('../v5'); - - var name = args.shift(); - var namespace = args.shift(); - assert(name != null, 'v5 name not specified'); - assert(namespace != null, 'v5 namespace not specified'); - - if (namespace == 'URL') namespace = uuidV5.URL; - if (namespace == 'DNS') namespace = uuidV5.DNS; - - console.log(uuidV5(name, namespace)); - break; - - default: - usage(); - process.exit(1); -} diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/index.js b/node_modules/@actions/tool-cache/node_modules/uuid/index.js deleted file mode 100644 index e96791ab4b..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/index.js +++ /dev/null @@ -1,8 +0,0 @@ -var v1 = require('./v1'); -var v4 = require('./v4'); - -var uuid = v4; -uuid.v1 = v1; -uuid.v4 = v4; - -module.exports = uuid; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js deleted file mode 100644 index 24b60412a2..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ -var byteToHex = []; -for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); -} - -function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; - // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 - return ([ - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]] - ]).join(''); -} - -module.exports = bytesToUuid; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/md5-browser.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/md5-browser.js deleted file mode 100644 index 9b3b6c7eff..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/md5-browser.js +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Browser-compatible JavaScript MD5 - * - * Modification of JavaScript MD5 - * https://github.com/blueimp/JavaScript-MD5 - * - * Copyright 2011, Sebastian Tschan - * https://blueimp.net - * - * Licensed under the MIT license: - * https://opensource.org/licenses/MIT - * - * Based on - * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message - * Digest Algorithm, as defined in RFC 1321. - * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009 - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * See http://pajhome.org.uk/crypt/md5 for more info. - */ - -'use strict'; - -function md5(bytes) { - if (typeof(bytes) == 'string') { - var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape - bytes = new Array(msg.length); - for (var i = 0; i < msg.length; i++) bytes[i] = msg.charCodeAt(i); - } - - return md5ToHexEncodedArray( - wordsToMd5( - bytesToWords(bytes) - , bytes.length * 8) - ); -} - - -/* -* Convert an array of little-endian words to an array of bytes -*/ -function md5ToHexEncodedArray(input) { - var i; - var x; - var output = []; - var length32 = input.length * 32; - var hexTab = '0123456789abcdef'; - var hex; - - for (i = 0; i < length32; i += 8) { - x = (input[i >> 5] >>> (i % 32)) & 0xFF; - - hex = parseInt(hexTab.charAt((x >>> 4) & 0x0F) + hexTab.charAt(x & 0x0F), 16); - - output.push(hex); - } - return output; -} - -/* -* Calculate the MD5 of an array of little-endian words, and a bit length. -*/ -function wordsToMd5(x, len) { - /* append padding */ - x[len >> 5] |= 0x80 << (len % 32); - x[(((len + 64) >>> 9) << 4) + 14] = len; - - var i; - var olda; - var oldb; - var oldc; - var oldd; - var a = 1732584193; - var b = -271733879; - var c = -1732584194; - - var d = 271733878; - - for (i = 0; i < x.length; i += 16) { - olda = a; - oldb = b; - oldc = c; - oldd = d; - - a = md5ff(a, b, c, d, x[i], 7, -680876936); - d = md5ff(d, a, b, c, x[i + 1], 12, -389564586); - c = md5ff(c, d, a, b, x[i + 2], 17, 606105819); - b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330); - a = md5ff(a, b, c, d, x[i + 4], 7, -176418897); - d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426); - c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341); - b = md5ff(b, c, d, a, x[i + 7], 22, -45705983); - a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416); - d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417); - c = md5ff(c, d, a, b, x[i + 10], 17, -42063); - b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162); - a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682); - d = md5ff(d, a, b, c, x[i + 13], 12, -40341101); - c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290); - b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329); - - a = md5gg(a, b, c, d, x[i + 1], 5, -165796510); - d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632); - c = md5gg(c, d, a, b, x[i + 11], 14, 643717713); - b = md5gg(b, c, d, a, x[i], 20, -373897302); - a = md5gg(a, b, c, d, x[i + 5], 5, -701558691); - d = md5gg(d, a, b, c, x[i + 10], 9, 38016083); - c = md5gg(c, d, a, b, x[i + 15], 14, -660478335); - b = md5gg(b, c, d, a, x[i + 4], 20, -405537848); - a = md5gg(a, b, c, d, x[i + 9], 5, 568446438); - d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690); - c = md5gg(c, d, a, b, x[i + 3], 14, -187363961); - b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501); - a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467); - d = md5gg(d, a, b, c, x[i + 2], 9, -51403784); - c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473); - b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734); - - a = md5hh(a, b, c, d, x[i + 5], 4, -378558); - d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463); - c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562); - b = md5hh(b, c, d, a, x[i + 14], 23, -35309556); - a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060); - d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353); - c = md5hh(c, d, a, b, x[i + 7], 16, -155497632); - b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640); - a = md5hh(a, b, c, d, x[i + 13], 4, 681279174); - d = md5hh(d, a, b, c, x[i], 11, -358537222); - c = md5hh(c, d, a, b, x[i + 3], 16, -722521979); - b = md5hh(b, c, d, a, x[i + 6], 23, 76029189); - a = md5hh(a, b, c, d, x[i + 9], 4, -640364487); - d = md5hh(d, a, b, c, x[i + 12], 11, -421815835); - c = md5hh(c, d, a, b, x[i + 15], 16, 530742520); - b = md5hh(b, c, d, a, x[i + 2], 23, -995338651); - - a = md5ii(a, b, c, d, x[i], 6, -198630844); - d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415); - c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905); - b = md5ii(b, c, d, a, x[i + 5], 21, -57434055); - a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571); - d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606); - c = md5ii(c, d, a, b, x[i + 10], 15, -1051523); - b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799); - a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359); - d = md5ii(d, a, b, c, x[i + 15], 10, -30611744); - c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380); - b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649); - a = md5ii(a, b, c, d, x[i + 4], 6, -145523070); - d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379); - c = md5ii(c, d, a, b, x[i + 2], 15, 718787259); - b = md5ii(b, c, d, a, x[i + 9], 21, -343485551); - - a = safeAdd(a, olda); - b = safeAdd(b, oldb); - c = safeAdd(c, oldc); - d = safeAdd(d, oldd); - } - return [a, b, c, d]; -} - -/* -* Convert an array bytes to an array of little-endian words -* Characters >255 have their high-byte silently ignored. -*/ -function bytesToWords(input) { - var i; - var output = []; - output[(input.length >> 2) - 1] = undefined; - for (i = 0; i < output.length; i += 1) { - output[i] = 0; - } - var length8 = input.length * 8; - for (i = 0; i < length8; i += 8) { - output[i >> 5] |= (input[(i / 8)] & 0xFF) << (i % 32); - } - - return output; -} - -/* -* Add integers, wrapping at 2^32. This uses 16-bit operations internally -* to work around bugs in some JS interpreters. -*/ -function safeAdd(x, y) { - var lsw = (x & 0xFFFF) + (y & 0xFFFF); - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); - return (msw << 16) | (lsw & 0xFFFF); -} - -/* -* Bitwise rotate a 32-bit number to the left. -*/ -function bitRotateLeft(num, cnt) { - return (num << cnt) | (num >>> (32 - cnt)); -} - -/* -* These functions implement the four basic operations the algorithm uses. -*/ -function md5cmn(q, a, b, x, s, t) { - return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b); -} -function md5ff(a, b, c, d, x, s, t) { - return md5cmn((b & c) | ((~b) & d), a, b, x, s, t); -} -function md5gg(a, b, c, d, x, s, t) { - return md5cmn((b & d) | (c & (~d)), a, b, x, s, t); -} -function md5hh(a, b, c, d, x, s, t) { - return md5cmn(b ^ c ^ d, a, b, x, s, t); -} -function md5ii(a, b, c, d, x, s, t) { - return md5cmn(c ^ (b | (~d)), a, b, x, s, t); -} - -module.exports = md5; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/md5.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/md5.js deleted file mode 100644 index 7044b872f5..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/md5.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var crypto = require('crypto'); - -function md5(bytes) { - if (typeof Buffer.from === 'function') { - // Modern Buffer API - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } - } else { - // Pre-v4 Buffer API - if (Array.isArray(bytes)) { - bytes = new Buffer(bytes); - } else if (typeof bytes === 'string') { - bytes = new Buffer(bytes, 'utf8'); - } - } - - return crypto.createHash('md5').update(bytes).digest(); -} - -module.exports = md5; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng-browser.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng-browser.js deleted file mode 100644 index 6361fb8147..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng-browser.js +++ /dev/null @@ -1,34 +0,0 @@ -// Unique ID creation requires a high quality random # generator. In the -// browser this is a little complicated due to unknown quality of Math.random() -// and inconsistent support for the `crypto` API. We do the best we can via -// feature-detection - -// getRandomValues needs to be invoked in a context where "this" is a Crypto -// implementation. Also, find the complete implementation of crypto on IE11. -var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || - (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto)); - -if (getRandomValues) { - // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto - var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef - - module.exports = function whatwgRNG() { - getRandomValues(rnds8); - return rnds8; - }; -} else { - // Math.random()-based (RNG) - // - // If all else fails, use Math.random(). It's fast, but is of unspecified - // quality. - var rnds = new Array(16); - - module.exports = function mathRNG() { - for (var i = 0, r; i < 16; i++) { - if ((i & 0x03) === 0) r = Math.random() * 0x100000000; - rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; - } - - return rnds; - }; -} diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js deleted file mode 100644 index 58f0dc9cfb..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js +++ /dev/null @@ -1,8 +0,0 @@ -// Unique ID creation requires a high quality random # generator. In node.js -// this is pretty straight-forward - we use the crypto API. - -var crypto = require('crypto'); - -module.exports = function nodeRNG() { - return crypto.randomBytes(16); -}; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1-browser.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1-browser.js deleted file mode 100644 index 5758ed75c9..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1-browser.js +++ /dev/null @@ -1,89 +0,0 @@ -// Adapted from Chris Veness' SHA1 code at -// http://www.movable-type.co.uk/scripts/sha1.html -'use strict'; - -function f(s, x, y, z) { - switch (s) { - case 0: return (x & y) ^ (~x & z); - case 1: return x ^ y ^ z; - case 2: return (x & y) ^ (x & z) ^ (y & z); - case 3: return x ^ y ^ z; - } -} - -function ROTL(x, n) { - return (x << n) | (x>>> (32 - n)); -} - -function sha1(bytes) { - var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6]; - var H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0]; - - if (typeof(bytes) == 'string') { - var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape - bytes = new Array(msg.length); - for (var i = 0; i < msg.length; i++) bytes[i] = msg.charCodeAt(i); - } - - bytes.push(0x80); - - var l = bytes.length/4 + 2; - var N = Math.ceil(l/16); - var M = new Array(N); - - for (var i=0; i>> 0; - e = d; - d = c; - c = ROTL(b, 30) >>> 0; - b = a; - a = T; - } - - H[0] = (H[0] + a) >>> 0; - H[1] = (H[1] + b) >>> 0; - H[2] = (H[2] + c) >>> 0; - H[3] = (H[3] + d) >>> 0; - H[4] = (H[4] + e) >>> 0; - } - - return [ - H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, - H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, - H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, - H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, - H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff - ]; -} - -module.exports = sha1; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1.js deleted file mode 100644 index 0b54b25072..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/sha1.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -var crypto = require('crypto'); - -function sha1(bytes) { - if (typeof Buffer.from === 'function') { - // Modern Buffer API - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } - } else { - // Pre-v4 Buffer API - if (Array.isArray(bytes)) { - bytes = new Buffer(bytes); - } else if (typeof bytes === 'string') { - bytes = new Buffer(bytes, 'utf8'); - } - } - - return crypto.createHash('sha1').update(bytes).digest(); -} - -module.exports = sha1; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/lib/v35.js b/node_modules/@actions/tool-cache/node_modules/uuid/lib/v35.js deleted file mode 100644 index 8b066cc5e3..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/lib/v35.js +++ /dev/null @@ -1,57 +0,0 @@ -var bytesToUuid = require('./bytesToUuid'); - -function uuidToBytes(uuid) { - // Note: We assume we're being passed a valid uuid string - var bytes = []; - uuid.replace(/[a-fA-F0-9]{2}/g, function(hex) { - bytes.push(parseInt(hex, 16)); - }); - - return bytes; -} - -function stringToBytes(str) { - str = unescape(encodeURIComponent(str)); // UTF8 escape - var bytes = new Array(str.length); - for (var i = 0; i < str.length; i++) { - bytes[i] = str.charCodeAt(i); - } - return bytes; -} - -module.exports = function(name, version, hashfunc) { - var generateUUID = function(value, namespace, buf, offset) { - var off = buf && offset || 0; - - if (typeof(value) == 'string') value = stringToBytes(value); - if (typeof(namespace) == 'string') namespace = uuidToBytes(namespace); - - if (!Array.isArray(value)) throw TypeError('value must be an array of bytes'); - if (!Array.isArray(namespace) || namespace.length !== 16) throw TypeError('namespace must be uuid string or an Array of 16 byte values'); - - // Per 4.3 - var bytes = hashfunc(namespace.concat(value)); - bytes[6] = (bytes[6] & 0x0f) | version; - bytes[8] = (bytes[8] & 0x3f) | 0x80; - - if (buf) { - for (var idx = 0; idx < 16; ++idx) { - buf[off+idx] = bytes[idx]; - } - } - - return buf || bytesToUuid(bytes); - }; - - // Function#name is not settable on some platforms (#270) - try { - generateUUID.name = name; - } catch (err) { - } - - // Pre-defined namespaces, per Appendix C - generateUUID.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; - generateUUID.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; - - return generateUUID; -}; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/package.json b/node_modules/@actions/tool-cache/node_modules/uuid/package.json deleted file mode 100644 index efc07b8f6c..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "uuid", - "version": "3.4.0", - "description": "RFC4122 (v1, v4, and v5) UUIDs", - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ] - }, - "keywords": [ - "uuid", - "guid", - "rfc4122" - ], - "license": "MIT", - "bin": { - "uuid": "./bin/uuid" - }, - "devDependencies": { - "@commitlint/cli": "~8.2.0", - "@commitlint/config-conventional": "~8.2.0", - "eslint": "~6.4.0", - "husky": "~3.0.5", - "mocha": "6.2.0", - "runmd": "1.2.1", - "standard-version": "7.0.0" - }, - "scripts": { - "lint": "eslint .", - "test": "npm run lint && mocha test/test.js", - "md": "runmd --watch --output=README.md README_js.md", - "release": "standard-version", - "prepare": "runmd --output=README.md README_js.md" - }, - "browser": { - "./lib/rng.js": "./lib/rng-browser.js", - "./lib/sha1.js": "./lib/sha1-browser.js", - "./lib/md5.js": "./lib/md5-browser.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/uuidjs/uuid.git" - }, - "husky": { - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } - } -} diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/v1.js b/node_modules/@actions/tool-cache/node_modules/uuid/v1.js deleted file mode 100644 index 8c245de43d..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/v1.js +++ /dev/null @@ -1,109 +0,0 @@ -var rng = require('./lib/rng'); -var bytesToUuid = require('./lib/bytesToUuid'); - -// **`v1()` - Generate time-based UUID** -// -// Inspired by https://github.com/LiosK/UUID.js -// and http://docs.python.org/library/uuid.html - -var _nodeId; -var _clockseq; - -// Previous uuid creation time -var _lastMSecs = 0; -var _lastNSecs = 0; - -// See https://github.com/uuidjs/uuid for API details -function v1(options, buf, offset) { - var i = buf && offset || 0; - var b = buf || []; - - options = options || {}; - var node = options.node || _nodeId; - var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; - - // node and clockseq need to be initialized to random values if they're not - // specified. We do this lazily to minimize issues related to insufficient - // system entropy. See #189 - if (node == null || clockseq == null) { - var seedBytes = rng(); - if (node == null) { - // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) - node = _nodeId = [ - seedBytes[0] | 0x01, - seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5] - ]; - } - if (clockseq == null) { - // Per 4.2.2, randomize (14 bit) clockseq - clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff; - } - } - - // UUID timestamps are 100 nano-second units since the Gregorian epoch, - // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so - // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' - // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. - var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); - - // Per 4.2.1.2, use count of uuid's generated during the current clock - // cycle to simulate higher resolution clock - var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; - - // Time since last uuid creation (in msecs) - var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000; - - // Per 4.2.1.2, Bump clockseq on clock regression - if (dt < 0 && options.clockseq === undefined) { - clockseq = clockseq + 1 & 0x3fff; - } - - // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new - // time interval - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } - - // Per 4.2.1.2 Throw error if too many uuids are requested - if (nsecs >= 10000) { - throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec'); - } - - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; - - // Per 4.1.4 - Convert from unix epoch to Gregorian epoch - msecs += 12219292800000; - - // `time_low` - var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; - b[i++] = tl >>> 24 & 0xff; - b[i++] = tl >>> 16 & 0xff; - b[i++] = tl >>> 8 & 0xff; - b[i++] = tl & 0xff; - - // `time_mid` - var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff; - b[i++] = tmh >>> 8 & 0xff; - b[i++] = tmh & 0xff; - - // `time_high_and_version` - b[i++] = tmh >>> 24 & 0xf | 0x10; // include version - b[i++] = tmh >>> 16 & 0xff; - - // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) - b[i++] = clockseq >>> 8 | 0x80; - - // `clock_seq_low` - b[i++] = clockseq & 0xff; - - // `node` - for (var n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } - - return buf ? buf : bytesToUuid(b); -} - -module.exports = v1; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/v3.js b/node_modules/@actions/tool-cache/node_modules/uuid/v3.js deleted file mode 100644 index ee7e14c0f0..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/v3.js +++ /dev/null @@ -1,4 +0,0 @@ -var v35 = require('./lib/v35.js'); -var md5 = require('./lib/md5'); - -module.exports = v35('v3', 0x30, md5); \ No newline at end of file diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/v4.js b/node_modules/@actions/tool-cache/node_modules/uuid/v4.js deleted file mode 100644 index 1f07be1c53..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/v4.js +++ /dev/null @@ -1,29 +0,0 @@ -var rng = require('./lib/rng'); -var bytesToUuid = require('./lib/bytesToUuid'); - -function v4(options, buf, offset) { - var i = buf && offset || 0; - - if (typeof(options) == 'string') { - buf = options === 'binary' ? new Array(16) : null; - options = null; - } - options = options || {}; - - var rnds = options.random || (options.rng || rng)(); - - // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` - rnds[6] = (rnds[6] & 0x0f) | 0x40; - rnds[8] = (rnds[8] & 0x3f) | 0x80; - - // Copy bytes to buffer, if provided - if (buf) { - for (var ii = 0; ii < 16; ++ii) { - buf[i + ii] = rnds[ii]; - } - } - - return buf || bytesToUuid(rnds); -} - -module.exports = v4; diff --git a/node_modules/@actions/tool-cache/node_modules/uuid/v5.js b/node_modules/@actions/tool-cache/node_modules/uuid/v5.js deleted file mode 100644 index 4945baf385..0000000000 --- a/node_modules/@actions/tool-cache/node_modules/uuid/v5.js +++ /dev/null @@ -1,3 +0,0 @@ -var v35 = require('./lib/v35.js'); -var sha1 = require('./lib/sha1'); -module.exports = v35('v5', 0x50, sha1); diff --git a/node_modules/@actions/tool-cache/package.json b/node_modules/@actions/tool-cache/package.json index c7744d5871..b3a64a5bfd 100644 --- a/node_modules/@actions/tool-cache/package.json +++ b/node_modules/@actions/tool-cache/package.json @@ -1,6 +1,6 @@ { "name": "@actions/tool-cache", - "version": "2.0.1", + "version": "2.0.2", "description": "Actions tool-cache lib", "keywords": [ "github", @@ -36,17 +36,15 @@ "url": "https://github.com/actions/toolkit/issues" }, "dependencies": { - "@actions/core": "^1.2.6", + "@actions/core": "^1.11.1", "@actions/exec": "^1.0.0", "@actions/http-client": "^2.0.1", "@actions/io": "^1.1.1", - "semver": "^6.1.0", - "uuid": "^3.3.2" + "semver": "^6.1.0" }, "devDependencies": { - "@types/nock": "^10.0.3", + "@types/nock": "^11.1.0", "@types/semver": "^6.0.0", - "@types/uuid": "^3.4.4", - "nock": "^10.0.6" + "nock": "^13.2.9" } } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js index 244fcdc129..6adc8f774f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.UnderscoreOptions = exports.TypeModifiers = exports.Selectors = exports.PredefinedFormats = exports.Modifiers = exports.MetaSelectors = void 0; +exports.TypeModifiers = exports.Modifiers = exports.MetaSelectors = exports.Selectors = exports.UnderscoreOptions = exports.PredefinedFormats = void 0; var PredefinedFormats; (function (PredefinedFormats) { PredefinedFormats[PredefinedFormats["camelCase"] = 1] = "camelCase"; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map index d2fd984353..5c7448e5b8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map @@ -1 +1 @@ -{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/enums.ts"],"names":[],"mappings":";;;AAAA,IAAK,iBAOJ;AAPD,WAAK,iBAAiB;IACpB,mEAAa,CAAA;IACb,+EAAe,CAAA;IACf,qEAAU,CAAA;IACV,iFAAgB,CAAA;IAChB,qEAAU,CAAA;IACV,qEAAU,CAAA;AACZ,CAAC,EAPI,iBAAiB,iCAAjB,iBAAiB,QAOrB;AAGD,IAAK,iBASJ;AATD,WAAK,iBAAiB;IACpB,6DAAU,CAAA;IACV,2DAAK,CAAA;IACL,+DAAO,CAAA;IAEP,iEAAiE;IACjE,2EAAa,CAAA;IACb,uEAAW,CAAA;IACX,uFAAmB,CAAA;AACrB,CAAC,EATI,iBAAiB,iCAAjB,iBAAiB,QASrB;AAGD,IAAK,SA2BJ;AA3BD,WAAK,SAAS;IACZ,eAAe;IACf,iDAAiB,CAAA;IACjB,iDAAiB,CAAA;IACjB,mDAAkB,CAAA;IAElB,aAAa;IACb,mEAA0B,CAAA;IAC1B,gEAAwB,CAAA;IACxB,sDAAmB,CAAA;IACnB,wDAAoB,CAAA;IACpB,yEAA4B,CAAA;IAC5B,uDAAmB,CAAA;IACnB,6DAAsB,CAAA;IACtB,8EAA+B,CAAA;IAC/B,4DAAsB,CAAA;IACtB,4DAAsB,CAAA;IAEtB,WAAW;IACX,8CAAe,CAAA;IACf,uDAAmB,CAAA;IACnB,uDAAmB,CAAA;IACnB,6CAAc,CAAA;IACd,gEAAuB,CAAA;IAEvB,QAAQ;IACR,kDAAgB,CAAA;AAClB,CAAC,EA3BI,SAAS,yBAAT,SAAS,QA2Bb;AAGD,IAAK,aAkCJ;AAlCD,WAAK,aAAa;IAChB,kEAAkE;IAClE,wDAAY,CAAA;IACZ,iEAGqB,CAAA;IACrB,gEAUwB,CAAA;IACxB,8DAKyB,CAAA;IACzB,uDAGsB,CAAA;IACtB,4DAGwB,CAAA;IACxB,4DAAiE,CAAA;IACjE,iEAAiE;AACnE,CAAC,EAlCI,aAAa,6BAAb,aAAa,QAkCjB;AAID,IAAK,SAiCJ;AAjCD,WAAK,SAAS;IACZ,iBAAiB;IACjB,2CAAc,CAAA;IACd,mBAAmB;IACnB,iDAAiB,CAAA;IACjB,iBAAiB;IACjB,6CAAe,CAAA;IACf,uBAAuB;IACvB,6CAAe,CAAA;IACf,oDAAkB,CAAA;IAClB,gDAAgB,CAAA;IAChB,kDAAmB,CAAA;IACnB,mDAAiB,CAAA;IACjB,wBAAwB;IACxB,2DAAqB,CAAA;IACrB,4CAA4C;IAC5C,+CAAe,CAAA;IACf,2BAA2B;IAC3B,oDAAkB,CAAA;IAClB,yBAAyB;IACzB,gDAAgB,CAAA;IAChB,kCAAkC;IAClC,gEAAwB,CAAA;IACxB,oCAAoC;IACpC,oDAAkB,CAAA;IAClB,iGAAiG;IACjG,+CAAe,CAAA;IACf,kBAAkB;IAClB,mDAAiB,CAAA;IACjB,oBAAoB;IACpB,uDAAmB,CAAA;IAEnB,6EAA6E;AAC/E,CAAC,EAjCI,SAAS,yBAAT,SAAS,QAiCb;AAGD,IAAK,aAMJ;AAND,WAAK,aAAa;IAChB,4DAAiB,CAAA;IACjB,0DAAgB,CAAA;IAChB,0DAAgB,CAAA;IAChB,+DAAkB,CAAA;IAClB,yDAAe,CAAA;AACjB,CAAC,EANI,aAAa,6BAAb,aAAa,QAMjB"} \ No newline at end of file +{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,m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ACnB,iDAAiB,CAAA;IACjB,iBAAiB;IACjB,6CAAe,CAAA;IACf,uBAAuB;IACvB,6CAAe,CAAA;IACf,oDAAkB,CAAA;IAClB,gDAAgB,CAAA;IAChB,kDAAmB,CAAA;IACnB,mDAAiB,CAAA;IACjB,wBAAwB;IACxB,2DAAqB,CAAA;IACrB,4CAA4C;IAC5C,+CAAe,CAAA;IACf,2BAA2B;IAC3B,oDAAkB,CAAA;IAClB,yBAAyB;IACzB,gDAAgB,CAAA;IAChB,kCAAkC;IAClC,gEAAwB,CAAA;IACxB,oCAAoC;IACpC,oDAAkB,CAAA;IAClB,iGAAiG;IACjG,+CAAe,CAAA;IACf,kBAAkB;IAClB,mDAAiB,CAAA;IACjB,oBAAoB;IACpB,uDAAmB,CAAA;IAEnB,6EAA6E;AAC/E,CAAC,EAjCW,SAAS,yBAAT,SAAS,QAiCpB;AAGD,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,4DAAiB,CAAA;IACjB,0DAAgB,CAAA;IAChB,0DAAgB,CAAA;IAChB,+DAAkB,CAAA;IAClB,yDAAe,CAAA;AACjB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js index 9eda0c5f1f..f66d7a70c0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js @@ -79,7 +79,7 @@ function validateUnderscores(name) { } return !wasUnderscore; } -const PredefinedFormatToCheckFunction = { +exports.PredefinedFormatToCheckFunction = { [enums_1.PredefinedFormats.camelCase]: isCamelCase, [enums_1.PredefinedFormats.PascalCase]: isPascalCase, [enums_1.PredefinedFormats.snake_case]: isSnakeCase, @@ -87,5 +87,4 @@ const PredefinedFormatToCheckFunction = { [enums_1.PredefinedFormats.StrictPascalCase]: isStrictPascalCase, [enums_1.PredefinedFormats.UPPER_CASE]: isUpperCase, }; -exports.PredefinedFormatToCheckFunction = PredefinedFormatToCheckFunction; //# sourceMappingURL=format.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js.map index b050d34a4b..2157683613 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js.map @@ -1 +1 @@ -{"version":3,"file":"format.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/format.ts"],"names":[],"mappings":";;;AAAA,mCAA4C;AAE5C;;;;;;EAME;AAEF;;;;EAIE;AAEF,SAAS,YAAY,CAAC,IAAY;IAChC,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,CAAC;QACjB,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAC3D,CAAC;AACJ,CAAC;AACD,SAAS,kBAAkB,CAAC,IAAY;IACtC,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,CAAC;QACjB,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,mBAAmB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CACvE,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,CAAC;QACjB,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAC3D,CAAC;A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KAAK,CAAC;QACjB,CAAC,IAAI,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAC3D,CAAC;AACJ,CAAC;AAED,0DAA0D;AAC1D,SAAS,mBAAmB,CAAC,IAAY;IACvC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,aAAa,GAAG,KAAK,CAAC;IAC1B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;QACrC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YACpB,IAAI,aAAa,EAAE,CAAC;gBAClB,OAAO,KAAK,CAAC;YACf,CAAC;YACD,aAAa,GAAG,IAAI,CAAC;QACvB,CAAC;aAAM,CAAC;YACN,aAAa,GAAG,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;IACD,OAAO,CAAC,aAAa,CAAC;AACxB,CAAC;AAED,MAAM,+BAA+B,GAEjC;IACF,CAAC,yBAAiB,CAAC,SAAS,CAAC,EAAE,WAAW;IAC1C,CAAC,yBAAiB,CAAC,UAAU,CAAC,EAAE,YAAY;IAC5C,CAAC,yBAAiB,CAAC,UAAU,CAAC,EAAE,WAAW;IAC3C,CAAC,yBAAiB,CAAC,eAAe,CAAC,EAAE,iBAAiB;IACtD,CAAC,yBAAiB,CAAC,gBAAgB,CAAC,EAAE,kBAAkB;IACxD,CAAC,yBAAiB,CAAC,UAAU,CAAC,EAAE,WAAW;CAC5C,CAAC;AAEO,0EAA+B"} \ No newline at end of file +{"version":3,"file":"format.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/format.ts"],"names":[],"mappings":";;;AAAA,mCAA4C;AAE5C;;;;;;EAME;AAEF;;;;EAIE;AAEF,SAAS,YAAY,CAAC,IAAY;IAChC,OAAO,CACL,IAAI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AM,CAAC;YACN,aAAa,GAAG,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;IACD,OAAO,CAAC,aAAa,CAAC;AACxB,CAAC;AAEY,QAAA,+BAA+B,GAExC;IACF,CAAC,yBAAiB,CAAC,SAAS,CAAC,EAAE,WAAW;IAC1C,CAAC,yBAAiB,CAAC,UAAU,CAAC,EAAE,YAAY;IAC5C,CAAC,yBAAiB,CAAC,UAAU,CAAC,EAAE,WAAW;IAC3C,CAAC,yBAAiB,CAAC,eAAe,CAAC,EAAE,iBAAiB;IACtD,CAAC,yBAAiB,CAAC,gBAAgB,CAAC,EAAE,kBAAkB;IACxD,CAAC,yBAAiB,CAAC,UAAU,CAAC,EAAE,WAAW;CAC5C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map index 0b2dca37a0..b24fc684df 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map @@ -1 +1 @@ -{"version":3,"file":"parse-options.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/parse-options.ts"],"names":[],"mappings":";;AA6FS,oCAAY;AAtFrB,qCAA0C;AAC1C,mCAOiB;AACjB,qCAA0C;AAC1C,2CAA8C;AAE9C,SAAS,eAAe,CAAC,MAAgB;IACvC,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9B,MAAM,IAAI,iBAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE;QAC1B,MAAM,IAAI,qBAAa,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC,CA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CAAC;QAC/B,CAAC;QACD,IAAA,2BAAe,EAAC,CAAC,EAAE,OAAO,EAAE,iBAAiB,CAAC;KAC/C,CAAC,CACc,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"parse-options.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/parse-options.ts"],"names":[],"mappings":";;AAkFA,oCASC;AApFD,qCAA0C;AAC1C,mCAOiB;AACjB,qCAA0C;AAC1C,2CAA8C;AAE9C,SAAS,eAAe,CAAC,MAAgB;IACvC,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9B,MAAM,IAAI,iBAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE;QAC1B,MAAM,IAAI,qBAAa,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,sDAAsD;IACtD,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;QAClB,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;IACpB,CAAC;IAED,MAAM,gBAAgB,GAAG;QACvB,iBAAiB;QACjB,MAAM,EAAE,MAAM,CAAC,MAAM;YACnB,CAAC,CAAC;gBACE,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK;gBAC1B,KAAK,EAAE,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC;aAC5C;YACH,CAAC,CAAC,IAAI;QACR,MAAM,EACJ,MAAM,CAAC,MAAM,IAAI,IAAI;YACnB,CAAC,CAAC,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ;gBACjC,CAAC,CAAC;oBACE,KAAK,EAAE,IAAI;oBACX,KAAK,EAAE,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;iBACtC;gBACH,CAAC,C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C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;QAC9C,CAAC,CAAC,MAAM,CAAC,QAAQ;QACjB,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAEtB,OAAO,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QAChC,QAAQ,EAAE,IAAA,uBAAc,EAAC,QAAQ,CAAC;YAChC,CAAC,CAAC,qBAAa,CAAC,QAAQ,CAAC;YACzB,CAAC,CAAC,iBAAS,CAAC,QAAQ,CAAC;QACvB,GAAG,gBAAgB;KACpB,CAAC,CAAC,CAAC;AACN,CAAC;AAED,SAAgB,YAAY,CAAC,OAAgB;IAC3C,MAAM,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IAEnE,OAAO,MAAM,CAAC,WAAW,CACvB,IAAA,mBAAY,EAAC,iBAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/B,CAAC;QACD,IAAA,2BAAe,EAAC,CAAC,EAAE,OAAO,EAAE,iBAAiB,CAAC;KAC/C,CAAC,CACc,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js index 0400230127..fc154b19b3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js @@ -163,7 +163,7 @@ function selectorsSchema() { type: 'object', }; } -const SCHEMA = { +exports.SCHEMA = { $defs: $DEFS, additionalItems: false, items: { @@ -303,5 +303,4 @@ const SCHEMA = { }, type: 'array', }; -exports.SCHEMA = SCHEMA; //# sourceMappingURL=schema.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map index 7273a64682..1fd5b0432a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map @@ -1 +1 @@ -{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/schema.ts"],"names":[],"mappings":";;;AAOA,qCAA0C;AAC1C,mCAOiB;AAEjB,MAAM,KAAK,GAA2C;IACpD,QAAQ;IACR,iBAAiB,EAAE;QACjB,IAAI,EAAE,IAAA,mBAAY,EAAC,yBAAiB,CAAC;QACrC,IAAI,EAAE,QAAQ;KACf;IACD,aAAa,EAAE;QACb,IAAI,EAAE,IAAA,mBAAY,EAAC,qBAAa,CAAC;QACjC,IAAI,EAAE,QAAQ;KACf;IACD,iBAAiB,EAAE;QACjB,IAAI,EAAE,IAAA,mBAAY,EAAC,yBAAiB,CAAC;QACrC,IAAI,EAAE,QAAQ;KACf;IAED,iBAAiB;IACjB,mBAAmB,EAAE;QACnB,KAAK,EAAE;YACL;gBACE,eAAe,EAAE,KAAK;gBACtB,KAAK,EAAE;oBACL,IAAI,EAAE,2BAA2B;iBAClC;gBACD,IAAI,EAAE,OAAO;aACd;YACD;gBACE,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,gBAAgB,EAAE;QAChB,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACV,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAC1B,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC1B;QACD,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;QAC5B,IAAI,EAAE,QAAQ;KACf;IACD,kBAAkB,EAAE;QAClB,eAAe,EAAE,KAAK;QACtB,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,QAAQ;SACf;QACD,I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KAAK,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;YACxE,GAAG,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;YACrE,GAAG,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YAC7D,GAAG,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YAC7D,GAAG,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YACxD,GAAG,cAAc,CAAC,eAAe,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,CAAC;YACrD,GAAG,cAAc,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;SAC7D;KACF;IACD,IAAI,EAAE,OAAO;CACd,CAAC;AAEO,wBAAM"} \ No newline at end of file +{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/schema.ts"],"names":[],"mappings":";;;AAOA,qCAA0C;AAC1C,mCAOiB;AAEjB,MAAM,KAAK,GAA2C;IACpD,QAAQ;IACR,iBAAiB,EAAE;QACjB,IAAI,EAAE,IAAA,mBAAY,EAAC,yBAAiB,CAAC;QACrC,IAAI,EAAE,QAAQ;KACf;IACD,aAAa,EAAE;QACb,IAAI,EAAE,IAAA,mBAAY,EAAC,qBAAa,CAAC;QACjC,IAAI,EAAE,QAAQ;KACf;IACD,iBAAiB,EAAE;QACjB,IAAI,EAAE,IAAA,mBAAY,EAAC,yBAAiB,CAAC;QACrC,IAAI,EAAE,QAAQ;KACf;IAED,iBAAiB;IACjB,mBAAmB,EAAE;QACnB,KAAK,EAAE;YACL;gBACE,eAAe,EAAE,KAAK;gBACtB,KAAK,EAAE;oBACL,IAAI,EAAE,2BAA2B;iBAClC;gBAC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,QAAQ;gBACR,UAAU;aACX,CAAC;YACF,GAAG,cAAc,CAAC,cAAc,EAAE,IAAI,EAAE;gBACtC,UAAU;gBACV,SAAS;gBACT,WAAW;gBACX,QAAQ;gBACR,gBAAgB;gBAChB,QAAQ;gBACR,UAAU;aACX,CAAC;YACF,GAAG,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE;gBAClC,UAAU;gBACV,SAAS;gBACT,WAAW;gBACX,QAAQ;gBACR,gBAAgB;gBAChB,QAAQ;gBACR,UAAU;aACX,CAAC;YACF,GAAG,cAAc,CAAC,YAAY,EAAE,KAAK,EAAE,CAAC,gBAAgB,CAAC,CAAC;YAE1D,GAAG,cAAc,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;YACxE,GAAG,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;YACrE,GAAG,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YAC7D,GAAG,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YAC7D,GAAG,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YACxD,GAAG,cAAc,CAAC,eAAe,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,CAAC;YACrD,GAAG,cAAc,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;SAC7D;KACF;IACD,IAAI,EAAE,OAAO;CACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js index 63367175b3..cee7f2d1f2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js @@ -1,8 +1,8 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.selectorTypeToMessageString = selectorTypeToMessageString; exports.isMetaSelector = isMetaSelector; exports.isMethodOrPropertySelector = isMethodOrPropertySelector; -exports.selectorTypeToMessageString = selectorTypeToMessageString; const enums_1 = require("./enums"); function selectorTypeToMessageString(selectorType) { const notCamelCase = selectorType.replaceAll(/([A-Z])/g, ' $1'); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map index ac186b6a99..dd0d36e960 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/shared.ts"],"names":[],"mappings":";;AA6BE,wCAAc;AACd,gEAA0B;AAC1B,kEAA2B;AAxB7B,mCAAwC;AAExC,SAAS,2BAA2B,CAAC,YAA6B;IAChE,MAAM,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAChE,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC;AAED,SAAS,cAAc,CACrB,QAAsE;IAEtE,OAAO,QAAQ,IAAI,qBAAa,CAAC;AACnC,CAAC;AAED,SAAS,0BAA0B,CACjC,QAAsE;IAEtE,OAAO,CACL,QAAQ,KAAK,qBAAa,CAAC,MAAM,IAAI,QAAQ,KAAK,qBAAa,CAAC,QAAQ,CACzE,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/shared.ts"],"names":[],"mappings":";;AASA,kEAKC;AAED,wCAIC;AAED,gEAMC;AArBD,mCAAwC;AAExC,SAAgB,2BAA2B,CACzC,YAA6B;IAE7B,MAAM,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAChE,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,cAAc,CAC5B,QAAsE;IAEtE,OAAO,QAAQ,IAAI,qBAAa,CAAC;AACnC,CAAC;AAED,SAAgB,0BAA0B,CACxC,QAAsE;IAEtE,OAAO,CACL,QAAQ,KAAK,qBAAa,CAAC,MAAM,IAAI,QAAQ,KAAK,qBAAa,CAAC,QAAQ,CACzE,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map index ff2c491964..6c8a5fed03 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map @@ -1 +1 @@ -{"version":3,"file":"validator.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/validator.ts"],"names":[],"mappings":";;AAkfS,0CAAe;AA/exB,oDAA0D;AAK1D,qCAA+C;AAC/C,mCAOiB;AACjB,qCAA2D;AAC3D,qCAIkB;AAElB,SAAS,eAAe,CACtB,IAAqB,EACrB,OAAgB,EAChB,UAAgC;IAIhC,6DAA6D;IAC7D,MAAM,YAAY,GAAG,iBAAS,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,OAAO,GAAG,UAAU;QACxB,yCAAyC;SACxC,MAA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AAI,CAAC,CAAC;AAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"validator.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/validator.ts"],"names":[],"mappings":";;AAwBA,0CAsYC;AA3ZD,oDAA0D;AAK1D,qCAA+C;AAC/C,mCAOiB;AACjB,qCAA2D;AAC3D,qCAIkB;AAElB,SAAgB,eAAe,CAC7B,IAAqB,EACrB,OAAgB,EAChB,UAAgC;IAIhC,6DAA6D;IAC7D,MAAM,YAAY,GAAG,iBAAS,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,OAAO,GAAG,UAAU;QACxB,yCAAyC;SACxC,MAAM,CACL,CAAC,CAAC,EAAE,CACF,CAAC,CAAC,CAAC,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC;QACjC,CAAC,CAAC,QAAQ,KAAK,qBAAa,CAAC,OAAO,CACvC;SACA,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACb,IAAI,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC;YAC9B,8DAA8D;YAC9D,4DAA4D;YAC5D,OAAO,CAAC,CAAC,cAAc,GAAG,CAAC,CAAC,cAAc,CAAC;QAC7C,CAAC;QAED,MAAM,OAAO,GAAG,IAAA,uBAAc,EAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC3C,MAAM,OAAO,GAAG,IAAA,uBAAc,EAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAE3C,uDAAuD;QACvD,IAAI,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;YACxB,OAAO,CAAC,CAAC;QACX,CAAC;QACD,IAAI,CAAC,OAAO,IAAI,OAAO,EAAE,CAAC;YACxB,OAAO,CAAC,CAAC,CAAC;QACZ,CAAC;QAED,MAAM,mBAAmB,GAAG,IAAA,mCAA0B,EAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QACnE,MAAM,mBAAmB,GAAG,IAAA,mCAA0B,EAAC,CAA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AAI,UAAU,KAAK,iBAAiB,EAAE,CAAC;oBACrC,OAAO,IAAI,CAAC;gBACd,CAAC;gBACD,MAAM;YACR,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CACtB,IAAa,EACb,EAA8B;IAE9B,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IACtC,CAAC;IAED,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC;AAClB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js index 066e92bfb2..6dac77eb3e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js @@ -85,7 +85,7 @@ exports.default = (0, util_1.createRule)({ if (node.type === utils_1.AST_NODE_TYPES.Literal) { return; } - const certainty = collectToStringCertainty(type ?? services.getTypeAtLocation(node)); + const certainty = collectToStringCertainty(type ?? services.getTypeAtLocation(node), new Set()); if (certainty === Usefulness.Always) { return; } @@ -99,7 +99,7 @@ exports.default = (0, util_1.createRule)({ }); } function checkExpressionForArrayJoin(node, type) { - const certainty = collectJoinCertainty(type); + const certainty = collectJoinCertainty(type, new Set()); if (certainty === Usefulness.Always) { return; } @@ -131,9 +131,9 @@ exports.default = (0, util_1.createRule)({ } return Usefulness.Never; } - function collectTupleCertainty(type) { + function collectTupleCertainty(type, visited) { const typeArgs = checker.getTypeArguments(type); - const certainties = typeArgs.map(t => collectToStringCertainty(t)); + const certainties = typeArgs.map(t => collectToStringCertainty(t, visited)); if (certainties.some(certainty => certainty === Usefulness.Never)) { return Usefulness.Never; } @@ -142,30 +142,34 @@ exports.default = (0, util_1.createRule)({ } return Usefulness.Always; } - function collectArrayCertainty(type) { + function collectArrayCertainty(type, visited) { const elemType = (0, util_1.nullThrows)(type.getNumberIndexType(), 'array should have number index type'); - return collectToStringCertainty(elemType); + return collectToStringCertainty(elemType, visited); } - function collectJoinCertainty(type) { + function collectJoinCertainty(type, visited) { if (tsutils.isUnionType(type)) { - return collectUnionTypeCertainty(type, collectJoinCertainty); + return collectUnionTypeCertainty(type, t => collectJoinCertainty(t, visited)); } if (tsutils.isIntersectionType(type)) { - return collectIntersectionTypeCertainty(type, collectJoinCertainty); + return collectIntersectionTypeCertainty(type, t => collectJoinCertainty(t, visited)); } if (checker.isTupleType(type)) { - return collectTupleCertainty(type); + return collectTupleCertainty(type, visited); } if (checker.isArrayType(type)) { - return collectArrayCertainty(type); + return collectArrayCertainty(type, visited); } return Usefulness.Always; } - function collectToStringCertainty(type) { + function collectToStringCertainty(type, visited) { + if (visited.has(type)) { + // don't report if this is a self referencing array or tuple type + return Usefulness.Always; + } if (tsutils.isTypeParameter(type)) { const constraint = type.getConstraint(); if (constraint) { - return collectToStringCertainty(constraint); + return collectToStringCertainty(constraint, visited); } // unconstrained generic means `unknown` return Usefulness.Always; @@ -179,16 +183,16 @@ exports.default = (0, util_1.createRule)({ return Usefulness.Always; } if (type.isIntersection()) { - return collectIntersectionTypeCertainty(type, collectToStringCertainty); + return collectIntersectionTypeCertainty(type, t => collectToStringCertainty(t, visited)); } if (type.isUnion()) { - return collectUnionTypeCertainty(type, collectToStringCertainty); + return collectUnionTypeCertainty(type, t => collectToStringCertainty(t, visited)); } if (checker.isTupleType(type)) { - return collectTupleCertainty(type); + return collectTupleCertainty(type, new Set([...visited, type])); } if (checker.isArrayType(type)) { - return collectArrayCertainty(type); + return collectArrayCertainty(type, new Set([...visited, type])); } const toString = checker.getPropertyOfType(type, 'toString') ?? checker.getPropertyOfType(type, 'toLocaleString'); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map index 94d9711de6..c12a4b768f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map @@ -1 +1 @@ -{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAEjB,IAAK,UAIJ;AAJD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,4BAAc,CAAA;IACd,+BAAiB,CAAA;AACnB,CAAC,EAJI,UAAU,KAAV,UAAU,QAId;AASD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8HAA8H;YAChI,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EACX,6HAA6H;YAC/H,YAAY,EACV,4GAA4G;SAC/G;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,gBAAgB,EAAE;wBAChB,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,0DAA0D;wBAC5D,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,gBAAgB,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,iBAAiB,CAAC;SAChE;KACF;IACD,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;QACtB,MAAM,QAAQ,GAA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C,KAAK,QAAQ;oBAC5C,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EACnD,CAAC;oBACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBACvC,CAAC;YACH,CAAC;YACD,cAAc,CAAC,IAA6B;gBAC1C,IACE,mBAAmB,CAAC,IAAI,CAAC;oBACzB,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,EACvD,CAAC;oBACD,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;gBACrC,CAAC;YACH,CAAC;YACD,+EAA+E,CAC7E,IAAyB;gBAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAmC,CAAC;gBAC5D,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;gBACvE,2BAA2B,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACvD,CAAC;YACD,sGAAsG,CACpG,IAAyB;gBAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAmC,CAAC;gBAC5D,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YAED,eAAe,CAAC,IAA8B;gBAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,wBAAwB,EAAE,CAAC;oBACjE,OAAO;gBACT,CAAC;gBACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,eAAe,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-base-to-string.js","sourceRoot":"","sources":["../../src/rules/no-base-to-string.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAO;gBACT,CAAC;gBACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBAC1C,eAAe,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js index 0a6dfedc04..90ed669f84 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js @@ -24,6 +24,11 @@ exports.default = (0, util_1.createRule)({ function isNumberLiteral(node) { return (node.type === utils_1.AST_NODE_TYPES.Literal && typeof node.value === 'number'); } + function isStaticTemplateLiteral(node) { + return (node.type === utils_1.AST_NODE_TYPES.TemplateLiteral && + node.expressions.length === 0 && + node.quasis.length === 1); + } return { TSEnumDeclaration(node) { const enumMembers = node.body.members; @@ -39,6 +44,9 @@ exports.default = (0, util_1.createRule)({ else if (isNumberLiteral(member.initializer)) { value = Number(member.initializer.value); } + else if (isStaticTemplateLiteral(member.initializer)) { + value = member.initializer.quasis[0].value.cooked; + } if (value == null) { return; } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map index e8a22395ff..923fdd25f4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map @@ -1 +1 @@ -{"version":3,"file":"no-duplicate-enum-values.js","sourceRoot":"","sources":["../../src/rules/no-duplicate-enum-values.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAqC;AAErC,kBAAe,IAAA,iBAAU,E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I,KAAK,IAAI,IAAI,EAAE,CAAC;wBAClB,OAAO;oBACT,CAAC;oBAED,IAAI,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;wBAC1B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,MAAM;4BACZ,SAAS,EAAE,gBAAgB;4BAC3B,IAAI,EAAE;gCACJ,KAAK;6BACN;yBACF,CAAC,CAAC;oBACL,CAAC;yBAAM,CAAC;wBACN,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;oBACxB,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-duplicate-enum-values.js","sourceRoot":"","sources":["../../src/rules/no-duplicate-enum-values.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAqC;AAErC,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,uCAAuC;YACpD,WAAW,EAAE,aAAa;SAC3B;QACD,cAAc,EAAE,KAAK;QACrB,QAAQ,EAAE;YACR,cAAc,EAAE,wCAAwC;SACzD;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,SAAS,eAAe,CACtB,IAAyB;YAEzB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CACvE,CAAC;QACJ,CAAC;QAED,SAAS,eAAe,CACtB,IAAyB;YAEzB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CACvE,CAAC;QACJ,CAAC;QAED,SAAS,uBAAuB,CAC9B,IAAyB;YAEz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;oBACL,CAAC;yBAAM,CAAC;wBACN,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;oBACxB,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js index d4c48260c3..4c50f36d89 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js @@ -33,6 +33,7 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); const util_1 = require("../util"); const getForStatementHeadLoc_1 = require("../util/getForStatementHeadLoc"); @@ -57,8 +58,7 @@ exports.default = (0, util_1.createRule)({ const services = (0, util_1.getParserServices)(context); const checker = services.program.getTypeChecker(); const type = (0, util_1.getConstrainedTypeAtLocation)(services, node.right); - if ((0, util_1.isTypeArrayTypeOrUnionOfArrayTypes)(type, checker) || - (type.flags & ts.TypeFlags.StringLike) !== 0) { + if (isArrayLike(checker, type)) { context.report({ loc: (0, getForStatementHeadLoc_1.getForStatementHeadLoc)(context.sourceCode, node), messageId: 'forInViolation', @@ -68,4 +68,20 @@ exports.default = (0, util_1.createRule)({ }; }, }); +function isArrayLike(checker, type) { + return isTypeRecurser(type, t => t.getNumberIndexType() != null && hasArrayishLength(checker, t)); +} +function hasArrayishLength(checker, type) { + const lengthProperty = type.getProperty('length'); + if (lengthProperty == null) { + return false; + } + return tsutils.isTypeFlagSet(checker.getTypeOfSymbol(lengthProperty), ts.TypeFlags.NumberLike); +} +function isTypeRecurser(type, predicate) { + if (type.isUnionOrIntersection()) { + return type.types.some(t => isTypeRecurser(t, predicate)); + } + return predicate(type); +} //# sourceMappingURL=no-for-in-array.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map index 963a101b16..f9a33631f3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map @@ -1 +1 @@ -{"version":3,"file":"no-for-in-array.js","sourceRoot":"","sources":["../../src/rules/no-for-in-array.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AAEjC,kCAKiB;AACjB,2EAAwE;AAExE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,qDAAqD;YAClE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,cAAc,EACZ,iNAAiN;SACpN;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;gBAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;gBAElD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBAEhE,IACE,IAAA,yCAAkC,EAAC,IAAI,EAAE,OAAO,CAAC;oBACjD,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAC5C,CAAC;oBACD,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,+CAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;wBACrD,SAAS,EAAE,gBAAgB;qBAC5B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-for-in-array.js","sourceRoot":"","sources":["../../src/rules/no-for-in-array.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAIiB;AACjB,2EAAwE;AAExE,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,qDAAqD;YAClE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,cAAc,EACZ,iNAAiN;SACpN;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;gBAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;gBAElD,MAAM,IAAI,GAAG,IAAA,mCAA4B,EAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;gBAEhE,IAAI,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;oBAC/B,OAAO,CAAC,MAAM,CAAC;wBACb,GAAG,EAAE,IAAA,+CAAsB,EAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;wBACrD,SAAS,EAAE,gBAAgB;qBAC5B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,WAAW,CAAC,OAAuB,EAAE,IAAa;IACzD,OAAO,cAAc,CACnB,IAAI,EACJ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,IAAI,IAAI,IAAI,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,CACrE,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,OAAuB,EAAE,IAAa;IAC/D,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAElD,IAAI,cAAc,IAAI,IAAI,EAAE,CAAC;QAC3B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,OAAO,CAAC,aAAa,CAC1B,OAAO,CAAC,eAAe,CAAC,cAAc,CAAC,EACvC,EAAE,CAAC,SAAS,CAAC,UAAU,CACxB,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,IAAa,EACb,SAAkC;IAElC,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js index 763d190ee5..e1554bf7ee 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js @@ -145,6 +145,7 @@ exports.default = (0, util_1.createRule)({ return { 'ArrayExpression > SpreadElement': checkArrayOrCallSpread, 'CallExpression > SpreadElement': checkArrayOrCallSpread, + JSXSpreadAttribute: checkObjectSpread, 'ObjectExpression > SpreadElement': checkObjectSpread, }; }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map index 18e87f0cb8..6aac05b9f9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map @@ -1 +1 @@ -{"version":3,"file":"no-misused-spread.js","sourceRoot":"","sources":["../../src/rules/no-misused-spread.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AAkBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,4EAA4E;YAC9E,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,sFAAsF;YACxF,gCAAgC,EAC9B,gIAAgI;YAClI,6BAA6B,EAC3B,+EAA+E;YACjF,wBAAwB,EACtB,2IAA2I;YAC7I,wBAAwB,EACtB,sFAAsF;YACxF,mBAAmB,EACjB,wIAAwI;YAC1I,uBAAuB,EACrB,uHAAuH;YACzH,cAAc,EACZ,mGAAmG;SACtG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,GAAG,gCAAyB,CAAC,UAAU,CAAC,KAAK;wBAC7C,WAAW,EACT,kEAAkE;qBACrE;iBACF;aACF;SACF;KACF;IAED,cAAc,EAAE;QACd;YACE,KAAK,EAAE,EAAE;SACV;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5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C,CAAC,EAAE;QAC9B,IACE,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,OAAO,CAAC,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,2BAA2B,CAAC,EACtE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,gBAAgB,EAAE,IAAI,CAAC;QAEnD,OAAO,CACL,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,gBAAgB;YACvC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,eAAe,CACvC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,KAAK,CAAC,OAAmB,EAAE,IAAa;IAC/C,OAAO,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,CAC9B,IAAA,0BAAmB,EAAC,OAAO,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CACnE,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,IAAa,EACb,SAAkC;IAElC,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"} \ No newline at end of file +{"version":3,"file":"no-misused-spread.js","sourceRoot":"","sources":["../../src/rules/no-misused-spread.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AAkBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW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AC,IAAI,EAAE,CAAC,CAAC,EAAE,CAC9B,IAAA,0BAAmB,EAAC,OAAO,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CACnE,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,IAAa,EACb,SAAkC;IAElC,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js index 63e77bebc0..17aec8cd5d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js @@ -124,7 +124,9 @@ function getTypeParametersFromNode(node, tsNode, checker) { } if (ts.isCallExpression(tsNode) || ts.isNewExpression(tsNode) || - ts.isTaggedTemplateExpression(tsNode)) { + ts.isTaggedTemplateExpression(tsNode) || + ts.isJsxOpeningElement(tsNode) || + ts.isJsxSelfClosingElement(tsNode)) { return getTypeParametersFromCall(node, tsNode, checker); } return undefined; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map index d7bba2312c..cdbfadb499 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnec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,CAAC,EAAE,cAAc,EAAE,CAAC;AACrC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-arguments.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-arguments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAejB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,uDAAuD;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,oBAAoB,CAAC,IAAa;YAIzC,IAAI,IAAA,0BAAmB,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC9B,OAAO;oBACL,IAAI,EAAE,IAAI,CAAC,MAAM;oBACjB,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC;iBAC9C,CAAC;YACJ,CAAC;YACD,OAAO;gBACL,IAAI;gBACJ,aAAa,EAAE,EAAE;aAClB,CAAC;QACJ,CAAC;QAED,SAAS,wBAAwB,CAC/B,YAAmD,EACnD,cAAsD;YAEtD,+FAA+F;YAC/F,MAAM,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;YACzC,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CA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EvB,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;IAC1C,OAAO,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map index 9aca090dce..9f649fb4c3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map @@ -1 +1 @@ -{"version":3,"file":"collectUnusedVariables.js","sourceRoot":"","sources":["../../src/util/collectUnusedVariables.ts"],"names":[],"mappings":";;AAm0BS,4CAAgB;AA7zBzB,oEAI0C;AAC1C,oDAKkC;AAElC,iDAA8C;AAC9C,6EAA0E;AAW1E;;;GAGG;AACH,MAAM,iBAAkB,SAAQ,uBAAO;IACrC;;OAEG;IACK,MAAM,CAAU,aAAa,GAAG,IAAI,OAAO,EAGhD,CAAC;IAEM,gBAAgB,GAAG,IAAI,CAAC,UAAU,CAAC;IAEnC,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC;IAElC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAC;IAEtC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAC;IAEhD,iBAAiB;IAEP,mBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC;IAEzC,kBAAkB,GAAG,IAAI,CAAC,aAAa,CAAC;IACxC,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC;IACpC,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC;IAE5B,0BAA0B,GAAG,IAAI,CAAC,0BAA0B,CAAC;IAE7D,iBAAiB,GAAG,IAAI,CAAC,0BAA0B,CAAC;IAEpD,+BAA+B,G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mB,CAAC,QAAQ,CAAC,CAAC;IACpD,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,CAAC;IAE1C,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,2BAAY,CAAC,CAAC;IAE3D,IAAI,OAAO,GAAyB,IAAI,CAAC;IAEzC,OAAO,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QACpC,MAAM,SAAS,GAAG,eAAe,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAEhD,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAEnC,OAAO,CACL,GAAG,CAAC,MAAM,EAAE;YACZ,CAAC,SAAS;YACV,CAAC,CAAC,CAAC,gBAAgB,IAAI,IAAA,uDAA0B,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YAClE,CAAC,CAAC,oBAAoB,IAAI,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;YAC9D,CAAC,CAAC,UAAU,IAAI,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;YAClD,CAAC,CAAC,YAAY,IAAI,eAAe,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;YACxD,CAAC,CAAC,UAAU,IAAI,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC,CACrD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,4BAA4B;AAE5B;;;;;;GAMG;AACH,SAAS,gBAAgB,CAIvB,OAA4D;IAE5D,OAAO,iBAAiB,CAAC,sBAAsB,CAC7C,OAAO,CAAC,UAAU,CAAC,GAAG,EACtB,mBAAW,CAAC,UAAU,CACpB,OAAO,CAAC,UAAU,CAAC,YAAY,EAC/B,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"collectUnusedVariables.js","sourceRoot":"","sources":["../../src/util/collectUnusedVariables.ts"],"names":[],"mappings":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YAClE,CAAC,CAAC,oBAAoB,IAAI,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;YAC9D,CAAC,CAAC,UAAU,IAAI,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;YAClD,CAAC,CAAC,YAAY,IAAI,eAAe,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;YACxD,CAAC,CAAC,UAAU,IAAI,eAAe,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC,CACrD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,4BAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,gBAAgB,CAI9B,OAA4D;IAE5D,OAAO,iBAAiB,CAAC,sBAAsB,CAC7C,OAAO,CAAC,UAAU,CAAC,GAAG,EACtB,mBAAW,CAAC,UAAU,CACpB,OAAO,CAAC,UAAU,CAAC,YAAY,EAC/B,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js index 5e6de799a8..a1e0ce4884 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js @@ -1,11 +1,11 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ancestorHasReturnType = ancestorHasReturnType; -exports.checkFunctionExpressionReturnType = checkFunctionExpressionReturnType; -exports.checkFunctionReturnType = checkFunctionReturnType; exports.doesImmediatelyReturnFunctionExpression = doesImmediatelyReturnFunctionExpression; exports.isTypedFunctionExpression = isTypedFunctionExpression; exports.isValidFunctionExpressionReturnType = isValidFunctionExpressionReturnType; +exports.checkFunctionReturnType = checkFunctionReturnType; +exports.checkFunctionExpressionReturnType = checkFunctionExpressionReturnType; +exports.ancestorHasReturnType = ancestorHasReturnType; const utils_1 = require("@typescript-eslint/utils"); const astUtils_1 = require("./astUtils"); const getFunctionHeadLoc_1 = require("./getFunctionHeadLoc"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map index 3fb07aaee3..da9593379c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map @@ -1 +1 @@ -{"version":3,"file":"explicitReturnTypeUtils.js","sourceRoot":"","sources":["../../src/util/explicitReturnTypeUtils.ts"],"names":[],"mappings":";;AAkXE,sDAAqB;AACrB,8EAAiC;AACjC,0DAAuB;AACvB,0FAAuC;AAGvC,8DAAyB;AACzB,kFAAmC;AAvXrC,oDAIkC;AAElC,yCAAsE;AACtE,6DAA0D;AAY1D;;;;;GAKG;AACH,SAAS,sCAAsC,CAC7C,IAAmB;IAEnB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAC5E,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,sCAAsC,CAC7C,IAAmB;IAEnB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IAAI,CAAC,CAAC,IAAI,CAAC,cAAc,CACzE,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,kBAAkB,CACzB,MAAqB,EACrB,MAA2B;IAE3B,OAAO,CACL,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAC7C,+BAA+B;QAC/B,MAAM,CAAC,MAAM,KAAK,MAAM,CACzB,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,UAAU,CACjB,IAAmB;IAEnB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,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C;QAC3C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,QAAQ,EAAE,CAAC;QAChB,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;YACtB,KAAK,sBAAc,CAAC,uBAAuB,CAAC;YAC5C,KAAK,sBAAc,CAAC,kBAAkB,CAAC;YACvC,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;oBACxB,OAAO,IAAI,CAAC;gBACd,CAAC;gBACD,MAAM;YAER,2BAA2B;YAC3B,6DAA6D;YAC7D,KAAK,sBAAc,CAAC,kBAAkB;gBACpC,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,cAAc,CAAC;YAEtC,KAAK,sBAAc,CAAC,kBAAkB;gBACpC,OAAO,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC;YACnC,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,OAAO,KAAK,CAAC;QACjB,CAAC;QAED,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"explicitReturnTypeUtils.js","sourceRoot":"","sources":["../../src/util/explicitReturnTypeUtils.ts"],"names":[],"mappings":";;AA2JA,0FAkBC;AAmCD,8DAkBC;AAMD,kFAoCC;AA0BD,0DAWC;AAKD,8EAWC;AAKD,sDAyCC;AA7WD,oDAIkC;AAElC,yCAAsE;AACtE,6DAA0D;AAY1D;;;;;GAKG;AACH,SAAS,sCAAsC,CAC7C,IAAmB;IAEnB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAC5E,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,sCAAsC,CAC7C,IAAmB;IAEnB,OAAO,CACL,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,IA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,EAAE,CAAC;QAC9C,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAC5B,CAAC;IAED,oGAAoG;IACpG,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAAC;IAC3E,MAAM,eAAe,GACnB,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB;QACxD,QAAQ,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC;IACvD,IAAI,CAAC,iBAAiB,IAAI,CAAC,eAAe,EAAE,CAAC;QAC3C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,QAAQ,EAAE,CAAC;QAChB,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC;YACtB,KAAK,sBAAc,CAAC,uBAAuB,CAAC;YAC5C,KAAK,sBAAc,CAAC,kBAAkB,CAAC;YACvC,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;oBACxB,OAAO,IAAI,CAAC;gBACd,CAAC;gBACD,MAAM;YAER,2BAA2B;YAC3B,6DAA6D;YAC7D,KAAK,sBAAc,CAAC,kBAAkB;gBACpC,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,cAAc,CAAC;YAEtC,KAAK,sBAAc,CAAC,kBAAkB;gBACpC,OAAO,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC;YACnC,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,OAAO,KAAK,CAAC;QACjB,CAAC;QAED,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js index df8b40e45a..42a74159ad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js @@ -42,11 +42,5 @@ __exportStar(require("./types"), exports); __exportStar(require("./getConstraintInfo"), exports); // this is done for convenience - saves migrating all of the old rules __exportStar(require("@typescript-eslint/type-utils"), exports); -const { applyDefault, deepMerge, getParserServices, isObjectNotArray, nullThrows, NullThrowsReasons, } = utils_1.ESLintUtils; -exports.applyDefault = applyDefault; -exports.deepMerge = deepMerge; -exports.getParserServices = getParserServices; -exports.isObjectNotArray = isObjectNotArray; -exports.nullThrows = nullThrows; -exports.NullThrowsReasons = NullThrowsReasons; +exports.applyDefault = utils_1.ESLintUtils.applyDefault, exports.deepMerge = utils_1.ESLintUtils.deepMerge, exports.getParserServices = utils_1.ESLintUtils.getParserServices, exports.isObjectNotArray = utils_1.ESLintUtils.isObjectNotArray, exports.nullThrows = utils_1.ESLintUtils.nullThrows, exports.NullThrowsReasons = utils_1.ESLintUtils.NullThrowsReasons; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map index a5e60bdc09..5f9fe1914e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,mEAAiD;AACjD,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,oDAAkC;AAClC,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB;AACxB,sDAAoC;AAEpC,sEAAsE;AACtE,gEAA8C;AAE9C,MAAM,EACJ,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,GAClB,GAAG,mBAAW,CAAC;AAMd,oCAAY;AACZ,8BAAS;AACT,8CAAiB;AAGjB,4CAAgB;AAChB,gCAAU;AACV,8CAAiB"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,mEAAiD;AACjD,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,oDAAkC;AAClC,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB;AACxB,sDAAoC;AAEpC,sEAAsE;AACtE,gEAA8C;AAG5C,oBAAY,GAMV,mBAAW,eALb,iBAAS,GAKP,mBAAW,YAJb,yBAAiB,GAIf,mBAAW,oBAHb,wBAAgB,GAGd,mBAAW,mBAFb,kBAAU,GAER,mBAAW,aADb,yBAAiB,GACf,mBAAW,mBAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js index fb8a6ab358..d46442560a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js @@ -33,21 +33,21 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.MemberNameType = exports.isStaticMemberAccessOfValue = void 0; +exports.isStaticMemberAccessOfValue = exports.MemberNameType = void 0; +exports.isDefinitionFile = isDefinitionFile; +exports.upperCaseFirst = upperCaseFirst; exports.arrayGroupByToMap = arrayGroupByToMap; exports.arraysAreEqual = arraysAreEqual; exports.findFirstResult = findFirstResult; -exports.findLastIndex = findLastIndex; -exports.formatWordList = formatWordList; -exports.getEnumNames = getEnumNames; exports.getNameFromIndexSignature = getNameFromIndexSignature; exports.getNameFromMember = getNameFromMember; -exports.getStaticMemberAccessValue = getStaticMemberAccessValue; -exports.isDefinitionFile = isDefinitionFile; -exports.isParenlessArrowFunction = isParenlessArrowFunction; -exports.isRestParameterDeclaration = isRestParameterDeclaration; +exports.getEnumNames = getEnumNames; +exports.formatWordList = formatWordList; +exports.findLastIndex = findLastIndex; exports.typeNodeRequiresParentheses = typeNodeRequiresParentheses; -exports.upperCaseFirst = upperCaseFirst; +exports.isRestParameterDeclaration = isRestParameterDeclaration; +exports.isParenlessArrowFunction = isParenlessArrowFunction; +exports.getStaticMemberAccessValue = getStaticMemberAccessValue; const type_utils_1 = require("@typescript-eslint/type-utils"); const utils_1 = require("@typescript-eslint/utils"); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map index 8d354d7fd7..b46e319aba 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map @@ -1 +1 @@ -{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/util/misc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsUE,8CAAiB;AACjB,wCAAc;AAGd,0CAAe;AACf,sCAAa;AACb,wCAAc;AACd,oCAAY;AACZ,8DAAyB;AACzB,8CAAiB;AACjB,gEAA0B;AAC1B,4CAAgB;AAChB,4DAAwB;AACxB,gEAA0B;AAI1B,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AAC;IACD,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;IACzB,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED;;;;GAIG;AACI,MAAM,2BAA2B,GAAG,CACzC,gBAA6B,EAC7B,OAAuC,EACvC,GAAG,MAA2B,EACrB,EAAE,CACV,MAA0C,CAAC,QAAQ,CAClD,0BAA0B,CAAC,gBAAgB,EAAE,OAAO,CAAC,CACtD,CAAC;AAPS,QAAA,2BAA2B,+BAOpC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js.map index 3311f8e890..4274fbd762 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js.map @@ -1 +1 @@ -{"version":3,"file":"objectIterators.js","sourceRoot":"","sources":["../../src/util/objectIterators.ts"],"names":[],"mappings":";;AAiCS,4CAAgB;AAAE,oCAAY;AAAE,0CAAe;AAjCxD,SAAS,gBAAgB,CACvB,GAAM,EACN,QAAgC;IAEhC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,QAAQ,CAAC,GAAG,CAAC,CAAC;IAChB,CAAC;AACH,CAAC;AAED,SAAS,YAAY,CACnB,GAAM,EACN,QAAkC;IAElC,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;QAC1B,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,eAAe,CACtB,GAAM,EACN,QAAyD,EACzD,OAAoB;IAEpB,IAAI,WAAW,GAAG,OAAO,CAAC;IAC1B,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;QAC1B,WAAW,GAAG,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IACH,OAAO,WAAW,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"objectIterators.js","sourceRoot":"","sources":["../../src/util/objectIterators.ts"],"names":[],"mappings":";;AAAA,4CAQC;AAED,oCASC;AAED,0CAUC;AA/BD,SAAgB,gBAAgB,CAC9B,GAAM,EACN,QAAgC;IAEhC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,QAAQ,CAAC,GAAG,CAAC,CAAC;IAChB,CAAC;AACH,CAAC;AAED,SAAgB,YAAY,CAC1B,GAAM,EACN,QAAkC;IAElC,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;QAC1B,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAgB,eAAe,CAC7B,GAAM,EACN,QAAyD,EACzD,OAAoB;IAEpB,IAAI,WAAW,GAAG,OAAO,CAAC;IAC1B,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;QAC1B,WAAW,GAAG,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IACH,OAAO,WAAW,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx index 65162a62a6..d28eb7afb6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx @@ -32,6 +32,7 @@ enum E { enum E { A = 'A', B = 'A', + C = `A`, } ``` @@ -49,6 +50,7 @@ enum E { enum E { A = 'A', B = 'B', + C = `C`, } ``` diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx index 35e7084339..5b3320e1e3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx @@ -54,7 +54,7 @@ declare class Box { const boxSpread = { ...Box }; declare const instance: Box; -const instanceSpread = { ...box }; +const instanceSpread = { ...instance }; ``` diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts index 679109f24d..3a3f5e08c9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts @@ -1,4 +1,3 @@ -declare function createIdGenerator(): () => number; -declare function resetIds(): void; -export { createIdGenerator, resetIds }; +export declare function createIdGenerator(): () => number; +export declare function resetIds(): void; //# sourceMappingURL=ID.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map index 2c9c0fd0d8..62f8e82158 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,iBAAS,iBAAiB,IAAI,MAAM,MAAM,CAUzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,IAAI,MAAM,MAAM,CAUhD;AAED,wBAAgB,QAAQ,IAAI,IAAI,CAE/B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map index e880ddebc8..7bee3b4e1c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map @@ -1 +1 @@ -{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;AAmBS,8CAAiB;AAAE,4BAAQ;AAnBpC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;QAClB,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ;IACf,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;AAGA,8CAUC;AAED,4BAEC;AAjBD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAgB,iBAAiB;IAC/B,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;QAClB,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAED,SAAgB,QAAQ;IACtB,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts index f745bfb7f6..c7fc54a0ae 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts @@ -12,7 +12,7 @@ interface ScopeManagerOptions { /** * @see https://eslint.org/docs/latest/developer-guide/scope-manager-interface#scopemanager-interface */ -declare class ScopeManager { +export declare class ScopeManager { #private; currentScope: Scope | null; readonly declaredVariables: WeakMap; @@ -68,5 +68,5 @@ declare class ScopeManager { nestWithScope(node: WithScope['block']): WithScope; protected nestScope(scope: T): T; } -export { ScopeManager }; +export {}; //# sourceMappingURL=ScopeManager.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map index a94936521c..f543d9d31d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EACL,UAAU,EACV,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,WAAW,EAEX,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,EACT,SAAS,EACV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,UA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CAAC,OAAO,CAAC,GAAG,aAAa;IAK9D,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAKlD,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAOzD,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;CASlD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map index ab9bb2f9f7..03dcb0bd19 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map @@ -1 +1 @@ -{"version":3,"file":"ScopeManager.js","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":";;;AAKA,qCAAkC;AAClC,mCAkBiB;AACjB,mFAAgF;AAChF,yEAAsE;AAQtE;;GAEG;AACH,MAAM,YAAY;IACP,QAAQ,CAAsB;IAEhC,YAAY,CAAe;IAElB,iBAAiB,CAAqC;IAEtE;;OAEG;IACI,WAAW,CAAqB;IAEvB,WAAW,CAAkC;IAE7D;;;OAGG;IACa,MAAM,CAAU;IAEhC,YAAY,OAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,IAAI,OAAO,EAAE,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,iBAAiB,GAAG,IAAI,OAAO,EAAE,CAAC;IACzC,CAAC;IAEM,KAAK;QAC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,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;IACtE,CAAC;IAKS,SAAS,CAAC,KAAY;QAC9B,IAAI,KAAK,YAAY,mBAAW,EAAE,CAAC;YACjC,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,CAAC;YAClC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC3B,CAAC;QACD,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AA3OD,oCA2OC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts index 3cbb780560..907e239208 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts @@ -1,7 +1,7 @@ import type { Lib, SourceType, TSESTree } from '@typescript-eslint/types'; import type { ReferencerOptions } from './referencer'; import { ScopeManager } from './ScopeManager'; -interface AnalyzeOptions { +export interface AnalyzeOptions { /** * Known visitor keys. */ @@ -50,6 +50,5 @@ interface AnalyzeOptions { /** * Takes an AST and returns the analyzed scopes. */ -declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager; -export { analyze, type AnalyzeOptions }; +export declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager; //# sourceMappingURL=analyze.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map index a9e0c261f1..73c7381765 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,UAAU,cAAc;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAaD;;GAEG;AACH,iBAAS,OAAO,CACd,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CA4Bd;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAaD;;GAEG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CA4Bd"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map index ccb257c555..301fe35a20 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;AAmHS,0BAAO;AAjHhB,kEAA8D;AAI9D,6CAA0C;AAC1C,iDAA8C;AA6D9C,MAAM,eAAe,GAA6B;IAChD,gBAAgB,EAAE,0BAAW;IAC7B,qBAAqB,EAAE,KA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zD,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEvB,OAAO,YAAY,CAAC;AACtB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts index bd40c9e22b..a9a0993acf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts @@ -1,3 +1,2 @@ -declare function assert(value: unknown, message?: string): asserts value; -export { assert }; +export declare function assert(value: unknown, message?: string): asserts value; //# sourceMappingURL=assert.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map index 72f278dd6d..137bbfaf26 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,iBAAS,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAI/D;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAItE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map index 6ea638637a..58bb7ae0f9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map @@ -1 +1 @@ -{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;AAOS,wBAAM;AAPf,yDAAyD;AACzD,SAAS,MAAM,CAAC,KAAc,EAAE,OAAgB;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;AACA,wBAIC;AALD,yDAAyD;AACzD,SAAgB,MAAM,CAAC,KAAc,EAAE,OAAgB;IACrD,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts index 7fde46bd77..63179a90f9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class CatchClauseDefinition extends DefinitionBase { +export declare class CatchClauseDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.BindingName, node: CatchClauseDefinition['node']); } -export { CatchClauseDefinition }; //# sourceMappingURL=CatchClauseDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map index 41af006eaa..86b2a6fb7b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,qBAAsB,SAAQ,cAAc,CAChD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,qBAAsB,SAAQ,cAAc,CACvD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map index e86f2712ad..0324ed5fae 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,qBAAsB,SAAQ,+BAKnC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;CACF;AAEQ,sDAAqB"} \ No newline at end of file +{"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,qBAAsB,SAAQ,+BAK1C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;CACF;AAZD,sDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts index 507ba64603..3444c9c105 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ClassNameDefinition extends DefinitionBase { +export declare class ClassNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: ClassNameDefinition['node']); } -export { ClassNameDefinition }; //# sourceMappingURL=ClassNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map index f90e30b463..20a025016c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,mBAAoB,SAAQ,cAAc,CAC9C,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;CAGzE;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,mBAAoB,SAAQ,cAAc,CACrD,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;CAGzE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map index 75f3c2e82c..629465a7bf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassNameDefinition.js","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,mBAAoB,SAAQ,+BAKjC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAiC;QACtE,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;CACF;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ClassNameDefinition.js","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,mBAAoB,SAAQ,+BAKxC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAiC;QACtE,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;CACF;AAZD,kDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts index 41329f3250..82dcbc7d83 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts @@ -9,6 +9,5 @@ import type { TSEnumNameDefinition } from './TSEnumNameDefinition'; import type { TSModuleNameDefinition } from './TSModuleNameDefinition'; import type { TypeDefinition } from './TypeDefinition'; import type { VariableDefinition } from './VariableDefinition'; -type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition; -export type { Definition }; +export type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition; //# sourceMappingURL=Definition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map index 98d0799a98..5b1588eeb7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,UAAU,GACX,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC;AAEvB,YAAY,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,UAAU,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts index 962ffed4b5..9cddc0de63 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts @@ -1,6 +1,6 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { DefinitionType } from './DefinitionType'; -declare abstract class DefinitionBase { +export declare abstract class DefinitionBase { /** * A unique ID for this instance - primarily used to help debugging and testing */ @@ -31,5 +31,4 @@ declare abstract class DefinitionBase { +export declare class FunctionNameDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: FunctionNameDefinition['node']); } -export { FunctionNameDefinition }; //# sourceMappingURL=FunctionNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map index 7a955a55ec..17faaaa428 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EACzB,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EACzB,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map index 5a839e8f1d..ad602cb0c4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionNameDefinition.js","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAQpC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"FunctionNameDefinition.js","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAQ3C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAfD,wDAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts index 237f772794..18411a4c1b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ImplicitGlobalVariableDefinition extends DefinitionBase { +export declare class ImplicitGlobalVariableDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.BindingName, node: ImplicitGlobalVariableDefinition['node']); } -export { ImplicitGlobalVariableDefinition }; //# sourceMappingURL=ImplicitGlobalVariableDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map index 054541f7f9..c17e8486ae 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitGlobalVariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,gCAAiC,SAAQ,cAAc,CAC3D,cAAc,CAAC,sBAAsB,EACrC,QAAQ,CAAC,IAAI,EACb,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC;CAIjD;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImplicitGlobalVariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,gCAAiC,SAAQ,cAAc,CAClE,cAAc,CAAC,sBAAsB,EACrC,QAAQ,CAAC,IAAI,EACb,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC;CAIjD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map index 17dd5256de..8d6c3646bc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitGlobalVariableDefinition.js","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,gCAAiC,SAAQ,+BAK9C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAA0B,EAC1B,IAA8C;QAE9C,KAAK,CAAC,+BAAc,CAAC,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,4EAAgC"} \ No newline at end of file +{"version":3,"file":"ImplicitGlobalVariableDefinition.js","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,gCAAiC,SAAQ,+BAKrD;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAA0B,EAC1B,IAA8C;QAE9C,KAAK,CAAC,+BAAc,CAAC,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;CACF;AAfD,4EAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts index 7a5c456304..56dc95edf2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts @@ -1,11 +1,10 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ImportBindingDefinition extends DefinitionBase { +export declare class ImportBindingDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSESTree.TSImportEqualsDeclaration, decl: TSESTree.TSImportEqualsDeclaration); constructor(name: TSESTree.Identifier, node: Exclude, decl: TSESTree.ImportDeclaration); } -export { ImportBindingDefinition }; //# sourceMappingURL=ImportBindingDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map index f53c0e3de8..25ac83b46c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImportBindingDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,k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AgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,QAAQ,CAAC,yBAAyB,EACxC,IAAI,EAAE,QAAQ,CAAC,yBAAyB;gBAGxC,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,OAAO,CACX,uBAAuB,CAAC,MAAM,CAAC,EAC/B,QAAQ,CAAC,yBAAyB,CACnC,EACD,IAAI,EAAE,QAAQ,CAAC,iBAAiB;CASnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map index c9c33078b1..8c41f75e50 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ImportBindingDefinition.js","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,uBAAwB,SAAQ,+BAQrC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAe5C,YACE,IAAyB,EACzB,IAAqC,EACrC,IAAqE;QAErE,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;CACF;AAEQ,0DAAuB"} \ No newline at end of file +{"version":3,"file":"ImportBindingDefinition.js","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,uBAAwB,SAAQ,+BAQ5C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAe5C,YACE,IAAyB,EACzB,IAAqC,EACrC,IAAqE;QAErE,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;CACF;AAhCD,0DAgCC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts index 2c9dea1c22..3d6e459205 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ParameterDefinition extends DefinitionBase { +export declare class ParameterDefinition extends DefinitionBase { /** * Whether the parameter definition is a part of a rest parameter. */ @@ -10,5 +10,4 @@ declare class ParameterDefinition extends DefinitionBase { +export declare class TSEnumMemberDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier | TSESTree.StringLiteral, node: TSEnumMemberDefinition['node']); } -export { TSEnumMemberDefinition }; //# sourceMappingURL=TSEnumMemberDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map index 3ad9cf7bf6..86e58b803e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumMemberDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,YAAY,EACrB,IAAI,EACJ,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAC7C;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EAClD,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAIvC;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumMemberDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,YAAY,EACrB,IAAI,EACJ,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAC7C;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EAClD,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map index 5589e2a96d..5efb7664a2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumMemberDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAkD,EAClD,IAAoC;QAEpC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"TSEnumMemberDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAK3C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAkD,EAClD,IAAoC;QAEpC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAfD,wDAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts index 499a80739a..2e3617b721 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TSEnumNameDefinition extends DefinitionBase { +export declare class TSEnumNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSEnumNameDefinition['node']); } -export { TSEnumNameDefinition }; //# sourceMappingURL=TSEnumNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map index 1d43f9e06d..2687ea2f2a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,oBAAqB,SAAQ,cAAc,CAC/C,cAAc,CAAC,UAAU,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;CAG1E;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,oBAAqB,SAAQ,cAAc,CACtD,cAAc,CAAC,UAAU,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;CAG1E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map index 1308987548..468ca20952 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,oBAAqB,SAAQ,+BAKlC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAkC;QACvE,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;CACF;AAEQ,oDAAoB"} \ No newline at end of file +{"version":3,"file":"TSEnumNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,oBAAqB,SAAQ,+BAKzC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAkC;QACvE,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;CACF;AAZD,oDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts index 5b52afa938..750249a7b5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TSModuleNameDefinition extends DefinitionBase { +export declare class TSModuleNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSModuleNameDefinition['node']); } -export { TSModuleNameDefinition }; //# sourceMappingURL=TSModuleNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map index bd6d85ca04..da414877e2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSModuleNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map index c0e5e3f66d..ee13ba31c4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"TSModuleNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAK3C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAZD,wDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts index 91158b6e0e..67d1085f5c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TypeDefinition extends DefinitionBase { +export declare class TypeDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = false; constructor(name: TSESTree.Identifier, node: TypeDefinition['node']); } -export { TypeDefinition }; //# sourceMappingURL=TypeDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map index 1c5f81733c..d780386665 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,cAAe,SAAQ,cAAc,CACzC,cAAc,CAAC,IAAI,EACjB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,eAAe,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,SAAS;gBAEjC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;CAGpE;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TypeDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,cAAe,SAAQ,cAAc,CAChD,cAAc,CAAC,IAAI,EACjB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,eAAe,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,SAAS;gBAEjC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;CAGpE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map index 7dc70ad7fb..c24c8557d0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeDefinition.js","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,cAAe,SAAQ,+BAQ5B;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,KAAK,CAAC;IAE7C,YAAY,IAAyB,EAAE,IAA4B;QACjE,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;CACF;AAEQ,wCAAc"} \ No newline at end of file +{"version":3,"file":"TypeDefinition.js","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,cAAe,SAAQ,+BAQnC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,KAAK,CAAC;IAE7C,YAAY,IAAyB,EAAE,IAA4B;QACjE,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;CACF;AAfD,wCAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts index 8626079252..200b9158f3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class VariableDefinition extends DefinitionBase { +export declare class VariableDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: VariableDefinition['node'], decl: TSESTree.VariableDeclaration); } -export { VariableDefinition }; //# sourceMappingURL=VariableDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map index dca9468057..7957c3fb86 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,kBAAmB,SAAQ,cAAc,CAC7C,cAAc,CAAC,QAAQ,EACvB,QAAQ,CAAC,kBAAkB,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,mBAAmB;CAIrC;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"VariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,kBAAmB,SAAQ,cAAc,CACpD,cAAc,CAAC,QAAQ,EACvB,QAAQ,CAAC,kBAAkB,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,mBAAmB;CAIrC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map index 86801dcd2f..a819d08e24 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"VariableDefinition.js","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,kBAAmB,SAAQ,+BAKhC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAyB,EACzB,IAAgC,EAChC,IAAkC;QAElC,KAAK,CAAC,+BAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;CACF;AAEQ,gDAAkB"} \ No newline at end of file +{"version":3,"file":"VariableDefinition.js","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,kBAAmB,SAAQ,+BAKvC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAyB,EACzB,IAAgC,EAChC,IAAkC;QAElC,KAAK,CAAC,+BAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;CACF;AAhBD,gDAgBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts index 56ef44536b..5f11238e95 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts @@ -1,4 +1,4 @@ -declare const lib: { +export declare const lib: { readonly decorators: Record; readonly 'decorators.legacy': Record; readonly dom: Record; @@ -105,5 +105,4 @@ declare const lib: { readonly 'webworker.importscripts': Record; readonly 'webworker.iterable': Record; }; -export { lib }; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map index 1508f374e8..b71009c2e3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AA+GA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GC,CAAC;AAEX,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AA+GA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GN,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js index 67f08d3783..a9581668a6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js @@ -110,7 +110,7 @@ const webworker_1 = require("./webworker"); const webworker_asynciterable_1 = require("./webworker.asynciterable"); const webworker_importscripts_1 = require("./webworker.importscripts"); const webworker_iterable_1 = require("./webworker.iterable"); -const lib = { +exports.lib = { decorators: decorators_1.decorators, 'decorators.legacy': decorators_legacy_1.decorators_legacy, dom: dom_1.dom, @@ -217,5 +217,4 @@ const lib = { 'webworker.importscripts': webworker_importscripts_1.webworker_importscripts, 'webworker.iterable': webworker_iterable_1.webworker_iterable, }; -exports.lib = lib; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map index c58f9ae2e6..ed61d61b74 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAE3B,6CAA0C;AAC1C,2DAAwD;AACxD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,6DAA0D;AAC1D,+CA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;IAClC,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,GAAG,EAAE,SAAO;IACZ,UAAU,EAAV,uBAAU;IACV,SAAS,EAAT,qBAAS;IACT,yBAAyB,EAAE,iDAAuB;IAClD,yBAAyB,EAAE,iDAAuB;IAClD,oBAAoB,EAAE,uCAAkB;CAChC,CAAC;AAEF,kBAAG"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAE3B,6CAA0C;AAC1C,2DAAwD;AACxD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,6DAA0D;AAC1D,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAC1D,qCAAkC;AAClC,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C;AAC9C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qCAAkC;AAClC,mDAAgD;AAChD,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4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/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts index 42aecaa6f4..fdaa70dc10 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class ClassVisitor extends Visitor { +export declare class ClassVisitor extends Visitor { #private; constructor(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression); static visit(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void; @@ -25,5 +25,4 @@ declare class ClassVisitor extends Visitor { protected TSAbstractPropertyDefinition(node: TSESTree.TSAbstractPropertyDefinition): void; protected TSIndexSignature(node: TSESTree.TSIndexSignature): void; } -export { ClassVisitor }; //# sourceMappingURL=ClassVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map index a5398741e3..64b4e148db 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AA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I;IAMnD,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;IAIrD,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAIjE,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAInC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAIrE,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;IAQvD,SAAS,CAAC,0BAA0B,CAClC,IAAI,EAAE,QAAQ,CAAC,0BAA0B,GACxC,IAAI;IAIP,SAAS,CAAC,0BAA0B,CAClC,IAAI,EAAE,QAAQ,CAAC,0BAA0B,GACxC,IAAI;IAIP,SAAS,CAAC,4BAA4B,CACpC,IAAI,EAAE,QAAQ,CAAC,4BAA4B,GAC1C,IAAI;IAIP,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;CAGlE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map index c3938f27e2..ee6ce7b615 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,8CAAyE;AACzE,+CAA4C;AAC5C,uCAAoC;AAEpC,MAAM,YAAa,SAAQ,iBAAO;IACvB,UAAU,CAAuD;IACjE,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I,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAES,gBAAgB,CAAC,IAA+B;QACxD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;CACF;AAsCQ,oCAAY;AApCrB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAS,uBAAuB,CAC9B,IAA+B;IAE/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC9D,IACE,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ;YAClC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ,EAClC,CAAC;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QACzE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,8CAAyE;AACzE,+CAA4C;AAC5C,uCAAoC;AAEpC,MAAa,YAAa,SAAQ,iBAAO;IAC9B,UAAU,CAAuD;IACjE,WAAW,CAAa;IAEjC,YACE,UAAsB,EACtB,IAA0D;QAE1D,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,IAA0D;QAE1D,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC,UAAU,EAA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AG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC9D,IACE,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ;YAClC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ,EAClC,CAAC;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QACzE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts index 1b78cb8481..99f600d77c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts @@ -1,8 +1,8 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration; -declare class ExportVisitor extends Visitor { +export type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration; +export declare class ExportVisitor extends Visitor { #private; constructor(node: ExportNode, referencer: Referencer); static visit(referencer: Referencer, node: ExportNode): void; @@ -11,5 +11,4 @@ declare class ExportVisitor extends Visitor { protected ExportSpecifier(node: TSESTree.ExportSpecifier): void; protected Identifier(node: TSESTree.Identifier): void; } -export { ExportVisitor }; //# sourceMappingURL=ExportVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map index 0b07ac45ce..7fac17ef89 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ExportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,KAAK,UAAU,GACX,QAAQ,CAAC,oBAAoB,GAC7B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,sBAAsB,CAAC;AAEpC,cAAM,aAAc,SAAQ,OAAO;;gBAIrB,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAMpD,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI;IAK5D,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAaP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAgBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAgB/D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;CAStD;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ExportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,UAAU,GAClB,QAAQ,CAAC,oBAAoB,GAC7B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,sBAAsB,CAAC;AAEpC,qBAAa,aAAc,SAAQ,OAAO;;gBAI5B,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAMpD,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI;IAK5D,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAaP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAgBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAgB/D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;CAStD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map index 474e3abd4e..6e7af826fe 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ExportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,uCAAoC;AAOpC,MAAM,aAAc,SAAQ,iBAAO;IACxB,WAAW,CAAa;IACxB,WAAW,CAAa;IAEjC,YAAY,IAAgB,EAAE,UAAsB;QAClD,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,UAAsB,EAAE,IAAgB;QACnD,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7D,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;YACxD,oBAAoB;YACpB,qCAAqC;YACrC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC/B,CAAC;aAAM,CAAC;YACN,sBAAsB;YACtB,sBAAsB;YACtB,MAAM;YACN,+GAA+G;QACjH,CAAC;IACH,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,yBAAyB;YACzB,0EAA0E;YAC1E,OAAO;QACT,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,gBAAgB;YAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,sBAAsB;YACtB,6EAA6E;QAC/E,CAAC;IACH,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,IACE,IAAI,CAAC,UAAU,KAAK,MAAM;YAC1B,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC7C,CAAC;YACD,qBAAqB;YACrB,wCAAwC;YACxC,EAAE;YACF,mGAAmG;YACnG,kEAAkE;YAClE,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAES,UAAU,CAAC,IAAyB;QAC5C,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;YAC3C,qBAAqB;YACrB,wCAAwC;YACxC,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"ExportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,uCAAoC;AAOpC,MAAa,aAAc,SAAQ,iBAAO;IAC/B,WAAW,CAAa;IACxB,WAAW,CAAa;IAEjC,YAAY,IAAgB,EAAE,UAAsB;QAClD,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,UAAsB,EAAE,IAAgB;QACnD,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7D,gBAAgB,CAAC,KAAK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IAAI,CAAC,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAzED,sCAyEC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts index bb2f9b44fb..4768b55031 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class ImportVisitor extends Visitor { +export declare class ImportVisitor extends Visitor { #private; constructor(declaration: TSESTree.ImportDeclaration, referencer: Referencer); static visit(referencer: Referencer, declaration: TSESTree.ImportDeclaration): void; @@ -10,5 +10,4 @@ declare class ImportVisitor extends Visitor { protected ImportSpecifier(node: TSESTree.ImportSpecifier): void; protected visitImport(id: TSESTree.Identifier, specifier: TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.ImportSpecifier): void; } -export { ImportVisitor }; //# sourceMappingURL=ImportVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map index 5eb27d7aa7..44ec7b54cf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAM,aAAc,SAAQ,OAAO;;gBAIrB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,EAAE,UAAU,EAAE,UAAU;IAM3E,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,GACtC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAKP,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAKP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,WAAW,CACnB,EAAE,EAAE,QAAQ,CAAC,UAAU,EACvB,SAAS,EACL,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GAC3B,IAAI;CAQR;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,qBAAa,aAAc,SAAQ,OAAO;;gBAI5B,WAAW,EAAE,QAAQ,CAAC,iBAAiB,EAAE,UAAU,EAAE,UAAU;IAM3E,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,GACtC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAKP,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAKP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,WAAW,CACnB,EAAE,EAAE,QAAQ,CAAC,UAAU,EACvB,SAAS,EACL,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GAC3B,IAAI;CAQR"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map index f7a18a65c6..ed903e642b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ImportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":";;;AAIA,8CAAwD;AACxD,uCAAoC;AAEpC,MAAM,aAAc,SAAQ,iBAAO;IACxB,YAAY,CAA6B;IACzC,WAAW,CAAa;IAEjC,YAAY,WAAuC,EAAE,UAAsB;QACzE,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,WAAuC;QAEvC,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACpE,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,WAAW,CACnB,EAAuB,EACvB,SAG4B;QAE5B,IAAI,CAAC,WAAW;aACb,YAAY,EAAE;aACd,gBAAgB,CACf,EAAE,EACF,IAAI,oCAAuB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAC9D,CAAC;IACN,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"ImportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":";;;AAIA,8CAAwD;AACxD,uCAAoC;AAEpC,MAAa,aAAc,SAAQ,iBAAO;IAC/B,YAAY,CAA6B;IACzC,WAAW,CAAa;IAEjC,YAAY,WAAuC,EAAE,UAAsB;QACzE,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,WAAuC;QAEvC,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACpE,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,WAAW,CACnB,EAAuB,EACvB,SAG4B;QAE5B,IAAI,CAAC,WAAW;aACb,YAAY,EAAE;aACd,gBAAgB,CACf,EAAE,EACF,IAAI,oCAAuB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAC9D,CAAC;IACN,CAAC;CACF;AAnDD,sCAmDC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts index 63b8a0b078..6a0a4eb3b7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts @@ -1,13 +1,13 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { VisitorOptions } from './VisitorBase'; import { VisitorBase } from './VisitorBase'; -type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: { +export type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: { assignments: (TSESTree.AssignmentExpression | TSESTree.AssignmentPattern)[]; rest: boolean; topLevel: boolean; }) => void; -type PatternVisitorOptions = VisitorOptions; -declare class PatternVisitor extends VisitorBase { +export type PatternVisitorOptions = VisitorOptions; +export declare class PatternVisitor extends VisitorBase { #private; readonly rightHandNodes: TSESTree.Node[]; constructor(options: PatternVisitorOptions, rootPattern: TSESTree.Node, callback: PatternVisitorCallback); @@ -25,5 +25,4 @@ declare class PatternVisitor extends VisitorBase { protected SpreadElement(node: TSESTree.SpreadElement): void; protected TSTypeAnnotation(): void; } -export { PatternVisitor, type PatternVisitorCallback, type PatternVisitorOptions, }; //# sourceMappingURL=PatternVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map index 58c2a660d3..2d0fb56836 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"PatternVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,e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Q,CAAC,YAAY,GACrB,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,UAAU,GACnB,QAAQ,CAAC,aAAa,GACtB,QAAQ,CAAC,WAAW,GACpB,QAAQ,CAAC,aAAa;IAa1B,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAI/D,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,YAAY,GAAG,IAAI;IAM5D,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,oBAAoB,GAAG,IAAI;IAOzE,SAAS,CAAC,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,iBAAiB,GAAG,IAAI;IAOtE,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,cAAc,GAAG,IAAI;IAQ7D,SAAS,CAAC,SAAS,IAAI,IAAI;IAI3B,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;IAUxD,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAUjE,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAG,IAAI;IAYrD,SAAS,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;IAM1D,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI;IAI3D,SAAS,CAAC,gBAAgB,IAAI,IAAI;CAGnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map index 03e66cb191..985bdfeb56 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"PatternVisitor.js","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,+CAA4C;AAY5C,MAAM,cAAe,SAAQ,yBAAW;IAC7B,YAAY,GAGf,EAAE,CAAC;IACA,SAAS,CAAyB;IAClC,aAAa,GAA2B,EAAE,CAAC;IAC3C,YAAY,CAAgB;IAErB,cAAc,GAAoB,EAAE,CAAC;IAErD,YACE,OAA8B,EAC9B,WAA0B,EAC1B,QAAgC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAEM,MAAM,CAAC,SAAS,CACrB,IAAmB;QAQnB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;QAE3B,OAAO,CACL,QAAQ,KAAK,sBAAc,CAAC,UAAU;YACtC,QAAQ,KAAK,sBAAc,CAAC,aAAa;YACzC,QAAQ,KAAK,sBAAc,CAAC,YAAY;YACxC,QAAQ,KAAK,sBAAc,CAAC,aAAa;YACzC,QAAQ,KAAK,sBAAc,CAAC,WAAW;YACvC,QAAQ,KAAK,sBAAc,CAAC,iBAAiB,CAC9C,CAAC;IACJ,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC1C,CAAC;IAES,YAAY,CAAC,OAA8B;QACnD,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YACvC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAES,oBAAoB,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,EAAE,CAAC;YAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC;QAED,kDAAkD;QAClD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IAES,QAAQ,CAAC,QAA2B;QAC5C,gDAAgD;QAChD,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACzC,CAAC;QAED,mDAAmD;QACnD,mHAAmH;QACnH,kEAAkE;QAClE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,WAAW,CAAC,OAA6B;QACjD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAES,gBAAgB;QACxB,+BAA+B;IACjC,CAAC;CACF;AAGC,wCAAc"} \ No newline at end of file +{"version":3,"file":"PatternVisitor.js","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,+CAA4C;AAY5C,MAAa,cAAe,SAAQ,yBAAW;IACpC,YAAY,GAGf,EAAE,CAAC;IACA,SAAS,CAAyB;IAClC,aAAa,GAA2B,EAAE,CAAC;IAC3C,YAAY,CAAgB;IAErB,cAAc,GAAoB,EAAE,CAAC;IAErD,YACE,OAA8B,EAC9B,WAA0B,EAC1B,QAAgC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,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,CAAC,OAA6B;QACjD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAES,gBAAgB;QACxB,+BAA+B;IACjC,CAAC;CACF;AA3HD,wCA2HC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts index 1ffe72da40..97cacb40ae 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts @@ -1,24 +1,24 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Scope } from '../scope'; import type { Variable } from '../variable'; -declare enum ReferenceFlag { +export declare enum ReferenceFlag { Read = 1, Write = 2, ReadWrite = 3 } -interface ReferenceImplicitGlobal { +export interface ReferenceImplicitGlobal { node: TSESTree.Node; pattern: TSESTree.BindingName; ref?: Reference; } -declare enum ReferenceTypeFlag { +export declare enum ReferenceTypeFlag { Value = 1, Type = 2 } /** * A Reference represents a single occurrence of an identifier in code. */ -declare class Reference { +export declare class Reference { #private; /** * A unique ID for this instance - primarily used to help debugging and testing @@ -85,5 +85,4 @@ declare class Reference { */ isReadWrite(): boolean; } -export { Reference, ReferenceFlag, type ReferenceImplicitGlobal, ReferenceTypeFlag, }; //# sourceMappingURL=Reference.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map index 093cc331e6..e8239bd95f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Reference.d.ts","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,aAAK,aAAa;IAChB,IAAI,IAAM;IACV,KAAK,IAAM;IACX,SAAS,IAAM;CAChB;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;IACpB,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;IAC9B,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB;AAID,aAAK,iBAAiB;IACpB,KAAK,IAAM;IACX,IAAI,IAAM;CACX;AAED;;GAEG;AACH,cAAM,SAAS;;IACb;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAO1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC;IAEzE;;;OAGG;IACH,SAAgB,IAAI,CAAC,EAAE,OAAO,CAAC;IAE/B,SAAgB,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAErE;;;OAGG;IACI,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,SAAgB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;gBAQ/C,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EACxD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,aAAa,EACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,EAChC,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,EACpD,IAAI,CAAC,EAAE,OAAO,EACd,aAAa,oBAA0B;IAgBzC;;OAEG;IACH,IAAW,eAAe,IAAI,OAAO,CAEpC;IAED;;OAEG;IACH,IAAW,gBAAgB,IAAI,OAAO,CAErC;IAED;;;OAGG;IACI,OAAO,IAAI,OAAO;IAIzB;;;OAGG;IACI,MAAM,IAAI,OAAO;IAIxB;;;OAGG;IACI,UAAU,IAAI,OAAO;IAI5B;;;OAGG;IACI,WAAW,IAAI,OAAO;IAI7B;;;OAGG;IACI,WAAW,IAAI,OAAO;CAG9B;AAED,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,uBAAuB,EAC5B,iBAAiB,GAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"Reference.d.ts","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,oBAAY,aAAa;IACvB,IAAI,IAAM;IACV,KAAK,IAAM;IACX,SAAS,IAAM;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;IACpB,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;IAC9B,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB;AAID,oBAAY,iBAAiB;IAC3B,KAAK,IAAM;IACX,IAAI,IAAM;CACX;AAED;;GAEG;AACH,qBAAa,SAAS;;IACpB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAO1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC;IAEzE;;;OAGG;IACH,SAAgB,IAAI,CAAC,EAAE,OAAO,CAAC;IAE/B,SAAgB,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAErE;;;OAGG;IACI,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,SAAgB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;gBAQ/C,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EACxD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,aAAa,EACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,EAChC,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,EACpD,IAAI,CAAC,EAAE,OAAO,EACd,aAAa,oBAA0B;IAgBzC;;OAEG;IACH,IAAW,eAAe,IAAI,OAAO,CAEpC;IAED;;OAEG;IACH,IAAW,gBAAgB,IAAI,OAAO,CAErC;IAED;;;OAGG;IACI,OAAO,IAAI,OAAO;IAIzB;;;OAGG;IACI,MAAM,IAAI,OAAO;IAIxB;;;OAGG;IACI,UAAU,IAAI,OAAO;IAI5B;;;OAGG;IACI,WAAW,IAAI,OAAO;IAI7B;;;OAGG;IACI,WAAW,IAAI,OAAO;CAG9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js index 1739c0bbb7..8065e5e239 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ReferenceTypeFlag = exports.ReferenceFlag = exports.Reference = void 0; +exports.Reference = exports.ReferenceTypeFlag = exports.ReferenceFlag = void 0; const ID_1 = require("../ID"); var ReferenceFlag; (function (ReferenceFlag) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map index 0af1ca43d2..d6349b8389 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map @@ -1 +1 @@ -{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":";;;AAKA,8BAA0C;AAE1C,IAAK,aAIJ;AAJD,WAAK,aAAa;IAChB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,2DAAe,CAAA;AACjB,CAAC,EAJI,aAAa,6BAAb,aAAa,QAIjB;AAQD,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,IAAK,iBAGJ;AAHD,WAAK,iBAAiB;IACpB,2DAAW,CAAA;IACX,yDAAU,CAAA;AACZ,CAAC,EAHI,iBAAiB,iCAAjB,iBAAiB,QAGrB;AAED;;GAEG;AACH,MAAM,SAAS;IACb;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;OAEG;IACM,KAAK,CAAgB;IAE9B;;;OAGG;IACa,IAA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,CAAC;IAED;;;OAGG;IACI,UAAU;QACf,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,IAAI,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,KAAK,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,SAAS,CAAC;IAChD,CAAC;CACF;AAGC,8BAAS"} \ No newline at end of file +{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":";;;AAKA,8BAA0C;AAE1C,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,2DAAe,CAAA;AACjB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAQD,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,2DAAW,CAAA;IACX,yDAAU,CAAA;AACZ,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED;;GAEG;AACH,MAAa,SAAS;IACpB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;OAEG;IACM,KAAK,CAAgB;IAE9B;;;OAGG;IACa,IAAI,CAAQ;IAE5B;;;OAGG;IACa,UAAU,CAA+C;IAEzE;;;OAGG;IACa,IAAI,CAAW;IAEf,mBAAmB,CAAkC;IAErE;;;OAGG;IACI,QAAQ,CAAkB;IAEjC;;;OAGG;IACa,SAAS,CAAwB;IAEjD;;OAEG;IACM,cAAc,CAAoB;IAE3C,YACE,UAAwD,EACxD,KAAY,EACZ,IAAmB,EACnB,SAAgC,EAChC,mBAAoD,EACpD,IAAc,EACd,aAAa,GAAG,iBAAiB,CAAC,KAAK;QAEvC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B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/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts index d7799ca270..2703d42303 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts @@ -4,12 +4,12 @@ import type { ScopeManager } from '../ScopeManager'; import type { ReferenceImplicitGlobal } from './Reference'; import type { VisitorOptions } from './Visitor'; import { Visitor } from './Visitor'; -interface ReferencerOptions extends VisitorOptions { +export interface ReferencerOptions extends VisitorOptions { jsxFragmentName: string | null; jsxPragma: string | null; lib: Lib[]; } -declare class Referencer extends Visitor { +export declare class Referencer extends Visitor { #private; readonly scopeManager: ScopeManager; constructor(options: ReferencerOptions, scopeManager: ScopeManager); @@ -28,6 +28,7 @@ declare class Referencer extends Visitor { protected visitForIn(node: TSESTree.ForInStatement | TSESTree.ForOfStatement): void; protected visitFunction(node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.TSDeclareFunction | TSESTree.TSEmptyBodyFunctionExpression): void; protected visitFunctionParameterTypeAnnotation(node: TSESTree.Parameter): void; + protected visitJSXElement(node: TSESTree.JSXClosingElement | TSESTree.JSXOpeningElement): void; protected visitProperty(node: TSESTree.Property): void; protected visitType(node: TSESTree.Node | null | undefined): void; protected visitTypeAssertion(node: TSESTree.TSAsExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion): void; @@ -52,7 +53,7 @@ declare class Referencer extends Visitor { protected ImportAttribute(): void; protected ImportDeclaration(node: TSESTree.ImportDeclaration): void; protected JSXAttribute(node: TSESTree.JSXAttribute): void; - protected JSXClosingElement(): void; + protected JSXClosingElement(node: TSESTree.JSXClosingElement): void; protected JSXFragment(node: TSESTree.JSXFragment): void; protected JSXIdentifier(node: TSESTree.JSXIdentifier): void; protected JSXMemberExpression(node: TSESTree.JSXMemberExpression): void; @@ -83,5 +84,4 @@ declare class Referencer extends Visitor { protected WithStatement(node: TSESTree.WithStatement): void; private visitExpressionTarget; } -export { Referencer, type ReferencerOptions }; //# sourceMappingURL=Referencer.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map index 30658571c1..d507a4a361 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Referencer.d.ts","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI9D,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAoBhD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,UAAU,iBAAkB,SAAQ,cAAc;IAChD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,GAAG,EAAE,GAAG,EAAE,CAAC;CACZ;AAGD,cAAM,UAAW,SAAQ,OAAO;;IAM9B,SAAgB,YAAY,EAAE,YAAY,CAAC;gBAE/B,OAAO,EAAE,iBAAiB,E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C,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAarE,SAAS,CAAC,yBAAyB,CACjC,IAAI,EAAE,QAAQ,CAAC,yBAAyB,GACvC,IAAI;IAiBP,SAAS,CAAC,yBAAyB,CACjC,IAAI,EAAE,QAAQ,CAAC,yBAAyB,GACvC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAIP,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAevE,SAAS,CAAC,qBAAqB,CAAC,IAAI,EAAE,QAAQ,CAAC,qBAAqB,GAAG,IAAI;IAI3E,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAIP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAI/D,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAgBjE,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAoCvE,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI;IAW3D,OAAO,CAAC,qBAAqB;CAc9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js index 381cd44bab..ff7b95be12 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js @@ -179,6 +179,21 @@ class Referencer extends Visitor_1.Visitor { break; } } + visitJSXElement(node) { + if (node.name.type === types_1.AST_NODE_TYPES.JSXIdentifier) { + if (node.name.name[0].toUpperCase() === node.name.name[0] || + node.name.name === 'this') { + // lower cased component names are always treated as "intrinsic" names, and are converted to a string, + // not a variable by JSX transforms: + //
=> React.createElement("div", null) + // the only case we want to visit a lower-cased component has its name as "this", + this.visit(node.name); + } + } + else { + this.visit(node.name); + } + } visitProperty(node) { if (node.computed) { this.visit(node.key); @@ -315,8 +330,8 @@ class Referencer extends Visitor_1.Visitor { JSXAttribute(node) { this.visit(node.value); } - JSXClosingElement() { - // should not be counted as a reference + JSXClosingElement(node) { + this.visitJSXElement(node); } JSXFragment(node) { this.referenceJsxPragma(); @@ -335,19 +350,7 @@ class Referencer extends Visitor_1.Visitor { } JSXOpeningElement(node) { this.referenceJsxPragma(); - if (node.name.type === types_1.AST_NODE_TYPES.JSXIdentifier) { - if (node.name.name[0].toUpperCase() === node.name.name[0] || - node.name.name === 'this') { - // lower cased component names are always treated as "intrinsic" names, and are converted to a string, - // not a variable by JSX transforms: - //
=> React.createElement("div", null) - // the only case we want to visit a lower-cased component has its name as "this", - this.visit(node.name); - } - } - else { - this.visit(node.name); - } + this.visitJSXElement(node); this.visitType(node.typeArguments); for (const attr of node.attributes) { this.visit(attr); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map index 5281caf10c..a2c6aeafcb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map @@ -1 +1 @@ -{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,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AC;QAEtC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAEO,qBAAqB,CAAC,IAAmB;QAC/C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,cAAc,CAAC;YACnC,KAAK,sBAAc,CAAC,eAAe;gBACjC,uCAAuC;gBACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YACtC,0BAA0B;YAC1B,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,wBAAwB;gBACxB,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAC5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAClD,2CAA4C;AAC5C,+CAA4C;AAC5C,uCAAoC;AAQpC,+CAA+C;AAC/C,MAAa,UAAW,SAAQ,iBAAO;IACrC,wBAAwB,GAAG,KAAK,CAAC;IACjC,gCAAgC,GAAG,KAAK,CAAC;IACzC,gBAAgB,CAAgB;IAChC,UAAU,CAAgB;IAC1B,IAAI,CAAQ;IACI,YAAY,CAAe;IAE3C,YAAY,OAA0B,EAAE,YAA0B;QAChE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;QAChD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,GAAG,CA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AAO,IAAI,CAAC;IACd,CAAC;CACF;AAtxBD,gCAsxBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts index 6d37e6a4a6..ee0e8c1690 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class TypeVisitor extends Visitor { +export declare class TypeVisitor extends Visitor { #private; constructor(referencer: Referencer); static visit(referencer: Referencer, node: TSESTree.Node): void; @@ -29,5 +29,4 @@ declare class TypeVisitor extends Visitor { protected TSTypeAnnotation(node: TSESTree.TSTypeAnnotation): void; protected TSTypeQuery(node: TSESTree.TSTypeQuery): void; } -export { TypeVisitor }; //# sourceMappingURL=TypeVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map index 9e2402d330..ae68524eb9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/TypeVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ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AI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;IAwCvD,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAmBP,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,GAAG,IAAI;IAYzD,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,iBAAiB,GAAG,IAAI;IAKnE,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAKrE,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAKvE,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAkBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAS/D,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAQ/D,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAKjE,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;CAwBxD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map index 00905e0453..29a690084b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/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C;QACD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAClC,CAAC;IAED,qFAAqF;IAC3E,gBAAgB,CAAC,IAA+B;QACxD,QAAQ;QACR,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAES,WAAW,CAAC,IAA0B;QAC9C,IAAI,UAGqB,CAAC;QAC1B,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;YAC1D,IAAI,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC;YACzB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACzD,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YACnB,CAAC;YACD,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC;YAE3B,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QACD,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;YAClD,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACjC,CAAC;CACF;AA/RD,kCA+RC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts index d0a474a60d..cd15f88039 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts @@ -5,11 +5,10 @@ import { VisitorBase } from './VisitorBase'; interface VisitPatternOptions extends PatternVisitorOptions { processRightHandNodes?: boolean; } -declare class Visitor extends VisitorBase { +export declare class Visitor extends VisitorBase { #private; constructor(optionsOrVisitor: Visitor | VisitorOptions); protected visitPattern(node: TSESTree.Node, callback: PatternVisitorCallback, options?: VisitPatternOptions): void; } -export { Visitor }; export { VisitorBase, type VisitorOptions } from './VisitorBase'; //# sourceMappingURL=Visitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map index 1dc951ce97..83830e0aed 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Visitor.d.ts","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,cAAM,OAAQ,SAAQ,WAAW;;gBAEnB,gBAAgB,EAAE,OAAO,GAAG,cAAc;IAatD,SAAS,CAAC,YAAY,CACpB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,QAAQ,EAAE,sBAAsB,EAChC,OAAO,GAAE,mBAAsD,GAC9D,IAAI;CAWR;AAED,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file +{"version":3,"file":"Visitor.d.ts","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,qBAAa,OAAQ,SAAQ,WAAW;;gBAE1B,gBAAgB,EAAE,OAAO,GAAG,cAAc;IAatD,SAAS,CAAC,YAAY,CACpB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,QAAQ,EAAE,sBAAsB,EAChC,OAAO,GAAE,mBAAsD,GAC9D,IAAI;CAWR;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map index 0e4878ceab..aacdd79798 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map @@ -1 +1 @@ -{"version":3,"file":"Visitor.js","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":";;;AAQA,qDAAkD;AAClD,+CAA4C;AAK5C,MAAM,OAAQ,SAAQ,yBAAW;IACtB,QAAQ,CAAiB;IAClC,YAAY,gBAA0C;QACpD,KAAK,CACH,gBAAgB,YAAY,OAAO;YACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;YAC3B,CAAC,CAAC,gBAAgB,CACrB,CAAC;QAEF,IAAI,CAAC,QAAQ;YACX,gBAAgB,YAAY,OAAO;gBACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;gBAC3B,CAAC,CAAC,gBAAgB,CAAC;IACzB,CAAC;IAES,YAAY,CACpB,IAAmB,EACnB,QAAgC,EAChC,UAA+B,EAAE,qBAAqB,EAAE,KAAK,EAAE;QAE/D,iFAAiF;QACjF,MAAM,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAElE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpB,4CAA4C;QAC5C,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC;YAClC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF;AAEQ,0BAAO;AAEhB,6CAAiE;AAAxD,0GAAA,WAAW,OAAA"} \ No newline at end of file +{"version":3,"file":"Visitor.js","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":";;;AAQA,qDAAkD;AAClD,+CAA4C;AAK5C,MAAa,OAAQ,SAAQ,yBAAW;IAC7B,QAAQ,CAAiB;IAClC,YAAY,gBAA0C;QACpD,KAAK,CACH,gBAAgB,YAAY,OAAO;YACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;YAC3B,CAAC,CAAC,gBAAgB,CACrB,CAAC;QAEF,IAAI,CAAC,QAAQ;YACX,gBAAgB,YAAY,OAAO;gBACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;gBAC3B,CAAC,CAAC,gBAAgB,CAAC;IACzB,CAAC;IAES,YAAY,CACpB,IAAmB,EACnB,QAAgC,EAChC,UAA+B,EAAE,qBAAqB,EAAE,KAAK,EAAE;QAE/D,iFAAiF;QACjF,MAAM,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAElE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpB,4CAA4C;QAC5C,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC;YAClC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF;AA9BD,0BA8BC;AAED,6CAAiE;AAAxD,0GAAA,WAAW,OAAA"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts index 1a4883b2f0..6c550158a0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts @@ -1,10 +1,10 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { VisitorKeys } from '@typescript-eslint/visitor-keys'; -interface VisitorOptions { +export interface VisitorOptions { childVisitorKeys?: VisitorKeys | null; visitChildrenEvenIfSelectorExists?: boolean; } -declare abstract class VisitorBase { +export declare abstract class VisitorBase { #private; constructor(options: VisitorOptions); /** @@ -18,6 +18,5 @@ declare abstract class VisitorBase { */ visit(node: TSESTree.Node | null | undefined): void; } -export { VisitorBase, type VisitorOptions }; export type { VisitorKeys } from '@typescript-eslint/visitor-keys'; //# sourceMappingURL=VisitorBase.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map index 2036e9d94c..da51b6f9b4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VisitorBase.d.ts","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,UAAU,cAAc;IACtB,gBAAgB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C;AAaD,uBAAe,WAAW;;gBAGZ,OAAO,EAAE,cAAc;IAMnC;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,QAAQ,CAAC,IAAI,EACnC,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC1B,UAAU,GAAE,CAAC,MAAM,CAAC,CAAC,EAAO,GAC3B,IAAI;IA6BP;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;CAepD;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,CAAC;AAE5C,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC"} \ No newline at end of file +{"version":3,"file":"VisitorBase.d.ts","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,MAAM,WAAW,cAAc;IAC7B,gBAAgB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C;AAaD,8BAAsB,WAAW;;gBAGnB,OAAO,EAAE,cAAc;IAMnC;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,QAAQ,CAAC,IAAI,EACnC,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC1B,UAAU,GAAE,CAAC,MAAM,CAAC,CAAC,EAAO,GAC3B,IAAI;IA6BP;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;CAepD;AAED,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map index f9d611aba7..d59ef93373 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map @@ -1 +1 @@ -{"version":3,"file":"VisitorBase.js","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":";;;AAGA,kEAA8D;AAO9D,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,OAAO,GAAG,K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vB,CAAC;gBACH,CAAC;YACH,CAAC;iBAAM,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACpB,CAAC;QACH,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAsC;QAC1C,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QAED,MAAM,OAAO,GAAI,IAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACzB,IAAI,CAAC,IAAI,CAAC,kCAAkC,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;QACH,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"VisitorBase.js","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":";;;AAGA,kEAA8D;AAO9D,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,CAAC;AAChD,CAAC;AACD,SAAS,MAAM,CAAC,IAAa;IAC3B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC;AACzD,CAAC;AAMD,MAAsB,WAAW;IACtB,iBAAiB,CAAc;IAC/B,kCAAkC,CAAU;IACrD,YAAY,OAAuB;QACjC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,IAAI,0BAAW,CAAC;QACjE,IAAI,CAAC,kCAAkC;YACrC,OAAO,CAAC,iCAAiC,IAAI,KAAK,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,IAA0B,EAC1B,aAA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,kCAAkC,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;QACH,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;CACF;AAhED,kCAgEC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts index 66f2713f62..22ac51edbe 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class BlockScope extends ScopeBase { +export declare class BlockScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: BlockScope['upper'], block: BlockScope['block']); } -export { BlockScope }; //# sourceMappingURL=BlockScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map index 4a9d37ee8c..591ab324b6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,cAAc,EACvB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,cAAc,EACvB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map index c014e70ca3..b9b294990d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map @@ -1 +1 @@ -{"version":3,"file":"BlockScope.js","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"BlockScope.js","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts index 59532d2382..5d4474f44b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class CatchScope extends ScopeBase { +export declare class CatchScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: CatchScope['upper'], block: CatchScope['block']); } -export { CatchScope }; //# sourceMappingURL=CatchScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map index a8a7834163..87c09cf706 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CatchScope.d.ts","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CatchScope.d.ts","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map index 0ead4562be..363047faa3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map @@ -1 +1 @@ -{"version":3,"file":"CatchScope.js","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"CatchScope.js","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts index a646736334..e8341f1143 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassFieldInitializerScope extends ScopeBase { +export declare class ClassFieldInitializerScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassFieldInitializerScope['upper'], block: ClassFieldInitializerScope['block']); } -export { ClassFieldInitializerScope }; //# sourceMappingURL=ClassFieldInitializerScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map index d10ba96749..821c2e874a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassFieldInitializerScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,0BAA2B,SAAQ,SAAS,CAChD,SAAS,CAAC,qBAAqB,EAE/B,QAAQ,CAAC,UAAU,EACnB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAC/C,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAU7C;AAED,OAAO,EAAE,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassFieldInitializerScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,0BAA2B,SAAQ,SAAS,CACvD,SAAS,CAAC,qBAAqB,EAE/B,QAAQ,CAAC,UAAU,EACnB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAC/C,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAU7C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map index 6f517d6780..68ff654b7d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassFieldInitializerScope.js","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,0BAA2B,SAAQ,qBAKxC;IACC,YACE,YAA0B,EAC1B,UAA+C,EAC/C,KAA0C;QAE1C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,qBAAqB,EAC/B,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;IACJ,CAAC;CACF;AAEQ,gEAA0B"} \ No newline at end of file +{"version":3,"file":"ClassFieldInitializerScope.js","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,0BAA2B,SAAQ,qBAK/C;IACC,YACE,YAA0B,EAC1B,UAA+C,EAC/C,KAA0C;QAE1C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,qBAAqB,EAC/B,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;IACJ,CAAC;CACF;AAnBD,gEAmBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts index c31a3364e8..2b054b9c2b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassScope extends ScopeBase { +export declare class ClassScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassScope['upper'], block: ClassScope['block']); } -export { ClassScope }; //# sourceMappingURL=ClassScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map index de93ece0f8..94a4ddfc38 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map index 2728afb123..89dddb68f0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassScope.js","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"ClassScope.js","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts index 7d7e81b089..bc9f59163e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassStaticBlockScope extends ScopeBase { +export declare class ClassStaticBlockScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassStaticBlockScope['upper'], block: ClassStaticBlockScope['block']); } -export { ClassStaticBlockScope }; //# sourceMappingURL=ClassStaticBlockScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map index 7a2ed823c0..948e08863a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassStaticBlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,qBAAsB,SAAQ,SAAS,CAC3C,SAAS,CAAC,gBAAgB,EAC1B,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAC1C,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC;CAIxC;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassStaticBlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,qBAAsB,SAAQ,SAAS,CAClD,SAAS,CAAC,gBAAgB,EAC1B,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAC1C,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC;CAIxC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map index fdfdc3a2fa..176ce990fb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassStaticBlockScope.js","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,qBAAsB,SAAQ,qBAInC;IACC,YACE,YAA0B,EAC1B,UAA0C,EAC1C,KAAqC;QAErC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5E,CAAC;CACF;AAEQ,sDAAqB"} \ No newline at end of file +{"version":3,"file":"ClassStaticBlockScope.js","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,qBAAsB,SAAQ,qBAI1C;IACC,YACE,YAA0B,EAC1B,UAA0C,EAC1C,KAAqC;QAErC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5E,CAAC;CACF;AAZD,sDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts index 6d35e6ec9b..06f13d1074 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ConditionalTypeScope extends ScopeBase { +export declare class ConditionalTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ConditionalTypeScope['upper'], block: ConditionalTypeScope['block']); } -export { ConditionalTypeScope }; //# sourceMappingURL=ConditionalTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map index 296425aa54..7c287437a2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ConditionalTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,oBAAqB,SAAQ,SAAS,CAC1C,SAAS,CAAC,eAAe,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,oBAAoB,CAAC,OAAO,CAAC,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC;CAIvC;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ConditionalTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,oBAAqB,SAAQ,SAAS,CACjD,SAAS,CAAC,eAAe,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,oBAAoB,CAAC,OAAO,CAAC,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map index 8288f23b92..5ef3e1ad70 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ConditionalTypeScope.js","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,oBAAqB,SAAQ,qBAIlC;IACC,YACE,YAA0B,EAC1B,UAAyC,EACzC,KAAoC;QAEpC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;CACF;AAEQ,oDAAoB"} \ No newline at end of file +{"version":3,"file":"ConditionalTypeScope.js","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,oBAAqB,SAAQ,qBAIzC;IACC,YACE,YAA0B,EAC1B,UAAyC,EACzC,KAAoC;QAEpC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;CACF;AAZD,oDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts index ed2f22451d..bc73314d14 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ForScope extends ScopeBase { +export declare class ForScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ForScope['upper'], block: ForScope['block']); } -export { ForScope }; //# sourceMappingURL=ForScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map index b4ee2161d9..c551db147d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ForScope.d.ts","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,QAAS,SAAQ,SAAS,CAC9B,SAAS,CAAC,GAAG,EACb,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,YAAY,EACzE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,EAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;CAI3B;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ForScope.d.ts","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,QAAS,SAAQ,SAAS,CACrC,SAAS,CAAC,GAAG,EACb,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,YAAY,EACzE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,EAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;CAI3B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map index 97f1b25da0..e2bb92b16a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ForScope.js","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,QAAS,SAAQ,qBAItB;IACC,YACE,YAA0B,EAC1B,UAA6B,EAC7B,KAAwB;QAExB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;CACF;AAEQ,4BAAQ"} \ No newline at end of file +{"version":3,"file":"ForScope.js","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,QAAS,SAAQ,qBAI7B;IACC,YACE,YAA0B,EAC1B,UAA6B,EAC7B,KAAwB;QAExB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;CACF;AAZD,4BAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts index 2f5044cad5..2c2b9725f5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts @@ -3,9 +3,8 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionExpressionNameScope extends ScopeBase { +export declare class FunctionExpressionNameScope extends ScopeBase { readonly functionExpressionScope: true; constructor(scopeManager: ScopeManager, upperScope: FunctionExpressionNameScope['upper'], block: FunctionExpressionNameScope['block']); } -export { FunctionExpressionNameScope }; //# sourceMappingURL=FunctionExpressionNameScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map index ba95ba4d27..838709a334 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionExpressionNameScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,2BAA4B,SAAQ,SAAS,CACjD,SAAS,CAAC,sBAAsB,EAChC,QAAQ,CAAC,kBAAkB,EAC3B,KAAK,CACN;IACC,SAAgB,uBAAuB,EAAE,IAAI,CAAC;gBAE5C,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAChD,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC;CAiB9C;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionExpressionNameScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,2BAA4B,SAAQ,SAAS,CACxD,SAAS,CAAC,sBAAsB,EAChC,QAAQ,CAAC,kBAAkB,EAC3B,KAAK,CACN;IACC,SAAgB,uBAAuB,EAAE,IAAI,CAAC;gBAE5C,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAChD,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC;CAiB9C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map index 30d1e1b42c..1e92e2aed7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionExpressionNameScope.js","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":";;;AAKA,8CAAuD;AACvD,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,2BAA4B,SAAQ,qBAIzC;IACiB,uBAAuB,CAAO;IAC9C,YACE,YAA0B,EAC1B,UAAgD,EAChD,KAA2C;QAE3C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,sBAAsB,EAChC,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;QACF,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,CACnB,KAAK,CAAC,EAAE,EACR,IAAI,mCAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAC5C,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACtC,CAAC;CACF;AAEQ,kEAA2B"} \ No newline at end of file +{"version":3,"file":"FunctionExpressionNameScope.js","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":";;;AAKA,8CAAuD;AACvD,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,2BAA4B,SAAQ,qBAIhD;IACiB,uBAAuB,CAAO;IAC9C,YACE,YAA0B,EAC1B,UAAgD,EAChD,KAA2C;QAE3C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,sBAAsB,EAChC,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;QACF,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,CACnB,KAAK,CAAC,EAAE,EACR,IAAI,mCAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAC5C,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACtC,CAAC;CACF;AA1BD,kEA0BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts index f1bf5e115d..756781030b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts @@ -5,9 +5,8 @@ import type { Variable } from '../variable'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionScope extends ScopeBase { +export declare class FunctionScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: FunctionScope['upper'], block: FunctionScope['block'], isMethodDefinition: boolean); protected isValidResolution(ref: Reference, variable: Variable): boolean; } -export { FunctionScope }; //# sourceMappingURL=FunctionScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map index c0dca2c780..e705440c81 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,aAAc,SAAQ,SAAS,CACnC,SAAS,CAAC,QAAQ,EAChB,QAAQ,CAAC,uBAAuB,GAChC,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,OAAO,GAChB,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAC7B,kBAAkB,EAAE,OAAO;IAuB7B,SAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO;CAiBzE;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,aAAc,SAAQ,SAAS,CAC1C,SAAS,CAAC,QAAQ,EAChB,QAAQ,CAAC,uBAAuB,GAChC,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,OAAO,GAChB,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAC7B,kBAAkB,EAAE,OAAO;IAuB7B,SAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO;CAiBzE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map index a96b318f12..ad727d9054 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionScope.js","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,aAAc,SAAQ,qBAS3B;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B,EAC7B,kBAA2B;QAE3B,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,QAAQ,EAClB,UAAU,EACV,KAAK,EACL,kBAAkB,CACnB,CAAC;QAEF,oDAAoD;QACpD,wDAAwD;QACxD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;YAC/D,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,iGAAiG;IACjG,kBAAkB;IAClB,iFAAiF;IACjF,sBAAsB;IACtB,yBAAyB;IACzB,QAAQ;IACE,iBAAiB,CAAC,GAAc,EAAE,QAAkB;QAC5D,0EAA0E;QAC1E,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAElD,iDAAiD;QACjD,OAAO,CAAC,CACN,CACE,QAAQ,CAAC,KAAK,KAAK,IAAI;YACvB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,IAAI,0CAA0C;YACjF,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CACvD,CAAC,+BAA+B;SAClC,CAAC;IACJ,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"FunctionScope.js","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,aAAc,SAAQ,qBASlC;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B,EAC7B,kBAA2B;QAE3B,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,QAAQ,EAClB,UAAU,EACV,KAAK,EACL,kBAAkB,CACnB,CAAC;QAEF,oDAAoD;QACpD,wDAAwD;QACxD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;YAC/D,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,iGAAiG;IACjG,kBAAkB;IAClB,iFAAiF;IACjF,sBAAsB;IACtB,yBAAyB;IACzB,QAAQ;IACE,iBAAiB,CAAC,GAAc,EAAE,QAAkB;QAC5D,0EAA0E;QAC1E,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAElD,iDAAiD;QACjD,OAAO,CAAC,CACN,CACE,QAAQ,CAAC,KAAK,KAAK,IAAI;YACvB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,IAAI,0CAA0C;YACjF,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CACvD,CAAC,+BAA+B;SAClC,CAAC;IACJ,CAAC;CACF;AAtDD,sCAsDC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts index 5cdeb57fa8..717884455e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionTypeScope extends ScopeBase { +export declare class FunctionTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: FunctionTypeScope['upper'], block: FunctionTypeScope['block']); } -export { FunctionTypeScope }; //# sourceMappingURL=FunctionTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map index 540d46bbab..072a4d30c9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,iBAAkB,SAAQ,SAAS,CACvC,SAAS,CAAC,YAAY,EACpB,QAAQ,CAAC,0BAA0B,GACnC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,+BAA+B,GACxC,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,iBAAiB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC;CAIpC;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,iBAAkB,SAAQ,SAAS,CAC9C,SAAS,CAAC,YAAY,EACpB,QAAQ,CAAC,0BAA0B,GACnC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,+BAA+B,GACxC,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,iBAAiB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC;CAIpC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map index 30f3ddeddd..7461d5f311 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionTypeScope.js","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,iBAAkB,SAAQ,qBAQ/B;IACC,YACE,YAA0B,EAC1B,UAAsC,EACtC,KAAiC;QAEjC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;CACF;AAEQ,8CAAiB"} \ No newline at end of file +{"version":3,"file":"FunctionTypeScope.js","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,iBAAkB,SAAQ,qBAQtC;IACC,YACE,YAA0B,EAC1B,UAAsC,EACtC,KAAiC;QAEjC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;CACF;AAhBD,8CAgBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts index 7895720c67..e3208ab74c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts @@ -4,7 +4,7 @@ import type { ImplicitLibVariableOptions } from '../variable'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class GlobalScope extends ScopeBase { close(scopeManager: ScopeManager): Scope | null; defineImplicitVariable(name: string, options: ImplicitLibVariableOptions): void; } -export { GlobalScope }; //# sourceMappingURL=GlobalScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map index 89400338d2..2d12f38360 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"GlobalScope.d.ts","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,0BAA0B,EAAY,MAAM,aAAa,CAAC;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,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C3B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,0BAA0B,GAClC,IAAI;CASR"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map index 4ba16c7cbd..d77475b3fd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map @@ -1 +1 @@ -{"version":3,"file":"GlobalScope.js","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,sCAAmC;AACnC,qGAAkG;AAClG,0CAAkD;AAClD,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAOzB;IACC,8FAA8F;IAC7E,QAAQ,CAQvB;IAEF,YAAY,YAA0B,EAAE,KAA2B;QACjE,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC1D,IAAI,CAAC,QAAQ,GAAG;YACd,gBAAgB,EAAE,EAAE;YACpB,GAAG,EAAE,IAAI,GAAG,EAAoB;YAChC,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;IAEM,KAAK,CAAC,YAA0B;QACrC,IAAA,eAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAE3B,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;YACrC,IAAI,GAAG,CAAC,mBAAmB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBAClE,gEAAgE;gBAChE,MAAM,IAAI,GA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ist/scope/MappedTypeScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts index b8ee01c03a..bd70905441 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class MappedTypeScope extends ScopeBase { +export declare class MappedTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: MappedTypeScope['upper'], block: MappedTypeScope['block']); } -export { MappedTypeScope }; //# sourceMappingURL=MappedTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map index 2bb0eb7416..1e146e3be6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MappedTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,eAAgB,SAAQ,SAAS,CACrC,SAAS,CAAC,UAAU,EACpB,QAAQ,CAAC,YAAY,EACrB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,eAAe,CAAC,OAAO,CAAC,EACpC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;CAIlC;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"MappedTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,eAAgB,SAAQ,SAAS,CAC5C,SAAS,CAAC,UAAU,EACpB,QAAQ,CAAC,YAAY,EACrB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,eAAe,CAAC,OAAO,CAAC,EACpC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;CAIlC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map index a8fd910173..6e1733ba47 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"MappedTypeScope.js","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,eAAgB,SAAQ,qBAI7B;IACC,YACE,YAA0B,EAC1B,UAAoC,EACpC,KAA+B;QAE/B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACF;AAEQ,0CAAe"} \ No newline at end of file +{"version":3,"file":"MappedTypeScope.js","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,eAAgB,SAAQ,qBAIpC;IACC,YACE,YAA0B,EAC1B,UAAoC,EACpC,KAA+B;QAE/B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACF;AAZD,0CAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts index ac537d891f..d80d5860b7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ModuleScope extends ScopeBase { +export declare class ModuleScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ModuleScope['upper'], block: ModuleScope['block']); } -export { ModuleScope }; //# sourceMappingURL=ModuleScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map index f32436c2a7..39572ce39c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC;gBAE1E,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,OAAO,EAChB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map index 984b690cc3..bfe209feaa 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ModuleScope.js","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAAoD;IAC5E,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"ModuleScope.js","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts index 73cc9eea91..b67b14a7b1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts @@ -16,6 +16,5 @@ import type { TSEnumScope } from './TSEnumScope'; import type { TSModuleScope } from './TSModuleScope'; import type { TypeScope } from './TypeScope'; import type { WithScope } from './WithScope'; -type Scope = BlockScope | CatchScope | ClassFieldInitializerScope | ClassScope | ClassStaticBlockScope | ConditionalTypeScope | ForScope | FunctionExpressionNameScope | FunctionScope | FunctionTypeScope | GlobalScope | MappedTypeScope | ModuleScope | SwitchScope | TSEnumScope | TSModuleScope | TypeScope | WithScope; -export type { Scope }; +export type Scope = BlockScope | CatchScope | ClassFieldInitializerScope | ClassScope | ClassStaticBlockScope | ConditionalTypeScope | ForScope | FunctionExpressionNameScope | FunctionScope | FunctionTypeScope | GlobalScope | MappedTypeScope | ModuleScope | SwitchScope | TSEnumScope | TSModuleScope | TypeScope | WithScope; //# sourceMappingURL=Scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map index 40a584fae9..d7cda2782a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.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MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,KAAK,GACb,UAAU,GACV,UAAU,GACV,0BAA0B,GAC1B,UAAU,GACV,qBAAqB,GACrB,oBAAoB,GACpB,QAAQ,GACR,2BAA2B,GAC3B,aAAa,GACb,iBAAiB,GACjB,WAAW,GACX,eAAe,GACf,WAAW,GACX,WAAW,GACX,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts index 0f605fa4e3..a243c79b0a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts @@ -11,7 +11,7 @@ import { Reference, ReferenceFlag } from '../referencer/Reference'; import { Variable } from '../variable'; import { ScopeType } from './ScopeType'; type VariableScope = FunctionScope | GlobalScope | ModuleScope | TSModuleScope; -declare abstract class ScopeBase { +export declare abstract class ScopeBase { #private; /** * A unique ID for this instance - primarily used to help debugging and testing @@ -94,5 +94,5 @@ declare abstract class ScopeBase { +export declare class SwitchScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: SwitchScope['upper'], block: SwitchScope['block']); } -export { SwitchScope }; //# sourceMappingURL=SwitchScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map index 17f5e86f24..035d6aee0c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SwitchScope.d.ts","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,eAAe,EACxB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"SwitchScope.d.ts","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,eAAe,EACxB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map index cb5fe27c72..74f2eaabdf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map @@ -1 +1 @@ -{"version":3,"file":"SwitchScope.js","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAIzB;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"SwitchScope.js","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts index 38c09ea99a..026aeedc7f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TSEnumScope extends ScopeBase { +export declare class TSEnumScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TSEnumScope['upper'], block: TSEnumScope['block']); } -export { TSEnumScope }; //# sourceMappingURL=TSEnumScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map index 3f6d4862f3..dac52dce78 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map index c438ce55b3..020ec236f7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumScope.js","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAIzB;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"TSEnumScope.js","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts index 386180a056..76c49e3997 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TSModuleScope extends ScopeBase { +export declare class TSModuleScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TSModuleScope['upper'], block: TSModuleScope['block']); } -export { TSModuleScope }; //# sourceMappingURL=TSModuleScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map index e16892b218..beda39237f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,aAAc,SAAQ,SAAS,CACnC,SAAS,CAAC,QAAQ,EAClB,QAAQ,CAAC,mBAAmB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC;CAIhC;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,aAAc,SAAQ,SAAS,CAC1C,SAAS,CAAC,QAAQ,EAClB,QAAQ,CAAC,mBAAmB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC;CAIhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map index 330396c4ae..665d5eccca 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleScope.js","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,aAAc,SAAQ,qBAI3B;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B;QAE7B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"TSModuleScope.js","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,aAAc,SAAQ,qBAIlC;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B;QAE7B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;CACF;AAZD,sCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts index bde4d53605..25163260ec 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TypeScope extends ScopeBase { +export declare class TypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TypeScope['upper'], block: TypeScope['block']); } -export { TypeScope }; //# sourceMappingURL=TypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map index 9efd512aa0..838d87322b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,SAAU,SAAQ,SAAS,CAC/B,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,sBAAsB,GAAG,QAAQ,CAAC,sBAAsB,EACjE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAI5B;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,SAAU,SAAQ,SAAS,CACtC,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,sBAAsB,GAAG,QAAQ,CAAC,sBAAsB,EACjE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAI5B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map index 74272f4281..5cdfa4859b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeScope.js","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,SAAU,SAAQ,qBAIvB;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;CACF;AAEQ,8BAAS"} \ No newline at end of file +{"version":3,"file":"TypeScope.js","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,SAAU,SAAQ,qBAI9B;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;CACF;AAZD,8BAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts index 1eaa485441..3743b5d678 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts @@ -3,9 +3,8 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class WithScope extends ScopeBase { +export declare class WithScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: WithScope['upper'], block: WithScope['block']); close(scopeManager: ScopeManager): Scope | null; } -export { WithScope }; //# sourceMappingURL=WithScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map index a2cc41d809..5eeba33835 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"WithScope.d.ts","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,SAAU,SAAQ,SAAS,CAC/B,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,aAAa,EACtB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;IAI3B,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;CAShD;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"WithScope.d.ts","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,SAAU,SAAQ,SAAS,CACtC,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,aAAa,EACtB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;IAI3B,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;CAShD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map index 567a872a37..c7c2b66a7d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map @@ -1 +1 @@ -{"version":3,"file":"WithScope.js","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":";;;AAKA,sCAAmC;AACnC,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,SAAU,SAAQ,qBAIvB;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;IACD,KAAK,CAAC,YAA0B;QAC9B,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACnC,CAAC;QACD,IAAA,eAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AAEQ,8BAAS"} \ No newline at end of file +{"version":3,"file":"WithScope.js","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":";;;AAKA,sCAAmC;AACnC,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,SAAU,SAAQ,qBAI9B;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;IACD,KAAK,CAAC,YAA0B;QAC9B,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACnC,CAAC;QACD,IAAA,eAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AArBD,8BAqBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts index fd5e08bec4..059713cab8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts @@ -2,9 +2,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { VariableBase } from './VariableBase'; /** * ESLint defines global variables using the eslint-scope Variable class - * This is declared her for consumers to use + * This is declared here for consumers to use */ -declare class ESLintScopeVariable extends VariableBase { +export declare class ESLintScopeVariable extends VariableBase { /** * Written to by ESLint. * If this key exists, this variable is a global variable added by ESLint. @@ -30,5 +30,4 @@ declare class ESLintScopeVariable extends VariableBase { */ eslintExplicitGlobalComments?: TSESTree.Comment[]; } -export { ESLintScopeVariable }; //# sourceMappingURL=ESLintScopeVariable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map index b544931c64..0890facb8d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ESLintScopeVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,cAAM,mBAAoB,SAAQ,YAAY;IAC5C;;;;;OAKG;IACI,SAAS,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAE7D;;;;OAIG;IACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;CAC1D;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ESLintScopeVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IACnD;;;;;OAKG;IACI,SAAS,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAE7D;;;;OAIG;IACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;CAC1D"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js index d36def70d5..022968e983 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js @@ -4,7 +4,7 @@ exports.ESLintScopeVariable = void 0; const VariableBase_1 = require("./VariableBase"); /** * ESLint defines global variables using the eslint-scope Variable class - * This is declared her for consumers to use + * This is declared here for consumers to use */ class ESLintScopeVariable extends VariableBase_1.VariableBase { /** diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map index 973b731493..e28f9b9525 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map @@ -1 +1 @@ -{"version":3,"file":"ESLintScopeVariable.js","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":";;;AAEA,iDAA8C;AAE9C;;;GAGG;AACH,MAAM,mBAAoB,SAAQ,2BAAY;IAC5C;;;;;OAKG;IACI,SAAS,CAAW,CAAC,+DAA+D;IAE3F;;;;OAIG;IACI,oBAAoB,CAAW;IAEtC;;;OAGG;IACI,2BAA2B,CAA2B;IAE7D;;;;OAIG;IACI,4BAA4B,CAAsB;CAC1D;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ESLintScopeVariable.js","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":";;;AAEA,iDAA8C;AAE9C;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,2BAAY;IACnD;;;;;OAKG;IACI,SAAS,CAAW,CAAC,+DAA+D;IAE3F;;;;OAIG;IACI,oBAAoB,CAAW;IAEtC;;;OAGG;IACI,2BAA2B,CAA2B;IAE7D;;;;OAIG;IACI,4BAA4B,CAAsB;CAC1D;AA5BD,kDA4BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts index 79eef8fcaa..eee628ec11 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts @@ -1,7 +1,7 @@ import type { Scope } from '../scope'; import type { Variable } from './Variable'; import { ESLintScopeVariable } from './ESLintScopeVariable'; -interface ImplicitLibVariableOptions { +export interface ImplicitLibVariableOptions { readonly eslintImplicitGlobalSetting?: ESLintScopeVariable['eslintImplicitGlobalSetting']; readonly isTypeVariable?: boolean; readonly isValueVariable?: boolean; @@ -10,7 +10,7 @@ interface ImplicitLibVariableOptions { /** * An variable implicitly defined by the TS Lib */ -declare class ImplicitLibVariable extends ESLintScopeVariable implements Variable { +export declare class ImplicitLibVariable extends ESLintScopeVariable implements Variable { /** * `true` if the variable is valid in a type context, false otherwise */ @@ -21,5 +21,4 @@ declare class ImplicitLibVariable extends ESLintScopeVariable implements Variabl readonly isValueVariable: boolean; constructor(scope: Scope, name: string, { eslintImplicitGlobalSetting, isTypeVariable, isValueVariable, writeable, }: ImplicitLibVariableOptions); } -export { ImplicitLibVariable, type ImplicitLibVariableOptions }; //# sourceMappingURL=ImplicitLibVariable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map index 2eb2db9046..1fc7925e38 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitLibVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY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QAAQ;IAEnB;;OAEG;IACH,SAAgB,cAAc,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,SAAgB,eAAe,EAAE,OAAO,CAAC;gBAGvC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACV,EAAE,0BAA0B;CAShC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map index 3149b8bbc2..ac84e32cb4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitLibVariable.js","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAS5D;;GAEG;AACH,MAAM,mBAAoB,SAAQ,yCAAmB;IACnD;;OAEG;IACa,cAAc,CAAU;IAExC;;OAEG;IACa,eAAe,CAAU;IAEzC,YACE,KAAY,EACZ,IAAY,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACkB;QAE7B,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,KAAK,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,KAAK,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC;QACpC,IAAI,CAAC,2BAA2B;YAC9B,2BAA2B,IAAI,UAAU,CAAC;IAC9C,CAAC;CACF;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ImplicitLibVariable.js","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAS5D;;GAEG;AACH,MAAa,mBACX,SAAQ,yCAAmB;IAG3B;;OAEG;IACa,cAAc,CAAU;IAExC;;OAEG;IACa,eAAe,CAAU;IAEzC,YACE,KAAY,EACZ,IAAY,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACkB;QAE7B,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,KAAK,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,KAAK,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC;QACpC,IAAI,CAAC,2BAA2B;YAC9B,2BAA2B,IAAI,UAAU,CAAC;IAC9C,CAAC;CACF;AA/BD,kDA+BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts index 83754b17f8..64d4625371 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts @@ -2,7 +2,7 @@ import { VariableBase } from './VariableBase'; /** * A Variable represents a locally scoped identifier. These include arguments to functions. */ -declare class Variable extends VariableBase { +export declare class Variable extends VariableBase { /** * `true` if the variable is valid in a type context, false otherwise * @public @@ -14,5 +14,4 @@ declare class Variable extends VariableBase { */ get isValueVariable(): boolean; } -export { Variable }; //# sourceMappingURL=Variable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map index 9b56c4f476..9263ad44cd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,cAAM,QAAS,SAAQ,YAAY;IACjC;;;OAGG;IACH,IAAW,cAAc,IAAI,OAAO,CAOnC;IAED;;;OAGG;IACH,IAAW,eAAe,IAAI,OAAO,CAOpC;CACF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,qBAAa,QAAS,SAAQ,YAAY;IACxC;;;OAGG;IACH,IAAW,cAAc,IAAI,OAAO,CAOnC;IAED;;;OAGG;IACH,IAAW,eAAe,IAAI,OAAO,CAOpC;CACF"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map index ba7671440d..efafcd91fb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map @@ -1 +1 @@ -{"version":3,"file":"Variable.js","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;GAEG;AACH,MAAM,QAAS,SAAQ,2BAAY;IACjC;;;OAGG;IACH,IAAW,cAAc;QACvB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,IAAW,eAAe;QACxB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACzD,CAAC;CACF;AAEQ,4BAAQ"} \ No newline at end of file +{"version":3,"file":"Variable.js","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,2BAAY;IACxC;;;OAGG;IACH,IAAW,cAAc;QACvB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,IAAW,eAAe;QACxB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACzD,CAAC;CACF;AA1BD,4BA0BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts index c74c7a386e..0efe6e4c6f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts @@ -2,7 +2,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Definition } from '../definition'; import type { Reference } from '../referencer/Reference'; import type { Scope } from '../scope'; -declare class VariableBase { +export declare class VariableBase { /** * A unique ID for this instance - primarily used to help debugging and testing */ @@ -40,5 +40,4 @@ declare class VariableBase { readonly scope: Scope; constructor(name: string, scope: Scope); } -export { VariableBase }; //# sourceMappingURL=VariableBase.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map index 02d49843fe..182e39838e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VariableBase.d.ts","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMtC,cAAM,YAAY;IAChB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAM;IACxC;;;OAGG;IACI,UAAU,UAAS;IAC1B;;;;OAIG;IACH,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAM;IACxD;;;OAGG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7C;;OAEG;IACH,SAAgB,KAAK,EAAE,KAAK,CAAC;gBAEjB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;CAIvC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"VariableBase.d.ts","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMtC,qBAAa,YAAY;IACvB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAM;IACxC;;;OAGG;IACI,UAAU,UAAS;IAC1B;;;;OAIG;IACH,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAM;IACxD;;;OAGG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7C;;OAEG;IACH,SAAgB,KAAK,EAAE,KAAK,CAAC;gBAEjB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map index 2bcb51cd69..8832d78110 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map @@ -1 +1 @@ -{"version":3,"file":"VariableBase.js","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":";;;AAMA,8BAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAM,YAAY;IAChB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;;OAGG;IACa,IAAI,GAAiB,EAAE,CAAC;IACxC;;;OAGG;IACI,UAAU,GAAG,KAAK,CAAC;IAC1B;;;;OAIG;IACa,WAAW,GAA0B,EAAE,CAAC;IACxD;;;OAGG;IACa,IAAI,CAAS;IAC7B;;;;OAIG;IACa,UAAU,GAAgB,EAAE,CAAC;IAC7C;;OAEG;IACa,KAAK,CAAQ;IAE7B,YAAY,IAAY,EAAE,KAAY;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAEQ,oCAAY"} \ No newline at end of file +{"version":3,"file":"VariableBase.js","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":";;;AAMA,8BAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAa,YAAY;IACvB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;;OAGG;IACa,IAAI,GAAiB,EAAE,CAAC;IACxC;;;OAGG;IACI,UAAU,GAAG,KAAK,CAAC;IAC1B;;;;OAIG;IACa,WAAW,GAA0B,EAAE,CAAC;IACxD;;;OAGG;IACa,IAAI,CAAS;IAC7B;;;;OAIG;IACa,UAAU,GAAgB,EAAE,CAAC;IAC7C;;OAEG;IACa,KAAK,CAAQ;IAE7B,YAAY,IAAY,EAAE,KAAY;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AA1CD,oCA0CC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json index b79986a1fd..451de1fb7b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.20.0", + "version": "8.21.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/typescript-estree": "8.21.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts index 3c00ec4011..a7848bc101 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts @@ -1624,6 +1624,7 @@ export declare interface TSImportEqualsRequireDeclaration extends TSImportEquals export declare interface TSImportType extends BaseNode { type: AST_NODE_TYPES.TSImportType; argument: TypeNode; + attributes: ImportAttribute[]; qualifier: EntityName | null; typeArguments: TSTypeParameterInstantiation | null; } diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map index 92d884b7f4..472fe95a9a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ast-spec.d.ts","sourceRoot":"","sources":["../../src/generated/ast-spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;gDAQgD;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,CAAC,OAAO,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEvE,MAAM,CAAC,OAAO,MAAM,gBAAgB,GAChC,4BAA4B,GAC5B,+BAA+B,CAAC;AAEpC,MAAM,CAAC,OAAO,WAAW,4BACvB,SAAQ,kCAAkC;IAC1C,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,+BACvB,SAAQ,qCAAqC;IAC7C,IAAI,EAAE,cAAc,CAAC,gBAAgB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CAAC;IAClB;;OAEG;IACH,EAAE,EAAE,WAAW,CAAC;IAChB;;;OAGG;IACH,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,oCACvB,SAAQ,sBAAsB;IAC9B,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,EAAE,EAAE,UAAU,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,2BACvB,SAAQ,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,wBACvB,SAAQ,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,cAAe,SAAQ,QAAQ;IACtD,IAAI,EAAE,cAAc,CAAC,cAAc,CAAC;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,aAAc,SAAQ,QAAQ;IACrD,IAAI,EAAE,cAAc,CAAC,aAAa,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,eAAgB,SAAQ,QAAQ;IACvD,IAAI,EAAE,cAAc,CAAC,eAAe,CAAC;IACrC,QAAQ,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,OAAO,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts index d007fce8ee..462a129521 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts @@ -1,3 +1,2 @@ -type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; -export { Lib }; +export type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; //# sourceMappingURL=lib.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts.map index 51e8fd1347..0285f18c02 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/lib.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,KAAK,GAAG,GACJ,YAAY,GACZ,mBAAmB,GACnB,KAAK,GACL,mBAAmB,GACnB,cAAc,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,QAAQ,GACR,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,KAAK,GACL,YAAY,GACZ,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC;AAEzB,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,GAAG,GACX,YAAY,GACZ,mBAAmB,GACnB,KAAK,GACL,mBAAmB,GACnB,cAAc,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,QAAQ,GACR,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,KAAK,GACL,YAAY,GACZ,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts index bf09742335..cb2f5eb3a0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts @@ -1,15 +1,15 @@ import type { Program } from 'typescript'; import type { Lib } from './lib'; -type DebugLevel = boolean | ('eslint' | 'typescript' | 'typescript-eslint')[]; -type CacheDurationSeconds = number | 'Infinity'; -type EcmaVersion = 'latest' | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | undefined; -type SourceTypeClassic = 'module' | 'script'; -type SourceType = 'commonjs' | SourceTypeClassic; -type JSDocParsingMode = 'all' | 'none' | 'type-info'; +export type DebugLevel = boolean | ('eslint' | 'typescript' | 'typescript-eslint')[]; +export type CacheDurationSeconds = number | 'Infinity'; +export type EcmaVersion = 'latest' | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | undefined; +export type SourceTypeClassic = 'module' | 'script'; +export type SourceType = 'commonjs' | SourceTypeClassic; +export type JSDocParsingMode = 'all' | 'none' | 'type-info'; /** * Granular options to configure the project service. */ -interface ProjectServiceOptions { +export interface ProjectServiceOptions { /** * Globs of files to allow running with the default project compiler options * despite not being matched by the project service. @@ -33,7 +33,7 @@ interface ProjectServiceOptions { */ maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING?: number; } -interface ParserOptions { +export interface ParserOptions { [additionalProperties: string]: unknown; cacheLifetime?: { glob?: CacheDurationSeconds; @@ -65,5 +65,4 @@ interface ParserOptions { tsconfigRootDir?: string; warnOnUnsupportedTypeScriptVersion?: boolean; } -export type { CacheDurationSeconds, DebugLevel, EcmaVersion, JSDocParsingMode, ParserOptions, ProjectServiceOptions, SourceType, }; //# sourceMappingURL=parser-options.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map index ff550366f0..2c9b2b945a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,KAAK,UAAU,GAAG,OAAO,GAAG,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AAC9E,KAAK,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEhD,KAAK,WAAW,GACZ,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,KAAK,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC7C,KAAK,UAAU,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAEjD,KAAK,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,CAAC;AAErD;;GAEG;AACH,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;;;;OAMG;IACH,+DAA+D,CAAC,EAAE,MAAM,CAAC;CAC1E;AAGD,UAAU,aAAa;IACrB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE;QACd,IAAI,C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,qBAAqB,EACrB,UAAU,GACX,CAAC"} \ No newline at end of file +{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;;;;OAMG;IACH,+DAA+D,CAAC,EAAE,MAAM,CAAC;CAC1E;AAGD,MAAM,WAAW,aAAa;IAC5B,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;IAC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ugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts index 56266642bb..6342feaa21 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts @@ -43,7 +43,7 @@ declare module './generated/ast-spec' { parent: TSESTree.ClassDeclaration | TSESTree.ClassExpression; } interface ImportAttribute { - parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration; + parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration | TSESTree.TSImportType; } interface ImportDefaultSpecifier { parent: TSESTree.ImportDeclaration; diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map index 975e02e10b..7c84c962a4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.d.ts","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAGtD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC;KACvB;IAED,UAAU,OAAO;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB;IAED,UAAU,4BAA4B;QACpC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,+BAA+B;QACv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,QAAQ,CAAC,WAAW,GACpB,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,0BAA0B,CAAC;KACzC;IAED,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;IACD,UAAU,uCAAuC;QAC/C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;CACF;AAED,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map index ac9ead2c95..521de1b968 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkOA,iEAAiD"} \ No newline at end of file +{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmOA,iEAAiD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json index 4fe9a03c9c..703d1f50b7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.20.0", + "version": "8.21.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map index 92463b3cb9..e81beb6ca5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EACV,aAAa,EACb,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,EAAE,MAAM,aAAa,CAAC;AAmCtE,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,wBAAwB,GAAG,EAAE,CAAC,sBAAsB,GAC1D,OAAO,CAMT;AAED,MAAM,WAAW,OAAO;IACtB,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,qBAAa,SAAS;;IACpB,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC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,qBAAqB;IAsB7B;;;;;OAKG;IACH,OAAO,CAAC,gDAAgD;IAexD;;;;OAIG;IACH,OAAO,CAAC,kDAAkD;IAmB1D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAgBzB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IA8BjB,OAAO,CAAC,uBAAuB;IAQ/B,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,+BAA+B;IAiDvC;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,sBAAsB;IAoC9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IA69EnB,OAAO,CAAC,UAAU;IAelB,cAAc,IAAI,QAAQ,CAAC,OAAO;IAIlC;;;;OAIG;IACH,OAAO,CAAC,UAAU;IA0FlB;;;OAGG;IACH,OAAO,CAAC,UAAU;IAiFlB,UAAU,IAAI,OAAO;IAOrB;;OAEG;IACH,OAAO,CAAC,uBAAuB;CAYhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js index 97be4cd01a..cf92970632 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js @@ -2236,6 +2236,7 @@ class Converter { type: ts_estree_1.AST_NODE_TYPES.TSImportType, range, argument: this.convertChild(node.argument), + attributes: this.convertImportAttributes(node.attributes), qualifier: this.convertChild(node.qualifier), typeArguments: node.typeArguments ? this.convertTypeArgumentsToTypeParameterInstantiation(node.typeArguments, node) diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map index 2bc40eeac6..2af8e92249 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map @@ -1 +1 @@ -{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,oCAQC;AAjED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAUjC,iDAA6D;AAC7D,6CA2BsB;AACtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACZ,YAAY,GAAG,KAAK,CAAC;IACZ,GAAG,CAAgB;IACnB,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IACtC,OAAO,CAAmB;IAC1B,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IAEvD;;;;;OAKG;IACH,YAAY,GAAkB,EAAE,OAA0B;QACxD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC;IAChC,CAAC;IAED,6BAA6B,CAC3B,WAA8B,EAC9B,IAAiE;QAEjE,MAAM,IAAI,GACR,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC;QAClE,IAAI,EAAE,CAAC,yBAAyB,CAAC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IACJ,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAa,EACb,MAA4B;QAE5B,IACE,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,sBAAsB;YACnC,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAhhHD,8BAghHC"} \ No newline at end of file +{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,oCAQC;AAjED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAUjC,iDAA6D;AAC7D,6CA2BsB;AACtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACZ,YAAY,GAAG,KAAK,CAAC;IACZ,GAAG,CAAgB;IACnB,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IACtC,OAAO,CAAmB;IAC1B,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IAEvD;;;;;OAKG;IACH,YAAY,GAAkB,EAAE,OAA0B;QACxD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC;IAChC,CAAC;IAED,6BAA6B,CAC3B,WAA8B,EAC9B,IAAiE;QAEjE,MAAM,IAAI,GACR,IAAI,KAAK,EA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EACZ,IAAI,CACL,CACF,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,UAAU;QACR,OAAO;YACL,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAa,EACb,MAA4B;QAE5B,IACE,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,sBAAsB;YACnC,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAjhHD,8BAihHC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts index 851c720346..6e3710592e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts @@ -5,9 +5,9 @@ interface DirectoryStructureHost { interface CachedDirectoryStructureHost extends DirectoryStructureHost { readDirectory(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[]; } -interface WatchCompilerHostOfConfigFile extends ts.WatchCompilerHostOfConfigFile { +export interface WatchCompilerHostOfConfigFile extends ts.WatchCompilerHostOfConfigFile { extraFileExtensions?: readonly ts.FileExtensionInfo[]; onCachedDirectoryStructureHostCreate(host: CachedDirectoryStructureHost): void; } -export type { WatchCompilerHostOfConfigFile }; +export {}; //# sourceMappingURL=WatchCompilerHostOfConfigFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map index 4e776d40fd..41de9ea568 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"WatchCompilerHostOfConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/WatchCompilerHostOfConfigFile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,UAAU,sBAAsB;IAC9B,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,aAAa,CACX,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,6BAA6B,CAAC,CAAC,SAAS,EAAE,CAAC,cAAc,CACjE,SAAQ,EAAE,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,SAAS,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACtD,oCAAoC,CAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI,CAAC;CACT;AAED,YAAY,EAAE,6BAA6B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"WatchCompilerHostOfConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/WatchCompilerHostOfConfigFile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,UAAU,sBAAsB;IAC9B,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,aAAa,CACX,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,MAAM,WAAW,6BAA6B,CAAC,CAAC,SAAS,EAAE,CAAC,cAAc,CACxE,SAAQ,EAAE,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,SAAS,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACtD,oCAAoC,CAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI,CAAC;CACT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts index b39194d9f9..425fd1c541 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts @@ -3,6 +3,5 @@ import type { ASTAndDefiniteProgram } from './shared'; /** * @returns Returns a new source file and program corresponding to the linted code */ -declare function createIsolatedProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram; -export { createIsolatedProgram }; +export declare function createIsolatedProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram; //# sourceMappingURL=createIsolatedProgram.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map index 9721538360..a642dd6c4e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map index 65755f2023..9a8d3bc258 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;Q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CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts index 8de2229c28..858038d5d3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts @@ -1,7 +1,6 @@ import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndNoProgram } from './shared'; -declare function createSourceFile(parseSettings: ParseSettings): ts.SourceFile; -declare function createNoProgram(parseSettings: ParseSettings): ASTAndNoProgram; -export { createNoProgram, createSourceFile }; +export declare function createSourceFile(parseSettings: ParseSettings): ts.SourceFile; +export declare function createNoProgram(parseSettings: ParseSettings): ASTAndNoProgram; //# sourceMappingURL=createSourceFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map index 3477afc9b1..781e086708 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoB5E;AAED,wBAAgB,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAK7E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js index 5f85d5fcd6..b377b9b7e0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.createNoProgram = createNoProgram; exports.createSourceFile = createSourceFile; +exports.createNoProgram = createNoProgram; const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map index ec6eceb29f..393e941052 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CS,0CAAe;AAAE,4CAAgB;AA1C1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,4CAoBC;AAED,0CAKC;AAxCD,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAgB,gBAAgB,CAAC,aAA4B;IAC3D,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAgB,eAAe,CAAC,aAA4B;IAC1D,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts index ffccd56071..83e168927d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts @@ -5,6 +5,5 @@ import type * as ts from 'typescript/lib/tsserverlibrary'; * @param configFile the path to the tsconfig.json file, relative to `projectDirectory` * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()` */ -declare function getParsedConfigFile(tsserver: typeof ts, configFile: string, projectDirectory?: string): ts.ParsedCommandLine; -export { getParsedConfigFile }; +export declare function getParsedConfigFile(tsserver: typeof ts, configFile: string, projectDirectory?: string): ts.ParsedCommandLine; //# sourceMappingURL=getParsedConfigFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map index 17d807b732..0b7cb3cfaa 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAO1D;;;;;GAKG;AACH,iBAAS,mBAAmB,CAC1B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CA6CtB;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAO1D;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CA6CtB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map index d1cc099d36..e0b07f77cd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgES,kDAAmB;AA9D5B,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAS,mBAAmB,CAC1B,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,iHAAiH;IACjH,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CACf,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,CAAC,EACrE,OAAO,CACR;QACH,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,kDAiDC;AA5DD,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,iHAAiH;IACjH,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CACf,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,CAAC,EACrE,OAAO,CACR;QACH,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts index e532e6a569..0142b47487 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts @@ -1,5 +1,4 @@ import * as ts from 'typescript'; -declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind; -declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant; -export { getLanguageVariant, getScriptKind }; +export declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind; +export declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant; //# sourceMappingURL=getScriptKind.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map index 4b80634b6d..787037cf04 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8BpE;AAED,iBAAS,kBAAkB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,eAAe,CAYzE;AAED,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8B3E;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,EAAE,CAAC,UAAU,GACxB,EAAE,CAAC,eAAe,CAYpB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js index 7b2c6883d5..998d0a05e2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getLanguageVariant = getLanguageVariant; exports.getScriptKind = getScriptKind; +exports.getLanguageVariant = getLanguageVariant; const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); function getScriptKind(filePath, jsx) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map index 3caf147a85..a4f6e343b0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDS,gDAAkB;AAAE,sCAAa;AAjD1C,0DAA6B;AAC7B,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,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,CAAC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sCA8BC;AAED,gDAcC;AAjDD,0DAA6B;AAC7B,+CAAiC;AAEjC,SAAgB,aAAa,CAAC,QAAgB,EAAE,GAAY;IAC1D,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE;YAClB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAE5B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B;YACE,mGAAmG;YACnG,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;IACtD,CAAC;AACH,CAAC;AAED,SAAgB,kBAAkB,CAChC,UAAyB;IAEzB,8HAA8H;IAC9H,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QACxB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG;YACpB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts index 621d9bd645..f79e898f5b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts @@ -4,12 +4,11 @@ import type { ParseSettings } from '../parseSettings'; * Clear all of the parser caches. * This should only be used in testing to ensure the parser is clean between tests. */ -declare function clearWatchCaches(): void; +export declare function clearWatchCaches(): void; /** * Calculate project environments using options provided by consumer and paths from config * @param parseSettings Internal settings for parsing the file * @returns The programs corresponding to the supplied tsconfig paths */ -declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; -export { clearWatchCaches, getWatchProgramsForProjects }; +export declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; //# sourceMappingURL=getWatchProgramsForProjects.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map index f6f43cff32..a3eae89975 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC;AA4DD;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index 84f1c53502..f079475f57 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8eS,4CAAgB;AAAE,kEAA2B;AA9etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,gFAAgF,CACjF,CAAC;AAEF;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,KAAK,EAAE,CAAC;IACvC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IAC5B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,kCAAkC,CAAC,KAAK,EAAE,CAAC;AAC7C,CAAC;AAED,S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ACd,CAAC;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,4CAOC;AAiED,kEAgHC;AAjPD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,gFAAgF,CACjF,CAAC;AAEF;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,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T,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts index 7ec5bda213..0b7b607beb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts @@ -1,33 +1,32 @@ import type { Program } from 'typescript'; import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; -interface ASTAndNoProgram { +export interface ASTAndNoProgram { ast: ts.SourceFile; program: null; } -interface ASTAndDefiniteProgram { +export interface ASTAndDefiniteProgram { ast: ts.SourceFile; program: ts.Program; } -type ASTAndProgram = ASTAndDefiniteProgram | ASTAndNoProgram; +export type ASTAndProgram = ASTAndDefiniteProgram | ASTAndNoProgram; /** * Compiler options required to avoid critical functionality issues */ -declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions; -declare const DEFAULT_EXTRA_FILE_EXTENSIONS: Set; -declare function createDefaultCompilerOptionsFromExtra(parseSettings: ParseSettings): ts.CompilerOptions; -type CanonicalPath = { +export declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions; +export declare const DEFAULT_EXTRA_FILE_EXTENSIONS: Set; +export declare function createDefaultCompilerOptionsFromExtra(parseSettings: ParseSettings): ts.CompilerOptions; +export type CanonicalPath = { __brand: unknown; } & string; -declare function getCanonicalFileName(filePath: string): CanonicalPath; -declare function ensureAbsolutePath(p: string, tsconfigRootDir: string): string; -declare function canonicalDirname(p: CanonicalPath): CanonicalPath; -declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; +export declare function getCanonicalFileName(filePath: string): CanonicalPath; +export declare function ensureAbsolutePath(p: string, tsconfigRootDir: string): string; +export declare function canonicalDirname(p: CanonicalPath): CanonicalPath; +export declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; /** * Hash content for compare content. * @param content hashed contend * @returns hashed result */ -declare function createHash(content: string): string; -export { type ASTAndDefiniteProgram, type ASTAndNoProgram, type ASTAndProgram, canonicalDirname, type CanonicalPath, CORE_COMPILER_OPTIONS, createDefaultCompilerOptionsFromExtra, createHash, DEFAULT_EXTRA_FILE_EXTENSIONS, ensureAbsolutePath, getAstFromProgram, getCanonicalFileName, }; +export declare function createHash(content: string): string; //# sourceMappingURL=shared.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map index d79943b559..3a695359e7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,UAAU,eAAe;IACvB,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,UAAU,qBAAqB;IAC7B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,KAAK,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAE7D;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQ/B,CAAC;AAYF,QAAA,MAAM,6BAA6B,aASjC,CAAC;AAEH,iBAAS,qCAAqC,CAC5C,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,KAAK,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC;AAUnD,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7D;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAItE;AAED,iBAAS,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEzD;AAmBD,iBAAS,iBAAiB,CACxB,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAO3C;AAED,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,qBAAqB,EACrB,qCAAqC,EACrC,UAAU,EACV,6BAA6B,EAC7B,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,GACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQtC,CAAC;AAYF,eAAO,MAAM,6BAA6B,aASxC,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC;AAU1D,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAMpE;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAI7E;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEhE;AAmBD,wBAAgB,iBAAiB,CAC/B,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAOlD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js index 92c226606c..dbebe863bc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js @@ -37,18 +37,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_EXTRA_FILE_EXTENSIONS = exports.CORE_COMPILER_OPTIONS = void 0; -exports.canonicalDirname = canonicalDirname; exports.createDefaultCompilerOptionsFromExtra = createDefaultCompilerOptionsFromExtra; -exports.createHash = createHash; +exports.getCanonicalFileName = getCanonicalFileName; exports.ensureAbsolutePath = ensureAbsolutePath; +exports.canonicalDirname = canonicalDirname; exports.getAstFromProgram = getAstFromProgram; -exports.getCanonicalFileName = getCanonicalFileName; +exports.createHash = createHash; const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); /** * Compiler options required to avoid critical functionality issues */ -const CORE_COMPILER_OPTIONS = { +exports.CORE_COMPILER_OPTIONS = { noEmit: true, // required to avoid parse from causing emit to occur /** * Flags required to make no-unused-vars work @@ -56,17 +56,16 @@ const CORE_COMPILER_OPTIONS = { noUnusedLocals: true, noUnusedParameters: true, }; -exports.CORE_COMPILER_OPTIONS = CORE_COMPILER_OPTIONS; /** * Default compiler options for program generation */ const DEFAULT_COMPILER_OPTIONS = { - ...CORE_COMPILER_OPTIONS, + ...exports.CORE_COMPILER_OPTIONS, allowJs: true, allowNonTsExtensions: true, checkJs: true, }; -const DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ +exports.DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ ts.Extension.Cjs, ts.Extension.Cts, ts.Extension.Js, @@ -76,7 +75,6 @@ const DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ ts.Extension.Ts, ts.Extension.Tsx, ]); -exports.DEFAULT_EXTRA_FILE_EXTENSIONS = DEFAULT_EXTRA_FILE_EXTENSIONS; function createDefaultCompilerOptionsFromExtra(parseSettings) { if (parseSettings.debugLevel.has('typescript')) { return { diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map index 82e5639b29..a8215979c8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJE,4CAAgB;AAGhB,sFAAqC;AACrC,gCAAU;AAEV,gDAAkB;AAClB,8CAAiB;AACjB,oDAAoB;AAtJtB,0DAA6B;AAC7B,+CAAiC;AAcjC;;GAEG;AACH,MAAM,qBAAqB,GAAuB;IAChD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAsHA,sDAAqB;AApHvB;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,qBAAqB;IACxB,OAAO,EAAE,IAAI;IACb,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,MAAM,6BAA6B,GAAG,IAAI,GAAG,CAAS;IACpD,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;CACjB,CAAC,CAAC;AAoGD,sEAA6B;AAlG/B,SAAS,qCAAqC,CAC5C,aAA4B;IAE5B,IAAI,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/C,OAAO;YACL,GAAG,wBAAwB;YAC3B,mBAAmB,EAAE,IAAI;SAC1B,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B;IAChD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,qBAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CACzC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CACjC,IAAI,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACxB,cAAuB,EACvB,QAAgB;IAEhB,MAAM,GAAG,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEnD,oFAAoF;IACpF,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,sFAWC;AAaD,oDAMC;AAED,gDAIC;AAED,4CAEC;AAmBD,8CAcC;AAOD,gCAOC;AAxID,0DAA6B;AAC7B,+CAAiC;AAcjC;;GAEG;AACU,QAAA,qBAAqB,GAAuB;IACvD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OA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AQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAgB,UAAU,CAAC,OAAe;IACxC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts index 273ca7f5ae..e8eb86ae67 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts @@ -1,13 +1,12 @@ import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndDefiniteProgram } from './shared'; -declare function useProvidedPrograms(programInstances: Iterable, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; +export declare function useProvidedPrograms(programInstances: Iterable, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; /** * Utility offered by parser to help consumers construct their own program instance. * * @param configFile the path to the tsconfig.json file, relative to `projectDirectory` * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()` */ -declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program; -export { createProgramFromConfigFile, useProvidedPrograms }; +export declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program; //# sourceMappingURL=useProvidedPrograms.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index 616e2b3996..99308f06e7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 97f572daf0..9eb9bd746e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.createProgramFromConfigFile = createProgramFromConfigFile; exports.useProvidedPrograms = useProvidedPrograms; +exports.createProgramFromConfigFile = createProgramFromConfigFile; const debug_1 = __importDefault(require("debug")); const path = __importStar(require("node:path")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index 7a4afe6a57..e89f0477ad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsES,kEAA2B;AAAE,kDAAmB;AAtEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE,CACzE,CAAC;AAEF,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,kDAuCC;AAQD,kEAOC;AApED,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE,CACzE,CAAC;AAEF,SAAgB,mBAAmB,CACjC,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAgB,2BAA2B,CACzC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts index eacc856ce0..a2c01042da 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts @@ -1,19 +1,18 @@ import type * as ts from 'typescript'; import type { ParserServices, TSESTreeOptions } from './parser-options'; import type { TSESTree } from './ts-estree'; -declare function clearProgramCache(): void; -declare function clearDefaultProjectMatchedFiles(): void; -type AST = (T['comment'] extends true ? { +export declare function clearProgramCache(): void; +export declare function clearDefaultProjectMatchedFiles(): void; +export type AST = (T['comment'] extends true ? { comments: TSESTree.Comment[]; } : {}) & (T['tokens'] extends true ? { tokens: TSESTree.Token[]; } : {}) & TSESTree.Program; -interface ParseAndGenerateServicesResult { +export interface ParseAndGenerateServicesResult { ast: AST; services: ParserServices; } -declare function parse(code: string, options?: T): AST; -declare function clearParseAndGenerateServicesCalls(): void; -declare function parseAndGenerateServices(code: string | ts.SourceFile, tsestreeOptions: T): ParseAndGenerateServicesResult; -export { type AST, clearDefaultProjectMatchedFiles, clearParseAndGenerateServicesCalls, clearProgramCache, parse, parseAndGenerateServices, type ParseAndGenerateServicesResult, }; +export declare function parse(code: string, options?: T): AST; +export declare function clearParseAndGenerateServicesCalls(): void; +export declare function parseAndGenerateServices(code: string | ts.SourceFile, tsestreeOptions: T): ParseAndGenerateServicesResult; //# sourceMappingURL=parser.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map index 1a972b963e..7e286db134 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,KAAK,EACV,cAAc,EAEd,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA4B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AAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA4B5C,wBAAgB,iBAAiB,IAAI,IAAI,CAExC;AAGD,wBAAgB,+BAA+B,IAAI,IAAI,CAEtD;AA8CD,MAAM,MAAM,GAAG,CAAC,CAAC,SAAS,eAAe,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,IAAI,GACnE;IAAE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAA;CAAE,GAChC,EAAE,CAAC,GACL,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,IAAI,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAA;CAAE,GAAG,EAAE,CAAC,GAC9D,QAAQ,CAAC,OAAO,CAAC;AAGnB,MAAM,WAAW,8BAA8B,CAAC,CAAC,SAAS,eAAe;IACvE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAMD,wBAAgB,KAAK,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,EAC/D,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,CAAC,GACV,GAAG,CAAC,CAAC,CAAC,CAGR;AA4CD,wBAAgB,kCAAkC,IAAI,IAAI,CAEzD;AAED,wBAAgB,wBAAwB,CACtC,CAAC,SAAS,eAAe,GAAG,eAAe,EAE3C,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,eAAe,EAAE,CAAC,GACjB,8BAA8B,CAAC,CAAC,CAAC,CA+GnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js index b0f5638199..847bfef93f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js @@ -3,10 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.clearDefaultProjectMatchedFiles = clearDefaultProjectMatchedFiles; -exports.clearParseAndGenerateServicesCalls = clearParseAndGenerateServicesCalls; exports.clearProgramCache = clearProgramCache; +exports.clearDefaultProjectMatchedFiles = clearDefaultProjectMatchedFiles; exports.parse = parse; +exports.clearParseAndGenerateServicesCalls = clearParseAndGenerateServicesCalls; exports.parseAndGenerateServices = parseAndGenerateServices; const debug_1 = __importDefault(require("debug")); const ast_converter_1 = require("./ast-converter"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map index 30ae23a8a0..85a94f4497 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map @@ -1 +1 @@ -{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;AAwRE,0EAA+B;AAC/B,gFAAkC;AAClC,8CAAiB;AACjB,sBAAK;AACL,4DAAwB;AA1R1B,kDAA0B;AAW1B,mDAA+C;AAC/C,uCAAyC;AACzC,kFAA+E;AAC/E,gFAA6E;AAC7E,wEAG2C;AAC3C,8FAA2F;AAC3F,8EAG8C;AAC9C,iEAA8D;AAC9D,6EAA0E;AAC1E,iFAAkF;AAClF,iFAA8E;AAE9E,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,4CAA4C,CAAC,CAAC;AAEhE;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAA6B,CAAC;AAC9D,SAAS,iBAAiB;IACx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H,IAAI,OAAO,IAAI,aAAa,CAAC,2CAA2C,EAAE,CAAC;QACzE,MAAM,KAAK,GAAG,IAAA,+DAAgC,EAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAC7D,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,IAAA,sBAAY,EAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAED;;OAEG;IACH,OAAO;QACL,GAAG,EAAE,MAAgB;QACrB,QAAQ,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE,OAAO,CAAC;KACjD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts index 0b8b65a3b5..bffa079e65 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts @@ -1,5 +1,5 @@ declare const versions: readonly ["4.7", "4.8", "4.9", "5.0", "5.1", "5.2", "5.3", "5.4"]; type Versions = typeof versions extends ArrayLike ? U : never; -declare const typescriptVersionIsAtLeast: Record; -export { typescriptVersionIsAtLeast }; +export declare const typescriptVersionIsAtLeast: Record; +export {}; //# sourceMappingURL=version-check.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map index 9c6001ebc3..602feb172f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,QAAQ,mEASJ,CAAC;AACX,KAAK,QAAQ,GAAG,OAAO,QAAQ,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAEvE,QAAA,MAAM,0BAA0B,EAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAKnE,OAAO,EAAE,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,QAAQ,mEASJ,CAAC;AACX,KAAK,QAAQ,GAAG,OAAO,QAAQ,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAEvE,eAAO,MAAM,0BAA0B,EAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js index 2e93b9efe5..6c8d1d38eb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js @@ -51,9 +51,8 @@ const versions = [ '5.3', '5.4', ]; -const typescriptVersionIsAtLeast = {}; -exports.typescriptVersionIsAtLeast = typescriptVersionIsAtLeast; +exports.typescriptVersionIsAtLeast = {}; for (const version of versions) { - typescriptVersionIsAtLeast[version] = semverCheck(version); + exports.typescriptVersionIsAtLeast[version] = semverCheck(version); } //# sourceMappingURL=version-check.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map index 9690e042e2..e8ddbb640e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map @@ -1 +1 @@ -{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGX,MAAM,0BAA0B,GAAG,EAA+B,CAAC;AAK1D,gEAA0B;AAJnC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,0BAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file +{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGE,QAAA,0BAA0B,GAAG,EAA+B,CAAC;AAC1E,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,kCAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json index 60bb84efdd..1fe1eb2792 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.20.0", + "version": "8.21.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts index 8cd5456054..3c54b1d173 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts @@ -41,8 +41,8 @@ interface PatternMatcher { * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class} */ -declare const PatternMatcher: new (pattern: RegExp, options?: { +export declare const PatternMatcher: new (pattern: RegExp, options?: { escaped?: boolean; }) => PatternMatcher; -export { PatternMatcher }; +export {}; //# sourceMappingURL=PatternMatcher.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map index 83983aba98..b72788665f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"PatternMatcher.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,CAAC,MAAM,CAAC,OAAO,CAAC,CACd,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GACjD,MAAM,CAAC;IAEV;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAExD;;;;OAIG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;GAKG;AACH,QAAA,MAAM,cAAc,EAAiC,KACnD,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5B,cAAc,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"PatternMatcher.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,CAAC,MAAM,CAAC,OAAO,CAAC,CACd,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GACjD,MAAM,CAAC;IAEV;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAExD;;;;OAIG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAiC,KAC1D,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5B,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js index 0ffeb5e90b..54ece2a244 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js @@ -41,6 +41,5 @@ const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class} */ -const PatternMatcher = eslintUtils.PatternMatcher; -exports.PatternMatcher = PatternMatcher; +exports.PatternMatcher = eslintUtils.PatternMatcher; //# sourceMappingURL=PatternMatcher.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map index 19a3c9037e..9c7f8a430e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map @@ -1 +1 @@ -{"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGhB,CAAC;AAEX,wCAAc"} \ No newline at end of file +{"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACU,QAAA,cAAc,GAAG,WAAW,CAAC,cAGvB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts index 83c7e22827..7046d3c4f1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts @@ -71,6 +71,6 @@ declare namespace ReferenceTracker { * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class} */ -declare const ReferenceTracker: ReferenceTrackerStatic; -export { ReferenceTracker }; +export declare const ReferenceTracker: ReferenceTrackerStatic; +export {}; //# sourceMappingURL=ReferenceTracker.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map index cf7e2a2197..20bac39008 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ReferenceTracker.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAA,MAAM,oBAAoB,EAAE,OAAO,MAA0C,CAAC;AAC9E,QAAA,MAAM,oBAAoB,EAAE,OAAO,MAA0C,CAAC;AAC9E,QAAA,MAAM,yBAAyB,EAAE,OAAO,MACA,CAAC;AACzC,QAAA,MAAM,mBAAmB,EAAE,OAAO,MAAyC,CAAC;AAE5E,UAAU,gBAAgB;IACxB;;;;;OAKG;IACH,oBAAoB,CAAC,CAAC,EACpB,QAAQ,EAAE,gBAA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,CAAC;IAEpD,KAAY,QAAQ,CAAC,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,UAAiB,eAAe,CAAC,CAAC;QAChC,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;QAClC,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC,yBAAyB,CAAC,CAAC,EAAE,CAAC,CAAC;QAChC,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC;QAC7B,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;KAC5B;IAED,UAAiB,cAAc,CAAC,CAAC,GAAG,GAAG;QACrC,IAAI,EAAE,CAAC,CAAC;QACR,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;QACpB,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;QACxB,IAAI,EAAE,aAAa,CAAC;KACrB;CACF;AAED;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,EAAmC,sBAAsB,CAAC;AAEhF,OAAO,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ReferenceTracker.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAA,MAAM,oBAAoB,EAAE,OAAO,MAA0C,CAAC;AAC9E,QAAA,MAAM,oBAAoB,EAAE,OAAO,MAA0C,CAAC;AAC9E,QAAA,MAAM,yBAAyB,EAAE,OAAO,MACA,CAAC;AACzC,QAAA,MAAM,mBAAmB,EAAE,OAAO,MAAyC,CAAC;AAE5E,UAAU,gBAAgB;IACxB;;;;;OAKG;IACH,oBAAoB,CAAC,CAAC,EACpB,QAAQ,EAA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G,IAAI,CAAC;IAEpD,KAAY,QAAQ,CAAC,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,UAAiB,eAAe,CAAC,CAAC;QAChC,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;QAClC,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC,yBAAyB,CAAC,CAAC,EAAE,CAAC,CAAC;QAChC,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC;QAC7B,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;KAC5B;IAED,UAAiB,cAAc,CAAC,CAAC,GAAG,GAAG;QACrC,IAAI,EAAE,CAAC,CAAC;QACR,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;QACpB,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;QACxB,IAAI,EAAE,aAAa,CAAC;KACrB;CACF;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EACK,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js index 11b6675bd0..7c04146bf4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js @@ -45,6 +45,5 @@ const ReferenceTrackerESM = eslintUtils.ReferenceTracker.ESM; * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class} */ -const ReferenceTracker = eslintUtils.ReferenceTracker; -exports.ReferenceTracker = ReferenceTracker; +exports.ReferenceTracker = eslintUtils.ReferenceTracker; //# sourceMappingURL=ReferenceTracker.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map index 1f90c3bddb..cec03dadbe 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map @@ -1 +1 @@ -{"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAiF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"} \ No newline at end of file +{"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAiF5E;;;;GAIG;AACU,QAAA,gBAAgB,GAC3B,WAAW,CAAC,gBAA0C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts index a0c3283694..79bc7275ed 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts @@ -5,13 +5,13 @@ import type { TSESTree } from '../../ts-estree'; * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation} */ -declare const getFunctionHeadLocation: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation; +export declare const getFunctionHeadLocation: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation; /** * Get the name and kind of a given function node. * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind} */ -declare const getFunctionNameWithKind: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode?: TSESLint.SourceCode) => string; +export declare const getFunctionNameWithKind: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode?: TSESLint.SourceCode) => string; /** * Get the property name of a given property node. * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function. @@ -19,7 +19,7 @@ declare const getFunctionNameWithKind: (node: TSESTree.ArrowFunctionExpression | * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname} * @returns The property name of the node. If the property name is not constant then it returns `null`. */ -declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.MethodDefinition | TSESTree.Property | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null; +export declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.MethodDefinition | TSESTree.Property | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null; /** * Get the value of a given node if it can decide the value statically. * If the 2nd parameter `initialScope` was given, this function tries to resolve identifier references which are in the @@ -31,7 +31,7 @@ declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Metho * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the * static value of the node, it returns `null`. */ -declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => { +export declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => { value: unknown; } | null; /** @@ -40,7 +40,7 @@ declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scop * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant} */ -declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null; +export declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null; /** * Check whether a given node has any side effect or not. * The side effect means that it may modify a certain variable or object member. This function considers the node which @@ -64,11 +64,11 @@ declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect} */ -declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: { +export declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: { considerGetters?: boolean; considerImplicitTypeConversion?: boolean; }) => boolean; -declare const isParenthesized: { +export declare const isParenthesized: { (times: number, node: TSESTree.Node, sourceCode: TSESLint.SourceCode): boolean; /** * Check whether a given node is parenthesized or not. @@ -81,5 +81,4 @@ declare const isParenthesized: { */ (node: TSESTree.Node, sourceCode: TSESLint.SourceCode): boolean; }; -export { getFunctionHeadLocation, getFunctionNameWithKind, getPropertyName, getStaticValue, getStringIfConstant, hasSideEffect, isParenthesized, }; //# sourceMappingURL=astUtilities.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map index 7b8120807b..fd71e3b49b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astUtilities.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;GAIG;AACH,QAAA,MAAM,uBAAuB,EAA0C,CACrE,IAAI,EACA,QAAQ,CAAC,uBAAuB,GAChC,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,EAC/B,UAAU,EAAE,QAAQ,CAAC,UAAU,KAC5B,QAAQ,CAAC,cAAc,CAAC;AAE7B;;;;GAIG;AACH,QAAA,MAAM,uBA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AAY,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,KAChC;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,CAAC;AAE/B;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAsC,CACpE,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,YAAY,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,KAChC,MAAM,GAAG,IAAI,CAAC;AAEnB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,aAAa,EAAgC,CACxD,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,UAAU,EAAE,QAAQ,CAAC,UAAU,EAC/B,OAAO,CAAC,EAAE;IACR,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C,KACE,OAAO,CAAC;AAEb,eAAO,MAAM,eAAe,EAAkC;IAC5D,CACE,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,UAAU,EAAE,QAAQ,CAAC,UAAU,GAC9B,OAAO,CAAC;IAEX;;;;;;;;OAQG;IACH,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,OAAO,CAAC;CACjE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js index ed81a599ee..e0e1a35a7e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js @@ -40,15 +40,13 @@ const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation} */ -const getFunctionHeadLocation = eslintUtils.getFunctionHeadLocation; -exports.getFunctionHeadLocation = getFunctionHeadLocation; +exports.getFunctionHeadLocation = eslintUtils.getFunctionHeadLocation; /** * Get the name and kind of a given function node. * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind} */ -const getFunctionNameWithKind = eslintUtils.getFunctionNameWithKind; -exports.getFunctionNameWithKind = getFunctionNameWithKind; +exports.getFunctionNameWithKind = eslintUtils.getFunctionNameWithKind; /** * Get the property name of a given property node. * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function. @@ -56,8 +54,7 @@ exports.getFunctionNameWithKind = getFunctionNameWithKind; * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname} * @returns The property name of the node. If the property name is not constant then it returns `null`. */ -const getPropertyName = eslintUtils.getPropertyName; -exports.getPropertyName = getPropertyName; +exports.getPropertyName = eslintUtils.getPropertyName; /** * Get the value of a given node if it can decide the value statically. * If the 2nd parameter `initialScope` was given, this function tries to resolve identifier references which are in the @@ -69,16 +66,14 @@ exports.getPropertyName = getPropertyName; * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the * static value of the node, it returns `null`. */ -const getStaticValue = eslintUtils.getStaticValue; -exports.getStaticValue = getStaticValue; +exports.getStaticValue = eslintUtils.getStaticValue; /** * Get the string value of a given node. * This function is a tiny wrapper of the getStaticValue function. * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant} */ -const getStringIfConstant = eslintUtils.getStringIfConstant; -exports.getStringIfConstant = getStringIfConstant; +exports.getStringIfConstant = eslintUtils.getStringIfConstant; /** * Check whether a given node has any side effect or not. * The side effect means that it may modify a certain variable or object member. This function considers the node which @@ -102,8 +97,6 @@ exports.getStringIfConstant = getStringIfConstant; * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect} */ -const hasSideEffect = eslintUtils.hasSideEffect; -exports.hasSideEffect = hasSideEffect; -const isParenthesized = eslintUtils.isParenthesized; -exports.isParenthesized = isParenthesized; +exports.hasSideEffect = eslintUtils.hasSideEffect; +exports.isParenthesized = eslintUtils.isParenthesized; //# sourceMappingURL=astUtilities.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map index eb2c0bda2b..08ee3cf0c9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map @@ -1 +1 @@ -{"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA8G3B,0DAAuB;AA5GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAkGV,0DAAuB;AAhGzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAmFjB,0CAAe;AAjFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAoE7B,wCAAc;AAlEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AA0DjB,kDAAmB;AAxDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA2BX,sCAAa;AAzBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAiBnC,CAAC;AASA,0CAAe"} \ No newline at end of file +{"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACU,QAAA,uBAAuB,GAAG,WAAW,CAAC,uBAMvB,CAAC;AAE7B;;;;GAIG;AACU,QAAA,uBAAuB,GAAG,WAAW,CAAC,uBAMxC,CAAC;AAEZ;;;;;;GAMG;AACU,QAAA,eAAe,GAAG,WAAW,CAAC,eAOzB,CAAC;AAEnB;;;;;;;;;;GAUG;AACU,QAAA,cAAc,GAAG,WAAW,CAAC,cAGZ,CAAC;AAE/B;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,WAAW,CAAC,mBAG7B,CAAC;AAEnB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACU,QAAA,aAAa,GAAG,WAAW,CAAC,aAO7B,CAAC;AAEA,QAAA,eAAe,GAAG,WAAW,CAAC,eAiB1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts index 75d1f65d1c..4588769193 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts @@ -6,27 +6,27 @@ type PunctuatorTokenWithValue = { } & TSESTree.PunctuatorToken; type IsPunctuatorTokenWithValueFunction = IsSpecificTokenFunction>; type IsNotPunctuatorTokenWithValueFunction = IsNotSpecificTokenFunction>; -declare const isArrowToken: IsPunctuatorTokenWithValueFunction<"=>">; -declare const isNotArrowToken: IsNotPunctuatorTokenWithValueFunction<"=>">; -declare const isClosingBraceToken: IsPunctuatorTokenWithValueFunction<"}">; -declare const isNotClosingBraceToken: IsNotPunctuatorTokenWithValueFunction<"}">; -declare const isClosingBracketToken: IsPunctuatorTokenWithValueFunction<"]">; -declare const isNotClosingBracketToken: IsNotPunctuatorTokenWithValueFunction<"]">; -declare const isClosingParenToken: IsPunctuatorTokenWithValueFunction<")">; -declare const isNotClosingParenToken: IsNotPunctuatorTokenWithValueFunction<")">; -declare const isColonToken: IsPunctuatorTokenWithValueFunction<":">; -declare const isNotColonToken: IsNotPunctuatorTokenWithValueFunction<":">; -declare const isCommaToken: IsPunctuatorTokenWithValueFunction<",">; -declare const isNotCommaToken: IsNotPunctuatorTokenWithValueFunction<",">; -declare const isCommentToken: IsSpecificTokenFunction; -declare const isNotCommentToken: IsNotSpecificTokenFunction; -declare const isOpeningBraceToken: IsPunctuatorTokenWithValueFunction<"{">; -declare const isNotOpeningBraceToken: IsNotPunctuatorTokenWithValueFunction<"{">; -declare const isOpeningBracketToken: IsPunctuatorTokenWithValueFunction<"[">; -declare const isNotOpeningBracketToken: IsNotPunctuatorTokenWithValueFunction<"[">; -declare const isOpeningParenToken: IsPunctuatorTokenWithValueFunction<"(">; -declare const isNotOpeningParenToken: IsNotPunctuatorTokenWithValueFunction<"(">; -declare const isSemicolonToken: IsPunctuatorTokenWithValueFunction<";">; -declare const isNotSemicolonToken: IsNotPunctuatorTokenWithValueFunction<";">; -export { isArrowToken, isClosingBraceToken, isClosingBracketToken, isClosingParenToken, isColonToken, isCommaToken, isCommentToken, isNotArrowToken, isNotClosingBraceToken, isNotClosingBracketToken, isNotClosingParenToken, isNotColonToken, isNotCommaToken, isNotCommentToken, isNotOpeningBraceToken, isNotOpeningBracketToken, isNotOpeningParenToken, isNotSemicolonToken, isOpeningBraceToken, isOpeningBracketToken, isOpeningParenToken, isSemicolonToken, }; +export declare const isArrowToken: IsPunctuatorTokenWithValueFunction<"=>">; +export declare const isNotArrowToken: IsNotPunctuatorTokenWithValueFunction<"=>">; +export declare const isClosingBraceToken: IsPunctuatorTokenWithValueFunction<"}">; +export declare const isNotClosingBraceToken: IsNotPunctuatorTokenWithValueFunction<"}">; +export declare const isClosingBracketToken: IsPunctuatorTokenWithValueFunction<"]">; +export declare const isNotClosingBracketToken: IsNotPunctuatorTokenWithValueFunction<"]">; +export declare const isClosingParenToken: IsPunctuatorTokenWithValueFunction<")">; +export declare const isNotClosingParenToken: IsNotPunctuatorTokenWithValueFunction<")">; +export declare const isColonToken: IsPunctuatorTokenWithValueFunction<":">; +export declare const isNotColonToken: IsNotPunctuatorTokenWithValueFunction<":">; +export declare const isCommaToken: IsPunctuatorTokenWithValueFunction<",">; +export declare const isNotCommaToken: IsNotPunctuatorTokenWithValueFunction<",">; +export declare const isCommentToken: IsSpecificTokenFunction; +export declare const isNotCommentToken: IsNotSpecificTokenFunction; +export declare const isOpeningBraceToken: IsPunctuatorTokenWithValueFunction<"{">; +export declare const isNotOpeningBraceToken: IsNotPunctuatorTokenWithValueFunction<"{">; +export declare const isOpeningBracketToken: IsPunctuatorTokenWithValueFunction<"[">; +export declare const isNotOpeningBracketToken: IsNotPunctuatorTokenWithValueFunction<"[">; +export declare const isOpeningParenToken: IsPunctuatorTokenWithValueFunction<"(">; +export declare const isNotOpeningParenToken: IsNotPunctuatorTokenWithValueFunction<"(">; +export declare const isSemicolonToken: IsPunctuatorTokenWithValueFunction<";">; +export declare const isNotSemicolonToken: IsNotPunctuatorTokenWithValueFunction<";">; +export {}; //# sourceMappingURL=predicates.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map index 9f55408e44..b02b493331 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,uBAAuB,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,aAAa,CAAC;AAE5B,KAAK,0BAA0B,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACtE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAErD,KAAK,wBAAwB,CAAC,KAAK,SAAS,MAAM,IAAI;IACpD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC,eAAe,CAAC;AAC7B,KAAK,kCAAkC,CAAC,KAAK,SAAS,MAAM,IAC1D,uBAAuB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,KAAK,qCAAqC,CAAC,KAAK,SAAS,MAAM,IAC7D,0BAA0B,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAE9D,QAAA,MAAM,YAAY,EACY,kCAAkC,CAAC,IAAI,CAAC,CAAC;AACvE,QAAA,MAAM,eAAe,EACY,qCAAqC,CAAC,IAAI,CAAC,CAAC;AAE7E,QAAA,MAAM,mBAAmB,EACY,kCAAkC,CAAC,GAAG,CAAC,CAAC;AAC7E,QAAA,MAAM,sBAAsB,EACY,qCAAqC,CAAC,GAAG,CAAC,CAAC;AAEnF,QAAA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B,EACnB,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,GACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,uBAAuB,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,aAAa,CAAC;AAE5B,KAAK,0BAA0B,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACtE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAErD,KAAK,wBAAwB,CAAC,KAAK,SAAS,MAAM,IAAI;IACpD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC,eAAe,CAAC;AAC7B,KAAK,kCAAkC,CAAC,KAAK,SAAS,MAAM,IAC1D,uBAAuB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,KAAK,qCAAqC,CAAC,KAAK,SAAS,MAAM,IAC7D,0BAA0B,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,EACK,kCAAkC,CAAC,IAAI,CAAC,CAAC;AACvE,eAAO,MAAM,eAAe,EACK,qCAAqC,CAAC,IAAI,CAAC,CAAC;AAE7E,eAAO,MAAM,mBAAmB,EACK,kCAAkC,CAAC,GAAG,CAAC,CAA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G,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js index 43592b3b00..beeb2cae87 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js @@ -33,50 +33,28 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.isSemicolonToken = exports.isOpeningParenToken = exports.isOpeningBracketToken = exports.isOpeningBraceToken = exports.isNotSemicolonToken = exports.isNotOpeningParenToken = exports.isNotOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isNotCommentToken = exports.isNotCommaToken = exports.isNotColonToken = exports.isNotClosingParenToken = exports.isNotClosingBracketToken = exports.isNotClosingBraceToken = exports.isNotArrowToken = exports.isCommentToken = exports.isCommaToken = exports.isColonToken = exports.isClosingParenToken = exports.isClosingBracketToken = exports.isClosingBraceToken = exports.isArrowToken = void 0; +exports.isNotSemicolonToken = exports.isSemicolonToken = exports.isNotOpeningParenToken = exports.isOpeningParenToken = exports.isNotOpeningBracketToken = exports.isOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isOpeningBraceToken = exports.isNotCommentToken = exports.isCommentToken = exports.isNotCommaToken = exports.isCommaToken = exports.isNotColonToken = exports.isColonToken = exports.isNotClosingParenToken = exports.isClosingParenToken = exports.isNotClosingBracketToken = exports.isClosingBracketToken = exports.isNotClosingBraceToken = exports.isClosingBraceToken = exports.isNotArrowToken = exports.isArrowToken = void 0; const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); -const isArrowToken = eslintUtils.isArrowToken; -exports.isArrowToken = isArrowToken; -const isNotArrowToken = eslintUtils.isNotArrowToken; -exports.isNotArrowToken = isNotArrowToken; -const isClosingBraceToken = eslintUtils.isClosingBraceToken; -exports.isClosingBraceToken = isClosingBraceToken; -const isNotClosingBraceToken = eslintUtils.isNotClosingBraceToken; -exports.isNotClosingBraceToken = isNotClosingBraceToken; -const isClosingBracketToken = eslintUtils.isClosingBracketToken; -exports.isClosingBracketToken = isClosingBracketToken; -const isNotClosingBracketToken = eslintUtils.isNotClosingBracketToken; -exports.isNotClosingBracketToken = isNotClosingBracketToken; -const isClosingParenToken = eslintUtils.isClosingParenToken; -exports.isClosingParenToken = isClosingParenToken; -const isNotClosingParenToken = eslintUtils.isNotClosingParenToken; -exports.isNotClosingParenToken = isNotClosingParenToken; -const isColonToken = eslintUtils.isColonToken; -exports.isColonToken = isColonToken; -const isNotColonToken = eslintUtils.isNotColonToken; -exports.isNotColonToken = isNotColonToken; -const isCommaToken = eslintUtils.isCommaToken; -exports.isCommaToken = isCommaToken; -const isNotCommaToken = eslintUtils.isNotCommaToken; -exports.isNotCommaToken = isNotCommaToken; -const isCommentToken = eslintUtils.isCommentToken; -exports.isCommentToken = isCommentToken; -const isNotCommentToken = eslintUtils.isNotCommentToken; -exports.isNotCommentToken = isNotCommentToken; -const isOpeningBraceToken = eslintUtils.isOpeningBraceToken; -exports.isOpeningBraceToken = isOpeningBraceToken; -const isNotOpeningBraceToken = eslintUtils.isNotOpeningBraceToken; -exports.isNotOpeningBraceToken = isNotOpeningBraceToken; -const isOpeningBracketToken = eslintUtils.isOpeningBracketToken; -exports.isOpeningBracketToken = isOpeningBracketToken; -const isNotOpeningBracketToken = eslintUtils.isNotOpeningBracketToken; -exports.isNotOpeningBracketToken = isNotOpeningBracketToken; -const isOpeningParenToken = eslintUtils.isOpeningParenToken; -exports.isOpeningParenToken = isOpeningParenToken; -const isNotOpeningParenToken = eslintUtils.isNotOpeningParenToken; -exports.isNotOpeningParenToken = isNotOpeningParenToken; -const isSemicolonToken = eslintUtils.isSemicolonToken; -exports.isSemicolonToken = isSemicolonToken; -const isNotSemicolonToken = eslintUtils.isNotSemicolonToken; -exports.isNotSemicolonToken = isNotSemicolonToken; +exports.isArrowToken = eslintUtils.isArrowToken; +exports.isNotArrowToken = eslintUtils.isNotArrowToken; +exports.isClosingBraceToken = eslintUtils.isClosingBraceToken; +exports.isNotClosingBraceToken = eslintUtils.isNotClosingBraceToken; +exports.isClosingBracketToken = eslintUtils.isClosingBracketToken; +exports.isNotClosingBracketToken = eslintUtils.isNotClosingBracketToken; +exports.isClosingParenToken = eslintUtils.isClosingParenToken; +exports.isNotClosingParenToken = eslintUtils.isNotClosingParenToken; +exports.isColonToken = eslintUtils.isColonToken; +exports.isNotColonToken = eslintUtils.isNotColonToken; +exports.isCommaToken = eslintUtils.isCommaToken; +exports.isNotCommaToken = eslintUtils.isNotCommaToken; +exports.isCommentToken = eslintUtils.isCommentToken; +exports.isNotCommentToken = eslintUtils.isNotCommentToken; +exports.isOpeningBraceToken = eslintUtils.isOpeningBraceToken; +exports.isNotOpeningBraceToken = eslintUtils.isNotOpeningBraceToken; +exports.isOpeningBracketToken = eslintUtils.isOpeningBracketToken; +exports.isNotOpeningBracketToken = eslintUtils.isNotOpeningBracketToken; +exports.isOpeningParenToken = eslintUtils.isOpeningParenToken; +exports.isNotOpeningParenToken = eslintUtils.isNotOpeningParenToken; +exports.isSemicolonToken = eslintUtils.isSemicolonToken; +exports.isNotSemicolonToken = eslintUtils.isNotSemicolonToken; //# sourceMappingURL=predicates.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map index 2bdead692a..fe26fb6689 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map @@ -1 +1 @@ -{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAoB9D,MAAM,YAAY,GAChB,WAAW,CAAC,YAAwD,CAAC;AAuDrE,oCAAY;AAtDd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA8D,CAAC;AA4D3E,0CAAe;AA1DjB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAmD3E,kDAAmB;AAlDrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwDjF,wDAAsB;AAtDxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AA+C7E,sDAAqB;AA9CvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AAoDnF,4DAAwB;AAlD1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA2C3E,kDAAmB;AA1CrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgDjF,wDAAsB;AA9CxB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAuCpE,oCAAY;AAtCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AA4C1E,0CAAe;AA1CjB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAmCpE,oCAAY;AAlCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AAwC1E,0CAAe;AAtCjB,MAAM,cAAc,GAClB,WAAW,CAAC,cAA2D,CAAC;AA+BxE,wCAAc;AA9BhB,MAAM,iBAAiB,GACrB,WAAW,CAAC,iBAAiE,CAAC;AAoC9E,8CAAiB;AAlCnB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAsC3E,kDAAmB;AArCrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgCjF,wDAAsB;AA9BxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AAkC7E,sDAAqB;AAjCvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AA4BnF,4DAAwB;AA1B1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA8B3E,kDAAmB;AA7BrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwBjF,wDAAsB;AAtBxB,MAAM,gBAAgB,GACpB,WAAW,CAAC,gBAA2D,CAAC;AA0BxE,4CAAgB;AAzBlB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAAiE,CAAC;AAoB9E,kDAAmB"} \ No newline at end of file +{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAoBjD,QAAA,YAAY,GACvB,WAAW,CAAC,YAAwD,CAAC;AAC1D,QAAA,eAAe,GAC1B,WAAW,CAAC,eAA8D,CAAC;AAEhE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,qBAAqB,GAChC,WAAW,CAAC,qBAAgE,CAAC;AAClE,QAAA,wBAAwB,GACnC,WAAW,CAAC,wBAAsE,CAAC;AAExE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,YAAY,GACvB,WAAW,CAAC,YAAuD,CAAC;AACzD,QAAA,eAAe,GAC1B,WAAW,CAAC,eAA6D,CAAC;AAE/D,QAAA,YAAY,GACvB,WAAW,CAAC,YAAuD,CAAC;AACzD,QAAA,eAAe,GAC1B,WAAW,CAAC,eAA6D,CAAC;AAE/D,QAAA,cAAc,GACzB,WAAW,CAAC,cAA2D,CAAC;AAC7D,QAAA,iBAAiB,GAC5B,WAAW,CAAC,iBAAiE,CAAC;AAEnE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,qBAAqB,GAChC,WAAW,CAAC,qBAAgE,CAAC;AAClE,QAAA,wBAAwB,GACnC,WAAW,CAAC,wBAAsE,CAAC;AAExE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,gBAAgB,GAC3B,WAAW,CAAC,gBAA2D,CAAC;AAC7D,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAAiE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts index 480e9b5a62..60855acdd6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts @@ -5,7 +5,7 @@ import type { TSESTree } from '../../ts-estree'; * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable} */ -declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: string | TSESTree.Identifier) => TSESLint.Scope.Variable | null; +export declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: string | TSESTree.Identifier) => TSESLint.Scope.Variable | null; /** * Get the innermost scope which contains a given node. * @@ -13,6 +13,5 @@ declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: str * @returns The innermost scope which contains the given node. * If such scope doesn't exist then it returns the 1st argument `initialScope`. */ -declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope; -export { findVariable, getInnermostScope }; +export declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope; //# sourceMappingURL=scopeAnalysis.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map index 04d9ddd9e7..40acf04624 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"scopeAnalysis.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;GAIG;AACH,QAAA,MAAM,YAAY,EAA+B,CAC/C,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,KACrC,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;AAEpC;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB,EAAoC,CACzD,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAChB,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"scopeAnalysis.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAA+B,CACtD,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,KACrC,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAoC,CAChE,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAChB,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js index a57ab9241a..80f648972c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js @@ -40,8 +40,7 @@ const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable} */ -const findVariable = eslintUtils.findVariable; -exports.findVariable = findVariable; +exports.findVariable = eslintUtils.findVariable; /** * Get the innermost scope which contains a given node. * @@ -49,6 +48,5 @@ exports.findVariable = findVariable; * @returns The innermost scope which contains the given node. * If such scope doesn't exist then it returns the 1st argument `initialScope`. */ -const getInnermostScope = eslintUtils.getInnermostScope; -exports.getInnermostScope = getInnermostScope; +exports.getInnermostScope = eslintUtils.getInnermostScope; //# sourceMappingURL=scopeAnalysis.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map index 5f92dc9416..eed398eabd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map @@ -1 +1 @@ -{"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,YAAY,GAAG,WAAW,CAAC,YAGE,CAAC;AAc3B,oCAAY;AAZrB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAGb,CAAC;AAEH,8CAAiB"} \ No newline at end of file +{"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACU,QAAA,YAAY,GAAG,WAAW,CAAC,YAGL,CAAC;AAEpC;;;;;;GAMG;AACU,QAAA,iBAAiB,GAAG,WAAW,CAAC,iBAGpB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts index cbbd04bc57..336eda6171 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts @@ -1,8 +1,7 @@ import type { TSESTree } from '../ts-estree'; -declare const LINEBREAK_MATCHER: RegExp; +export declare const LINEBREAK_MATCHER: RegExp; /** * Determines whether two adjacent tokens are on the same line */ -declare function isTokenOnSameLine(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean; -export { isTokenOnSameLine, LINEBREAK_MATCHER }; +export declare function isTokenOnSameLine(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean; //# sourceMappingURL=misc.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map index 071c0afe74..ffd34d5c58 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,iBAAiB,QAA4B,CAAC;AAEpD;;GAEG;AACH,iBAAS,iBAAiB,CACxB,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACpC,OAAO,CAET;AAED,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,eAAO,MAAM,iBAAiB,QAA4B,CAAC;AAE3D;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACpC,OAAO,CAET"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js index 7aa82e80c5..a9e248bf12 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js @@ -2,8 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.LINEBREAK_MATCHER = void 0; exports.isTokenOnSameLine = isTokenOnSameLine; -const LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/; -exports.LINEBREAK_MATCHER = LINEBREAK_MATCHER; +exports.LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/; /** * Determines whether two adjacent tokens are on the same line */ diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map index bf4b06fcd6..5734574c55 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map @@ -1 +1 @@ -{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":";;;AAcS,8CAAiB;AAZ1B,MAAM,iBAAiB,GAAG,yBAAyB,CAAC;AAYxB,8CAAiB;AAV7C;;GAEG;AACH,SAAS,iBAAiB,CACxB,IAAoC,EACpC,KAAqC;IAErC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,KAAK,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;AACpD,CAAC"} \ No newline at end of file +{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":";;;AAOA,8CAKC;AAVY,QAAA,iBAAiB,GAAG,yBAAyB,CAAC;AAE3D;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,IAAoC,EACpC,KAAqC;IAErC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,KAAK,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;AACpD,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts index 39b496ae50..d69e752980 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts @@ -1,22 +1,22 @@ import type { TSESTree } from '../ts-estree'; -declare const isOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is { +export declare const isOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is { value: "?."; } & TSESTree.PunctuatorToken; -declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; -declare const isNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is { +export declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; +export declare const isNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is { value: "!"; } & TSESTree.PunctuatorToken; -declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; +export declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; /** * Returns true if and only if the node represents: foo?.() or foo.bar?.() */ -declare const isOptionalCallExpression: (node: TSESTree.Node | null | undefined) => node is { +export declare const isOptionalCallExpression: (node: TSESTree.Node | null | undefined) => node is { optional: boolean; } & TSESTree.CallExpression; /** * Returns true if and only if the node represents logical OR */ -declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => node is Partial & TSESTree.LogicalExpression; +export declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => node is Partial & TSESTree.LogicalExpression; /** * Checks if a node is a type assertion: * ``` @@ -24,47 +24,46 @@ declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => n * x * ``` */ -declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSAsExpression | TSESTree.TSTypeAssertion; -declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.VariableDeclaratorDefiniteAssignment | TSESTree.VariableDeclaratorMaybeInit | TSESTree.VariableDeclaratorNoInit | TSESTree.UsingInForOfDeclarator | TSESTree.UsingInNormalContextDeclarator; -declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression; -declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; -declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; -declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSFunctionType; -declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSConstructorType; -declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.FunctionExpression | TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName | TSESTree.PropertyDefinitionComputedName | TSESTree.PropertyDefinitionNonComputedName | TSESTree.TSAbstractMethodDefinitionComputedName | TSESTree.TSAbstractMethodDefinitionNonComputedName | TSESTree.TSAbstractPropertyDefinitionComputedName | TSESTree.TSAbstractPropertyDefinitionNonComputedName | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSIndexSignature | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName | TSESTree.TSPropertySignatureComputedName | TSESTree.TSPropertySignatureNonComputedName; +export declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSAsExpression | TSESTree.TSTypeAssertion; +export declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.VariableDeclaratorDefiniteAssignment | TSESTree.VariableDeclaratorMaybeInit | TSESTree.VariableDeclaratorNoInit | TSESTree.UsingInForOfDeclarator | TSESTree.UsingInNormalContextDeclarator; +export declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression; +export declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; +export declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; +export declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSFunctionType; +export declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSConstructorType; +export declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.FunctionExpression | TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName | TSESTree.PropertyDefinitionComputedName | TSESTree.PropertyDefinitionNonComputedName | TSESTree.TSAbstractMethodDefinitionComputedName | TSESTree.TSAbstractMethodDefinitionNonComputedName | TSESTree.TSAbstractPropertyDefinitionComputedName | TSESTree.TSAbstractPropertyDefinitionNonComputedName | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSIndexSignature | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName | TSESTree.TSPropertySignatureComputedName | TSESTree.TSPropertySignatureNonComputedName; /** * Checks if a node is a constructor method. */ -declare const isConstructor: (node: TSESTree.Node | null | undefined) => node is Partial & (TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName); +export declare const isConstructor: (node: TSESTree.Node | null | undefined) => node is Partial & (TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName); /** * Checks if a node is a setter method. */ -declare function isSetter(node: TSESTree.Node | undefined): node is { +export declare function isSetter(node: TSESTree.Node | undefined): node is { kind: 'set'; } & (TSESTree.MethodDefinition | TSESTree.Property); -declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Identifier; +export declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Identifier; /** * Checks if a node represents an `await …` expression. */ -declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.AwaitExpression; +export declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.AwaitExpression; /** * Checks if a possible token is the `await` keyword. */ -declare const isAwaitKeyword: (token: TSESTree.Token | null | undefined) => token is { +export declare const isAwaitKeyword: (token: TSESTree.Token | null | undefined) => token is { value: "await"; } & TSESTree.IdentifierToken; /** * Checks if a possible token is the `type` keyword. */ -declare const isTypeKeyword: (token: TSESTree.Token | null | undefined) => token is { +export declare const isTypeKeyword: (token: TSESTree.Token | null | undefined) => token is { value: "type"; } & TSESTree.IdentifierToken; /** * Checks if a possible token is the `import` keyword. */ -declare const isImportKeyword: (token: TSESTree.Token | null | undefined) => token is { +export declare const isImportKeyword: (token: TSESTree.Token | null | undefined) => token is { value: "import"; } & TSESTree.KeywordToken; -declare const isLoop: (node: TSESTree.Node | null | undefined) => node is TSESTree.DoWhileStatement | TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement | TSESTree.WhileStatement; -export { isAwaitExpression, isAwaitKeyword, isClassOrTypeElement, isConstructor, isFunction, isFunctionOrFunctionType, isFunctionType, isIdentifier, isImportKeyword, isLogicalOrOperator, isLoop, isNonNullAssertionPunctuator, isNotNonNullAssertionPunctuator, isNotOptionalChainPunctuator, isOptionalCallExpression, isOptionalChainPunctuator, isSetter, isTSConstructorType, isTSFunctionType, isTypeAssertion, isTypeKeyword, isVariableDeclarator, }; +export declare const isLoop: (node: TSESTree.Node | null | undefined) => node is TSESTree.DoWhileStatement | TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement | TSESTree.WhileStatement; //# sourceMappingURL=predicates.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map index c48d01b901..04cd39cdf7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../src/ast-utils/predicates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAW7C,QAAA,MAAM,yBAAyB,UA6DvB,SAAU,KAAK;;4BA1DtB,CAAC;AAEF,QAAA,MAAM,4BAA4B,UA6EJ,SAC3B,KAAK,wWA3EP,CAAC;AAEF,QAAA,MAAM,4BAA4B,UAmD1B,SAAU,KAAK;;4BAhDtB,CAAC;AAEF,QAAA,MAAM,+BAA+B,UAmEP,SAC3B,KAAK,wWAjEP,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,wBAAwB,SAGpB,SAAS,IAAI;;2BAEtB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB,SAPf,SAAS,IAAI,gGAUtB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,SAlCN,SAAU,IAAI,kFAqClB,CAAC;AAEZ,QAAA,MAAM,oBAAoB,SAjDT,SAAU,IAC1B,oOAgD2E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AM,aAAa,SA9EM,SAAU,IAAI,8MAiF7C,CAAC;AAEF;;GAEG;AACH,wBAAgB,QAAQ,CACtB,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,SAAS,GAC9B,IAAI,IAAI;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,GAAG,CAAC,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAO3E;AAED,eAAO,MAAM,YAAY,SAzHf,SAAU,IAAI,mDAyH2C,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,iBAAiB,SA9HpB,SAAU,IAAI,wDA8HqD,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,cAAc,UAvEd,SAAW,KACxB;;4BAyEC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,UA/Eb,SAAW,KACxB;;4BAiFC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,UAvFf,SAAW,KACxB;;yBAyFC,CAAC;AAEF,eAAO,MAAM,MAAM,SA/IgD,SAC/D,IAAI,+JAoJG,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js index e8e30bf642..5cefcba17d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js @@ -1,30 +1,24 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.isVariableDeclarator = exports.isTypeKeyword = exports.isTypeAssertion = exports.isTSFunctionType = exports.isTSConstructorType = exports.isOptionalChainPunctuator = exports.isOptionalCallExpression = exports.isNotOptionalChainPunctuator = exports.isNotNonNullAssertionPunctuator = exports.isNonNullAssertionPunctuator = exports.isLoop = exports.isLogicalOrOperator = exports.isImportKeyword = exports.isIdentifier = exports.isFunctionType = exports.isFunctionOrFunctionType = exports.isFunction = exports.isConstructor = exports.isClassOrTypeElement = exports.isAwaitKeyword = exports.isAwaitExpression = void 0; +exports.isLoop = exports.isImportKeyword = exports.isTypeKeyword = exports.isAwaitKeyword = exports.isAwaitExpression = exports.isIdentifier = exports.isConstructor = exports.isClassOrTypeElement = exports.isTSConstructorType = exports.isTSFunctionType = exports.isFunctionOrFunctionType = exports.isFunctionType = exports.isFunction = exports.isVariableDeclarator = exports.isTypeAssertion = exports.isLogicalOrOperator = exports.isOptionalCallExpression = exports.isNotNonNullAssertionPunctuator = exports.isNonNullAssertionPunctuator = exports.isNotOptionalChainPunctuator = exports.isOptionalChainPunctuator = void 0; exports.isSetter = isSetter; const ts_estree_1 = require("../ts-estree"); const helpers_1 = require("./helpers"); -const isOptionalChainPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); -exports.isOptionalChainPunctuator = isOptionalChainPunctuator; -const isNotOptionalChainPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); -exports.isNotOptionalChainPunctuator = isNotOptionalChainPunctuator; -const isNonNullAssertionPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); -exports.isNonNullAssertionPunctuator = isNonNullAssertionPunctuator; -const isNotNonNullAssertionPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); -exports.isNotNonNullAssertionPunctuator = isNotNonNullAssertionPunctuator; +exports.isOptionalChainPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); +exports.isNotOptionalChainPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); +exports.isNonNullAssertionPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); +exports.isNotNonNullAssertionPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); /** * Returns true if and only if the node represents: foo?.() or foo.bar?.() */ -const isOptionalCallExpression = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.CallExpression, +exports.isOptionalCallExpression = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.CallExpression, // this flag means the call expression itself is option // i.e. it is foo.bar?.() and not foo?.bar() { optional: true }); -exports.isOptionalCallExpression = isOptionalCallExpression; /** * Returns true if and only if the node represents logical OR */ -const isLogicalOrOperator = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.LogicalExpression, { operator: '||' }); -exports.isLogicalOrOperator = isLogicalOrOperator; +exports.isLogicalOrOperator = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.LogicalExpression, { operator: '||' }); /** * Checks if a node is a type assertion: * ``` @@ -32,20 +26,17 @@ exports.isLogicalOrOperator = isLogicalOrOperator; * x * ``` */ -const isTypeAssertion = (0, helpers_1.isNodeOfTypes)([ +exports.isTypeAssertion = (0, helpers_1.isNodeOfTypes)([ ts_estree_1.AST_NODE_TYPES.TSAsExpression, ts_estree_1.AST_NODE_TYPES.TSTypeAssertion, ]); -exports.isTypeAssertion = isTypeAssertion; -const isVariableDeclarator = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.VariableDeclarator); -exports.isVariableDeclarator = isVariableDeclarator; +exports.isVariableDeclarator = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.VariableDeclarator); const functionTypes = [ ts_estree_1.AST_NODE_TYPES.ArrowFunctionExpression, ts_estree_1.AST_NODE_TYPES.FunctionDeclaration, ts_estree_1.AST_NODE_TYPES.FunctionExpression, ]; -const isFunction = (0, helpers_1.isNodeOfTypes)(functionTypes); -exports.isFunction = isFunction; +exports.isFunction = (0, helpers_1.isNodeOfTypes)(functionTypes); const functionTypeTypes = [ ts_estree_1.AST_NODE_TYPES.TSCallSignatureDeclaration, ts_estree_1.AST_NODE_TYPES.TSConstructorType, @@ -55,18 +46,14 @@ const functionTypeTypes = [ ts_estree_1.AST_NODE_TYPES.TSFunctionType, ts_estree_1.AST_NODE_TYPES.TSMethodSignature, ]; -const isFunctionType = (0, helpers_1.isNodeOfTypes)(functionTypeTypes); -exports.isFunctionType = isFunctionType; -const isFunctionOrFunctionType = (0, helpers_1.isNodeOfTypes)([ +exports.isFunctionType = (0, helpers_1.isNodeOfTypes)(functionTypeTypes); +exports.isFunctionOrFunctionType = (0, helpers_1.isNodeOfTypes)([ ...functionTypes, ...functionTypeTypes, ]); -exports.isFunctionOrFunctionType = isFunctionOrFunctionType; -const isTSFunctionType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSFunctionType); -exports.isTSFunctionType = isTSFunctionType; -const isTSConstructorType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSConstructorType); -exports.isTSConstructorType = isTSConstructorType; -const isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([ +exports.isTSFunctionType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSFunctionType); +exports.isTSConstructorType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSConstructorType); +exports.isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([ // ClassElement ts_estree_1.AST_NODE_TYPES.PropertyDefinition, ts_estree_1.AST_NODE_TYPES.FunctionExpression, @@ -82,12 +69,10 @@ const isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([ ts_estree_1.AST_NODE_TYPES.TSMethodSignature, ts_estree_1.AST_NODE_TYPES.TSPropertySignature, ]); -exports.isClassOrTypeElement = isClassOrTypeElement; /** * Checks if a node is a constructor method. */ -const isConstructor = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.MethodDefinition, { kind: 'constructor' }); -exports.isConstructor = isConstructor; +exports.isConstructor = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.MethodDefinition, { kind: 'constructor' }); /** * Checks if a node is a setter method. */ @@ -97,40 +82,28 @@ function isSetter(node) { node.type === ts_estree_1.AST_NODE_TYPES.Property) && node.kind === 'set'); } -const isIdentifier = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.Identifier); -exports.isIdentifier = isIdentifier; +exports.isIdentifier = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.Identifier); /** * Checks if a node represents an `await …` expression. */ -const isAwaitExpression = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.AwaitExpression); -exports.isAwaitExpression = isAwaitExpression; +exports.isAwaitExpression = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.AwaitExpression); /** * Checks if a possible token is the `await` keyword. */ -const isAwaitKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { - value: 'await', -}); -exports.isAwaitKeyword = isAwaitKeyword; +exports.isAwaitKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: 'await' }); /** * Checks if a possible token is the `type` keyword. */ -const isTypeKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { - value: 'type', -}); -exports.isTypeKeyword = isTypeKeyword; +exports.isTypeKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: 'type' }); /** * Checks if a possible token is the `import` keyword. */ -const isImportKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Keyword, { - value: 'import', -}); -exports.isImportKeyword = isImportKeyword; -const isLoop = (0, helpers_1.isNodeOfTypes)([ +exports.isImportKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Keyword, { value: 'import' }); +exports.isLoop = (0, helpers_1.isNodeOfTypes)([ ts_estree_1.AST_NODE_TYPES.DoWhileStatement, ts_estree_1.AST_NODE_TYPES.ForStatement, ts_estree_1.AST_NODE_TYPES.ForInStatement, ts_estree_1.AST_NODE_TYPES.ForOfStatement, ts_estree_1.AST_NODE_TYPES.WhileStatement, ]); -exports.isLoop = isLoop; //# sourceMappingURL=predicates.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map index b1ef273875..8ff0e7c26f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map @@ -1 +1 @@ -{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../src/ast-utils/predicates.ts"],"names":[],"mappings":";;;AAsLE,4BAAQ;AApLV,4CAA+D;AAC/D,uCAMmB;AAEnB,MAAM,yBAAyB,GAAG,IAAA,qCAA2B,EAC3D,2BAAe,CAAC,UAAU,EAC1B,EAAE,KAAK,EAAE,IAAI,EAAE,CAChB,CAAC;AAuKA,8DAAyB;AArK3B,MAAM,4BAA4B,GAAG,IAAA,wCAA8B,EACjE,2BAAe,CAAC,UAAU,EAC1B,EAAE,KAAK,EAAE,IAAI,EAAE,CAChB,CAAC;AAgKA,oEAA4B;AA9J9B,MAAM,4BAA4B,GAAG,IAAA,qCAA2B,EAC9D,2BAA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,OAAO,EAAE,CACnB,CAAC;AAEF;;GAEG;AACU,QAAA,aAAa,GAAG,IAAA,qCAA2B,EACtD,2BAAe,CAAC,UAAU,EAC1B,EAAE,KAAK,EAAE,MAAM,EAAE,CAClB,CAAC;AAEF;;GAEG;AACU,QAAA,eAAe,GAAG,IAAA,qCAA2B,EACxD,2BAAe,CAAC,OAAO,EACvB,EAAE,KAAK,EAAE,QAAQ,EAAE,CACpB,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,uBAAa,EAAC;IAClC,0BAAc,CAAC,gBAAgB;IAC/B,0BAAc,CAAC,YAAY;IAC3B,0BAAc,CAAC,cAAc;IAC7B,0BAAc,CAAC,cAAc;IAC7B,0BAAc,CAAC,cAAc;CACrB,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts index b2359038db..b3abc64bdc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts @@ -2,10 +2,9 @@ import type { RuleCreateFunction, RuleModule } from '../ts-eslint'; /** * Uses type inference to fetch the Options type from the given RuleModule */ -type InferOptionsTypeFromRule = T extends RuleModule ? Options : T extends RuleCreateFunction ? Options : unknown; +export type InferOptionsTypeFromRule = T extends RuleModule ? Options : T extends RuleCreateFunction ? Options : unknown; /** * Uses type inference to fetch the MessageIds type from the given RuleModule */ -type InferMessageIdsTypeFromRule = T extends RuleModule ? MessageIds : T extends RuleCreateFunction ? MessageIds : unknown; -export type { InferMessageIdsTypeFromRule, InferOptionsTypeFromRule }; +export type InferMessageIdsTypeFromRule = T extends RuleModule ? MessageIds : T extends RuleCreateFunction ? MessageIds : unknown; //# sourceMappingURL=InferTypesFromRule.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map index ca551e10ec..925db43d7e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"InferTypesFromRule.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/InferTypesFromRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEnE;;GAEG;AACH,KAAK,wBAAwB,CAAC,CAAC,IAC7B,CAAC,SAAS,UAAU,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAClD,OAAO,GACP,CAAC,SAAS,kBAAkB,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAC5D,OAAO,GACP,OAAO,CAAC;AAEhB;;GAEG;AACH,KAAK,2BAA2B,CAAC,CAAC,IAChC,CAAC,SAAS,UAAU,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GACnD,UAAU,GACV,CAAC,SAAS,kBAAkB,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GAC7D,UAAU,GACV,OAAO,CAAC;AAEhB,YAAY,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"InferTypesFromRule.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/InferTypesFromRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,wBAAwB,CAAC,CAAC,IACpC,CAAC,SAAS,UAAU,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAClD,OAAO,GACP,CAAC,SAAS,kBAAkB,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAC5D,OAAO,GACP,OAAO,CAAC;AAEhB;;GAEG;AACH,MAAM,MAAM,2BAA2B,CAAC,CAAC,IACvC,CAAC,SAAS,UAAU,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GACnD,UAAU,GACV,CAAC,SAAS,kBAAkB,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GAC7D,UAAU,GACV,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts index 81b8af4a2d..b0552c610b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts @@ -5,6 +5,5 @@ * @param userOptions the user opts * @returns the options with defaults */ -declare function applyDefault(defaultOptions: Readonly, userOptions: Readonly | null): Default; -export { applyDefault }; +export declare function applyDefault(defaultOptions: Readonly, userOptions: Readonly | null): Default; //# sourceMappingURL=applyDefault.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map index 99ef3ca4ef..eac05699b9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"applyDefault.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,iBAAS,YAAY,CAAC,IAAI,SAAS,SAAS,OAAO,EAAE,EAAE,OAAO,SAAS,IAAI,EACzE,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,EACjC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,GACjC,OAAO,CAwBT;AAMD,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"applyDefault.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,IAAI,SAAS,SAAS,OAAO,EAAE,EAC/B,OAAO,SAAS,IAAI,EAEpB,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,EACjC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,GACjC,OAAO,CAwBT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map index 98ce36cd71..151c8784ef 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map @@ -1 +1 @@ -{"version":3,"file":"applyDefault.js","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":";;AA0CS,oCAAY;AA1CrB,2CAA0D;AAE1D;;;;;;GAMG;AACH,SAAS,YAAY,CACnB,cAAiC,EACjC,WAAkC;IAElC,iBAAiB;IACjB,MAAM,OAAO,GAAG,eAAe,CAAC,cAAc,CAAuB,CAAC;IAEtE,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,8BAA8B;IAC9B,sFAAsF;IACrF,OAAqB,CAAC,OAAO,CAAC,CAAC,GAAY,EAAE,CAAS,EAAE,EAAE;QACzD,oEAAoE;QACpE,IAAI,WAAW,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YAE/B,IAAI,IAAA,4BAAgB,EAAC,OAAO,CAAC,IAAI,IAAA,4BAAgB,EAAC,GAAG,CAAC,EAAE,CAAC;gBACvD,OAAO,CAAC,CAAC,CAAC,GAAG,IAAA,qBAAS,EAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YACvC,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"applyDefault.js","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":";;AASA,oCA8BC;AAvCD,2CAA0D;AAE1D;;;;;;GAMG;AACH,SAAgB,YAAY,CAI1B,cAAiC,EACjC,WAAkC;IAElC,iBAAiB;IACjB,MAAM,OAAO,GAAG,eAAe,CAAC,cAAc,CAAuB,CAAC;IAEtE,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,8BAA8B;IAC9B,sFAAsF;IACrF,OAAqB,CAAC,OAAO,CAAC,CAAC,GAAY,EAAE,CAAS,EAAE,EAAE;QACzD,oEAAoE;QACpE,IAAI,WAAW,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YAE/B,IAAI,IAAA,4BAAgB,EAAC,OAAO,CAAC,IAAI,IAAA,4BAAgB,EAAC,GAAG,CAAC,EAAE,CAAC;gBACvD,OAAO,CAAC,CAAC,CAAC,GAAG,IAAA,qBAAS,EAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YACvC,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts index 66047298a5..d83acf1018 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts @@ -3,7 +3,7 @@ export type ObjectLike = Record; * Check if the variable contains an object strictly rejecting arrays * @returns `true` if obj is an object */ -declare function isObjectNotArray(obj: unknown): obj is ObjectLike; +export declare function isObjectNotArray(obj: unknown): obj is ObjectLike; /** * Pure function - doesn't mutate either parameter! * Merges two objects together deeply, overwriting the properties in first with the properties in second @@ -12,5 +12,4 @@ declare function isObjectNotArray(obj: unknown): obj is ObjectLike; * @returns a new object */ export declare function deepMerge(first?: ObjectLike, second?: ObjectLike): Record; -export { isObjectNotArray }; //# sourceMappingURL=deepMerge.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map index ac7365e2ff..70f6e57b1f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deepMerge.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAExD;;;GAGG;AACH,iBAAS,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,UAAU,CAEzD;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,KAAK,GAAE,UAAe,EACtB,MAAM,GAAE,UAAe,GACtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA4BzB;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"deepMerge.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAExD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,UAAU,CAEhE;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,KAAK,GAAE,UAAe,EACtB,MAAM,GAAE,UAAe,GACtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA4BzB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js index c0dd828104..51a50890c2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.deepMerge = deepMerge; exports.isObjectNotArray = isObjectNotArray; +exports.deepMerge = deepMerge; /** * Check if the variable contains an object strictly rejecting arrays * @returns `true` if obj is an object diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map index 7219972998..9eb3a21037 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map @@ -1 +1 @@ -{"version":3,"file":"deepMerge.js","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":";;AAiBA,8BA+BC;AAEQ,4CAAgB;AAhDzB;;;GAGG;AACH,SAAS,gBAAgB,CAAC,GAAY;IACpC,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACvE,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,SAAS,CACvB,QAAoB,EAAE,EACtB,SAAqB,EAAE;IAEvB,iDAAiD;IACjD,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAEtE,OAAO,MAAM,CAAC,WAAW,CACvB,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QAClB,MAAM,WAAW,GAAG,GAAG,IAAI,KAAK,CAAC;QACjC,MAAM,YAAY,GAAG,GAAG,IAAI,MAAM,CAAC;QACnC,MAAM,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAEhC,IAAI,KAAK,CAAC;QACV,IAAI,WAAW,IAAI,YAAY,EAAE,CAAC;YAChC,IAAI,gBAAgB,CAAC,UAAU,CAAC,IAAI,gBAAgB,CAAC,WAAW,CAAC,EAAE,CAAC;gBAClE,cAAc;gBACd,KAAK,GAAG,SAAS,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;YAC7C,CAAC;iBAAM,CAAC;gBACN,aAAa;gBACb,KAAK,GAAG,WAAW,CAAC;YACtB,CAAC;QACH,CAAC;aAAM,IAAI,WAAW,EAAE,CAAC;YACvB,KAAK,GAAG,UAAU,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,KAAK,GAAG,WAAW,CAAC;QACtB,CAAC;QACD,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACtB,CAAC,CAAC,CACH,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"deepMerge.js","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":";;AAMA,4CAEC;AASD,8BA+BC;AA9CD;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,GAAY;IAC3C,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACvE,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,SAAS,CACvB,QAAoB,EAAE,EACtB,SAAqB,EAAE;IAEvB,iDAAiD;IACjD,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAEtE,OAAO,MAAM,CAAC,WAAW,CACvB,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QAClB,MAAM,WAAW,GAAG,GAAG,IAAI,KAAK,CAAC;QACjC,MAAM,YAAY,GAAG,GAAG,IAAI,MAAM,CAAC;QACnC,MAAM,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAEhC,IAAI,KAAK,CAAC;QACV,IAAI,WAAW,IAAI,YAAY,EAAE,CAAC;YAChC,IAAI,gBAAgB,CAAC,UAAU,CAAC,IAAI,gBAAgB,CAAC,WAAW,CAAC,EAAE,CAAC;gBAClE,cAAc;gBACd,KAAK,GAAG,SAAS,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;YAC7C,CAAC;iBAAM,CAAC;gBACN,aAAa;gBACb,KAAK,GAAG,WAAW,CAAC;YACtB,CAAC;QACH,CAAC;aAAM,IAAI,WAAW,EAAE,CAAC;YACvB,KAAK,GAAG,UAAU,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,KAAK,GAAG,WAAW,CAAC;QACtB,CAAC;QACD,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACtB,CAAC,CAAC,CACH,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts index ea1cdab040..2f0a2f8fa9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts @@ -4,21 +4,20 @@ import type { ParserServices, ParserServicesWithTypeInformation } from '../ts-es * Try to retrieve type-aware parser service from context. * This **_will_** throw if it is not available. */ -declare function getParserServices(context: Readonly>): ParserServicesWithTypeInformation; +export declare function getParserServices(context: Readonly>): ParserServicesWithTypeInformation; /** * Try to retrieve type-aware parser service from context. * This **_will_** throw if it is not available. */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: false): ParserServicesWithTypeInformation; +export declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: false): ParserServicesWithTypeInformation; /** * Try to retrieve type-aware parser service from context. * This **_will not_** throw if it is not available. */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: true): ParserServices; +export declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: true): ParserServices; /** * Try to retrieve type-aware parser service from context. * This may or may not throw if it is not available, depending on if `allowWithoutFullTypeInformation` is `true` */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: boolean): ParserServices; -export { getParserServices }; +export declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: boolean): ParserServices; //# sourceMappingURL=getParserServices.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map index fca5232e6d..b206805699 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getParserServices.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,cAAc,EACd,iCAAiC,EAClC,MAAM,cAAc,CAAC;AAWtB;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,GAC3D,iCAAiC,CAAC;AACrC;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,KAAK,GACrC,iCAAiC,CAAC;AACrC;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,IAAI,GACpC,cAAc,CAAC;AAClB;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,OAAO,GACvC,cAAc,CAAC;AAiDlB,OAAO,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getParserServices.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,cAAc,EACd,iCAAiC,EAClC,MAAM,cAAc,CAAC;AAWtB;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,GAC3D,iCAAiC,CAAC;AACrC;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,KAAK,GACrC,iCAAiC,CAAC;AACrC;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,IAAI,GACpC,cAAc,CAAC;AAClB;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,OAAO,GACvC,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map index 0a0e0e43e6..5a67ff476f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map @@ -1 +1 @@ -{"version":3,"file":"getParserServices.js","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":";;AA0GS,8CAAiB;AApG1B,uEAAoE;AAEpE,MAAM,sCAAsC,GAC1C,+OAA+O,CAAC;AAElP,MAAM,4BAA4B,GAChC,mKAAmK,CAAC;AA+CtK,SAAS,iBAAiB,CACxB,OAA0D,EAC1D,+BAA+B,GAAG,KAAK;IAEvC,MAAM,MAAM,GACV,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;IAEnE,mFAAmF;IACnF,EAAE;IACF,mCAAmC;IACnC,yCAAyC;IACzC,yGAAyG;IACzG,sEAAsE;IACtE,0FAA0F;IAC1F,EAAE;IACF,qFAAqF;IACrF,wCAAwC;IACxC,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,qBAAqB,IAAI,IAAI;QAChE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,qBAAqB,IAAI,IAAI,EAC/D,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,+EAA+E;IAC/E,uDAAuD;IACvD,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,IAAI,IAAI;QACjD,CAAC,+BAA+B,EAChC,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,OAAO,OAAO,CAAC,UAAU,CAAC,cAAgC,CAAC;AAC7D,CAAC;AACD,yDAAyD;AAEzD,SAAS,UAAU,CAAC,MAA0B;IAC5C,MAAM,QAAQ,GAAG;QACf,sCAAsC;QACtC,WAAW,MAAM,IAAI,WAAW,EAAE;QAClC,CAAC,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,4BAA4B;KACjE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAElB,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACvC,CAAC"} \ No newline at end of file +{"version":3,"file":"getParserServices.js","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":";;AA2DA,8CAkCC;AAvFD,uEAAoE;AAEpE,MAAM,sCAAsC,GAC1C,+OAA+O,CAAC;AAElP,MAAM,4BAA4B,GAChC,mKAAmK,CAAC;AA+CtK,SAAgB,iBAAiB,CAC/B,OAA0D,EAC1D,+BAA+B,GAAG,KAAK;IAEvC,MAAM,MAAM,GACV,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;IAEnE,mFAAmF;IACnF,EAAE;IACF,mCAAmC;IACnC,yCAAyC;IACzC,yGAAyG;IACzG,sEAAsE;IACtE,0FAA0F;IAC1F,EAAE;IACF,qFAAqF;IACrF,wCAAwC;IACxC,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,qBAAqB,IAAI,IAAI;QAChE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,qBAAqB,IAAI,IAAI,EAC/D,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,+EAA+E;IAC/E,uDAAuD;IACvD,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,IAAI,IAAI;QACjD,CAAC,+BAA+B,EAChC,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,OAAO,OAAO,CAAC,UAAU,CAAC,cAAgC,CAAC;AAC7D,CAAC;AACD,yDAAyD;AAEzD,SAAS,UAAU,CAAC,MAA0B;IAC5C,MAAM,QAAQ,GAAG;QACf,sCAAsC;QACtC,WAAW,MAAM,IAAI,WAAW,EAAE;QAClC,CAAC,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,4BAA4B;KACjE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAElB,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts index af919fa283..ec9b9b7479 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts @@ -1,7 +1,7 @@ /** * A set of common reasons for calling nullThrows */ -declare const NullThrowsReasons: { +export declare const NullThrowsReasons: { readonly MissingParent: "Expected node to have a parent."; readonly MissingToken: (token: string, thing: string) => string; }; @@ -9,6 +9,5 @@ declare const NullThrowsReasons: { * Assert that a value must not be null or undefined. * This is a nice explicit alternative to the non-null assertion operator. */ -declare function nullThrows(value: T, message: string): NonNullable; -export { nullThrows, NullThrowsReasons }; +export declare function nullThrows(value: T, message: string): NonNullable; //# sourceMappingURL=nullThrows.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map index d695757dda..0da9e62d6c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"nullThrows.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,QAAA,MAAM,iBAAiB;;mCAEC,MAAM,SAAS,MAAM;CAEnC,CAAC;AAEX;;;GAGG;AACH,iBAAS,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAMhE;AAED,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"nullThrows.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;mCAEN,MAAM,SAAS,MAAM;CAEnC,CAAC;AAEX;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAMvE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js index 2da6d2b10a..a534dd6732 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js @@ -5,11 +5,10 @@ exports.nullThrows = nullThrows; /** * A set of common reasons for calling nullThrows */ -const NullThrowsReasons = { +exports.NullThrowsReasons = { MissingParent: 'Expected node to have a parent.', MissingToken: (token, thing) => `Expected to find a ${token} for the ${thing}.`, }; -exports.NullThrowsReasons = NullThrowsReasons; /** * Assert that a value must not be null or undefined. * This is a nice explicit alternative to the non-null assertion operator. diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map index e60696ca1d..bc7211d4b3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map @@ -1 +1 @@ -{"version":3,"file":"nullThrows.js","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":";;;AAqBS,gCAAU;AArBnB;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACxB,aAAa,EAAE,iCAAiC;IAChD,YAAY,EAAE,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC7C,sBAAsB,KAAK,YAAY,KAAK,GAAG;CACzC,CAAC;AAcU,8CAAiB;AAZtC;;;GAGG;AACH,SAAS,UAAU,CAAI,KAAQ,EAAE,OAAe;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,8BAA8B,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"nullThrows.js","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":";;;AAaA,gCAMC;AAnBD;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,aAAa,EAAE,iCAAiC;IAChD,YAAY,EAAE,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC7C,sBAAsB,KAAK,YAAY,KAAK,GAAG;CACzC,CAAC;AAEX;;;GAGG;AACH,SAAgB,UAAU,CAAI,KAAQ,EAAE,OAAe;IACrD,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,8BAA8B,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js index 323ed55630..a52223f30c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js @@ -1,4 +1,4 @@ "use strict"; -/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable @typescript-eslint/no-namespace, no-restricted-syntax */ Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=AST.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map index 2aa7f04b43..f8e063b7c0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map @@ -1 +1 @@ -{"version":3,"file":"AST.js","sourceRoot":"","sources":["../../src/ts-eslint/AST.ts"],"names":[],"mappings":";AAAA,oDAAoD"} \ No newline at end of file +{"version":3,"file":"AST.js","sourceRoot":"","sources":["../../src/ts-eslint/AST.ts"],"names":[],"mappings":";AAAA,0EAA0E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js index 4fd16f1bf4..d9536ea85d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js @@ -1,5 +1,5 @@ "use strict"; -/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable @typescript-eslint/no-namespace, no-restricted-syntax */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Linter = void 0; const eslint_1 = require("eslint"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map index 37f3c5d1d6..67e4466a07 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map @@ -1 +1 @@ -{"version":3,"file":"Linter.js","sourceRoot":"","sources":["../../src/ts-eslint/Linter.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;AAEpD,mCAAgD;AAuThD;;;;GAIG;AACH,MAAM,MAAO,SAAS,eAAkC;CAAG;AAElD,wBAAM"} \ No newline at end of file +{"version":3,"file":"Linter.js","sourceRoot":"","sources":["../../src/ts-eslint/Linter.ts"],"names":[],"mappings":";AAAA,0EAA0E;;;AAE1E,mCAAgD;AAuThD;;;;GAIG;AACH,MAAM,MAAO,SAAS,eAAkC;CAAG;AAElD,wBAAM"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts index f98dd53fe0..b7cb4ece64 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts @@ -6,7 +6,7 @@ import type { ReportDescriptorMessageData, RuleCreateFunction, RuleModule, Share /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface ValidTestCase { +export interface ValidTestCase { /** * Code for the test case. */ @@ -51,7 +51,7 @@ interface ValidTestCase { /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface SuggestionOutput { +export interface SuggestionOutput { /** * The data used to fill the message template. */ @@ -69,7 +69,7 @@ interface SuggestionOutput { /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface InvalidTestCase extends ValidTestCase { +export interface InvalidTestCase extends ValidTestCase { /** * Expected errors. */ @@ -82,7 +82,7 @@ interface InvalidTestCase { +export interface TestCaseError { /** * The 1-based column number of the reported start location. */ @@ -120,18 +120,18 @@ interface TestCaseError { * @param text a string describing the rule * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -type RuleTesterTestFrameworkFunction = (text: string, callback: () => void) => void; +export type RuleTesterTestFrameworkFunction = (text: string, callback: () => void) => void; /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface RunTests { +export interface RunTests { readonly invalid: readonly InvalidTestCase[]; readonly valid: readonly (string | ValidTestCase)[]; } /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface RuleTesterConfig extends ClassicConfig.Config { +export interface RuleTesterConfig extends ClassicConfig.Config { readonly parser: string; readonly parserOptions?: Readonly; } @@ -178,7 +178,7 @@ declare const RuleTester_base: typeof RuleTesterBase; /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -declare class RuleTester extends RuleTester_base { +export declare class RuleTester extends RuleTester_base { } -export { type InvalidTestCase, RuleTester, type RuleTesterConfig, type RuleTesterTestFrameworkFunction, type RunTests, type SuggestionOutput, type TestCaseError, type ValidTestCase, }; +export {}; //# sourceMappingURL=RuleTester.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map index 9617e74e35..39d7239d85 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"RuleTester.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EAClB,UAAU,EACV,2BAA2B,EAC5B,MAAM,QAAQ,CAAC;AAEhB;;GAEG;AACH,UAAU,aAAa,CAAC,OAAO,SAAS,SAAS,OAAO,EAAE;IACxD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACrC;;OA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ACjD,MAAM,KAAK,EAAE,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAElE;;;OAGG;IACH,MAAM,KAAK,MAAM,IAAI,+BAA+B,CAAC;IACrD,MAAM,KAAK,MAAM,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAEtE;;OAEG;IACH,UAAU,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACtE,IAAI,EAAE,MAAM,EACZ,IAAI,EACA,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,GACvC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,GAClC,IAAI;CACR;+BAK6C,OAAO,cAAc;AAHnE;;GAEG;AACH,cAAM,UAAW,SAAQ,eAA2C;CAAG;AAEvE,OAAO,EACL,KAAK,eAAe,EACpB,UAAU,EACV,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,EACpC,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"RuleTester.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EAClB,UAAU,EACV,2BAA2B,EAC5B,MAAM,QAAQ,CAAC;AAEhB;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,OAAO,SAAS,SAAS,OAAO,EAAE;IAC/D;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QA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AO,cAAc;IAC1B;;;OAGG;gBACS,YAAY,CAAC,EAAE,gBAAgB;IAE3C;;;;;OAKG;IACH,GAAG,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EAC/D,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,GACnC,IAAI;IAEP;;;OAGG;IACH,MAAM,KAAK,QAAQ,IAAI,+BAA+B,CAAC;IACvD,MAAM,KAAK,QAAQ,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAExE;;;OAGG;IACH,MAAM,KAAK,EAAE,IAAI,+BAA+B,CAAC;IACjD,MAAM,KAAK,EAAE,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAElE;;;OAGG;IACH,MAAM,KAAK,MAAM,IAAI,+BAA+B,CAAC;IACrD,MAAM,KAAK,MAAM,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAEtE;;OAEG;IACH,UAAU,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACtE,IAAI,EAAE,MAAM,EACZ,IAAI,EACA,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,GACvC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,GAClC,IAAI;CACR;+BAKoD,OAAO,cAAc;AAH1E;;GAEG;AACH,qBAAa,UAAW,SAAQ,eAA2C;CAAG"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map index 48cb94c3db..9659d442eb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map @@ -1 +1 @@ -{"version":3,"file":"RuleTester.js","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,mCAAwD;AAgOxD;;GAEG;AACH,MAAM,UAAW,SAAS,mBAA0C;CAAG;AAIrE,gCAAU"} \ No newline at end of file +{"version":3,"file":"RuleTester.js","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,mCAAwD;AAgOxD;;GAEG;AACH,MAAa,UAAW,SAAS,mBAA0C;CAAG;AAA9E,gCAA8E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts index 50b4a74931..35be2a9af6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts @@ -1,5 +1,5 @@ import * as scopeManager from '@typescript-eslint/scope-manager'; -declare namespace Scope { +export declare namespace Scope { type ScopeManager = scopeManager.ScopeManager; type Reference = scopeManager.Reference; type Variable = scopeManager.ScopeVariable; @@ -40,5 +40,4 @@ declare namespace Scope { type WithScope = scopeManager.WithScope; } } -export { Scope }; //# sourceMappingURL=Scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map index 444f1d9f7f..1bc3d623c8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,YAAY,MAAM,kCAAkC,CAAC;AAEjE,kBAAU,KAAK,CAAC;IACd,KAAY,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;IACrD,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,KAAY,QAAQ,GAAG,YAAY,CAAC,aAAa,CAAC;IAClD,KAAY,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC;IAChC,MAAM,SAAS,+BAAyB,CAAC;IAEhD,KAAY,cAAc,GAAG,YAAY,CAAC,UAAU,CAAC;IACrD,KAAY,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC;IAC1C,MAAM,cAAc,oCAA8B,CAAC;IAE1D,UAAiB,WAAW,CAAC;QAC3B,KAAY,qBAAqB,GAAG,YAAY,CAAC,qBAAqB,CAAC;QACvE,KAAY,mBAAmB,GAAG,YAAY,CAAC,mBAAmB,CAAC;QACnE,KAAY,sBAAsB,GAAG,YAAY,CAAC,sBAAsB,CAAC;QACzE,KAAY,gCAAgC,GAC1C,YAAY,CAAC,gCAAgC,CAAC;QAChD,KAAY,uBAAuB,GAAG,YAAY,CAAC,uBAAuB,CAAC;QAC3E,KAAY,mBAAmB,GAAG,YAAY,CAAC,mBAAmB,CAAC;QACnE,KAAY,sBAAsB,GAAG,YAAY,CAAC,sBAAsB,CAAC;QACzE,KAAY,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC;QACrE,KAAY,sBAAsB,GAAG,YAAY,CAAC,sBAAsB,CAAC;QACzE,KAAY,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC;QACzD,KAAY,kBAAkB,GAAG,YAAY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WAAW,GAAG,YAAY,CAAC,WAAW,CAAC;QACnD,KAAY,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC;QAC3D,KAAY,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC;QACnD,KAAY,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC;QACnD,KAAY,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC;QACnD,KAAY,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC;QACvD,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;QAC/C,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;KAChD;CACF"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map index c431e05b25..4929ce7702 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map @@ -1 +1 @@ -{"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,+EAAiE;AAEjE,IAAU,KAAK,CA4Cd;AA5CD,WAAU,KAAK;IAKA,eAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAInC,oBAAc,GAAG,YAAY,CAAC,cAAc,CAAC;AAmC5D,CAAC,EA5CS,KAAK,qBAAL,KAAK,QA4Cd"} \ No newline at end of file +{"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,+EAAiE;AAEjE,IAAiB,KAAK,CA4CrB;AA5CD,WAAiB,KAAK;IAKP,eAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAInC,oBAAc,GAAG,YAAY,CAAC,cAAc,CAAC;AAmC5D,CAAC,EA5CgB,KAAK,qBAAL,KAAK,QA4CrB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js index 8e029b1587..777905e05b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js @@ -1,5 +1,5 @@ "use strict"; -/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable @typescript-eslint/no-namespace, no-restricted-syntax */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SourceCode = void 0; const eslint_1 = require("eslint"); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map index 485d6cdb27..5c651ee52a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map @@ -1 +1 @@ -{"version":3,"file":"SourceCode.js","sourceRoot":"","sources":["../../src/ts-eslint/SourceCode.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;AAEpD,mCAAwD;AAmcxD,MAAM,UAAW,SAAS,mBAA0C;CAAG;AAE9D,gCAAU"} \ No newline at end of file +{"version":3,"file":"SourceCode.js","sourceRoot":"","sources":["../../src/ts-eslint/SourceCode.ts"],"names":[],"mappings":";AAAA,0EAA0E;;;AAE1E,mCAAwD;AAmcxD,MAAM,UAAW,SAAS,mBAA0C;CAAG;AAE9D,gCAAU"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json index e1c7b72017..868c6608f4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.20.0", + "version": "8.21.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0" + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts index 344a7c4259..1b6aad1744 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts @@ -1,4 +1,3 @@ import type { TSESTree } from '@typescript-eslint/types'; -declare const getKeys: (node: TSESTree.Node) => readonly string[]; -export { getKeys }; +export declare const getKeys: (node: TSESTree.Node) => readonly string[]; //# sourceMappingURL=get-keys.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map index 85407809df..8fdba2a7a4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"get-keys.d.ts","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,QAAA,MAAM,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,SAAS,MAAM,EAAoB,CAAC;AAE5E,OAAO,EAAE,OAAO,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"get-keys.d.ts","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,eAAO,MAAM,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,SAAS,MAAM,EAC7C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js index 309b72b959..baf1c3e5b6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js @@ -2,6 +2,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getKeys = void 0; const eslint_visitor_keys_1 = require("eslint-visitor-keys"); -const getKeys = eslint_visitor_keys_1.getKeys; -exports.getKeys = getKeys; +exports.getKeys = eslint_visitor_keys_1.getKeys; //# sourceMappingURL=get-keys.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map index 4a903fd8bc..59e3393500 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map @@ -1 +1 @@ -{"version":3,"file":"get-keys.js","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":";;;AAEA,6DAAiE;AAEjE,MAAM,OAAO,GAA+C,6BAAe,CAAC;AAEnE,0BAAO"} \ No newline at end of file +{"version":3,"file":"get-keys.js","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":";;;AAEA,6DAAiE;AAEpD,QAAA,OAAO,GAClB,6BAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts index 18e74ea3eb..97855608a7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts @@ -1,4 +1,3 @@ -type VisitorKeys = Record; -declare const visitorKeys: VisitorKeys; -export { visitorKeys, type VisitorKeys }; +export type VisitorKeys = Record; +export declare const visitorKeys: VisitorKeys; //# sourceMappingURL=visitor-keys.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map index c4883d4c49..33cd6840e5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"visitor-keys.d.ts","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":"AAIA,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;AA0QjE,QAAA,MAAM,WAAW,EAAE,WAAyD,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"visitor-keys.d.ts","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;AA0QxE,eAAO,MAAM,WAAW,EAAE,WACmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js index 77c96599be..2746b8cc68 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js @@ -191,6 +191,5 @@ const additionalKeys = { TSUnknownKeyword: [], TSVoidKeyword: [], }; -const visitorKeys = eslintVisitorKeys.unionWith(additionalKeys); -exports.visitorKeys = visitorKeys; +exports.visitorKeys = eslintVisitorKeys.unionWith(additionalKeys); //# sourceMappingURL=visitor-keys.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map index cb3c0e3b84..9ea1ec5547 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map @@ -1 +1 @@ -{"version":3,"file":"visitor-keys.js","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uEAAyD;AA4GzD;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE;IAC9B,MAAM,YAAY,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,YAAY,CAAU,CAAC;IACzE,MAAM,iBAAiB,GAAG,CAAC,GAAG,YAAY,EAAE,MAAM,CAAU,CAAC;IAC7D,MAAM,0BAA0B,GAAG;QACjC,YAAY;QACZ,KAAK;QACL,gBAAgB;KACR,CAAC;IAEX,OAAO;QACL,0BAA0B,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,gBAAgB,CAAC;QACnE,iBAAiB;QACjB,YAAY,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QAC9C,gBAAgB,EAAE;YAChB,YAAY;YACZ,IAAI;YACJ,gBAAgB;YAChB,YAAY;YACZ,oBAAoB;YACpB,YAAY;YACZ,MAAM;SACP;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,iBAAiB,CAAC;QACtC,YAAY;QACZ,kBAAkB,EAAE,CAAC,GAAG,0BAA0B,EAAE,OAAO,CAAC;KACpD,CAAC;AACb,CAAC,CAAC,EAAE,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SAAS,CAAC;IAC1B,cAAc,EAAE,CAAC,gBAAgB,CAAC;IAClC,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,CAAC;IAClD,0BAA0B,EAAE,CAAC,QAAQ,CAAC;IACtC,4BAA4B,EAAE,CAAC,QAAQ,CAAC;IACxC,eAAe,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;IACpD,WAAW,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;IAC1C,eAAe,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;IAC9C,kBAAkB,EAAE,EAAE;IACtB,WAAW,EAAE,CAAC,OAAO,CAAC;IACtB,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEW,QAAA,WAAW,GACtB,iBAAiB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json index 83119d5e9c..840dd66531 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.20.0", + "version": "8.21.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index 2aaa66cdda..ab5b08148a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "8.20.0", + "version": "8.21.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -61,10 +61,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/type-utils": "8.20.0", - "@typescript-eslint/utils": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/type-utils": "8.21.0", + "@typescript-eslint/utils": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -75,8 +75,8 @@ "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "8.20.0", - "@typescript-eslint/rule-tester": "8.20.0", + "@typescript-eslint/rule-schema-to-typescript-types": "8.21.0", + "@typescript-eslint/rule-tester": "8.21.0", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts b/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts index 7808db85f0..db19c5d695 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts @@ -34,6 +34,7 @@ The inferred type of 'default' cannot be named without a reference to This is likely not portable. A type annotation is necessary. ts(2742) ``` */ +/* eslint-disable no-restricted-syntax */ import type { RuleModuleWithMetaDocs, diff --git a/node_modules/@typescript-eslint/parser/dist/parser.d.ts b/node_modules/@typescript-eslint/parser/dist/parser.d.ts index 0e3293d115..fb3182b134 100644 --- a/node_modules/@typescript-eslint/parser/dist/parser.d.ts +++ b/node_modules/@typescript-eslint/parser/dist/parser.d.ts @@ -17,8 +17,7 @@ interface ParseForESLintResult { services: ParserServices; visitorKeys: VisitorKeys; } -declare function parse(code: string | ts.SourceFile, options?: ParserOptions): ParseForESLintResult['ast']; -declare function parseForESLint(code: string | ts.SourceFile, parserOptions?: ParserOptions | null): ParseForESLintResult; -export { parse, parseForESLint }; +export declare function parse(code: string | ts.SourceFile, options?: ParserOptions): ParseForESLintResult['ast']; +export declare function parseForESLint(code: string | ts.SourceFile, parserOptions?: ParserOptions | null): ParseForESLintResult; export type { ParserOptions } from '@typescript-eslint/types'; //# sourceMappingURL=parser.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map b/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map index 1f2e18d8f8..7a3ab0fdd4 100644 --- a/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +++ b/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAO,aAAa,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EACV,GAAG,EACH,cAAc,EAEf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAUtC,UAAU,aAAc,SAAQ,GAAG,CAAC;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,IAAI,CAAA;CAAE,CAAC;IAClE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC7B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;CAC1B;AAED,UAAU,oBAAoB;IAC5B,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3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B;AAkDD,wBAAgB,KAAK,CACnB,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,OAAO,CAAC,EAAE,aAAa,GACtB,oBAAoB,CAAC,KAAK,CAAC,CAE7B;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,GACnC,oBAAoB,CAgGtB;AAED,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/dist/parser.js.map b/node_modules/@typescript-eslint/parser/dist/parser.js.map index 7b9bd53a9c..d86bad1c54 100644 --- a/node_modules/@typescript-eslint/parser/dist/parser.js.map +++ b/node_modules/@typescript-eslint/parser/dist/parser.js.map @@ -1 +1 @@ -{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;AA8LS,sBAAK;AAAE,wCAAc;AAjL9B,oEAA2D;AAC3D,4EAAgF;AAChF,kEAA8D;AAC9D,kDAA0B;AAC1B,2CAA0C;AAE1C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,iCAAiC,CAAC,CAAC;AAerD,SAAS,eAAe,CACtB,KAA0B,EAC1B,QAAQ,GAAG,KAAK;IAEhB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AACpD,SAAS,MAAM,CAAC,eAAmC;IACjD,IAAI,eAAe,CAAC,GAAG,EAAE,CAAC;QACxB,OAAO,eAAe,CAAC,GAAG;aACvB,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;aAC3D,MAAM,CAAC,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,CAAC;QACD;QACE,oEAAoE;QACpE,cAAc,CAAC,SAAS,KAAK,SAAS;YACtC,eAAe,CAAC,UAAU,IAAI,IAAI,EAClC,CAAC;YACD,2DAA2D;YAC3D,MAAM,OAAO,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;YAChE,cAAc,CAAC,SAAS,GAAG,OAAO,CAAC;YACnC,GAAG,CAAC,qCAAqC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;QACvE,CAAC;QACD;QACE,oEAAoE;QACpE,cAAc,CAAC,eAAe,KAAK,SAAS;YAC5C,eAAe,CAAC,kBAAkB,IAAI,IAAI,EAC1C,CAAC;YACD,kEAAkE;YAClE,MAAM,WAAW,GAAG,eAAe,CAAC,kBAAkB;iBACnD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;iBACb,IAAI,EAAE,CAAC;YACV,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;YAC7C,GAAG,CACD,2CAA2C,EAC3C,cAAc,CAAC,eAAe,CAC/B,CAAC;QACJ,CAAC;IACH,CAAC;IAED,MAAM,YAAY,GAAG,IAAA,uBAAO,EAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IAElD,mDAAmD;IACnD,QAAQ,CAAC,qBAAqB;QAC5B,aAAa,CAAC,qBAAqB,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,sBAAsB;QAC7B,aAAa,CAAC,sBAAsB,KAAK,IAAI,CAAC;IAEhD,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAX,0BAAW,EAAE,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts index 679109f24d..3a3f5e08c9 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts @@ -1,4 +1,3 @@ -declare function createIdGenerator(): () => number; -declare function resetIds(): void; -export { createIdGenerator, resetIds }; +export declare function createIdGenerator(): () => number; +export declare function resetIds(): void; //# sourceMappingURL=ID.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map index 2c9c0fd0d8..62f8e82158 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,iBAAS,iBAAiB,IAAI,MAAM,MAAM,CAUzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,IAAI,MAAM,MAAM,CAUhD;AAED,wBAAgB,QAAQ,IAAI,IAAI,CAE/B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map index e880ddebc8..7bee3b4e1c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map @@ -1 +1 @@ -{"version":3,"file":"ID.js","sour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J,CAAC;AAED,SAAgB,QAAQ;IACtB,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts index f745bfb7f6..c7fc54a0ae 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts @@ -12,7 +12,7 @@ interface ScopeManagerOptions { /** * @see https://eslint.org/docs/latest/developer-guide/scope-manager-interface#scopemanager-interface */ -declare class ScopeManager { +export declare class ScopeManager { #private; currentScope: Scope | null; readonly declaredVariables: WeakMap; @@ -68,5 +68,5 @@ declare class ScopeManager { nestWithScope(node: WithScope['block']): WithScope; protected nestScope(scope: T): T; } -export { ScopeManager }; +export {}; //# sourceMappingURL=ScopeManager.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map index a94936521c..f543d9d31d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAA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CAAC,OAAO,CAAC,GAAG,WAAW;IAIxD,mBAAmB,CAAC,IAAI,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,eAAe;IAKpE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,iBAAiB,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa;IAK9D,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAKlD,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAOzD,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;CASlD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map index ab9bb2f9f7..03dcb0bd19 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map @@ -1 +1 @@ -{"version":3,"file":"ScopeManager.js","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":";;;AAKA,qCAAkC;AAClC,mCAkBiB;AACjB,mFAAgF;AAChF,yEAAsE;AAQtE;;GAEG;AACH,MAAM,YAAY;IACP,QAAQ,CAAsB;IAEhC,YAAY,CAAe;IAElB,iBAAiB,CAAqC;IAEtE;;OAEG;IACI,WAAW,CAAqB;IAEvB,WAAW,CAAkC;IAE7D;;;OAGG;IACa,MAAM,CAAU;IAEhC,YA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AAA,eAAM,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,iBAAS,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;IACtE,CAAC;IAEM,aAAa,CAAC,IAAwB;QAC3C,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,iBAAS,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;IACtE,CAAC;IAKS,SAAS,CAAC,KAAY;QAC9B,IAAI,KAAK,YAAY,mBAAW,EAAE,CAAC;YACjC,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,CAAC;YAClC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC3B,CAAC;QACD,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AA3OD,oCA2OC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts index 3cbb780560..907e239208 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts @@ -1,7 +1,7 @@ import type { Lib, SourceType, TSESTree } from '@typescript-eslint/types'; import type { ReferencerOptions } from './referencer'; import { ScopeManager } from './ScopeManager'; -interface AnalyzeOptions { +export interface AnalyzeOptions { /** * Known visitor keys. */ @@ -50,6 +50,5 @@ interface AnalyzeOptions { /** * Takes an AST and returns the analyzed scopes. */ -declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager; -export { analyze, type AnalyzeOptions }; +export declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager; //# sourceMappingURL=analyze.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map index a9e0c261f1..73c7381765 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,UAAU,cAAc;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAaD;;GAEG;AACH,iBAAS,OAAO,CACd,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CA4Bd;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAaD;;GAEG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CA4Bd"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map index ccb257c555..301fe35a20 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript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G,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAS,CAAC,CAAC;IAE3D,MAAM,YAAY,GAAG,IAAI,2BAAY,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,UAAU,GAAG,IAAI,uBAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAEzD,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEvB,OAAO,YAAY,CAAC;AACtB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts index bd40c9e22b..a9a0993acf 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts @@ -1,3 +1,2 @@ -declare function assert(value: unknown, message?: string): asserts value; -export { assert }; +export declare function assert(value: unknown, message?: string): asserts value; //# sourceMappingURL=assert.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map index 72f278dd6d..137bbfaf26 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,iBAAS,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAI/D;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAItE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map index 6ea638637a..58bb7ae0f9 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map @@ -1 +1 @@ -{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;AAOS,wBAAM;AAPf,yDAAyD;AACzD,SAAS,MAAM,CAAC,KAAc,EAAE,OAAgB;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;AACA,wBAIC;AALD,yDAAyD;AACzD,SAAgB,MAAM,CAAC,KAAc,EAAE,OAAgB;IACrD,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts index 7fde46bd77..63179a90f9 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class CatchClauseDefinition extends DefinitionBase { +export declare class CatchClauseDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.BindingName, node: CatchClauseDefinition['node']); } -export { CatchClauseDefinition }; //# sourceMappingURL=CatchClauseDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map index 41af006eaa..86b2a6fb7b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,qBAAsB,SAAQ,cAAc,CAChD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,qBAAsB,SAAQ,cAAc,CACvD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map index e86f2712ad..0324ed5fae 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,qBAAsB,SAAQ,+BAKnC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;CACF;AAEQ,sDAAqB"} \ No newline at end of file +{"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,qBAAsB,SAAQ,+BAK1C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;CACF;AAZD,sDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts index 507ba64603..3444c9c105 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ClassNameDefinition extends DefinitionBase { +export declare class ClassNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: ClassNameDefinition['node']); } -export { ClassNameDefinition }; //# sourceMappingURL=ClassNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map index f90e30b463..20a025016c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,mBAAoB,SAAQ,cAAc,CAC9C,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;CAGzE;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,mBAAoB,SAAQ,cAAc,CACrD,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;CAGzE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map index 75f3c2e82c..629465a7bf 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassNameDefinition.js","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,mBAAoB,SAAQ,+BAKjC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAiC;QACtE,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;CACF;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ClassNameDefinition.js","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,mBAAoB,SAAQ,+BAKxC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAiC;QACtE,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;CACF;AAZD,kDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts index 41329f3250..82dcbc7d83 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts @@ -9,6 +9,5 @@ import type { TSEnumNameDefinition } from './TSEnumNameDefinition'; import type { TSModuleNameDefinition } from './TSModuleNameDefinition'; import type { TypeDefinition } from './TypeDefinition'; import type { VariableDefinition } from './VariableDefinition'; -type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition; -export type { Definition }; +export type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition; //# sourceMappingURL=Definition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map index 98d0799a98..5b1588eeb7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,UAAU,GACX,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC;AAEvB,YAAY,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,UAAU,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts index 962ffed4b5..9cddc0de63 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts @@ -1,6 +1,6 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { DefinitionType } from './DefinitionType'; -declare abstract class DefinitionBase { +export declare abstract class DefinitionBase { /** * A unique ID for this instance - primarily used to help debugging and testing */ @@ -31,5 +31,4 @@ declare abstract class DefinitionBase { +export declare class FunctionNameDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: FunctionNameDefinition['node']); } -export { FunctionNameDefinition }; //# sourceMappingURL=FunctionNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map index 7a955a55ec..17faaaa428 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EACzB,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EACzB,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map index 5a839e8f1d..ad602cb0c4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionNameDefinition.js","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAQpC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"FunctionNameDefinition.js","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAQ3C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAfD,wDAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts index 237f772794..18411a4c1b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ImplicitGlobalVariableDefinition extends DefinitionBase { +export declare class ImplicitGlobalVariableDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.BindingName, node: ImplicitGlobalVariableDefinition['node']); } -export { ImplicitGlobalVariableDefinition }; //# sourceMappingURL=ImplicitGlobalVariableDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map index 054541f7f9..c17e8486ae 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitGlobalVariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,gCAAiC,SAAQ,cAAc,CAC3D,cAAc,CAAC,sBAAsB,EACrC,QAAQ,CAAC,IAAI,EACb,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC;CAIjD;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImplicitGlobalVariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,gCAAiC,SAAQ,cAAc,CAClE,cAAc,CAAC,sBAAsB,EACrC,QAAQ,CAAC,IAAI,EACb,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC;CAIjD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map index 17dd5256de..8d6c3646bc 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitGlobalVariableDefinition.js","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,gCAAiC,SAAQ,+BAK9C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAA0B,EAC1B,IAA8C;QAE9C,KAAK,CAAC,+BAAc,CAAC,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,4EAAgC"} \ No newline at end of file +{"version":3,"file":"ImplicitGlobalVariableDefinition.js","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,gCAAiC,SAAQ,+BAKrD;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAA0B,EAC1B,IAA8C;QAE9C,KAAK,CAAC,+BAAc,CAAC,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;CACF;AAfD,4EAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts index 7a5c456304..56dc95edf2 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts @@ -1,11 +1,10 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ImportBindingDefinition extends DefinitionBase { +export declare class ImportBindingDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSESTree.TSImportEqualsDeclaration, decl: TSESTree.TSImportEqualsDeclaration); constructor(name: TSESTree.Identifier, node: Exclude, decl: TSESTree.ImportDeclaration); } -export { ImportBindingDefinition }; //# sourceMappingURL=ImportBindingDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map index f53c0e3de8..25ac83b46c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImportBindingDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,uBAAwB,SAAQ,cAAc,CAClD,cAAc,CAAC,aAAa,EAC1B,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GACxB,Q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B,IAAI,EAAE,OAAO,CACX,uBAAuB,CAAC,MAAM,CAAC,EAC/B,QAAQ,CAAC,yBAAyB,CACnC,EACD,IAAI,EAAE,QAAQ,CAAC,iBAAiB;CASnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map index c9c33078b1..8c41f75e50 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ImportBindingDefinition.js","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,uBAAwB,SAAQ,+BAQrC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAe5C,YACE,IAAyB,EACzB,IAAqC,EACrC,IAAqE;QAErE,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;CACF;AAEQ,0DAAuB"} \ No newline at end of file +{"version":3,"file":"ImportBindingDefinition.js","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,uBAAwB,SAAQ,+BAQ5C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAe5C,YACE,IAAyB,EACzB,IAAqC,EACrC,IAAqE;QAErE,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;CACF;AAhCD,0DAgCC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts index 2c9dea1c22..3d6e459205 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ParameterDefinition extends DefinitionBase { +export declare class ParameterDefinition extends DefinitionBase { /** * Whether the parameter definition is a part of a rest parameter. */ @@ -10,5 +10,4 @@ declare class ParameterDefinition extends DefinitionBase { +export declare class TSEnumMemberDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier | TSESTree.StringLiteral, node: TSEnumMemberDefinition['node']); } -export { TSEnumMemberDefinition }; //# sourceMappingURL=TSEnumMemberDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map index 3ad9cf7bf6..86e58b803e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumMemberDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,YAAY,EACrB,IAAI,EACJ,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAC7C;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EAClD,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAIvC;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumMemberDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,YAAY,EACrB,IAAI,EACJ,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAC7C;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EAClD,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map index 5589e2a96d..5efb7664a2 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumMemberDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAkD,EAClD,IAAoC;QAEpC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"TSEnumMemberDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAK3C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAkD,EAClD,IAAoC;QAEpC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAfD,wDAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts index 499a80739a..2e3617b721 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TSEnumNameDefinition extends DefinitionBase { +export declare class TSEnumNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSEnumNameDefinition['node']); } -export { TSEnumNameDefinition }; //# sourceMappingURL=TSEnumNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map index 1d43f9e06d..2687ea2f2a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,oBAAqB,SAAQ,cAAc,CAC/C,cAAc,CAAC,UAAU,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;CAG1E;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,oBAAqB,SAAQ,cAAc,CACtD,cAAc,CAAC,UAAU,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;CAG1E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map index 1308987548..468ca20952 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,oBAAqB,SAAQ,+BAKlC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAkC;QACvE,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;CACF;AAEQ,oDAAoB"} \ No newline at end of file +{"version":3,"file":"TSEnumNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,oBAAqB,SAAQ,+BAKzC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAkC;QACvE,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;CACF;AAZD,oDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts index 5b52afa938..750249a7b5 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TSModuleNameDefinition extends DefinitionBase { +export declare class TSModuleNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSModuleNameDefinition['node']); } -export { TSModuleNameDefinition }; //# sourceMappingURL=TSModuleNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map index bd6d85ca04..da414877e2 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSModuleNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map index c0e5e3f66d..ee13ba31c4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"TSModuleNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAK3C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAZD,wDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts index 91158b6e0e..67d1085f5c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TypeDefinition extends DefinitionBase { +export declare class TypeDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = false; constructor(name: TSESTree.Identifier, node: TypeDefinition['node']); } -export { TypeDefinition }; //# sourceMappingURL=TypeDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map index 1c5f81733c..d780386665 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,cAAe,SAAQ,cAAc,CACzC,cAAc,CAAC,IAAI,EACjB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,eAAe,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,SAAS;gBAEjC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;CAGpE;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TypeDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,cAAe,SAAQ,cAAc,CAChD,cAAc,CAAC,IAAI,EACjB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,eAAe,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,SAAS;gBAEjC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;CAGpE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map index 7dc70ad7fb..c24c8557d0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeDefinition.js","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,cAAe,SAAQ,+BAQ5B;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,KAAK,CAAC;IAE7C,YAAY,IAAyB,EAAE,IAA4B;QACjE,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;CACF;AAEQ,wCAAc"} \ No newline at end of file +{"version":3,"file":"TypeDefinition.js","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,cAAe,SAAQ,+BAQnC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,KAAK,CAAC;IAE7C,YAAY,IAAyB,EAAE,IAA4B;QACjE,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;CACF;AAfD,wCAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts index 8626079252..200b9158f3 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class VariableDefinition extends DefinitionBase { +export declare class VariableDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: VariableDefinition['node'], decl: TSESTree.VariableDeclaration); } -export { VariableDefinition }; //# sourceMappingURL=VariableDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map index dca9468057..7957c3fb86 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,kBAAmB,SAAQ,cAAc,CAC7C,cAAc,CAAC,QAAQ,EACvB,QAAQ,CAAC,kBAAkB,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,mBAAmB;CAIrC;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"VariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,kBAAmB,SAAQ,cAAc,CACpD,cAAc,CAAC,QAAQ,EACvB,QAAQ,CAAC,kBAAkB,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,mBAAmB;CAIrC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map index 86801dcd2f..a819d08e24 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"VariableDefinition.js","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,kBAAmB,SAAQ,+BAKhC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAyB,EACzB,IAAgC,EAChC,IAAkC;QAElC,KAAK,CAAC,+BAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;CACF;AAEQ,gDAAkB"} \ No newline at end of file +{"version":3,"file":"VariableDefinition.js","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,kBAAmB,SAAQ,+BAKvC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAyB,EACzB,IAAgC,EAChC,IAAkC;QAElC,KAAK,CAAC,+BAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;CACF;AAhBD,gDAgBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts index 56ef44536b..5f11238e95 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts @@ -1,4 +1,4 @@ -declare const lib: { +export declare const lib: { readonly decorators: Record; readonly 'decorators.legacy': Record; readonly dom: Record; @@ -105,5 +105,4 @@ declare const lib: { readonly 'webworker.importscripts': Record; readonly 'webworker.iterable': Record; }; -export { lib }; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map index 1508f374e8..b71009c2e3 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AA+GA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GC,CAAC;AAEX,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AA+GA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GN,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js index 67f08d3783..a9581668a6 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js @@ -110,7 +110,7 @@ const webworker_1 = require("./webworker"); const webworker_asynciterable_1 = require("./webworker.asynciterable"); const webworker_importscripts_1 = require("./webworker.importscripts"); const webworker_iterable_1 = require("./webworker.iterable"); -const lib = { +exports.lib = { decorators: decorators_1.decorators, 'decorators.legacy': decorators_legacy_1.decorators_legacy, dom: dom_1.dom, @@ -217,5 +217,4 @@ const lib = { 'webworker.importscripts': webworker_importscripts_1.webworker_importscripts, 'webworker.iterable': webworker_iterable_1.webworker_iterable, }; -exports.lib = lib; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map index c58f9ae2e6..ed61d61b74 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAE3B,6CAA0C;AAC1C,2DAAwD;AACxD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,6DAA0D;AAC1D,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAC1D,qCAAkC;AAClC,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C;AAC9C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qCAAkC;AAClC,mDAAgD;AAChD,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,qDAAkD;AAClD,+DAA4D;AAC5D,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAAkD;AAClD,mDAAgD;AAChD,qDAAkD;AAClD,qCAAkC;AAClC,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,qCAAkC;AAClC,iDAA8C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,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,iBAAiB,EAAE,iCAAe;IAClC,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,GAAG,EAAE,SAAO;IACZ,UAAU,EAAV,uBAAU;IACV,SAAS,EAAT,qBAAS;IACT,yBAAyB,EAAE,iDAAuB;IAClD,yBAAyB,EAAE,iDAAuB;IAClD,oBAAoB,EAAE,uCAAkB;CAChC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts index 42aecaa6f4..fdaa70dc10 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class ClassVisitor extends Visitor { +export declare class ClassVisitor extends Visitor { #private; constructor(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression); static visit(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void; @@ -25,5 +25,4 @@ declare class ClassVisitor extends Visitor { protected TSAbstractPropertyDefinition(node: TSESTree.TSAbstractPropertyDefinition): void; protected TSIndexSignature(node: TSESTree.TSIndexSignature): void; } -export { ClassVisitor }; //# sourceMappingURL=ClassVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map index a5398741e3..64b4e148db 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAM,YAAa,SAAQ,OAAO;;gBAK9B,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe;IAO5D,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,GACzD,IAAI;IAKP,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;IAanD,SAAS,CAAC,UAAU,CAClB,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,GACzD,IAAI;IAgCP,SAAS,CAAC,oCAAoC,CAC5C,IAAI,EAAE,QAAQ,CAAC,SAAS,GACvB,IAAI;IAaP,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAc5D,SAAS,CAAC,mBAAmB,CAC3B,IAAI,EAAE,Q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er/ClassVisitor.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map index c3938f27e2..ee6ce7b615 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,8CAAyE;AACzE,+CAA4C;AAC5C,uCAAoC;AAEpC,MAAM,YAAa,SAAQ,iBAAO;IACvB,UAAU,CAAuD;IACjE,WAAW,CAAa;IAEjC,YACE,UAAsB,EACtB,IAA0D;QAE1D,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,IAA0D;QAE1D,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACxD,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,IAAsC;QAC1C,+DAA+D;QAC/D,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;IAED,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IAET,UAAU,CAClB,IAA0D;QAE1D,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,IAAI,IAAI,CAA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,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAES,0BAA0B,CAClC,IAAyC;QAEzC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAES,4BAA4B,CACpC,IAA2C;QAE3C,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAES,gBAAgB,CAAC,IAA+B;QACxD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;CACF;AAxUD,oCAwUC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAS,uBAAuB,CAC9B,IAA+B;IAE/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC9D,IACE,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ;YAClC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ,EAClC,CAAC;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QACzE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts index 1b78cb8481..99f600d77c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts @@ -1,8 +1,8 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration; -declare class ExportVisitor extends Visitor { +export type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration; +export declare class ExportVisitor extends Visitor { #private; constructor(node: ExportNode, referencer: Referencer); static visit(referencer: Referencer, node: ExportNode): void; @@ -11,5 +11,4 @@ declare class ExportVisitor extends Visitor { protected ExportSpecifier(node: TSESTree.ExportSpecifier): void; protected Identifier(node: TSESTree.Identifier): void; } -export { ExportVisitor }; //# sourceMappingURL=ExportVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map index 0b07ac45ce..7fac17ef89 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ExportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,KAAK,UAAU,GACX,QAAQ,CAAC,oBAAoB,GAC7B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,sBAAsB,CAAC;AAEpC,cAAM,aAAc,SAAQ,O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AAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAgB/D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;CAStD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map index 474e3abd4e..6e7af826fe 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ExportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,uCAAoC;AAOpC,MAAM,aAAc,SAAQ,iBAAO;IACxB,WAAW,CAAa;IACxB,WAAW,CAAa;IAEjC,YAAY,IAAgB,EAAE,UAAsB;QAClD,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,UAAsB,EAAE,IAAgB;QACnD,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7D,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;YACxD,oBAAoB;YACpB,qCAAqC;YACrC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC/B,CAAC;aAAM,CAAC;YACN,sBAAsB;YACtB,sBAAsB;YACtB,MAAM;YACN,+GAA+G;QACjH,CAAC;IACH,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,yBAAyB;YACzB,0EAA0E;YAC1E,OAAO;QACT,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,gBAAgB;YAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,sBAAsB;YACtB,6EAA6E;QAC/E,CAAC;IACH,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,IACE,IAAI,CAAC,UAAU,KAAK,MAAM;YAC1B,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC7C,CAAC;YACD,qBAAqB;YACrB,wCAAwC;YACxC,EAAE;YACF,mGAAmG;YACnG,kEAAkE;YAClE,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAES,UAAU,CAAC,IAAyB;QAC5C,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;YAC3C,qBAAqB;YACrB,wCAAwC;YACxC,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"ExportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,u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;YACnG,kEAAkE;YAClE,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAES,UAAU,CAAC,IAAyB;QAC5C,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;YAC3C,qBAAqB;YACrB,wCAAwC;YACxC,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAzED,sCAyEC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts index bb2f9b44fb..4768b55031 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class ImportVisitor extends Visitor { +export declare class ImportVisitor extends Visitor { #private; constructor(declaration: TSESTree.ImportDeclaration, referencer: Referencer); static visit(referencer: Referencer, declaration: TSESTree.ImportDeclaration): void; @@ -10,5 +10,4 @@ declare class ImportVisitor extends Visitor { protected ImportSpecifier(node: TSESTree.ImportSpecifier): void; protected visitImport(id: TSESTree.Identifier, specifier: TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.ImportSpecifier): void; } -export { ImportVisitor }; //# sourceMappingURL=ImportVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map index 5eb27d7aa7..44ec7b54cf 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAM,aAAc,SAAQ,OAAO;;gBAIrB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,EAAE,UAAU,EAAE,UAAU;IAM3E,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,GACtC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAKP,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAKP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,WAAW,CACnB,EAAE,EAAE,QAAQ,CAAC,UAAU,EACvB,SAAS,EACL,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GAC3B,IAAI;CAQR;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,qBAAa,aAAc,SAAQ,OAAO;;gBAI5B,WAAW,EAAE,QAAQ,CAAC,iBAAiB,EAAE,UAAU,EAAE,UAAU;IAM3E,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,GACtC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAKP,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAKP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,WAAW,CACnB,EAAE,EAAE,QAAQ,CAAC,UAAU,EACvB,SAAS,EACL,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GAC3B,IAAI;CAQR"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map index f7a18a65c6..ed903e642b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ImportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":";;;AAIA,8CAAwD;AACxD,uCAAoC;AAEpC,MAAM,aAAc,SAAQ,iBAAO;IACxB,YAAY,CAA6B;IACzC,WAAW,CAAa;IAEjC,YAAY,WAAuC,EAAE,UAAsB;QACzE,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,WAAuC;QAEvC,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACpE,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,WAAW,CACnB,EAAuB,EACvB,SAG4B;QAE5B,IAAI,CAAC,WAAW;aACb,YAAY,EAAE;aACd,gBAAgB,CACf,EAAE,EACF,IAAI,oCAAuB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAC9D,CAAC;IACN,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"ImportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":";;;AAIA,8CAAwD;AACxD,uCAAoC;AAEpC,MAAa,aAAc,SAAQ,iBAAO;IAC/B,YAAY,CAA6B;IACzC,WAAW,CAAa;IAEjC,YAAY,WAAuC,EAAE,UAAsB;QACzE,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,WAAuC;QAEvC,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACpE,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,WAAW,CACnB,EAAuB,EACvB,SAG4B;QAE5B,IAAI,CAAC,WAAW;aACb,YAAY,EAAE;aACd,gBAAgB,CACf,EAAE,EACF,IAAI,oCAAuB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAC9D,CAAC;IACN,CAAC;CACF;AAnDD,sCAmDC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts index 63b8a0b078..6a0a4eb3b7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts @@ -1,13 +1,13 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { VisitorOptions } from './VisitorBase'; import { VisitorBase } from './VisitorBase'; -type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: { +export type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: { assignments: (TSESTree.AssignmentExpression | TSESTree.AssignmentPattern)[]; rest: boolean; topLevel: boolean; }) => void; -type PatternVisitorOptions = VisitorOptions; -declare class PatternVisitor extends VisitorBase { +export type PatternVisitorOptions = VisitorOptions; +export declare class PatternVisitor extends VisitorBase { #private; readonly rightHandNodes: TSESTree.Node[]; constructor(options: PatternVisitorOptions, rootPattern: TSESTree.Node, callback: PatternVisitorCallback); @@ -25,5 +25,4 @@ declare class PatternVisitor extends VisitorBase { protected SpreadElement(node: TSESTree.SpreadElement): void; protected TSTypeAnnotation(): void; } -export { PatternVisitor, type PatternVisitorCallback, type PatternVisitorOptions, }; //# sourceMappingURL=PatternVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map index 58c2a660d3..2d0fb56836 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager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AS,CAAC,gBAAgB,IAAI,IAAI;CAGnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map index 03e66cb191..985bdfeb56 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"PatternVisitor.js","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,+CAA4C;AAY5C,MAAM,cAAe,SAAQ,yBAAW;IAC7B,YAAY,GAGf,EAAE,CAAC;IACA,SAAS,CAAyB;IAClC,aAAa,GAA2B,EAAE,CAAC;IAC3C,YAAY,CAAgB;IAErB,cAAc,GAAoB,EAAE,CAAC;IAErD,YACE,OAA8B,EAC9B,WAA0B,EAC1B,QAAgC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAEM,MAAM,CAAC,SAAS,CACrB,IAAmB;QAQnB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;QAE3B,OAAO,CACL,QAAQ,KAAK,sBAAc,CAAC,UAAU;YACtC,QAAQ,KAAK,sBAAc,CAAC,aAAa;YACzC,QAAQ,KAAK,sBAAc,CAAC,YAAY;YACxC,QAAQ,KAAK,sBAAc,CAAC,aAAa;YACzC,QAAQ,KAAK,sBAAc,CAAC,WAAW;YACvC,QAAQ,KAAK,sBAAc,CAAC,iBAAiB,CAC9C,CAAC;IACJ,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,IAAI,CAAC,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,OAAO,EAAE;YACtB,WAAW,EAAE,IAAI,CAAC,YAAY;YAC9B,IAAI,EAAE,eAAe,EAAE,QAAQ,KAAK,OAAO;YAC3C,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC,YAAY;SACxC,CAAC,CAAC;IACL,CAAC;IAES,gBAAgB,CAAC,IAA+B;QACxD,gDAAgD;QAChD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC;QAED,kDAAkD;QAClD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IAES,QAAQ,CAAC,QAA2B;QAC5C,gDAAgD;QAChD,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACzC,CAAC;QAED,mDAAmD;QACnD,mHAAmH;QACnH,kEAAkE;QAClE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,WAAW,CAAC,OAA6B;QACjD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAES,gBAAgB;QACxB,+BAA+B;IACjC,CAAC;CACF;AAGC,wCAAc"} \ No newline at end of file +{"version":3,"file":"PatternVisitor.js","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,+CAA4C;AAY5C,MA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IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACzC,CAAC;QAED,mDAAmD;QACnD,mHAAmH;QACnH,kEAAkE;QAClE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,WAAW,CAAC,OAA6B;QACjD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAES,gBAAgB;QACxB,+BAA+B;IACjC,CAAC;CACF;AA3HD,wCA2HC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts index 1ffe72da40..97cacb40ae 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts @@ -1,24 +1,24 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Scope } from '../scope'; import type { Variable } from '../variable'; -declare enum ReferenceFlag { +export declare enum ReferenceFlag { Read = 1, Write = 2, ReadWrite = 3 } -interface ReferenceImplicitGlobal { +export interface ReferenceImplicitGlobal { node: TSESTree.Node; pattern: TSESTree.BindingName; ref?: Reference; } -declare enum ReferenceTypeFlag { +export declare enum ReferenceTypeFlag { Value = 1, Type = 2 } /** * A Reference represents a single occurrence of an identifier in code. */ -declare class Reference { +export declare class Reference { #private; /** * A unique ID for this instance - primarily used to help debugging and testing @@ -85,5 +85,4 @@ declare class Reference { */ isReadWrite(): boolean; } -export { Reference, ReferenceFlag, type ReferenceImplicitGlobal, ReferenceTypeFlag, }; //# sourceMappingURL=Reference.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map index 093cc331e6..e8239bd95f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Reference.d.ts","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,aAAK,aAAa;IAChB,IAAI,IAAM;IACV,KAAK,IAAM;IACX,SAAS,IAAM;CAChB;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;IACpB,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;IAC9B,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB;AAID,aAAK,iBAAiB;IACpB,KAAK,IAAM;IACX,IAAI,IAAM;CACX;AAED;;GAEG;AACH,cAAM,SAAS;;IACb;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAO1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QA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AAI,OAAO;IAI7B;;;OAGG;IACI,WAAW,IAAI,OAAO;CAG9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js index 1739c0bbb7..8065e5e239 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ReferenceTypeFlag = exports.ReferenceFlag = exports.Reference = void 0; +exports.Reference = exports.ReferenceTypeFlag = exports.ReferenceFlag = void 0; const ID_1 = require("../ID"); var ReferenceFlag; (function (ReferenceFlag) { diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map index 0af1ca43d2..d6349b8389 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map @@ -1 +1 @@ -{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":";;;AAKA,8BAA0C;AAE1C,IAAK,aAIJ;AAJD,WAAK,aAAa;IAChB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,2DAAe,CAAA;AACjB,CAAC,EAJI,aAAa,6BAAb,aAAa,QAIjB;AAQD,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,IAAK,iBAGJ;AAHD,WAAK,iBAAiB;IACpB,2DAAW,CAAA;IACX,yDAAU,CAAA;AACZ,CAAC,EAHI,iBAAiB,iC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Aa,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,MAAM;QACX,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACI,UAAU;QACf,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,IAAI,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,KAAK,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,SAAS,CAAC;IAChD,CAAC;CACF;AAGC,8BAAS"} \ No newline at end of file +{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":";;;AAKA,8BAA0C;AAE1C,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,2DAAe,CAAA;AACjB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAQD,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,2DAAW,CAAA;IACX,yDAAU,CAAA;AACZ,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED;;GAEG;AACH,MAAa,SAAS;IACpB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;OAEG;IACM,KAAK,CAAgB;IAE9B;;;OAGG;IACa,IAAI,CAAQ;IAE5B;;;OAGG;IACa,UAAU,CAA+C;IAEzE;;;OAGG;IACa,IAAI,CAAW;IAEf,mBAAmB,CAAkC;IAErE;;;OAGG;IACI,QAAQ,CAAkB;IAEjC;;;OAGG;IACa,SAAS,CAAwB;IAEjD;;OAEG;IACM,cAAc,CAAoB;IAE3C,YACE,UAAw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IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,SAAS,CAAC;IAChD,CAAC;CACF;AA5HD,8BA4HC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts index d7799ca270..2703d42303 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts @@ -4,12 +4,12 @@ import type { ScopeManager } from '../ScopeManager'; import type { ReferenceImplicitGlobal } from './Reference'; import type { VisitorOptions } from './Visitor'; import { Visitor } from './Visitor'; -interface ReferencerOptions extends VisitorOptions { +export interface ReferencerOptions extends VisitorOptions { jsxFragmentName: string | null; jsxPragma: string | null; lib: Lib[]; } -declare class Referencer extends Visitor { +export declare class Referencer extends Visitor { #private; readonly scopeManager: ScopeManager; constructor(options: ReferencerOptions, scopeManager: ScopeManager); @@ -28,6 +28,7 @@ declare class Referencer extends Visitor { protected visitForIn(node: TSESTree.ForInStatement | TSESTree.ForOfStatement): void; protected visitFunction(node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.TSDeclareFunction | TSESTree.TSEmptyBodyFunctionExpression): void; protected visitFunctionParameterTypeAnnotation(node: TSESTree.Parameter): void; + protected visitJSXElement(node: TSESTree.JSXClosingElement | TSESTree.JSXOpeningElement): void; protected visitProperty(node: TSESTree.Property): void; protected visitType(node: TSESTree.Node | null | undefined): void; protected visitTypeAssertion(node: TSESTree.TSAsExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion): void; @@ -52,7 +53,7 @@ declare class Referencer extends Visitor { protected ImportAttribute(): void; protected ImportDeclaration(node: TSESTree.ImportDeclaration): void; protected JSXAttribute(node: TSESTree.JSXAttribute): void; - protected JSXClosingElement(): void; + protected JSXClosingElement(node: TSESTree.JSXClosingElement): void; protected JSXFragment(node: TSESTree.JSXFragment): void; protected JSXIdentifier(node: TSESTree.JSXIdentifier): void; protected JSXMemberExpression(node: TSESTree.JSXMemberExpression): void; @@ -83,5 +84,4 @@ declare class Referencer extends Visitor { protected WithStatement(node: TSESTree.WithStatement): void; private visitExpressionTarget; } -export { Referencer, type ReferencerOptions }; //# sourceMappingURL=Referencer.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map index 30658571c1..d507a4a361 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Referencer.d.ts","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI9D,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAoBhD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,UAAU,iBAAkB,SAAQ,cAAc;IAChD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,GAAG,EAAE,GAAG,EAAE,CAAC;C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3C,IAAI;IAIP,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,iBAAiB,GAAG,IAAI;IAwCnE,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAarE,SAAS,CAAC,yBAAyB,CACjC,IAAI,EAAE,QAAQ,CAAC,yBAAyB,GACvC,IAAI;IAiBP,SAAS,CAAC,yBAAyB,CACjC,IAAI,EAAE,QAAQ,CAAC,yBAAyB,GACvC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAIP,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAevE,SAAS,CAAC,qBAAqB,CAAC,IAAI,EAAE,QAAQ,CAAC,qBAAqB,GAAG,IAAI;IAI3E,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAIP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAI/D,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAgBjE,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAoCvE,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI;IAW3D,OAAO,CAAC,qBAAqB;CAc9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js index 381cd44bab..ff7b95be12 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js @@ -179,6 +179,21 @@ class Referencer extends Visitor_1.Visitor { break; } } + visitJSXElement(node) { + if (node.name.type === types_1.AST_NODE_TYPES.JSXIdentifier) { + if (node.name.name[0].toUpperCase() === node.name.name[0] || + node.name.name === 'this') { + // lower cased component names are always treated as "intrinsic" names, and are converted to a string, + // not a variable by JSX transforms: + //
=> React.createElement("div", null) + // the only case we want to visit a lower-cased component has its name as "this", + this.visit(node.name); + } + } + else { + this.visit(node.name); + } + } visitProperty(node) { if (node.computed) { this.visit(node.key); @@ -315,8 +330,8 @@ class Referencer extends Visitor_1.Visitor { JSXAttribute(node) { this.visit(node.value); } - JSXClosingElement() { - // should not be counted as a reference + JSXClosingElement(node) { + this.visitJSXElement(node); } JSXFragment(node) { this.referenceJsxPragma(); @@ -335,19 +350,7 @@ class Referencer extends Visitor_1.Visitor { } JSXOpeningElement(node) { this.referenceJsxPragma(); - if (node.name.type === types_1.AST_NODE_TYPES.JSXIdentifier) { - if (node.name.name[0].toUpperCase() === node.name.name[0] || - node.name.name === 'this') { - // lower cased component names are always treated as "intrinsic" names, and are converted to a string, - // not a variable by JSX transforms: - //
=> React.createElement("div", null) - // the only case we want to visit a lower-cased component has its name as "this", - this.visit(node.name); - } - } - else { - this.visit(node.name); - } + this.visitJSXElement(node); this.visitType(node.typeArguments); for (const attr of node.attributes) { this.visit(attr); diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map index 5281caf10c..a2c6aeafcb 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map @@ -1 +1 @@ -{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["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;QACrC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAEO,qBAAqB,CAAC,IAAmB;QAC/C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,cAAc,CAAC;YACnC,KAAK,sBAAc,CAAC,eAAe;gBACjC,uCAAuC;gBACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YACtC,0BAA0B;YAC1B,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,wBAAwB;gBACxB,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAC5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAClD,2CAA4C;AAC5C,+CAA4C;AAC5C,uCAAoC;AAQpC,+CAA+C;AAC/C,MAAa,UAAW,SAAQ,iBAAO;IACrC,wBAAwB,GAAG,KAAK,CAAC;IACjC,gCAAgC,GAAG,KAAK,CAAC;IACzC,gBAAgB,CAAgB;IAChC,UAAU,CAAgB;IAC1B,IAAI,CAAQ;IACI,YAAY,CAAe;IAE3C,YAAY,OAA0B,EAAE,YAA0B;QAChE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,eAAe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B,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAtxBD,gCAsxBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts index 6d37e6a4a6..ee0e8c1690 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class TypeVisitor extends Visitor { +export declare class TypeVisitor extends Visitor { #private; constructor(referencer: Referencer); static visit(referencer: Referencer, node: TSESTree.Node): void; @@ -29,5 +29,4 @@ declare class TypeVisitor extends Visitor { protected TSTypeAnnotation(node: TSESTree.TSTypeAnnotation): void; protected TSTypeQuery(node: TSESTree.TSTypeQuery): void; } -export { TypeVisitor }; //# sourceMappingURL=TypeVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map index 9e2402d330..ae68524eb9 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/TypeVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EA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,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;IAwCvD,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAmBP,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,GAAG,IAAI;IAYzD,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,iBAAiB,GAAG,IAAI;IAKnE,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAKrE,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAKvE,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAkBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAS/D,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAQ/D,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAKjE,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;CAwBxD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map index 00905e0453..29a690084b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map @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AAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAClC,CAAC;IAED,qFAAqF;IAC3E,gBAAgB,CAAC,IAA+B;QACxD,QAAQ;QACR,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAES,WAAW,CAAC,IAA0B;QAC9C,IAAI,UAGqB,CAAC;QAC1B,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;YAC1D,IAAI,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC;YACzB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACzD,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YACnB,CAAC;YACD,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC;YAE3B,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QACD,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;YAClD,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACjC,CAAC;CACF;AA/RD,kCA+RC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts index d0a474a60d..cd15f88039 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts @@ -5,11 +5,10 @@ import { VisitorBase } from './VisitorBase'; interface VisitPatternOptions extends PatternVisitorOptions { processRightHandNodes?: boolean; } -declare class Visitor extends VisitorBase { +export declare class Visitor extends VisitorBase { #private; constructor(optionsOrVisitor: Visitor | VisitorOptions); protected visitPattern(node: TSESTree.Node, callback: PatternVisitorCallback, options?: VisitPatternOptions): void; } -export { Visitor }; export { VisitorBase, type VisitorOptions } from './VisitorBase'; //# sourceMappingURL=Visitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map index 1dc951ce97..83830e0aed 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Visitor.d.ts","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,cAAM,OAAQ,SAAQ,WAAW;;gBAEnB,gBAAgB,EAAE,OAAO,GAAG,cAAc;IAatD,SAAS,CAAC,YAAY,CACpB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,QAAQ,EAAE,sBAAsB,EAChC,OAAO,GAAE,mBAAsD,GAC9D,IAAI;CAWR;AAED,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file +{"version":3,"file":"Visitor.d.ts","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,qBAAa,OAAQ,SAAQ,WAAW;;gBAE1B,gBAAgB,EAAE,OAAO,GAAG,cAAc;IAatD,SAAS,CAAC,YAAY,CACpB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,QAAQ,EAAE,sBAAsB,EAChC,OAAO,GAAE,mBAAsD,GAC9D,IAAI;CAWR;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map index 0e4878ceab..aacdd79798 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map @@ -1 +1 @@ -{"version":3,"file":"Visitor.js","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":";;;AAQA,qDAAkD;AAClD,+CAA4C;AAK5C,MAAM,OAAQ,SAAQ,yBAAW;IACtB,QAAQ,CAAiB;IAClC,YAAY,gBAA0C;QACpD,KAAK,CACH,gBAAgB,YAAY,OAAO;YACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;YAC3B,CAAC,CAAC,gBAAgB,CACrB,CAAC;QAEF,IAAI,CAAC,QAAQ;YACX,gBAAgB,YAAY,OAAO;gBACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;gBAC3B,CAAC,CAAC,gBAAgB,CAAC;IACzB,CAAC;IAES,YAAY,CACpB,IAAmB,EACnB,QAAgC,EAChC,UAA+B,EAAE,qBAAqB,EAAE,KAAK,EAAE;QAE/D,iFAAiF;QACjF,MAAM,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAElE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpB,4CAA4C;QAC5C,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC;YAClC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF;AAEQ,0BAAO;AAEhB,6CAAiE;AAAxD,0GAAA,WAAW,OAAA"} \ No newline at end of file +{"version":3,"file":"Visitor.js","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":";;;AAQA,qDAAkD;AAClD,+CAA4C;AAK5C,MAAa,OAAQ,SAAQ,yBAAW;IAC7B,QAAQ,CAAiB;IAClC,YAAY,gBAA0C;QACpD,KAAK,CACH,gBAAgB,YAAY,OAAO;YACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;YAC3B,CAAC,CAAC,gBAAgB,CACrB,CAAC;QAEF,IAAI,CAAC,QAAQ;YACX,gBAAgB,YAAY,OAAO;gBACjC,CAAC,CAAC,gBAAgB,CAAC,QAAQ;gBAC3B,CAAC,CAAC,gBAAgB,CAAC;IACzB,CAAC;IAES,YAAY,CACpB,IAAmB,EACnB,QAAgC,EAChC,UAA+B,EAAE,qBAAqB,EAAE,KAAK,EAAE;QAE/D,iFAAiF;QACjF,MAAM,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAElE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpB,4CAA4C;QAC5C,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC;YAClC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF;AA9BD,0BA8BC;AAED,6CAAiE;AAAxD,0GAAA,WAAW,OAAA"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts index 1a4883b2f0..6c550158a0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts @@ -1,10 +1,10 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { VisitorKeys } from '@typescript-eslint/visitor-keys'; -interface VisitorOptions { +export interface VisitorOptions { childVisitorKeys?: VisitorKeys | null; visitChildrenEvenIfSelectorExists?: boolean; } -declare abstract class VisitorBase { +export declare abstract class VisitorBase { #private; constructor(options: VisitorOptions); /** @@ -18,6 +18,5 @@ declare abstract class VisitorBase { */ visit(node: TSESTree.Node | null | undefined): void; } -export { VisitorBase, type VisitorOptions }; export type { VisitorKeys } from '@typescript-eslint/visitor-keys'; //# sourceMappingURL=VisitorBase.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map index 2036e9d94c..da51b6f9b4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VisitorBase.d.ts","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,UAAU,cAAc;IACtB,gBAAgB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C;AAaD,uBAAe,WAAW;;gBAGZ,OAAO,EAAE,cAAc;IAMnC;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,QAAQ,CAAC,IAAI,EACnC,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC1B,UAAU,GAAE,CAAC,MAAM,CAAC,CAAC,EAAO,GAC3B,IAAI;IA6BP;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;CAepD;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,CAAC;AAE5C,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC"} \ No newline at end of file +{"version":3,"file":"VisitorBase.d.ts","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,MAAM,WAAW,cAAc;IAC7B,gBAAgB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C;AAaD,8BAAsB,WAAW;;gBAGnB,OAAO,EAAE,cAAc;IAMnC;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,QAAQ,CAAC,IAAI,EACnC,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC1B,UAAU,GAAE,CAAC,MAAM,CAAC,CAAC,EAAO,GAC3B,IAAI;IA6BP;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;CAepD;AAED,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map index f9d611aba7..d59ef93373 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map @@ -1 +1 @@ -{"version":3,"file":"VisitorBase.js","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":";;;AAGA,kEAA8D;AAO9D,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,CAAC;AAChD,CAAC;AACD,SAAS,MAAM,CAAC,IAAa;IAC3B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,Q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CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAsC;QAC1C,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QAED,MAAM,OAAO,GAAI,IAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACzB,IAAI,CAAC,IAAI,CAAC,kCAAkC,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;QACH,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"VisitorBase.js","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":";;;AAGA,kEAA8D;AAO9D,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,CAAC;AAChD,CAAC;AACD,SAAS,MAAM,CAAC,IAAa;IAC3B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC;AACzD,CAAC;AAMD,MAAsB,WAAW;IACtB,iBAAiB,CAAc;IAC/B,kCAAkC,CAAU;IACrD,YAAY,OAAuB;QACjC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,IAAI,0BAAW,CAAC;QACjE,IAAI,CAAC,kCAAkC;YACrC,OAAO,CAAC,iCAAiC,IAAI,KAAK,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,IAA0B,EAC1B,aAA0B,EAAE;QAE5B,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,UAAU,EAAE,QAAQ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modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts index 66f2713f62..22ac51edbe 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class BlockScope extends ScopeBase { +export declare class BlockScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: BlockScope['upper'], block: BlockScope['block']); } -export { BlockScope }; //# sourceMappingURL=BlockScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map index 4a9d37ee8c..591ab324b6 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,cAAc,EACvB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,cAAc,EACvB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map index c014e70ca3..b9b294990d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map @@ -1 +1 @@ -{"version":3,"file":"BlockScope.js","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"BlockScope.js","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts index 59532d2382..5d4474f44b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class CatchScope extends ScopeBase { +export declare class CatchScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: CatchScope['upper'], block: CatchScope['block']); } -export { CatchScope }; //# sourceMappingURL=CatchScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map index a8a7834163..87c09cf706 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CatchScope.d.ts","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CatchScope.d.ts","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map index 0ead4562be..363047faa3 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map @@ -1 +1 @@ -{"version":3,"file":"CatchScope.js","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"CatchScope.js","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts index a646736334..e8341f1143 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassFieldInitializerScope extends ScopeBase { +export declare class ClassFieldInitializerScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassFieldInitializerScope['upper'], block: ClassFieldInitializerScope['block']); } -export { ClassFieldInitializerScope }; //# sourceMappingURL=ClassFieldInitializerScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map index d10ba96749..821c2e874a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassFieldInitializerScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,0BAA2B,SAAQ,SAAS,CAChD,SAAS,CAAC,qBAAqB,EAE/B,QAAQ,CAAC,UAAU,EACnB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAC/C,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAU7C;AAED,OAAO,EAAE,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassFieldInitializerScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,0BAA2B,SAAQ,SAAS,CACvD,SAAS,CAAC,qBAAqB,EAE/B,QAAQ,CAAC,UAAU,EACnB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAC/C,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAU7C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map index 6f517d6780..68ff654b7d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassFieldInitializerScope.js","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,0BAA2B,SAAQ,qBAKxC;IACC,YACE,YAA0B,EAC1B,UAA+C,EAC/C,KAA0C;QAE1C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,qBAAqB,EAC/B,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;IACJ,CAAC;CACF;AAEQ,gEAA0B"} \ No newline at end of file +{"version":3,"file":"ClassFieldInitializerScope.js","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,0BAA2B,SAAQ,qBAK/C;IACC,YACE,YAA0B,EAC1B,UAA+C,EAC/C,KAA0C;QAE1C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,qBAAqB,EAC/B,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;IACJ,CAAC;CACF;AAnBD,gEAmBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts index c31a3364e8..2b054b9c2b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassScope extends ScopeBase { +export declare class ClassScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassScope['upper'], block: ClassScope['block']); } -export { ClassScope }; //# sourceMappingURL=ClassScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map index de93ece0f8..94a4ddfc38 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map index 2728afb123..89dddb68f0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassScope.js","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"ClassScope.js","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts index 7d7e81b089..bc9f59163e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassStaticBlockScope extends ScopeBase { +export declare class ClassStaticBlockScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassStaticBlockScope['upper'], block: ClassStaticBlockScope['block']); } -export { ClassStaticBlockScope }; //# sourceMappingURL=ClassStaticBlockScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map index 7a2ed823c0..948e08863a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassStaticBlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,qBAAsB,SAAQ,SAAS,CAC3C,SAAS,CAAC,gBAAgB,EAC1B,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAC1C,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC;CAIxC;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassStaticBlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,qBAAsB,SAAQ,SAAS,CAClD,SAAS,CAAC,gBAAgB,EAC1B,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAC1C,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC;CAIxC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map index fdfdc3a2fa..176ce990fb 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassStaticBlockScope.js","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,qBAAsB,SAAQ,qBAInC;IACC,YACE,YAA0B,EAC1B,UAA0C,EAC1C,KAAqC;QAErC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5E,CAAC;CACF;AAEQ,sDAAqB"} \ No newline at end of file +{"version":3,"file":"ClassStaticBlockScope.js","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,qBAAsB,SAAQ,qBAI1C;IACC,YACE,YAA0B,EAC1B,UAA0C,EAC1C,KAAqC;QAErC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5E,CAAC;CACF;AAZD,sDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts index 6d35e6ec9b..06f13d1074 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ConditionalTypeScope extends ScopeBase { +export declare class ConditionalTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ConditionalTypeScope['upper'], block: ConditionalTypeScope['block']); } -export { ConditionalTypeScope }; //# sourceMappingURL=ConditionalTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map index 296425aa54..7c287437a2 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ConditionalTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,oBAAqB,SAAQ,SAAS,CAC1C,SAAS,CAAC,eAAe,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,oBAAoB,CAAC,OAAO,CAAC,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC;CAIvC;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ConditionalTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,oBAAqB,SAAQ,SAAS,CACjD,SAAS,CAAC,eAAe,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,oBAAoB,CAAC,OAAO,CAAC,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map index 8288f23b92..5ef3e1ad70 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ConditionalTypeScope.js","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,oBAAqB,SAAQ,qBAIlC;IACC,YACE,YAA0B,EAC1B,UAAyC,EACzC,KAAoC;QAEpC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;CACF;AAEQ,oDAAoB"} \ No newline at end of file +{"version":3,"file":"ConditionalTypeScope.js","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,oBAAqB,SAAQ,qBAIzC;IACC,YACE,YAA0B,EAC1B,UAAyC,EACzC,KAAoC;QAEpC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;CACF;AAZD,oDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts index ed2f22451d..bc73314d14 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ForScope extends ScopeBase { +export declare class ForScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ForScope['upper'], block: ForScope['block']); } -export { ForScope }; //# sourceMappingURL=ForScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map index b4ee2161d9..c551db147d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ForScope.d.ts","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,QAAS,SAAQ,SAAS,CAC9B,SAAS,CAAC,GAAG,EACb,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,YAAY,EACzE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,EAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;CAI3B;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ForScope.d.ts","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,QAAS,SAAQ,SAAS,CACrC,SAAS,CAAC,GAAG,EACb,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,YAAY,EACzE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,EAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;CAI3B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map index 97f1b25da0..e2bb92b16a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ForScope.js","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,QAAS,SAAQ,qBAItB;IACC,YACE,YAA0B,EAC1B,UAA6B,EAC7B,KAAwB;QAExB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;CACF;AAEQ,4BAAQ"} \ No newline at end of file +{"version":3,"file":"ForScope.js","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,QAAS,SAAQ,qBAI7B;IACC,YACE,YAA0B,EAC1B,UAA6B,EAC7B,KAAwB;QAExB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;CACF;AAZD,4BAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts index 2f5044cad5..2c2b9725f5 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts @@ -3,9 +3,8 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionExpressionNameScope extends ScopeBase { +export declare class FunctionExpressionNameScope extends ScopeBase { readonly functionExpressionScope: true; constructor(scopeManager: ScopeManager, upperScope: FunctionExpressionNameScope['upper'], block: FunctionExpressionNameScope['block']); } -export { FunctionExpressionNameScope }; //# sourceMappingURL=FunctionExpressionNameScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map index ba95ba4d27..838709a334 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionExpressionNameScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,2BAA4B,SAAQ,SAAS,CACjD,SAAS,CAAC,sBAAsB,EAChC,QAAQ,CAAC,kBAAkB,EAC3B,KAAK,CACN;IACC,SAAgB,uBAAuB,EAAE,IAAI,CAAC;gBAE5C,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAChD,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC;CAiB9C;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionExpressionNameScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,2BAA4B,SAAQ,SAAS,CACxD,SAAS,CAAC,sBAAsB,EAChC,QAAQ,CAAC,kBAAkB,EAC3B,KAAK,CACN;IACC,SAAgB,uBAAuB,EAAE,IAAI,CAAC;gBAE5C,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAChD,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC;CAiB9C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map index 30d1e1b42c..1e92e2aed7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionExpressionNameScope.js","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":";;;AAKA,8CAAuD;AACvD,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,2BAA4B,SAAQ,qBAIzC;IACiB,uBAAuB,CAAO;IAC9C,YACE,YAA0B,EAC1B,UAAgD,EAChD,KAA2C;QAE3C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,sBAAsB,EAChC,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;QACF,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,CACnB,KAAK,CAAC,EAAE,EACR,IAAI,mCAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAC5C,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACtC,CAAC;CACF;AAEQ,kEAA2B"} \ No newline at end of file +{"version":3,"file":"FunctionExpressionNameScope.js","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":";;;AAKA,8CAAuD;AACvD,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,2BAA4B,SAAQ,qBAIhD;IACiB,uBAAuB,CAAO;IAC9C,YACE,YAA0B,EAC1B,UAAgD,EAChD,KAA2C;QAE3C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,sBAAsB,EAChC,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;QACF,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,CACnB,KAAK,CAAC,EAAE,EACR,IAAI,mCAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAC5C,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACtC,CAAC;CACF;AA1BD,kEA0BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts index f1bf5e115d..756781030b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts @@ -5,9 +5,8 @@ import type { Variable } from '../variable'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionScope extends ScopeBase { +export declare class FunctionScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: FunctionScope['upper'], block: FunctionScope['block'], isMethodDefinition: boolean); protected isValidResolution(ref: Reference, variable: Variable): boolean; } -export { FunctionScope }; //# sourceMappingURL=FunctionScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map index c0dca2c780..e705440c81 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,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,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAC7B,kBAAkB,EAAE,OAAO;IAuB7B,SAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO;CAiBzE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map index a96b318f12..ad727d9054 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionScope.js","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,aAAc,SAAQ,qBAS3B;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B,EAC7B,kBAA2B;QAE3B,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,QAAQ,EAClB,UAAU,EACV,KAAK,EACL,kBAAkB,CACnB,CAAC;QAEF,oDAAoD;QACpD,wDAAwD;QACxD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;YAC/D,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,iGAAiG;IACjG,kBAAkB;IAClB,iFAAiF;IACjF,sBAAsB;IACtB,yBAAyB;IACzB,QAAQ;IACE,iBAAiB,CAAC,GAAc,EAAE,QAAkB;QAC5D,0EAA0E;QAC1E,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAElD,iDAAiD;QACjD,OAAO,CAAC,CACN,CACE,QAAQ,CAAC,KAAK,KAAK,IAAI;YACvB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,IAAI,0CAA0C;YACjF,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CACvD,CAAC,+BAA+B;SAClC,CAAC;IACJ,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"FunctionScope.js","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,aAAc,SAAQ,qBASlC;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B,EAC7B,kBAA2B;QAE3B,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,QAAQ,EAClB,UAAU,EACV,KAAK,EACL,kBAAkB,CACnB,CAAC;QAEF,oDAAoD;QACpD,wDAAwD;QACxD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;YAC/D,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,iGAAiG;IACjG,kBAAkB;IAClB,iFAAiF;IACjF,sBAAsB;IACtB,yBAAyB;IACzB,QAAQ;IACE,iBAAiB,CAAC,GAAc,EAAE,QAAkB;QAC5D,0EAA0E;QAC1E,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAElD,iDAAiD;QACjD,OAAO,CAAC,CACN,CACE,QAAQ,CAAC,KAAK,KAAK,IAAI;YACvB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,IAAI,0CAA0C;YACjF,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CACvD,CAAC,+BAA+B;SAClC,CAAC;IACJ,CAAC;CACF;AAtDD,sCAsDC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts index 5cdeb57fa8..717884455e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionTypeScope extends ScopeBase { +export declare class FunctionTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: FunctionTypeScope['upper'], block: FunctionTypeScope['block']); } -export { FunctionTypeScope }; //# sourceMappingURL=FunctionTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map index 540d46bbab..072a4d30c9 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,iBAAkB,SAAQ,SAAS,CACvC,SAAS,CAAC,YAAY,EACpB,QAAQ,CAAC,0BAA0B,GACnC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,+BAA+B,GACxC,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,iBAAiB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC;CAIpC;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,iBAAkB,SAAQ,SAAS,CAC9C,SAAS,CAAC,YAAY,EACpB,QAAQ,CAAC,0BAA0B,GACnC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,+BAA+B,GACxC,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,iBAAiB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC;CAIpC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map index 30f3ddeddd..7461d5f311 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionTypeScope.js","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,iBAAkB,SAAQ,qBAQ/B;IACC,YACE,YAA0B,EAC1B,UAAsC,EACtC,KAAiC;QAEjC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;CACF;AAEQ,8CAAiB"} \ No newline at end of file +{"version":3,"file":"FunctionTypeScope.js","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,iBAAkB,SAAQ,qBAQtC;IACC,YACE,YAA0B,EAC1B,UAAsC,EACtC,KAAiC;QAEjC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;CACF;AAhBD,8CAgBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts index 7895720c67..e3208ab74c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts @@ -4,7 +4,7 @@ import type { ImplicitLibVariableOptions } from '../variable'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class GlobalScope extends ScopeBase { close(scopeManager: ScopeManager): Scope | null; defineImplicitVariable(name: string, options: ImplicitLibVariableOptions): void; } -export { GlobalScope }; //# sourceMappingURL=GlobalScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map index 89400338d2..2d12f38360 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"GlobalScope.d.ts","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,0BAA0B,EAAY,MAAM,aAAa,CAAC;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,OAAO;AAChB;;GAEG;AACH,IAAI,CACL;IAEC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAQvB;gBAEU,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;IAS5D,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;IAwB/C,sBAAsB,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,0BAA0B,GAClC,IAAI;CASR;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"GlobalScope.d.ts","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,0BAA0B,EAAY,MAAM,aAAa,CAAC;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,OAAO;AAChB;;GAEG;AACH,IAAI,CACL;IAEC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAQvB;gBAEU,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;IAS5D,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;IAwB/C,sBAAsB,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,0BAA0B,GAClC,IAAI;CASR"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map index 4ba16c7cbd..d77475b3fd 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map @@ -1 +1 @@ -{"version":3,"file":"GlobalScope.js","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,sCAAmC;AACnC,qGAAkG;AAClG,0CAAkD;AAClD,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAOzB;IACC,8FAA8F;IAC7E,QAAQ,CAQvB;IAEF,YAAY,YAA0B,EAAE,KAA2B;QACjE,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC1D,IAAI,CAAC,QAAQ,GAAG;YACd,gBAAgB,EAAE,EAAE;YACpB,GAAG,EAAE,IAAI,GAAG,EAAoB;YAChC,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;IAEM,KAAK,CAAC,YAA0B;QAC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OAAmC;QAEnC,IAAI,CAAC,cAAc,CACjB,IAAI,8BAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAC5C,IAAI,CAAC,GAAG,EACR,IAAI,CAAC,SAAS,EACd,IAAI,EACJ,IAAI,CACL,CAAC;IACJ,CAAC;CACF;AAhED,kCAgEC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts index b8ee01c03a..bd70905441 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class MappedTypeScope extends ScopeBase { +export declare class MappedTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: MappedTypeScope['upper'], block: MappedTypeScope['block']); } -export { MappedTypeScope }; //# sourceMappingURL=MappedTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map index 2bb0eb7416..1e146e3be6 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MappedTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,eAAgB,SAAQ,SAAS,CACrC,SAAS,CAAC,UAAU,EACpB,QAAQ,CAAC,YAAY,EACrB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,eAAe,CAAC,OAAO,CAAC,EACpC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;CAIlC;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"MappedTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,eAAgB,SAAQ,SAAS,CAC5C,SAAS,CAAC,UAAU,EACpB,QAAQ,CAAC,YAAY,EACrB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,eAAe,CAAC,OAAO,CAAC,EACpC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;CAIlC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map index a8fd910173..6e1733ba47 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"MappedTypeScope.js","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,eAAgB,SAAQ,qBAI7B;IACC,YACE,YAA0B,EAC1B,UAAoC,EACpC,KAA+B;QAE/B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACF;AAEQ,0CAAe"} \ No newline at end of file +{"version":3,"file":"MappedTypeScope.js","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,eAAgB,SAAQ,qBAIpC;IACC,YACE,YAA0B,EAC1B,UAAoC,EACpC,KAA+B;QAE/B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACF;AAZD,0CAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts index ac537d891f..d80d5860b7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ModuleScope extends ScopeBase { +export declare class ModuleScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ModuleScope['upper'], block: ModuleScope['block']); } -export { ModuleScope }; //# sourceMappingURL=ModuleScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map index f32436c2a7..39572ce39c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC;gBAE1E,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,OAAO,EAChB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map index 984b690cc3..bfe209feaa 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ModuleScope.js","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAAoD;IAC5E,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"ModuleScope.js","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts index 73cc9eea91..b67b14a7b1 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts @@ -16,6 +16,5 @@ import type { TSEnumScope } from './TSEnumScope'; import type { TSModuleScope } from './TSModuleScope'; import type { TypeScope } from './TypeScope'; import type { WithScope } from './WithScope'; -type Scope = BlockScope | CatchScope | ClassFieldInitializerScope | ClassScope | ClassStaticBlockScope | ConditionalTypeScope | ForScope | FunctionExpressionNameScope | FunctionScope | FunctionTypeScope | GlobalScope | MappedTypeScope | ModuleScope | SwitchScope | TSEnumScope | TSModuleScope | TypeScope | WithScope; -export type { Scope }; +export type Scope = BlockScope | CatchScope | ClassFieldInitializerScope | ClassScope | ClassStaticBlockScope | ConditionalTypeScope | ForScope | FunctionExpressionNameScope | FunctionScope | FunctionTypeScope | GlobalScope | MappedTypeScope | ModuleScope | SwitchScope | TSEnumScope | TSModuleScope | TypeScope | WithScope; //# sourceMappingURL=Scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map index 40a584fae9..d7cda2782a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../src/scope/Scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,KAAK,KAAK,GACN,UAAU,GACV,UAAU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,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,KAAK,GACb,UAAU,GACV,UAAU,GACV,0BAA0B,GAC1B,UAAU,GACV,qBAAqB,GACrB,oBAAoB,GACpB,QAAQ,GACR,2BAA2B,GAC3B,aAAa,GACb,iBAAiB,GACjB,WAAW,GACX,eAAe,GACf,WAAW,GACX,WAAW,GACX,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts index 0f605fa4e3..a243c79b0a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts @@ -11,7 +11,7 @@ import { Reference, ReferenceFlag } from '../referencer/Reference'; import { Variable } from '../variable'; import { ScopeType } from './ScopeType'; type VariableScope = FunctionScope | GlobalScope | ModuleScope | TSModuleScope; -declare abstract class ScopeBase { +export declare abstract class ScopeBase { #private; /** * A unique ID for this instance - primarily used to help debugging and testing @@ -94,5 +94,5 @@ declare abstract class ScopeBase { +export declare class SwitchScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: SwitchScope['upper'], block: SwitchScope['block']); } -export { SwitchScope }; //# sourceMappingURL=SwitchScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map index 17f5e86f24..035d6aee0c 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SwitchScope.d.ts","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,eAAe,EACxB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"SwitchScope.d.ts","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,eAAe,EACxB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map index cb5fe27c72..74f2eaabdf 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map @@ -1 +1 @@ -{"version":3,"file":"SwitchScope.js","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAIzB;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"SwitchScope.js","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts index 38c09ea99a..026aeedc7f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TSEnumScope extends ScopeBase { +export declare class TSEnumScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TSEnumScope['upper'], block: TSEnumScope['block']); } -export { TSEnumScope }; //# sourceMappingURL=TSEnumScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map index 3f6d4862f3..dac52dce78 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map index c438ce55b3..020ec236f7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumScope.js","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAIzB;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"TSEnumScope.js","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts index 386180a056..76c49e3997 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TSModuleScope extends ScopeBase { +export declare class TSModuleScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TSModuleScope['upper'], block: TSModuleScope['block']); } -export { TSModuleScope }; //# sourceMappingURL=TSModuleScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map index e16892b218..beda39237f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,aAAc,SAAQ,SAAS,CACnC,SAAS,CAAC,QAAQ,EAClB,QAAQ,CAAC,mBAAmB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC;CAIhC;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,aAAc,SAAQ,SAAS,CAC1C,SAAS,CAAC,QAAQ,EAClB,QAAQ,CAAC,mBAAmB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC;CAIhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map index 330396c4ae..665d5eccca 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleScope.js","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,aAAc,SAAQ,qBAI3B;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B;QAE7B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"TSModuleScope.js","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,aAAc,SAAQ,qBAIlC;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B;QAE7B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;CACF;AAZD,sCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts index bde4d53605..25163260ec 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TypeScope extends ScopeBase { +export declare class TypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TypeScope['upper'], block: TypeScope['block']); } -export { TypeScope }; //# sourceMappingURL=TypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map index 9efd512aa0..838d87322b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,SAAU,SAAQ,SAAS,CAC/B,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,sBAAsB,GAAG,QAAQ,CAAC,sBAAsB,EACjE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAI5B;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,SAAU,SAAQ,SAAS,CACtC,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,sBAAsB,GAAG,QAAQ,CAAC,sBAAsB,EACjE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAI5B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map index 74272f4281..5cdfa4859b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeScope.js","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,SAAU,SAAQ,qBAIvB;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;CACF;AAEQ,8BAAS"} \ No newline at end of file +{"version":3,"file":"TypeScope.js","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,SAAU,SAAQ,qBAI9B;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;CACF;AAZD,8BAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts index 1eaa485441..3743b5d678 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts @@ -3,9 +3,8 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class WithScope extends ScopeBase { +export declare class WithScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: WithScope['upper'], block: WithScope['block']); close(scopeManager: ScopeManager): Scope | null; } -export { WithScope }; //# sourceMappingURL=WithScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map index a2cc41d809..5eeba33835 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"WithScope.d.ts","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,SAAU,SAAQ,SAAS,CAC/B,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,aAAa,EACtB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;IAI3B,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;CAShD;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"WithScope.d.ts","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,SAAU,SAAQ,SAAS,CACtC,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,aAAa,EACtB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;IAI3B,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;CAShD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map index 567a872a37..c7c2b66a7d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map @@ -1 +1 @@ -{"version":3,"file":"WithScope.js","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":";;;AAKA,sCAAmC;AACnC,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,SAAU,SAAQ,qBAIvB;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;IACD,KAAK,CAAC,YAA0B;QAC9B,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACnC,CAAC;QACD,IAAA,eAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AAEQ,8BAAS"} \ No newline at end of file +{"version":3,"file":"WithScope.js","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":";;;AAKA,sCAAmC;AACnC,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,SAAU,SAAQ,qBAI9B;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;IACD,KAAK,CAAC,YAA0B;QAC9B,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACnC,CAAC;QACD,IAAA,eAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AArBD,8BAqBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts index fd5e08bec4..059713cab8 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts @@ -2,9 +2,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { VariableBase } from './VariableBase'; /** * ESLint defines global variables using the eslint-scope Variable class - * This is declared her for consumers to use + * This is declared here for consumers to use */ -declare class ESLintScopeVariable extends VariableBase { +export declare class ESLintScopeVariable extends VariableBase { /** * Written to by ESLint. * If this key exists, this variable is a global variable added by ESLint. @@ -30,5 +30,4 @@ declare class ESLintScopeVariable extends VariableBase { */ eslintExplicitGlobalComments?: TSESTree.Comment[]; } -export { ESLintScopeVariable }; //# sourceMappingURL=ESLintScopeVariable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map index b544931c64..0890facb8d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ESLintScopeVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,cAAM,mBAAoB,SAAQ,YAAY;IAC5C;;;;;OAKG;IACI,SAAS,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAE7D;;;;OAIG;IACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;CAC1D;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ESLintScopeVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IACnD;;;;;OAKG;IACI,SAAS,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAE7D;;;;OAIG;IACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;CAC1D"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js index d36def70d5..022968e983 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js @@ -4,7 +4,7 @@ exports.ESLintScopeVariable = void 0; const VariableBase_1 = require("./VariableBase"); /** * ESLint defines global variables using the eslint-scope Variable class - * This is declared her for consumers to use + * This is declared here for consumers to use */ class ESLintScopeVariable extends VariableBase_1.VariableBase { /** diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map index 973b731493..e28f9b9525 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map @@ -1 +1 @@ -{"version":3,"file":"ESLintScopeVariable.js","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":";;;AAEA,iDAA8C;AAE9C;;;GAGG;AACH,MAAM,mBAAoB,SAAQ,2BAAY;IAC5C;;;;;OAKG;IACI,SAAS,CAAW,CAAC,+DAA+D;IAE3F;;;;OAIG;IACI,oBAAoB,CAAW;IAEtC;;;OAGG;IACI,2BAA2B,CAA2B;IAE7D;;;;OAIG;IACI,4BAA4B,CAAsB;CAC1D;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ESLintScopeVariable.js","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":";;;AAEA,iDAA8C;AAE9C;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,2BAAY;IACnD;;;;;OAKG;IACI,SAAS,CAAW,CAAC,+DAA+D;IAE3F;;;;OAIG;IACI,oBAAoB,CAAW;IAEtC;;;OAGG;IACI,2BAA2B,CAA2B;IAE7D;;;;OAIG;IACI,4BAA4B,CAAsB;CAC1D;AA5BD,kDA4BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts index 79eef8fcaa..eee628ec11 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts @@ -1,7 +1,7 @@ import type { Scope } from '../scope'; import type { Variable } from './Variable'; import { ESLintScopeVariable } from './ESLintScopeVariable'; -interface ImplicitLibVariableOptions { +export interface ImplicitLibVariableOptions { readonly eslintImplicitGlobalSetting?: ESLintScopeVariable['eslintImplicitGlobalSetting']; readonly isTypeVariable?: boolean; readonly isValueVariable?: boolean; @@ -10,7 +10,7 @@ interface ImplicitLibVariableOptions { /** * An variable implicitly defined by the TS Lib */ -declare class ImplicitLibVariable extends ESLintScopeVariable implements Variable { +export declare class ImplicitLibVariable extends ESLintScopeVariable implements Variable { /** * `true` if the variable is valid in a type context, false otherwise */ @@ -21,5 +21,4 @@ declare class ImplicitLibVariable extends ESLintScopeVariable implements Variabl readonly isValueVariable: boolean; constructor(scope: Scope, name: string, { eslintImplicitGlobalSetting, isTypeVariable, isValueVariable, writeable, }: ImplicitLibVariableOptions); } -export { ImplicitLibVariable, type ImplicitLibVariableOptions }; //# sourceMappingURL=ImplicitLibVariable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map index 2eb2db9046..1fc7925e38 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitLibVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,UAAU,0BAA0B;IAClC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;IAC1F,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AACH,cAAM,mBAAoB,SAAQ,mBAAoB,YAAW,QAAQ;IACvE;;OAEG;IACH,SAAgB,cAAc,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,SAAgB,eAAe,EAAE,OAAO,CAAC;gBAGvC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACV,EAAE,0BAA0B;CAShC;AAED,OAAO,EAAE,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImplicitLibVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;IAC1F,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,mBACX,SAAQ,mBACR,YAAW,QAAQ;IAEnB;;OAEG;IACH,SAAgB,cAAc,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,SAAgB,eAAe,EAAE,OAAO,CAAC;gBAGvC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACV,EAAE,0BAA0B;CAShC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map index 3149b8bbc2..ac84e32cb4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitLibVariable.js","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAS5D;;GAEG;AACH,MAAM,mBAAoB,SAAQ,yCAAmB;IACnD;;OAEG;IACa,cAAc,CAAU;IAExC;;OAEG;IACa,eAAe,CAAU;IAEzC,YACE,KAAY,EACZ,IAAY,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACkB;QAE7B,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,KAAK,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,KAAK,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC;QACpC,IAAI,CAAC,2BAA2B;YAC9B,2BAA2B,IAAI,UAAU,CAAC;IAC9C,CAAC;CACF;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ImplicitLibVariable.js","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAS5D;;GAEG;AACH,MAAa,mBACX,SAAQ,yCAAmB;IAG3B;;OAEG;IACa,cAAc,CAAU;IAExC;;OAEG;IACa,eAAe,CAAU;IAEzC,YACE,KAAY,EACZ,IAAY,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACkB;QAE7B,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,KAAK,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,KAAK,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC;QACpC,IAAI,CAAC,2BAA2B;YAC9B,2BAA2B,IAAI,UAAU,CAAC;IAC9C,CAAC;CACF;AA/BD,kDA+BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts index 83754b17f8..64d4625371 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts @@ -2,7 +2,7 @@ import { VariableBase } from './VariableBase'; /** * A Variable represents a locally scoped identifier. These include arguments to functions. */ -declare class Variable extends VariableBase { +export declare class Variable extends VariableBase { /** * `true` if the variable is valid in a type context, false otherwise * @public @@ -14,5 +14,4 @@ declare class Variable extends VariableBase { */ get isValueVariable(): boolean; } -export { Variable }; //# sourceMappingURL=Variable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map index 9b56c4f476..9263ad44cd 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,cAAM,QAAS,SAAQ,YAAY;IACjC;;;OAGG;IACH,IAAW,cAAc,IAAI,OAAO,CAOnC;IAED;;;OAGG;IACH,IAAW,eAAe,IAAI,OAAO,CAOpC;CACF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,qBAAa,QAAS,SAAQ,YAAY;IACxC;;;OAGG;IACH,IAAW,cAAc,IAAI,OAAO,CAOnC;IAED;;;OAGG;IACH,IAAW,eAAe,IAAI,OAAO,CAOpC;CACF"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map index ba7671440d..efafcd91fb 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map @@ -1 +1 @@ -{"version":3,"file":"Variable.js","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;GAEG;AACH,MAAM,QAAS,SAAQ,2BAAY;IACjC;;;OAGG;IACH,IAAW,cAAc;QACvB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,IAAW,eAAe;QACxB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACzD,CAAC;CACF;AAEQ,4BAAQ"} \ No newline at end of file +{"version":3,"file":"Variable.js","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,2BAAY;IACxC;;;OAGG;IACH,IAAW,cAAc;QACvB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,IAAW,eAAe;QACxB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACzD,CAAC;CACF;AA1BD,4BA0BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts index c74c7a386e..0efe6e4c6f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts @@ -2,7 +2,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Definition } from '../definition'; import type { Reference } from '../referencer/Reference'; import type { Scope } from '../scope'; -declare class VariableBase { +export declare class VariableBase { /** * A unique ID for this instance - primarily used to help debugging and testing */ @@ -40,5 +40,4 @@ declare class VariableBase { readonly scope: Scope; constructor(name: string, scope: Scope); } -export { VariableBase }; //# sourceMappingURL=VariableBase.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map index 02d49843fe..182e39838e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VariableBase.d.ts","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMtC,cAAM,YAAY;IAChB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAM;IACxC;;;OAGG;IACI,UAAU,UAAS;IAC1B;;;;OAIG;IACH,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAM;IACxD;;;OAGG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7C;;OAEG;IACH,SAAgB,KAAK,EAAE,KAAK,CAAC;gBAEjB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;CAIvC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"VariableBase.d.ts","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMtC,qBAAa,YAAY;IACvB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAM;IACxC;;;OAGG;IACI,UAAU,UAAS;IAC1B;;;;OAIG;IACH,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAM;IACxD;;;OAGG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7C;;OAEG;IACH,SAAgB,KAAK,EAAE,KAAK,CAAC;gBAEjB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map index 2bcb51cd69..8832d78110 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map @@ -1 +1 @@ -{"version":3,"file":"VariableBase.js","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":";;;AAMA,8BAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAM,YAAY;IAChB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;;OAGG;IACa,IAAI,GAAiB,EAAE,CAAC;IACxC;;;OAGG;IACI,UAAU,GAAG,KAAK,CAAC;IAC1B;;;;OAIG;IACa,WAAW,GAA0B,EAAE,CAAC;IACxD;;;OAGG;IACa,IAAI,CAAS;IAC7B;;;;OAIG;IACa,UAAU,GAAgB,EAAE,CAAC;IAC7C;;OAEG;IACa,KAAK,CAAQ;IAE7B,YAAY,IAAY,EAAE,KAAY;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAEQ,oCAAY"} \ No newline at end of file +{"version":3,"file":"VariableBase.js","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":";;;AAMA,8BAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAa,YAAY;IACvB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;;OAGG;IACa,IAAI,GAAiB,EAAE,CAAC;IACxC;;;OAGG;IACI,UAAU,GAAG,KAAK,CAAC;IAC1B;;;;OAIG;IACa,WAAW,GAA0B,EAAE,CAAC;IACxD;;;OAGG;IACa,IAAI,CAAS;IAC7B;;;;OAIG;IACa,UAAU,GAAgB,EAAE,CAAC;IAC7C;;OAEG;IACa,KAAK,CAAQ;IAE7B,YAAY,IAAY,EAAE,KAAY;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AA1CD,oCA0CC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json index b79986a1fd..451de1fb7b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.20.0", + "version": "8.21.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/typescript-estree": "8.21.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts index 3c00ec4011..a7848bc101 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts @@ -1624,6 +1624,7 @@ export declare interface TSImportEqualsRequireDeclaration extends TSImportEquals export declare interface TSImportType extends BaseNode { type: AST_NODE_TYPES.TSImportType; argument: TypeNode; + attributes: ImportAttribute[]; qualifier: EntityName | null; typeArguments: TSTypeParameterInstantiation | null; } diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map index 92d884b7f4..472fe95a9a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ast-spec.d.ts","sourceRoot":"","sources":["../../src/generated/ast-spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;gDAQgD;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,CAAC,OAAO,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEvE,MAAM,CAAC,OAAO,MAAM,gBAAgB,GAChC,4BAA4B,GAC5B,+BAA+B,CAAC;AAEpC,MAAM,CAAC,OAAO,WAAW,4BACvB,SAAQ,kCAAkC;IAC1C,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,+BACvB,SAAQ,qCAAqC;IAC7C,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,eAAgB,SAAQ,QAAQ;IACvD,IAAI,EAAE,cAAc,CAAC,eAAe,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,CAAC,UAAU,GAAG,aAAa,GAAG,IAAI,CAAC,EAAE,CAAC;CACjD;AAED,MAAM,CAAC,OAAO,WAAW,YAAa,SAAQ,QAAQ;IACpD,IAAI,EAAE,cAAc,CAAC,YAAY,CAAC;IAClC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,oBAAoB,GAAG,IAAI,CAAC,EAAE,CAAC;IAC1C,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC9C;AAED,MAAM,CAAC,OAAO,WAAW,uBAAwB,SAAQ,QAAQ;IAC/D,IAAI,EAAE,cAAc,CAAC,uBAAuB,CAAC;IAC7C,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,cAAc,GAAG,UAAU,CAAC;IAClC,UAAU,EAAE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,WAAW,aAAc,SAAQ,QAAQ;IACrD,IAAI,EAAE,cAAc,CAAC,aAAa,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,eAAgB,SAAQ,QAAQ;IACvD,IAAI,EAAE,cAAc,CAAC,eAAe,CAAC;IACrC,QAAQ,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,OAAO,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts index d007fce8ee..462a129521 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts @@ -1,3 +1,2 @@ -type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; -export { Lib }; +export type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; //# sourceMappingURL=lib.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts.map index 51e8fd1347..0285f18c02 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/lib.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,KAAK,GAAG,GACJ,YAAY,GACZ,mBAAmB,GACnB,KAAK,GACL,mBAAmB,GACnB,cAAc,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,QAAQ,GACR,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,KAAK,GACL,YAAY,GACZ,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC;AAEzB,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,GA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,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts index bf09742335..cb2f5eb3a0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts @@ -1,15 +1,15 @@ import type { Program } from 'typescript'; import type { Lib } from './lib'; -type DebugLevel = boolean | ('eslint' | 'typescript' | 'typescript-eslint')[]; -type CacheDurationSeconds = number | 'Infinity'; -type EcmaVersion = 'latest' | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | undefined; -type SourceTypeClassic = 'module' | 'script'; -type SourceType = 'commonjs' | SourceTypeClassic; -type JSDocParsingMode = 'all' | 'none' | 'type-info'; +export type DebugLevel = boolean | ('eslint' | 'typescript' | 'typescript-eslint')[]; +export type CacheDurationSeconds = number | 'Infinity'; +export type EcmaVersion = 'latest' | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | undefined; +export type SourceTypeClassic = 'module' | 'script'; +export type SourceType = 'commonjs' | SourceTypeClassic; +export type JSDocParsingMode = 'all' | 'none' | 'type-info'; /** * Granular options to configure the project service. */ -interface ProjectServiceOptions { +export interface ProjectServiceOptions { /** * Globs of files to allow running with the default project compiler options * despite not being matched by the project service. @@ -33,7 +33,7 @@ interface ProjectServiceOptions { */ maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING?: number; } -interface ParserOptions { +export interface ParserOptions { [additionalProperties: string]: unknown; cacheLifetime?: { glob?: CacheDurationSeconds; @@ -65,5 +65,4 @@ interface ParserOptions { tsconfigRootDir?: string; warnOnUnsupportedTypeScriptVersion?: boolean; } -export type { CacheDurationSeconds, DebugLevel, EcmaVersion, JSDocParsingMode, ParserOptions, ProjectServiceOptions, SourceType, }; //# sourceMappingURL=parser-options.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map index ff550366f0..2c9b2b945a 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,KAAK,UAAU,GAAG,OAAO,GAAG,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AAC9E,KAAK,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEhD,KAAK,WAAW,GACZ,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,KAAK,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;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AE,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C;AAED,YAAY,EACV,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,qBAAqB,EACrB,UAAU,GACX,CAAC"} \ No newline at end of file +{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QA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IACZ,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts index 56266642bb..6342feaa21 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts @@ -43,7 +43,7 @@ declare module './generated/ast-spec' { parent: TSESTree.ClassDeclaration | TSESTree.ClassExpression; } interface ImportAttribute { - parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration; + parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration | TSESTree.TSImportType; } interface ImportDefaultSpecifier { parent: TSESTree.ImportDeclaration; diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map index 975e02e10b..7c84c962a4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-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,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,aAAa;QACrB,MAAM,EAAE,QAAQ,CAAC,mBAAmB,CAAC;KACtC;IAED,UAAU,mBAAmB;QAC3B,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;KAC/B;IAED,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IACD,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,eAAe;QACvB,MAAM,EACF,QAAQ,CAAC,WAAW,GACpB,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,0BAA0B,CAAC;KACzC;IAED,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;IACD,UAAU,uCAAuC;QAC/C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;CACF;AAED,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map index ac9ead2c95..521de1b968 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkOA,iEAAiD"} \ No newline at end of file +{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmOA,iEAAiD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json index 4fe9a03c9c..703d1f50b7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.20.0", + "version": "8.21.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map index 92463b3cb9..e81beb6ca5 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EACV,aAAa,EACb,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,EAAE,MAAM,aAAa,CAAC;AAmCtE,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C;AAED;;;;GAIG;AAC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CAAC,qBAAqB,CAAiB;IAEvD;;;;;OAKG;gBACS,GAAG,EAAE,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,gBAAgB;IAsZ1D,OAAO,CAAC,qBAAqB;IAsB7B,OAAO,CAAC,oCAAoC;IAe5C;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;IAiC9B,OAAO,CAAC,sBAAsB;IA4C9B;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAIpB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;IAsB7B;;;;;OAKG;IACH,OAAO,CAAC,gDAAgD;IAexD;;;;OAIG;IACH,OAAO,CAAC,kDAAkD;IAmB1D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAgBzB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IA8BjB,OAAO,CAAC,uBAAuB;IAQ/B,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,+BAA+B;IAiDvC;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,sBAAsB;IAoC9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IA69EnB,OAAO,CAAC,UAAU;IAelB,cAAc,IAAI,QAAQ,CAAC,OAAO;IAIlC;;;;OAIG;IACH,OAAO,CAAC,UAAU;IA0FlB;;;OAGG;IACH,OAAO,CAAC,UAAU;IAiFlB,UAAU,IAAI,OAAO;IAOrB;;OAEG;IACH,OAAO,CAAC,uBAAuB;CAYhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js index 97be4cd01a..cf92970632 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js @@ -2236,6 +2236,7 @@ class Converter { type: ts_estree_1.AST_NODE_TYPES.TSImportType, range, argument: this.convertChild(node.argument), + attributes: this.convertImportAttributes(node.attributes), qualifier: this.convertChild(node.qualifier), typeArguments: node.typeArguments ? this.convertTypeArgumentsToTypeParameterInstantiation(node.typeArguments, node) diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map index 2bc40eeac6..2af8e92249 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map @@ -1 +1 @@ -{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,oCAQC;AAjED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAUjC,iDAA6D;AAC7D,6CA2BsB;AACtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACZ,YAAY,GAAG,KAAK,CAAC;IACZ,GAAG,CAAgB;IACnB,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IACtC,OAAO,CAAmB;IAC1B,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IAEvD;;;;;OAKG;IACH,YAAY,GAAkB,EAAE,OAA0B;QACxD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AAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBAClD,MAAM,EAAE,IAAI;gBACZ,UAAU,EAAE,EAAE;aACf,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,UAAU;QACR,OAAO;YACL,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAa,EACb,MAA4B;QAE5B,IACE,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,sBAAsB;YACnC,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAhhHD,8BAghHC"} \ No newline at end of file +{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,oCAQC;AAjED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAUjC,iDAA6D;AAC7D,6CA2BsB;AACtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACZ,YAAY,GAAG,KAAK,CAAC;IACZ,GAAG,CAAgB;IACnB,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;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a,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC1D,UAAU,EAAE,EAAE;gBACd,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBAClD,MAAM,EAAE,IAAI;gBACZ,UAAU,EAAE,EAAE;aACf,EACD,YAAY,EACZ,YAAY,EACZ,IAAI,CACL,CACF,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,UAAU;QACR,OAAO;YACL,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAa,EACb,MAA4B;QAE5B,IACE,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,sBAAsB;YACnC,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAjhHD,8BAihHC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts index 851c720346..6e3710592e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts @@ -5,9 +5,9 @@ interface DirectoryStructureHost { interface CachedDirectoryStructureHost extends DirectoryStructureHost { readDirectory(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[]; } -interface WatchCompilerHostOfConfigFile extends ts.WatchCompilerHostOfConfigFile { +export interface WatchCompilerHostOfConfigFile extends ts.WatchCompilerHostOfConfigFile { extraFileExtensions?: readonly ts.FileExtensionInfo[]; onCachedDirectoryStructureHostCreate(host: CachedDirectoryStructureHost): void; } -export type { WatchCompilerHostOfConfigFile }; +export {}; //# sourceMappingURL=WatchCompilerHostOfConfigFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map index 4e776d40fd..41de9ea568 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"WatchCompilerHostOfConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/WatchCompilerHostOfConfigFile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,UAAU,sBAAsB;IAC9B,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,aAAa,CACX,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,6BAA6B,CAAC,CAAC,SAAS,EAAE,CAAC,cAAc,CACjE,SAAQ,EAAE,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,SAAS,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACtD,oCAAoC,CAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI,CAAC;CACT;AAED,YAAY,EAAE,6BAA6B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"WatchCompilerHostOfConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/WatchCompilerHostOfConfigFile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,UAAU,sBAAsB;IAC9B,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,aAAa,CACX,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,MAAM,WAAW,6BAA6B,CAAC,CAAC,SAAS,EAAE,CAAC,cAAc,CACxE,SAAQ,EAAE,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,SAAS,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACtD,oCAAoC,CAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI,CAAC;CACT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts index b39194d9f9..425fd1c541 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts @@ -3,6 +3,5 @@ import type { ASTAndDefiniteProgram } from './shared'; /** * @returns Returns a new source file and program corresponding to the linted code */ -declare function createIsolatedProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram; -export { createIsolatedProgram }; +export declare function createIsolatedProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram; //# sourceMappingURL=createIsolatedProgram.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map index 9721538360..a642dd6c4e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map index 65755f2023..9a8d3bc258 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CA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G,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,sDAsEC;AAtFD,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAgB,qBAAqB,CACnC,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts index 8de2229c28..858038d5d3 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts @@ -1,7 +1,6 @@ import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndNoProgram } from './shared'; -declare function createSourceFile(parseSettings: ParseSettings): ts.SourceFile; -declare function createNoProgram(parseSettings: ParseSettings): ASTAndNoProgram; -export { createNoProgram, createSourceFile }; +export declare function createSourceFile(parseSettings: ParseSettings): ts.SourceFile; +export declare function createNoProgram(parseSettings: ParseSettings): ASTAndNoProgram; //# sourceMappingURL=createSourceFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map index 3477afc9b1..781e086708 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoB5E;AAED,wBAAgB,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAK7E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js index 5f85d5fcd6..b377b9b7e0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.createNoProgram = createNoProgram; exports.createSourceFile = createSourceFile; +exports.createNoProgram = createNoProgram; const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map index ec6eceb29f..393e941052 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CS,0CAAe;AAAE,4CAAgB;AA1C1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,4CAoBC;AAED,0CAKC;AAxCD,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAgB,gBAAgB,CAAC,aAA4B;IAC3D,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAgB,eAAe,CAAC,aAA4B;IAC1D,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts index ffccd56071..83e168927d 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts @@ -5,6 +5,5 @@ import type * as ts from 'typescript/lib/tsserverlibrary'; * @param configFile the path to the tsconfig.json file, relative to `projectDirectory` * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()` */ -declare function getParsedConfigFile(tsserver: typeof ts, configFile: string, projectDirectory?: string): ts.ParsedCommandLine; -export { getParsedConfigFile }; +export declare function getParsedConfigFile(tsserver: typeof ts, configFile: string, projectDirectory?: string): ts.ParsedCommandLine; //# sourceMappingURL=getParsedConfigFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map index 17d807b732..0b7cb3cfaa 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAO1D;;;;;GAKG;AACH,iBAAS,mBAAmB,CAC1B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CA6CtB;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAO1D;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CA6CtB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map index d1cc099d36..e0b07f77cd 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgES,kDAAmB;AA9D5B,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAS,mBAAmB,CAC1B,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,iHAAiH;IACjH,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CACf,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,CAAC,EACrE,OAAO,CACR;QACH,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,kDAiDC;AA5DD,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,iHAAiH;IACjH,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CACf,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,CAAC,EACrE,OAAO,CACR;QACH,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts index e532e6a569..0142b47487 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts @@ -1,5 +1,4 @@ import * as ts from 'typescript'; -declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind; -declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant; -export { getLanguageVariant, getScriptKind }; +export declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind; +export declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant; //# sourceMappingURL=getScriptKind.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map index 4b80634b6d..787037cf04 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8BpE;AAED,iBAAS,kBAAkB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,eAAe,CAYzE;AAED,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8B3E;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,EAAE,CAAC,UAAU,GACxB,EAAE,CAAC,eAAe,CAYpB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js index 7b2c6883d5..998d0a05e2 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getLanguageVariant = getLanguageVariant; exports.getScriptKind = getScriptKind; +exports.getLanguageVariant = getLanguageVariant; const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); function getScriptKind(filePath, jsx) { diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map index 3caf147a85..a4f6e343b0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDS,gDAAkB;AAAE,sCAAa;AAjD1C,0DAA6B;AAC7B,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE,CAAC;QAClB,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zB,8HAA8H;IAC9H,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QACxB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG;YACpB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts index 621d9bd645..f79e898f5b 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts @@ -4,12 +4,11 @@ import type { ParseSettings } from '../parseSettings'; * Clear all of the parser caches. * This should only be used in testing to ensure the parser is clean between tests. */ -declare function clearWatchCaches(): void; +export declare function clearWatchCaches(): void; /** * Calculate project environments using options provided by consumer and paths from config * @param parseSettings Internal settings for parsing the file * @returns The programs corresponding to the supplied tsconfig paths */ -declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; -export { clearWatchCaches, getWatchProgramsForProjects }; +export declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; //# sourceMappingURL=getWatchProgramsForProjects.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map index f6f43cff32..a3eae89975 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC;AA4DD;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index 84f1c53502..f079475f57 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8eS,4CAAgB;AAAE,kEAA2B;AA9etD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,gFAAgF,CACjF,CAAC;AAEF;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,KAAK,EAAE,CAAC;IACvC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IAC5B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,kCAAkC,CAAC,KAAK,EAAE,CAAC;AAC7C,CAAC;AAED,SAAS,iBAAiB,CACxB,WAAqD;IAErD,OAAO,CACL,QAAgB,EAChB,QAAgC,EAChB,EAAE;QAClB,MAAM,kBAAkB,GAAG,IAAA,6BAAoB,EAAC,QAAQ,CAAC,CAAC;QAC1D,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qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,4CAOC;AAiED,kEAgHC;AAjPD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,gFAAgF,CACjF,CAAC;AAEF;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,E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AC;IACxB,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,0FAA0F,EAC1F,QAAQ,CACT,CAAC;IAEF,MAAM,aAAa,GAAG,cAAc,CAAC,gBAAgB,EAAE,CAAC;IACxD,6FAA6F;IAC7F,MAAM,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,iBAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,sGAAsG;QACtG,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts index 7ec5bda213..0b7b607beb 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts @@ -1,33 +1,32 @@ import type { Program } from 'typescript'; import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; -interface ASTAndNoProgram { +export interface ASTAndNoProgram { ast: ts.SourceFile; program: null; } -interface ASTAndDefiniteProgram { +export interface ASTAndDefiniteProgram { ast: ts.SourceFile; program: ts.Program; } -type ASTAndProgram = ASTAndDefiniteProgram | ASTAndNoProgram; +export type ASTAndProgram = ASTAndDefiniteProgram | ASTAndNoProgram; /** * Compiler options required to avoid critical functionality issues */ -declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions; -declare const DEFAULT_EXTRA_FILE_EXTENSIONS: Set; -declare function createDefaultCompilerOptionsFromExtra(parseSettings: ParseSettings): ts.CompilerOptions; -type CanonicalPath = { +export declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions; +export declare const DEFAULT_EXTRA_FILE_EXTENSIONS: Set; +export declare function createDefaultCompilerOptionsFromExtra(parseSettings: ParseSettings): ts.CompilerOptions; +export type CanonicalPath = { __brand: unknown; } & string; -declare function getCanonicalFileName(filePath: string): CanonicalPath; -declare function ensureAbsolutePath(p: string, tsconfigRootDir: string): string; -declare function canonicalDirname(p: CanonicalPath): CanonicalPath; -declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; +export declare function getCanonicalFileName(filePath: string): CanonicalPath; +export declare function ensureAbsolutePath(p: string, tsconfigRootDir: string): string; +export declare function canonicalDirname(p: CanonicalPath): CanonicalPath; +export declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; /** * Hash content for compare content. * @param content hashed contend * @returns hashed result */ -declare function createHash(content: string): string; -export { type ASTAndDefiniteProgram, type ASTAndNoProgram, type ASTAndProgram, canonicalDirname, type CanonicalPath, CORE_COMPILER_OPTIONS, createDefaultCompilerOptionsFromExtra, createHash, DEFAULT_EXTRA_FILE_EXTENSIONS, ensureAbsolutePath, getAstFromProgram, getCanonicalFileName, }; +export declare function createHash(content: string): string; //# sourceMappingURL=shared.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map index d79943b559..3a695359e7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,UAAU,eAAe;IACvB,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,UAAU,qBAAqB;IAC7B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,KAAK,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAE7D;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQ/B,CAAC;AAYF,QAAA,MAAM,6BAA6B,aASjC,CAAC;AAEH,iBAAS,qCAAqC,CAC5C,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,KAAK,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC;AAUnD,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7D;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAItE;AAED,iBAAS,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEzD;AAmBD,iBAAS,iBAAiB,CACxB,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAO3C;AAED,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,qBAAqB,EACrB,qCAAqC,EACrC,UAAU,EACV,6BAA6B,EAC7B,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,GACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQtC,CAAC;AAYF,eAAO,MAAM,6BAA6B,aASxC,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC;AAU1D,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAMpE;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAI7E;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEhE;AAmBD,wBAAgB,iBAAiB,CAC/B,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAOlD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js index 92c226606c..dbebe863bc 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js @@ -37,18 +37,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_EXTRA_FILE_EXTENSIONS = exports.CORE_COMPILER_OPTIONS = void 0; -exports.canonicalDirname = canonicalDirname; exports.createDefaultCompilerOptionsFromExtra = createDefaultCompilerOptionsFromExtra; -exports.createHash = createHash; +exports.getCanonicalFileName = getCanonicalFileName; exports.ensureAbsolutePath = ensureAbsolutePath; +exports.canonicalDirname = canonicalDirname; exports.getAstFromProgram = getAstFromProgram; -exports.getCanonicalFileName = getCanonicalFileName; +exports.createHash = createHash; const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); /** * Compiler options required to avoid critical functionality issues */ -const CORE_COMPILER_OPTIONS = { +exports.CORE_COMPILER_OPTIONS = { noEmit: true, // required to avoid parse from causing emit to occur /** * Flags required to make no-unused-vars work @@ -56,17 +56,16 @@ const CORE_COMPILER_OPTIONS = { noUnusedLocals: true, noUnusedParameters: true, }; -exports.CORE_COMPILER_OPTIONS = CORE_COMPILER_OPTIONS; /** * Default compiler options for program generation */ const DEFAULT_COMPILER_OPTIONS = { - ...CORE_COMPILER_OPTIONS, + ...exports.CORE_COMPILER_OPTIONS, allowJs: true, allowNonTsExtensions: true, checkJs: true, }; -const DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ +exports.DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ ts.Extension.Cjs, ts.Extension.Cts, ts.Extension.Js, @@ -76,7 +75,6 @@ const DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ ts.Extension.Ts, ts.Extension.Tsx, ]); -exports.DEFAULT_EXTRA_FILE_EXTENSIONS = DEFAULT_EXTRA_FILE_EXTENSIONS; function createDefaultCompilerOptionsFromExtra(parseSettings) { if (parseSettings.debugLevel.has('typescript')) { return { diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map index 82e5639b29..a8215979c8 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;AAED,SAAS,iBAAiB,CACxB,cAAuB,EACvB,QAAgB;IAEhB,MAAM,GAAG,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEnD,oFAAoF;IACpF,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,sFAWC;AAaD,oDAMC;AAED,gDAIC;AAED,4CAEC;AAmBD,8CAcC;AAOD,gCAOC;AAxID,0DAA6B;AAC7B,+CAAiC;AAcjC;;GAEG;AACU,QAAA,qBAAqB,GAAuB;IACvD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,6BAAqB;IACxB,OAAO,EAAE,IAAI;IACb,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;CACd,CAAC;AAEW,QAAA,6BAA6B,GAAG,IAAI,GA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AAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts index 273ca7f5ae..e8eb86ae67 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts @@ -1,13 +1,12 @@ import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndDefiniteProgram } from './shared'; -declare function useProvidedPrograms(programInstances: Iterable, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; +export declare function useProvidedPrograms(programInstances: Iterable, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; /** * Utility offered by parser to help consumers construct their own program instance. * * @param configFile the path to the tsconfig.json file, relative to `projectDirectory` * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()` */ -declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program; -export { createProgramFromConfigFile, useProvidedPrograms }; +export declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program; //# sourceMappingURL=useProvidedPrograms.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index 616e2b3996..99308f06e7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 97f572daf0..9eb9bd746e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.createProgramFromConfigFile = createProgramFromConfigFile; exports.useProvidedPrograms = useProvidedPrograms; +exports.createProgramFromConfigFile = createProgramFromConfigFile; const debug_1 = __importDefault(require("debug")); const path = __importStar(require("node:path")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index 7a4afe6a57..e89f0477ad 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsES,kEAA2B;AAAE,kDAAmB;AAtEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE,CACzE,CAAC;AAEF,SAAS,mBAAmB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,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,kDAuCC;AAQD,kEAOC;AApED,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE,CACzE,CAAC;AAEF,SAAgB,mBAAmB,CACjC,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAgB,2BAA2B,CACzC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts index eacc856ce0..a2c01042da 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts @@ -1,19 +1,18 @@ import type * as ts from 'typescript'; import type { ParserServices, TSESTreeOptions } from './parser-options'; import type { TSESTree } from './ts-estree'; -declare function clearProgramCache(): void; -declare function clearDefaultProjectMatchedFiles(): void; -type AST = (T['comment'] extends true ? { +export declare function clearProgramCache(): void; +export declare function clearDefaultProjectMatchedFiles(): void; +export type AST = (T['comment'] extends true ? { comments: TSESTree.Comment[]; } : {}) & (T['tokens'] extends true ? { tokens: TSESTree.Token[]; } : {}) & TSESTree.Program; -interface ParseAndGenerateServicesResult { +export interface ParseAndGenerateServicesResult { ast: AST; services: ParserServices; } -declare function parse(code: string, options?: T): AST; -declare function clearParseAndGenerateServicesCalls(): void; -declare function parseAndGenerateServices(code: string | ts.SourceFile, tsestreeOptions: T): ParseAndGenerateServicesResult; -export { type AST, clearDefaultProjectMatchedFiles, clearParseAndGenerateServicesCalls, clearProgramCache, parse, parseAndGenerateServices, type ParseAndGenerateServicesResult, }; +export declare function parse(code: string, options?: T): AST; +export declare function clearParseAndGenerateServicesCalls(): void; +export declare function parseAndGenerateServices(code: string | ts.SourceFile, tsestreeOptions: T): ParseAndGenerateServicesResult; //# sourceMappingURL=parser.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map index 1a972b963e..7e286db134 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,KAAK,EACV,cAAc,EAEd,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA4B5C,iBAAS,iBAAiB,IAAI,IAAI,CAEjC;AAGD,iBAAS,+BAA+B,IAAI,IAAI,CAE/C;AA8CD,KAAK,GAAG,CAAC,CAAC,SAAS,eAAe,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,IAAI,GAC5D;IAAE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAA;CAAE,GAChC,EAAE,CAAC,GACL,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,IAAI,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAA;CAAE,GAAG,EAAE,CAAC,GAC9D,QA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,CAAC,KAAK,EAAE,CAAA;CAAE,GAAG,EAAE,CAAC,GAC9D,QAAQ,CAAC,OAAO,CAAC;AAGnB,MAAM,WAAW,8BAA8B,CAAC,CAAC,SAAS,eAAe;IACvE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAMD,wBAAgB,KAAK,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,EAC/D,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,CAAC,GACV,GAAG,CAAC,CAAC,CAAC,CAGR;AA4CD,wBAAgB,kCAAkC,IAAI,IAAI,CAEzD;AAED,wBAAgB,wBAAwB,CACtC,CAAC,SAAS,eAAe,GAAG,eAAe,EAE3C,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,eAAe,EAAE,CAAC,GACjB,8BAA8B,CAAC,CAAC,CAAC,CA+GnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js index b0f5638199..847bfef93f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js @@ -3,10 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.clearDefaultProjectMatchedFiles = clearDefaultProjectMatchedFiles; -exports.clearParseAndGenerateServicesCalls = clearParseAndGenerateServicesCalls; exports.clearProgramCache = clearProgramCache; +exports.clearDefaultProjectMatchedFiles = clearDefaultProjectMatchedFiles; exports.parse = parse; +exports.clearParseAndGenerateServicesCalls = clearParseAndGenerateServicesCalls; exports.parseAndGenerateServices = parseAndGenerateServices; const debug_1 = __importDefault(require("debug")); const ast_converter_1 = require("./ast-converter"); diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map index 30ae23a8a0..85a94f4497 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map @@ -1 +1 @@ -{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;AAwRE,0EAA+B;AAC/B,gFAAkC;AAClC,8CAAiB;AACjB,sBAAK;AACL,4DAAwB;AA1R1B,kDAA0B;AAW1B,mDAA+C;AAC/C,uCAAyC;AACzC,kFAA+E;AAC/E,gFAA6E;AAC7E,wEAG2C;AAC3C,8FAA2F;AAC3F,8EAG8C;AAC9C,iEAA8D;AAC9D,6EAA0E;AAC1E,iFAAkF;AAClF,iFAA8E;AAE9E,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,4CAA4C,CAAC,CAAC;AAEhE;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAA6B,CAAC;AAC9D,SAAS,iBAAiB;IACxB,gBAAgB,CAAC,KAAK,EAAE,CAAC;AAC3B,CAAC;AAED,MAAM,0BAA0B,GAAG,IAAI,GAAG,EAAU,CAAC;AACrD,SAAS,+BAA+B;IACtC,0BAA0B,CAAC,KAAK,EAAE,CAAC;AACrC,CAAC;AAED;;;;GAIG;AACH,SAAS,gBAAgB,CACvB,aAA4B,EAC5B,sBAA+B;IAE/B,IAAI,aAAa,CAAC,cAAc,EAAE,CAAC;QACjC,MAAM,kBAAkB,GAAG,IAAA,2DAA4B,EACrD,aAAa,CAAC,cAAc,EAC5B,aAAa,EACb,sBAAsB,EACtB,0BAA0B,CAC3B,CAAC;QACF,IAAI,kBAAkB,EAAE,CAAC;YACvB,OAAO,k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,CACvE,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,aAAa,CAAC,SAAS,IAAI,eAAe,CAAC,QAAQ,EAAE,CAAC;QACxD,6BAA6B,CAAC,eAAe,CAAC,QAAQ,CAAC;YACrD,CAAC,6BAA6B,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACvE,CAAC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GACpB,aAAa,CAAC,SAAS;QACvB,eAAe,CAAC,QAAQ;QACxB,6BAA6B,CAAC,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC;QACzD,CAAC,CAAC,IAAA,6CAAqB,EAAC,aAAa,CAAC;QACtC,CAAC,CAAC,gBAAgB,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC;IAE9D;;;OAGG;IACH,MAAM,sBAAsB,GAC1B,OAAO,aAAa,CAAC,gBAAgB,KAAK,SAAS;QACjD,CAAC,CAAC,aAAa,CAAC,gBAAgB;QAChC,CAAC,CAAC,IAAI,CAAC;IAEX,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAA,4BAAY,EACtC,GAAG,EACH,aAAa,EACb,sBAAsB,CACvB,CAAC;IAEF;;;OAGG;IACH,IAAI,OAAO,IAAI,aAAa,CAAC,2CAA2C,EAAE,CAAC;QACzE,MAAM,KAAK,GAAG,IAAA,+DAAgC,EAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAC7D,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,IAAA,sBAAY,EAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAED;;OAEG;IACH,OAAO;QACL,GAAG,EAAE,MAAgB;QACrB,QAAQ,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE,OAAO,CAAC;KACjD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts index 0b8b65a3b5..bffa079e65 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts @@ -1,5 +1,5 @@ declare const versions: readonly ["4.7", "4.8", "4.9", "5.0", "5.1", "5.2", "5.3", "5.4"]; type Versions = typeof versions extends ArrayLike ? U : never; -declare const typescriptVersionIsAtLeast: Record; -export { typescriptVersionIsAtLeast }; +export declare const typescriptVersionIsAtLeast: Record; +export {}; //# sourceMappingURL=version-check.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map index 9c6001ebc3..602feb172f 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,QAAQ,mEASJ,CAAC;AACX,KAAK,QAAQ,GAAG,OAAO,QAAQ,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAEvE,QAAA,MAAM,0BAA0B,EAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAKnE,OAAO,EAAE,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,QAAQ,mEASJ,CAAC;AACX,KAAK,QAAQ,GAAG,OAAO,QAAQ,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAEvE,eAAO,MAAM,0BAA0B,EAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js index 2e93b9efe5..6c8d1d38eb 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js @@ -51,9 +51,8 @@ const versions = [ '5.3', '5.4', ]; -const typescriptVersionIsAtLeast = {}; -exports.typescriptVersionIsAtLeast = typescriptVersionIsAtLeast; +exports.typescriptVersionIsAtLeast = {}; for (const version of versions) { - typescriptVersionIsAtLeast[version] = semverCheck(version); + exports.typescriptVersionIsAtLeast[version] = semverCheck(version); } //# sourceMappingURL=version-check.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map index 9690e042e2..e8ddbb640e 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map @@ -1 +1 @@ -{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGX,MAAM,0BAA0B,GAAG,EAA+B,CAAC;AAK1D,gEAA0B;AAJnC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,0BAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file +{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGE,QAAA,0BAA0B,GAAG,EAA+B,CAAC;AAC1E,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,kCAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json index 60bb84efdd..1fe1eb2792 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.20.0", + "version": "8.21.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts index 344a7c4259..1b6aad1744 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts @@ -1,4 +1,3 @@ import type { TSESTree } from '@typescript-eslint/types'; -declare const getKeys: (node: TSESTree.Node) => readonly string[]; -export { getKeys }; +export declare const getKeys: (node: TSESTree.Node) => readonly string[]; //# sourceMappingURL=get-keys.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map index 85407809df..8fdba2a7a4 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"get-keys.d.ts","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,QAAA,MAAM,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,SAAS,MAAM,EAAoB,CAAC;AAE5E,OAAO,EAAE,OAAO,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"get-keys.d.ts","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,eAAO,MAAM,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,SAAS,MAAM,EAC7C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js index 309b72b959..baf1c3e5b6 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js @@ -2,6 +2,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getKeys = void 0; const eslint_visitor_keys_1 = require("eslint-visitor-keys"); -const getKeys = eslint_visitor_keys_1.getKeys; -exports.getKeys = getKeys; +exports.getKeys = eslint_visitor_keys_1.getKeys; //# sourceMappingURL=get-keys.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map index 4a903fd8bc..59e3393500 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map @@ -1 +1 @@ -{"version":3,"file":"get-keys.js","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":";;;AAEA,6DAAiE;AAEjE,MAAM,OAAO,GAA+C,6BAAe,CAAC;AAEnE,0BAAO"} \ No newline at end of file +{"version":3,"file":"get-keys.js","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":";;;AAEA,6DAAiE;AAEpD,QAAA,OAAO,GAClB,6BAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts index 18e74ea3eb..97855608a7 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts @@ -1,4 +1,3 @@ -type VisitorKeys = Record; -declare const visitorKeys: VisitorKeys; -export { visitorKeys, type VisitorKeys }; +export type VisitorKeys = Record; +export declare const visitorKeys: VisitorKeys; //# sourceMappingURL=visitor-keys.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map index c4883d4c49..33cd6840e5 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"visitor-keys.d.ts","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":"AAIA,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;AA0QjE,QAAA,MAAM,WAAW,EAAE,WAAyD,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"visitor-keys.d.ts","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;AA0QxE,eAAO,MAAM,WAAW,EAAE,WACmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js index 77c96599be..2746b8cc68 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js @@ -191,6 +191,5 @@ const additionalKeys = { TSUnknownKeyword: [], TSVoidKeyword: [], }; -const visitorKeys = eslintVisitorKeys.unionWith(additionalKeys); -exports.visitorKeys = visitorKeys; +exports.visitorKeys = eslintVisitorKeys.unionWith(additionalKeys); //# sourceMappingURL=visitor-keys.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map index cb3c0e3b84..9ea1ec5547 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map @@ -1 +1 @@ -{"version":3,"file":"visitor-keys.js","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uEAAyD;AA4GzD;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM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/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json index 83119d5e9c..840dd66531 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.20.0", + "version": "8.21.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index 94e4605c38..58b3a95a20 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "8.20.0", + "version": "8.21.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -53,10 +53,10 @@ "typescript": ">=4.8.4 <5.8.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts index 07734d371e..182042be06 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +++ b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts @@ -97,6 +97,5 @@ export declare const readonlynessOptionsDefaults: ReadonlynessOptions; /** * Checks if the given type is readonly */ -declare function isTypeReadonly(program: ts.Program, type: ts.Type, options?: ReadonlynessOptions): boolean; -export { isTypeReadonly }; +export declare function isTypeReadonly(program: ts.Program, type: ts.Type, options?: ReadonlynessOptions): boolean; //# sourceMappingURL=isTypeReadonly.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map index e182f67835..e2749b0a3b 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isTypeReadonly.d.ts","sourceRoot":"","sources":["../src/isTypeReadonly.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAiBnE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACxC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAC3C;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASf,CAAC;AAExB,eAAO,MAAM,2BAA2B,EAAE,mBAGzC,CAAC;AAgSF;;GAEG;AACH,iBAAS,cAAc,CACrB,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,OAAO,GAAE,mBAAiD,GACzD,OAAO,CAKT;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"isTypeReadonly.d.ts","sourceRoot":"","sources":["../src/isTypeReadonly.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAiBnE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACxC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAC3C;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASf,CAAC;AAExB,eAAO,MAAM,2BAA2B,EAAE,mBAGzC,CAAC;AAgSF;;GAEG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,EAAE,CAAC,OAAO,EACnB,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,OAAO,GAAE,mBAAiD,GACzD,OAAO,CAKT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map index bce5ee8460..4d7b6a42ee 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map @@ -1 +1 @@ -{"version":3,"file":"isTypeReadonly.js","sourceRoot":"","sources":["../src/isTypeReadonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwVS,wCAAc;AAtVvB,oDAAuD;AACvD,sDAAwC;AACxC,+CAAiC;AAIjC,mDAA0D;AAC1D,iEAGgC;AAgBnB,QAAA,yBAAyB,GAAG;IACvC,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,KAAK,EAAE,kDAA2B;QAClC,sBAAsB,EAAE;YACtB,IAAI,EAAE,SAAS;SAChB;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,YAAY,CAAC;IACtB,CAAC;IAED,uDAAuD;IACvD,sCAAsC;IACtC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;QAChC,qCAA6B;IAC/B,CAAC;IAED,mCAAmC;IACnC,IACE,IAAI,CAAC,iBAAiB,EAAE,CAAC,MAAM,GAAG,CAAC;QACnC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,KAAK,CAAC,EACjC,CAAC;QACD,qCAA6B;IAC/B,CAAC;IAED,MAAM,eAAe,GAAG,0BAA0B,CAChD,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,IAAI,eAAe,qCAA6B,EAAE,CAAC;QACjD,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,gBAAgB,GAAG,oBAAoB,CAC3C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,0BAA0B,CAAC,IACzB,gBAAgB,qCAA6B,EAC7C,CAAC;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CACrB,OAAmB,EACnB,IAAa,EACb,UAA+B,mCAA2B;IAE1D,OAAO,CACL,sBAAsB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,CAAC;qCACpC,CACtB,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"isTypeReadonly.js","sourceRoot":"","sources":["../src/isTypeReadonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6UA,wCASC;AApVD,oDAAuD;AACvD,sDAAwC;AACxC,+CAAiC;AAIjC,mDAA0D;AAC1D,iEAGgC;AAgBnB,QAAA,yBAAyB,GAAG;IACvC,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,KAAK,EAAE,kDA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M,CAAC,CAAC,+BAAuB,CAAC,6BAAqB,CAAC;QAC3E,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,uDAAuD;IACvD,sCAAsC;IACtC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;QAChC,qCAA6B;IAC/B,CAAC;IAED,mCAAmC;IACnC,IACE,IAAI,CAAC,iBAAiB,EAAE,CAAC,MAAM,GAAG,CAAC;QACnC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,KAAK,CAAC,EACjC,CAAC;QACD,qCAA6B;IAC/B,CAAC;IAED,MAAM,eAAe,GAAG,0BAA0B,CAChD,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,IAAI,eAAe,qCAA6B,EAAE,CAAC;QACjD,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,gBAAgB,GAAG,oBAAoB,CAC3C,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,CACV,CAAC;IACF,0BAA0B,CAAC,IACzB,gBAAgB,qCAA6B,EAC7C,CAAC;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc,CAC5B,OAAmB,EACnB,IAAa,EACb,UAA+B,mCAA2B;IAE1D,OAAO,CACL,sBAAsB,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,CAAC;qCACpC,CACtB,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts index 3cd43b3021..c2fd035f22 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts +++ b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts @@ -1,5 +1,4 @@ import * as ts from 'typescript'; /*** Indicates whether identifiers require the use of quotation marks when accessing property definitions and dot notation. */ -declare function requiresQuoting(name: string, target?: ts.ScriptTarget): boolean; -export { requiresQuoting }; +export declare function requiresQuoting(name: string, target?: ts.ScriptTarget): boolean; //# sourceMappingURL=requiresQuoting.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map index 118fb3c4a8..faa85ea827 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"requiresQuoting.d.ts","sourceRoot":"","sources":["../src/requiresQuoting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,8HAA8H;AAC9H,iBAAS,eAAe,CACtB,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,EAAE,CAAC,YAAqC,GAC/C,OAAO,CAgBT;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"requiresQuoting.d.ts","sourceRoot":"","sources":["../src/requiresQuoting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,8HAA8H;AAC9H,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,EAAE,CAAC,YAAqC,GAC/C,OAAO,CAgBT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map index 3ed6242d3b..4b126d0c4b 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map @@ -1 +1 @@ -{"version":3,"file":"requiresQuoting.js","sourceRoot":"","sources":["../src/requiresQuoting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBS,0CAAe;AAvBxB,+CAAiC;AACjC,8HAA8H;AAC9H,SAAS,eAAe,CACtB,IAAY,EACZ,SAA0B,EAAE,CAAC,YAAY,CAAC,MAAM;IAEhD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACxC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;YACrD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"requiresQuoting.js","sourceRoot":"","sources":["../src/requiresQuoting.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,0CAmBC;AArBD,+CAAiC;AACjC,8HAA8H;AAC9H,SAAgB,eAAe,CAC7B,IAAY,EACZ,SAA0B,EAAE,CAAC,YAAY,CAAC,MAAM;IAEhD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACxC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;YACrD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts index 679109f24d..3a3f5e08c9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts @@ -1,4 +1,3 @@ -declare function createIdGenerator(): () => number; -declare function resetIds(): void; -export { createIdGenerator, resetIds }; +export declare function createIdGenerator(): () => number; +export declare function resetIds(): void; //# sourceMappingURL=ID.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map index 2c9c0fd0d8..62f8e82158 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,iBAAS,iBAAiB,IAAI,MAAM,MAAM,CAUzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,IAAI,MAAM,MAAM,CAUhD;AAED,wBAAgB,QAAQ,IAAI,IAAI,CAE/B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map index e880ddebc8..7bee3b4e1c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map @@ -1 +1 @@ -{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;AAmBS,8CAAiB;AAAE,4BAAQ;AAnBpC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;QAClB,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ;IACf,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;AAGA,8CAUC;AAED,4BAEC;AAjBD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAgB,iBAAiB;IAC/B,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;QAClB,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAED,SAAgB,QAAQ;IACtB,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts index f745bfb7f6..c7fc54a0ae 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts @@ -12,7 +12,7 @@ interface ScopeManagerOptions { /** * @see https://eslint.org/docs/latest/developer-guide/scope-manager-interface#scopemanager-interface */ -declare class ScopeManager { +export declare class ScopeManager { #private; currentScope: Scope | null; readonly declaredVariables: WeakMap; @@ -68,5 +68,5 @@ declare class ScopeManager { nestWithScope(node: WithScope['block']): WithScope; protected nestScope(scope: T): T; } -export { ScopeManager }; +export {}; //# sourceMappingURL=ScopeManager.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map index a94936521c..f543d9d31d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EACL,UAAU,EACV,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,WAAW,EAEX,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,EACT,SAAS,EACV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,UAAU,mBAAmB;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED;;GAEG;AACH,cAAM,YAAY;;IAGT,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAElC,SAAgB,iBAAiB,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IAEtE;;OAEG;IACI,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAEvC,SAAgB,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,E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E,qBAAqB,CAAC,OAAO,CAAC,GACnC,qBAAqB;IAOjB,wBAAwB,CAC7B,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GAClC,oBAAoB;IAOhB,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,QAAQ;IAK/C,+BAA+B,CACpC,IAAI,EAAE,2BAA2B,CAAC,OAAO,CAAC,GACzC,2BAA2B;IAOvB,iBAAiB,CACtB,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,EAC5B,kBAAkB,EAAE,OAAO,GAC1B,aAAa;IAOT,qBAAqB,CAC1B,IAAI,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAC/B,iBAAiB;IAKb,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAIxD,mBAAmB,CAAC,IAAI,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,eAAe;IAKpE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,iBAAiB,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa;IAK9D,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAKlD,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAOzD,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;CASlD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map index ab9bb2f9f7..03dcb0bd19 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map @@ -1 +1 @@ -{"version":3,"file":"ScopeManager.js","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":";;;AAKA,qCAAkC;AAClC,mCAkBiB;AACjB,mFAAgF;AAChF,yEAAsE;AAQtE;;GAEG;AACH,MAAM,YAAY;IACP,QAAQ,CAAsB;IAEhC,YAAY,CAAe;IAElB,iBAAiB,CAAqC;IAEtE;;OAEG;IACI,WAAW,CAAqB;IAEvB,WAAW,CAAkC;IAE7D;;;OAGG;IACa,MAAM,CAAU;IAEhC,YAAY,OAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,IAAI,OAAO,EAAE,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,iBAAiB,GAAG,IAAI,OAAO,EAAE,CAAC;IACzC,CAAC;IAEM,KAAK;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,cAAc;QACnB,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,KAAK,IAAI,CAAC;IAC7C,CAAC;IAEM,eAAe;QACpB,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,KAAK,IAAI,CAAC;IAC9C,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,KAAK,QAAQ,CAAC;IAC/C,CAAC;IAEM,qBAAqB;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAW,SAAS;QAClB,MAAM,SAAS,GAAG,IAAI,GAAG,EAAY,CAAC;QACtC,SAAS,OAAO,CAAC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.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts index 3cbb780560..907e239208 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts @@ -1,7 +1,7 @@ import type { Lib, SourceType, TSESTree } from '@typescript-eslint/types'; import type { ReferencerOptions } from './referencer'; import { ScopeManager } from './ScopeManager'; -interface AnalyzeOptions { +export interface AnalyzeOptions { /** * Known visitor keys. */ @@ -50,6 +50,5 @@ interface AnalyzeOptions { /** * Takes an AST and returns the analyzed scopes. */ -declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager; -export { analyze, type AnalyzeOptions }; +export declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager; //# sourceMappingURL=analyze.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map index a9e0c261f1..73c7381765 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,UAAU,cAAc;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAA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,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAaD;;GAEG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CA4Bd"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map index ccb257c555..301fe35a20 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;AAmHS,0BAAO;AAjHhB,kEAA8D;AAI9D,6CAA0C;AAC1C,iDAA8C;AA6D9C,MAAM,eAAe,GAA6B;IAChD,gBAAgB,EAAE,0BAAW;IAC7B,qBAAqB,EAAE,KAAK;IAC5B,YAAY,EAAE,KAAK;IACnB,aAAa,EAAE,KAAK;IACpB,eAAe,EAAE,IAAI;IACrB,SAAS,EAAE,OAAO;IAClB,GAAG,EAAE,CAAC,QAAQ,CAAC;IACf,UAAU,EAAE,QAAQ;CACrB,CAAC;AAEF;;GAEG;AACH,SAAS,OAAO,CACd,IAAmB,EACnB,eAAgC;IAEhC,MAAM,OAAO,GAA6B;QACxC,gBAAgB,EACd,eAAe,EAAE,gBAAgB,IAAI,eAAe,CAAC,gBAAgB;QACvE,qBAAqB,EAAE,KAAK;QAC5B,YAAY,EAAE,eAAe,EAAE,YAAY,IAAI,eAAe,CAAC,YAAY;QAC3E,aAAa,EACX,eAAe,EAAE,aAAa,IAAI,eAAe,CAAC,aAAa;QACj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QACvE,qBAAqB,EAAE,KAAK;QAC5B,YAAY,EAAE,eAAe,EAAE,YAAY,IAAI,eAAe,CAAC,YAAY;QAC3E,aAAa,EACX,eAAe,EAAE,aAAa,IAAI,eAAe,CAAC,aAAa;QACjE,eAAe,EACb,eAAe,EAAE,eAAe,IAAI,eAAe,CAAC,eAAe;QACrE,SAAS;QACP,oEAAoE;QACpE,eAAe,EAAE,SAAS,KAAK,SAAS;YACtC,CAAC,CAAC,eAAe,CAAC,SAAS;YAC3B,CAAC,CAAC,eAAe,CAAC,SAAS;QAC/B,GAAG,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC;QACvC,UAAU,EAAE,eAAe,EAAE,UAAU,IAAI,eAAe,CAAC,UAAU;KACtE,CAAC;IAEF,mCAAmC;IACnC,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAS,CAAC,CAAC;IAE3D,MAAM,YAAY,GAAG,IAAI,2BAAY,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,UAAU,GAAG,IAAI,uBAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAEzD,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEvB,OAAO,YAAY,CAAC;AACtB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts index bd40c9e22b..a9a0993acf 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts @@ -1,3 +1,2 @@ -declare function assert(value: unknown, message?: string): asserts value; -export { assert }; +export declare function assert(value: unknown, message?: string): asserts value; //# sourceMappingURL=assert.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map index 72f278dd6d..137bbfaf26 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,iBAAS,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAI/D;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAItE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map index 6ea638637a..58bb7ae0f9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map @@ -1 +1 @@ -{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;AAOS,wBAAM;AAPf,yDAAyD;AACzD,SAAS,MAAM,CAAC,KAAc,EAAE,OAAgB;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;AACA,wBAIC;AALD,yDAAyD;AACzD,SAAgB,MAAM,CAAC,KAAc,EAAE,OAAgB;IACrD,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts index 7fde46bd77..63179a90f9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class CatchClauseDefinition extends DefinitionBase { +export declare class CatchClauseDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.BindingName, node: CatchClauseDefinition['node']); } -export { CatchClauseDefinition }; //# sourceMappingURL=CatchClauseDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map index 41af006eaa..86b2a6fb7b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,qBAAsB,SAAQ,cAAc,CAChD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,qBAAsB,SAAQ,cAAc,CACvD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map index e86f2712ad..0324ed5fae 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,qBAAsB,SAAQ,+BAKnC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;CACF;AAEQ,sDAAqB"} \ No newline at end of file +{"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,qBAAsB,SAAQ,+BAK1C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;CACF;AAZD,sDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts index 507ba64603..3444c9c105 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ClassNameDefinition extends DefinitionBase { +export declare class ClassNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: ClassNameDefinition['node']); } -export { ClassNameDefinition }; //# sourceMappingURL=ClassNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map index f90e30b463..20a025016c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,mBAAoB,SAAQ,cAAc,CAC9C,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;CAGzE;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,mBAAoB,SAAQ,cAAc,CACrD,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;CAGzE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map index 75f3c2e82c..629465a7bf 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassNameDefinition.js","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,mBAAoB,SAAQ,+BAKjC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAiC;QACtE,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;CACF;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ClassNameDefinition.js","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,mBAAoB,SAAQ,+BAKxC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAiC;QACtE,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;CACF;AAZD,kDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts index 41329f3250..82dcbc7d83 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts @@ -9,6 +9,5 @@ import type { TSEnumNameDefinition } from './TSEnumNameDefinition'; import type { TSModuleNameDefinition } from './TSModuleNameDefinition'; import type { TypeDefinition } from './TypeDefinition'; import type { VariableDefinition } from './VariableDefinition'; -type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition; -export type { Definition }; +export type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition; //# sourceMappingURL=Definition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map index 98d0799a98..5b1588eeb7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,KAAK,UAAU,GACX,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC;AAEvB,YAAY,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,UAAU,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts index 962ffed4b5..9cddc0de63 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts @@ -1,6 +1,6 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { DefinitionType } from './DefinitionType'; -declare abstract class DefinitionBase { +export declare abstract class DefinitionBase { /** * A unique ID for this instance - primarily used to help debugging and testing */ @@ -31,5 +31,4 @@ declare abstract class DefinitionBase { +export declare class FunctionNameDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: FunctionNameDefinition['node']); } -export { FunctionNameDefinition }; //# sourceMappingURL=FunctionNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map index 7a955a55ec..17faaaa428 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EACzB,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EACzB,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map index 5a839e8f1d..ad602cb0c4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionNameDefinition.js","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAQpC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"FunctionNameDefinition.js","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAQ3C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAfD,wDAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts index 237f772794..18411a4c1b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ImplicitGlobalVariableDefinition extends DefinitionBase { +export declare class ImplicitGlobalVariableDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.BindingName, node: ImplicitGlobalVariableDefinition['node']); } -export { ImplicitGlobalVariableDefinition }; //# sourceMappingURL=ImplicitGlobalVariableDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map index 054541f7f9..c17e8486ae 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitGlobalVariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,gCAAiC,SAAQ,cAAc,CAC3D,cAAc,CAAC,sBAAsB,EACrC,QAAQ,CAAC,IAAI,EACb,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC;CAIjD;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImplicitGlobalVariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,gCAAiC,SAAQ,cAAc,CAClE,cAAc,CAAC,sBAAsB,EACrC,QAAQ,CAAC,IAAI,EACb,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC;CAIjD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map index 17dd5256de..8d6c3646bc 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitGlobalVariableDefinition.js","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,gCAAiC,SAAQ,+BAK9C;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAA0B,EAC1B,IAA8C;QAE9C,KAAK,CAAC,+BAAc,CAAC,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,4EAAgC"} \ No newline at end of file +{"version":3,"file":"ImplicitGlobalVariableDefinition.js","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,gCAAiC,SAAQ,+BAKrD;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAA0B,EAC1B,IAA8C;QAE9C,KAAK,CAAC,+BAAc,CAAC,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;CACF;AAfD,4EAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts index 7a5c456304..56dc95edf2 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts @@ -1,11 +1,10 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ImportBindingDefinition extends DefinitionBase { +export declare class ImportBindingDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSESTree.TSImportEqualsDeclaration, decl: TSESTree.TSImportEqualsDeclaration); constructor(name: TSESTree.Identifier, node: Exclude, decl: TSESTree.ImportDeclaration); } -export { ImportBindingDefinition }; //# sourceMappingURL=ImportBindingDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map index f53c0e3de8..25ac83b46c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImportBindingDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,uBAAwB,SAAQ,cAAc,CAClD,cAAc,CAAC,aAAa,EAC1B,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GACxB,QAAQ,CAAC,yBAAyB,EACpC,QAAQ,CAAC,iBAAiB,GAAG,QAAQ,CAAC,yBAAyB,EAC/D,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,QAAQ,CAAC,yBAAyB,EACxC,IAAI,EAAE,QAAQ,CAAC,yBAAyB;gBAGxC,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,OAAO,CACX,uBAAuB,CAAC,MAAM,CAAC,EAC/B,QAAQ,CAAC,yBAAyB,CACnC,EACD,IAAI,EAAE,QAAQ,CAAC,iBAAiB;CASnC;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImportBindingDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,uBAAwB,SAAQ,cAAc,CACzD,cAAc,CAAC,aAAa,EAC1B,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GACxB,QAAQ,CAAC,yBAAyB,EACpC,QAAQ,CAAC,iBAAiB,GAAG,QAAQ,CAAC,yBAAyB,EAC/D,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,QAAQ,CAAC,yBAAyB,EACxC,IAAI,EAAE,QAAQ,CAAC,yBAAyB;gBAGxC,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,OAAO,CACX,uBAAuB,CAAC,MAAM,CAAC,EAC/B,QAAQ,CAAC,yBAAyB,CACnC,EACD,IAAI,EAAE,QAAQ,CAAC,iBAAiB;CASnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map index c9c33078b1..8c41f75e50 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"ImportBindingDefinition.js","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,uBAAwB,SAAQ,+BAQrC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAe5C,YACE,IAAyB,EACzB,IAAqC,EACrC,IAAqE;QAErE,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;CACF;AAEQ,0DAAuB"} \ No newline at end of file +{"version":3,"file":"ImportBindingDefinition.js","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,uBAAwB,SAAQ,+BAQ5C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAe5C,YACE,IAAyB,EACzB,IAAqC,EACrC,IAAqE;QAErE,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;CACF;AAhCD,0DAgCC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts index 2c9dea1c22..3d6e459205 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class ParameterDefinition extends DefinitionBase { +export declare class ParameterDefinition extends DefinitionBase { /** * Whether the parameter definition is a part of a rest parameter. */ @@ -10,5 +10,4 @@ declare class ParameterDefinition extends DefinitionBase { +export declare class TSEnumMemberDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier | TSESTree.StringLiteral, node: TSEnumMemberDefinition['node']); } -export { TSEnumMemberDefinition }; //# sourceMappingURL=TSEnumMemberDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map index 3ad9cf7bf6..86e58b803e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumMemberDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,YAAY,EACrB,IAAI,EACJ,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAC7C;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EAClD,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAIvC;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumMemberDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,YAAY,EACrB,IAAI,EACJ,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAC7C;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EAClD,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map index 5589e2a96d..5efb7664a2 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumMemberDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAkD,EAClD,IAAoC;QAEpC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"TSEnumMemberDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAK3C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAkD,EAClD,IAAoC;QAEpC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAfD,wDAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts index 499a80739a..2e3617b721 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TSEnumNameDefinition extends DefinitionBase { +export declare class TSEnumNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSEnumNameDefinition['node']); } -export { TSEnumNameDefinition }; //# sourceMappingURL=TSEnumNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map index 1d43f9e06d..2687ea2f2a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,oBAAqB,SAAQ,cAAc,CAC/C,cAAc,CAAC,UAAU,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;CAG1E;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,oBAAqB,SAAQ,cAAc,CACtD,cAAc,CAAC,UAAU,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;CAG1E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map index 1308987548..468ca20952 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,oBAAqB,SAAQ,+BAKlC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAkC;QACvE,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;CACF;AAEQ,oDAAoB"} \ No newline at end of file +{"version":3,"file":"TSEnumNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,oBAAqB,SAAQ,+BAKzC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAkC;QACvE,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;CACF;AAZD,oDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts index 5b52afa938..750249a7b5 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TSModuleNameDefinition extends DefinitionBase { +export declare class TSModuleNameDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: TSModuleNameDefinition['node']); } -export { TSModuleNameDefinition }; //# sourceMappingURL=TSModuleNameDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map index bd6d85ca04..da414877e2 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSModuleNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,sBAAuB,SAAQ,cAAc,CACxD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;gBAEhC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;CAG5E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map index c0e5e3f66d..ee13ba31c4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"TSModuleNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,sBAAuB,SAAQ,+BAK3C;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF;AAZD,wDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts index 91158b6e0e..67d1085f5c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class TypeDefinition extends DefinitionBase { +export declare class TypeDefinition extends DefinitionBase { readonly isTypeDefinition = true; readonly isVariableDefinition = false; constructor(name: TSESTree.Identifier, node: TypeDefinition['node']); } -export { TypeDefinition }; //# sourceMappingURL=TypeDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map index 1c5f81733c..d780386665 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,cAAe,SAAQ,cAAc,CACzC,cAAc,CAAC,IAAI,EACjB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,eAAe,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,SAAS;gBAEjC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;CAGpE;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TypeDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,cAAe,SAAQ,cAAc,CAChD,cAAc,CAAC,IAAI,EACjB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,eAAe,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,SAAS;gBAEjC,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;CAGpE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map index 7dc70ad7fb..c24c8557d0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeDefinition.js","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,cAAe,SAAQ,+BAQ5B;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,KAAK,CAAC;IAE7C,YAAY,IAAyB,EAAE,IAA4B;QACjE,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;CACF;AAEQ,wCAAc"} \ No newline at end of file +{"version":3,"file":"TypeDefinition.js","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,cAAe,SAAQ,+BAQnC;IACiB,gBAAgB,GAAG,IAAI,CAAC;IACxB,oBAAoB,GAAG,KAAK,CAAC;IAE7C,YAAY,IAAyB,EAAE,IAA4B;QACjE,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;CACF;AAfD,wCAeC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts index 8626079252..200b9158f3 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts @@ -1,10 +1,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { DefinitionBase } from './DefinitionBase'; import { DefinitionType } from './DefinitionType'; -declare class VariableDefinition extends DefinitionBase { +export declare class VariableDefinition extends DefinitionBase { readonly isTypeDefinition = false; readonly isVariableDefinition = true; constructor(name: TSESTree.Identifier, node: VariableDefinition['node'], decl: TSESTree.VariableDeclaration); } -export { VariableDefinition }; //# sourceMappingURL=VariableDefinition.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map index dca9468057..7957c3fb86 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,kBAAmB,SAAQ,cAAc,CAC7C,cAAc,CAAC,QAAQ,EACvB,QAAQ,CAAC,kBAAkB,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,mBAAmB;CAIrC;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"VariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,kBAAmB,SAAQ,cAAc,CACpD,cAAc,CAAC,QAAQ,EACvB,QAAQ,CAAC,kBAAkB,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,QAAQ,CAAC,UAAU,CACpB;IACC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;gBAG1C,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,mBAAmB;CAIrC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map index 86801dcd2f..a819d08e24 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map @@ -1 +1 @@ -{"version":3,"file":"VariableDefinition.js","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,kBAAmB,SAAQ,+BAKhC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAyB,EACzB,IAAgC,EAChC,IAAkC;QAElC,KAAK,CAAC,+BAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;CACF;AAEQ,gDAAkB"} \ No newline at end of file +{"version":3,"file":"VariableDefinition.js","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAClD,qDAAkD;AAElD,MAAa,kBAAmB,SAAQ,+BAKvC;IACiB,gBAAgB,GAAG,KAAK,CAAC;IACzB,oBAAoB,GAAG,IAAI,CAAC;IAE5C,YACE,IAAyB,EACzB,IAAgC,EAChC,IAAkC;QAElC,KAAK,CAAC,+BAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;CACF;AAhBD,gDAgBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts index 56ef44536b..5f11238e95 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts @@ -1,4 +1,4 @@ -declare const lib: { +export declare const lib: { readonly decorators: Record; readonly 'decorators.legacy': Record; readonly dom: Record; @@ -105,5 +105,4 @@ declare const lib: { readonly 'webworker.importscripts': Record; readonly 'webworker.iterable': Record; }; -export { lib }; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map index 1508f374e8..b71009c2e3 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AA+GA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GC,CAAC;AAEX,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AA+GA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GN,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js index 67f08d3783..a9581668a6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js @@ -110,7 +110,7 @@ const webworker_1 = require("./webworker"); const webworker_asynciterable_1 = require("./webworker.asynciterable"); const webworker_importscripts_1 = require("./webworker.importscripts"); const webworker_iterable_1 = require("./webworker.iterable"); -const lib = { +exports.lib = { decorators: decorators_1.decorators, 'decorators.legacy': decorators_legacy_1.decorators_legacy, dom: dom_1.dom, @@ -217,5 +217,4 @@ const lib = { 'webworker.importscripts': webworker_importscripts_1.webworker_importscripts, 'webworker.iterable': webworker_iterable_1.webworker_iterable, }; -exports.lib = lib; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map index c58f9ae2e6..ed61d61b74 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAE3B,6CAA0C;AAC1C,2DAAwD;AACxD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,2DAAwD;AACxD,+CAA4C;AAC5C,yD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;IAC5C,eAAe,EAAE,6BAAa;IAC9B,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,mBAAmB,EAAE,qCAAiB;IACtC,aAAa,EAAE,yBAAW;IAC1B,aAAa,EAAE,yBAAW;IAC1B,iBAAiB,EAAE,iCAAe;IAClC,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,eAAe,EAAE,6BAAa;IAC9B,gBAAgB,EAAE,+BAAc;IAChC,GAAG,EAAE,SAAO;IACZ,UAAU,EAAV,uBAAU;IACV,SAAS,EAAT,qBAAS;IACT,yBAAyB,EAAE,iDAAuB;IAClD,yBAAyB,EAAE,iDAAuB;IAClD,oBAAoB,EAAE,uCAAkB;CAChC,CAAC;AAEF,kBAAG"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mEAAmE;AACnE,2BAA2B;;;AAE3B,6CAA0C;AAC1C,2DAAwD;AACxD,+BAA4B;AAC5B,2DAAwD;AACxD,iDAA8C;AAC9C,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,qCAAkC;AAClC,2DAAwD;AACxD,+CAA4C;AAC5C,yDAAsD;AACtD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,mDAAgD;AAChD,uEAAoE;AACpE,qCAAkC;AAClC,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qCAAkC;AAClC,6DAA0D;AAC1D,+CAA4C;AAC5C,+CAA4C;AAC5C,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA4D;AAC5D,mDAAgD;AAChD,6DAA0D;AAC1D,qCAAkC;AAClC,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,+CAA4C;AAC5C,qDAA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AO;IACZ,UAAU,EAAV,uBAAU;IACV,SAAS,EAAT,qBAAS;IACT,yBAAyB,EAAE,iDAAuB;IAClD,yBAAyB,EAAE,iDAAuB;IAClD,oBAAoB,EAAE,uCAAkB;CAChC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts index 42aecaa6f4..fdaa70dc10 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class ClassVisitor extends Visitor { +export declare class ClassVisitor extends Visitor { #private; constructor(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression); static visit(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void; @@ -25,5 +25,4 @@ declare class ClassVisitor extends Visitor { protected TSAbstractPropertyDefinition(node: TSESTree.TSAbstractPropertyDefinition): void; protected TSIndexSignature(node: TSESTree.TSIndexSignature): void; } -export { ClassVisitor }; //# sourceMappingURL=ClassVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map index a5398741e3..64b4e148db 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisit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S,GAAG,IAAI;IAWjE,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAIjE,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI;IAMnD,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;IAIrD,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAIjE,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAInC,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAIrE,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;IAQvD,SAAS,CAAC,0BAA0B,CAClC,IAAI,EAAE,QAAQ,CAAC,0BAA0B,GACxC,IAAI;IAIP,SAAS,CAAC,0BAA0B,CAClC,IAAI,EAAE,QAAQ,CAAC,0BAA0B,GACxC,IAAI;IAIP,SAAS,CAAC,4BAA4B,CACpC,IAAI,EAAE,QAAQ,CAAC,4BAA4B,GAC1C,IAAI;IAIP,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;CAGlE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map index c3938f27e2..ee6ce7b615 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referenc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AAC,CAAC;IACrC,CAAC;IAES,0BAA0B,CAClC,IAAyC;QAEzC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAES,4BAA4B,CACpC,IAA2C;QAE3C,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAES,gBAAgB,CAAC,IAA+B;QACxD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;CACF;AAsCQ,oCAAY;AApCrB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAS,uBAAuB,CAC9B,IAA+B;IAE/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC9D,IACE,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ;YAClC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ,EAClC,CAAC;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QACzE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,8CAAyE;AACzE,+CAA4C;AAC5C,uCAAoC;AAEpC,MAAa,YAAa,SAAQ,iBAAO;IAC9B,UAAU,CAAuD;IACjE,WAAW,CAAa;IAEjC,YACE,UAAsB,EACtB,IAA0D;QAE1D,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9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ACvB,CAAC;CACF;AAxUD,oCAwUC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAS,uBAAuB,CAC9B,IAA+B;IAE/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC9D,IACE,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ;YAClC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ,EAClC,CAAC;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QACzE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts index 1b78cb8481..99f600d77c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts @@ -1,8 +1,8 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration; -declare class ExportVisitor extends Visitor { +export type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration; +export declare class ExportVisitor extends Visitor { #private; constructor(node: ExportNode, referencer: Referencer); static visit(referencer: Referencer, node: ExportNode): void; @@ -11,5 +11,4 @@ declare class ExportVisitor extends Visitor { protected ExportSpecifier(node: TSESTree.ExportSpecifier): void; protected Identifier(node: TSESTree.Identifier): void; } -export { ExportVisitor }; //# sourceMappingURL=ExportVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map index 0b07ac45ce..7fac17ef89 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ExportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,KAAK,UAAU,GACX,QAAQ,CAAC,oBAAoB,GAC7B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,sBAAsB,CAAC;AAEpC,cAAM,aAAc,SAAQ,OAAO;;gBAIrB,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAMpD,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI;IAK5D,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAaP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAgBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAgB/D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;CAStD;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ExportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,UAAU,GAClB,QAAQ,CAAC,oBAAoB,GAC7B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,sBAAsB,CAAC;AAEpC,qBAAa,aAAc,SAAQ,OAAO;;gBAI5B,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAMpD,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI;IAK5D,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAaP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAgBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAgB/D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;CAStD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map index 474e3abd4e..6e7af826fe 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ExportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,uCAAoC;AAOpC,MAAM,aAAc,SAAQ,iBAAO;IACxB,WAAW,CAAa;IACxB,WAAW,CAAa;IAEjC,YAAY,IAAgB,EAAE,UAAsB;QAClD,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,UAAsB,EAAE,IAAgB;QACnD,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7D,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;YACxD,oBAAoB;YACpB,qCAAqC;YACrC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC/B,CAAC;aAAM,CAAC;YACN,sBAAsB;YACtB,sBAAsB;YACtB,MAAM;YACN,+GAA+G;QACjH,CAAC;IACH,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,yBAAyB;YACzB,0EAA0E;YAC1E,OAAO;QACT,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,gBAAgB;YAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,sBAAsB;YACtB,6EAA6E;QAC/E,CAAC;IACH,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,IACE,IAAI,CAAC,UAAU,KAAK,MAAM;YAC1B,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC7C,CAAC;YACD,qBAAqB;YACrB,wCAAwC;YACxC,EAAE;YACF,mGAAmG;YACnG,kEAAkE;YAClE,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAES,UAAU,CAAC,IAAyB;QAC5C,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,MAAM,EAAE,CAAC;YAC3C,qBAAqB;YACrB,wCAAwC;YACxC,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"ExportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,uCAAoC;AAOpC,MAAa,aAAc,SAAQ,iBAAO;IAC/B,WAAW,CAAa;IACxB,WAAW,CAAa;IAEjC,YAAY,IAAgB,EAAE,UAAsB;QAClD,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,UAAsB,EAAE,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MAAM,EAAE,CAAC;YAC3C,qBAAqB;YACrB,wCAAwC;YACxC,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;CACF;AAzED,sCAyEC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts index bb2f9b44fb..4768b55031 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class ImportVisitor extends Visitor { +export declare class ImportVisitor extends Visitor { #private; constructor(declaration: TSESTree.ImportDeclaration, referencer: Referencer); static visit(referencer: Referencer, declaration: TSESTree.ImportDeclaration): void; @@ -10,5 +10,4 @@ declare class ImportVisitor extends Visitor { protected ImportSpecifier(node: TSESTree.ImportSpecifier): void; protected visitImport(id: TSESTree.Identifier, specifier: TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.ImportSpecifier): void; } -export { ImportVisitor }; //# sourceMappingURL=ImportVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map index 5eb27d7aa7..44ec7b54cf 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAM,aAAc,SAAQ,OAAO;;gBAIrB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,EAAE,UAAU,EAAE,UAAU;IAM3E,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,GACtC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAKP,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAKP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,WAAW,CACnB,EAAE,EAAE,QAAQ,CAAC,UAAU,EACvB,SAAS,EACL,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GAC3B,IAAI;CAQR;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,qBAAa,aAAc,SAAQ,OAAO;;gBAI5B,WAAW,EAAE,QAAQ,CAAC,iBAAiB,EAAE,UAAU,EAAE,UAAU;IAM3E,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,GACtC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAKP,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAKP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,WAAW,CACnB,EAAE,EAAE,QAAQ,CAAC,UAAU,EACvB,SAAS,EACL,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GAC3B,IAAI;CAQR"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map index f7a18a65c6..ed903e642b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ImportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":";;;AAIA,8CAAwD;AACxD,uCAAoC;AAEpC,MAAM,aAAc,SAAQ,iBAAO;IACxB,YAAY,CAA6B;IACzC,WAAW,CAAa;IAEjC,YAAY,WAAuC,EAAE,UAAsB;QACzE,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,WAAuC;QAEvC,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACpE,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,WAAW,CACnB,EAAuB,EACvB,SAG4B;QAE5B,IAAI,CAAC,WAAW;aACb,YAAY,EAAE;aACd,gBAAgB,CACf,EAAE,EACF,IAAI,oCAAuB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAC9D,CAAC;IACN,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"ImportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":";;;AAIA,8CAAwD;AACxD,uCAAoC;AAEpC,MAAa,aAAc,SAAQ,iBAAO;IAC/B,YAAY,CAA6B;IACzC,WAAW,CAAa;IAEjC,YAAY,WAAuC,EAAE,UAAsB;QACzE,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,WAAuC;QAEvC,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACpE,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,WAAW,CACnB,EAAuB,EACvB,SAG4B;QAE5B,IAAI,CAAC,WAAW;aACb,YAAY,EAAE;aACd,gBAAgB,CACf,EAAE,EACF,IAAI,oCAAuB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAC9D,CAAC;IACN,CAAC;CACF;AAnDD,sCAmDC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts index 63b8a0b078..6a0a4eb3b7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts @@ -1,13 +1,13 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { VisitorOptions } from './VisitorBase'; import { VisitorBase } from './VisitorBase'; -type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: { +export type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: { assignments: (TSESTree.AssignmentExpression | TSESTree.AssignmentPattern)[]; rest: boolean; topLevel: boolean; }) => void; -type PatternVisitorOptions = VisitorOptions; -declare class PatternVisitor extends VisitorBase { +export type PatternVisitorOptions = VisitorOptions; +export declare class PatternVisitor extends VisitorBase { #private; readonly rightHandNodes: TSESTree.Node[]; constructor(options: PatternVisitorOptions, rootPattern: TSESTree.Node, callback: PatternVisitorCallback); @@ -25,5 +25,4 @@ declare class PatternVisitor extends VisitorBase { protected SpreadElement(node: TSESTree.SpreadElement): void; protected TSTypeAnnotation(): void; } -export { PatternVisitor, type PatternVisitorCallback, type PatternVisitorOptions, }; //# sourceMappingURL=PatternVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map index 58c2a660d3..2d0fb56836 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"PatternVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AA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Q,CAAC,IAAI,GAClB,IAAI,IACH,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,UAAU,GACnB,QAAQ,CAAC,aAAa,GACtB,QAAQ,CAAC,WAAW,GACpB,QAAQ,CAAC,aAAa;IAa1B,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAI/D,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,YAAY,GAAG,IAAI;IAM5D,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,oBAAoB,GAAG,IAAI;IAOzE,SAAS,CAAC,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,iBAAiB,GAAG,IAAI;IAOtE,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,cAAc,GAAG,IAAI;IAQ7D,SAAS,CAAC,SAAS,IAAI,IAAI;IAI3B,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;IAUxD,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAUjE,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAG,IAAI;IAYrD,SAAS,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;IAM1D,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI;IAI3D,SAAS,CAAC,gBAAgB,IAAI,IAAI;CAGnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map index 03e66cb191..985bdfeb56 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"PatternVisitor.js","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,+CAA4C;AAY5C,MAAM,cAAe,SAAQ,yBAAW;IAC7B,YAAY,GAGf,EAAE,CAAC;IACA,SAAS,CAAyB;IAClC,aAAa,GAA2B,EAAE,CAAC;IAC3C,YAAY,CAAgB;IAErB,cAAc,GAAoB,EAAE,CAAC;IAErD,YACE,OAA8B,EAC9B,WAA0B,EAC1B,QAAgC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAEM,MAAM,CAAC,SAAS,CACrB,IAAmB;QAQnB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC;QAE3B,OAAO,CACL,QAAQ,KAAK,sBAAc,CAAC,UAAU;YACtC,QAAQ,KAAK,sBAAc,CAAC,aAAa;YACzC,QAAQ,KAAK,sBAAc,CAAC,YAAY;YACxC,QAAQ,KAAK,sBAAc,CAAC,aAAa;YACzC,QAAQ,KAAK,sBAAc,CAAC,WAAW;YACvC,QAAQ,KAAK,sBAAc,CAAC,iBAAiB,CAC9C,CAAC;IACJ,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC1C,CAAC;IAES,YAAY,CAAC,OAA8B;QACnD,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YACvC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;IAC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AI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC;QAED,kDAAkD;QAClD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IAES,QAAQ,CAAC,QAA2B;QAC5C,gDAAgD;QAChD,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACzC,CAAC;QAED,mDAAmD;QACnD,mHAAmH;QACnH,kEAAkE;QAClE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,WAAW,CAAC,OAA6B;QACjD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAES,gBAAgB;QACxB,+BAA+B;IACjC,CAAC;CACF;AAGC,wCAAc"} \ No newline at end of file +{"version":3,"file":"PatternVisitor.js","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAI1D,+CAA4C;AAY5C,MAAa,cAAe,SAAQ,yBAAW;IACpC,YAAY,GAGf,EAAE,CAAC;IACA,SAAS,CAAyB;IAClC,aAAa,GAA2B,EAAE,CAAC;IAC3C,YAAY,CAAgB;IAErB,cAAc,GAAoB,EAAE,CAAC;IAErD,YACE,OAA8B,EAC9B,WAA0B,EAC1B,QAAgC;QAEhC,KAAK,CAAC,OAAO,C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AC7B,CAAC;IAES,WAAW,CAAC,OAA6B;QACjD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAES,gBAAgB;QACxB,+BAA+B;IACjC,CAAC;CACF;AA3HD,wCA2HC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts index 1ffe72da40..97cacb40ae 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts @@ -1,24 +1,24 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Scope } from '../scope'; import type { Variable } from '../variable'; -declare enum ReferenceFlag { +export declare enum ReferenceFlag { Read = 1, Write = 2, ReadWrite = 3 } -interface ReferenceImplicitGlobal { +export interface ReferenceImplicitGlobal { node: TSESTree.Node; pattern: TSESTree.BindingName; ref?: Reference; } -declare enum ReferenceTypeFlag { +export declare enum ReferenceTypeFlag { Value = 1, Type = 2 } /** * A Reference represents a single occurrence of an identifier in code. */ -declare class Reference { +export declare class Reference { #private; /** * A unique ID for this instance - primarily used to help debugging and testing @@ -85,5 +85,4 @@ declare class Reference { */ isReadWrite(): boolean; } -export { Reference, ReferenceFlag, type ReferenceImplicitGlobal, ReferenceTypeFlag, }; //# sourceMappingURL=Reference.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map index 093cc331e6..e8239bd95f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Reference.d.ts","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,aAAK,aAAa;IAChB,IAAI,IAAM;IACV,KAAK,IAAM;IACX,SAAS,IAAM;CAChB;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;IACpB,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;IAC9B,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB;AAID,aAAK,iBAAiB;IACpB,KAAK,IAAM;IACX,IAAI,IAAM;CACX;AAED;;GAEG;AACH,cAAM,SAAS;;IACb;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAO1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC;IAEzE;;;OAGG;IACH,SAAgB,IAAI,CAAC,EAAE,OAAO,CAAC;IAE/B,SAAgB,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAErE;;;OAGG;IACI,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,SAAgB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;gBAQ/C,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EACxD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,aAAa,EACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,EAChC,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,EACpD,IAAI,CAAC,EAAE,OAAO,EACd,aAAa,oBAA0B;IAgBzC;;OAEG;IACH,IAAW,eAAe,IAAI,OAAO,CAEpC;IAED;;OAEG;IACH,IAAW,gBAAgB,IAAI,OAAO,CAErC;IAED;;;OAGG;IACI,OAAO,IAAI,OAAO;IAIzB;;;OAGG;IACI,MAAM,IAAI,OAAO;IAIxB;;;OAGG;IACI,UAAU,IAAI,OAAO;IAI5B;;;OAGG;IACI,WAAW,IAAI,OAAO;IAI7B;;;OAGG;IACI,WAAW,IAAI,OAAO;CAG9B;AAED,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,uBAAuB,EAC5B,iBAAiB,GAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"Reference.d.ts","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,oBAAY,aAAa;IACvB,IAAI,IAAM;IACV,KAAK,IAAM;IACX,SAAS,IAAM;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;IACpB,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;IAC9B,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB;AAID,oBAAY,iBAAiB;IAC3B,KAAK,IAAM;IACX,IAAI,IAAM;CACX;AAED;;GAEG;AACH,qBAAa,SAAS;;IACpB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAO1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC;IAEzE;;;OAGG;IACH,SAAgB,IAAI,CAAC,EAAE,OAAO,CAAC;IAE/B,SAAgB,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAErE;;;OAGG;IACI,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAEjC;;;OAGG;IACH,SAAgB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;gBAQ/C,UAAU,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EACxD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,aAAa,EACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,EAChC,mBAAmB,CAAC,EAAE,uBAAuB,GAAG,IAAI,EACpD,IAAI,CAAC,EAAE,OAAO,EACd,aAAa,oBAA0B;IAgBzC;;OAEG;IACH,IAAW,eAAe,IAAI,OAAO,CAEpC;IAED;;OAEG;IACH,IAAW,gBAAgB,IAAI,OAAO,CAErC;IAED;;;OAGG;IACI,OAAO,IAAI,OAAO;IAIzB;;;OAGG;IACI,MAAM,IAAI,OAAO;IAIxB;;;OAGG;IACI,UAAU,IAAI,OAAO;IAI5B;;;OAGG;IACI,WAAW,IAAI,OAAO;IAI7B;;;OAGG;IACI,WAAW,IAAI,OAAO;CAG9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js index 1739c0bbb7..8065e5e239 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ReferenceTypeFlag = exports.ReferenceFlag = exports.Reference = void 0; +exports.Reference = exports.ReferenceTypeFlag = exports.ReferenceFlag = void 0; const ID_1 = require("../ID"); var ReferenceFlag; (function (ReferenceFlag) { diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map index 0af1ca43d2..d6349b8389 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map @@ -1 +1 @@ -{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":";;;AAKA,8BAA0C;AAE1C,IAAK,aAIJ;AAJD,WAAK,aAAa;IAChB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,2DAAe,CAAA;AACjB,CAAC,EAJI,aAAa,6BAAb,aAAa,QAIjB;AAQD,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,IAAK,iBAGJ;AAHD,WAAK,iBAAiB;IACpB,2DAAW,CAAA;IACX,yDAAU,CAAA;AACZ,CAAC,EAHI,iBAAiB,iCAAjB,iBAAiB,QAGrB;AAED;;GAEG;AACH,MAAM,SAAS;IACb;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;OAEG;IACM,KAAK,CAAgB;IAE9B;;;OAGG;IACa,IAAI,CAAQ;IAE5B;;;OAGG;IACa,UAAU,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OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,IAAI,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,KAAK,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,SAAS,CAAC;IAChD,CAAC;CACF;AAGC,8BAAS"} \ No newline at end of file +{"version":3,"file":"Reference.js","sourceRoot":"","sources":["../../src/referencer/Reference.ts"],"names":[],"mappings":";;;AAKA,8BAA0C;AAE1C,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,2DAAe,CAAA;AACjB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAQD,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,2DAAW,CAAA;IACX,yDAAU,CAAA;AACZ,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED;;GAEG;AACH,MAAa,SAAS;IACpB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;OAEG;IACM,KAAK,CAAgB;IAE9B;;;OAGG;IACa,IAAI,CAAQ;IAE5B;;;OAGG;IACa,UAAU,CAA+C;IAEzE;;;OAGG;IACa,IAAI,CAAW;IAEf,mBAAmB,CAAkC;IAErE;;;OAGG;IACI,QAAQ,CAAkB;IAEjC;;;OAGG;IACa,SAAS,CAAwB;IAEjD;;OAEG;IACM,cAAc,CAAoB;IAE3C,YACE,UAAwD,EACxD,KAAY,EACZ,IAAmB,EACnB,SAAgC,EAChC,mBAAoD,EACpD,IAAc,EACd,aAAa,GAAG,iBAAiB,CAAC,KAAK;QAEvC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QAClB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAElB,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;YAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,IAAW,eAAe;QACxB,OAAO,CAAC,IAAI,CAAC,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,IAAW,gBAAgB;QACzB,OAAO,CAAC,IAAI,CAAC,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACI,OAAO;QACZ,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,MAAM;QACX,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACI,UAAU;QACf,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,IAAI,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,KAAK,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,SAAS,CAAC;IAChD,CAAC;CACF;AA5HD,8BA4HC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts index d7799ca270..2703d42303 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts @@ -4,12 +4,12 @@ import type { ScopeManager } from '../ScopeManager'; import type { ReferenceImplicitGlobal } from './Reference'; import type { VisitorOptions } from './Visitor'; import { Visitor } from './Visitor'; -interface ReferencerOptions extends VisitorOptions { +export interface ReferencerOptions extends VisitorOptions { jsxFragmentName: string | null; jsxPragma: string | null; lib: Lib[]; } -declare class Referencer extends Visitor { +export declare class Referencer extends Visitor { #private; readonly scopeManager: ScopeManager; constructor(options: ReferencerOptions, scopeManager: ScopeManager); @@ -28,6 +28,7 @@ declare class Referencer extends Visitor { protected visitForIn(node: TSESTree.ForInStatement | TSESTree.ForOfStatement): void; protected visitFunction(node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.TSDeclareFunction | TSESTree.TSEmptyBodyFunctionExpression): void; protected visitFunctionParameterTypeAnnotation(node: TSESTree.Parameter): void; + protected visitJSXElement(node: TSESTree.JSXClosingElement | TSESTree.JSXOpeningElement): void; protected visitProperty(node: TSESTree.Property): void; protected visitType(node: TSESTree.Node | null | undefined): void; protected visitTypeAssertion(node: TSESTree.TSAsExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion): void; @@ -52,7 +53,7 @@ declare class Referencer extends Visitor { protected ImportAttribute(): void; protected ImportDeclaration(node: TSESTree.ImportDeclaration): void; protected JSXAttribute(node: TSESTree.JSXAttribute): void; - protected JSXClosingElement(): void; + protected JSXClosingElement(node: TSESTree.JSXClosingElement): void; protected JSXFragment(node: TSESTree.JSXFragment): void; protected JSXIdentifier(node: TSESTree.JSXIdentifier): void; protected JSXMemberExpression(node: TSESTree.JSXMemberExpression): void; @@ -83,5 +84,4 @@ declare class Referencer extends Visitor { protected WithStatement(node: TSESTree.WithStatement): void; private visitExpressionTarget; } -export { Referencer, type ReferencerOptions }; //# sourceMappingURL=Referencer.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map index 30658571c1..d507a4a361 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Referencer.d.ts","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI9D,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAoBhD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,UAAU,iBAAkB,SAAQ,cAAc;IAChD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,GAAG,EAAE,GAAG,EAAE,CAAC;CACZ;AAGD,cAAM,UAAW,SAAQ,OAAO;;IAM9B,SAAgB,YAAY,EAAE,YAAY,CAAC;gBAE/B,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY;IAQlE,OAAO,CAAC,sBAAsB;IAmBvB,KAAK,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arE,SAAS,CAAC,yBAAyB,CACjC,IAAI,EAAE,QAAQ,CAAC,yBAAyB,GACvC,IAAI;IAiBP,SAAS,CAAC,yBAAyB,CACjC,IAAI,EAAE,QAAQ,CAAC,yBAAyB,GACvC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAIP,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAevE,SAAS,CAAC,qBAAqB,CAAC,IAAI,EAAE,QAAQ,CAAC,qBAAqB,GAAG,IAAI;IAI3E,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAIP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAI/D,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAgBjE,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAoCvE,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI;IAW3D,OAAO,CAAC,qBAAqB;CAc9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js index 381cd44bab..ff7b95be12 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js @@ -179,6 +179,21 @@ class Referencer extends Visitor_1.Visitor { break; } } + visitJSXElement(node) { + if (node.name.type === types_1.AST_NODE_TYPES.JSXIdentifier) { + if (node.name.name[0].toUpperCase() === node.name.name[0] || + node.name.name === 'this') { + // lower cased component names are always treated as "intrinsic" names, and are converted to a string, + // not a variable by JSX transforms: + //
=> React.createElement("div", null) + // the only case we want to visit a lower-cased component has its name as "this", + this.visit(node.name); + } + } + else { + this.visit(node.name); + } + } visitProperty(node) { if (node.computed) { this.visit(node.key); @@ -315,8 +330,8 @@ class Referencer extends Visitor_1.Visitor { JSXAttribute(node) { this.visit(node.value); } - JSXClosingElement() { - // should not be counted as a reference + JSXClosingElement(node) { + this.visitJSXElement(node); } JSXFragment(node) { this.referenceJsxPragma(); @@ -335,19 +350,7 @@ class Referencer extends Visitor_1.Visitor { } JSXOpeningElement(node) { this.referenceJsxPragma(); - if (node.name.type === types_1.AST_NODE_TYPES.JSXIdentifier) { - if (node.name.name[0].toUpperCase() === node.name.name[0] || - node.name.name === 'this') { - // lower cased component names are always treated as "intrinsic" names, and are converted to a string, - // not a variable by JSX transforms: - //
=> React.createElement("div", null) - // the only case we want to visit a lower-cased component has its name as "this", - this.visit(node.name); - } - } - else { - this.visit(node.name); - } + this.visitJSXElement(node); this.visitType(node.typeArguments); for (const attr of node.attributes) { this.visit(attr); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map index 5281caf10c..a2c6aeafcb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map @@ -1 +1 @@ -{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAC5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAk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C,IAAI,CAAC,CAAC;IACnB,CAAC;IAEO,qBAAqB,CAAC,IAAmB;QAC/C,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,cAAc,CAAC;YACnC,KAAK,sBAAc,CAAC,eAAe;gBACjC,uCAAuC;gBACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YACtC,0BAA0B;YAC1B,KAAK,sBAAc,CAAC,mBAAmB;gBACrC,wBAAwB;gBACxB,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAC5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAClD,2CAA4C;AAC5C,+CAA4C;AAC5C,uCAAoC;AAQpC,+CAA+C;AAC/C,MAAa,UAAW,SAAQ,iBAAO;IACrC,wBAAwB,GAAG,KAAK,CAAC;IACjC,gCAAgC,GAAG,KAAK,CAAC;IACzC,gBAAgB,CAAgB;IAChC,UAAU,CAAgB;IAC1B,IAAI,CAAQ;IACI,YAAY,CAAe;IAE3C,YAAY,OAA0B,EAAE,YAA0B;QAChE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;QAChD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC;IAC1B,CAAC;IAEO,sBAAsB,CAAC,WAAwB;QACrD,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,E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_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts index 6d37e6a4a6..ee0e8c1690 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts @@ -1,7 +1,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Referencer } from './Referencer'; import { Visitor } from './Visitor'; -declare class TypeVisitor extends Visitor { +export declare class TypeVisitor extends Visitor { #private; constructor(referencer: Referencer); static visit(referencer: Referencer, node: TSESTree.Node): void; @@ -29,5 +29,4 @@ declare class TypeVisitor extends Visitor { protected TSTypeAnnotation(node: TSESTree.TSTypeAnnotation): void; protected TSTypeQuery(node: TSESTree.TSTypeQuery): void; } -export { TypeVisitor }; //# sourceMappingURL=TypeVisitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map index 9e2402d330..ae68524eb9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/TypeVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI/C,OAAO,EAAE,OAAO,EAAE,MAAM,WA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IAmBP,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,GAAG,IAAI;IAYzD,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,iBAAiB,GAAG,IAAI;IAKnE,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAKrE,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAKvE,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAK/D,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAkBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAS/D,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;IAQ/D,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAKjE,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;CAwBxD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map index 00905e0453..29a690084b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeVisitor.js","sourceRoot":"","sources":["../../src/referencer/TypeVisitor.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAK1D,8CAAoE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I,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAES,WAAW,CAAC,IAA0B;QAC9C,IAAI,UAGqB,CAAC;QAC1B,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;YAC1D,IAAI,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC;YACzB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,EAAE,CAAC;gBACzD,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YACnB,CAAC;YACD,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC;YAE3B,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,YAAY,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QACD,IAAI,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;YAClD,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACjC,CAAC;CACF;AA/RD,kCA+RC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts index d0a474a60d..cd15f88039 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts @@ -5,11 +5,10 @@ import { VisitorBase } from './VisitorBase'; interface VisitPatternOptions extends PatternVisitorOptions { processRightHandNodes?: boolean; } -declare class Visitor extends VisitorBase { +export declare class Visitor extends VisitorBase { #private; constructor(optionsOrVisitor: Visitor | VisitorOptions); protected visitPattern(node: TSESTree.Node, callback: PatternVisitorCallback, options?: VisitPatternOptions): void; } -export { Visitor }; export { VisitorBase, type VisitorOptions } from './VisitorBase'; //# sourceMappingURL=Visitor.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map index 1dc951ce97..83830e0aed 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Visitor.d.ts","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,cAAM,OAAQ,SAAQ,WAAW;;gBAEnB,gBAAgB,EAAE,OAAO,GAAG,cAAc;IAatD,SAAS,CAAC,YAAY,CACpB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,QAAQ,EAAE,sBAAsB,EAChC,OAAO,GAAE,mBAAsD,GAC9D,IAAI;CAWR;AAED,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file +{"version":3,"file":"Visitor.d.ts","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,qBAAa,OAAQ,SAAQ,WAAW;;gBAE1B,gBAAgB,EAAE,OAAO,GAAG,cAAc;IAatD,SAAS,CAAC,YAAY,CACpB,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,QAAQ,EAAE,sBAAsB,EAChC,OAAO,GAAE,mBAAsD,GAC9D,IAAI;CAWR;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map index 0e4878ceab..aacdd79798 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map @@ -1 +1 @@ -{"version":3,"file":"Visitor.js","sourceRoot":"","sources":["../../src/referencer/Visitor.ts"],"names":[],"mappings":";;;AAQA,qDAAkD;AAClD,+CAA4C;AAK5C,MAAM,OAAQ,SAAQ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YAAY,CACpB,IAAmB,EACnB,QAAgC,EAChC,UAA+B,EAAE,qBAAqB,EAAE,KAAK,EAAE;QAE/D,iFAAiF;QACjF,MAAM,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAElE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpB,4CAA4C;QAC5C,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC;YAClC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF;AA9BD,0BA8BC;AAED,6CAAiE;AAAxD,0GAAA,WAAW,OAAA"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts index 1a4883b2f0..6c550158a0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts @@ -1,10 +1,10 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { VisitorKeys } from '@typescript-eslint/visitor-keys'; -interface VisitorOptions { +export interface VisitorOptions { childVisitorKeys?: VisitorKeys | null; visitChildrenEvenIfSelectorExists?: boolean; } -declare abstract class VisitorBase { +export declare abstract class VisitorBase { #private; constructor(options: VisitorOptions); /** @@ -18,6 +18,5 @@ declare abstract class VisitorBase { */ visit(node: TSESTree.Node | null | undefined): void; } -export { VisitorBase, type VisitorOptions }; export type { VisitorKeys } from '@typescript-eslint/visitor-keys'; //# sourceMappingURL=VisitorBase.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map index 2036e9d94c..da51b6f9b4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VisitorBase.d.ts","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,UAAU,cAAc;IACtB,gBAAgB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C;AAaD,uBAAe,WAAW;;gBAGZ,OAAO,EAAE,cAAc;IAMnC;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,QAAQ,CAAC,IAAI,EACnC,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC1B,UAAU,GAAE,CAAC,MAAM,CAAC,CAAC,EAAO,GAC3B,IAAI;IA6BP;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;CAepD;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,CAAC;AAE5C,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC"} \ No newline at end of file +{"version":3,"file":"VisitorBase.d.ts","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAInE,MAAM,WAAW,cAAc;IAC7B,gBAAgB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC7C;AAaD,8BAAsB,WAAW;;gBAGnB,OAAO,EAAE,cAAc;IAMnC;;;;OAIG;IACH,aAAa,CAAC,CAAC,SAAS,QAAQ,CAAC,IAAI,EACnC,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC1B,UAAU,GAAE,CAAC,MAAM,CAAC,CAAC,EAAO,GAC3B,IAAI;IA6BP;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;CAepD;AAED,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map index f9d611aba7..d59ef93373 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map @@ -1 +1 @@ -{"version":3,"file":"VisitorBase.js","sourceRoot":"","sources":["../../src/referencer/VisitorBase.ts"],"names":[],"mappings":";;;AAGA,kEAA8D;AAO9D,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,CAAC;AAChD,CAAC;AACD,SAAS,MAAM,CAAC,IAAa;IAC3B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC;AACzD,CAAC;AAMD,MAAe,WAAW;IACf,iBAAiB,CAAc;IAC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,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxE,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;YAC3B,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;gBACrB,SAAS;YACX,CAAC;YAED,MAAM,KAAK,GAAG,IAAI,CAAC,GAA0B,CAAY,CAAC;YAC1D,IAAI,CAAC,KAAK,EAAE,CAAC;gBACX,SAAS;YACX,CAAC;YAED,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE,CAAC;oBAC7B,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;wBACrB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;oBACvB,CAAC;gBACH,CAAC;YACH,CAAC;iBAAM,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACpB,CAAC;QACH,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAsC;QAC1C,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QAED,MAAM,OAAO,GAAI,IAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACzB,IAAI,CAAC,IAAI,CAAC,kCAAkC,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;QACH,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;CACF;AAhED,kCAgEC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts index 66f2713f62..22ac51edbe 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class BlockScope extends ScopeBase { +export declare class BlockScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: BlockScope['upper'], block: BlockScope['block']); } -export { BlockScope }; //# sourceMappingURL=BlockScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map index 4a9d37ee8c..591ab324b6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,cAAc,EACvB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"BlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,cAAc,EACvB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map index c014e70ca3..b9b294990d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map @@ -1 +1 @@ -{"version":3,"file":"BlockScope.js","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"BlockScope.js","sourceRoot":"","sources":["../../src/scope/BlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts index 59532d2382..5d4474f44b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class CatchScope extends ScopeBase { +export declare class CatchScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: CatchScope['upper'], block: CatchScope['block']); } -export { CatchScope }; //# sourceMappingURL=CatchScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map index a8a7834163..87c09cf706 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CatchScope.d.ts","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CatchScope.d.ts","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map index 0ead4562be..363047faa3 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map @@ -1 +1 @@ -{"version":3,"file":"CatchScope.js","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"CatchScope.js","sourceRoot":"","sources":["../../src/scope/CatchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts index a646736334..e8341f1143 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassFieldInitializerScope extends ScopeBase { +export declare class ClassFieldInitializerScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassFieldInitializerScope['upper'], block: ClassFieldInitializerScope['block']); } -export { ClassFieldInitializerScope }; //# sourceMappingURL=ClassFieldInitializerScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map index d10ba96749..821c2e874a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassFieldInitializerScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,0BAA2B,SAAQ,SAAS,CAChD,SAAS,CAAC,qBAAqB,EAE/B,QAAQ,CAAC,UAAU,EACnB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAC/C,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAU7C;AAED,OAAO,EAAE,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassFieldInitializerScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,0BAA2B,SAAQ,SAAS,CACvD,SAAS,CAAC,qBAAqB,EAE/B,QAAQ,CAAC,UAAU,EACnB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAC/C,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC;CAU7C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map index 6f517d6780..68ff654b7d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassFieldInitializerScope.js","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,0BAA2B,SAAQ,qBAKxC;IACC,YACE,YAA0B,EAC1B,UAA+C,EAC/C,KAA0C;QAE1C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,qBAAqB,EAC/B,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;IACJ,CAAC;CACF;AAEQ,gEAA0B"} \ No newline at end of file +{"version":3,"file":"ClassFieldInitializerScope.js","sourceRoot":"","sources":["../../src/scope/ClassFieldInitializerScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,0BAA2B,SAAQ,qBAK/C;IACC,YACE,YAA0B,EAC1B,UAA+C,EAC/C,KAA0C;QAE1C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,qBAAqB,EAC/B,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;IACJ,CAAC;CACF;AAnBD,gEAmBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts index c31a3364e8..2b054b9c2b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassScope extends ScopeBase { +export declare class ClassScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassScope['upper'], block: ClassScope['block']); } -export { ClassScope }; //# sourceMappingURL=ClassScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map index de93ece0f8..94a4ddfc38 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,UAAW,SAAQ,SAAS,CAChC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,UAAW,SAAQ,SAAS,CACvC,SAAS,CAAC,KAAK,EACf,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC;CAI7B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map index 2728afb123..89dddb68f0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassScope.js","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,UAAW,SAAQ,qBAIxB;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"ClassScope.js","sourceRoot":"","sources":["../../src/scope/ClassScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,UAAW,SAAQ,qBAI/B;IACC,YACE,YAA0B,EAC1B,UAA+B,EAC/B,KAA0B;QAE1B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;CACF;AAZD,gCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts index 7d7e81b089..bc9f59163e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ClassStaticBlockScope extends ScopeBase { +export declare class ClassStaticBlockScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ClassStaticBlockScope['upper'], block: ClassStaticBlockScope['block']); } -export { ClassStaticBlockScope }; //# sourceMappingURL=ClassStaticBlockScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map index 7a2ed823c0..948e08863a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassStaticBlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,qBAAsB,SAAQ,SAAS,CAC3C,SAAS,CAAC,gBAAgB,EAC1B,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAC1C,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC;CAIxC;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassStaticBlockScope.d.ts","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,qBAAsB,SAAQ,SAAS,CAClD,SAAS,CAAC,gBAAgB,EAC1B,QAAQ,CAAC,WAAW,EACpB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAC1C,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC;CAIxC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map index fdfdc3a2fa..176ce990fb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassStaticBlockScope.js","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,qBAAsB,SAAQ,qBAInC;IACC,YACE,YAA0B,EAC1B,UAA0C,EAC1C,KAAqC;QAErC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5E,CAAC;CACF;AAEQ,sDAAqB"} \ No newline at end of file +{"version":3,"file":"ClassStaticBlockScope.js","sourceRoot":"","sources":["../../src/scope/ClassStaticBlockScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,qBAAsB,SAAQ,qBAI1C;IACC,YACE,YAA0B,EAC1B,UAA0C,EAC1C,KAAqC;QAErC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC5E,CAAC;CACF;AAZD,sDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts index 6d35e6ec9b..06f13d1074 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ConditionalTypeScope extends ScopeBase { +export declare class ConditionalTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ConditionalTypeScope['upper'], block: ConditionalTypeScope['block']); } -export { ConditionalTypeScope }; //# sourceMappingURL=ConditionalTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map index 296425aa54..7c287437a2 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ConditionalTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,oBAAqB,SAAQ,SAAS,CAC1C,SAAS,CAAC,eAAe,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,oBAAoB,CAAC,OAAO,CAAC,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC;CAIvC;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ConditionalTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,oBAAqB,SAAQ,SAAS,CACjD,SAAS,CAAC,eAAe,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,oBAAoB,CAAC,OAAO,CAAC,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map index 8288f23b92..5ef3e1ad70 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ConditionalTypeScope.js","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,oBAAqB,SAAQ,qBAIlC;IACC,YACE,YAA0B,EAC1B,UAAyC,EACzC,KAAoC;QAEpC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;CACF;AAEQ,oDAAoB"} \ No newline at end of file +{"version":3,"file":"ConditionalTypeScope.js","sourceRoot":"","sources":["../../src/scope/ConditionalTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,oBAAqB,SAAQ,qBAIzC;IACC,YACE,YAA0B,EAC1B,UAAyC,EACzC,KAAoC;QAEpC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,eAAe,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;CACF;AAZD,oDAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts index ed2f22451d..bc73314d14 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ForScope extends ScopeBase { +export declare class ForScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ForScope['upper'], block: ForScope['block']); } -export { ForScope }; //# sourceMappingURL=ForScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map index b4ee2161d9..c551db147d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ForScope.d.ts","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,QAAS,SAAQ,SAAS,CAC9B,SAAS,CAAC,GAAG,EACb,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,YAAY,EACzE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,EAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;CAI3B;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ForScope.d.ts","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,QAAS,SAAQ,SAAS,CACrC,SAAS,CAAC,GAAG,EACb,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,GAAG,QAAQ,CAAC,YAAY,EACzE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,EAC7B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;CAI3B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map index 97f1b25da0..e2bb92b16a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ForScope.js","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,QAAS,SAAQ,qBAItB;IACC,YACE,YAA0B,EAC1B,UAA6B,EAC7B,KAAwB;QAExB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;CACF;AAEQ,4BAAQ"} \ No newline at end of file +{"version":3,"file":"ForScope.js","sourceRoot":"","sources":["../../src/scope/ForScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,QAAS,SAAQ,qBAI7B;IACC,YACE,YAA0B,EAC1B,UAA6B,EAC7B,KAAwB;QAExB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;CACF;AAZD,4BAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts index 2f5044cad5..2c2b9725f5 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts @@ -3,9 +3,8 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionExpressionNameScope extends ScopeBase { +export declare class FunctionExpressionNameScope extends ScopeBase { readonly functionExpressionScope: true; constructor(scopeManager: ScopeManager, upperScope: FunctionExpressionNameScope['upper'], block: FunctionExpressionNameScope['block']); } -export { FunctionExpressionNameScope }; //# sourceMappingURL=FunctionExpressionNameScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map index ba95ba4d27..838709a334 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionExpressionNameScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,2BAA4B,SAAQ,SAAS,CACjD,SAAS,CAAC,sBAAsB,EAChC,QAAQ,CAAC,kBAAkB,EAC3B,KAAK,CACN;IACC,SAAgB,uBAAuB,EAAE,IAAI,CAAC;gBAE5C,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAChD,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC;CAiB9C;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionExpressionNameScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,2BAA4B,SAAQ,SAAS,CACxD,SAAS,CAAC,sBAAsB,EAChC,QAAQ,CAAC,kBAAkB,EAC3B,KAAK,CACN;IACC,SAAgB,uBAAuB,EAAE,IAAI,CAAC;gBAE5C,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAChD,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC;CAiB9C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map index 30d1e1b42c..1e92e2aed7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionExpressionNameScope.js","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":";;;AAKA,8CAAuD;AACvD,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,2BAA4B,SAAQ,qBAIzC;IACiB,uBAAuB,CAAO;IAC9C,YACE,YAA0B,EAC1B,UAAgD,EAChD,KAA2C;QAE3C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,sBAAsB,EAChC,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;QACF,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,CACnB,KAAK,CAAC,EAAE,EACR,IAAI,mCAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAC5C,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACtC,CAAC;CACF;AAEQ,kEAA2B"} \ No newline at end of file +{"version":3,"file":"FunctionExpressionNameScope.js","sourceRoot":"","sources":["../../src/scope/FunctionExpressionNameScope.ts"],"names":[],"mappings":";;;AAKA,8CAAuD;AACvD,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,2BAA4B,SAAQ,qBAIhD;IACiB,uBAAuB,CAAO;IAC9C,YACE,YAA0B,EAC1B,UAAgD,EAChD,KAA2C;QAE3C,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,sBAAsB,EAChC,UAAU,EACV,KAAK,EACL,KAAK,CACN,CAAC;QACF,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,CACnB,KAAK,CAAC,EAAE,EACR,IAAI,mCAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAC5C,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACtC,CAAC;CACF;AA1BD,kEA0BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts index f1bf5e115d..756781030b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts @@ -5,9 +5,8 @@ import type { Variable } from '../variable'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionScope extends ScopeBase { +export declare class FunctionScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: FunctionScope['upper'], block: FunctionScope['block'], isMethodDefinition: boolean); protected isValidResolution(ref: Reference, variable: Variable): boolean; } -export { FunctionScope }; //# sourceMappingURL=FunctionScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map index c0dca2c780..e705440c81 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,QAA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,CAAC,uBAAuB,GAChC,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,OAAO,GAChB,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAC7B,kBAAkB,EAAE,OAAO;IAuB7B,SAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO;CAiBzE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map index a96b318f12..ad727d9054 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionScope.js","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,aAAc,SAAQ,qBAS3B;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B,EAC7B,kBAA2B;QAE3B,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,QAAQ,EAClB,UAAU,EACV,KAAK,EACL,kBAAkB,CACnB,CAAC;QAEF,oDAAoD;QACpD,wDAAwD;QACxD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;YAC/D,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,iGAAiG;IACjG,kBAAkB;IAClB,iFAAiF;IACjF,sBAAsB;IACtB,yBAAyB;IACzB,QAAQ;IACE,iBAAiB,CAAC,GAAc,EAAE,QAAkB;QAC5D,0EAA0E;QAC1E,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAElD,iDAAiD;QACjD,OAAO,CAAC,CACN,CACE,QAAQ,CAAC,KAAK,KAAK,IAAI;YACvB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,IAAI,0CAA0C;YACjF,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CACvD,CAAC,+BAA+B;SAClC,CAAC;IACJ,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"FunctionScope.js","sourceRoot":"","sources":["../../src/scope/FunctionScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,aAAc,SAAQ,qBASlC;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B,EAC7B,kBAA2B;QAE3B,KAAK,CACH,YAAY,EACZ,qBAAS,CAAC,QAAQ,EAClB,UAAU,EACV,KAAK,EACL,kBAAkB,CACnB,CAAC;QAEF,oDAAoD;QACpD,wDAAwD;QACxD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,uBAAuB,EAAE,CAAC;YAC/D,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAED,iGAAiG;IACjG,kBAAkB;IAClB,iFAAiF;IACjF,sBAAsB;IACtB,yBAAyB;IACzB,QAAQ;IACE,iBAAiB,CAAC,GAAc,EAAE,QAAkB;QAC5D,0EAA0E;QAC1E,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAElD,iDAAiD;QACjD,OAAO,CAAC,CACN,CACE,QAAQ,CAAC,KAAK,KAAK,IAAI;YACvB,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,IAAI,0CAA0C;YACjF,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CACvD,CAAC,+BAA+B;SAClC,CAAC;IACJ,CAAC;CACF;AAtDD,sCAsDC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts index 5cdeb57fa8..717884455e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class FunctionTypeScope extends ScopeBase { +export declare class FunctionTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: FunctionTypeScope['upper'], block: FunctionTypeScope['block']); } -export { FunctionTypeScope }; //# sourceMappingURL=FunctionTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map index 540d46bbab..072a4d30c9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,iBAAkB,SAAQ,SAAS,CACvC,SAAS,CAAC,YAAY,EACpB,QAAQ,CAAC,0BAA0B,GACnC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,+BAA+B,GACxC,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,iBAAiB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC;CAIpC;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"FunctionTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,iBAAkB,SAAQ,SAAS,CAC9C,SAAS,CAAC,YAAY,EACpB,QAAQ,CAAC,0BAA0B,GACnC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,+BAA+B,GACxC,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,iBAAiB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC;CAIpC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map index 30f3ddeddd..7461d5f311 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionTypeScope.js","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,iBAAkB,SAAQ,qBAQ/B;IACC,YACE,YAA0B,EAC1B,UAAsC,EACtC,KAAiC;QAEjC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;CACF;AAEQ,8CAAiB"} \ No newline at end of file +{"version":3,"file":"FunctionTypeScope.js","sourceRoot":"","sources":["../../src/scope/FunctionTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,iBAAkB,SAAQ,qBAQtC;IACC,YACE,YAA0B,EAC1B,UAAsC,EACtC,KAAiC;QAEjC,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;CACF;AAhBD,8CAgBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts index 7895720c67..e3208ab74c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts @@ -4,7 +4,7 @@ import type { ImplicitLibVariableOptions } from '../variable'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class GlobalScope extends ScopeBase { close(scopeManager: ScopeManager): Scope | null; defineImplicitVariable(name: string, options: ImplicitLibVariableOptions): void; } -export { GlobalScope }; //# sourceMappingURL=GlobalScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map index 89400338d2..2d12f38360 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"GlobalScope.d.ts","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,0BAA0B,EAAY,MAAM,aAAa,CAAC;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,OAAO;AAChB;;GAEG;AACH,IAAI,CACL;IAEC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAQvB;gBAEU,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;IAS5D,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;IAwB/C,sBAAsB,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,0BAA0B,GAClC,IAAI;CASR;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"GlobalScope.d.ts","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,0BAA0B,EAAY,MAAM,aAAa,CAAC;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,OAAO;AAChB;;GAEG;AACH,IAAI,CACL;IAEC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAQvB;gBAEU,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;IAS5D,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;IAwB/C,sBAAsB,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,0BAA0B,GAClC,IAAI;CASR"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map index 4ba16c7cbd..d77475b3fd 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map @@ -1 +1 @@ -{"version":3,"file":"GlobalScope.js","sourceRoot":"","sources":["../../src/scope/GlobalScope.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAO1D,sCAAmC;AACnC,qGAAkG;AAClG,0CAAkD;AAClD,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAOzB;IACC,8FAA8F;IAC7E,QAAQ,CAQvB;IAEF,YAAY,YAA0B,EAAE,KAA2B;QACjE,KAAK,CA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OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAC9D,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC;QACpD,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,CAAC;IAEM,sBAAsB,CAC3B,IAAY,EACZ,OAAmC;QAEnC,IAAI,CAAC,cAAc,CACjB,IAAI,8BAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAC5C,IAAI,CAAC,GAAG,EACR,IAAI,CAAC,SAAS,EACd,IAAI,EACJ,IAAI,CACL,CAAC;IACJ,CAAC;CACF;AAhED,kCAgEC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts index b8ee01c03a..bd70905441 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class MappedTypeScope extends ScopeBase { +export declare class MappedTypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: MappedTypeScope['upper'], block: MappedTypeScope['block']); } -export { MappedTypeScope }; //# sourceMappingURL=MappedTypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map index 2bb0eb7416..1e146e3be6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MappedTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,eAAgB,SAAQ,SAAS,CACrC,SAAS,CAAC,UAAU,EACpB,QAAQ,CAAC,YAAY,EACrB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,eAAe,CAAC,OAAO,CAAC,EACpC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;CAIlC;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"MappedTypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,eAAgB,SAAQ,SAAS,CAC5C,SAAS,CAAC,UAAU,EACpB,QAAQ,CAAC,YAAY,EACrB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,eAAe,CAAC,OAAO,CAAC,EACpC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;CAIlC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map index a8fd910173..6e1733ba47 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"MappedTypeScope.js","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,eAAgB,SAAQ,qBAI7B;IACC,YACE,YAA0B,EAC1B,UAAoC,EACpC,KAA+B;QAE/B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACF;AAEQ,0CAAe"} \ No newline at end of file +{"version":3,"file":"MappedTypeScope.js","sourceRoot":"","sources":["../../src/scope/MappedTypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,eAAgB,SAAQ,qBAIpC;IACC,YACE,YAA0B,EAC1B,UAAoC,EACpC,KAA+B;QAE/B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACF;AAZD,0CAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts index ac537d891f..d80d5860b7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class ModuleScope extends ScopeBase { +export declare class ModuleScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: ModuleScope['upper'], block: ModuleScope['block']); } -export { ModuleScope }; //# sourceMappingURL=ModuleScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map index f32436c2a7..39572ce39c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC;gBAE1E,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,OAAO,EAChB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map index 984b690cc3..bfe209feaa 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map @@ -1 +1 @@ -{"version":3,"file":"ModuleScope.js","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAAoD;IAC5E,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"ModuleScope.js","sourceRoot":"","sources":["../../src/scope/ModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts index 73cc9eea91..b67b14a7b1 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts @@ -16,6 +16,5 @@ import type { TSEnumScope } from './TSEnumScope'; import type { TSModuleScope } from './TSModuleScope'; import type { TypeScope } from './TypeScope'; import type { WithScope } from './WithScope'; -type Scope = BlockScope | CatchScope | ClassFieldInitializerScope | ClassScope | ClassStaticBlockScope | ConditionalTypeScope | ForScope | FunctionExpressionNameScope | FunctionScope | FunctionTypeScope | GlobalScope | MappedTypeScope | ModuleScope | SwitchScope | TSEnumScope | TSModuleScope | TypeScope | WithScope; -export type { Scope }; +export type Scope = BlockScope | CatchScope | ClassFieldInitializerScope | ClassScope | ClassStaticBlockScope | ConditionalTypeScope | ForScope | FunctionExpressionNameScope | FunctionScope | FunctionTypeScope | GlobalScope | MappedTypeScope | ModuleScope | SwitchScope | TSEnumScope | TSModuleScope | TypeScope | WithScope; //# sourceMappingURL=Scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map index 40a584fae9..d7cda2782a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../src/scope/Scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MA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,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,KAAK,GACb,UAAU,GACV,UAAU,GACV,0BAA0B,GAC1B,UAAU,GACV,qBAAqB,GACrB,oBAAoB,GACpB,QAAQ,GACR,2BAA2B,GAC3B,aAAa,GACb,iBAAiB,GACjB,WAAW,GACX,eAAe,GACf,WAAW,GACX,WAAW,GACX,WAAW,GACX,aAAa,GACb,SAAS,GACT,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts index 0f605fa4e3..a243c79b0a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts @@ -11,7 +11,7 @@ import { Reference, ReferenceFlag } from '../referencer/Reference'; import { Variable } from '../variable'; import { ScopeType } from './ScopeType'; type VariableScope = FunctionScope | GlobalScope | ModuleScope | TSModuleScope; -declare abstract class ScopeBase { +export declare abstract class ScopeBase { #private; /** * A unique ID for this instance - primarily used to help debugging and testing @@ -94,5 +94,5 @@ declare abstract class ScopeBase { +export declare class SwitchScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: SwitchScope['upper'], block: SwitchScope['block']); } -export { SwitchScope }; //# sourceMappingURL=SwitchScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map index 17f5e86f24..035d6aee0c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SwitchScope.d.ts","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,eAAe,EACxB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"SwitchScope.d.ts","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,eAAe,EACxB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map index cb5fe27c72..74f2eaabdf 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map @@ -1 +1 @@ -{"version":3,"file":"SwitchScope.js","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAIzB;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"SwitchScope.js","sourceRoot":"","sources":["../../src/scope/SwitchScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts index 38c09ea99a..026aeedc7f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TSEnumScope extends ScopeBase { +export declare class TSEnumScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TSEnumScope['upper'], block: TSEnumScope['block']); } -export { TSEnumScope }; //# sourceMappingURL=TSEnumScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map index 3f6d4862f3..dac52dce78 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,WAAY,SAAQ,SAAS,CACjC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSEnumScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,WAAY,SAAQ,SAAS,CACxC,SAAS,CAAC,MAAM,EAChB,QAAQ,CAAC,iBAAiB,EAC1B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,EAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC;CAI9B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map index c438ce55b3..020ec236f7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TSEnumScope.js","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,WAAY,SAAQ,qBAIzB;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAEQ,kCAAW"} \ No newline at end of file +{"version":3,"file":"TSEnumScope.js","sourceRoot":"","sources":["../../src/scope/TSEnumScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,WAAY,SAAQ,qBAIhC;IACC,YACE,YAA0B,EAC1B,UAAgC,EAChC,KAA2B;QAE3B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACF;AAZD,kCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts index 386180a056..76c49e3997 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TSModuleScope extends ScopeBase { +export declare class TSModuleScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TSModuleScope['upper'], block: TSModuleScope['block']); } -export { TSModuleScope }; //# sourceMappingURL=TSModuleScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map index e16892b218..beda39237f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,aAAc,SAAQ,SAAS,CACnC,SAAS,CAAC,QAAQ,EAClB,QAAQ,CAAC,mBAAmB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC;CAIhC;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TSModuleScope.d.ts","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,aAAc,SAAQ,SAAS,CAC1C,SAAS,CAAC,QAAQ,EAClB,QAAQ,CAAC,mBAAmB,EAC5B,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,EAClC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC;CAIhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map index 330396c4ae..665d5eccca 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TSModuleScope.js","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,aAAc,SAAQ,qBAI3B;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B;QAE7B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;CACF;AAEQ,sCAAa"} \ No newline at end of file +{"version":3,"file":"TSModuleScope.js","sourceRoot":"","sources":["../../src/scope/TSModuleScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,aAAc,SAAQ,qBAIlC;IACC,YACE,YAA0B,EAC1B,UAAkC,EAClC,KAA6B;QAE7B,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IACpE,CAAC;CACF;AAZD,sCAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts index bde4d53605..25163260ec 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts @@ -3,8 +3,7 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class TypeScope extends ScopeBase { +export declare class TypeScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: TypeScope['upper'], block: TypeScope['block']); } -export { TypeScope }; //# sourceMappingURL=TypeScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map index 9efd512aa0..838d87322b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,SAAU,SAAQ,SAAS,CAC/B,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,sBAAsB,GAAG,QAAQ,CAAC,sBAAsB,EACjE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAI5B;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"TypeScope.d.ts","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,SAAU,SAAQ,SAAS,CACtC,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,sBAAsB,GAAG,QAAQ,CAAC,sBAAsB,EACjE,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;CAI5B"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map index 74272f4281..5cdfa4859b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeScope.js","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,SAAU,SAAQ,qBAIvB;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;CACF;AAEQ,8BAAS"} \ No newline at end of file +{"version":3,"file":"TypeScope.js","sourceRoot":"","sources":["../../src/scope/TypeScope.ts"],"names":[],"mappings":";;;AAKA,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,SAAU,SAAQ,qBAI9B;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;CACF;AAZD,8BAYC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts index 1eaa485441..3743b5d678 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts @@ -3,9 +3,8 @@ import type { ScopeManager } from '../ScopeManager'; import type { Scope } from './Scope'; import { ScopeBase } from './ScopeBase'; import { ScopeType } from './ScopeType'; -declare class WithScope extends ScopeBase { +export declare class WithScope extends ScopeBase { constructor(scopeManager: ScopeManager, upperScope: WithScope['upper'], block: WithScope['block']); close(scopeManager: ScopeManager): Scope | null; } -export { WithScope }; //# sourceMappingURL=WithScope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map index a2cc41d809..5eeba33835 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"WithScope.d.ts","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAM,SAAU,SAAQ,SAAS,CAC/B,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,aAAa,EACtB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;IAI3B,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;CAShD;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"WithScope.d.ts","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,SAAU,SAAQ,SAAS,CACtC,SAAS,CAAC,IAAI,EACd,QAAQ,CAAC,aAAa,EACtB,KAAK,CACN;gBAEG,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,EAC9B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;IAI3B,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,KAAK,GAAG,IAAI;CAShD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map index 567a872a37..c7c2b66a7d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map @@ -1 +1 @@ -{"version":3,"file":"WithScope.js","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":";;;AAKA,sCAAmC;AACnC,2CAAwC;AACxC,2CAAwC;AAExC,MAAM,SAAU,SAAQ,qBAIvB;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;IACD,KAAK,CAAC,YAA0B;QAC9B,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACnC,CAAC;QACD,IAAA,eAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AAEQ,8BAAS"} \ No newline at end of file +{"version":3,"file":"WithScope.js","sourceRoot":"","sources":["../../src/scope/WithScope.ts"],"names":[],"mappings":";;;AAKA,sCAAmC;AACnC,2CAAwC;AACxC,2CAAwC;AAExC,MAAa,SAAU,SAAQ,qBAI9B;IACC,YACE,YAA0B,EAC1B,UAA8B,EAC9B,KAAyB;QAEzB,KAAK,CAAC,YAAY,EAAE,qBAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;IACD,KAAK,CAAC,YAA0B;QAC9B,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;YACjC,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACnC,CAAC;QACD,IAAA,eAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AArBD,8BAqBC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts index fd5e08bec4..059713cab8 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts @@ -2,9 +2,9 @@ import type { TSESTree } from '@typescript-eslint/types'; import { VariableBase } from './VariableBase'; /** * ESLint defines global variables using the eslint-scope Variable class - * This is declared her for consumers to use + * This is declared here for consumers to use */ -declare class ESLintScopeVariable extends VariableBase { +export declare class ESLintScopeVariable extends VariableBase { /** * Written to by ESLint. * If this key exists, this variable is a global variable added by ESLint. @@ -30,5 +30,4 @@ declare class ESLintScopeVariable extends VariableBase { */ eslintExplicitGlobalComments?: TSESTree.Comment[]; } -export { ESLintScopeVariable }; //# sourceMappingURL=ESLintScopeVariable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map index b544931c64..0890facb8d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ESLintScopeVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,cAAM,mBAAoB,SAAQ,YAAY;IAC5C;;;;;OAKG;IACI,SAAS,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAE7D;;;;OAIG;IACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;CAC1D;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ESLintScopeVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IACnD;;;;;OAKG;IACI,SAAS,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACI,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACI,2BAA2B,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAE7D;;;;OAIG;IACI,4BAA4B,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;CAC1D"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js index d36def70d5..022968e983 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js @@ -4,7 +4,7 @@ exports.ESLintScopeVariable = void 0; const VariableBase_1 = require("./VariableBase"); /** * ESLint defines global variables using the eslint-scope Variable class - * This is declared her for consumers to use + * This is declared here for consumers to use */ class ESLintScopeVariable extends VariableBase_1.VariableBase { /** diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map index 973b731493..e28f9b9525 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map @@ -1 +1 @@ -{"version":3,"file":"ESLintScopeVariable.js","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":";;;AAEA,iDAA8C;AAE9C;;;GAGG;AACH,MAAM,mBAAoB,SAAQ,2BAAY;IAC5C;;;;;OAKG;IACI,SAAS,CAAW,CAAC,+DAA+D;IAE3F;;;;OAIG;IACI,oBAAoB,CAAW;IAEtC;;;OAGG;IACI,2BAA2B,CAA2B;IAE7D;;;;OAIG;IACI,4BAA4B,CAAsB;CAC1D;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ESLintScopeVariable.js","sourceRoot":"","sources":["../../src/variable/ESLintScopeVariable.ts"],"names":[],"mappings":";;;AAEA,iDAA8C;AAE9C;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,2BAAY;IACnD;;;;;OAKG;IACI,SAAS,CAAW,CAAC,+DAA+D;IAE3F;;;;OAIG;IACI,oBAAoB,CAAW;IAEtC;;;OAGG;IACI,2BAA2B,CAA2B;IAE7D;;;;OAIG;IACI,4BAA4B,CAAsB;CAC1D;AA5BD,kDA4BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts index 79eef8fcaa..eee628ec11 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts @@ -1,7 +1,7 @@ import type { Scope } from '../scope'; import type { Variable } from './Variable'; import { ESLintScopeVariable } from './ESLintScopeVariable'; -interface ImplicitLibVariableOptions { +export interface ImplicitLibVariableOptions { readonly eslintImplicitGlobalSetting?: ESLintScopeVariable['eslintImplicitGlobalSetting']; readonly isTypeVariable?: boolean; readonly isValueVariable?: boolean; @@ -10,7 +10,7 @@ interface ImplicitLibVariableOptions { /** * An variable implicitly defined by the TS Lib */ -declare class ImplicitLibVariable extends ESLintScopeVariable implements Variable { +export declare class ImplicitLibVariable extends ESLintScopeVariable implements Variable { /** * `true` if the variable is valid in a type context, false otherwise */ @@ -21,5 +21,4 @@ declare class ImplicitLibVariable extends ESLintScopeVariable implements Variabl readonly isValueVariable: boolean; constructor(scope: Scope, name: string, { eslintImplicitGlobalSetting, isTypeVariable, isValueVariable, writeable, }: ImplicitLibVariableOptions); } -export { ImplicitLibVariable, type ImplicitLibVariableOptions }; //# sourceMappingURL=ImplicitLibVariable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map index 2eb2db9046..1fc7925e38 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitLibVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,UAAU,0BAA0B;IAClC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;IAC1F,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AACH,cAAM,mBAAoB,SAAQ,mBAAoB,YAAW,QAAQ;IACvE;;OAEG;IACH,SAAgB,cAAc,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,SAAgB,eAAe,EAAE,OAAO,CAAC;gBAGvC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACV,EAAE,0BAA0B;CAShC;AAED,OAAO,EAAE,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ImplicitLibVariable.d.ts","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;IAC1F,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,mBACX,SAAQ,mBACR,YAAW,QAAQ;IAEnB;;OAEG;IACH,SAAgB,cAAc,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,SAAgB,eAAe,EAAE,OAAO,CAAC;gBAGvC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACV,EAAE,0BAA0B;CAShC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map index 3149b8bbc2..ac84e32cb4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map @@ -1 +1 @@ -{"version":3,"file":"ImplicitLibVariable.js","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAS5D;;GAEG;AACH,MAAM,mBAAoB,SAAQ,yCAAmB;IACnD;;OAEG;IACa,cAAc,CAAU;IAExC;;OAEG;IACa,eAAe,CAAU;IAEzC,YACE,KAAY,EACZ,IAAY,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACkB;QAE7B,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,KAAK,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,KAAK,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC;QACpC,IAAI,CAAC,2BAA2B;YAC9B,2BAA2B,IAAI,UAAU,CAAC;IAC9C,CAAC;CACF;AAEQ,kDAAmB"} \ No newline at end of file +{"version":3,"file":"ImplicitLibVariable.js","sourceRoot":"","sources":["../../src/variable/ImplicitLibVariable.ts"],"names":[],"mappings":";;;AAGA,+DAA4D;AAS5D;;GAEG;AACH,MAAa,mBACX,SAAQ,yCAAmB;IAG3B;;OAEG;IACa,cAAc,CAAU;IAExC;;OAEG;IACa,eAAe,CAAU;IAEzC,YACE,KAAY,EACZ,IAAY,EACZ,EACE,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,SAAS,GACkB;QAE7B,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,KAAK,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,KAAK,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC;QACpC,IAAI,CAAC,2BAA2B;YAC9B,2BAA2B,IAAI,UAAU,CAAC;IAC9C,CAAC;CACF;AA/BD,kDA+BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts index 83754b17f8..64d4625371 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts @@ -2,7 +2,7 @@ import { VariableBase } from './VariableBase'; /** * A Variable represents a locally scoped identifier. These include arguments to functions. */ -declare class Variable extends VariableBase { +export declare class Variable extends VariableBase { /** * `true` if the variable is valid in a type context, false otherwise * @public @@ -14,5 +14,4 @@ declare class Variable extends VariableBase { */ get isValueVariable(): boolean; } -export { Variable }; //# sourceMappingURL=Variable.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map index 9b56c4f476..9263ad44cd 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,cAAM,QAAS,SAAQ,YAAY;IACjC;;;OAGG;IACH,IAAW,cAAc,IAAI,OAAO,CAOnC;IAED;;;OAGG;IACH,IAAW,eAAe,IAAI,OAAO,CAOpC;CACF;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,qBAAa,QAAS,SAAQ,YAAY;IACxC;;;OAGG;IACH,IAAW,cAAc,IAAI,OAAO,CAOnC;IAED;;;OAGG;IACH,IAAW,eAAe,IAAI,OAAO,CAOpC;CACF"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map index ba7671440d..efafcd91fb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map @@ -1 +1 @@ -{"version":3,"file":"Variable.js","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;GAEG;AACH,MAAM,QAAS,SAAQ,2BAAY;IACjC;;;OAGG;IACH,IAAW,cAAc;QACvB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,IAAW,eAAe;QACxB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACzD,CAAC;CACF;AAEQ,4BAAQ"} \ No newline at end of file +{"version":3,"file":"Variable.js","sourceRoot":"","sources":["../../src/variable/Variable.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,2BAAY;IACxC;;;OAGG;IACH,IAAW,cAAc;QACvB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,IAAW,eAAe;QACxB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACzD,CAAC;CACF;AA1BD,4BA0BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts index c74c7a386e..0efe6e4c6f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts @@ -2,7 +2,7 @@ import type { TSESTree } from '@typescript-eslint/types'; import type { Definition } from '../definition'; import type { Reference } from '../referencer/Reference'; import type { Scope } from '../scope'; -declare class VariableBase { +export declare class VariableBase { /** * A unique ID for this instance - primarily used to help debugging and testing */ @@ -40,5 +40,4 @@ declare class VariableBase { readonly scope: Scope; constructor(name: string, scope: Scope); } -export { VariableBase }; //# sourceMappingURL=VariableBase.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map index 02d49843fe..182e39838e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VariableBase.d.ts","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMtC,cAAM,YAAY;IAChB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAM;IACxC;;;OAGG;IACI,UAAU,UAAS;IAC1B;;;;OAIG;IACH,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAM;IACxD;;;OAGG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7C;;OAEG;IACH,SAAgB,KAAK,EAAE,KAAK,CAAC;gBAEjB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;CAIvC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"VariableBase.d.ts","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMtC,qBAAa,YAAY;IACvB;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,UAAU,EAAE,CAAM;IACxC;;;OAGG;IACI,UAAU,UAAS;IAC1B;;;;OAIG;IACH,SAAgB,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAM;IACxD;;;OAGG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,SAAgB,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7C;;OAEG;IACH,SAAgB,KAAK,EAAE,KAAK,CAAC;gBAEjB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;CAIvC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map index 2bcb51cd69..8832d78110 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map @@ -1 +1 @@ -{"version":3,"file":"VariableBase.js","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":";;;AAMA,8BAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAM,YAAY;IAChB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;;OAGG;IACa,IAAI,GAAiB,EAAE,CAAC;IACxC;;;OAGG;IACI,UAAU,GAAG,KAAK,CAAC;IAC1B;;;;OAIG;IACa,WAAW,GAA0B,EAAE,CAAC;IACxD;;;OAGG;IACa,IAAI,CAAS;IAC7B;;;;OAIG;IACa,UAAU,GAAgB,EAAE,CAAC;IAC7C;;OAEG;IACa,KAAK,CAAQ;IAE7B,YAAY,IAAY,EAAE,KAAY;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAEQ,oCAAY"} \ No newline at end of file +{"version":3,"file":"VariableBase.js","sourceRoot":"","sources":["../../src/variable/VariableBase.ts"],"names":[],"mappings":";;;AAMA,8BAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAa,YAAY;IACvB;;OAEG;IACa,GAAG,GAAW,SAAS,EAAE,CAAC;IAE1C;;;OAGG;IACa,IAAI,GAAiB,EAAE,CAAC;IACxC;;;OAGG;IACI,UAAU,GAAG,KAAK,CAAC;IAC1B;;;;OAIG;IACa,WAAW,GAA0B,EAAE,CAAC;IACxD;;;OAGG;IACa,IAAI,CAAS;IAC7B;;;;OAIG;IACa,UAAU,GAAgB,EAAE,CAAC;IAC7C;;OAEG;IACa,KAAK,CAAQ;IAE7B,YAAY,IAAY,EAAE,KAAY;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AA1CD,oCA0CC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json index b79986a1fd..451de1fb7b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.20.0", + "version": "8.21.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.20.0", + "@typescript-eslint/typescript-estree": "8.21.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts index 3c00ec4011..a7848bc101 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts @@ -1624,6 +1624,7 @@ export declare interface TSImportEqualsRequireDeclaration extends TSImportEquals export declare interface TSImportType extends BaseNode { type: AST_NODE_TYPES.TSImportType; argument: TypeNode; + attributes: ImportAttribute[]; qualifier: EntityName | null; typeArguments: TSTypeParameterInstantiation | null; } diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map index 92d884b7f4..472fe95a9a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ast-spec.d.ts","sourceRoot":"","sources":["../../src/generated/ast-spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;gDAQgD;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,CAAC,OAAO,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEvE,MAAM,CAAC,OAAO,MAAM,gBAAgB,GAChC,4BAA4B,GAC5B,+BAA+B,CAAC;AAEpC,MAAM,CAAC,OAAO,WAAW,4BACvB,SAAQ,kCAAkC;IAC1C,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,+BACvB,SAAQ,qCAAqC;IAC7C,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC;CACvC;AAED,MAAM,CAAC,O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AAE,WAAW,CAAC;IAChB;;;OAGG;IACH,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,oCACvB,SAAQ,sBAAsB;IAC9B,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,EAAE,EAAE,UAAU,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,2BACvB,SAAQ,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,wBACvB,SAAQ,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,cAAe,SAAQ,QAAQ;IACtD,IAAI,EAAE,cAAc,CAAC,cAAc,CAAC;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,aAAc,SAAQ,QAAQ;IACrD,IAAI,EAAE,cAAc,CAAC,aAAa,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,eAAgB,SAAQ,QAAQ;IACvD,IAAI,EAAE,cAAc,CAAC,eAAe,CAAC;IACrC,QAAQ,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,OAAO,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts index d007fce8ee..462a129521 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts @@ -1,3 +1,2 @@ -type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; -export { Lib }; +export type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable'; //# sourceMappingURL=lib.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts.map index 51e8fd1347..0285f18c02 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/lib.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,KAAK,GAAG,GACJ,YAAY,GACZ,mBAAmB,GACnB,KAAK,GACL,mBAAmB,GACnB,cAAc,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,QAAQ,GACR,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,KAAK,GACL,YAAY,GACZ,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC;AAEzB,OAAO,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,GAAG,GACX,YAAY,GACZ,mBAAmB,GACnB,KAAK,GACL,mBAAmB,GACnB,cAAc,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,QAAQ,GACR,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,yBAAyB,GACzB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,qBAAqB,GACrB,eAAe,GACf,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,KAAK,GACL,YAAY,GACZ,WAAW,GACX,yBAAyB,GACzB,yBAAyB,GACzB,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts index bf09742335..cb2f5eb3a0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts @@ -1,15 +1,15 @@ import type { Program } from 'typescript'; import type { Lib } from './lib'; -type DebugLevel = boolean | ('eslint' | 'typescript' | 'typescript-eslint')[]; -type CacheDurationSeconds = number | 'Infinity'; -type EcmaVersion = 'latest' | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | undefined; -type SourceTypeClassic = 'module' | 'script'; -type SourceType = 'commonjs' | SourceTypeClassic; -type JSDocParsingMode = 'all' | 'none' | 'type-info'; +export type DebugLevel = boolean | ('eslint' | 'typescript' | 'typescript-eslint')[]; +export type CacheDurationSeconds = number | 'Infinity'; +export type EcmaVersion = 'latest' | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | undefined; +export type SourceTypeClassic = 'module' | 'script'; +export type SourceType = 'commonjs' | SourceTypeClassic; +export type JSDocParsingMode = 'all' | 'none' | 'type-info'; /** * Granular options to configure the project service. */ -interface ProjectServiceOptions { +export interface ProjectServiceOptions { /** * Globs of files to allow running with the default project compiler options * despite not being matched by the project service. @@ -33,7 +33,7 @@ interface ProjectServiceOptions { */ maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING?: number; } -interface ParserOptions { +export interface ParserOptions { [additionalProperties: string]: unknown; cacheLifetime?: { glob?: CacheDurationSeconds; @@ -65,5 +65,4 @@ interface ParserOptions { tsconfigRootDir?: string; warnOnUnsupportedTypeScriptVersion?: boolean; } -export type { CacheDurationSeconds, DebugLevel, EcmaVersion, JSDocParsingMode, ParserOptions, ProjectServiceOptions, SourceType, }; //# sourceMappingURL=parser-options.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map index ff550366f0..2c9b2b945a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser-options.d.ts","sourceRoot":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,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EACT;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;QACvB,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACnC,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAC3B,GACD,SAAS,CAAC;IACd,WAAW,CAAC,EAAE,WAAW,CAAC;IAG1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,2CAA2C,CAAC,EAAE,OAAO,CAAC;IAEtD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts index 56266642bb..6342feaa21 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts @@ -43,7 +43,7 @@ declare module './generated/ast-spec' { parent: TSESTree.ClassDeclaration | TSESTree.ClassExpression; } interface ImportAttribute { - parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration; + parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration | TSESTree.TSImportType; } interface ImportDefaultSpecifier { parent: TSESTree.ImportDeclaration; diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map index 975e02e10b..7c84c962a4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.d.ts","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAGtD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC;KACvB;IAED,UAAU,OAAO;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB;IAED,UAAU,4BAA4B;QACpC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,sCAAsC;QAC9C,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;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EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;IACD,UAAU,uCAAuC;QAC/C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;CACF;AAED,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map index ac9ead2c95..521de1b968 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkOA,iEAAiD"} \ No newline at end of file +{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmOA,iEAAiD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json index 4fe9a03c9c..703d1f50b7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.20.0", + "version": "8.21.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map index 92463b3cb9..e81beb6ca5 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EACV,aAAa,EACb,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,EAAE,MAAM,aAAa,CAAC;AAmCtE,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,wBAAwB,GAAG,EAAE,CAAC,sBAAsB,GAC1D,OAAO,CAMT;AAED,MAAM,WAAW,OAAO;IACtB,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,qBAAa,SAAS;;IACpB,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IAEvD;;;;;OAKG;gBACS,GAAG,EAAE,EAAE,CAAC,UAA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H,OAAO,CAAC,SAAS;IA8BjB,OAAO,CAAC,uBAAuB;IAQ/B,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,+BAA+B;IAiDvC;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,sBAAsB;IAoC9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IA69EnB,OAAO,CAAC,UAAU;IAelB,cAAc,IAAI,QAAQ,CAAC,OAAO;IAIlC;;;;OAIG;IACH,OAAO,CAAC,UAAU;IA0FlB;;;OAGG;IACH,OAAO,CAAC,UAAU;IAiFlB,UAAU,IAAI,OAAO;IAOrB;;OAEG;IACH,OAAO,CAAC,uBAAuB;CAYhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js index 97be4cd01a..cf92970632 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js @@ -2236,6 +2236,7 @@ class Converter { type: ts_estree_1.AST_NODE_TYPES.TSImportType, range, argument: this.convertChild(node.argument), + attributes: this.convertImportAttributes(node.attributes), qualifier: this.convertChild(node.qualifier), typeArguments: node.typeArguments ? this.convertTypeArgumentsToTypeParameterInstantiation(node.typeArguments, node) diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map index 2bc40eeac6..2af8e92249 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map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ACJ,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAa,EACb,MAA4B;QAE5B,IACE,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,sBAAsB;YACnC,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,CAAC;YACD,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAjhHD,8BAihHC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts index 851c720346..6e3710592e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts @@ -5,9 +5,9 @@ interface DirectoryStructureHost { interface CachedDirectoryStructureHost extends DirectoryStructureHost { readDirectory(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[]; } -interface WatchCompilerHostOfConfigFile extends ts.WatchCompilerHostOfConfigFile { +export interface WatchCompilerHostOfConfigFile extends ts.WatchCompilerHostOfConfigFile { extraFileExtensions?: readonly ts.FileExtensionInfo[]; onCachedDirectoryStructureHostCreate(host: CachedDirectoryStructureHost): void; } -export type { WatchCompilerHostOfConfigFile }; +export {}; //# sourceMappingURL=WatchCompilerHostOfConfigFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map index 4e776d40fd..41de9ea568 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"WatchCompilerHostOfConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/WatchCompilerHostOfConfigFile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,UAAU,sBAAsB;IAC9B,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,aAAa,CACX,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,6BAA6B,CAAC,CAAC,SAAS,EAAE,CAAC,cAAc,CACjE,SAAQ,EAAE,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,SAAS,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACtD,oCAAoC,CAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI,CAAC;CACT;AAED,YAAY,EAAE,6BAA6B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"WatchCompilerHostOfConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/WatchCompilerHostOfConfigFile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,UAAU,sBAAsB;IAC9B,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,aAAa,CACX,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,EAC3B,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,EAAE,CAAC;CACb;AAGD,MAAM,WAAW,6BAA6B,CAAC,CAAC,SAAS,EAAE,CAAC,cAAc,CACxE,SAAQ,EAAE,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,SAAS,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACtD,oCAAoC,CAClC,IAAI,EAAE,4BAA4B,GACjC,IAAI,CAAC;CACT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts index b39194d9f9..425fd1c541 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts @@ -3,6 +3,5 @@ import type { ASTAndDefiniteProgram } from './shared'; /** * @returns Returns a new source file and program corresponding to the linted code */ -declare function createIsolatedProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram; -export { createIsolatedProgram }; +export declare function createIsolatedProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram; //# sourceMappingURL=createIsolatedProgram.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map index 9721538360..a642dd6c4e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map index 65755f2023..9a8d3bc258 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file +{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,sDAsEC;AAtFD,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAgB,qBAAqB,C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AC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts index 8de2229c28..858038d5d3 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts @@ -1,7 +1,6 @@ import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndNoProgram } from './shared'; -declare function createSourceFile(parseSettings: ParseSettings): ts.SourceFile; -declare function createNoProgram(parseSettings: ParseSettings): ASTAndNoProgram; -export { createNoProgram, createSourceFile }; +export declare function createSourceFile(parseSettings: ParseSettings): ts.SourceFile; +export declare function createNoProgram(parseSettings: ParseSettings): ASTAndNoProgram; //# sourceMappingURL=createSourceFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map index 3477afc9b1..781e086708 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoB5E;AAED,wBAAgB,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAK7E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js index 5f85d5fcd6..b377b9b7e0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.createNoProgram = createNoProgram; exports.createSourceFile = createSourceFile; +exports.createNoProgram = createNoProgram; const debug_1 = __importDefault(require("debug")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map index ec6eceb29f..393e941052 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map @@ -1 +1 @@ -{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CS,0CAAe;AAAE,4CAAgB;AA1C1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,4CAoBC;AAED,0CAKC;AAxCD,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAgB,gBAAgB,CAAC,aAA4B;IAC3D,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAgB,eAAe,CAAC,aAA4B;IAC1D,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts index ffccd56071..83e168927d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts @@ -5,6 +5,5 @@ import type * as ts from 'typescript/lib/tsserverlibrary'; * @param configFile the path to the tsconfig.json file, relative to `projectDirectory` * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()` */ -declare function getParsedConfigFile(tsserver: typeof ts, configFile: string, projectDirectory?: string): ts.ParsedCommandLine; -export { getParsedConfigFile }; +export declare function getParsedConfigFile(tsserver: typeof ts, configFile: string, projectDirectory?: string): ts.ParsedCommandLine; //# sourceMappingURL=getParsedConfigFile.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map index 17d807b732..0b7cb3cfaa 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAO1D;;;;;GAKG;AACH,iBAAS,mBAAmB,CAC1B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CA6CtB;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAO1D;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CA6CtB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map index d1cc099d36..e0b07f77cd 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgES,kDAAmB;AA9D5B,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAS,mBAAmB,CAC1B,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,iHAAiH;IACjH,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EA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AC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,kDAiDC;AA5DD,4CAA8B;AAC9B,gDAAkC;AAElC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,iHAAiH;IACjH,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CACf,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,CAAC,EACrE,OAAO,CACR;QACH,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts index e532e6a569..0142b47487 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts @@ -1,5 +1,4 @@ import * as ts from 'typescript'; -declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind; -declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant; -export { getLanguageVariant, getScriptKind }; +export declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind; +export declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant; //# sourceMappingURL=getScriptKind.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map index 4b80634b6d..787037cf04 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8BpE;AAED,iBAAS,kBAAkB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,eAAe,CAYzE;AAED,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8B3E;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,EAAE,CAAC,UAAU,GACxB,EAAE,CAAC,eAAe,CAYpB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js index 7b2c6883d5..998d0a05e2 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getLanguageVariant = getLanguageVariant; exports.getScriptKind = getScriptKind; +exports.getLanguageVariant = getLanguageVariant; const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); function getScriptKind(filePath, jsx) { diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map index 3caf147a85..a4f6e343b0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDS,gDAAkB;AAAE,sCAAa;AAjD1C,0DAA6B;AAC7B,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE;YAClB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAE5B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B;YACE,mGAAmG;YACnG,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;IACtD,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,UAAyB;IACnD,8HAA8H;IAC9H,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QACxB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG;YACpB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sCA8BC;AAED,gDAcC;AAjDD,0DAA6B;AAC7B,+CAAiC;AAEjC,SAAgB,aAAa,CAAC,QAAgB,EAAE,GAAY;IAC1D,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8H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C;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts index 621d9bd645..f79e898f5b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts @@ -4,12 +4,11 @@ import type { ParseSettings } from '../parseSettings'; * Clear all of the parser caches. * This should only be used in testing to ensure the parser is clean between tests. */ -declare function clearWatchCaches(): void; +export declare function clearWatchCaches(): void; /** * Calculate project environments using options provided by consumer and paths from config * @param parseSettings Internal settings for parsing the file * @returns The programs corresponding to the supplied tsconfig paths */ -declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; -export { clearWatchCaches, getWatchProgramsForProjects }; +export declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; //# sourceMappingURL=getWatchProgramsForProjects.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map index f6f43cff32..a3eae89975 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiDtD;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC;AA4DD;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index 84f1c53502..f079475f57 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8eS,4CAAgB;AAAE,kEAA2B;AA9etD,kDAA0B;AAC1B,s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AM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,4CAOC;AAiED,kEAgHC;AAjPD,kDAA0B;AAC1B,sDAAyB;AACzB,+CAAiC;AAMjC,kDAA8C;AAC9C,qCAKkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,gFAAgF,CACjF,CAAC;AAEF;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAgB,gBAAgB;IAC9B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,KAAK,EAAE,CAAC;IACvC,mBAAmB,CAAC,KAAK,EAAE,CAAC;IAC5B,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,kCAAkC,CA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C;QACjB,sGAAsG;QACtG,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts index 7ec5bda213..0b7b607beb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts @@ -1,33 +1,32 @@ import type { Program } from 'typescript'; import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; -interface ASTAndNoProgram { +export interface ASTAndNoProgram { ast: ts.SourceFile; program: null; } -interface ASTAndDefiniteProgram { +export interface ASTAndDefiniteProgram { ast: ts.SourceFile; program: ts.Program; } -type ASTAndProgram = ASTAndDefiniteProgram | ASTAndNoProgram; +export type ASTAndProgram = ASTAndDefiniteProgram | ASTAndNoProgram; /** * Compiler options required to avoid critical functionality issues */ -declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions; -declare const DEFAULT_EXTRA_FILE_EXTENSIONS: Set; -declare function createDefaultCompilerOptionsFromExtra(parseSettings: ParseSettings): ts.CompilerOptions; -type CanonicalPath = { +export declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions; +export declare const DEFAULT_EXTRA_FILE_EXTENSIONS: Set; +export declare function createDefaultCompilerOptionsFromExtra(parseSettings: ParseSettings): ts.CompilerOptions; +export type CanonicalPath = { __brand: unknown; } & string; -declare function getCanonicalFileName(filePath: string): CanonicalPath; -declare function ensureAbsolutePath(p: string, tsconfigRootDir: string): string; -declare function canonicalDirname(p: CanonicalPath): CanonicalPath; -declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; +export declare function getCanonicalFileName(filePath: string): CanonicalPath; +export declare function ensureAbsolutePath(p: string, tsconfigRootDir: string): string; +export declare function canonicalDirname(p: CanonicalPath): CanonicalPath; +export declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; /** * Hash content for compare content. * @param content hashed contend * @returns hashed result */ -declare function createHash(content: string): string; -export { type ASTAndDefiniteProgram, type ASTAndNoProgram, type ASTAndProgram, canonicalDirname, type CanonicalPath, CORE_COMPILER_OPTIONS, createDefaultCompilerOptionsFromExtra, createHash, DEFAULT_EXTRA_FILE_EXTENSIONS, ensureAbsolutePath, getAstFromProgram, getCanonicalFileName, }; +export declare function createHash(content: string): string; //# sourceMappingURL=shared.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map index d79943b559..3a695359e7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,UAAU,eAAe;IACvB,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,UAAU,qBAAqB;IAC7B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,KAAK,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAE7D;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQ/B,CAAC;AAYF,QAAA,MAAM,6BAA6B,aASjC,CAAC;AAEH,iBAAS,qCAAqC,CAC5C,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,KAAK,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC;AAUnD,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7D;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAItE;AAED,iBAAS,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEzD;AAmBD,iBAAS,iBAAiB,CACxB,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAO3C;AAED,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,qBAAqB,EACrB,qCAAqC,EACrC,UAAU,EACV,6BAA6B,EAC7B,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,GACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQtC,CAAC;AAYF,eAAO,MAAM,6BAA6B,aASxC,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC;AAU1D,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAMpE;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAI7E;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEhE;AAmBD,wBAAgB,iBAAiB,CAC/B,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAOlD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js index 92c226606c..dbebe863bc 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js @@ -37,18 +37,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_EXTRA_FILE_EXTENSIONS = exports.CORE_COMPILER_OPTIONS = void 0; -exports.canonicalDirname = canonicalDirname; exports.createDefaultCompilerOptionsFromExtra = createDefaultCompilerOptionsFromExtra; -exports.createHash = createHash; +exports.getCanonicalFileName = getCanonicalFileName; exports.ensureAbsolutePath = ensureAbsolutePath; +exports.canonicalDirname = canonicalDirname; exports.getAstFromProgram = getAstFromProgram; -exports.getCanonicalFileName = getCanonicalFileName; +exports.createHash = createHash; const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); /** * Compiler options required to avoid critical functionality issues */ -const CORE_COMPILER_OPTIONS = { +exports.CORE_COMPILER_OPTIONS = { noEmit: true, // required to avoid parse from causing emit to occur /** * Flags required to make no-unused-vars work @@ -56,17 +56,16 @@ const CORE_COMPILER_OPTIONS = { noUnusedLocals: true, noUnusedParameters: true, }; -exports.CORE_COMPILER_OPTIONS = CORE_COMPILER_OPTIONS; /** * Default compiler options for program generation */ const DEFAULT_COMPILER_OPTIONS = { - ...CORE_COMPILER_OPTIONS, + ...exports.CORE_COMPILER_OPTIONS, allowJs: true, allowNonTsExtensions: true, checkJs: true, }; -const DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ +exports.DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ ts.Extension.Cjs, ts.Extension.Cts, ts.Extension.Js, @@ -76,7 +75,6 @@ const DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ ts.Extension.Ts, ts.Extension.Tsx, ]); -exports.DEFAULT_EXTRA_FILE_EXTENSIONS = DEFAULT_EXTRA_FILE_EXTENSIONS; function createDefaultCompilerOptionsFromExtra(parseSettings) { if (parseSettings.debugLevel.has('typescript')) { return { diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map index 82e5639b29..a8215979c8 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJE,4CAAgB;AAGhB,sFAAqC;AACrC,gCAAU;AAEV,gDAAkB;AAClB,8CAAiB;AACjB,oDAAoB;AAtJtB,0DAA6B;AAC7B,+CAAiC;AAcjC;;GAEG;AACH,MAAM,qBAAqB,GAAuB;IAChD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,C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AW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,sFAWC;AAaD,oDAMC;AAED,gDAIC;AAED,4CAEC;AAmBD,8CAcC;AAOD,gCAOC;AAxID,0DAA6B;AAC7B,+CAAiC;AAcjC;;GAEG;AACU,QAAA,qBAAqB,GAAuB;IACvD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,6BAAqB;IACxB,OAAO,EAAE,IAAI;IACb,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;CACd,CAAC;AAEW,QAAA,6BAA6B,GAAG,IAAI,GAAG,CAAS;IAC3D,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAA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AAO,CAAC,CAAC,CAAkB,CAAC;AAC1C,CAAC;AAED,MAAM,qBAAqB,GAAG;IAC5B,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,IAAI;IACjB,EAAE,CAAC,SAAS,CAAC,IAAI;CACT,CAAC;AACX,SAAS,YAAY,CAAC,QAA4B;IAChD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,qBAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CACzC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CACjC,IAAI,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAgB,iBAAiB,CAC/B,cAAuB,EACvB,QAAgB;IAEhB,MAAM,GAAG,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEnD,oFAAoF;IACpF,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAgB,UAAU,CAAC,OAAe;IACxC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts index 273ca7f5ae..e8eb86ae67 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts @@ -1,13 +1,12 @@ import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndDefiniteProgram } from './shared'; -declare function useProvidedPrograms(programInstances: Iterable, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; +export declare function useProvidedPrograms(programInstances: Iterable, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; /** * Utility offered by parser to help consumers construct their own program instance. * * @param configFile the path to the tsconfig.json file, relative to `projectDirectory` * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()` */ -declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program; -export { createProgramFromConfigFile, useProvidedPrograms }; +export declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program; //# sourceMappingURL=useProvidedPrograms.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index 616e2b3996..99308f06e7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 97f572daf0..9eb9bd746e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.createProgramFromConfigFile = createProgramFromConfigFile; exports.useProvidedPrograms = useProvidedPrograms; +exports.createProgramFromConfigFile = createProgramFromConfigFile; const debug_1 = __importDefault(require("debug")); const path = __importStar(require("node:path")); const ts = __importStar(require("typescript")); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index 7a4afe6a57..e89f0477ad 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsES,kEAA2B;AAAE,kDAAmB;AAtEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE,CACzE,CAAC;AAEF,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,k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AA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts index eacc856ce0..a2c01042da 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts @@ -1,19 +1,18 @@ import type * as ts from 'typescript'; import type { ParserServices, TSESTreeOptions } from './parser-options'; import type { TSESTree } from './ts-estree'; -declare function clearProgramCache(): void; -declare function clearDefaultProjectMatchedFiles(): void; -type AST = (T['comment'] extends true ? { +export declare function clearProgramCache(): void; +export declare function clearDefaultProjectMatchedFiles(): void; +export type AST = (T['comment'] extends true ? { comments: TSESTree.Comment[]; } : {}) & (T['tokens'] extends true ? { tokens: TSESTree.Token[]; } : {}) & TSESTree.Program; -interface ParseAndGenerateServicesResult { +export interface ParseAndGenerateServicesResult { ast: AST; services: ParserServices; } -declare function parse(code: string, options?: T): AST; -declare function clearParseAndGenerateServicesCalls(): void; -declare function parseAndGenerateServices(code: string | ts.SourceFile, tsestreeOptions: T): ParseAndGenerateServicesResult; -export { type AST, clearDefaultProjectMatchedFiles, clearParseAndGenerateServicesCalls, clearProgramCache, parse, parseAndGenerateServices, type ParseAndGenerateServicesResult, }; +export declare function parse(code: string, options?: T): AST; +export declare function clearParseAndGenerateServicesCalls(): void; +export declare function parseAndGenerateServices(code: string | ts.SourceFile, tsestreeOptions: T): ParseAndGenerateServicesResult; //# sourceMappingURL=parser.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map index 1a972b963e..7e286db134 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,KAAK,EACV,cAAc,EAEd,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA4B5C,iBAAS,iBAAiB,IAAI,IAAI,CAEjC;AAGD,iBAAS,+BAA+B,IAAI,IAAI,CAE/C;AA8CD,KAAK,GAAG,CAAC,CAAC,SAAS,eAAe,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,IAAI,GAC5D;IAAE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAA;CAAE,GAChC,EAAE,CAAC,GACL,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,IAAI,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAA;CAAE,GAAG,EAAE,CAAC,GAC9D,QAAQ,CAAC,OAAO,CAAC;AAGnB,UAAU,8BAA8B,CAAC,CAAC,SAAS,eAAe;IAChE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAMD,iBAAS,KAAK,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,EACxD,IA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;AAMD,wBAAgB,KAAK,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,EAC/D,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,CAAC,GACV,GAAG,CAAC,CAAC,CAAC,CAGR;AA4CD,wBAAgB,kCAAkC,IAAI,IAAI,CAEzD;AAED,wBAAgB,wBAAwB,CACtC,CAAC,SAAS,eAAe,GAAG,eAAe,EAE3C,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC,UAAU,EAC5B,eAAe,EAAE,CAAC,GACjB,8BAA8B,CAAC,CAAC,CAAC,CA+GnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js index b0f5638199..847bfef93f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js @@ -3,10 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.clearDefaultProjectMatchedFiles = clearDefaultProjectMatchedFiles; -exports.clearParseAndGenerateServicesCalls = clearParseAndGenerateServicesCalls; exports.clearProgramCache = clearProgramCache; +exports.clearDefaultProjectMatchedFiles = clearDefaultProjectMatchedFiles; exports.parse = parse; +exports.clearParseAndGenerateServicesCalls = clearParseAndGenerateServicesCalls; exports.parseAndGenerateServices = parseAndGenerateServices; const debug_1 = __importDefault(require("debug")); const ast_converter_1 = require("./ast-converter"); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map index 30ae23a8a0..85a94f4497 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map @@ -1 +1 @@ -{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;AAwRE,0EAA+B;AAC/B,gFAAkC;AAClC,8CAAiB;AACjB,sBAAK;AACL,4DAAwB;AA1R1B,kDAA0B;AAW1B,mDAA+C;AAC/C,uCAAyC;AACzC,kFAA+E;AAC/E,gFAA6E;AAC7E,wEAG2C;AAC3C,8FAA2F;AAC3F,8EAG8C;AAC9C,iEAA8D;AAC9D,6EAA0E;AAC1E,iFAAkF;AAClF,iFAA8E;AAE9E,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,4CAA4C,CAAC,CAAC;AAEhE;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAA6B,CAAC;AAC9D,SAAS,iBAAiB;IACxB,gBAAgB,CAAC,KAAK,EAAE,CAAC;AAC3B,CAAC;AAED,MAAM,0BAA0B,GAAG,IAAI,GAAG,EAAU,CAAC;AACrD,SAAS,+BAA+B;IACtC,0BAA0B,CAAC,KAAK,EAAE,CAAC;AACrC,CAAC;AAED;;;;GAIG;AACH,SAAS,gBAAgB,CACvB,aAA4B,EAC5B,sBAA+B;IAE/B,IAAI,aAAa,CAAC,cAAc,EAAE,CAAC;QACjC,MAAM,kBAAkB,GAAG,IAAA,2DAA4B,EACrD,aAAa,CAAC,cAAc,EAC5B,aAAa,EACb,sBAAsB,EACtB,0BAA0B,CAC3B,CAAC;QACF,IAAI,kBAAkB,EAAE,CAAC;YACvB,OAAO,kBAAkB,CAAC;QAC5B,CAAC;IACH,CAAC;IAED,IAAI,aAAa,CAAC,QAAQ,EAAE,CAAC;QAC3B,MAAM,oBAAoB,GAAG,IAAA,yCAAmB,EAC9C,aAAa,CAAC,QAAQ,EACtB,aAAa,CACd,CAAC;QACF,IAAI,oBAAoB,EAAE,CAA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,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACvE,CAAC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GACpB,aAAa,CAAC,SAAS;QACvB,eAAe,CAAC,QAAQ;QACxB,6BAA6B,CAAC,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC;QACzD,CAAC,CAAC,IAAA,6CAAqB,EAAC,aAAa,CAAC;QACtC,CAAC,CAAC,gBAAgB,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC;IAE9D;;;OAGG;IACH,MAAM,sBAAsB,GAC1B,OAAO,aAAa,CAAC,gBAAgB,KAAK,SAAS;QACjD,CAAC,CAAC,aAAa,CAAC,gBAAgB;QAChC,CAAC,CAAC,IAAI,CAAC;IAEX,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAA,4BAAY,EACtC,GAAG,EACH,aAAa,EACb,sBAAsB,CACvB,CAAC;IAEF;;;OAGG;IACH,IAAI,OAAO,IAAI,aAAa,CAAC,2CAA2C,EAAE,CAAC;QACzE,MAAM,KAAK,GAAG,IAAA,+DAAgC,EAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAC7D,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,IAAA,sBAAY,EAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAED;;OAEG;IACH,OAAO;QACL,GAAG,EAAE,MAAgB;QACrB,QAAQ,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE,OAAO,CAAC;KACjD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts index 0b8b65a3b5..bffa079e65 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts @@ -1,5 +1,5 @@ declare const versions: readonly ["4.7", "4.8", "4.9", "5.0", "5.1", "5.2", "5.3", "5.4"]; type Versions = typeof versions extends ArrayLike ? U : never; -declare const typescriptVersionIsAtLeast: Record; -export { typescriptVersionIsAtLeast }; +export declare const typescriptVersionIsAtLeast: Record; +export {}; //# sourceMappingURL=version-check.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map index 9c6001ebc3..602feb172f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,QAAQ,mEASJ,CAAC;AACX,KAAK,QAAQ,GAAG,OAAO,QAAQ,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAEvE,QAAA,MAAM,0BAA0B,EAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAKnE,OAAO,EAAE,0BAA0B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,QAAQ,mEASJ,CAAC;AACX,KAAK,QAAQ,GAAG,OAAO,QAAQ,SAAS,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAEvE,eAAO,MAAM,0BAA0B,EAAS,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js index 2e93b9efe5..6c8d1d38eb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js @@ -51,9 +51,8 @@ const versions = [ '5.3', '5.4', ]; -const typescriptVersionIsAtLeast = {}; -exports.typescriptVersionIsAtLeast = typescriptVersionIsAtLeast; +exports.typescriptVersionIsAtLeast = {}; for (const version of versions) { - typescriptVersionIsAtLeast[version] = semverCheck(version); + exports.typescriptVersionIsAtLeast[version] = semverCheck(version); } //# sourceMappingURL=version-check.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map index 9690e042e2..e8ddbb640e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map @@ -1 +1 @@ -{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGX,MAAM,0BAA0B,GAAG,EAA+B,CAAC;AAK1D,gEAA0B;AAJnC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,0BAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file +{"version":3,"file":"version-check.js","sourceRoot":"","sources":["../src/version-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,+CAAiC;AAEjC,SAAS,WAAW,CAAC,OAAe;IAClC,OAAO,MAAM,CAAC,SAAS,CACrB,EAAE,CAAC,OAAO,EACV,MAAM,OAAO,YAAY,OAAO,eAAe,OAAO,SAAS,EAC/D;QACE,iBAAiB,EAAE,IAAI;KACxB,CACF,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAG;IACf,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC;AAGE,QAAA,0BAA0B,GAAG,EAA+B,CAAC;AAC1E,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC/B,kCAA0B,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json index 60bb84efdd..1fe1eb2792 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.20.0", + "version": "8.21.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/visitor-keys": "8.20.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts index 8cd5456054..3c54b1d173 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts @@ -41,8 +41,8 @@ interface PatternMatcher { * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class} */ -declare const PatternMatcher: new (pattern: RegExp, options?: { +export declare const PatternMatcher: new (pattern: RegExp, options?: { escaped?: boolean; }) => PatternMatcher; -export { PatternMatcher }; +export {}; //# sourceMappingURL=PatternMatcher.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map index 83983aba98..b72788665f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"PatternMatcher.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,CAAC,MAAM,CAAC,OAAO,CAAC,CACd,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GACjD,MAAM,CAAC;IAEV;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAExD;;;;OAIG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;GAKG;AACH,QAAA,MAAM,cAAc,EAAiC,KACnD,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5B,cAAc,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"PatternMatcher.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,CAAC,MAAM,CAAC,OAAO,CAAC,CACd,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GACjD,MAAM,CAAC;IAEV;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAExD;;;;OAIG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAiC,KAC1D,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5B,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js index 0ffeb5e90b..54ece2a244 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js @@ -41,6 +41,5 @@ const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class} */ -const PatternMatcher = eslintUtils.PatternMatcher; -exports.PatternMatcher = PatternMatcher; +exports.PatternMatcher = eslintUtils.PatternMatcher; //# sourceMappingURL=PatternMatcher.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map index 19a3c9037e..9c7f8a430e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map @@ -1 +1 @@ -{"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGhB,CAAC;AAEX,wCAAc"} \ No newline at end of file +{"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACU,QAAA,cAAc,GAAG,WAAW,CAAC,cAGvB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts index 83c7e22827..7046d3c4f1 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts @@ -71,6 +71,6 @@ declare namespace ReferenceTracker { * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class} */ -declare const ReferenceTracker: ReferenceTrackerStatic; -export { ReferenceTracker }; +export declare const ReferenceTracker: ReferenceTrackerStatic; +export {}; //# sourceMappingURL=ReferenceTracker.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map index cf7e2a2197..20bac39008 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ReferenceTracker.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils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QACH,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;KAC5B,GACA,gBAAgB,CAAC;IAEpB,QAAQ,CAAC,IAAI,EAAE,OAAO,oBAAoB,CAAC;CAC5C;AAED,kBAAU,gBAAgB,CAAC;IACzB,KAAY,IAAI,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAClD,KAAY,IAAI,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAClD,KAAY,SAAS,GAAG,sBAAsB,CAAC,WAAW,CAAC,CAAC;IAC5D,KAAY,GAAG,GAAG,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAChD,KAAY,aAAa,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;IAEpD,KAAY,QAAQ,CAAC,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,UAAiB,eAAe,CAAC,CAAC;QAChC,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;QAClC,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC,yBAAyB,CAAC,CAAC,EAAE,CAAC,CAAC;QAChC,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC;QAC7B,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;KAC5B;IAED,UAAiB,cAAc,CAAC,CAAC,GAAG,GAAG;QACrC,IAAI,EAAE,CAAC,CAAC;QACR,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;QACpB,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;QACxB,IAAI,EAAE,aAAa,CAAC;KACrB;CACF;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EACK,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js index 11b6675bd0..7c04146bf4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js @@ -45,6 +45,5 @@ const ReferenceTrackerESM = eslintUtils.ReferenceTracker.ESM; * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class} */ -const ReferenceTracker = eslintUtils.ReferenceTracker; -exports.ReferenceTracker = ReferenceTracker; +exports.ReferenceTracker = eslintUtils.ReferenceTracker; //# sourceMappingURL=ReferenceTracker.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map index 1f90c3bddb..cec03dadbe 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map @@ -1 +1 @@ -{"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAiF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"} \ No newline at end of file +{"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAiF5E;;;;GAIG;AACU,QAAA,gBAAgB,GAC3B,WAAW,CAAC,gBAA0C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts index a0c3283694..79bc7275ed 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts @@ -5,13 +5,13 @@ import type { TSESTree } from '../../ts-estree'; * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation} */ -declare const getFunctionHeadLocation: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation; +export declare const getFunctionHeadLocation: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation; /** * Get the name and kind of a given function node. * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind} */ -declare const getFunctionNameWithKind: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode?: TSESLint.SourceCode) => string; +export declare const getFunctionNameWithKind: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode?: TSESLint.SourceCode) => string; /** * Get the property name of a given property node. * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function. @@ -19,7 +19,7 @@ declare const getFunctionNameWithKind: (node: TSESTree.ArrowFunctionExpression | * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname} * @returns The property name of the node. If the property name is not constant then it returns `null`. */ -declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.MethodDefinition | TSESTree.Property | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null; +export declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.MethodDefinition | TSESTree.Property | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null; /** * Get the value of a given node if it can decide the value statically. * If the 2nd parameter `initialScope` was given, this function tries to resolve identifier references which are in the @@ -31,7 +31,7 @@ declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Metho * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the * static value of the node, it returns `null`. */ -declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => { +export declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => { value: unknown; } | null; /** @@ -40,7 +40,7 @@ declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scop * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant} */ -declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null; +export declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null; /** * Check whether a given node has any side effect or not. * The side effect means that it may modify a certain variable or object member. This function considers the node which @@ -64,11 +64,11 @@ declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect} */ -declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: { +export declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: { considerGetters?: boolean; considerImplicitTypeConversion?: boolean; }) => boolean; -declare const isParenthesized: { +export declare const isParenthesized: { (times: number, node: TSESTree.Node, sourceCode: TSESLint.SourceCode): boolean; /** * Check whether a given node is parenthesized or not. @@ -81,5 +81,4 @@ declare const isParenthesized: { */ (node: TSESTree.Node, sourceCode: TSESLint.SourceCode): boolean; }; -export { getFunctionHeadLocation, getFunctionNameWithKind, getPropertyName, getStaticValue, getStringIfConstant, hasSideEffect, isParenthesized, }; //# sourceMappingURL=astUtilities.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map index 7b8120807b..fd71e3b49b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astUtilities.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts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_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js index ed81a599ee..e0e1a35a7e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js @@ -40,15 +40,13 @@ const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation} */ -const getFunctionHeadLocation = eslintUtils.getFunctionHeadLocation; -exports.getFunctionHeadLocation = getFunctionHeadLocation; +exports.getFunctionHeadLocation = eslintUtils.getFunctionHeadLocation; /** * Get the name and kind of a given function node. * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind} */ -const getFunctionNameWithKind = eslintUtils.getFunctionNameWithKind; -exports.getFunctionNameWithKind = getFunctionNameWithKind; +exports.getFunctionNameWithKind = eslintUtils.getFunctionNameWithKind; /** * Get the property name of a given property node. * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function. @@ -56,8 +54,7 @@ exports.getFunctionNameWithKind = getFunctionNameWithKind; * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname} * @returns The property name of the node. If the property name is not constant then it returns `null`. */ -const getPropertyName = eslintUtils.getPropertyName; -exports.getPropertyName = getPropertyName; +exports.getPropertyName = eslintUtils.getPropertyName; /** * Get the value of a given node if it can decide the value statically. * If the 2nd parameter `initialScope` was given, this function tries to resolve identifier references which are in the @@ -69,16 +66,14 @@ exports.getPropertyName = getPropertyName; * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the * static value of the node, it returns `null`. */ -const getStaticValue = eslintUtils.getStaticValue; -exports.getStaticValue = getStaticValue; +exports.getStaticValue = eslintUtils.getStaticValue; /** * Get the string value of a given node. * This function is a tiny wrapper of the getStaticValue function. * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant} */ -const getStringIfConstant = eslintUtils.getStringIfConstant; -exports.getStringIfConstant = getStringIfConstant; +exports.getStringIfConstant = eslintUtils.getStringIfConstant; /** * Check whether a given node has any side effect or not. * The side effect means that it may modify a certain variable or object member. This function considers the node which @@ -102,8 +97,6 @@ exports.getStringIfConstant = getStringIfConstant; * * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect} */ -const hasSideEffect = eslintUtils.hasSideEffect; -exports.hasSideEffect = hasSideEffect; -const isParenthesized = eslintUtils.isParenthesized; -exports.isParenthesized = isParenthesized; +exports.hasSideEffect = eslintUtils.hasSideEffect; +exports.isParenthesized = eslintUtils.isParenthesized; //# sourceMappingURL=astUtilities.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map index eb2c0bda2b..08ee3cf0c9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map @@ -1 +1 @@ -{"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA8G3B,0DAAuB;AA5GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAkGV,0DAAuB;AAhGzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAmFjB,0CAAe;AAjFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAoE7B,wCAAc;AAlEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AA0DjB,kDAAmB;AAxDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA2BX,sCAAa;AAzBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAiBnC,CAAC;AASA,0CAAe"} \ No newline at end of file +{"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACU,QAAA,uBAAuB,GAAG,WAAW,CAAC,uBAMvB,CAAC;AAE7B;;;;GAIG;AACU,QAAA,uBAAuB,GAAG,WAAW,CAAC,uBAMxC,CAAC;AAEZ;;;;;;GAMG;AACU,QAAA,eAAe,GAAG,WAAW,CAAC,eAOzB,CAAC;AAEnB;;;;;;;;;;GAUG;AACU,QAAA,cAAc,GAAG,WAAW,CAAC,cAGZ,CAAC;AAE/B;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,WAAW,CAAC,mBAG7B,CAAC;AAEnB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACU,QAAA,aAAa,GAAG,WAAW,CAAC,aAO7B,CAAC;AAEA,QAAA,eAAe,GAAG,WAAW,CAAC,eAiB1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts index 75d1f65d1c..4588769193 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts @@ -6,27 +6,27 @@ type PunctuatorTokenWithValue = { } & TSESTree.PunctuatorToken; type IsPunctuatorTokenWithValueFunction = IsSpecificTokenFunction>; type IsNotPunctuatorTokenWithValueFunction = IsNotSpecificTokenFunction>; -declare const isArrowToken: IsPunctuatorTokenWithValueFunction<"=>">; -declare const isNotArrowToken: IsNotPunctuatorTokenWithValueFunction<"=>">; -declare const isClosingBraceToken: IsPunctuatorTokenWithValueFunction<"}">; -declare const isNotClosingBraceToken: IsNotPunctuatorTokenWithValueFunction<"}">; -declare const isClosingBracketToken: IsPunctuatorTokenWithValueFunction<"]">; -declare const isNotClosingBracketToken: IsNotPunctuatorTokenWithValueFunction<"]">; -declare const isClosingParenToken: IsPunctuatorTokenWithValueFunction<")">; -declare const isNotClosingParenToken: IsNotPunctuatorTokenWithValueFunction<")">; -declare const isColonToken: IsPunctuatorTokenWithValueFunction<":">; -declare const isNotColonToken: IsNotPunctuatorTokenWithValueFunction<":">; -declare const isCommaToken: IsPunctuatorTokenWithValueFunction<",">; -declare const isNotCommaToken: IsNotPunctuatorTokenWithValueFunction<",">; -declare const isCommentToken: IsSpecificTokenFunction; -declare const isNotCommentToken: IsNotSpecificTokenFunction; -declare const isOpeningBraceToken: IsPunctuatorTokenWithValueFunction<"{">; -declare const isNotOpeningBraceToken: IsNotPunctuatorTokenWithValueFunction<"{">; -declare const isOpeningBracketToken: IsPunctuatorTokenWithValueFunction<"[">; -declare const isNotOpeningBracketToken: IsNotPunctuatorTokenWithValueFunction<"[">; -declare const isOpeningParenToken: IsPunctuatorTokenWithValueFunction<"(">; -declare const isNotOpeningParenToken: IsNotPunctuatorTokenWithValueFunction<"(">; -declare const isSemicolonToken: IsPunctuatorTokenWithValueFunction<";">; -declare const isNotSemicolonToken: IsNotPunctuatorTokenWithValueFunction<";">; -export { isArrowToken, isClosingBraceToken, isClosingBracketToken, isClosingParenToken, isColonToken, isCommaToken, isCommentToken, isNotArrowToken, isNotClosingBraceToken, isNotClosingBracketToken, isNotClosingParenToken, isNotColonToken, isNotCommaToken, isNotCommentToken, isNotOpeningBraceToken, isNotOpeningBracketToken, isNotOpeningParenToken, isNotSemicolonToken, isOpeningBraceToken, isOpeningBracketToken, isOpeningParenToken, isSemicolonToken, }; +export declare const isArrowToken: IsPunctuatorTokenWithValueFunction<"=>">; +export declare const isNotArrowToken: IsNotPunctuatorTokenWithValueFunction<"=>">; +export declare const isClosingBraceToken: IsPunctuatorTokenWithValueFunction<"}">; +export declare const isNotClosingBraceToken: IsNotPunctuatorTokenWithValueFunction<"}">; +export declare const isClosingBracketToken: IsPunctuatorTokenWithValueFunction<"]">; +export declare const isNotClosingBracketToken: IsNotPunctuatorTokenWithValueFunction<"]">; +export declare const isClosingParenToken: IsPunctuatorTokenWithValueFunction<")">; +export declare const isNotClosingParenToken: IsNotPunctuatorTokenWithValueFunction<")">; +export declare const isColonToken: IsPunctuatorTokenWithValueFunction<":">; +export declare const isNotColonToken: IsNotPunctuatorTokenWithValueFunction<":">; +export declare const isCommaToken: IsPunctuatorTokenWithValueFunction<",">; +export declare const isNotCommaToken: IsNotPunctuatorTokenWithValueFunction<",">; +export declare const isCommentToken: IsSpecificTokenFunction; +export declare const isNotCommentToken: IsNotSpecificTokenFunction; +export declare const isOpeningBraceToken: IsPunctuatorTokenWithValueFunction<"{">; +export declare const isNotOpeningBraceToken: IsNotPunctuatorTokenWithValueFunction<"{">; +export declare const isOpeningBracketToken: IsPunctuatorTokenWithValueFunction<"[">; +export declare const isNotOpeningBracketToken: IsNotPunctuatorTokenWithValueFunction<"[">; +export declare const isOpeningParenToken: IsPunctuatorTokenWithValueFunction<"(">; +export declare const isNotOpeningParenToken: IsNotPunctuatorTokenWithValueFunction<"(">; +export declare const isSemicolonToken: IsPunctuatorTokenWithValueFunction<";">; +export declare const isNotSemicolonToken: IsNotPunctuatorTokenWithValueFunction<";">; +export {}; //# sourceMappingURL=predicates.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map index 9f55408e44..b02b493331 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,uBAAuB,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,aAAa,CAAC;AAE5B,KAAK,0BAA0B,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACtE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAErD,KAAK,wBAAwB,CAAC,KAAK,SAAS,MAAM,IAAI;IACpD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC,eAAe,CAAC;AAC7B,KAAK,kCAAkC,CAAC,KAAK,SAAS,MAAM,IAC1D,uBAAuB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,KAAK,qCAAqC,CAAC,KAAK,SAAS,MAAM,IAC7D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F,QAAA,MAAM,mBAAmB,EACY,kCAAkC,CAAC,GAAG,CAAC,CAAC;AAC7E,QAAA,MAAM,sBAAsB,EACY,qCAAqC,CAAC,GAAG,CAAC,CAAC;AAEnF,QAAA,MAAM,gBAAgB,EACY,kCAAkC,CAAC,GAAG,CAAC,CAAC;AAC1E,QAAA,MAAM,mBAAmB,EACY,qCAAqC,CAAC,GAAG,CAAC,CAAC;AAEhF,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,GACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,uBAAuB,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,aAAa,CAAC;AAE5B,KAAK,0BAA0B,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACtE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAErD,KAAK,wBAAwB,CAAC,KAAK,SAAS,MAAM,IAAI;IACpD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,QAAQ,CAAC,eAAe,CAAC;AAC7B,KAAK,kCAAkC,CAAC,KAAK,SAAS,MAAM,IAC1D,uBAAuB,CAAC,wBAAwB,CA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AAC,CAAC;AAC/E,eAAO,MAAM,wBAAwB,EACK,qCAAqC,CAAC,GAAG,CAAC,CAAC;AAErF,eAAO,MAAM,mBAAmB,EACK,kCAAkC,CAAC,GAAG,CAAC,CAAC;AAC7E,eAAO,MAAM,sBAAsB,EACK,qCAAqC,CAAC,GAAG,CAAC,CAAC;AAEnF,eAAO,MAAM,gBAAgB,EACK,kCAAkC,CAAC,GAAG,CAAC,CAAC;AAC1E,eAAO,MAAM,mBAAmB,EACK,qCAAqC,CAAC,GAAG,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js index 43592b3b00..beeb2cae87 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js @@ -33,50 +33,28 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.isSemicolonToken = exports.isOpeningParenToken = exports.isOpeningBracketToken = exports.isOpeningBraceToken = exports.isNotSemicolonToken = exports.isNotOpeningParenToken = exports.isNotOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isNotCommentToken = exports.isNotCommaToken = exports.isNotColonToken = exports.isNotClosingParenToken = exports.isNotClosingBracketToken = exports.isNotClosingBraceToken = exports.isNotArrowToken = exports.isCommentToken = exports.isCommaToken = exports.isColonToken = exports.isClosingParenToken = exports.isClosingBracketToken = exports.isClosingBraceToken = exports.isArrowToken = void 0; +exports.isNotSemicolonToken = exports.isSemicolonToken = exports.isNotOpeningParenToken = exports.isOpeningParenToken = exports.isNotOpeningBracketToken = exports.isOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isOpeningBraceToken = exports.isNotCommentToken = exports.isCommentToken = exports.isNotCommaToken = exports.isCommaToken = exports.isNotColonToken = exports.isColonToken = exports.isNotClosingParenToken = exports.isClosingParenToken = exports.isNotClosingBracketToken = exports.isClosingBracketToken = exports.isNotClosingBraceToken = exports.isClosingBraceToken = exports.isNotArrowToken = exports.isArrowToken = void 0; const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); -const isArrowToken = eslintUtils.isArrowToken; -exports.isArrowToken = isArrowToken; -const isNotArrowToken = eslintUtils.isNotArrowToken; -exports.isNotArrowToken = isNotArrowToken; -const isClosingBraceToken = eslintUtils.isClosingBraceToken; -exports.isClosingBraceToken = isClosingBraceToken; -const isNotClosingBraceToken = eslintUtils.isNotClosingBraceToken; -exports.isNotClosingBraceToken = isNotClosingBraceToken; -const isClosingBracketToken = eslintUtils.isClosingBracketToken; -exports.isClosingBracketToken = isClosingBracketToken; -const isNotClosingBracketToken = eslintUtils.isNotClosingBracketToken; -exports.isNotClosingBracketToken = isNotClosingBracketToken; -const isClosingParenToken = eslintUtils.isClosingParenToken; -exports.isClosingParenToken = isClosingParenToken; -const isNotClosingParenToken = eslintUtils.isNotClosingParenToken; -exports.isNotClosingParenToken = isNotClosingParenToken; -const isColonToken = eslintUtils.isColonToken; -exports.isColonToken = isColonToken; -const isNotColonToken = eslintUtils.isNotColonToken; -exports.isNotColonToken = isNotColonToken; -const isCommaToken = eslintUtils.isCommaToken; -exports.isCommaToken = isCommaToken; -const isNotCommaToken = eslintUtils.isNotCommaToken; -exports.isNotCommaToken = isNotCommaToken; -const isCommentToken = eslintUtils.isCommentToken; -exports.isCommentToken = isCommentToken; -const isNotCommentToken = eslintUtils.isNotCommentToken; -exports.isNotCommentToken = isNotCommentToken; -const isOpeningBraceToken = eslintUtils.isOpeningBraceToken; -exports.isOpeningBraceToken = isOpeningBraceToken; -const isNotOpeningBraceToken = eslintUtils.isNotOpeningBraceToken; -exports.isNotOpeningBraceToken = isNotOpeningBraceToken; -const isOpeningBracketToken = eslintUtils.isOpeningBracketToken; -exports.isOpeningBracketToken = isOpeningBracketToken; -const isNotOpeningBracketToken = eslintUtils.isNotOpeningBracketToken; -exports.isNotOpeningBracketToken = isNotOpeningBracketToken; -const isOpeningParenToken = eslintUtils.isOpeningParenToken; -exports.isOpeningParenToken = isOpeningParenToken; -const isNotOpeningParenToken = eslintUtils.isNotOpeningParenToken; -exports.isNotOpeningParenToken = isNotOpeningParenToken; -const isSemicolonToken = eslintUtils.isSemicolonToken; -exports.isSemicolonToken = isSemicolonToken; -const isNotSemicolonToken = eslintUtils.isNotSemicolonToken; -exports.isNotSemicolonToken = isNotSemicolonToken; +exports.isArrowToken = eslintUtils.isArrowToken; +exports.isNotArrowToken = eslintUtils.isNotArrowToken; +exports.isClosingBraceToken = eslintUtils.isClosingBraceToken; +exports.isNotClosingBraceToken = eslintUtils.isNotClosingBraceToken; +exports.isClosingBracketToken = eslintUtils.isClosingBracketToken; +exports.isNotClosingBracketToken = eslintUtils.isNotClosingBracketToken; +exports.isClosingParenToken = eslintUtils.isClosingParenToken; +exports.isNotClosingParenToken = eslintUtils.isNotClosingParenToken; +exports.isColonToken = eslintUtils.isColonToken; +exports.isNotColonToken = eslintUtils.isNotColonToken; +exports.isCommaToken = eslintUtils.isCommaToken; +exports.isNotCommaToken = eslintUtils.isNotCommaToken; +exports.isCommentToken = eslintUtils.isCommentToken; +exports.isNotCommentToken = eslintUtils.isNotCommentToken; +exports.isOpeningBraceToken = eslintUtils.isOpeningBraceToken; +exports.isNotOpeningBraceToken = eslintUtils.isNotOpeningBraceToken; +exports.isOpeningBracketToken = eslintUtils.isOpeningBracketToken; +exports.isNotOpeningBracketToken = eslintUtils.isNotOpeningBracketToken; +exports.isOpeningParenToken = eslintUtils.isOpeningParenToken; +exports.isNotOpeningParenToken = eslintUtils.isNotOpeningParenToken; +exports.isSemicolonToken = eslintUtils.isSemicolonToken; +exports.isNotSemicolonToken = eslintUtils.isNotSemicolonToken; //# sourceMappingURL=predicates.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map index 2bdead692a..fe26fb6689 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map @@ -1 +1 @@ -{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAoB9D,MAAM,YAAY,GAChB,WAAW,CAAC,YAAwD,CAAC;AAuDrE,oCAAY;AAtDd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA8D,CAAC;AA4D3E,0CAAe;AA1DjB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAmD3E,kDAAmB;AAlDrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwDjF,wDAAsB;AAtDxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AA+C7E,sDAAqB;AA9CvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AAoDnF,4DAAwB;AAlD1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA2C3E,kDAAmB;AA1CrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgDjF,wDAAsB;AA9CxB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAuCpE,oCAAY;AAtCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AA4C1E,0CAAe;AA1CjB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAmCpE,oCAAY;AAlCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AAwC1E,0CAAe;AAtCjB,MAAM,cAAc,GAClB,WAAW,CAAC,cAA2D,CAAC;AA+BxE,wCAAc;AA9BhB,MAAM,iBAAiB,GACrB,WAAW,CAAC,iBAAiE,CAAC;AAoC9E,8CAAiB;AAlCnB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAsC3E,kDAAmB;AArCrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgCjF,wDAAsB;AA9BxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AAkC7E,sDAAqB;AAjCvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AA4BnF,4DAAwB;AA1B1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA8B3E,kDAAmB;AA7BrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwBjF,wDAAsB;AAtBxB,MAAM,gBAAgB,GACpB,WAAW,CAAC,gBAA2D,CAAC;AA0BxE,4CAAgB;AAzBlB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAAiE,CAAC;AAoB9E,kDAAmB"} \ No newline at end of file +{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAoBjD,QAAA,YAAY,GACvB,WAAW,CAAC,YAAwD,CAAC;AAC1D,QAAA,eAAe,GAC1B,WAAW,CAAC,eAA8D,CAAC;AAEhE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,qBAAqB,GAChC,WAAW,CAAC,qBAAgE,CAAC;AAClE,QAAA,wBAAwB,GACnC,WAAW,CAAC,wBAAsE,CAAC;AAExE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,YAAY,GACvB,WAAW,CAAC,YAAuD,CAAC;AACzD,QAAA,eAAe,GAC1B,WAAW,CAAC,eAA6D,CAAC;AAE/D,QAAA,YAAY,GACvB,WAAW,CAAC,YAAuD,CAAC;AACzD,QAAA,eAAe,GAC1B,WAAW,CAAC,eAA6D,CAAC;AAE/D,QAAA,cAAc,GACzB,WAAW,CAAC,cAA2D,CAAC;AAC7D,QAAA,iBAAiB,GAC5B,WAAW,CAAC,iBAAiE,CAAC;AAEnE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,qBAAqB,GAChC,WAAW,CAAC,qBAAgE,CAAC;AAClE,QAAA,wBAAwB,GACnC,WAAW,CAAC,wBAAsE,CAAC;AAExE,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAA8D,CAAC;AAChE,QAAA,sBAAsB,GACjC,WAAW,CAAC,sBAAoE,CAAC;AAEtE,QAAA,gBAAgB,GAC3B,WAAW,CAAC,gBAA2D,CAAC;AAC7D,QAAA,mBAAmB,GAC9B,WAAW,CAAC,mBAAiE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts index 480e9b5a62..60855acdd6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts @@ -5,7 +5,7 @@ import type { TSESTree } from '../../ts-estree'; * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable} */ -declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: string | TSESTree.Identifier) => TSESLint.Scope.Variable | null; +export declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: string | TSESTree.Identifier) => TSESLint.Scope.Variable | null; /** * Get the innermost scope which contains a given node. * @@ -13,6 +13,5 @@ declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: str * @returns The innermost scope which contains the given node. * If such scope doesn't exist then it returns the 1st argument `initialScope`. */ -declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope; -export { findVariable, getInnermostScope }; +export declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope; //# sourceMappingURL=scopeAnalysis.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map index 04d9ddd9e7..40acf04624 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"scopeAnalysis.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;GAIG;AACH,QAAA,MAAM,YAAY,EAA+B,CAC/C,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,KACrC,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;AAEpC;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB,EAAoC,CACzD,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAChB,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"scopeAnalysis.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAA+B,CACtD,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,KACrC,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAoC,CAChE,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAClC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAChB,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js index a57ab9241a..80f648972c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js @@ -40,8 +40,7 @@ const eslintUtils = __importStar(require("@eslint-community/eslint-utils")); * * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable} */ -const findVariable = eslintUtils.findVariable; -exports.findVariable = findVariable; +exports.findVariable = eslintUtils.findVariable; /** * Get the innermost scope which contains a given node. * @@ -49,6 +48,5 @@ exports.findVariable = findVariable; * @returns The innermost scope which contains the given node. * If such scope doesn't exist then it returns the 1st argument `initialScope`. */ -const getInnermostScope = eslintUtils.getInnermostScope; -exports.getInnermostScope = getInnermostScope; +exports.getInnermostScope = eslintUtils.getInnermostScope; //# sourceMappingURL=scopeAnalysis.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map index 5f92dc9416..eed398eabd 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map @@ -1 +1 @@ -{"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,YAAY,GAAG,WAAW,CAAC,YAGE,CAAC;AAc3B,oCAAY;AAZrB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAGb,CAAC;AAEH,8CAAiB"} \ No newline at end of file +{"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACU,QAAA,YAAY,GAAG,WAAW,CAAC,YAGL,CAAC;AAEpC;;;;;;GAMG;AACU,QAAA,iBAAiB,GAAG,WAAW,CAAC,iBAGpB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts index cbbd04bc57..336eda6171 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts @@ -1,8 +1,7 @@ import type { TSESTree } from '../ts-estree'; -declare const LINEBREAK_MATCHER: RegExp; +export declare const LINEBREAK_MATCHER: RegExp; /** * Determines whether two adjacent tokens are on the same line */ -declare function isTokenOnSameLine(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean; -export { isTokenOnSameLine, LINEBREAK_MATCHER }; +export declare function isTokenOnSameLine(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean; //# sourceMappingURL=misc.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map index 071c0afe74..ffd34d5c58 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,iBAAiB,QAA4B,CAAC;AAEpD;;GAEG;AACH,iBAAS,iBAAiB,CACxB,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACpC,OAAO,CAET;AAED,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,eAAO,MAAM,iBAAiB,QAA4B,CAAC;AAE3D;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,EACpC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,GACpC,OAAO,CAET"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js index 7aa82e80c5..a9e248bf12 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js @@ -2,8 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.LINEBREAK_MATCHER = void 0; exports.isTokenOnSameLine = isTokenOnSameLine; -const LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/; -exports.LINEBREAK_MATCHER = LINEBREAK_MATCHER; +exports.LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/; /** * Determines whether two adjacent tokens are on the same line */ diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map index bf4b06fcd6..5734574c55 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map @@ -1 +1 @@ -{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":";;;AAcS,8CAAiB;AAZ1B,MAAM,iBAAiB,GAAG,yBAAyB,CAAC;AAYxB,8CAAiB;AAV7C;;GAEG;AACH,SAAS,iBAAiB,CACxB,IAAoC,EACpC,KAAqC;IAErC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,KAAK,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;AACpD,CAAC"} \ No newline at end of file +{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/ast-utils/misc.ts"],"names":[],"mappings":";;;AAOA,8CAKC;AAVY,QAAA,iBAAiB,GAAG,yBAAyB,CAAC;AAE3D;;GAEG;AACH,SAAgB,iBAAiB,CAC/B,IAAoC,EACpC,KAAqC;IAErC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,KAAK,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;AACpD,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts index 39b496ae50..d69e752980 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts @@ -1,22 +1,22 @@ import type { TSESTree } from '../ts-estree'; -declare const isOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is { +export declare const isOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is { value: "?."; } & TSESTree.PunctuatorToken; -declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; -declare const isNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is { +export declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; +export declare const isNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is { value: "!"; } & TSESTree.PunctuatorToken; -declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; +export declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; /** * Returns true if and only if the node represents: foo?.() or foo.bar?.() */ -declare const isOptionalCallExpression: (node: TSESTree.Node | null | undefined) => node is { +export declare const isOptionalCallExpression: (node: TSESTree.Node | null | undefined) => node is { optional: boolean; } & TSESTree.CallExpression; /** * Returns true if and only if the node represents logical OR */ -declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => node is Partial & TSESTree.LogicalExpression; +export declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => node is Partial & TSESTree.LogicalExpression; /** * Checks if a node is a type assertion: * ``` @@ -24,47 +24,46 @@ declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => n * x * ``` */ -declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSAsExpression | TSESTree.TSTypeAssertion; -declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.VariableDeclaratorDefiniteAssignment | TSESTree.VariableDeclaratorMaybeInit | TSESTree.VariableDeclaratorNoInit | TSESTree.UsingInForOfDeclarator | TSESTree.UsingInNormalContextDeclarator; -declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression; -declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; -declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; -declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSFunctionType; -declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSConstructorType; -declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.FunctionExpression | TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName | TSESTree.PropertyDefinitionComputedName | TSESTree.PropertyDefinitionNonComputedName | TSESTree.TSAbstractMethodDefinitionComputedName | TSESTree.TSAbstractMethodDefinitionNonComputedName | TSESTree.TSAbstractPropertyDefinitionComputedName | TSESTree.TSAbstractPropertyDefinitionNonComputedName | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSIndexSignature | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName | TSESTree.TSPropertySignatureComputedName | TSESTree.TSPropertySignatureNonComputedName; +export declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSAsExpression | TSESTree.TSTypeAssertion; +export declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.VariableDeclaratorDefiniteAssignment | TSESTree.VariableDeclaratorMaybeInit | TSESTree.VariableDeclaratorNoInit | TSESTree.UsingInForOfDeclarator | TSESTree.UsingInNormalContextDeclarator; +export declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression; +export declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; +export declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; +export declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSFunctionType; +export declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSConstructorType; +export declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.FunctionExpression | TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName | TSESTree.PropertyDefinitionComputedName | TSESTree.PropertyDefinitionNonComputedName | TSESTree.TSAbstractMethodDefinitionComputedName | TSESTree.TSAbstractMethodDefinitionNonComputedName | TSESTree.TSAbstractPropertyDefinitionComputedName | TSESTree.TSAbstractPropertyDefinitionNonComputedName | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSIndexSignature | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName | TSESTree.TSPropertySignatureComputedName | TSESTree.TSPropertySignatureNonComputedName; /** * Checks if a node is a constructor method. */ -declare const isConstructor: (node: TSESTree.Node | null | undefined) => node is Partial & (TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName); +export declare const isConstructor: (node: TSESTree.Node | null | undefined) => node is Partial & (TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName); /** * Checks if a node is a setter method. */ -declare function isSetter(node: TSESTree.Node | undefined): node is { +export declare function isSetter(node: TSESTree.Node | undefined): node is { kind: 'set'; } & (TSESTree.MethodDefinition | TSESTree.Property); -declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Identifier; +export declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Identifier; /** * Checks if a node represents an `await …` expression. */ -declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.AwaitExpression; +export declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.AwaitExpression; /** * Checks if a possible token is the `await` keyword. */ -declare const isAwaitKeyword: (token: TSESTree.Token | null | undefined) => token is { +export declare const isAwaitKeyword: (token: TSESTree.Token | null | undefined) => token is { value: "await"; } & TSESTree.IdentifierToken; /** * Checks if a possible token is the `type` keyword. */ -declare const isTypeKeyword: (token: TSESTree.Token | null | undefined) => token is { +export declare const isTypeKeyword: (token: TSESTree.Token | null | undefined) => token is { value: "type"; } & TSESTree.IdentifierToken; /** * Checks if a possible token is the `import` keyword. */ -declare const isImportKeyword: (token: TSESTree.Token | null | undefined) => token is { +export declare const isImportKeyword: (token: TSESTree.Token | null | undefined) => token is { value: "import"; } & TSESTree.KeywordToken; -declare const isLoop: (node: TSESTree.Node | null | undefined) => node is TSESTree.DoWhileStatement | TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement | TSESTree.WhileStatement; -export { isAwaitExpression, isAwaitKeyword, isClassOrTypeElement, isConstructor, isFunction, isFunctionOrFunctionType, isFunctionType, isIdentifier, isImportKeyword, isLogicalOrOperator, isLoop, isNonNullAssertionPunctuator, isNotNonNullAssertionPunctuator, isNotOptionalChainPunctuator, isOptionalCallExpression, isOptionalChainPunctuator, isSetter, isTSConstructorType, isTSFunctionType, isTypeAssertion, isTypeKeyword, isVariableDeclarator, }; +export declare const isLoop: (node: TSESTree.Node | null | undefined) => node is TSESTree.DoWhileStatement | TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement | TSESTree.WhileStatement; //# sourceMappingURL=predicates.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map index c48d01b901..04cd39cdf7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../src/ast-utils/predicates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAW7C,QAAA,MAAM,yBAAyB,UA6DvB,SAAU,KAAK;;4BA1DtB,CAAC;AAEF,QAAA,MAAM,4BAA4B,UA6EJ,SAC3B,KAAK,wWA3EP,CAAC;AAEF,QAAA,MAAM,4BAA4B,UAmD1B,SAAU,KAAK;;4BAhDtB,CAAC;AAEF,QAAA,MAAM,+BAA+B,UAmEP,SAC3B,KAAK,wWAjEP,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,wBAAwB,SAGpB,SAAS,IAAI;;2BAEtB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB,SAPf,SAAS,IAAI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L,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,UAAU,EACV,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,MAAM,EACN,4BAA4B,EAC5B,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,oBAAoB,GACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../src/ast-utils/predicates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAW7C,eAAO,MAAM,yBAAyB,UA6DzB,SAAW,KACxB;;4BA3DC,CAAC;AAEF,eAAO,MAAM,4BAA4B,UA8EZ,SAAU,KAAK,wWA3E3C,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAmD5B,SAAW,KACxB;;4BAjDC,CAAC;AAEF,eAAO,MAAM,+BAA+B,UAoEf,SAAU,KAAK,wWAjE3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,SAEL,SAAU,IAAI;;2BAG7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,SARA,SAAU,IAAI,gGAW7C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,SAnCuC,SAC/D,IAAI,kFAqCG,CAAC;AAEZ,eAAO,MAAM,oBAAoB,SAjDvB,SAAU,IAAI,oOAmDvB,CAAC;AAOF,eAAO,MAAM,UAAU,SAjD4C,SAC/D,IAAI,oLAgD8C,CAAC;AAWvD,eAAO,MAAM,cAAc,SA5DwC,SAC/D,IAAI,iXA2DsD,CAAC;AAE/D,eAAO,MAAM,wBAAwB,SA9D8B,SAC/D,IAAI,wgBAgEG,CAAC;AAEZ,eAAO,MAAM,gBAAgB,SA5EnB,SAAU,IAAI,uDA4EmD,CAAC;AAE5E,eAAO,MAAM,mBAAmB,SA9EtB,SAAU,IAAI,0DAgFvB,CAAC;AAEF,eAAO,MAAM,oBAAoB,SAzEkC,SAC/D,IAAI,2vBAuFG,CAAC;AAEZ;;GAEG;AACH,eAAO,MAAM,aAAa,SA9EM,SAAU,IAAI,8MAiF7C,CAAC;AAEF;;GAEG;AACH,wBAAgB,QAAQ,CACtB,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,SAAS,GAC9B,IAAI,IAAI;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,GAAG,CAAC,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAO3E;AAED,eAAO,MAAM,YAAY,SAzHf,SAAU,IAAI,mDAyH2C,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,iBAAiB,SA9HpB,SAAU,IAAI,wDA8HqD,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,cAAc,UAvEd,SAAW,KACxB;;4BAyEC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,UA/Eb,SAAW,KACxB;;4BAiFC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,UAvFf,SAAW,KACxB;;yBAyFC,CAAC;AAEF,eAAO,MAAM,MAAM,SA/IgD,SAC/D,IAAI,+JAoJG,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js index e8e30bf642..5cefcba17d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js @@ -1,30 +1,24 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.isVariableDeclarator = exports.isTypeKeyword = exports.isTypeAssertion = exports.isTSFunctionType = exports.isTSConstructorType = exports.isOptionalChainPunctuator = exports.isOptionalCallExpression = exports.isNotOptionalChainPunctuator = exports.isNotNonNullAssertionPunctuator = exports.isNonNullAssertionPunctuator = exports.isLoop = exports.isLogicalOrOperator = exports.isImportKeyword = exports.isIdentifier = exports.isFunctionType = exports.isFunctionOrFunctionType = exports.isFunction = exports.isConstructor = exports.isClassOrTypeElement = exports.isAwaitKeyword = exports.isAwaitExpression = void 0; +exports.isLoop = exports.isImportKeyword = exports.isTypeKeyword = exports.isAwaitKeyword = exports.isAwaitExpression = exports.isIdentifier = exports.isConstructor = exports.isClassOrTypeElement = exports.isTSConstructorType = exports.isTSFunctionType = exports.isFunctionOrFunctionType = exports.isFunctionType = exports.isFunction = exports.isVariableDeclarator = exports.isTypeAssertion = exports.isLogicalOrOperator = exports.isOptionalCallExpression = exports.isNotNonNullAssertionPunctuator = exports.isNonNullAssertionPunctuator = exports.isNotOptionalChainPunctuator = exports.isOptionalChainPunctuator = void 0; exports.isSetter = isSetter; const ts_estree_1 = require("../ts-estree"); const helpers_1 = require("./helpers"); -const isOptionalChainPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); -exports.isOptionalChainPunctuator = isOptionalChainPunctuator; -const isNotOptionalChainPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); -exports.isNotOptionalChainPunctuator = isNotOptionalChainPunctuator; -const isNonNullAssertionPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); -exports.isNonNullAssertionPunctuator = isNonNullAssertionPunctuator; -const isNotNonNullAssertionPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); -exports.isNotNonNullAssertionPunctuator = isNotNonNullAssertionPunctuator; +exports.isOptionalChainPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); +exports.isNotOptionalChainPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '?.' }); +exports.isNonNullAssertionPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); +exports.isNotNonNullAssertionPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: '!' }); /** * Returns true if and only if the node represents: foo?.() or foo.bar?.() */ -const isOptionalCallExpression = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.CallExpression, +exports.isOptionalCallExpression = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.CallExpression, // this flag means the call expression itself is option // i.e. it is foo.bar?.() and not foo?.bar() { optional: true }); -exports.isOptionalCallExpression = isOptionalCallExpression; /** * Returns true if and only if the node represents logical OR */ -const isLogicalOrOperator = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.LogicalExpression, { operator: '||' }); -exports.isLogicalOrOperator = isLogicalOrOperator; +exports.isLogicalOrOperator = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.LogicalExpression, { operator: '||' }); /** * Checks if a node is a type assertion: * ``` @@ -32,20 +26,17 @@ exports.isLogicalOrOperator = isLogicalOrOperator; * x * ``` */ -const isTypeAssertion = (0, helpers_1.isNodeOfTypes)([ +exports.isTypeAssertion = (0, helpers_1.isNodeOfTypes)([ ts_estree_1.AST_NODE_TYPES.TSAsExpression, ts_estree_1.AST_NODE_TYPES.TSTypeAssertion, ]); -exports.isTypeAssertion = isTypeAssertion; -const isVariableDeclarator = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.VariableDeclarator); -exports.isVariableDeclarator = isVariableDeclarator; +exports.isVariableDeclarator = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.VariableDeclarator); const functionTypes = [ ts_estree_1.AST_NODE_TYPES.ArrowFunctionExpression, ts_estree_1.AST_NODE_TYPES.FunctionDeclaration, ts_estree_1.AST_NODE_TYPES.FunctionExpression, ]; -const isFunction = (0, helpers_1.isNodeOfTypes)(functionTypes); -exports.isFunction = isFunction; +exports.isFunction = (0, helpers_1.isNodeOfTypes)(functionTypes); const functionTypeTypes = [ ts_estree_1.AST_NODE_TYPES.TSCallSignatureDeclaration, ts_estree_1.AST_NODE_TYPES.TSConstructorType, @@ -55,18 +46,14 @@ const functionTypeTypes = [ ts_estree_1.AST_NODE_TYPES.TSFunctionType, ts_estree_1.AST_NODE_TYPES.TSMethodSignature, ]; -const isFunctionType = (0, helpers_1.isNodeOfTypes)(functionTypeTypes); -exports.isFunctionType = isFunctionType; -const isFunctionOrFunctionType = (0, helpers_1.isNodeOfTypes)([ +exports.isFunctionType = (0, helpers_1.isNodeOfTypes)(functionTypeTypes); +exports.isFunctionOrFunctionType = (0, helpers_1.isNodeOfTypes)([ ...functionTypes, ...functionTypeTypes, ]); -exports.isFunctionOrFunctionType = isFunctionOrFunctionType; -const isTSFunctionType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSFunctionType); -exports.isTSFunctionType = isTSFunctionType; -const isTSConstructorType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSConstructorType); -exports.isTSConstructorType = isTSConstructorType; -const isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([ +exports.isTSFunctionType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSFunctionType); +exports.isTSConstructorType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSConstructorType); +exports.isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([ // ClassElement ts_estree_1.AST_NODE_TYPES.PropertyDefinition, ts_estree_1.AST_NODE_TYPES.FunctionExpression, @@ -82,12 +69,10 @@ const isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([ ts_estree_1.AST_NODE_TYPES.TSMethodSignature, ts_estree_1.AST_NODE_TYPES.TSPropertySignature, ]); -exports.isClassOrTypeElement = isClassOrTypeElement; /** * Checks if a node is a constructor method. */ -const isConstructor = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.MethodDefinition, { kind: 'constructor' }); -exports.isConstructor = isConstructor; +exports.isConstructor = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.MethodDefinition, { kind: 'constructor' }); /** * Checks if a node is a setter method. */ @@ -97,40 +82,28 @@ function isSetter(node) { node.type === ts_estree_1.AST_NODE_TYPES.Property) && node.kind === 'set'); } -const isIdentifier = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.Identifier); -exports.isIdentifier = isIdentifier; +exports.isIdentifier = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.Identifier); /** * Checks if a node represents an `await …` expression. */ -const isAwaitExpression = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.AwaitExpression); -exports.isAwaitExpression = isAwaitExpression; +exports.isAwaitExpression = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.AwaitExpression); /** * Checks if a possible token is the `await` keyword. */ -const isAwaitKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { - value: 'await', -}); -exports.isAwaitKeyword = isAwaitKeyword; +exports.isAwaitKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: 'await' }); /** * Checks if a possible token is the `type` keyword. */ -const isTypeKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { - value: 'type', -}); -exports.isTypeKeyword = isTypeKeyword; +exports.isTypeKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: 'type' }); /** * Checks if a possible token is the `import` keyword. */ -const isImportKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Keyword, { - value: 'import', -}); -exports.isImportKeyword = isImportKeyword; -const isLoop = (0, helpers_1.isNodeOfTypes)([ +exports.isImportKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Keyword, { value: 'import' }); +exports.isLoop = (0, helpers_1.isNodeOfTypes)([ ts_estree_1.AST_NODE_TYPES.DoWhileStatement, ts_estree_1.AST_NODE_TYPES.ForStatement, ts_estree_1.AST_NODE_TYPES.ForInStatement, ts_estree_1.AST_NODE_TYPES.ForOfStatement, ts_estree_1.AST_NODE_TYPES.WhileStatement, ]); -exports.isLoop = isLoop; //# sourceMappingURL=predicates.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map index b1ef273875..8ff0e7c26f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map @@ -1 +1 @@ -{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../src/ast-utils/predicates.ts"],"names":[],"mappings":";;;AAsLE,4BAAQ;AApLV,4CAA+D;AAC/D,uCAMmB;AAEnB,MAAM,yBAAyB,GAAG,IAAA,qCAA2B,EAC3D,2BAAe,CAAC,UAAU,EAC1B,EAAE,KAAK,EAAE,IAAI,EAAE,CAChB,CAAC;AAuKA,8DAAyB;AArK3B,MAAM,4BAA4B,GAAG,IAAA,wCAA8B,EACjE,2BAAe,CAAC,UAAU,EA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AAe,CAAC,CAAC;AAE9E;;GAEG;AACU,QAAA,cAAc,GAAG,IAAA,qCAA2B,EACvD,2BAAe,CAAC,UAAU,EAC1B,EAAE,KAAK,EAAE,OAAO,EAAE,CACnB,CAAC;AAEF;;GAEG;AACU,QAAA,aAAa,GAAG,IAAA,qCAA2B,EACtD,2BAAe,CAAC,UAAU,EAC1B,EAAE,KAAK,EAAE,MAAM,EAAE,CAClB,CAAC;AAEF;;GAEG;AACU,QAAA,eAAe,GAAG,IAAA,qCAA2B,EACxD,2BAAe,CAAC,OAAO,EACvB,EAAE,KAAK,EAAE,QAAQ,EAAE,CACpB,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,uBAAa,EAAC;IAClC,0BAAc,CAAC,gBAAgB;IAC/B,0BAAc,CAAC,YAAY;IAC3B,0BAAc,CAAC,cAAc;IAC7B,0BAAc,CAAC,cAAc;IAC7B,0BAAc,CAAC,cAAc;CACrB,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts index b2359038db..b3abc64bdc 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts @@ -2,10 +2,9 @@ import type { RuleCreateFunction, RuleModule } from '../ts-eslint'; /** * Uses type inference to fetch the Options type from the given RuleModule */ -type InferOptionsTypeFromRule = T extends RuleModule ? Options : T extends RuleCreateFunction ? Options : unknown; +export type InferOptionsTypeFromRule = T extends RuleModule ? Options : T extends RuleCreateFunction ? Options : unknown; /** * Uses type inference to fetch the MessageIds type from the given RuleModule */ -type InferMessageIdsTypeFromRule = T extends RuleModule ? MessageIds : T extends RuleCreateFunction ? MessageIds : unknown; -export type { InferMessageIdsTypeFromRule, InferOptionsTypeFromRule }; +export type InferMessageIdsTypeFromRule = T extends RuleModule ? MessageIds : T extends RuleCreateFunction ? MessageIds : unknown; //# sourceMappingURL=InferTypesFromRule.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map index ca551e10ec..925db43d7e 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"InferTypesFromRule.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/InferTypesFromRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEnE;;GAEG;AACH,KAAK,wBAAwB,CAAC,CAAC,IAC7B,CAAC,SAAS,UAAU,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAClD,OAAO,GACP,CAAC,SAAS,kBAAkB,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAC5D,OAAO,GACP,OAAO,CAAC;AAEhB;;GAEG;AACH,KAAK,2BAA2B,CAAC,CAAC,IAChC,CAAC,SAAS,UAAU,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GACnD,UAAU,GACV,CAAC,SAAS,kBAAkB,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GAC7D,UAAU,GACV,OAAO,CAAC;AAEhB,YAAY,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"InferTypesFromRule.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/InferTypesFromRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,wBAAwB,CAAC,CAAC,IACpC,CAAC,SAAS,UAAU,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAClD,OAAO,GACP,CAAC,SAAS,kBAAkB,CAAC,MAAM,WAAW,EAAE,MAAM,OAAO,CAAC,GAC5D,OAAO,GACP,OAAO,CAAC;AAEhB;;GAEG;AACH,MAAM,MAAM,2BAA2B,CAAC,CAAC,IACvC,CAAC,SAAS,UAAU,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GACnD,UAAU,GACV,CAAC,SAAS,kBAAkB,CAAC,MAAM,UAAU,EAAE,MAAM,SAAS,CAAC,GAC7D,UAAU,GACV,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts index 81b8af4a2d..b0552c610b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts @@ -5,6 +5,5 @@ * @param userOptions the user opts * @returns the options with defaults */ -declare function applyDefault(defaultOptions: Readonly, userOptions: Readonly | null): Default; -export { applyDefault }; +export declare function applyDefault(defaultOptions: Readonly, userOptions: Readonly | null): Default; //# sourceMappingURL=applyDefault.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map index 99ef3ca4ef..eac05699b9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"applyDefault.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,iBAAS,YAAY,CAAC,IAAI,SAAS,SAAS,OAAO,EAAE,EAAE,OAAO,SAAS,IAAI,EACzE,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,EACjC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,GACjC,OAAO,CAwBT;AAMD,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"applyDefault.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,IAAI,SAAS,SAAS,OAAO,EAAE,EAC/B,OAAO,SAAS,IAAI,EAEpB,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,EACjC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,GACjC,OAAO,CAwBT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map index 98ce36cd71..151c8784ef 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map @@ -1 +1 @@ -{"version":3,"file":"applyDefault.js","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":";;AA0CS,oCAAY;AA1CrB,2CAA0D;AAE1D;;;;;;GAMG;AACH,SAAS,YAAY,CACnB,cAAiC,EACjC,WAAkC;IAElC,iBAAiB;IACjB,MAAM,OAAO,GAAG,eAAe,CAAC,cAAc,CAAuB,CAAC;IAEtE,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,8BAA8B;IAC9B,sFAAsF;IACrF,OAAqB,CAAC,OAAO,CAAC,CAAC,GAAY,EAAE,CAAS,EAAE,EAAE;QACzD,oEAAoE;QACpE,IAAI,WAAW,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YAE/B,IAAI,IAAA,4BAAgB,EAAC,OAAO,CAAC,IAAI,IAAA,4BAAgB,EAAC,GAAG,CAAC,EAAE,CAAC;gBACvD,OAAO,CAAC,CAAC,CAAC,GAAG,IAAA,qBAAS,EAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YACvC,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"applyDefault.js","sourceRoot":"","sources":["../../src/eslint-utils/applyDefault.ts"],"names":[],"mappings":";;AASA,oCA8BC;AAvCD,2CAA0D;AAE1D;;;;;;GAMG;AACH,SAAgB,YAAY,CAI1B,cAAiC,EACjC,WAAkC;IAElC,iBAAiB;IACjB,MAAM,OAAO,GAAG,eAAe,CAAC,cAAc,CAAuB,CAAC;IAEtE,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,8BAA8B;IAC9B,sFAAsF;IACrF,OAAqB,CAAC,OAAO,CAAC,CAAC,GAAY,EAAE,CAAS,EAAE,EAAE;QACzD,oEAAoE;QACpE,IAAI,WAAW,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YAE/B,IAAI,IAAA,4BAAgB,EAAC,OAAO,CAAC,IAAI,IAAA,4BAAgB,EAAC,GAAG,CAAC,EAAE,CAAC;gBACvD,OAAO,CAAC,CAAC,CAAC,GAAG,IAAA,qBAAS,EAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YACvC,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts index 66047298a5..d83acf1018 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts @@ -3,7 +3,7 @@ export type ObjectLike = Record; * Check if the variable contains an object strictly rejecting arrays * @returns `true` if obj is an object */ -declare function isObjectNotArray(obj: unknown): obj is ObjectLike; +export declare function isObjectNotArray(obj: unknown): obj is ObjectLike; /** * Pure function - doesn't mutate either parameter! * Merges two objects together deeply, overwriting the properties in first with the properties in second @@ -12,5 +12,4 @@ declare function isObjectNotArray(obj: unknown): obj is ObjectLike; * @returns a new object */ export declare function deepMerge(first?: ObjectLike, second?: ObjectLike): Record; -export { isObjectNotArray }; //# sourceMappingURL=deepMerge.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map index ac7365e2ff..70f6e57b1f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deepMerge.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAExD;;;GAGG;AACH,iBAAS,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,UAAU,CAEzD;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,KAAK,GAAE,UAAe,EACtB,MAAM,GAAE,UAAe,GACtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA4BzB;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"deepMerge.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAExD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,UAAU,CAEhE;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,KAAK,GAAE,UAAe,EACtB,MAAM,GAAE,UAAe,GACtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA4BzB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js index c0dd828104..51a50890c2 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.deepMerge = deepMerge; exports.isObjectNotArray = isObjectNotArray; +exports.deepMerge = deepMerge; /** * Check if the variable contains an object strictly rejecting arrays * @returns `true` if obj is an object diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map index 7219972998..9eb3a21037 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map @@ -1 +1 @@ -{"version":3,"file":"deepMerge.js","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":";;AAiBA,8BA+BC;AAEQ,4CAAgB;AAhDzB;;;GAGG;AACH,SAAS,gBAAgB,CAAC,GAAY;IACpC,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACvE,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,SAAS,CACvB,QAAoB,EAAE,EACtB,SAAqB,EAAE;IAEvB,iDAAiD;IACjD,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAEtE,OAAO,MAAM,CAAC,WAAW,CACvB,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QAClB,MAAM,WAAW,GAAG,GAAG,IAAI,KAAK,CAAC;QACjC,MAAM,YAAY,GAAG,GAAG,IAAI,MAAM,CAAC;QACnC,MAAM,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAEhC,IAAI,KAAK,CAAC;QACV,IAAI,WAAW,IAAI,YAAY,EAAE,CAAC;YAChC,IAAI,gBAAgB,CAAC,UAAU,CAAC,IAAI,gBAAgB,CAAC,WAAW,CAAC,EAAE,CAAC;gBAClE,cAAc;gBACd,KAAK,GAAG,SAAS,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;YAC7C,CAAC;iBAAM,CAAC;gBACN,aAAa;gBACb,KAAK,GAAG,WAAW,CAAC;YACtB,CAAC;QACH,CAAC;aAAM,IAAI,WAAW,EAAE,CAAC;YACvB,KAAK,GAAG,UAAU,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,KAAK,GAAG,WAAW,CAAC;QACtB,CAAC;QACD,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACtB,CAAC,CAAC,CACH,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"deepMerge.js","sourceRoot":"","sources":["../../src/eslint-utils/deepMerge.ts"],"names":[],"mappings":";;AAMA,4CAEC;AASD,8BA+BC;AA9CD;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,GAAY;IAC3C,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACvE,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,SAAS,CACvB,QAAoB,EAAE,EACtB,SAAqB,EAAE;IAEvB,iDAAiD;IACjD,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAEtE,OAAO,MAAM,CAAC,WAAW,CACvB,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QAClB,MAAM,WAAW,GAAG,GAAG,IAAI,KAAK,CAAC;QACjC,MAAM,YAAY,GAAG,GAAG,IAAI,MAAM,CAAC;QACnC,MAAM,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAEhC,IAAI,KAAK,CAAC;QACV,IAAI,WAAW,IAAI,YAAY,EAAE,CAAC;YAChC,IAAI,gBAAgB,CAAC,UAAU,CAAC,IAAI,gBAAgB,CAAC,WAAW,CAAC,EAAE,CAAC;gBAClE,cAAc;gBACd,KAAK,GAAG,SAAS,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;YAC7C,CAAC;iBAAM,CAAC;gBACN,aAAa;gBACb,KAAK,GAAG,WAAW,CAAC;YACtB,CAAC;QACH,CAAC;aAAM,IAAI,WAAW,EAAE,CAAC;YACvB,KAAK,GAAG,UAAU,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,KAAK,GAAG,WAAW,CAAC;QACtB,CAAC;QACD,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACtB,CAAC,CAAC,CACH,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts index ea1cdab040..2f0a2f8fa9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts @@ -4,21 +4,20 @@ import type { ParserServices, ParserServicesWithTypeInformation } from '../ts-es * Try to retrieve type-aware parser service from context. * This **_will_** throw if it is not available. */ -declare function getParserServices(context: Readonly>): ParserServicesWithTypeInformation; +export declare function getParserServices(context: Readonly>): ParserServicesWithTypeInformation; /** * Try to retrieve type-aware parser service from context. * This **_will_** throw if it is not available. */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: false): ParserServicesWithTypeInformation; +export declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: false): ParserServicesWithTypeInformation; /** * Try to retrieve type-aware parser service from context. * This **_will not_** throw if it is not available. */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: true): ParserServices; +export declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: true): ParserServices; /** * Try to retrieve type-aware parser service from context. * This may or may not throw if it is not available, depending on if `allowWithoutFullTypeInformation` is `true` */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: boolean): ParserServices; -export { getParserServices }; +export declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: boolean): ParserServices; //# sourceMappingURL=getParserServices.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map index fca5232e6d..b206805699 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getParserServices.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,cAAc,EACd,iCAAiC,EAClC,MAAM,cAAc,CAAC;AAWtB;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,GAC3D,iCAAiC,CAAC;AACrC;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,KAAK,GACrC,iCAAiC,CAAC;AACrC;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,IAAI,GACpC,cAAc,CAAC;AAClB;;;GAGG;AACH,iBAAS,iBAAiB,CACxB,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,OAAO,GACvC,cAAc,CAAC;AAiDlB,OAAO,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getParserServices.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,cAAc,EACd,iCAAiC,EAClC,MAAM,cAAc,CAAC;AAWtB;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,GAC3D,iCAAiC,CAAC;AACrC;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,KAAK,GACrC,iCAAiC,CAAC;AACrC;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,IAAI,GACpC,cAAc,CAAC;AAClB;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,SAAS,MAAM,EACzB,OAAO,SAAS,SAAS,OAAO,EAAE,EAElC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,EAC5D,+BAA+B,EAAE,OAAO,GACvC,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map index 0a0e0e43e6..5a67ff476f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map @@ -1 +1 @@ -{"version":3,"file":"getParserServices.js","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":";;AA0GS,8CAAiB;AApG1B,uEAAoE;AAEpE,MAAM,sCAAsC,GAC1C,+OAA+O,CAAC;AAElP,MAAM,4BAA4B,GAChC,mKAAmK,CAAC;AA+CtK,SAAS,iBAAiB,CACxB,OAA0D,EAC1D,+BAA+B,GAAG,KAAK;IAEvC,MAAM,MAAM,GACV,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;IAEnE,mFAAmF;IACnF,EAAE;IACF,mCAAmC;IACnC,yCAAyC;IACzC,yGAAyG;IACzG,sEAAsE;IACtE,0FAA0F;IAC1F,EAAE;IACF,qFAAqF;IACrF,wCAAwC;IACxC,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,qBAAqB,IAAI,IAAI;QAChE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,qBAAqB,IAAI,IAAI,EAC/D,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,+EAA+E;IAC/E,uDAAuD;IACvD,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,IAAI,IAAI;QACjD,CAAC,+BAA+B,EAChC,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,OAAO,OAAO,CAAC,UAAU,CAAC,cAAgC,CAAC;AAC7D,CAAC;AACD,yDAAyD;AAEzD,SAAS,UAAU,CAAC,MAA0B;IAC5C,MAAM,QAAQ,GAAG;QACf,sCAAsC;QACtC,WAAW,MAAM,IAAI,WAAW,EAAE;QAClC,CAAC,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,4BAA4B;KACjE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAElB,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACvC,CAAC"} \ No newline at end of file +{"version":3,"file":"getParserServices.js","sourceRoot":"","sources":["../../src/eslint-utils/getParserServices.ts"],"names":[],"mappings":";;AA2DA,8CAkCC;AAvFD,uEAAoE;AAEpE,MAAM,sCAAsC,GAC1C,+OAA+O,CAAC;AAElP,MAAM,4BAA4B,GAChC,mKAAmK,CAAC;AA+CtK,SAAgB,iBAAiB,CAC/B,OAA0D,EAC1D,+BAA+B,GAAG,KAAK;IAEvC,MAAM,MAAM,GACV,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;IAEnE,mFAAmF;IACnF,EAAE;IACF,mCAAmC;IACnC,yCAAyC;IACzC,yGAAyG;IACzG,sEAAsE;IACtE,0FAA0F;IAC1F,EAAE;IACF,qFAAqF;IACrF,wCAAwC;IACxC,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,qBAAqB,IAAI,IAAI;QAChE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,qBAAqB,IAAI,IAAI,EAC/D,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,+EAA+E;IAC/E,uDAAuD;IACvD,IACE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,IAAI,IAAI;QACjD,CAAC,+BAA+B,EAChC,CAAC;QACD,UAAU,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAED,OAAO,OAAO,CAAC,UAAU,CAAC,cAAgC,CAAC;AAC7D,CAAC;AACD,yDAAyD;AAEzD,SAAS,UAAU,CAAC,MAA0B;IAC5C,MAAM,QAAQ,GAAG;QACf,sCAAsC;QACtC,WAAW,MAAM,IAAI,WAAW,EAAE;QAClC,CAAC,IAAA,iDAAuB,EAAC,MAAM,CAAC,IAAI,4BAA4B;KACjE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAElB,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts index af919fa283..ec9b9b7479 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts @@ -1,7 +1,7 @@ /** * A set of common reasons for calling nullThrows */ -declare const NullThrowsReasons: { +export declare const NullThrowsReasons: { readonly MissingParent: "Expected node to have a parent."; readonly MissingToken: (token: string, thing: string) => string; }; @@ -9,6 +9,5 @@ declare const NullThrowsReasons: { * Assert that a value must not be null or undefined. * This is a nice explicit alternative to the non-null assertion operator. */ -declare function nullThrows(value: T, message: string): NonNullable; -export { nullThrows, NullThrowsReasons }; +export declare function nullThrows(value: T, message: string): NonNullable; //# sourceMappingURL=nullThrows.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map index d695757dda..0da9e62d6c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"nullThrows.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,QAAA,MAAM,iBAAiB;;mCAEC,MAAM,SAAS,MAAM;CAEnC,CAAC;AAEX;;;GAGG;AACH,iBAAS,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAMhE;AAED,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"nullThrows.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;mCAEN,MAAM,SAAS,MAAM;CAEnC,CAAC;AAEX;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAMvE"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js index 2da6d2b10a..a534dd6732 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js @@ -5,11 +5,10 @@ exports.nullThrows = nullThrows; /** * A set of common reasons for calling nullThrows */ -const NullThrowsReasons = { +exports.NullThrowsReasons = { MissingParent: 'Expected node to have a parent.', MissingToken: (token, thing) => `Expected to find a ${token} for the ${thing}.`, }; -exports.NullThrowsReasons = NullThrowsReasons; /** * Assert that a value must not be null or undefined. * This is a nice explicit alternative to the non-null assertion operator. diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map index e60696ca1d..bc7211d4b3 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map @@ -1 +1 @@ -{"version":3,"file":"nullThrows.js","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":";;;AAqBS,gCAAU;AArBnB;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACxB,aAAa,EAAE,iCAAiC;IAChD,YAAY,EAAE,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC7C,sBAAsB,KAAK,YAAY,KAAK,GAAG;CACzC,CAAC;AAcU,8CAAiB;AAZtC;;;GAGG;AACH,SAAS,UAAU,CAAI,KAAQ,EAAE,OAAe;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,8BAA8B,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"nullThrows.js","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":";;;AAaA,gCAMC;AAnBD;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,aAAa,EAAE,iCAAiC;IAChD,YAAY,EAAE,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC7C,sBAAsB,KAAK,YAAY,KAAK,GAAG;CACzC,CAAC;AAEX;;;GAGG;AACH,SAAgB,UAAU,CAAI,KAAQ,EAAE,OAAe;IACrD,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,8BAA8B,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js index 323ed55630..a52223f30c 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js @@ -1,4 +1,4 @@ "use strict"; -/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable @typescript-eslint/no-namespace, no-restricted-syntax */ Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=AST.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map index 2aa7f04b43..f8e063b7c0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map @@ -1 +1 @@ -{"version":3,"file":"AST.js","sourceRoot":"","sources":["../../src/ts-eslint/AST.ts"],"names":[],"mappings":";AAAA,oDAAoD"} \ No newline at end of file +{"version":3,"file":"AST.js","sourceRoot":"","sources":["../../src/ts-eslint/AST.ts"],"names":[],"mappings":";AAAA,0EAA0E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js index 4fd16f1bf4..d9536ea85d 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js @@ -1,5 +1,5 @@ "use strict"; -/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable @typescript-eslint/no-namespace, no-restricted-syntax */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Linter = void 0; const eslint_1 = require("eslint"); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map index 37f3c5d1d6..67e4466a07 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map @@ -1 +1 @@ -{"version":3,"file":"Linter.js","sourceRoot":"","sources":["../../src/ts-eslint/Linter.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;AAEpD,mCAAgD;AAuThD;;;;GAIG;AACH,MAAM,MAAO,SAAS,eAAkC;CAAG;AAElD,wBAAM"} \ No newline at end of file +{"version":3,"file":"Linter.js","sourceRoot":"","sources":["../../src/ts-eslint/Linter.ts"],"names":[],"mappings":";AAAA,0EAA0E;;;AAE1E,mCAAgD;AAuThD;;;;GAIG;AACH,MAAM,MAAO,SAAS,eAAkC;CAAG;AAElD,wBAAM"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts index f98dd53fe0..b7cb4ece64 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts @@ -6,7 +6,7 @@ import type { ReportDescriptorMessageData, RuleCreateFunction, RuleModule, Share /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface ValidTestCase { +export interface ValidTestCase { /** * Code for the test case. */ @@ -51,7 +51,7 @@ interface ValidTestCase { /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface SuggestionOutput { +export interface SuggestionOutput { /** * The data used to fill the message template. */ @@ -69,7 +69,7 @@ interface SuggestionOutput { /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface InvalidTestCase extends ValidTestCase { +export interface InvalidTestCase extends ValidTestCase { /** * Expected errors. */ @@ -82,7 +82,7 @@ interface InvalidTestCase { +export interface TestCaseError { /** * The 1-based column number of the reported start location. */ @@ -120,18 +120,18 @@ interface TestCaseError { * @param text a string describing the rule * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -type RuleTesterTestFrameworkFunction = (text: string, callback: () => void) => void; +export type RuleTesterTestFrameworkFunction = (text: string, callback: () => void) => void; /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface RunTests { +export interface RunTests { readonly invalid: readonly InvalidTestCase[]; readonly valid: readonly (string | ValidTestCase)[]; } /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -interface RuleTesterConfig extends ClassicConfig.Config { +export interface RuleTesterConfig extends ClassicConfig.Config { readonly parser: string; readonly parserOptions?: Readonly; } @@ -178,7 +178,7 @@ declare const RuleTester_base: typeof RuleTesterBase; /** * @deprecated Use `@typescript-eslint/rule-tester` instead. */ -declare class RuleTester extends RuleTester_base { +export declare class RuleTester extends RuleTester_base { } -export { type InvalidTestCase, RuleTester, type RuleTesterConfig, type RuleTesterTestFrameworkFunction, type RunTests, type SuggestionOutput, type TestCaseError, type ValidTestCase, }; +export {}; //# sourceMappingURL=RuleTester.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map index 9617e74e35..39d7239d85 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-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AC,UAAU,EAAE,OAAO,CAAC,EACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,GACnC,IAAI;IAEP;;;OAGG;IACH,MAAM,KAAK,QAAQ,IAAI,+BAA+B,CAAC;IACvD,MAAM,KAAK,QAAQ,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAExE;;;OAGG;IACH,MAAM,KAAK,EAAE,IAAI,+BAA+B,CAAC;IACjD,MAAM,KAAK,EAAE,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAElE;;;OAGG;IACH,MAAM,KAAK,MAAM,IAAI,+BAA+B,CAAC;IACrD,MAAM,KAAK,MAAM,CAAC,KAAK,EAAE,+BAA+B,GAAG,SAAS,EAAE;IAEtE;;OAEG;IACH,UAAU,CAAC,UAAU,SAAS,MAAM,EAAE,OAAO,SAAS,SAAS,OAAO,EAAE,EACtE,IAAI,EAAE,MAAM,EACZ,IAAI,EACA,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,GACvC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,GAClC,IAAI;CACR;+BAKoD,OAAO,cAAc;AAH1E;;GAEG;AACH,qBAAa,UAAW,SAAQ,eAA2C;CAAG"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map index 48cb94c3db..9659d442eb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map @@ -1 +1 @@ -{"version":3,"file":"RuleTester.js","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,mCAAwD;AAgOxD;;GAEG;AACH,MAAM,UAAW,SAAS,mBAA0C;CAAG;AAIrE,gCAAU"} \ No newline at end of file +{"version":3,"file":"RuleTester.js","sourceRoot":"","sources":["../../src/ts-eslint/RuleTester.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,mCAAwD;AAgOxD;;GAEG;AACH,MAAa,UAAW,SAAS,mBAA0C;CAAG;AAA9E,gCAA8E"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts index 50b4a74931..35be2a9af6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts @@ -1,5 +1,5 @@ import * as scopeManager from '@typescript-eslint/scope-manager'; -declare namespace Scope { +export declare namespace Scope { type ScopeManager = scopeManager.ScopeManager; type Reference = scopeManager.Reference; type Variable = scopeManager.ScopeVariable; @@ -40,5 +40,4 @@ declare namespace Scope { type WithScope = scopeManager.WithScope; } } -export { Scope }; //# sourceMappingURL=Scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map index 444f1d9f7f..1bc3d623c8 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,YAAY,M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AAa,GAAG,YAAY,CAAC,aAAa,CAAC;QACvD,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;QAC/C,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;KAChD;CACF"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map index c431e05b25..4929ce7702 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map @@ -1 +1 @@ -{"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,+EAAiE;AAEjE,IAAU,KAAK,CA4Cd;AA5CD,WAAU,KAAK;IAKA,eAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAInC,oBAAc,GAAG,YAAY,CAAC,cAAc,CAAC;AAmC5D,CAAC,EA5CS,KAAK,qBAAL,KAAK,QA4Cd"} \ No newline at end of file +{"version":3,"file":"Scope.js","sourceRoot":"","sources":["../../src/ts-eslint/Scope.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,+EAAiE;AAEjE,IAAiB,KAAK,CA4CrB;AA5CD,WAAiB,KAAK;IAKP,eAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAInC,oBAAc,GAAG,YAAY,CAAC,cAAc,CAAC;AAmC5D,CAAC,EA5CgB,KAAK,qBAAL,KAAK,QA4CrB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js index 8e029b1587..777905e05b 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js @@ -1,5 +1,5 @@ "use strict"; -/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable @typescript-eslint/no-namespace, no-restricted-syntax */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SourceCode = void 0; const eslint_1 = require("eslint"); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map index 485d6cdb27..5c651ee52a 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map @@ -1 +1 @@ -{"version":3,"file":"SourceCode.js","sourceRoot":"","sources":["../../src/ts-eslint/SourceCode.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;AAEpD,mCAAwD;AAmcxD,MAAM,UAAW,SAAS,mBAA0C;CAAG;AAE9D,gCAAU"} \ No newline at end of file +{"version":3,"file":"SourceCode.js","sourceRoot":"","sources":["../../src/ts-eslint/SourceCode.ts"],"names":[],"mappings":";AAAA,0EAA0E;;;AAE1E,mCAAwD;AAmcxD,MAAM,UAAW,SAAS,mBAA0C;CAAG;AAE9D,gCAAU"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json index e1c7b72017..868c6608f4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.20.0", + "version": "8.21.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.20.0", - "@typescript-eslint/types": "8.20.0", - "@typescript-eslint/typescript-estree": "8.20.0" + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts index 344a7c4259..1b6aad1744 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts @@ -1,4 +1,3 @@ import type { TSESTree } from '@typescript-eslint/types'; -declare const getKeys: (node: TSESTree.Node) => readonly string[]; -export { getKeys }; +export declare const getKeys: (node: TSESTree.Node) => readonly string[]; //# sourceMappingURL=get-keys.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map index 85407809df..8fdba2a7a4 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"get-keys.d.ts","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,QAAA,MAAM,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,SAAS,MAAM,EAAoB,CAAC;AAE5E,OAAO,EAAE,OAAO,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"get-keys.d.ts","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,eAAO,MAAM,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,SAAS,MAAM,EAC7C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js index 309b72b959..baf1c3e5b6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js @@ -2,6 +2,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getKeys = void 0; const eslint_visitor_keys_1 = require("eslint-visitor-keys"); -const getKeys = eslint_visitor_keys_1.getKeys; -exports.getKeys = getKeys; +exports.getKeys = eslint_visitor_keys_1.getKeys; //# sourceMappingURL=get-keys.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map index 4a903fd8bc..59e3393500 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map @@ -1 +1 @@ -{"version":3,"file":"get-keys.js","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":";;;AAEA,6DAAiE;AAEjE,MAAM,OAAO,GAA+C,6BAAe,CAAC;AAEnE,0BAAO"} \ No newline at end of file +{"version":3,"file":"get-keys.js","sourceRoot":"","sources":["../src/get-keys.ts"],"names":[],"mappings":";;;AAEA,6DAAiE;AAEpD,QAAA,OAAO,GAClB,6BAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts index 18e74ea3eb..97855608a7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts @@ -1,4 +1,3 @@ -type VisitorKeys = Record; -declare const visitorKeys: VisitorKeys; -export { visitorKeys, type VisitorKeys }; +export type VisitorKeys = Record; +export declare const visitorKeys: VisitorKeys; //# sourceMappingURL=visitor-keys.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map index c4883d4c49..33cd6840e5 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"visitor-keys.d.ts","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":"AAIA,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;AA0QjE,QAAA,MAAM,WAAW,EAAE,WAAyD,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"visitor-keys.d.ts","sourceRoot":"","sources":["../src/visitor-keys.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;AA0QxE,eAAO,MAAM,WAAW,EAAE,WACmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js index 77c96599be..2746b8cc68 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js @@ -191,6 +191,5 @@ const additionalKeys = { TSUnknownKeyword: [], TSVoidKeyword: [], }; -const visitorKeys = eslintVisitorKeys.unionWith(additionalKeys); -exports.visitorKeys = visitorKeys; +exports.visitorKeys = eslintVisitorKeys.unionWith(additionalKeys); //# sourceMappingURL=visitor-keys.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map index cb3c0e3b84..9ea1ec5547 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map @@ -1 +1 @@ -{"version":3,"file":"visitor-keys.js","sourceRoot":"","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,EAAE,EAAE;IACpB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEW,QAAA,WAAW,GACtB,iBAAiB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json index 83119d5e9c..840dd66531 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.20.0", + "version": "8.21.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.20.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index 1c8d82974f..2e9fece956 100644 --- a/node_modules/@typescript-eslint/type-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "8.20.0", + "version": "8.21.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,8 +46,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "8.20.0", - "@typescript-eslint/utils": "8.20.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/utils": "8.21.0", "debug": "^4.3.4", "ts-api-utils": "^2.0.0" }, @@ -57,7 +57,7 @@ }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "8.20.0", + "@typescript-eslint/parser": "8.21.0", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", From aa765235031b111ef58d6264149799037ea1d18d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 14:20:11 +0000 Subject: [PATCH 058/132] Update default bundle to codeql-bundle-v2.20.2 --- lib/defaults.json | 8 ++++---- src/defaults.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/defaults.json b/lib/defaults.json index 1afbbc52d3..851fee2175 100644 --- a/lib/defaults.json +++ b/lib/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.20.1", - "cliVersion": "2.20.1", - "priorBundleVersion": "codeql-bundle-v2.20.0", - "priorCliVersion": "2.20.0" + "bundleVersion": "codeql-bundle-v2.20.2", + "cliVersion": "2.20.2", + "priorBundleVersion": "codeql-bundle-v2.20.1", + "priorCliVersion": "2.20.1" } diff --git a/src/defaults.json b/src/defaults.json index 3c3e56944a..8645754788 100644 --- a/src/defaults.json +++ b/src/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.20.1", - "cliVersion": "2.20.1", - "priorBundleVersion": "codeql-bundle-v2.20.0", - "priorCliVersion": "2.20.0" + "bundleVersion": "codeql-bundle-v2.20.2", + "cliVersion": "2.20.2", + "priorBundleVersion": "codeql-bundle-v2.20.1", + "priorCliVersion": "2.20.1" } From a0c2b7d2962efa67ce742fd48c4f3178950b2c25 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 14:20:16 +0000 Subject: [PATCH 059/132] Add changelog note --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9396160ba..b01c517a2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -No user facing changes. +- Update default CodeQL bundle version to 2.20.2. [#2707](https://github.com/github/codeql-action/pull/2707) ## 3.28.1 - 10 Jan 2025 From ea237964450673c10ad7b678a6aab37176b787a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:58:08 +0000 Subject: [PATCH 060/132] Update changelog for v3.28.2 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9396160ba..a2ffdd58b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.2 - 21 Jan 2025 No user facing changes. From 6fee807c9b3feba6fbe618b53a8d442ae6877001 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 17:05:34 +0000 Subject: [PATCH 061/132] Update changelog and version after v3.28.2 --- 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 a2ffdd58b8..540baed193 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.2 - 21 Jan 2025 No user facing changes. diff --git a/package-lock.json b/package-lock.json index 0120b09db0..f8179a025f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.2", + "version": "3.28.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.2", + "version": "3.28.3", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index fc64f4ebc0..185ae68910 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.2", + "version": "3.28.3", "private": true, "description": "CodeQL action", "scripts": { From 86400836d1b23ff713e657887c113b0b8220d731 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 17:07:17 +0000 Subject: [PATCH 062/132] 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 58af654965..a9ab271a4b 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.2", + "version": "3.28.3", "lockfileVersion": 3, "requires": true, "packages": { From d23f49f56f7c61b07992494d3ae02f48e3586e48 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 22 Jan 2025 12:25:58 +0000 Subject: [PATCH 063/132] Fix assumption that download URLs contain file extension This is not the case when downloading the bundle from a GitHub Release synced to GHES with the CodeQL Action sync tool. --- lib/setup-codeql.js | 56 +++++++++++++++++++++++++--------- lib/setup-codeql.js.map | 2 +- lib/tar.js | 22 +++++++++++--- lib/tar.js.map | 2 +- lib/tools-download.js | 3 +- lib/tools-download.js.map | 2 +- src/setup-codeql.ts | 64 ++++++++++++++++++++++++++++++--------- src/tar.ts | 32 ++++++++++++++++---- src/tools-download.ts | 3 +- 9 files changed, 139 insertions(+), 47 deletions(-) diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index 8d15c6871a..8e6577333f 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -70,11 +70,18 @@ var ToolsSource; })(ToolsSource || (exports.ToolsSource = ToolsSource = {})); exports.CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action"; const CODEQL_BUNDLE_VERSION_ALIAS = ["linked", "latest"]; -function getCodeQLBundleExtension(useZstd) { - return useZstd ? ".tar.zst" : ".tar.gz"; +function getCodeQLBundleExtension(compressionMethod) { + switch (compressionMethod) { + case "gzip": + return ".tar.gz"; + case "zstd": + return ".tar.zst"; + default: + util.assertNever(compressionMethod); + } } -function getCodeQLBundleName(useZstd) { - const extension = getCodeQLBundleExtension(useZstd); +function getCodeQLBundleName(compressionMethod) { + const extension = getCodeQLBundleExtension(compressionMethod); let platform; if (process.platform === "win32") { platform = "win64"; @@ -100,7 +107,7 @@ function getCodeQLActionRepository(logger) { } return util.getRequiredEnvParam("GITHUB_ACTION_REPOSITORY"); } -async function getCodeQLBundleDownloadURL(tagName, apiDetails, useZstd, logger) { +async function getCodeQLBundleDownloadURL(tagName, apiDetails, compressionMethod, logger) { const codeQLActionRepository = getCodeQLActionRepository(logger); const potentialDownloadSources = [ // This GitHub instance, and this Action. @@ -115,7 +122,7 @@ async function getCodeQLBundleDownloadURL(tagName, apiDetails, useZstd, logger) const uniqueDownloadSources = potentialDownloadSources.filter((source, index, self) => { return !self.slice(0, index).some((other) => (0, fast_deep_equal_1.default)(source, other)); }); - const codeQLBundleName = getCodeQLBundleName(useZstd); + const codeQLBundleName = getCodeQLBundleName(compressionMethod); for (const downloadSource of uniqueDownloadSources) { const [apiURL, repository] = downloadSource; // If we've reached the final case, short-circuit the API check since we know the bundle exists and is public. @@ -132,13 +139,13 @@ async function getCodeQLBundleDownloadURL(tagName, apiDetails, useZstd, logger) }); for (const asset of release.data.assets) { if (asset.name === codeQLBundleName) { - logger.info(`Found CodeQL bundle in ${downloadSource[1]} on ${downloadSource[0]} with URL ${asset.url}.`); + logger.info(`Found CodeQL bundle ${codeQLBundleName} in ${repository} on ${apiURL} with URL ${asset.url}.`); return asset.url; } } } catch (e) { - logger.info(`Looked for CodeQL bundle in ${downloadSource[1]} on ${downloadSource[0]} but got error ${e}.`); + logger.info(`Looked for CodeQL bundle ${codeQLBundleName} in ${repository} on ${apiURL} but got error ${e}.`); } } return `https://github.com/${exports.CODEQL_DEFAULT_ACTION_REPOSITORY}/releases/download/${tagName}/${codeQLBundleName}`; @@ -221,8 +228,14 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian !CODEQL_BUNDLE_VERSION_ALIAS.includes(toolsInput) && !toolsInput.startsWith("http")) { logger.info(`Using CodeQL CLI from local path ${toolsInput}`); + const compressionMethod = tar.inferCompressionMethod(toolsInput); + if (compressionMethod === undefined) { + throw new util.ConfigurationError(`Could not infer compression method from path ${toolsInput}. Please specify a path ` + + "ending in '.tar.gz' or '.tar.zst'."); + } return { codeqlTarPath: toolsInput, + compressionMethod, sourceType: "local", toolsVersion: "local", }; @@ -356,9 +369,22 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian return result; } } + let compressionMethod; if (!url) { - url = await getCodeQLBundleDownloadURL(tagName, apiDetails, cliVersion !== undefined && - (await useZstdBundle(cliVersion, tarSupportsZstd)), logger); + compressionMethod = + cliVersion !== undefined && + (await useZstdBundle(cliVersion, tarSupportsZstd)) + ? "zstd" + : "gzip"; + url = await getCodeQLBundleDownloadURL(tagName, apiDetails, compressionMethod, logger); + } + else { + const method = tar.inferCompressionMethod(url); + if (method === undefined) { + throw new util.ConfigurationError(`Could not infer compression method from URL ${url}. Please specify a URL ` + + "ending in '.tar.gz' or '.tar.zst'."); + } + compressionMethod = method; } if (cliVersion) { logger.info(`Using CodeQL CLI version ${cliVersion} sourced from ${url} .`); @@ -370,6 +396,7 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian bundleVersion: tagName && tryGetBundleVersionFromTagName(tagName, logger), cliVersion, codeqlURL: url, + compressionMethod, sourceType: "download", toolsVersion: cliVersion ?? humanReadableVersion, }; @@ -390,7 +417,7 @@ async function tryGetFallbackToolcacheVersion(cliVersion, tagName, logger) { } // Exported using `export const` for testing purposes. Specifically, we want to // be able to stub this function and have other functions in this file use that stub. -const downloadCodeQL = async function (codeqlURL, maybeBundleVersion, maybeCliVersion, apiDetails, tarVersion, tempDir, features, logger) { +const downloadCodeQL = async function (codeqlURL, compressionMethod, maybeBundleVersion, maybeCliVersion, apiDetails, tarVersion, tempDir, features, logger) { const parsedCodeQLURL = new URL(codeqlURL); const searchParams = new URLSearchParams(parsedCodeQLURL.search); const headers = { @@ -417,7 +444,7 @@ const downloadCodeQL = async function (codeqlURL, maybeBundleVersion, maybeCliVe const extractedBundlePath = extractToToolcache ? toolcacheInfo.path : getTempExtractionDir(tempDir); - let statusReport = await (0, tools_download_1.downloadAndExtract)(codeqlURL, extractedBundlePath, authorization, { "User-Agent": "CodeQL Action", ...headers }, tarVersion, logger); + let statusReport = await (0, tools_download_1.downloadAndExtract)(codeqlURL, compressionMethod, extractedBundlePath, authorization, { "User-Agent": "CodeQL Action", ...headers }, tarVersion, logger); if (!toolcacheInfo) { logger.debug("Could not cache CodeQL tools because we could not determine the bundle version from the " + `URL ${codeqlURL}.`); @@ -509,8 +536,7 @@ async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, featu let toolsSource; switch (source.sourceType) { case "local": { - const compressionMethod = tar.inferCompressionMethod(source.codeqlTarPath); - codeqlFolder = await tar.extract(source.codeqlTarPath, getTempExtractionDir(tempDir), compressionMethod, zstdAvailability.version, logger); + codeqlFolder = await tar.extract(source.codeqlTarPath, getTempExtractionDir(tempDir), source.compressionMethod, zstdAvailability.version, logger); toolsSource = ToolsSource.Local; break; } @@ -520,7 +546,7 @@ async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, featu toolsSource = ToolsSource.Toolcache; break; case "download": { - const result = await (0, exports.downloadCodeQL)(source.codeqlURL, source.bundleVersion, source.cliVersion, apiDetails, zstdAvailability.version, tempDir, features, logger); + const result = await (0, exports.downloadCodeQL)(source.codeqlURL, source.compressionMethod, source.bundleVersion, source.cliVersion, apiDetails, zstdAvailability.version, tempDir, features, logger); toolsVersion = result.toolsVersion; codeqlFolder = result.codeqlFolder; toolsDownloadStatusReport = result.statusReport; diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index 139074227c..0e0c5ade17 100644 --- a/lib/setup-codeql.js.map +++ b/lib/setup-codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-codeql.js","sourceRoot":"","sources":["../src/setup-codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DA,8DAYC;AAsED,oDAyBC;AAED,gEASC;AAED,0CAcC;AAiED,0CA2NC;AAMD,wEAeC;AAuID,kDAQC;AA0CD,8CA4EC;AAzvBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,0DAA4C;AAC5C,mDAKyB;AACzB,uCAAmD;AACnD,2CAA6B;AAC7B,qDAK0B;AAC1B,6CAA+B;AAC/B,iCAAoD;AAEpD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;AACvB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAEY,QAAA,gCAAgC,GAAG,sBAAsB,CAAC;AAEvE,MAAM,2BAA2B,GAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAEnE,SAAS,wBAAwB,CAAC,OAAgB;IAChD,OAAO,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1C,CAAC;AAED,SAAS,mBAAmB,CAAC,OAAgB;IAC3C,MAAM,SAAS,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAEpD,IAAI,QAAgB,CAAC;IACrB,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACjC,QAAQ,GAAG,OAAO,CAAC;IACrB,CAAC;SAAM,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACxC,QAAQ,GAAG,SAAS,CAAC;IACvB,CAAC;SAAM,IA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Ae;QACf,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,0CAA0B,CAAC,CACnD,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAe;IAC3C,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAA,SAAM,GAAE,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file +{"version":3,"file":"setup-codeql.js","sourceRoot":"","sources":["../src/setup-codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEA,8DAYC;AAsED,oDAyBC;AAED,gEASC;AAED,0CAcC;AAmED,0CAoPC;AAMD,wEAeC;AAyID,kDAQC;AA0CD,8CA0EC;AA7xBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,0DAA4C;AAC5C,mDAKyB;AACzB,uCAAmD;AACnD,2CAA6B;AAC7B,qDAK0B;AAC1B,6CAA+B;AAC/B,iCAAoD;AAEpD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;AACvB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAEY,QAAA,gCAAgC,GAAG,sBAAsB,CAAC;AAEvE,MAAM,2BAA2B,GAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAEnE,SAAS,wBAAwB,CAC/B,iBAAwC;IAExC,QAAQ,iBAAiB,EAAE,CAAC;QAC1B,KAAK,MAAM;YACT,OAAO,SAAS,CAAC;QACnB,KAAK,MAAM;YACT,OAAO,UAAU,CAAC;QACpB;YACE,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACxC,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,iBAAwC;IACnE,MAAM,SAA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AC;YACnC,MAAM,CAAC,KAAK,CAAC,yBAAyB,YAAY,EAAE,CAAC,CAAC;YACtD,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC;YACpC,MAAM;QACR,KAAK,UAAU,CAAC,CAAC,CAAC;YAChB,MAAM,MAAM,GAAG,MAAM,IAAA,sBAAc,EACjC,MAAM,CAAC,SAAS,EAChB,MAAM,CAAC,iBAAiB,EACxB,MAAM,CAAC,aAAa,EACpB,MAAM,CAAC,UAAU,EACjB,UAAU,EACV,gBAAgB,CAAC,OAAO,EACxB,OAAO,EACP,QAAQ,EACR,MAAM,CACP,CAAC;YACF,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;YACnC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;YACnC,yBAAyB,GAAG,MAAM,CAAC,YAAY,CAAC;YAChD,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAC;YACnC,MAAM;QACR,CAAC;QACD;YACE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,CAAC;IACD,OAAO;QACL,YAAY;QACZ,yBAAyB;QACzB,WAAW;QACX,YAAY;QACZ,gBAAgB;KACjB,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,aAAa,CAC1B,UAAkB,EAClB,eAAwB;IAExB,OAAO;IACL,yDAAyD;IACzD,OAAO,CAAC,QAAQ,KAAK,OAAO;QAC5B,eAAe;QACf,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,0CAA0B,CAAC,CACnD,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAe;IAC3C,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAA,SAAM,GAAE,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/lib/tar.js b/lib/tar.js index 64db8a5398..41bba13c62 100644 --- a/lib/tar.js +++ b/lib/tar.js @@ -43,6 +43,7 @@ const stream = __importStar(require("stream")); const toolrunner_1 = require("@actions/exec/lib/toolrunner"); const io = __importStar(require("@actions/io")); const toolcache = __importStar(require("@actions/tool-cache")); +const semver = __importStar(require("semver")); const actions_util_1 = require("./actions-util"); const util_1 = require("./util"); const MIN_REQUIRED_BSD_TAR_VERSION = "3.4.3"; @@ -88,13 +89,18 @@ async function isZstdAvailable(logger) { switch (type) { case "gnu": return { - available: foundZstdBinary && version >= MIN_REQUIRED_GNU_TAR_VERSION, + available: foundZstdBinary && + // GNU tar only uses major and minor version numbers + semver.gte(semver.coerce(version), semver.coerce(MIN_REQUIRED_GNU_TAR_VERSION)), foundZstdBinary, version: tarVersion, }; case "bsd": return { - available: foundZstdBinary && version >= MIN_REQUIRED_BSD_TAR_VERSION, + available: foundZstdBinary && + // Do a loose comparison since these version numbers don't contain + // a patch version number. + semver.gte(version, MIN_REQUIRED_BSD_TAR_VERSION), foundZstdBinary, version: tarVersion, }; @@ -179,10 +185,16 @@ async function extractTarZst(tar, dest, tarVersion, logger) { throw e; } } +const KNOWN_EXTENSIONS = { + "tar.gz": "gzip", + "tar.zst": "zstd", +}; function inferCompressionMethod(tarPath) { - if (tarPath.endsWith(".tar.gz")) { - return "gzip"; + for (const [ext, method] of Object.entries(KNOWN_EXTENSIONS)) { + if (tarPath.endsWith(`.${ext}`)) { + return method; + } } - return "zstd"; + return undefined; } //# sourceMappingURL=tar.js.map \ No newline at end of file diff --git a/lib/tar.js.map b/lib/tar.js.map index 04ce4f0c0a..a8aed37115 100644 --- a/lib/tar.js.map +++ b/lib/tar.js.map @@ -1 +1 @@ -{"version":3,"file":"tar.js","sourceRoot":"","sources":["../src/tar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DA,0CA+BC;AAID,0BAyBC;AAQD,sCA2EC;AAED,wDAKC;AAjND,iDAAsC;AACtC,uCAAyB;AACzB,+CAAiC;AAEjC,6DAA0D;AAC1D,gDAAkC;AAClC,+DAAiD;AAEjD,iDAAwD;AAExD,iCAAsE;AAEtE,MAAM,4BAA4B,GAAG,OAAO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L,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAA,kBAAW,EAAC,IAAI,EAAE,kCAAkC,EAAE,MAAM,CAAC,CAAC;QACpE,MAAM,CAAC,CAAC;IACV,CAAC;AACH,CAAC;AAED,MAAM,gBAAgB,GAAsC;IAC1D,QAAQ,EAAE,MAAM;IAChB,SAAS,EAAE,MAAM;CAClB,CAAC;AAEF,SAAgB,sBAAsB,CACpC,OAAe;IAEf,KAAK,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAC7D,IAAI,OAAO,CAAC,QAAQ,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,CAAC;YAChC,OAAO,MAAM,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/lib/tools-download.js b/lib/tools-download.js index 4655f2b00e..3ef3da2fca 100644 --- a/lib/tools-download.js +++ b/lib/tools-download.js @@ -73,9 +73,8 @@ function makeStreamedToolsDownloadDurations(combinedDurationMs) { streamExtraction: true, }; } -async function downloadAndExtract(codeqlURL, dest, authorization, headers, tarVersion, logger) { +async function downloadAndExtract(codeqlURL, compressionMethod, dest, authorization, headers, tarVersion, logger) { logger.info(`Downloading CodeQL tools from ${codeqlURL} . This may take a while.`); - const compressionMethod = tar.inferCompressionMethod(codeqlURL); try { if (compressionMethod === "zstd" && process.platform === "linux") { logger.info(`Streaming the extraction of the CodeQL bundle.`); diff --git a/lib/tools-download.js.map b/lib/tools-download.js.map index c9b5ad0c1b..ac894be54a 100644 --- a/lib/tools-download.js.map +++ b/lib/tools-download.js.map @@ -1 +1 @@ -{"version":3,"file":"tools-download.js","sourceRoot":"","sources":["../src/tools-download.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFA,gDAmGC;AA8CD,sDAOC;AAED,4DAOC;AAnPD,uCA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EF,IAAI,QAAQ,CAAC,UAAU,KAAK,GAAG,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,yCAAyC,SAAS,uBAAuB,QAAQ,CAAC,UAAU,GAAG,CAChG,CAAC;IACJ,CAAC;IAED,MAAM,GAAG,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;AAC9D,CAAC;AAED,8FAA8F;AAC9F,SAAgB,qBAAqB,CAAC,OAAe;IACnD,OAAO,IAAI,CAAC,IAAI,CACd,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,EACxC,mBAAmB,EACnB,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,OAAO,EAChC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,CAChB,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,aAAqB,EACrB,MAAc;IAEd,MAAM,cAAc,GAAG,GAAG,aAAa,WAAW,CAAC;IACnD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;IACrC,MAAM,CAAC,IAAI,CAAC,iCAAiC,cAAc,EAAE,CAAC,CAAC;AACjE,CAAC;AAED,SAAS,0BAA0B,CAAC,GAAW;IAC7C,OAAO,CAAC,sBAAsB,EAAE,kCAAkC,CAAC,CAAC,IAAI,CACtE,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,sBAAsB,IAAI,qBAAqB,CAAC,CAC1E;QACC,CAAC,CAAC,GAAG;QACL,CAAC,CAAC,iBAAiB,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"tools-download.js","sourceRoot":"","sources":["../src/tools-download.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFA,gDAkGC;AA8CD,sDAOC;AAED,4DAOC;AAlPD,uCAAyB;AAEzB,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,oDAAsC;A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AAG,CAChG,CAAC;IACJ,CAAC;IAED,MAAM,GAAG,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;AAC9D,CAAC;AAED,8FAA8F;AAC9F,SAAgB,qBAAqB,CAAC,OAAe;IACnD,OAAO,IAAI,CAAC,IAAI,CACd,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,EACxC,mBAAmB,EACnB,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,OAAO,EAChC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,CAChB,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,aAAqB,EACrB,MAAc;IAEd,MAAM,cAAc,GAAG,GAAG,aAAa,WAAW,CAAC;IACnD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;IACrC,MAAM,CAAC,IAAI,CAAC,iCAAiC,cAAc,EAAE,CAAC,CAAC;AACjE,CAAC;AAED,SAAS,0BAA0B,CAAC,GAAW;IAC7C,OAAO,CAAC,sBAAsB,EAAE,kCAAkC,CAAC,CAAC,IAAI,CACtE,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,sBAAsB,IAAI,qBAAqB,CAAC,CAC1E;QACC,CAAC,CAAC,GAAG;QACL,CAAC,CAAC,iBAAiB,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index 165b09220b..e567ec7403 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -39,12 +39,21 @@ export const CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action"; const CODEQL_BUNDLE_VERSION_ALIAS: string[] = ["linked", "latest"]; -function getCodeQLBundleExtension(useZstd: boolean): string { - return useZstd ? ".tar.zst" : ".tar.gz"; +function getCodeQLBundleExtension( + compressionMethod: tar.CompressionMethod, +): string { + switch (compressionMethod) { + case "gzip": + return ".tar.gz"; + case "zstd": + return ".tar.zst"; + default: + util.assertNever(compressionMethod); + } } -function getCodeQLBundleName(useZstd: boolean): string { - const extension = getCodeQLBundleExtension(useZstd); +function getCodeQLBundleName(compressionMethod: tar.CompressionMethod): string { + const extension = getCodeQLBundleExtension(compressionMethod); let platform: string; if (process.platform === "win32") { @@ -76,7 +85,7 @@ export function getCodeQLActionRepository(logger: Logger): string { async function getCodeQLBundleDownloadURL( tagName: string, apiDetails: api.GitHubApiDetails, - useZstd: boolean, + compressionMethod: tar.CompressionMethod, logger: Logger, ): Promise { const codeQLActionRepository = getCodeQLActionRepository(logger); @@ -95,7 +104,7 @@ async function getCodeQLBundleDownloadURL( return !self.slice(0, index).some((other) => deepEqual(source, other)); }, ); - const codeQLBundleName = getCodeQLBundleName(useZstd); + const codeQLBundleName = getCodeQLBundleName(compressionMethod); for (const downloadSource of uniqueDownloadSources) { const [apiURL, repository] = downloadSource; // If we've reached the final case, short-circuit the API check since we know the bundle exists and is public. @@ -115,14 +124,14 @@ async function getCodeQLBundleDownloadURL( for (const asset of release.data.assets) { if (asset.name === codeQLBundleName) { logger.info( - `Found CodeQL bundle in ${downloadSource[1]} on ${downloadSource[0]} with URL ${asset.url}.`, + `Found CodeQL bundle ${codeQLBundleName} in ${repository} on ${apiURL} with URL ${asset.url}.`, ); return asset.url; } } } catch (e) { logger.info( - `Looked for CodeQL bundle in ${downloadSource[1]} on ${downloadSource[0]} but got error ${e}.`, + `Looked for CodeQL bundle ${codeQLBundleName} in ${repository} on ${apiURL} but got error ${e}.`, ); } } @@ -198,6 +207,7 @@ export function convertToSemVer(version: string, logger: Logger): string { type CodeQLToolsSource = | { codeqlTarPath: string; + compressionMethod: tar.CompressionMethod; sourceType: "local"; /** Human-readable description of the source of the tools for telemetry purposes. */ toolsVersion: "local"; @@ -213,6 +223,7 @@ type CodeQLToolsSource = bundleVersion?: string; /** CLI version of the tools, if known. */ cliVersion?: string; + compressionMethod: tar.CompressionMethod; codeqlURL: string; sourceType: "download"; /** Human-readable description of the source of the tools for telemetry purposes. */ @@ -272,8 +283,16 @@ export async function getCodeQLSource( !toolsInput.startsWith("http") ) { logger.info(`Using CodeQL CLI from local path ${toolsInput}`); + const compressionMethod = tar.inferCompressionMethod(toolsInput); + if (compressionMethod === undefined) { + throw new util.ConfigurationError( + `Could not infer compression method from path ${toolsInput}. Please specify a path ` + + "ending in '.tar.gz' or '.tar.zst'.", + ); + } return { codeqlTarPath: toolsInput, + compressionMethod, sourceType: "local", toolsVersion: "local", }; @@ -455,14 +474,30 @@ export async function getCodeQLSource( } } + let compressionMethod: tar.CompressionMethod; + if (!url) { + compressionMethod = + cliVersion !== undefined && + (await useZstdBundle(cliVersion, tarSupportsZstd)) + ? "zstd" + : "gzip"; + url = await getCodeQLBundleDownloadURL( tagName!, apiDetails, - cliVersion !== undefined && - (await useZstdBundle(cliVersion, tarSupportsZstd)), + compressionMethod, logger, ); + } else { + const method = tar.inferCompressionMethod(url); + if (method === undefined) { + throw new util.ConfigurationError( + `Could not infer compression method from URL ${url}. Please specify a URL ` + + "ending in '.tar.gz' or '.tar.zst'.", + ); + } + compressionMethod = method; } if (cliVersion) { @@ -474,6 +509,7 @@ export async function getCodeQLSource( bundleVersion: tagName && tryGetBundleVersionFromTagName(tagName, logger), cliVersion, codeqlURL: url, + compressionMethod, sourceType: "download", toolsVersion: cliVersion ?? humanReadableVersion, }; @@ -504,6 +540,7 @@ export async function tryGetFallbackToolcacheVersion( // be able to stub this function and have other functions in this file use that stub. export const downloadCodeQL = async function ( codeqlURL: string, + compressionMethod: tar.CompressionMethod, maybeBundleVersion: string | undefined, maybeCliVersion: string | undefined, apiDetails: api.GitHubApiDetails, @@ -552,6 +589,7 @@ export const downloadCodeQL = async function ( let statusReport = await downloadAndExtract( codeqlURL, + compressionMethod, extractedBundlePath, authorization, { "User-Agent": "CodeQL Action", ...headers }, @@ -714,13 +752,10 @@ export async function setupCodeQLBundle( let toolsSource: ToolsSource; switch (source.sourceType) { case "local": { - const compressionMethod = tar.inferCompressionMethod( - source.codeqlTarPath, - ); codeqlFolder = await tar.extract( source.codeqlTarPath, getTempExtractionDir(tempDir), - compressionMethod, + source.compressionMethod, zstdAvailability.version, logger, ); @@ -735,6 +770,7 @@ export async function setupCodeQLBundle( case "download": { const result = await downloadCodeQL( source.codeqlURL, + source.compressionMethod, source.bundleVersion, source.cliVersion, apiDetails, diff --git a/src/tar.ts b/src/tar.ts index 3f9dcec6a2..056e958e7b 100644 --- a/src/tar.ts +++ b/src/tar.ts @@ -5,6 +5,7 @@ import * as stream from "stream"; import { ToolRunner } from "@actions/exec/lib/toolrunner"; import * as io from "@actions/io"; import * as toolcache from "@actions/tool-cache"; +import * as semver from "semver"; import { CommandInvocationError } from "./actions-util"; import { Logger } from "./logging"; @@ -68,13 +69,23 @@ export async function isZstdAvailable( switch (type) { case "gnu": return { - available: foundZstdBinary && version >= MIN_REQUIRED_GNU_TAR_VERSION, + available: + foundZstdBinary && + // GNU tar only uses major and minor version numbers + semver.gte( + semver.coerce(version)!, + semver.coerce(MIN_REQUIRED_GNU_TAR_VERSION)!, + ), foundZstdBinary, version: tarVersion, }; case "bsd": return { - available: foundZstdBinary && version >= MIN_REQUIRED_BSD_TAR_VERSION, + available: + foundZstdBinary && + // Do a loose comparison since these version numbers don't contain + // a patch version number. + semver.gte(version, MIN_REQUIRED_BSD_TAR_VERSION), foundZstdBinary, version: tarVersion, }; @@ -202,9 +213,18 @@ export async function extractTarZst( } } -export function inferCompressionMethod(tarPath: string): CompressionMethod { - if (tarPath.endsWith(".tar.gz")) { - return "gzip"; +const KNOWN_EXTENSIONS: Record = { + "tar.gz": "gzip", + "tar.zst": "zstd", +}; + +export function inferCompressionMethod( + tarPath: string, +): CompressionMethod | undefined { + for (const [ext, method] of Object.entries(KNOWN_EXTENSIONS)) { + if (tarPath.endsWith(`.${ext}`)) { + return method; + } } - return "zstd"; + return undefined; } diff --git a/src/tools-download.ts b/src/tools-download.ts index ce511663a5..5d47440edd 100644 --- a/src/tools-download.ts +++ b/src/tools-download.ts @@ -82,6 +82,7 @@ export type ToolsDownloadStatusReport = { export async function downloadAndExtract( codeqlURL: string, + compressionMethod: tar.CompressionMethod, dest: string, authorization: string | undefined, headers: OutgoingHttpHeaders, @@ -92,8 +93,6 @@ export async function downloadAndExtract( `Downloading CodeQL tools from ${codeqlURL} . This may take a while.`, ); - const compressionMethod = tar.inferCompressionMethod(codeqlURL); - try { if (compressionMethod === "zstd" && process.platform === "linux") { logger.info(`Streaming the extraction of the CodeQL bundle.`); From 20bbc8f5b58579c2e9e25c639f6a291b8b9612d4 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 22 Jan 2025 12:35:37 +0000 Subject: [PATCH 064/132] Add changelog note --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 540baed193..86d66ced11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -No user facing changes. +- Fix an issue downloading the CodeQL Bundle from a GitHub Enterprise Server instance where the CodeQL Bundle has been synced to the instance using the [CodeQL Action sync tool](https://github.com/github/codeql-action-sync-tool) and the Actions runner does not have Zstandard installed. [#2710](https://github.com/github/codeql-action/pull/2710) ## 3.28.2 - 21 Jan 2025 From 07d32980ceb7ff28ce90e270801d1ab80fe4627d Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 22 Jan 2025 13:14:30 +0000 Subject: [PATCH 065/132] Tweak wording of changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86d66ced11..555add6ddd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -- Fix an issue downloading the CodeQL Bundle from a GitHub Enterprise Server instance where the CodeQL Bundle has been synced to the instance using the [CodeQL Action sync tool](https://github.com/github/codeql-action-sync-tool) and the Actions runner does not have Zstandard installed. [#2710](https://github.com/github/codeql-action/pull/2710) +- Fix an issue downloading the CodeQL Bundle from a GitHub Enterprise Server instance which occurred when the CodeQL Bundle had been synced to the instance using the [CodeQL Action sync tool](https://github.com/github/codeql-action-sync-tool) and the Actions runner did not have Zstandard installed. [#2710](https://github.com/github/codeql-action/pull/2710) ## 3.28.2 - 21 Jan 2025 From c34eb63970af33aa2fc41530a94c726b55a70813 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:20:50 +0000 Subject: [PATCH 066/132] build(deps): bump undici from 5.28.4 to 5.28.5 in the npm_and_yarn group Bumps the npm_and_yarn group with 1 update: [undici](https://github.com/nodejs/undici). Updates `undici` from 5.28.4 to 5.28.5 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5) --- updated-dependencies: - dependency-name: undici dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] --- package-lock.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f8179a025f..6ac92424bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7636,9 +7636,10 @@ } }, "node_modules/undici": { - "version": "5.28.4", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", - "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", + "version": "5.28.5", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.5.tgz", + "integrity": "sha512-zICwjrDrcrUE0pyyJc1I2QzBkLM8FINsgOrt6WjA+BgajVq9Nxu2PbFFXUrAggLfDXlZGZBVZYw7WNV5KiBiBA==", + "license": "MIT", "dependencies": { "@fastify/busboy": "^2.0.0" }, From 140c5ea762e1a2be830ca8428d936fb48671ba00 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:22:06 +0000 Subject: [PATCH 067/132] Update checked-in dependencies --- node_modules/.package-lock.json | 7 ++++--- node_modules/undici/lib/fetch/body.js | 10 +++++++++- node_modules/undici/package.json | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index a9ab271a4b..3c008471ec 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -7568,9 +7568,10 @@ } }, "node_modules/undici": { - "version": "5.28.4", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", - "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", + "version": "5.28.5", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.5.tgz", + "integrity": "sha512-zICwjrDrcrUE0pyyJc1I2QzBkLM8FINsgOrt6WjA+BgajVq9Nxu2PbFFXUrAggLfDXlZGZBVZYw7WNV5KiBiBA==", + "license": "MIT", "dependencies": { "@fastify/busboy": "^2.0.0" }, diff --git a/node_modules/undici/lib/fetch/body.js b/node_modules/undici/lib/fetch/body.js index fd8481b796..4afcfdfbcd 100644 --- a/node_modules/undici/lib/fetch/body.js +++ b/node_modules/undici/lib/fetch/body.js @@ -22,6 +22,14 @@ const { isUint8Array, isArrayBuffer } = require('util/types') const { File: UndiciFile } = require('./file') const { parseMIMEType, serializeAMimeType } = require('./dataURL') +let random +try { + const crypto = require('node:crypto') + random = (max) => crypto.randomInt(0, max) +} catch { + random = (max) => Math.floor(Math.random(max)) +} + let ReadableStream = globalThis.ReadableStream /** @type {globalThis['File']} */ @@ -107,7 +115,7 @@ function extractBody (object, keepalive = false) { // Set source to a copy of the bytes held by object. source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength)) } else if (util.isFormDataLike(object)) { - const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}` + const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}` const prefix = `--${boundary}\r\nContent-Disposition: form-data` /*! formdata-polyfill. MIT License. Jimmy Wärting */ diff --git a/node_modules/undici/package.json b/node_modules/undici/package.json index 65a2d9833c..0c6b71e175 100644 --- a/node_modules/undici/package.json +++ b/node_modules/undici/package.json @@ -1,6 +1,6 @@ { "name": "undici", - "version": "5.28.4", + "version": "5.28.5", "description": "An HTTP/1.1 client, written from scratch for Node.js", "homepage": "https://undici.nodejs.org", "bugs": { From 519de26711ecad48bde264c51e414658a82ef3fa Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Wed, 22 Jan 2025 10:34:48 -0800 Subject: [PATCH 068/132] Temporarily disable uploading debug artifacts --- CHANGELOG.md | 1 + lib/debug-artifacts.js | 2 ++ lib/debug-artifacts.js.map | 2 +- src/debug-artifacts.ts | 3 +++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b3ca1c0eb..fab03bfec5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th - Update default CodeQL bundle version to 2.20.2. [#2707](https://github.com/github/codeql-action/pull/2707) - Fix an issue downloading the CodeQL Bundle from a GitHub Enterprise Server instance which occurred when the CodeQL Bundle had been synced to the instance using the [CodeQL Action sync tool](https://github.com/github/codeql-action-sync-tool) and the Actions runner did not have Zstandard installed. [#2710](https://github.com/github/codeql-action/pull/2710) +- Uploading debug artifacts for CodeQL analysis is temporarily disabled. [#2712](https://github.com/github/codeql-action/pull/2712) ## 3.28.2 - 21 Jan 2025 diff --git a/lib/debug-artifacts.js b/lib/debug-artifacts.js index 6eb1132a06..1724935891 100644 --- a/lib/debug-artifacts.js +++ b/lib/debug-artifacts.js @@ -190,6 +190,8 @@ async function uploadDebugArtifacts(logger, toUpload, rootDir, artifactName, ghV if (toUpload.length === 0) { return; } + logger.info("Uploading debug artifacts is temporarily disabled"); + return; let suffix = ""; const matrix = (0, actions_util_1.getRequiredInput)("matrix"); if (matrix) { diff --git a/lib/debug-artifacts.js.map b/lib/debug-artifacts.js.map index 6ec0b9abc6..3f4d6b322a 100644 --- a/lib/debug-artifacts.js.map +++ b/lib/debug-artifacts.js.map @@ -1 +1 @@ -{"version":3,"file":"debug-artifacts.js","sourceRoot":"","sources":["../src/debug-artifacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,oDAEC;AAMD,oEA8CC;AAgFD,kFAyEC;AAED,oDAyCC;AAMD,8DAeC;AAxSD,uCAAyB;AACzB,2CAA6B;AAE7B,4DAA8C;AAC9C,yEAA2D;AAC3D,oDAAsC;AACtC,sDAA6B;AAC7B,8CAAsB;AAEtB,iDAAyE;AACzE,uCAA0C;AAC1C,qCAAqC;AAErC,+CAAuC;AAEvC,uCAA8C;AAC9C,iCAOgB;AAEhB,SAAgB,oBAAoB,CAAC,IAAY;IAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,4BAA4B,CAChD,MAAc,EACd,aAA4B;IAE5B,MAAM,OAAO,GAAG,IAAA,oCAAqB,GAAE,CAAC;IAExC,gFAAgF;IAChF,IAAI,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,KAAK,MAAM,EAAE,CAAC;QACjE,MAAM,CAAC,IAAI,CACT,2EAA2E,CAC5E,CAAC;QAEF,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;QAE5D,MAAM,QAAQ,GAAa,EAAE,CAAC;QAE9B,IAAI,EAAE,CAAC,UAAU,CA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D,MAAM,GAAG,GAAG,IAAI,iBAAM,EAAE,CAAC;IACzB,GAAG,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IACjC,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IACjC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,uBAAuB,CACpC,MAAc,EACd,QAAkB;IAElB,MAAM,kBAAkB,GAAG,MAAM,IAAA,eAAQ,EACvC,MAAM,EACN,QAAQ,EACR,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,EACjC,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,EAAE,CAC1C,CAAC;IACF,OAAO,kBAAkB,CAAC;AAC5B,CAAC"} \ No newline at end of file diff --git a/src/debug-artifacts.ts b/src/debug-artifacts.ts index 5594b818aa..a15277a7b8 100644 --- a/src/debug-artifacts.ts +++ b/src/debug-artifacts.ts @@ -242,6 +242,9 @@ export async function uploadDebugArtifacts( if (toUpload.length === 0) { return; } + logger.info("Uploading debug artifacts is temporarily disabled"); + return; + let suffix = ""; const matrix = getRequiredInput("matrix"); if (matrix) { From 23d07bb885e454e57d2e1bed7e3546e4c60df5a4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 18:55:38 +0000 Subject: [PATCH 069/132] Update changelog for v3.28.3 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fab03bfec5..afba26e89e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.3 - 22 Jan 2025 - Update default CodeQL bundle version to 2.20.2. [#2707](https://github.com/github/codeql-action/pull/2707) - Fix an issue downloading the CodeQL Bundle from a GitHub Enterprise Server instance which occurred when the CodeQL Bundle had been synced to the instance using the [CodeQL Action sync tool](https://github.com/github/codeql-action-sync-tool) and the Actions runner did not have Zstandard installed. [#2710](https://github.com/github/codeql-action/pull/2710) From 4872b26ff9ee55f3cfcfa885bc30030a145f2c99 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 19:14:27 +0000 Subject: [PATCH 070/132] Update changelog and version after v3.28.3 --- 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 afba26e89e..8cd45e5d18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.3 - 22 Jan 2025 - Update default CodeQL bundle version to 2.20.2. [#2707](https://github.com/github/codeql-action/pull/2707) diff --git a/package-lock.json b/package-lock.json index 6ac92424bd..145d4c1e83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.3", + "version": "3.28.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.3", + "version": "3.28.4", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index 185ae68910..331e189a3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.3", + "version": "3.28.4", "private": true, "description": "CodeQL action", "scripts": { From d7366a1e50562ba5e16471523d99fba662c1b32e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 19:16:53 +0000 Subject: [PATCH 071/132] 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 3c008471ec..f9d944f3e6 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.3", + "version": "3.28.4", "lockfileVersion": 3, "requires": true, "packages": { From 377913f015d5741a10a836eef6fc284ce639949b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:28:37 +0000 Subject: [PATCH 072/132] Update changelog for v3.28.4 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cd45e5d18..c880f45809 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.4 - 23 Jan 2025 No user facing changes. From 67c21e4084d5e020fbc969b839d42911b87fb8b5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:44:36 +0000 Subject: [PATCH 073/132] Update changelog and version after v3.28.4 --- 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 c880f45809..ff83141513 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.4 - 23 Jan 2025 No user facing changes. diff --git a/package-lock.json b/package-lock.json index 145d4c1e83..e4b0c119d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.4", + "version": "3.28.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.4", + "version": "3.28.5", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index 331e189a3b..77400ece0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.4", + "version": "3.28.5", "private": true, "description": "CodeQL action", "scripts": { From e32a0d62d44ac06377953bfaf3ffd43618be076a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:48:10 +0000 Subject: [PATCH 074/132] 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 f9d944f3e6..06f2758975 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.4", + "version": "3.28.5", "lockfileVersion": 3, "requires": true, "packages": { From 208091da0a1069394981cdf5e7a91a8ee3f10709 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 22:15:14 +0000 Subject: [PATCH 075/132] Update default bundle to codeql-bundle-v2.20.3 --- lib/defaults.json | 8 ++++---- src/defaults.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/defaults.json b/lib/defaults.json index 851fee2175..68e0d49497 100644 --- a/lib/defaults.json +++ b/lib/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.20.2", - "cliVersion": "2.20.2", - "priorBundleVersion": "codeql-bundle-v2.20.1", - "priorCliVersion": "2.20.1" + "bundleVersion": "codeql-bundle-v2.20.3", + "cliVersion": "2.20.3", + "priorBundleVersion": "codeql-bundle-v2.20.2", + "priorCliVersion": "2.20.2" } diff --git a/src/defaults.json b/src/defaults.json index 8645754788..642bf93f0e 100644 --- a/src/defaults.json +++ b/src/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.20.2", - "cliVersion": "2.20.2", - "priorBundleVersion": "codeql-bundle-v2.20.1", - "priorCliVersion": "2.20.1" + "bundleVersion": "codeql-bundle-v2.20.3", + "cliVersion": "2.20.3", + "priorBundleVersion": "codeql-bundle-v2.20.2", + "priorCliVersion": "2.20.2" } From 428975ce2cf327a0e919004c63e734eddd0e6255 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 22:15:18 +0000 Subject: [PATCH 076/132] Add changelog note --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff83141513..17e6153c4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -No user facing changes. +- Update default CodeQL bundle version to 2.20.3. [#2717](https://github.com/github/codeql-action/pull/2717) ## 3.28.4 - 23 Jan 2025 From d7f39764f685cbe3764f763469a0d72383d7b9c8 Mon Sep 17 00:00:00 2001 From: Stephan Brandauer Date: Fri, 24 Jan 2025 12:12:00 +0100 Subject: [PATCH 077/132] permissions block in query-filters.yml --- .github/workflows/query-filters.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/query-filters.yml b/.github/workflows/query-filters.yml index c5a838716c..7bba1d6d4e 100644 --- a/.github/workflows/query-filters.yml +++ b/.github/workflows/query-filters.yml @@ -20,6 +20,8 @@ jobs: name: Query Filters Tests timeout-minutes: 45 runs-on: ubuntu-latest + permissions: + contents: read # This permission is needed to allow the GitHub Actions workflow to read the contents of the repository. steps: - name: Check out repository uses: actions/checkout@v4 From d39065943fe3b4bd39214b573d58ab0d32e77aea Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 24 Jan 2025 13:21:05 +0000 Subject: [PATCH 078/132] Add missing permissions --- .github/workflows/check-expected-release-files.yml | 3 +++ .github/workflows/codescanning-config-cli.yml | 5 +++++ .github/workflows/debug-artifacts-failure.yml | 4 ++++ .github/workflows/debug-artifacts.yml | 4 ++++ .github/workflows/post-release-mergeback.yml | 3 +++ .github/workflows/pr-checks.yml | 9 +++++++++ .github/workflows/python312-windows.yml | 2 ++ .github/workflows/query-filters.yml | 2 ++ .github/workflows/rebuild.yml | 3 +++ .github/workflows/update-bundle.yml | 3 +++ .github/workflows/update-dependencies.yml | 3 +++ .github/workflows/update-release-branch.yml | 8 ++++++++ .../update-supported-enterprise-server-versions.yml | 5 ++++- 13 files changed, 53 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-expected-release-files.yml b/.github/workflows/check-expected-release-files.yml index c5d225b410..fd1d7c5ae8 100644 --- a/.github/workflows/check-expected-release-files.yml +++ b/.github/workflows/check-expected-release-files.yml @@ -13,6 +13,9 @@ jobs: check-expected-release-files: runs-on: ubuntu-latest + permissions: + contents: read + steps: - name: Checkout CodeQL Action uses: actions/checkout@v4 diff --git a/.github/workflows/codescanning-config-cli.yml b/.github/workflows/codescanning-config-cli.yml index c4cd4eeaa8..9a059a8b16 100644 --- a/.github/workflows/codescanning-config-cli.yml +++ b/.github/workflows/codescanning-config-cli.yml @@ -23,6 +23,11 @@ jobs: code-scanning-config-tests: continue-on-error: true + permissions: + contents: read + packages: read + security-events: write + strategy: fail-fast: false matrix: diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure.yml index 4efa196511..995071df6a 100644 --- a/.github/workflows/debug-artifacts-failure.yml +++ b/.github/workflows/debug-artifacts-failure.yml @@ -23,6 +23,8 @@ jobs: continue-on-error: true env: CODEQL_ACTION_TEST_MODE: true + permissions: + contents: read timeout-minutes: 45 runs-on: ubuntu-latest steps: @@ -58,6 +60,8 @@ jobs: name: Download and check debug artifacts after failure in analyze needs: upload-artifacts timeout-minutes: 45 + permissions: + contents: read runs-on: ubuntu-latest steps: - name: Download all artifacts diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index a8cf710085..2dd0691359 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -34,6 +34,8 @@ jobs: env: CODEQL_ACTION_TEST_MODE: true timeout-minutes: 45 + permissions: + contents: read runs-on: ubuntu-latest steps: - name: Check out repository @@ -64,6 +66,8 @@ jobs: name: Download and check debug artifacts needs: upload-artifacts timeout-minutes: 45 + permissions: + contents: read runs-on: ubuntu-latest steps: - name: Download all artifacts diff --git a/.github/workflows/post-release-mergeback.yml b/.github/workflows/post-release-mergeback.yml index f6896fb22b..9b0b35118a 100644 --- a/.github/workflows/post-release-mergeback.yml +++ b/.github/workflows/post-release-mergeback.yml @@ -27,6 +27,9 @@ jobs: BASE_BRANCH: "${{ github.event.inputs.baseBranch || 'main' }}" HEAD_BRANCH: "${{ github.head_ref || github.ref }}" + permissions: + contents: write # needed to create tags and push commits + steps: - name: Dump environment run: env diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index bd406774b8..676fa65d1d 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -40,6 +40,8 @@ jobs: check-node-modules: if: github.event_name != 'push' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/releases/v') name: Check modules up to date + permissions: + contents: read runs-on: macos-latest timeout-minutes: 45 @@ -51,6 +53,8 @@ jobs: check-file-contents: if: github.event_name != 'push' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/releases/v') name: Check file contents + permissions: + contents: read runs-on: ubuntu-latest timeout-minutes: 45 @@ -81,6 +85,8 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] + permissions: + contents: read runs-on: ${{ matrix.os }} timeout-minutes: 45 @@ -101,6 +107,9 @@ jobs: env: BASE_REF: ${{ github.base_ref }} + permissions: + contents: read + steps: - uses: actions/checkout@v4 - id: head-version diff --git a/.github/workflows/python312-windows.yml b/.github/workflows/python312-windows.yml index da5226dc29..b9eba295b7 100644 --- a/.github/workflows/python312-windows.yml +++ b/.github/workflows/python312-windows.yml @@ -17,6 +17,8 @@ jobs: env: CODEQL_ACTION_TEST_MODE: true timeout-minutes: 45 + permissions: + contents: read runs-on: windows-latest steps: diff --git a/.github/workflows/query-filters.yml b/.github/workflows/query-filters.yml index c5a838716c..d562e7d975 100644 --- a/.github/workflows/query-filters.yml +++ b/.github/workflows/query-filters.yml @@ -19,6 +19,8 @@ jobs: query-filters: name: Query Filters Tests timeout-minutes: 45 + permissions: + contents: read runs-on: ubuntu-latest steps: - name: Check out repository diff --git a/.github/workflows/rebuild.yml b/.github/workflows/rebuild.yml index c2dcb2c690..97cac94fbd 100644 --- a/.github/workflows/rebuild.yml +++ b/.github/workflows/rebuild.yml @@ -11,6 +11,9 @@ jobs: runs-on: ubuntu-latest if: github.event.label.name == 'Rebuild' + permissions: + contents: write # needed to push rebuilt commit + pull-requests: write # needed to comment on the PR steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/update-bundle.yml b/.github/workflows/update-bundle.yml index 36a96c7399..73ab6b4141 100644 --- a/.github/workflows/update-bundle.yml +++ b/.github/workflows/update-bundle.yml @@ -17,6 +17,9 @@ jobs: update-bundle: if: github.event.release.prerelease && startsWith(github.event.release.tag_name, 'codeql-bundle-') runs-on: ubuntu-latest + permissions: + contents: write # needed to push commits + pull-requests: write # needed to create pull requests steps: - name: Dump environment run: env diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 0d24650e05..364dec011f 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -9,6 +9,9 @@ jobs: timeout-minutes: 45 runs-on: macos-latest if: contains(github.event.pull_request.labels.*.name, 'Update dependencies') && (github.event.pull_request.head.repo.full_name == 'github/codeql-action') + permissions: + contents: write # needed to push the updated dependencies + pull-requests: write # needed to comment on the PR steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index cac2c67b10..71bd817a79 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -22,6 +22,8 @@ jobs: latest_tag: ${{ steps.versions.outputs.latest_tag }} backport_source_branch: ${{ steps.branches.outputs.backport_source_branch }} backport_target_branches: ${{ steps.branches.outputs.backport_target_branches }} + permissions: + contents: read steps: - uses: actions/checkout@v4 with: @@ -63,6 +65,9 @@ jobs: REPOSITORY: "${{ github.repository }}" MAJOR_VERSION: "${{ needs.prepare.outputs.major_version }}" LATEST_TAG: "${{ needs.prepare.outputs.latest_tag }}" + permissions: + contents: write # needed to push commits + pull-requests: write # needed to create pull request steps: - uses: actions/checkout@v4 with: @@ -114,6 +119,9 @@ jobs: env: SOURCE_BRANCH: ${{ needs.prepare.outputs.backport_source_branch }} TARGET_BRANCH: ${{ matrix.target_branch }} + permissions: + contents: write # needed to push commits + pull-requests: write # needed to create pull request steps: - name: Generate token uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index 6900101006..5eaa167c36 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -10,7 +10,10 @@ jobs: name: Update Supported Enterprise Server Versions timeout-minutes: 45 runs-on: ubuntu-latest - if: ${{ github.repository == 'github/codeql-action' }} + if: github.repository == 'github/codeql-action' + permissions: + contents: write # needed to push commits + pull-requests: write # needed to create pull request steps: - name: Setup Python From 9cd802ec12506cc7c89d5045a7248cce97239cbf Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 24 Jan 2025 13:24:20 +0000 Subject: [PATCH 079/132] Give only read-level `security-events` permission where possible --- .github/workflows/__all-platform-bundle.yml | 2 +- .github/workflows/__analyze-ref-input.yml | 2 +- .github/workflows/__autobuild-action.yml | 2 +- .../__autobuild-direct-tracing-with-working-dir.yml | 2 +- .github/workflows/__autobuild-direct-tracing.yml | 2 +- .github/workflows/__build-mode-autobuild.yml | 2 +- .github/workflows/__build-mode-manual.yml | 2 +- .github/workflows/__build-mode-none.yml | 2 +- .github/workflows/__build-mode-rollback.yml | 2 +- .github/workflows/__cleanup-db-cluster-dir.yml | 2 +- .github/workflows/__config-export.yml | 2 +- .github/workflows/__config-input.yml | 2 +- .github/workflows/__cpp-deptrace-disabled.yml | 2 +- .github/workflows/__cpp-deptrace-enabled-on-macos.yml | 2 +- .github/workflows/__cpp-deptrace-enabled.yml | 2 +- .github/workflows/__diagnostics-export.yml | 2 +- .github/workflows/__export-file-baseline-information.yml | 2 +- .github/workflows/__extract-direct-to-toolcache.yml | 2 +- .github/workflows/__extractor-ram-threads.yml | 2 +- .github/workflows/__go-custom-queries.yml | 2 +- .../__go-indirect-tracing-workaround-diagnostic.yml | 2 +- .../__go-indirect-tracing-workaround-no-file-program.yml | 2 +- .github/workflows/__go-indirect-tracing-workaround.yml | 2 +- .github/workflows/__go-tracing-autobuilder.yml | 2 +- .github/workflows/__go-tracing-custom-build-steps.yml | 2 +- .github/workflows/__go-tracing-legacy-workflow.yml | 2 +- .github/workflows/__javascript-source-root.yml | 2 +- .github/workflows/__job-run-uuid-sarif.yml | 2 +- .github/workflows/__language-aliases.yml | 2 +- .github/workflows/__multi-language-autodetect.yml | 2 +- .../workflows/__packaging-codescanning-config-inputs-js.yml | 2 +- .github/workflows/__packaging-config-inputs-js.yml | 2 +- .github/workflows/__packaging-config-js.yml | 2 +- .github/workflows/__packaging-inputs-js.yml | 2 +- .github/workflows/__remote-config.yml | 2 +- .github/workflows/__resolve-environment-action.yml | 2 +- .github/workflows/__rubocop-multi-language.yml | 2 +- .github/workflows/__ruby.yml | 2 +- .github/workflows/__split-workflow.yml | 2 +- .github/workflows/__start-proxy.yml | 2 +- .github/workflows/__submit-sarif-failure.yml | 3 ++- .github/workflows/__swift-autobuild.yml | 2 +- .github/workflows/__swift-custom-build.yml | 2 +- .github/workflows/__test-autobuild-working-dir.yml | 2 +- .github/workflows/__test-local-codeql.yml | 2 +- .github/workflows/__test-proxy.yml | 2 +- .github/workflows/__unset-environment.yml | 2 +- .github/workflows/__upload-ref-sha-input.yml | 2 +- .github/workflows/__with-checkout-path.yml | 2 +- .github/workflows/__zstd-bundle-streaming.yml | 2 +- .github/workflows/__zstd-bundle.yml | 2 +- .github/workflows/codeql.yml | 5 +++-- .github/workflows/codescanning-config-cli.yml | 2 +- .github/workflows/expected-queries-runs.yml | 2 +- .github/workflows/pr-checks.yml | 2 +- .github/workflows/test-codeql-bundle-all.yml | 2 +- pr-checks/checks/submit-sarif-failure.yml | 4 ++++ pr-checks/sync.py | 2 +- 58 files changed, 64 insertions(+), 58 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index 7439f7e16c..99b6b7bb49 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -32,7 +32,7 @@ jobs: name: All-platform bundle permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index 3047b9d73f..52294f42dd 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -36,7 +36,7 @@ jobs: name: "Analyze: 'ref' and 'sha' from inputs" permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 497f668a08..080f9893a4 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -36,7 +36,7 @@ jobs: name: autobuild-action permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml index 4ee53ef132..3ccdecda5f 100644 --- a/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml +++ b/.github/workflows/__autobuild-direct-tracing-with-working-dir.yml @@ -38,7 +38,7 @@ jobs: name: Autobuild direct tracing (custom working directory) permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__autobuild-direct-tracing.yml b/.github/workflows/__autobuild-direct-tracing.yml index 964f53fd6b..90084856f6 100644 --- a/.github/workflows/__autobuild-direct-tracing.yml +++ b/.github/workflows/__autobuild-direct-tracing.yml @@ -38,7 +38,7 @@ jobs: name: Autobuild direct tracing permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__build-mode-autobuild.yml b/.github/workflows/__build-mode-autobuild.yml index 3c934442c6..5219e619ca 100644 --- a/.github/workflows/__build-mode-autobuild.yml +++ b/.github/workflows/__build-mode-autobuild.yml @@ -32,7 +32,7 @@ jobs: name: Build mode autobuild permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__build-mode-manual.yml b/.github/workflows/__build-mode-manual.yml index 74252c9966..cae260261f 100644 --- a/.github/workflows/__build-mode-manual.yml +++ b/.github/workflows/__build-mode-manual.yml @@ -32,7 +32,7 @@ jobs: name: Build mode manual permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__build-mode-none.yml b/.github/workflows/__build-mode-none.yml index a9ce123f97..f2cccc577a 100644 --- a/.github/workflows/__build-mode-none.yml +++ b/.github/workflows/__build-mode-none.yml @@ -34,7 +34,7 @@ jobs: name: Build mode none permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__build-mode-rollback.yml b/.github/workflows/__build-mode-rollback.yml index 5457a02d59..3573aff7eb 100644 --- a/.github/workflows/__build-mode-rollback.yml +++ b/.github/workflows/__build-mode-rollback.yml @@ -32,7 +32,7 @@ jobs: name: Build mode rollback permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__cleanup-db-cluster-dir.yml b/.github/workflows/__cleanup-db-cluster-dir.yml index b6abe761a8..1c1afd1fa9 100644 --- a/.github/workflows/__cleanup-db-cluster-dir.yml +++ b/.github/workflows/__cleanup-db-cluster-dir.yml @@ -32,7 +32,7 @@ jobs: name: Clean up database cluster directory permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index 76b7b9037d..536060cc45 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -42,7 +42,7 @@ jobs: name: Config export permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__config-input.yml b/.github/workflows/__config-input.yml index 1b419aee7b..6afbf58d75 100644 --- a/.github/workflows/__config-input.yml +++ b/.github/workflows/__config-input.yml @@ -32,7 +32,7 @@ jobs: name: Config input permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml index 17aa07c8bc..11668c95b0 100644 --- a/.github/workflows/__cpp-deptrace-disabled.yml +++ b/.github/workflows/__cpp-deptrace-disabled.yml @@ -36,7 +36,7 @@ jobs: name: 'C/C++: disabling autoinstalling dependencies (Linux)' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml index 60997a9172..d2e417161e 100644 --- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml +++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml @@ -32,7 +32,7 @@ jobs: name: 'C/C++: autoinstalling dependencies is skipped (macOS)' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml index ce9087f095..87c665b5b8 100644 --- a/.github/workflows/__cpp-deptrace-enabled.yml +++ b/.github/workflows/__cpp-deptrace-enabled.yml @@ -36,7 +36,7 @@ jobs: name: 'C/C++: autoinstalling dependencies (Linux)' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index 53014cf36c..1137339478 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -42,7 +42,7 @@ jobs: name: Diagnostic export permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index e6e38ef8a9..2f48ad4c5c 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -36,7 +36,7 @@ jobs: name: Export file baseline information permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__extract-direct-to-toolcache.yml b/.github/workflows/__extract-direct-to-toolcache.yml index 32727c997b..34023f7054 100644 --- a/.github/workflows/__extract-direct-to-toolcache.yml +++ b/.github/workflows/__extract-direct-to-toolcache.yml @@ -36,7 +36,7 @@ jobs: name: Extract directly to toolcache permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index 1c38060832..fd2cfd9e88 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -32,7 +32,7 @@ jobs: name: Extractor ram and threads options test permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index 927b2b88b6..5459ab3f05 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -34,7 +34,7 @@ jobs: name: 'Go: Custom queries' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml index 27f1ac7eb7..7136d70ce8 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml @@ -32,7 +32,7 @@ jobs: name: 'Go: diagnostic when Go is changed after init step' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml index 471fc64978..341f4f70af 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml @@ -32,7 +32,7 @@ jobs: name: 'Go: diagnostic when `file` is not installed' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml index 62459c3eb6..24c95104db 100644 --- a/.github/workflows/__go-indirect-tracing-workaround.yml +++ b/.github/workflows/__go-indirect-tracing-workaround.yml @@ -32,7 +32,7 @@ jobs: name: 'Go: workaround for indirect tracing' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index 20caf17005..4e3b485ab7 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -62,7 +62,7 @@ jobs: name: 'Go: tracing with autobuilder step' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index f5dc2333b7..340f6e8758 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -62,7 +62,7 @@ jobs: name: 'Go: tracing with custom build steps' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index 4baab11718..3af8b1e3a7 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -62,7 +62,7 @@ jobs: name: 'Go: tracing with legacy workflow' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index 04d93978ee..ba2ccd1b5d 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -36,7 +36,7 @@ jobs: name: Custom source root permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__job-run-uuid-sarif.yml b/.github/workflows/__job-run-uuid-sarif.yml index 40ff0cb741..1529a72346 100644 --- a/.github/workflows/__job-run-uuid-sarif.yml +++ b/.github/workflows/__job-run-uuid-sarif.yml @@ -32,7 +32,7 @@ jobs: name: Job run UUID added to SARIF permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml index a7db4bdf66..0a77e4154c 100644 --- a/.github/workflows/__language-aliases.yml +++ b/.github/workflows/__language-aliases.yml @@ -32,7 +32,7 @@ jobs: name: Language aliases permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 1bab334dcf..5d9cc99749 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -62,7 +62,7 @@ jobs: name: Multi-language repository permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index 15aeeb4171..bb54bc83a7 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -48,7 +48,7 @@ jobs: name: 'Packaging: Config and input passed to the CLI' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index e68085be0c..125ca7a7de 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -48,7 +48,7 @@ jobs: name: 'Packaging: Config and input' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index dea5d8eae3..db3e9b7ed5 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -48,7 +48,7 @@ jobs: name: 'Packaging: Config file' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index cbb91f90dc..c5f4bdc355 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -48,7 +48,7 @@ jobs: name: 'Packaging: Action input' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index 198fdde921..a615c66ad3 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -34,7 +34,7 @@ jobs: name: Remote config file permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 2c6380323d..632e71e65c 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -48,7 +48,7 @@ jobs: name: Resolve environment permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index 16a6c958d9..dca3140bd5 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -32,7 +32,7 @@ jobs: name: RuboCop multi-language permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index 441b51981c..ff9769c01a 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -42,7 +42,7 @@ jobs: name: Ruby analysis permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index ea72bde861..c1e0058c16 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -42,7 +42,7 @@ jobs: name: Split workflow permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__start-proxy.yml b/.github/workflows/__start-proxy.yml index e66da8bfd9..f2e9b64600 100644 --- a/.github/workflows/__start-proxy.yml +++ b/.github/workflows/__start-proxy.yml @@ -36,7 +36,7 @@ jobs: name: Start proxy permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index 1f4300d630..4c37ac0ab4 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -36,7 +36,8 @@ jobs: name: Submit SARIF after failure permissions: contents: read - security-events: write + security-events: write # needed to upload the SARIF file + timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__swift-autobuild.yml b/.github/workflows/__swift-autobuild.yml index 9c17dda79c..7be7c0b339 100644 --- a/.github/workflows/__swift-autobuild.yml +++ b/.github/workflows/__swift-autobuild.yml @@ -32,7 +32,7 @@ jobs: name: Swift analysis using autobuild permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index ae3d802250..1e6009c66c 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -36,7 +36,7 @@ jobs: name: Swift analysis using a custom build command permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index 144ca2173d..52fd8c1ab9 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -32,7 +32,7 @@ jobs: name: Autobuild working directory permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index 27792efce0..c14d9543aa 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -32,7 +32,7 @@ jobs: name: Local CodeQL bundle permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index 1b2bb68117..f542d4d4d4 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -34,7 +34,7 @@ jobs: name: Proxy test permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 3a21054876..82ac0e60b9 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -34,7 +34,7 @@ jobs: name: Test unsetting environment variables permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 7483a83621..a1a5ad4b89 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -36,7 +36,7 @@ jobs: name: "Upload-sarif: 'ref' and 'sha' from inputs" permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index d054ca0cef..524f965175 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -36,7 +36,7 @@ jobs: name: Use a custom `checkout_path` permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__zstd-bundle-streaming.yml b/.github/workflows/__zstd-bundle-streaming.yml index e6fad57086..0a5b39d09c 100644 --- a/.github/workflows/__zstd-bundle-streaming.yml +++ b/.github/workflows/__zstd-bundle-streaming.yml @@ -34,7 +34,7 @@ jobs: name: Zstandard bundle (streaming) permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index f45268af84..a8065cb977 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -36,7 +36,7 @@ jobs: name: Zstandard bundle permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0703ff3676..130ef58839 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: versions: ${{ steps.compare.outputs.versions }} permissions: - security-events: write + contents: read steps: - uses: actions/checkout@v4 @@ -80,7 +80,8 @@ jobs: runs-on: ${{ matrix.os }} permissions: - security-events: write + contents: read + security-events: write # needed to upload results steps: - name: Checkout diff --git a/.github/workflows/codescanning-config-cli.yml b/.github/workflows/codescanning-config-cli.yml index 9a059a8b16..01795943cb 100644 --- a/.github/workflows/codescanning-config-cli.yml +++ b/.github/workflows/codescanning-config-cli.yml @@ -26,7 +26,7 @@ jobs: permissions: contents: read packages: read - security-events: write + security-events: read strategy: fail-fast: false diff --git a/.github/workflows/expected-queries-runs.yml b/.github/workflows/expected-queries-runs.yml index e76c8920d8..fd75a39a1e 100644 --- a/.github/workflows/expected-queries-runs.yml +++ b/.github/workflows/expected-queries-runs.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - security-events: write + security-events: read steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 676fa65d1d..18ff782489 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 45 permissions: contents: read - security-events: write + security-events: write # needed to upload ESLint results strategy: fail-fast: false diff --git a/.github/workflows/test-codeql-bundle-all.yml b/.github/workflows/test-codeql-bundle-all.yml index 2524f58e48..4d08c2117c 100644 --- a/.github/workflows/test-codeql-bundle-all.yml +++ b/.github/workflows/test-codeql-bundle-all.yml @@ -27,7 +27,7 @@ jobs: name: 'CodeQL Bundle All' permissions: contents: read - security-events: write + security-events: read timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: diff --git a/pr-checks/checks/submit-sarif-failure.yml b/pr-checks/checks/submit-sarif-failure.yml index 7dd5ac76ba..0700428853 100644 --- a/pr-checks/checks/submit-sarif-failure.yml +++ b/pr-checks/checks/submit-sarif-failure.yml @@ -14,6 +14,10 @@ env: # Mark telemetry for this workflow so it can be treated separately. CODEQL_ACTION_TESTING_ENVIRONMENT: codeql-action-pr-checks +permissions: + contents: read + security-events: write # needed to upload the SARIF file + steps: - uses: actions/checkout@v4 - uses: ./init diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 13ee591af9..f27dbdd8f3 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -126,7 +126,7 @@ def writeHeader(checkStream): 'name': checkSpecification['name'], 'permissions': { 'contents': 'read', - 'security-events': 'write' + 'security-events': 'read' }, 'timeout-minutes': 45, 'runs-on': '${{ matrix.os }}', From 064af10f0de41995b41632364b4bfb00a34df047 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:11:52 +0000 Subject: [PATCH 080/132] Update changelog for v3.28.5 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17e6153c4a..7e5ebdb6c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.5 - 24 Jan 2025 - Update default CodeQL bundle version to 2.20.3. [#2717](https://github.com/github/codeql-action/pull/2717) From da67fa0eb55709cdff9a52de07eef154d7dc3912 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:34:16 +0000 Subject: [PATCH 081/132] Update changelog and version after v3.28.5 --- 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 7e5ebdb6c7..e625431df5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.5 - 24 Jan 2025 - Update default CodeQL bundle version to 2.20.3. [#2717](https://github.com/github/codeql-action/pull/2717) diff --git a/package-lock.json b/package-lock.json index e4b0c119d5..992918b2e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.5", + "version": "3.28.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.5", + "version": "3.28.6", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index 77400ece0c..8c5683efae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.5", + "version": "3.28.6", "private": true, "description": "CodeQL action", "scripts": { From 336c69eec09e21477803471875d7756db0f6dc7a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:37:53 +0000 Subject: [PATCH 082/132] 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 06f2758975..e62366786b 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.5", + "version": "3.28.6", "lockfileVersion": 3, "requires": true, "packages": { From 51bb5eb99a7eb64056206a5edceb92d66140d5a7 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Fri, 24 Jan 2025 16:22:28 +0000 Subject: [PATCH 083/132] Fix bug in getCredentials + tests --- lib/start-proxy-action.js | 64 +------------------------- lib/start-proxy-action.js.map | 2 +- lib/start-proxy.js | 62 ++++++++++++++++++++++++++ lib/start-proxy.js.map | 1 + lib/start-proxy.test.js | 81 +++++++++++++++++++++++++++++++++ lib/start-proxy.test.js.map | 1 + src/start-proxy-action.ts | 84 +++-------------------------------- src/start-proxy.test.ts | 82 ++++++++++++++++++++++++++++++++++ src/start-proxy.ts | 77 ++++++++++++++++++++++++++++++++ 9 files changed, 314 insertions(+), 140 deletions(-) create mode 100644 lib/start-proxy.js create mode 100644 lib/start-proxy.js.map create mode 100644 lib/start-proxy.test.js create mode 100644 lib/start-proxy.test.js.map create mode 100644 src/start-proxy.test.ts create mode 100644 src/start-proxy.ts diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 6a2030ea9d..deb61dc07c 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -39,8 +39,8 @@ const core = __importStar(require("@actions/core")); const toolcache = __importStar(require("@actions/tool-cache")); const node_forge_1 = require("node-forge"); const actionsUtil = __importStar(require("./actions-util")); -const languages_1 = require("./languages"); const logging_1 = require("./logging"); +const start_proxy_1 = require("./start-proxy"); const util = __importStar(require("./util")); const UPDATEJOB_PROXY = "update-job-proxy"; const UPDATEJOB_PROXY_VERSION = "v2.0.20241023203727"; @@ -48,19 +48,6 @@ const UPDATEJOB_PROXY_URL_PREFIX = "https://github.com/github/codeql-action/rele const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; -const LANGUAGE_TO_REGISTRY_TYPE = { - java: "maven_repository", - csharp: "nuget_feed", - javascript: "npm_registry", - python: "python_index", - ruby: "rubygems_server", - rust: "cargo_registry", - // We do not have an established proxy type for these languages, thus leaving empty. - actions: "", - cpp: "", - go: "", - swift: "", -}; const CERT_SUBJECT = [ { name: "commonName", @@ -112,7 +99,7 @@ async function runWrapper() { const proxyLogFilePath = path.resolve(tempDir, "proxy.log"); core.saveState("proxy-log-file", proxyLogFilePath); // Get the configuration options - const credentials = getCredentials(logger); + const credentials = (0, start_proxy_1.getCredentials)(logger, actionsUtil.getOptionalInput("registry_secrets"), actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language")); logger.info(`Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) .join("\n")}`); @@ -178,53 +165,6 @@ async function startProxy(binPath, config, logFilePath, logger) { core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`); } } -// getCredentials returns registry credentials from action inputs. -// It prefers `registries_credentials` over `registry_secrets`. -// If neither is set, it returns an empty array. -function getCredentials(logger) { - const registriesCredentials = actionsUtil.getOptionalInput("registries_credentials"); - const registrySecrets = actionsUtil.getOptionalInput("registry_secrets"); - const languageString = actionsUtil.getOptionalInput("language"); - const language = languageString ? (0, languages_1.parseLanguage)(languageString) : undefined; - const registryTypeForLanguage = language - ? LANGUAGE_TO_REGISTRY_TYPE[language] - : undefined; - let credentialsStr; - if (registriesCredentials !== undefined) { - logger.info(`Using registries_credentials input.`); - credentialsStr = Buffer.from(registriesCredentials, "base64").toString(); - } - else if (registrySecrets !== undefined) { - logger.info(`Using registry_secrets input.`); - credentialsStr = registrySecrets; - } - else { - logger.info(`No credentials defined.`); - return []; - } - // Parse and validate the credentials - const parsed = JSON.parse(credentialsStr); - const out = []; - for (const e of parsed) { - if (e.url === undefined && e.host === undefined) { - throw new Error("Invalid credentials - must specify host or url"); - } - // Filter credentials based on language if specified. `type` is the registry type. - // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. - if (e.type !== registryTypeForLanguage) { - continue; - } - out.push({ - type: e.type, - host: e.host, - url: e.url, - username: e.username, - password: e.password, - token: e.token, - }); - } - return out; -} // getProxyAuth returns the authentication information for the proxy itself. function getProxyAuth() { const proxy_password = actionsUtil.getOptionalInput("proxy_password"); diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index 5e4bbc8f79..c58df44d37 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,2CAAsD;AACtD,uCAAqD;AACrD,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,cAAc;IAC1B,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,gBAAgB;IACtB,oFAAoF;IACpF,OAAO,EAAE,EAAE;IACX,GAAG,EAAE,EAAE;IACP,EAAE,EAAE,EAAE;IACN,KAAK,EAAE,EAAE;CACD,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QAAQ,GAAG,MAAM,SAAS,CAAC,QAAQ,CACjC,SAAS,EACT,aAAa,EACb,uBAAuB,CACxB,CAAC;IACJ,CAAC;IACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,eAAe,CAAC,CAAa;IACpC,OAAO,SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,+CAA2D;AAC3D,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAkB3B,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ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strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getCredentials = getCredentials; +const languages_1 = require("./languages"); +const LANGUAGE_TO_REGISTRY_TYPE = { + java: "maven_repository", + csharp: "nuget_feed", + javascript: "npm_registry", + python: "python_index", + ruby: "rubygems_server", + rust: "cargo_registry", + // We do not have an established proxy type for these languages, thus leaving empty. + actions: "", + cpp: "", + go: "", + swift: "", +}; +// getCredentials returns registry credentials from action inputs. +// It prefers `registries_credentials` over `registry_secrets`. +// If neither is set, it returns an empty array. +function getCredentials(logger, registrySecrets, registriesCredentials, languageString) { + const language = languageString ? (0, languages_1.parseLanguage)(languageString) : undefined; + const registryTypeForLanguage = language + ? LANGUAGE_TO_REGISTRY_TYPE[language] + : undefined; + let credentialsStr; + if (registriesCredentials !== undefined) { + logger.info(`Using registries_credentials input.`); + credentialsStr = Buffer.from(registriesCredentials, "base64").toString(); + } + else if (registrySecrets !== undefined) { + logger.info(`Using registry_secrets input.`); + credentialsStr = registrySecrets; + } + else { + logger.info(`No credentials defined.`); + return []; + } + // Parse and validate the credentials + const parsed = JSON.parse(credentialsStr); + const out = []; + for (const e of parsed) { + if (e.url === undefined && e.host === undefined) { + throw new Error("Invalid credentials - must specify host or url"); + } + // Filter credentials based on language if specified. `type` is the registry type. + // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. + if (registryTypeForLanguage && e.type !== registryTypeForLanguage) { + continue; + } + out.push({ + type: e.type, + host: e.host, + url: e.url, + username: e.username, + password: e.password, + token: e.token, + }); + } + return out; +} +//# sourceMappingURL=start-proxy.js.map \ No newline at end of file diff --git a/lib/start-proxy.js.map b/lib/start-proxy.js.map new file mode 100644 index 0000000000..709abd3ffc --- /dev/null +++ b/lib/start-proxy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"start-proxy.js","sourceRoot":"","sources":["../src/start-proxy.ts"],"names":[],"mappings":";;AA6BA,wCA+CC;AA5ED,2CAAsD;AAYtD,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,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B,IAAI,CAAC,CAAC,GAAG,KAAK,SAAS,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;QACpE,CAAC;QAED,kFAAkF;QAClF,iEAAiE;QACjE,IAAI,uBAAuB,IAAI,CAAC,CAAC,IAAI,KAAK,uBAAuB,EAAE,CAAC;YAClE,SAAS;QACX,CAAC;QAED,GAAG,CAAC,IAAI,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,GAAG,EAAE,CAAC,CAAC,GAAG;YACV,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,KAAK,EAAE,CAAC,CAAC,KAAK;SACf,CAAC,CAAC;IACL,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/lib/start-proxy.test.js b/lib/start-proxy.test.js new file mode 100644 index 0000000000..d22b2c40aa --- /dev/null +++ b/lib/start-proxy.test.js @@ -0,0 +1,81 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (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 () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __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 }); +const ava_1 = __importDefault(require("ava")); +const logging_1 = require("./logging"); +const startProxyExports = __importStar(require("./start-proxy")); +const testing_utils_1 = require("./testing-utils"); +(0, testing_utils_1.setupTests)(ava_1.default); +(0, ava_1.default)("getCredentials prefers registriesCredentials over registrySecrets", async (t) => { + const registryCredentials = Buffer.from(JSON.stringify([ + { type: "npm_registry", host: "npm.pkg.github.com", token: "abc" }, + ])).toString("base64"); + const registrySecrets = JSON.stringify([ + { type: "npm_registry", host: "registry.npmjs.org", token: "def" }, + ]); + const credentials = startProxyExports.getCredentials((0, logging_1.getRunnerLogger)(true), registrySecrets, registryCredentials, undefined); + t.is(credentials.length, 1); + t.is(credentials[0].host, "npm.pkg.github.com"); +}); +(0, ava_1.default)("getCredentials throws error when credential missing host and url", async (t) => { + const registryCredentials = Buffer.from(JSON.stringify([{ type: "npm_registry", token: "abc" }])).toString("base64"); + t.throws(() => startProxyExports.getCredentials((0, logging_1.getRunnerLogger)(true), undefined, registryCredentials, undefined), { + message: "Invalid credentials - must specify host or url", + }); +}); +(0, ava_1.default)("getCredentials filters by language when specified", async (t) => { + const mixedCredentials = [ + { type: "npm_registry", host: "npm.pkg.github.com", token: "abc" }, + { type: "maven_repository", host: "maven.pkg.github.com", token: "def" }, + { type: "nuget_feed", host: "nuget.pkg.github.com", token: "ghi" }, + ]; + const credentials = startProxyExports.getCredentials((0, logging_1.getRunnerLogger)(true), undefined, Buffer.from(JSON.stringify(mixedCredentials)).toString("base64"), "java"); + t.is(credentials.length, 1); + t.is(credentials[0].type, "maven_repository"); +}); +(0, ava_1.default)("getCredentials returns all credentials when no language specified", async (t) => { + const mixedCredentials = [ + { type: "npm_registry", host: "npm.pkg.github.com", token: "abc" }, + { type: "maven_repository", host: "maven.pkg.github.com", token: "def" }, + { type: "nuget_feed", host: "nuget.pkg.github.com", token: "ghi" }, + ]; + const credentialsInput = Buffer.from(JSON.stringify(mixedCredentials)).toString("base64"); + const credentials = startProxyExports.getCredentials((0, logging_1.getRunnerLogger)(true), undefined, credentialsInput, undefined); + t.is(credentials.length, 3); +}); +//# sourceMappingURL=start-proxy.test.js.map \ No newline at end of file diff --git a/lib/start-proxy.test.js.map b/lib/start-proxy.test.js.map new file mode 100644 index 0000000000..99fa2afe78 --- /dev/null +++ b/lib/start-proxy.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"start-proxy.test.js","sourceRoot":"","sources":["../src/start-proxy.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,uCAA4C;AAC5C,iEAAmD;AACnD,mDAA6C;AAE7C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,mEAAmE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACpF,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CACrC,IAAI,CAAC,SAAS,CAAC;QACb,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CACH,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACrB,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC;QACrC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,iBAAiB,CAAC,cAAc,CAClD,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,eAAe,EACf,mBAAmB,EACnB,S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,CAAC,QAAQ,CAAC,EAChE,MAAM,CACP,CAAC;IACF,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC5B,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,mEAAmE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACpF,MAAM,gBAAgB,GAAG;QACvB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;QAClE,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,KAAK,EAAE;QACxE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC;IACF,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAClC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,CACjC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAErB,MAAM,WAAW,GAAG,iBAAiB,CAAC,cAAc,CAClD,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,SAAS,EACT,gBAAgB,EAChB,SAAS,CACV,CAAC;IACF,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAC9B,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 0cbfcf7173..013b237bad 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -6,8 +6,8 @@ import * as toolcache from "@actions/tool-cache"; import { pki } from "node-forge"; import * as actionsUtil from "./actions-util"; -import { Language, parseLanguage } from "./languages"; import { getActionsLogger, Logger } from "./logging"; +import { Credential, getCredentials } from "./start-proxy"; import * as util from "./util"; const UPDATEJOB_PROXY = "update-job-proxy"; @@ -18,34 +18,11 @@ const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; -const LANGUAGE_TO_REGISTRY_TYPE: Record = { - java: "maven_repository", - csharp: "nuget_feed", - javascript: "npm_registry", - python: "python_index", - ruby: "rubygems_server", - rust: "cargo_registry", - // We do not have an established proxy type for these languages, thus leaving empty. - actions: "", - cpp: "", - go: "", - swift: "", -} as const; - type CertificateAuthority = { cert: string; key: string; }; -type Credential = { - type: string; - host?: string; - url?: string; - username?: string; - password?: string; - token?: string; -}; - type BasicAuthCredentials = { username: string; password: string; @@ -117,7 +94,12 @@ async function runWrapper() { core.saveState("proxy-log-file", proxyLogFilePath); // Get the configuration options - const credentials = getCredentials(logger); + const credentials = getCredentials( + logger, + actionsUtil.getOptionalInput("registry_secrets"), + actionsUtil.getOptionalInput("registries_credentials"), + actionsUtil.getOptionalInput("language"), + ); logger.info( `Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) @@ -199,58 +181,6 @@ async function startProxy( } } -// getCredentials returns registry credentials from action inputs. -// It prefers `registries_credentials` over `registry_secrets`. -// If neither is set, it returns an empty array. -function getCredentials(logger: Logger): Credential[] { - const registriesCredentials = actionsUtil.getOptionalInput( - "registries_credentials", - ); - const registrySecrets = actionsUtil.getOptionalInput("registry_secrets"); - const languageString = actionsUtil.getOptionalInput("language"); - const language = languageString ? parseLanguage(languageString) : undefined; - const registryTypeForLanguage = language - ? LANGUAGE_TO_REGISTRY_TYPE[language] - : undefined; - - let credentialsStr: string; - if (registriesCredentials !== undefined) { - logger.info(`Using registries_credentials input.`); - credentialsStr = Buffer.from(registriesCredentials, "base64").toString(); - } else if (registrySecrets !== undefined) { - logger.info(`Using registry_secrets input.`); - credentialsStr = registrySecrets; - } else { - logger.info(`No credentials defined.`); - return []; - } - - // Parse and validate the credentials - const parsed = JSON.parse(credentialsStr) as Credential[]; - const out: Credential[] = []; - for (const e of parsed) { - if (e.url === undefined && e.host === undefined) { - throw new Error("Invalid credentials - must specify host or url"); - } - - // Filter credentials based on language if specified. `type` is the registry type. - // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. - if (e.type !== registryTypeForLanguage) { - continue; - } - - out.push({ - type: e.type, - host: e.host, - url: e.url, - username: e.username, - password: e.password, - token: e.token, - }); - } - return out; -} - // getProxyAuth returns the authentication information for the proxy itself. function getProxyAuth(): BasicAuthCredentials | undefined { const proxy_password = actionsUtil.getOptionalInput("proxy_password"); diff --git a/src/start-proxy.test.ts b/src/start-proxy.test.ts new file mode 100644 index 0000000000..d8325ba922 --- /dev/null +++ b/src/start-proxy.test.ts @@ -0,0 +1,82 @@ +import test from "ava"; + +import { getRunnerLogger } from "./logging"; +import * as startProxyExports from "./start-proxy"; +import { setupTests } from "./testing-utils"; + +setupTests(test); + +test("getCredentials prefers registriesCredentials over registrySecrets", async (t) => { + const registryCredentials = Buffer.from( + JSON.stringify([ + { type: "npm_registry", host: "npm.pkg.github.com", token: "abc" }, + ]), + ).toString("base64"); + const registrySecrets = JSON.stringify([ + { type: "npm_registry", host: "registry.npmjs.org", token: "def" }, + ]); + + const credentials = startProxyExports.getCredentials( + getRunnerLogger(true), + registrySecrets, + registryCredentials, + undefined, + ); + t.is(credentials.length, 1); + t.is(credentials[0].host, "npm.pkg.github.com"); +}); + +test("getCredentials throws error when credential missing host and url", async (t) => { + const registryCredentials = Buffer.from( + JSON.stringify([{ type: "npm_registry", token: "abc" }]), + ).toString("base64"); + + t.throws( + () => + startProxyExports.getCredentials( + getRunnerLogger(true), + undefined, + registryCredentials, + undefined, + ), + { + message: "Invalid credentials - must specify host or url", + }, + ); +}); + +test("getCredentials filters by language when specified", async (t) => { + const mixedCredentials = [ + { type: "npm_registry", host: "npm.pkg.github.com", token: "abc" }, + { type: "maven_repository", host: "maven.pkg.github.com", token: "def" }, + { type: "nuget_feed", host: "nuget.pkg.github.com", token: "ghi" }, + ]; + + const credentials = startProxyExports.getCredentials( + getRunnerLogger(true), + undefined, + Buffer.from(JSON.stringify(mixedCredentials)).toString("base64"), + "java", + ); + t.is(credentials.length, 1); + t.is(credentials[0].type, "maven_repository"); +}); + +test("getCredentials returns all credentials when no language specified", async (t) => { + const mixedCredentials = [ + { type: "npm_registry", host: "npm.pkg.github.com", token: "abc" }, + { type: "maven_repository", host: "maven.pkg.github.com", token: "def" }, + { type: "nuget_feed", host: "nuget.pkg.github.com", token: "ghi" }, + ]; + const credentialsInput = Buffer.from( + JSON.stringify(mixedCredentials), + ).toString("base64"); + + const credentials = startProxyExports.getCredentials( + getRunnerLogger(true), + undefined, + credentialsInput, + undefined, + ); + t.is(credentials.length, 3); +}); diff --git a/src/start-proxy.ts b/src/start-proxy.ts new file mode 100644 index 0000000000..9b1cf7fc74 --- /dev/null +++ b/src/start-proxy.ts @@ -0,0 +1,77 @@ +import { parseLanguage, Language } from "./languages"; +import { Logger } from "./logging"; + +export type Credential = { + type: string; + host?: string; + url?: string; + username?: string; + password?: string; + token?: string; +}; + +const LANGUAGE_TO_REGISTRY_TYPE: Record = { + java: "maven_repository", + csharp: "nuget_feed", + javascript: "npm_registry", + python: "python_index", + ruby: "rubygems_server", + rust: "cargo_registry", + // We do not have an established proxy type for these languages, thus leaving empty. + actions: "", + cpp: "", + go: "", + swift: "", +} as const; + +// getCredentials returns registry credentials from action inputs. +// It prefers `registries_credentials` over `registry_secrets`. +// If neither is set, it returns an empty array. +export function getCredentials( + logger: Logger, + registrySecrets: string | undefined, + registriesCredentials: string | undefined, + languageString: string | undefined, +): Credential[] { + const language = languageString ? parseLanguage(languageString) : undefined; + const registryTypeForLanguage = language + ? LANGUAGE_TO_REGISTRY_TYPE[language] + : undefined; + + let credentialsStr: string; + if (registriesCredentials !== undefined) { + logger.info(`Using registries_credentials input.`); + credentialsStr = Buffer.from(registriesCredentials, "base64").toString(); + } else if (registrySecrets !== undefined) { + logger.info(`Using registry_secrets input.`); + credentialsStr = registrySecrets; + } else { + logger.info(`No credentials defined.`); + return []; + } + + // Parse and validate the credentials + const parsed = JSON.parse(credentialsStr) as Credential[]; + const out: Credential[] = []; + for (const e of parsed) { + if (e.url === undefined && e.host === undefined) { + throw new Error("Invalid credentials - must specify host or url"); + } + + // Filter credentials based on language if specified. `type` is the registry type. + // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. + if (registryTypeForLanguage && e.type !== registryTypeForLanguage) { + continue; + } + + out.push({ + type: e.type, + host: e.host, + url: e.url, + username: e.username, + password: e.password, + token: e.token, + }); + } + return out; +} From ecf723239a1657b76e82334f127251db7db19113 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Fri, 24 Jan 2025 20:20:10 +0000 Subject: [PATCH 084/132] Sanitize inputs --- lib/start-proxy.js | 19 +++++++++++++++++-- lib/start-proxy.js.map | 2 +- lib/start-proxy.test.js | 14 ++++++++++++++ lib/start-proxy.test.js.map | 2 +- src/start-proxy.test.ts | 28 ++++++++++++++++++++++++++++ src/start-proxy.ts | 22 ++++++++++++++++++++-- 6 files changed, 81 insertions(+), 6 deletions(-) diff --git a/lib/start-proxy.js b/lib/start-proxy.js index a5f0e6e93e..d3ab5222d0 100644 --- a/lib/start-proxy.js +++ b/lib/start-proxy.js @@ -37,10 +37,19 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language return []; } // Parse and validate the credentials - const parsed = JSON.parse(credentialsStr); - const out = []; + let parsed; + try { + parsed = JSON.parse(credentialsStr); + } + catch (error) { + // Don't log the error since it might contain sensitive information. + logger.error("Failed to parse the credentials data."); + throw new Error("Invalid credentials format."); + } + let out = []; for (const e of parsed) { if (e.url === undefined && e.host === undefined) { + // The proxy needs one of these to work. If both are defined, the url has the precedence. throw new Error("Invalid credentials - must specify host or url"); } // Filter credentials based on language if specified. `type` is the registry type. @@ -48,6 +57,12 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language if (registryTypeForLanguage && e.type !== registryTypeForLanguage) { continue; } + const isPrintable = (str) => { + return str ? /^[\x20-\x7E]*$/.test(str) : true; + }; + if (!isPrintable(e.type) || !isPrintable(e.host) || !isPrintable(e.url) || !isPrintable(e.username) || !isPrintable(e.password) || !isPrintable(e.token)) { + throw new Error("Invalid credentials - fields must contain only printable characters"); + } out.push({ type: e.type, host: e.host, diff --git a/lib/start-proxy.js.map b/lib/start-proxy.js.map index 709abd3ffc..f28ca0e98a 100644 --- a/lib/start-proxy.js.map +++ b/lib/start-proxy.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy.js","sourceRoot":"","sources":["../src/start-proxy.ts"],"names":[],"mappings":";;AA6BA,wCA+CC;AA5ED,2CAAsD;AAYtD,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,cAAc;IAC1B,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,gBAAgB;IACtB,oFAAoF;IACpF,OAAO,EAAE,EAAE;IACX,GAAG,EAAE,EAAE;IACP,EAAE,EAAE,EAAE;IACN,KAAK,EAAE,EAAE;CACD,CAAC;AAEX,kEAAkE;AAClE,+DAA+D;AAC/D,gDAAgD;AAChD,SAAgB,cAAc,CAC5B,MAAc,EACd,eAAmC,EACnC,qBAAyC,EACzC,cAAkC;IAElC,MAAM,QAAQ,GAAG,cAAc,CAAC,CAAC,CAAC,IAAA,yBAAa,EAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,MAAM,uBAAuB,GAAG,QAAQ;QACtC,CAAC,CAAC,yBAAyB,CAAC,QAAQ,CAAC;QACrC,CAAC,CAAC,SAAS,CAAC;IAEd,IAAI,cAAsB,CAAC;IAC3B,IAAI,qBAAqB,KAAK,SAAS,EAAE,CAAC;QACxC,MAAM,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;QACnD,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,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L,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/lib/start-proxy.test.js b/lib/start-proxy.test.js index d22b2c40aa..837934cd68 100644 --- a/lib/start-proxy.test.js +++ b/lib/start-proxy.test.js @@ -78,4 +78,18 @@ const testing_utils_1 = require("./testing-utils"); const credentials = startProxyExports.getCredentials((0, logging_1.getRunnerLogger)(true), undefined, credentialsInput, undefined); t.is(credentials.length, 3); }); +(0, ava_1.default)("getCredentials throws an error when non-printable characters are used", async (t) => { + const invalidCredentials = [ + { type: "nuget_feed", host: "1nuget.pkg.github.com", token: "abc\u0000" }, // Non-printable character in token + { type: "nuget_feed", host: "2nuget.pkg.github.com\u0001" }, // Non-printable character in host + { type: "nuget_feed", host: "3nuget.pkg.github.com", password: "ghi\u0002" }, // Non-printable character in password + { type: "nuget_feed", host: "4nuget.pkg.github.com", password: "ghi\x00" }, // Non-printable character in password + ]; + for (const invalidCredential of invalidCredentials) { + const credentialsInput = Buffer.from(JSON.stringify([invalidCredential])).toString("base64"); + t.throws(() => startProxyExports.getCredentials((0, logging_1.getRunnerLogger)(true), undefined, credentialsInput, undefined), { + message: "Invalid credentials - fields must contain only printable characters", + }); + } +}); //# sourceMappingURL=start-proxy.test.js.map \ No newline at end of file diff --git a/lib/start-proxy.test.js.map b/lib/start-proxy.test.js.map index 99fa2afe78..374b912ded 100644 --- a/lib/start-proxy.test.js.map +++ b/lib/start-proxy.test.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy.test.js","sourceRoot":"","sources":["../src/start-proxy.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,uCAA4C;AAC5C,iEAAmD;AACnD,mDAA6C;AAE7C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,mEAAmE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACpF,MAAM,mBAAmB,GAAG,MAA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AClD,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,SAAS,EACT,gBAAgB,EAChB,SAAS,CACV,CAAC;IACF,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAC9B,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"start-proxy.test.js","sourceRoot":"","sources":["../src/start-proxy.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,uCAA4C;AAC5C,iEAAmD;AACnD,mDAA6C;AAE7C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,mEAAmE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACpF,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CACrC,IAAI,CAAC,SAAS,CAAC;QACb,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CACH,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACrB,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC;QACrC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,iBAAiB,CAAC,cAAc,CAClD,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,eAAe,EACf,mBAAmB,EACnB,SAAS,CACV,CAAC;IACF,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC5B,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,kEAAkE,EAAE,KAAK,EAAE,CAAC,EAAE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,CAAC;QACnD,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAClC,IAAI,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAC,CACpC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAErB,CAAC,CAAC,MAAM,CACN,GAAG,EAAE,CACH,iBAAiB,CAAC,cAAc,CAC9B,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,SAAS,EACT,gBAAgB,EAChB,SAAS,CACV,EACH;YACE,OAAO,EAAE,qEAAqE;SAC/E,CACF,CAAC;IACJ,CAAC;AACH,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/start-proxy.test.ts b/src/start-proxy.test.ts index d8325ba922..1987f329af 100644 --- a/src/start-proxy.test.ts +++ b/src/start-proxy.test.ts @@ -80,3 +80,31 @@ test("getCredentials returns all credentials when no language specified", async ); t.is(credentials.length, 3); }); + +test("getCredentials throws an error when non-printable characters are used", async (t) => { + const invalidCredentials = [ + { type: "nuget_feed", host: "1nuget.pkg.github.com", token: "abc\u0000" }, // Non-printable character in token + { type: "nuget_feed", host: "2nuget.pkg.github.com\u0001" }, // Non-printable character in host + { type: "nuget_feed", host: "3nuget.pkg.github.com", password: "ghi\u0002" }, // Non-printable character in password + { type: "nuget_feed", host: "4nuget.pkg.github.com", password: "ghi\x00" }, // Non-printable character in password + ]; + + for (const invalidCredential of invalidCredentials) { + const credentialsInput = Buffer.from( + JSON.stringify([invalidCredential]), + ).toString("base64"); + + t.throws( + () => + startProxyExports.getCredentials( + getRunnerLogger(true), + undefined, + credentialsInput, + undefined, + ), + { + message: "Invalid credentials - fields must contain only printable characters", + }, + ); + } + }); diff --git a/src/start-proxy.ts b/src/start-proxy.ts index 9b1cf7fc74..9f9fcedfb5 100644 --- a/src/start-proxy.ts +++ b/src/start-proxy.ts @@ -51,10 +51,19 @@ export function getCredentials( } // Parse and validate the credentials - const parsed = JSON.parse(credentialsStr) as Credential[]; - const out: Credential[] = []; + let parsed: Credential[]; + try { + parsed = JSON.parse(credentialsStr) as Credential[]; + } catch (error) { + // Don't log the error since it might contain sensitive information. + logger.error("Failed to parse the credentials data."); + throw new Error("Invalid credentials format."); + } + + let out: Credential[] = []; for (const e of parsed) { if (e.url === undefined && e.host === undefined) { + // The proxy needs one of these to work. If both are defined, the url has the precedence. throw new Error("Invalid credentials - must specify host or url"); } @@ -64,6 +73,15 @@ export function getCredentials( continue; } + + const isPrintable = (str: string | undefined): boolean => { + return str ? /^[\x20-\x7E]*$/.test(str) : true; + }; + + if (!isPrintable(e.type) || !isPrintable(e.host) || !isPrintable(e.url) || !isPrintable(e.username) || !isPrintable(e.password) || !isPrintable(e.token)) { + throw new Error("Invalid credentials - fields must contain only printable characters"); + } + out.push({ type: e.type, host: e.host, From f6d19ed42e810d6f0b26643bb590caf6aff04ea9 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Fri, 24 Jan 2025 20:27:36 +0000 Subject: [PATCH 085/132] Formatting --- lib/start-proxy.js | 11 +++++--- lib/start-proxy.js.map | 2 +- lib/start-proxy.test.js | 6 ++++- lib/start-proxy.test.js.map | 2 +- src/start-proxy.test.ts | 53 ++++++++++++++++++++----------------- src/start-proxy.ts | 18 +++++++++---- 6 files changed, 57 insertions(+), 35 deletions(-) diff --git a/lib/start-proxy.js b/lib/start-proxy.js index d3ab5222d0..c68153d33d 100644 --- a/lib/start-proxy.js +++ b/lib/start-proxy.js @@ -41,12 +41,12 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language try { parsed = JSON.parse(credentialsStr); } - catch (error) { + catch { // Don't log the error since it might contain sensitive information. logger.error("Failed to parse the credentials data."); throw new Error("Invalid credentials format."); } - let out = []; + const out = []; for (const e of parsed) { if (e.url === undefined && e.host === undefined) { // The proxy needs one of these to work. If both are defined, the url has the precedence. @@ -60,7 +60,12 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language const isPrintable = (str) => { return str ? /^[\x20-\x7E]*$/.test(str) : true; }; - if (!isPrintable(e.type) || !isPrintable(e.host) || !isPrintable(e.url) || !isPrintable(e.username) || !isPrintable(e.password) || !isPrintable(e.token)) { + if (!isPrintable(e.type) || + !isPrintable(e.host) || + !isPrintable(e.url) || + !isPrintable(e.username) || + !isPrintable(e.password) || + !isPrintable(e.token)) { throw new Error("Invalid credentials - fields must contain only printable characters"); } out.push({ diff --git a/lib/start-proxy.js.map b/lib/start-proxy.js.map index f28ca0e98a..c50f53d9be 100644 --- a/lib/start-proxy.js.map +++ b/lib/start-proxy.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy.js","sourceRoot":"","sources":["../src/start-proxy.ts"],"names":[],"mappings":";;AA6BA,wCAiEC;AA9FD,2CAAsD;AAYtD,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,cAAc;IAC1B,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,gBAAgB;IACtB,oFAAoF;IACpF,OAAO,EAAE,EAAE;IACX,GAAG,EAAE,EAAE;IACP,EAAE,EAAE,EAAE;IACN,KAAK,EAAE,EAAE;CACD,CAAC;AAEX,kEAAkE;AAClE,+DAA+D;AAC/D,gDAAgD;AAChD,SAAgB,cAAc,CAC5B,MAAc,EACd,eAAmC,EACnC,qBAAyC,EACzC,cAAkC;IAElC,MAAM,QAAQ,GAAG,cAAc,CAAC,CAAC,CAAC,IAAA,yBAAa,EAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,MAAM,uBAAuB,GAAG,QAAQ;QACtC,CAAC,CAAC,yBAAyB,CAAC,QAAQ,CAAC;QACrC,CAAC,CAAC,SAAS,CAAC;IAEd,IAAI,cAAsB,CAAC;IAC3B,IAAI,qBAAqB,KAAK,SAAS,EAAE,CAAC;QACxC,MAAM,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;QACnD,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,qBAAq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,GAAuB,EAAW,EAAE;YACvD,OAAO,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACjD,CAAC,CAAC;QAEF,IACE,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;YACpB,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;YACpB,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC;YACnB,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;YACxB,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;YACxB,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,EACrB,CAAC;YACD,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;QACJ,CAAC;QAED,GAAG,CAAC,IAAI,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,GAAG,EAAE,CAAC,CAAC,GAAG;YACV,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,KAAK,EAAE,CAAC,CAAC,KAAK;SACf,CAAC,CAAC;IACL,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/lib/start-proxy.test.js b/lib/start-proxy.test.js index 837934cd68..b4d53aad87 100644 --- a/lib/start-proxy.test.js +++ b/lib/start-proxy.test.js @@ -82,7 +82,11 @@ const testing_utils_1 = require("./testing-utils"); const invalidCredentials = [ { type: "nuget_feed", host: "1nuget.pkg.github.com", token: "abc\u0000" }, // Non-printable character in token { type: "nuget_feed", host: "2nuget.pkg.github.com\u0001" }, // Non-printable character in host - { type: "nuget_feed", host: "3nuget.pkg.github.com", password: "ghi\u0002" }, // Non-printable character in password + { + type: "nuget_feed", + host: "3nuget.pkg.github.com", + password: "ghi\u0002", + }, // Non-printable character in password { type: "nuget_feed", host: "4nuget.pkg.github.com", password: "ghi\x00" }, // Non-printable character in password ]; for (const invalidCredential of invalidCredentials) { diff --git a/lib/start-proxy.test.js.map b/lib/start-proxy.test.js.map index 374b912ded..c9ca771a5c 100644 --- a/lib/start-proxy.test.js.map +++ b/lib/start-proxy.test.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy.test.js","sourceRoot":"","sources":["../src/start-proxy.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,uCAA4C;AAC5C,iEAAmD;AACnD,mDAA6C;AAE7C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,mEAAmE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACpF,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CACrC,IAAI,CAAC,SAAS,CAAC;QACb,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CACH,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACrB,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC;QACrC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,iBAAiB,CAAC,cAAc,CAClD,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,eAAe,EACf,mBAAmB,EACnB,SAAS,CACV,CAAC;IACF,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC5B,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,kEAAkE,EAAE,KAAK,EAAE,C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AkB,EAAE,CAAC;QACnD,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAClC,IAAI,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAC,CACpC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAErB,CAAC,CAAC,MAAM,CACN,GAAG,EAAE,CACH,iBAAiB,CAAC,cAAc,CAC9B,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,SAAS,EACT,gBAAgB,EAChB,SAAS,CACV,EACH;YACE,OAAO,EAAE,qEAAqE;SAC/E,CACF,CAAC;IACJ,CAAC;AACH,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"start-proxy.test.js","sourceRoot":"","sources":["../src/start-proxy.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,uCAA4C;AAC5C,iEAAmD;AACnD,mDAA6C;AAE7C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,mEAAmE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACpF,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CACrC,IAAI,CAAC,SAAS,CAAC;QACb,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CACH,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACrB,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC;QACrC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;KACnE,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,iBAAiB,CAAC,cAAc,CAClD,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,eAAe,EACf,mBAAmB,EACnB,SAAS,CACV,CAAC;IACF,CAAC,CAAC,EAAE,CAAC,WAAW,CAA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AuB;YAC7B,QAAQ,EAAE,WAAW;SACtB,EAAE,sCAAsC;QACzC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,sCAAsC;KACnH,CAAC;IAEF,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;QACnD,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAClC,IAAI,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAC,CACpC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAErB,CAAC,CAAC,MAAM,CACN,GAAG,EAAE,CACH,iBAAiB,CAAC,cAAc,CAC9B,IAAA,yBAAe,EAAC,IAAI,CAAC,EACrB,SAAS,EACT,gBAAgB,EAChB,SAAS,CACV,EACH;YACE,OAAO,EACL,qEAAqE;SACxE,CACF,CAAC;IACJ,CAAC;AACH,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/start-proxy.test.ts b/src/start-proxy.test.ts index 1987f329af..cb84833cc6 100644 --- a/src/start-proxy.test.ts +++ b/src/start-proxy.test.ts @@ -82,29 +82,34 @@ test("getCredentials returns all credentials when no language specified", async }); test("getCredentials throws an error when non-printable characters are used", async (t) => { - const invalidCredentials = [ - { type: "nuget_feed", host: "1nuget.pkg.github.com", token: "abc\u0000" }, // Non-printable character in token - { type: "nuget_feed", host: "2nuget.pkg.github.com\u0001" }, // Non-printable character in host - { type: "nuget_feed", host: "3nuget.pkg.github.com", password: "ghi\u0002" }, // Non-printable character in password - { type: "nuget_feed", host: "4nuget.pkg.github.com", password: "ghi\x00" }, // Non-printable character in password - ]; + const invalidCredentials = [ + { type: "nuget_feed", host: "1nuget.pkg.github.com", token: "abc\u0000" }, // Non-printable character in token + { type: "nuget_feed", host: "2nuget.pkg.github.com\u0001" }, // Non-printable character in host + { + type: "nuget_feed", + host: "3nuget.pkg.github.com", + password: "ghi\u0002", + }, // Non-printable character in password + { type: "nuget_feed", host: "4nuget.pkg.github.com", password: "ghi\x00" }, // Non-printable character in password + ]; - for (const invalidCredential of invalidCredentials) { - const credentialsInput = Buffer.from( - JSON.stringify([invalidCredential]), - ).toString("base64"); + for (const invalidCredential of invalidCredentials) { + const credentialsInput = Buffer.from( + JSON.stringify([invalidCredential]), + ).toString("base64"); - t.throws( - () => - startProxyExports.getCredentials( - getRunnerLogger(true), - undefined, - credentialsInput, - undefined, - ), - { - message: "Invalid credentials - fields must contain only printable characters", - }, - ); - } - }); + t.throws( + () => + startProxyExports.getCredentials( + getRunnerLogger(true), + undefined, + credentialsInput, + undefined, + ), + { + message: + "Invalid credentials - fields must contain only printable characters", + }, + ); + } +}); diff --git a/src/start-proxy.ts b/src/start-proxy.ts index 9f9fcedfb5..7f890fbb77 100644 --- a/src/start-proxy.ts +++ b/src/start-proxy.ts @@ -54,13 +54,13 @@ export function getCredentials( let parsed: Credential[]; try { parsed = JSON.parse(credentialsStr) as Credential[]; - } catch (error) { + } catch { // Don't log the error since it might contain sensitive information. logger.error("Failed to parse the credentials data."); throw new Error("Invalid credentials format."); } - let out: Credential[] = []; + const out: Credential[] = []; for (const e of parsed) { if (e.url === undefined && e.host === undefined) { // The proxy needs one of these to work. If both are defined, the url has the precedence. @@ -73,13 +73,21 @@ export function getCredentials( continue; } - const isPrintable = (str: string | undefined): boolean => { return str ? /^[\x20-\x7E]*$/.test(str) : true; }; - if (!isPrintable(e.type) || !isPrintable(e.host) || !isPrintable(e.url) || !isPrintable(e.username) || !isPrintable(e.password) || !isPrintable(e.token)) { - throw new Error("Invalid credentials - fields must contain only printable characters"); + if ( + !isPrintable(e.type) || + !isPrintable(e.host) || + !isPrintable(e.url) || + !isPrintable(e.username) || + !isPrintable(e.password) || + !isPrintable(e.token) + ) { + throw new Error( + "Invalid credentials - fields must contain only printable characters", + ); } out.push({ From 7d7758bb244dc0f439c89aaf09ad59d12ea6ec34 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Fri, 24 Jan 2025 21:31:24 +0000 Subject: [PATCH 086/132] Skip proxy if no credentials --- lib/start-proxy-action.js | 4 ++++ lib/start-proxy-action.js.map | 2 +- src/start-proxy-action.ts | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index deb61dc07c..3151f4631e 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -100,6 +100,10 @@ async function runWrapper() { core.saveState("proxy-log-file", proxyLogFilePath); // Get the configuration options const credentials = (0, start_proxy_1.getCredentials)(logger, actionsUtil.getOptionalInput("registry_secrets"), actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language")); + if (credentials.length === 0) { + logger.info("No credentials found, skipping proxy setup."); + return; + } logger.info(`Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) .join("\n")}`); diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index c58df44d37..0e6bb72d36 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,+CAA2D;AAC3D,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAkB3B,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;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,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,+CAA2D;AAC3D,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAkB3B,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,eAAe;KACvB;CACF,CAAC;AAEF,SAAS,4BAA4B;IACnC,MAAM,IAAI,GAAG,gBAAG,CAAC,GAAG,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,IAAI,GAAG,gBAAG,CAAC,iBAAiB,EAAE,CAAC;IACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IAChC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,QAAQ,CAAC,SAAS,GAAG,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;IAC7D,MAAM,QAAQ,GAAG,GAAG,0BAA0B,GAAG,YAAY,EAAE,CAAC;IAEhE,IAAI,QAAQ,GAAG,SAAS,CAAC,IAAI,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;IACtE,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QACpD,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACnD,QAAQ,GAAG,MAAM,SAAS,CAAC,QAAQ,CACjC,SAAS,EACT,aAAa,EACb,uBAAuB,CACxB,CAAC;IACJ,CAAC;IACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,eAAe,CAAC,CAAa;IACpC,OAAO,SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 013b237bad..247e584e68 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -100,6 +100,12 @@ async function runWrapper() { actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language"), ); + + if (credentials.length === 0) { + logger.info("No credentials found, skipping proxy setup."); + return; + } + logger.info( `Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) From de4457eac23d329ac6d1a2e0ae7ba00c7baea493 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Fri, 24 Jan 2025 13:06:32 -0800 Subject: [PATCH 087/132] Add actions analysis to code scannign Create a new job to run actions since we don't need to matrix the runs across multiple OSes. --- .github/workflows/codeql.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 130ef58839..ad5b502f68 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -70,7 +70,7 @@ jobs: echo "Suggested matrix config for analysis job: $VERSIONS_JSON" echo "versions=${VERSIONS_JSON}" >> $GITHUB_OUTPUT - build: + analyze-javascript: needs: [check-codeql-versions] strategy: fail-fast: false @@ -81,7 +81,7 @@ jobs: permissions: contents: read - security-events: write # needed to upload results + security-events: write steps: - name: Checkout @@ -100,3 +100,27 @@ jobs: uses: ./analyze with: category: "/language:javascript" + + + analyze-actions: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + + permissions: + contents: read + security-events: write + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Initialize CodeQL + uses: ./init + with: + languages: actions + config-file: ./.github/codeql/codeql-config.yml + - name: Perform CodeQL Analysis + uses: ./analyze + with: + category: "/language:actions" From 2bab9f7984ff5911ee41618e8afc371e190c0026 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Sat, 25 Jan 2025 15:31:35 -0800 Subject: [PATCH 088/132] Ensure artifacts are only uploaded in safe situations This commit: Turns on uploading of artifacts again but only if CLI version is >= 2.20.3. I implemented the check using our feature flag functionality. I was on the fence about this since it makes the PR more complex. However, it does give us more flexibility when controlling artifact uploads. Also, I renamed the two workflows that were previously disabled. This way we will not accidentally enable the old workflows for previous versions of the action. --- ...e.yml => debug-artifacts-failure-safe.yml} | 10 +- ...artifacts.yml => debug-artifacts-safe.yml} | 6 +- lib/analyze-action-post.js | 10 +- lib/analyze-action-post.js.map | 2 +- lib/debug-artifacts.js | 26 +++-- lib/debug-artifacts.js.map | 2 +- lib/debug-artifacts.test.js | 41 ++++++- lib/debug-artifacts.test.js.map | 2 +- lib/feature-flags.js | 12 +++ lib/feature-flags.js.map | 2 +- lib/upload-sarif-action-post.js | 2 +- lib/upload-sarif-action-post.js.map | 2 +- src/analyze-action-post.ts | 28 ++++- src/debug-artifacts.test.ts | 100 ++++++++++++++++-- src/debug-artifacts.ts | 39 +++++-- src/feature-flags.ts | 13 +++ src/upload-sarif-action-post.ts | 6 +- 17 files changed, 264 insertions(+), 39 deletions(-) rename .github/workflows/{debug-artifacts-failure.yml => debug-artifacts-failure-safe.yml} (93%) rename .github/workflows/{debug-artifacts.yml => debug-artifacts-safe.yml} (95%) diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure-safe.yml similarity index 93% rename from .github/workflows/debug-artifacts-failure.yml rename to .github/workflows/debug-artifacts-failure-safe.yml index 995071df6a..2332341f99 100644 --- a/.github/workflows/debug-artifacts-failure.yml +++ b/.github/workflows/debug-artifacts-failure-safe.yml @@ -19,6 +19,14 @@ on: workflow_dispatch: {} jobs: upload-artifacts: + strategy: + fail-fast: false + matrix: + version: + - stable-v2.20.3 + - default + - linked + - nightly-latest name: Upload debug artifacts after failure in analyze continue-on-error: true env: @@ -36,7 +44,7 @@ jobs: id: prepare-test uses: ./.github/actions/prepare-test with: - version: linked + version: ${{ matrix.version }} - uses: actions/setup-go@v5 with: go-version: ^1.13.1 diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts-safe.yml similarity index 95% rename from .github/workflows/debug-artifacts.yml rename to .github/workflows/debug-artifacts-safe.yml index 2dd0691359..c90ebd0c32 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts-safe.yml @@ -22,11 +22,7 @@ jobs: fail-fast: false matrix: version: - - stable-v2.15.5 - - stable-v2.16.6 - - stable-v2.17.6 - - stable-v2.18.4 - - stable-v2.19.4 + - stable-v2.20.3 - default - linked - nightly-latest diff --git a/lib/analyze-action-post.js b/lib/analyze-action-post.js index a42d975cb1..f451282bfa 100644 --- a/lib/analyze-action-post.js +++ b/lib/analyze-action-post.js @@ -44,7 +44,9 @@ const api_client_1 = require("./api-client"); const config_utils_1 = require("./config-utils"); const debugArtifacts = __importStar(require("./debug-artifacts")); const environment_1 = require("./environment"); +const feature_flags_1 = require("./feature-flags"); const logging_1 = require("./logging"); +const repository_1 = require("./repository"); const util_1 = require("./util"); async function runWrapper() { try { @@ -52,12 +54,13 @@ async function runWrapper() { const logger = (0, logging_1.getActionsLogger)(); const gitHubVersion = await (0, api_client_1.getGitHubVersion)(); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger); + const features = createFeatures(gitHubVersion, logger); // Upload SARIF artifacts if we determine that this is a first-party analysis run. // For third-party runs, this artifact will be uploaded in the `upload-sarif-post` step. if (process.env[environment_1.EnvVar.INIT_ACTION_HAS_RUN] === "true") { const config = await (0, config_utils_1.getConfig)(actionsUtil.getTemporaryDirectory(), logger); if (config !== undefined) { - await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, config.gitHubVersion.type)); + await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, config.gitHubVersion.type, features)); } } } @@ -65,5 +68,10 @@ async function runWrapper() { core.setFailed(`analyze post-action step failed: ${(0, util_1.getErrorMessage)(error)}`); } } +function createFeatures(gitHubVersion, logger) { + const repositoryNwo = (0, repository_1.parseRepositoryNwo)((0, util_1.getRequiredEnvParam)("GITHUB_REPOSITORY")); + const features = new feature_flags_1.Features(gitHubVersion, repositoryNwo, actionsUtil.getTemporaryDirectory(), logger); + return features; +} void runWrapper(); //# sourceMappingURL=analyze-action-post.js.map \ No newline at end of file diff --git a/lib/analyze-action-post.js.map b/lib/analyze-action-post.js.map index cf32f5ac94..ea5c87bbc2 100644 --- a/lib/analyze-action-post.js.map +++ b/lib/analyze-action-post.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action-post.js","sourceRoot":"","sources":["../src/analyze-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAAgD;AAChD,iDAA2C;AAC3C,kEAAoD;AACpD,+CAAuC;AACvC,uCAAwD;AACxD,iCAAoE;AAEpE,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,WAAW,CAAC,aAAa,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;QAClC,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,kFAAkF;QAClF,wFAAwF;QACxF,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,mBAAmB,CAAC,KAAK,MAAM,EAAE,CAAC;YACvD,MAAM,MAAM,GAAG,MAAM,IAAA,wBAAS,EAC5B,WAAW,CAAC,qBAAqB,EAAE,EACnC,MAAM,CACP,CAAC;YACF,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACzB,MAAM,IAAA,mBAAS,EAAC,yCAAyC,EAAE,GAAG,EAAE,CAC9D,cAAc,CAAC,4BAA4B,CACzC,MAAM,EACN,MAAM,CAAC,aAAa,CAAC,IAAI,CAC1B,CACF,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,oCAAoC,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAC7D,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action-post.js","sourceRoot":"","sources":["../src/analyze-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAAgD;AAChD,iDAA2C;A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AAM,CACP,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/debug-artifacts.js b/lib/debug-artifacts.js index 1724935891..c2a2b878dd 100644 --- a/lib/debug-artifacts.js +++ b/lib/debug-artifacts.js @@ -52,6 +52,7 @@ const actions_util_1 = require("./actions-util"); const analyze_1 = require("./analyze"); const codeql_1 = require("./codeql"); const environment_1 = require("./environment"); +const feature_flags_1 = require("./feature-flags"); const logging_1 = require("./logging"); const util_1 = require("./util"); function sanitizeArtifactName(name) { @@ -61,7 +62,7 @@ function sanitizeArtifactName(name) { * Upload Actions SARIF artifacts for debugging when CODEQL_ACTION_DEBUG_COMBINED_SARIF * environment variable is set */ -async function uploadCombinedSarifArtifacts(logger, gitHubVariant) { +async function uploadCombinedSarifArtifacts(logger, gitHubVariant, features) { const tempDir = (0, actions_util_1.getTemporaryDirectory)(); // Upload Actions SARIF artifacts for debugging when environment variable is set if (process.env["CODEQL_ACTION_DEBUG_COMBINED_SARIF"] === "true") { @@ -80,7 +81,7 @@ async function uploadCombinedSarifArtifacts(logger, gitHubVariant) { } } try { - await uploadDebugArtifacts(logger, toUpload, baseTempDir, "combined-sarif-artifacts", gitHubVariant); + await uploadDebugArtifacts(logger, toUpload, baseTempDir, "combined-sarif-artifacts", gitHubVariant, features); } catch (e) { logger.warning(`Failed to upload combined SARIF files as Actions debugging artifact. Reason: ${(0, util_1.getErrorMessage)(e)}`); @@ -140,7 +141,7 @@ async function tryBundleDatabase(config, language, logger) { * * Logs and suppresses any errors that occur. */ -async function tryUploadAllAvailableDebugArtifacts(config, logger) { +async function tryUploadAllAvailableDebugArtifacts(config, logger, features) { const filesToUpload = []; try { for (const language of config.languages) { @@ -180,20 +181,25 @@ async function tryUploadAllAvailableDebugArtifacts(config, logger) { return; } try { - await (0, logging_1.withGroup)("Uploading debug artifacts", async () => uploadDebugArtifacts(logger, filesToUpload, config.dbLocation, config.debugArtifactName, config.gitHubVersion.type)); + await (0, logging_1.withGroup)("Uploading debug artifacts", async () => uploadDebugArtifacts(logger, filesToUpload, config.dbLocation, config.debugArtifactName, config.gitHubVersion.type, features)); } catch (e) { logger.warning(`Failed to upload debug artifacts. Reason: ${(0, util_1.getErrorMessage)(e)}`); } } -async function uploadDebugArtifacts(logger, toUpload, rootDir, artifactName, ghVariant) { +async function uploadDebugArtifacts(logger, toUpload, rootDir, artifactName, ghVariant, features) { if (toUpload.length === 0) { - return; + return "no-artifacts-to-upload"; + } + const uploadSupported = typeof features === "boolean" + ? features + : await features.getValue(feature_flags_1.Feature.SafeArtifactUpload); + if (!uploadSupported) { + core.info(`Skipping debug artifact upload because the current CLI does not support safe upload. Please upgrade to CLI v${feature_flags_1.featureConfig.safe_artifact_upload.minimumVersion} or later.`); + return "upload-not-supported"; } - logger.info("Uploading debug artifacts is temporarily disabled"); - return; let suffix = ""; - const matrix = (0, actions_util_1.getRequiredInput)("matrix"); + const matrix = (0, actions_util_1.getOptionalInput)("matrix"); if (matrix) { try { for (const [, matrixVal] of Object.entries(JSON.parse(matrix)).sort()) @@ -209,10 +215,12 @@ async function uploadDebugArtifacts(logger, toUpload, rootDir, artifactName, ghV // ensure we don't keep the debug artifacts around for too long since they can be large. retentionDays: 7, }); + return "upload-successful"; } catch (e) { // A failure to upload debug artifacts should not fail the entire action. core.warning(`Failed to upload debug artifacts: ${e}`); + return "upload-failed"; } } // `@actions/artifact@v2` is not yet supported on GHES so the legacy version of the client will be used on GHES diff --git a/lib/debug-artifacts.js.map b/lib/debug-artifacts.js.map index 3f4d6b322a..c8521a8204 100644 --- a/lib/debug-artifacts.js.map +++ b/lib/debug-artifacts.js.map @@ -1 +1 @@ -{"version":3,"file":"debug-artifacts.js","sourceRoot":"","sources":["../src/debug-artifacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,oDAEC;AAMD,oEA8CC;AAgFD,kFAyEC;AAED,oDA4CC;AA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kB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,GAAG,GAAG,IAAI,iBAAM,EAAE,CAAC;IACzB,GAAG,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IACjC,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IACjC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,uBAAuB,CACpC,MAAc,EACd,QAAkB;IAElB,MAAM,kBAAkB,GAAG,MAAM,IAAA,eAAQ,EACvC,MAAM,EACN,QAAQ,EACR,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,EACjC,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,EAAE,CAC1C,CAAC;IACF,OAAO,kBAAkB,CAAC;AAC5B,CAAC"} \ No newline at end of file +{"version":3,"file":"debug-artifacts.js","sourceRoot":"","sources":["../src/debug-artifacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,oDAEC;AAMD,oEAgDC;AAgFD,kFA2EC;AAED,oDA6DC;AAMD,8DAeC;AAtUD,uCAAyB;AACzB,2CAA6B;AAE7B,4DAA8C;AAC9C,yEAA2D;AAC3D,oDAAsC;AACtC,sDAA6B;AAC7B,8CAAsB;AAEtB,iDAAyE;AACzE,uCAA0C;AAC1C,qCAAqC;AAErC,+CAAuC;AACvC,mDAKyB;AAEzB,uCAA8C;AAC9C,iCAOgB;AAEhB,SAAgB,oBAAoB,CAAC,IAAY;IAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,4BAA4B,CAChD,MAAc,EACd,aAA4B,EAC5B,QAA4B;IAE5B,MAAM,OAAO,GAAG,IAAA,oCAAqB,GAAE,CAAC;IAExC,gFAAgF;IAChF,IAAI,OAAO,C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M,EAAE,CAAC;IACzB,GAAG,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IACjC,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IACjC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,uBAAuB,CACpC,MAAc,EACd,QAAkB;IAElB,MAAM,kBAAkB,GAAG,MAAM,IAAA,eAAQ,EACvC,MAAM,EACN,QAAQ,EACR,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,EACjC,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,EAAE,CAC1C,CAAC;IACF,OAAO,kBAAkB,CAAC;AAC5B,CAAC"} \ No newline at end of file diff --git a/lib/debug-artifacts.test.js b/lib/debug-artifacts.test.js index b80b38b70d..cebbaa7033 100644 --- a/lib/debug-artifacts.test.js +++ b/lib/debug-artifacts.test.js @@ -38,7 +38,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const ava_1 = __importDefault(require("ava")); const debugArtifacts = __importStar(require("./debug-artifacts")); +const feature_flags_1 = require("./feature-flags"); const logging_1 = require("./logging"); +const testing_utils_1 = require("./testing-utils"); const util_1 = require("./util"); (0, ava_1.default)("sanitizeArtifactName", (t) => { t.deepEqual(debugArtifacts.sanitizeArtifactName("hello-world_"), "hello-world_"); @@ -46,9 +48,44 @@ const util_1 = require("./util"); t.deepEqual(debugArtifacts.sanitizeArtifactName("hello===123"), "hello123"); t.deepEqual(debugArtifacts.sanitizeArtifactName("*m)a&n^y%i££n+v!a:l[i]d"), "manyinvalid"); }); -(0, ava_1.default)("uploadDebugArtifacts", async (t) => { +(0, ava_1.default)("uploadDebugArtifacts when artifacts empty", async (t) => { // Test that no error is thrown if artifacts list is empty. const logger = (0, logging_1.getActionsLogger)(); - await t.notThrowsAsync(debugArtifacts.uploadDebugArtifacts(logger, [], "rootDir", "artifactName", util_1.GitHubVariant.DOTCOM)); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, [], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, true); + t.is(uploaded, "no-artifacts-to-upload", "Should not have uploaded any artifacts"); + }); +}); +(0, ava_1.default)("uploadDebugArtifacts when true", async (t) => { + // Test that the artifact is uploaded. + const logger = (0, logging_1.getActionsLogger)(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, true); + t.is(uploaded, "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); + }); +}); +(0, ava_1.default)("uploadDebugArtifacts when false", async (t) => { + // Test that the artifact is not uploaded. + const logger = (0, logging_1.getActionsLogger)(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, false); + t.is(uploaded, "upload-not-supported", "Should not have uploaded any artifacts"); + }); +}); +(0, ava_1.default)("uploadDebugArtifacts when feature enabled", async (t) => { + // Test that the artifact is uploaded. + const logger = (0, logging_1.getActionsLogger)(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([feature_flags_1.Feature.SafeArtifactUpload])); + t.is(uploaded, "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); + }); +}); +(0, ava_1.default)("uploadDebugArtifacts when feature disabled", async (t) => { + // Test that the artifact is not uploaded. + const logger = (0, logging_1.getActionsLogger)(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([])); + t.is(uploaded, "upload-not-supported", "Expect failure to upload artifacts since root dir does not exist"); + }); }); //# sourceMappingURL=debug-artifacts.test.js.map \ No newline at end of file diff --git a/lib/debug-artifacts.test.js.map b/lib/debug-artifacts.test.js.map index c4f7ca2aae..755a9e9a4e 100644 --- a/lib/debug-artifacts.test.js.map +++ b/lib/debug-artifacts.test.js.map @@ -1 +1 @@ -{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,kEAAoD;AACpD,uCAA6C;AAC7C,iCAAuC;AAEvC,IAAA,aAAI,EAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,cAAc,CACf,CAAC;IACF,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,YAAY,CACb,CAAC;IACF,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,EAC9D,aAAa,CACd,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sBAAsB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvC,2DAA2D;IAC3D,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CACpB,cAAc,CAAC,oBAAoB,CACjC,MAAM,EACN,EAAE,EACF,SAAS,EACT,cAAc,EACd,oBAAa,CAAC,MAAM,CACrB,CACF,CAAC;AACJ,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;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;AAEH,IAAA,aAAI,EAAC,4CAA4C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC7D,0CAA0C;IAC1C,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,IAAA,8BAAc,EAAC,EAAE,CAAC,CACnB,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ,EACR,sBAAsB,EACtB,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index 9a86c4b575..a6eb3c9562 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -69,6 +69,7 @@ var Feature; Feature["PythonDefaultIsToNotExtractStdlib"] = "python_default_is_to_not_extract_stdlib"; Feature["QaTelemetryEnabled"] = "qa_telemetry_enabled"; Feature["ZstdBundleStreamingExtraction"] = "zstd_bundle_streaming_extraction"; + Feature["SafeArtifactUpload"] = "safe_artifact_upload"; })(Feature || (exports.Feature = Feature = {})); exports.featureConfig = { [Feature.CleanupTrapCaches]: { @@ -138,6 +139,17 @@ exports.featureConfig = { legacyApi: true, minimumVersion: undefined, }, + /** + * The first version of the CodeQL CLI where artifact upload is safe to use + * for failed runs. This is not really a feature flag, but it is easiest to + * model the behavior as a feature flag. + */ + [Feature.SafeArtifactUpload]: { + defaultValue: true, + envVar: "CODEQL_ACTION_SAFE_ARTIFACT_UPLOAD", + legacyApi: true, + minimumVersion: "2.20.3", + }, }; exports.FEATURE_FLAGS_FILE_NAME = "cached-feature-flags.json"; /** diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index aa0cf5849a..9446188354 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,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,qDAAgD;AAChD,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACU,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AAgBnD;;;;;;;GAOG;AACH,IAAY,OAaX;AAbD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,mDAAwC,CAAA;IACxC,4EAAiE,CAAA;IACjE,wDAA6C,CAAA;IAC7C,8DAAmD,CAAA;IACnD,yEAA8D,CAAA;IAC9D,2EAAgE,CAAA;IAChE,kEAAuD,CAAA;IACvD,sDAA2C,CAAA;IAC3C,wFAA6E,CAAA;IAC7E,sDAA2C,CAAA;IAC3C,6EAAkE,CAAA;AACpE,CAAC,EAbW,OAAO,uBAAP,OAAO,QAalB;AAEY,QAAA,aAAa,GA8BtB;IACF,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;QAC3B,YAAY,EAAE,KAAK;QACnB,MAAM,EAAE,mCAAmC;QAC3C,cAAc,EAAE,SAAS;KAC1B;IACD,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE;QAC1B,YAAY,EAAE,KAAK;QACnB,MAAM,EAAE,sCAAsC;QAC9C,cAAc,EAAE,SAAS;KAC1B;IACD,CAAC,OAAO,CAAC,6BAA6B,CAAC,EAAE;QACvC,YAAY,EAAE,KAAK;QACnB,MAAM,EAAE,gDAAgD;QACxD,cAAc,EAAE,SAAS;KAC1B;IACD,CAAC,OAAO,CAAC,yBAAyB,CAAC,EAAE;QACnC,YAAY,EAAE,KAAK;QACnB,MAAM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MAAM,CAAC,KAAK,CACf,uFAAuF,CACxF,CAAC;YACF,KAAK,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAC7D,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CACjD,EAAE,CAAC;gBACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,qDAAgD;AAChD,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAy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AAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAC7D,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CACjD,EAAE,CAAC;gBACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file diff --git a/lib/upload-sarif-action-post.js b/lib/upload-sarif-action-post.js index a5a8d5c245..0eb3b3ed15 100644 --- a/lib/upload-sarif-action-post.js +++ b/lib/upload-sarif-action-post.js @@ -59,7 +59,7 @@ async function runWrapper() { core.warning(`Did not upload debug artifacts because cannot determine the GitHub variant running.`); return; } - await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, gitHubVersion.type)); + await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, gitHubVersion.type, true)); } } catch (error) { diff --git a/lib/upload-sarif-action-post.js.map b/lib/upload-sarif-action-post.js.map index 85152da16c..a34fbc70fa 100644 --- a/lib/upload-sarif-action-post.js.map +++ b/lib/upload-sarif-action-post.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-sarif-action-post.js","sourceRoot":"","sources":["../src/upload-sarif-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAAgD;AAChD,kEAAoD;AACpD,+CAAuC;AACvC,uCAAwD;AACxD,iCAAoE;AAEpE,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,6CAA6C;QAC7C,WAAW,CAAC,aAAa,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;QAClC,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,kFAAkF;QAClF,mFAAmF;QACnF,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,mBAAmB,CAAC,KAAK,MAAM,EAAE,CAAC;YACvD,IAAI,aAAa,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrC,IAAI,CAAC,OAAO,CACV,qFAAqF,CACtF,CAAC;gBACF,OAAO;YACT,CAAC;YACD,MAAM,IAAA,mBAAS,EAAC,yCAAyC,EAAE,GAAG,EAAE,CAC9D,cAAc,CAAC,4BAA4B,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,CACxE,CAAC;QACJ,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,yCAAyC,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAClE,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"upload-sarif-action-post.js","sourceRoot":"","sources":["../src/upload-sarif-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAAgD;AAChD,kEAAoD;AACpD,+CAAuC;AACvC,uCAAwD;AACxD,iCAAoE;AAEpE,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,6CAA6C;QAC7C,WAAW,CAAC,aAAa,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;QAClC,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,kFAAkF;QAClF,mFAAmF;QACnF,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,mBAAmB,CAAC,KAAK,MAAM,EAAE,CAAC;YACvD,IAAI,aAAa,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrC,IAAI,CAAC,OAAO,CACV,qFAAqF,CACtF,CAAC;gBACF,OAAO;YACT,CAAC;YACD,MAAM,IAAA,mBAAS,EAAC,yCAAyC,EAAE,GAAG,EAAE,CAC9D,cAAc,CAAC,4BAA4B,CACzC,MAAM,EACN,aAAa,CAAC,IAAI,EAClB,IAAI,CACL,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,yCAAyC,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAClE,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action-post.ts b/src/analyze-action-post.ts index 5f457017db..390476a1bd 100644 --- a/src/analyze-action-post.ts +++ b/src/analyze-action-post.ts @@ -10,8 +10,15 @@ import { getGitHubVersion } from "./api-client"; import { getConfig } from "./config-utils"; import * as debugArtifacts from "./debug-artifacts"; import { EnvVar } from "./environment"; -import { getActionsLogger, withGroup } from "./logging"; -import { checkGitHubVersionInRange, getErrorMessage } from "./util"; +import { Features } from "./feature-flags"; +import { getActionsLogger, Logger, withGroup } from "./logging"; +import { parseRepositoryNwo } from "./repository"; +import { + checkGitHubVersionInRange, + getErrorMessage, + getRequiredEnvParam, + GitHubVersion, +} from "./util"; async function runWrapper() { try { @@ -20,6 +27,8 @@ async function runWrapper() { const gitHubVersion = await getGitHubVersion(); checkGitHubVersionInRange(gitHubVersion, logger); + const features = createFeatures(gitHubVersion, logger); + // Upload SARIF artifacts if we determine that this is a first-party analysis run. // For third-party runs, this artifact will be uploaded in the `upload-sarif-post` step. if (process.env[EnvVar.INIT_ACTION_HAS_RUN] === "true") { @@ -32,6 +41,7 @@ async function runWrapper() { debugArtifacts.uploadCombinedSarifArtifacts( logger, config.gitHubVersion.type, + features, ), ); } @@ -43,4 +53,18 @@ async function runWrapper() { } } +function createFeatures(gitHubVersion: GitHubVersion, logger: Logger) { + const repositoryNwo = parseRepositoryNwo( + getRequiredEnvParam("GITHUB_REPOSITORY"), + ); + + const features = new Features( + gitHubVersion, + repositoryNwo, + actionsUtil.getTemporaryDirectory(), + logger, + ); + return features; +} + void runWrapper(); diff --git a/src/debug-artifacts.test.ts b/src/debug-artifacts.test.ts index a61519105a..f622c50c2f 100644 --- a/src/debug-artifacts.test.ts +++ b/src/debug-artifacts.test.ts @@ -1,7 +1,9 @@ import test from "ava"; import * as debugArtifacts from "./debug-artifacts"; +import { Feature } from "./feature-flags"; import { getActionsLogger } from "./logging"; +import { createFeatures } from "./testing-utils"; import { GitHubVariant } from "./util"; test("sanitizeArtifactName", (t) => { @@ -20,16 +22,102 @@ test("sanitizeArtifactName", (t) => { ); }); -test("uploadDebugArtifacts", async (t) => { +test("uploadDebugArtifacts when artifacts empty", async (t) => { // Test that no error is thrown if artifacts list is empty. const logger = getActionsLogger(); - await t.notThrowsAsync( - debugArtifacts.uploadDebugArtifacts( + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts( logger, [], - "rootDir", + "i-dont-exist", "artifactName", GitHubVariant.DOTCOM, - ), - ); + true, + ); + t.is( + uploaded, + "no-artifacts-to-upload", + "Should not have uploaded any artifacts", + ); + }); +}); + +test("uploadDebugArtifacts when true", async (t) => { + // Test that the artifact is uploaded. + const logger = getActionsLogger(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts( + logger, + ["hucairz"], + "i-dont-exist", + "artifactName", + GitHubVariant.DOTCOM, + true, + ); + t.is( + uploaded, + "upload-failed", + "Expect failure to upload artifacts since root dir does not exist", + ); + }); +}); + +test("uploadDebugArtifacts when false", async (t) => { + // Test that the artifact is not uploaded. + const logger = getActionsLogger(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts( + logger, + ["hucairz"], + "i-dont-exist", + "artifactName", + GitHubVariant.DOTCOM, + false, + ); + t.is( + uploaded, + "upload-not-supported", + "Should not have uploaded any artifacts", + ); + }); +}); + +test("uploadDebugArtifacts when feature enabled", async (t) => { + // Test that the artifact is uploaded. + const logger = getActionsLogger(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts( + logger, + ["hucairz"], + "i-dont-exist", + "artifactName", + GitHubVariant.DOTCOM, + createFeatures([Feature.SafeArtifactUpload]), + ); + t.is( + uploaded, + "upload-failed", + "Expect failure to upload artifacts since root dir does not exist", + ); + }); +}); + +test("uploadDebugArtifacts when feature disabled", async (t) => { + // Test that the artifact is not uploaded. + const logger = getActionsLogger(); + await t.notThrowsAsync(async () => { + const uploaded = await debugArtifacts.uploadDebugArtifacts( + logger, + ["hucairz"], + "i-dont-exist", + "artifactName", + GitHubVariant.DOTCOM, + createFeatures([]), + ); + t.is( + uploaded, + "upload-not-supported", + "Expect failure to upload artifacts since root dir does not exist", + ); + }); }); diff --git a/src/debug-artifacts.ts b/src/debug-artifacts.ts index a15277a7b8..ee955a4fca 100644 --- a/src/debug-artifacts.ts +++ b/src/debug-artifacts.ts @@ -7,11 +7,17 @@ import * as core from "@actions/core"; import AdmZip from "adm-zip"; import del from "del"; -import { getRequiredInput, getTemporaryDirectory } from "./actions-util"; +import { getOptionalInput, getTemporaryDirectory } from "./actions-util"; import { dbIsFinalized } from "./analyze"; import { getCodeQL } from "./codeql"; import { Config } from "./config-utils"; import { EnvVar } from "./environment"; +import { + Feature, + featureConfig, + FeatureEnablement, + Features, +} from "./feature-flags"; import { Language } from "./languages"; import { Logger, withGroup } from "./logging"; import { @@ -34,6 +40,7 @@ export function sanitizeArtifactName(name: string): string { export async function uploadCombinedSarifArtifacts( logger: Logger, gitHubVariant: GitHubVariant, + features: Features | boolean, ) { const tempDir = getTemporaryDirectory(); @@ -68,6 +75,7 @@ export async function uploadCombinedSarifArtifacts( baseTempDir, "combined-sarif-artifacts", gitHubVariant, + features, ); } catch (e) { logger.warning( @@ -160,6 +168,7 @@ async function tryBundleDatabase( export async function tryUploadAllAvailableDebugArtifacts( config: Config, logger: Logger, + features: FeatureEnablement, ) { const filesToUpload: string[] = []; try { @@ -223,6 +232,7 @@ export async function tryUploadAllAvailableDebugArtifacts( config.dbLocation, config.debugArtifactName, config.gitHubVersion.type, + features, ), ); } catch (e) { @@ -238,15 +248,30 @@ export async function uploadDebugArtifacts( rootDir: string, artifactName: string, ghVariant: GitHubVariant, -) { + features: FeatureEnablement | boolean, +): Promise< + | "no-artifacts-to-upload" + | "upload-successful" + | "upload-failed" + | "upload-not-supported" +> { if (toUpload.length === 0) { - return; + return "no-artifacts-to-upload"; + } + const uploadSupported = + typeof features === "boolean" + ? features + : await features.getValue(Feature.SafeArtifactUpload); + + if (!uploadSupported) { + core.info( + `Skipping debug artifact upload because the current CLI does not support safe upload. Please upgrade to CLI v${featureConfig.safe_artifact_upload.minimumVersion} or later.`, + ); + return "upload-not-supported"; } - logger.info("Uploading debug artifacts is temporarily disabled"); - return; let suffix = ""; - const matrix = getRequiredInput("matrix"); + const matrix = getOptionalInput("matrix"); if (matrix) { try { for (const [, matrixVal] of Object.entries( @@ -272,9 +297,11 @@ export async function uploadDebugArtifacts( retentionDays: 7, }, ); + return "upload-successful"; } catch (e) { // A failure to upload debug artifacts should not fail the entire action. core.warning(`Failed to upload debug artifacts: ${e}`); + return "upload-failed"; } } diff --git a/src/feature-flags.ts b/src/feature-flags.ts index 561c56e331..c17f8fbc9e 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -54,6 +54,7 @@ export enum Feature { PythonDefaultIsToNotExtractStdlib = "python_default_is_to_not_extract_stdlib", QaTelemetryEnabled = "qa_telemetry_enabled", ZstdBundleStreamingExtraction = "zstd_bundle_streaming_extraction", + SafeArtifactUpload = "safe_artifact_upload", } export const featureConfig: Record< @@ -154,6 +155,18 @@ export const featureConfig: Record< legacyApi: true, minimumVersion: undefined, }, + + /** + * The first version of the CodeQL CLI where artifact upload is safe to use + * for failed runs. This is not really a feature flag, but it is easiest to + * model the behavior as a feature flag. + */ + [Feature.SafeArtifactUpload]: { + defaultValue: true, + envVar: "CODEQL_ACTION_SAFE_ARTIFACT_UPLOAD", + legacyApi: true, + minimumVersion: "2.20.3", + }, }; /** diff --git a/src/upload-sarif-action-post.ts b/src/upload-sarif-action-post.ts index 3f43b17226..dd210ee377 100644 --- a/src/upload-sarif-action-post.ts +++ b/src/upload-sarif-action-post.ts @@ -30,7 +30,11 @@ async function runWrapper() { return; } await withGroup("Uploading combined SARIF debug artifact", () => - debugArtifacts.uploadCombinedSarifArtifacts(logger, gitHubVersion.type), + debugArtifacts.uploadCombinedSarifArtifacts( + logger, + gitHubVersion.type, + true, + ), ); } } catch (error) { From 5ff24648ef84caaf9ad7e2109dcc2091db5f57c4 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Sat, 25 Jan 2025 15:34:21 -0800 Subject: [PATCH 089/132] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e625431df5..134e822793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -No user facing changes. +- Re-enable debug artifact upload for CLI versions 2.20.3 or greater. [#2726](https://github.com/github/codeql-action/pull/2726) ## 3.28.5 - 24 Jan 2025 From f71067bd5fb707b07fe8ada494e369fad3865847 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Sun, 26 Jan 2025 13:34:30 -0800 Subject: [PATCH 090/132] Stop using feature-flag support for determining if a feature is active Using the feature flag mechanism for checking if uploads are enabled was too clunky. I'm moving the change to checking versions directly. --- lib/analyze-action-post.js | 13 +++---- lib/analyze-action-post.js.map | 2 +- lib/debug-artifacts.js | 18 +++++----- lib/debug-artifacts.js.map | 2 +- lib/debug-artifacts.test.js | 24 ++++--------- lib/debug-artifacts.test.js.map | 2 +- lib/feature-flags.js | 12 ------- lib/feature-flags.js.map | 2 +- lib/init-action-post-helper.js | 4 ++- lib/init-action-post-helper.js.map | 2 +- lib/tools-features.js | 53 ++++++++++++++++++++++++++++- lib/tools-features.js.map | 2 +- lib/upload-sarif-action-post.js | 5 ++- lib/upload-sarif-action-post.js.map | 2 +- src/analyze-action-post.ts | 32 ++++------------- src/debug-artifacts.test.ts | 36 ++++---------------- src/debug-artifacts.ts | 27 ++++++--------- src/feature-flags.ts | 13 ------- src/init-action-post-helper.ts | 6 ++-- src/tools-features.ts | 20 +++++++++++ src/upload-sarif-action-post.ts | 4 ++- 21 files changed, 136 insertions(+), 145 deletions(-) diff --git a/lib/analyze-action-post.js b/lib/analyze-action-post.js index f451282bfa..3b8e501055 100644 --- a/lib/analyze-action-post.js +++ b/lib/analyze-action-post.js @@ -41,12 +41,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); const core = __importStar(require("@actions/core")); const actionsUtil = __importStar(require("./actions-util")); const api_client_1 = require("./api-client"); +const codeql_1 = require("./codeql"); const config_utils_1 = require("./config-utils"); const debugArtifacts = __importStar(require("./debug-artifacts")); const environment_1 = require("./environment"); -const feature_flags_1 = require("./feature-flags"); const logging_1 = require("./logging"); -const repository_1 = require("./repository"); const util_1 = require("./util"); async function runWrapper() { try { @@ -54,13 +53,14 @@ async function runWrapper() { const logger = (0, logging_1.getActionsLogger)(); const gitHubVersion = await (0, api_client_1.getGitHubVersion)(); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger); - const features = createFeatures(gitHubVersion, logger); // Upload SARIF artifacts if we determine that this is a first-party analysis run. // For third-party runs, this artifact will be uploaded in the `upload-sarif-post` step. if (process.env[environment_1.EnvVar.INIT_ACTION_HAS_RUN] === "true") { const config = await (0, config_utils_1.getConfig)(actionsUtil.getTemporaryDirectory(), logger); if (config !== undefined) { - await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, config.gitHubVersion.type, features)); + const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); + const version = await codeql.getVersion(); + await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, config.gitHubVersion.type, version.version)); } } } @@ -68,10 +68,5 @@ async function runWrapper() { core.setFailed(`analyze post-action step failed: ${(0, util_1.getErrorMessage)(error)}`); } } -function createFeatures(gitHubVersion, logger) { - const repositoryNwo = (0, repository_1.parseRepositoryNwo)((0, util_1.getRequiredEnvParam)("GITHUB_REPOSITORY")); - const features = new feature_flags_1.Features(gitHubVersion, repositoryNwo, actionsUtil.getTemporaryDirectory(), logger); - return features; -} void runWrapper(); //# sourceMappingURL=analyze-action-post.js.map \ No newline at end of file diff --git a/lib/analyze-action-post.js.map b/lib/analyze-action-post.js.map index ea5c87bbc2..220ccf55fd 100644 --- a/lib/analyze-action-post.js.map +++ b/lib/analyze-action-post.js.map @@ -1 +1 @@ -{"version":3,"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Aa,GAAG,IAAA,+BAAkB,EACtC,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,CACzC,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAI,wBAAQ,CAC3B,aAAa,EACb,aAAa,EACb,WAAW,CAAC,qBAAqB,EAAE,EACnC,MAAM,CACP,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action-post.js","sourceRoot":"","sources":["../src/analyze-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAAgD;AAChD,qCAAqC;AACrC,iDAA2C;AAC3C,kEAAoD;AACpD,+CAAuC;AACvC,uCAAwD;AACxD,iCAAoE;AAEpE,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,WAAW,CAAC,aAAa,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;QAClC,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,kFAAkF;QAClF,wFAAwF;QACxF,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,mBAAmB,CAAC,KAAK,MAAM,EAAE,CAAC;YACvD,MAAM,MAAM,GAAG,MAAM,IAAA,wBAAS,EAC5B,WAAW,CAAC,qBAAqB,EAAE,EACnC,MAAM,CACP,CAAC;YACF,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACzB,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;gBACjD,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,UAAU,EAAE,CAAC;gBAC1C,MAAM,IAAA,mBAAS,EAAC,yCAAyC,EAAE,GAAG,EAAE,CAC9D,cAAc,CAAC,4BAA4B,CACzC,MAAM,EACN,MAAM,CAAC,aAAa,CAAC,IAAI,EACzB,OAAO,CAAC,OAAO,CAChB,CACF,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,oCAAoC,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAC7D,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/debug-artifacts.js b/lib/debug-artifacts.js index c2a2b878dd..cf5fadc8ca 100644 --- a/lib/debug-artifacts.js +++ b/lib/debug-artifacts.js @@ -52,8 +52,8 @@ const actions_util_1 = require("./actions-util"); const analyze_1 = require("./analyze"); const codeql_1 = require("./codeql"); const environment_1 = require("./environment"); -const feature_flags_1 = require("./feature-flags"); const logging_1 = require("./logging"); +const tools_features_1 = require("./tools-features"); const util_1 = require("./util"); function sanitizeArtifactName(name) { return name.replace(/[^a-zA-Z0-9_\\-]+/g, ""); @@ -62,7 +62,7 @@ function sanitizeArtifactName(name) { * Upload Actions SARIF artifacts for debugging when CODEQL_ACTION_DEBUG_COMBINED_SARIF * environment variable is set */ -async function uploadCombinedSarifArtifacts(logger, gitHubVariant, features) { +async function uploadCombinedSarifArtifacts(logger, gitHubVariant, codeQlVersion) { const tempDir = (0, actions_util_1.getTemporaryDirectory)(); // Upload Actions SARIF artifacts for debugging when environment variable is set if (process.env["CODEQL_ACTION_DEBUG_COMBINED_SARIF"] === "true") { @@ -81,7 +81,7 @@ async function uploadCombinedSarifArtifacts(logger, gitHubVariant, features) { } } try { - await uploadDebugArtifacts(logger, toUpload, baseTempDir, "combined-sarif-artifacts", gitHubVariant, features); + await uploadDebugArtifacts(logger, toUpload, baseTempDir, "combined-sarif-artifacts", gitHubVariant, codeQlVersion); } catch (e) { logger.warning(`Failed to upload combined SARIF files as Actions debugging artifact. Reason: ${(0, util_1.getErrorMessage)(e)}`); @@ -141,7 +141,7 @@ async function tryBundleDatabase(config, language, logger) { * * Logs and suppresses any errors that occur. */ -async function tryUploadAllAvailableDebugArtifacts(config, logger, features) { +async function tryUploadAllAvailableDebugArtifacts(config, logger, codeQlVersion) { const filesToUpload = []; try { for (const language of config.languages) { @@ -181,21 +181,19 @@ async function tryUploadAllAvailableDebugArtifacts(config, logger, features) { return; } try { - await (0, logging_1.withGroup)("Uploading debug artifacts", async () => uploadDebugArtifacts(logger, filesToUpload, config.dbLocation, config.debugArtifactName, config.gitHubVersion.type, features)); + await (0, logging_1.withGroup)("Uploading debug artifacts", async () => uploadDebugArtifacts(logger, filesToUpload, config.dbLocation, config.debugArtifactName, config.gitHubVersion.type, codeQlVersion)); } catch (e) { logger.warning(`Failed to upload debug artifacts. Reason: ${(0, util_1.getErrorMessage)(e)}`); } } -async function uploadDebugArtifacts(logger, toUpload, rootDir, artifactName, ghVariant, features) { +async function uploadDebugArtifacts(logger, toUpload, rootDir, artifactName, ghVariant, codeQlVersion) { if (toUpload.length === 0) { return "no-artifacts-to-upload"; } - const uploadSupported = typeof features === "boolean" - ? features - : await features.getValue(feature_flags_1.Feature.SafeArtifactUpload); + const uploadSupported = (0, tools_features_1.isSafeArtifactUpload)(codeQlVersion); if (!uploadSupported) { - core.info(`Skipping debug artifact upload because the current CLI does not support safe upload. Please upgrade to CLI v${feature_flags_1.featureConfig.safe_artifact_upload.minimumVersion} or later.`); + core.info(`Skipping debug artifact upload because the current CLI does not support safe upload. Please upgrade to CLI v${tools_features_1.SafeArtifactUploadVersion} or later.`); return "upload-not-supported"; } let suffix = ""; diff --git a/lib/debug-artifacts.js.map b/lib/debug-artifacts.js.map index c8521a8204..9f9115967c 100644 --- a/lib/debug-artifacts.js.map +++ b/lib/debug-artifacts.js.map @@ -1 +1 @@ -{"version":3,"file":"debug-artifacts.js","sourceRoot":"","sources":["../src/debug-artifacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;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;;;;GAIG;AACH,KAAK,UAAU,2BAA2B,CACxC,MAAc,EACd,QAAkB;IAElB,MAAM,YAAY,GAAG,IAAA,4BAAqB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC7D,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CACrC,MAAM,CAAC,UAAU,EACjB,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,cAAc,CACtD,CAAC;IACF,IAAI,CAAC,IAAI,CACP,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,2DAA2D,kBAAkB,KAAK,CAC1H,CAAC;IACF,qEAAqE;IACrE,IAAI,EAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;QACtC,MAAM,IAAA,aAAG,EAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,GAAG,GAAG,IAAI,iBAAM,EAAE,CAAC;IACzB,GAAG,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IACjC,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IACjC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,uBAAuB,CACpC,MAAc,EACd,QAAkB;IAElB,MAAM,kBAAkB,GAAG,MAAM,IAAA,eAAQ,EACvC,MAAM,EACN,QAAQ,EACR,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,EACjC,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,EAAE,CAC1C,CAAC;IACF,OAAO,kBAAkB,CAAC;AAC5B,CAAC"} \ No newline at end of file +{"version":3,"file":"debug-artifacts.js","sourceRoot":"","sources":["../src/debug-artifacts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,oDAEC;AAMD,oEAgDC;AAgFD,kFA2EC;AAED,oDA0DC;AAMD,8DAeC;AAjUD,u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AM,CAAC,iBAAiB,IAAI,QAAQ,cAAc,CACtD,CAAC;IACF,IAAI,CAAC,IAAI,CACP,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,2DAA2D,kBAAkB,KAAK,CAC1H,CAAC;IACF,qEAAqE;IACrE,IAAI,EAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;QACtC,MAAM,IAAA,aAAG,EAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,GAAG,GAAG,IAAI,iBAAM,EAAE,CAAC;IACzB,GAAG,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IACjC,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IACjC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,uBAAuB,CACpC,MAAc,EACd,QAAkB;IAElB,MAAM,kBAAkB,GAAG,MAAM,IAAA,eAAQ,EACvC,MAAM,EACN,QAAQ,EACR,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,EACjC,GAAG,MAAM,CAAC,iBAAiB,IAAI,QAAQ,EAAE,CAC1C,CAAC;IACF,OAAO,kBAAkB,CAAC;AAC5B,CAAC"} \ No newline at end of file diff --git a/lib/debug-artifacts.test.js b/lib/debug-artifacts.test.js index cebbaa7033..f938837149 100644 --- a/lib/debug-artifacts.test.js +++ b/lib/debug-artifacts.test.js @@ -38,9 +38,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const ava_1 = __importDefault(require("ava")); const debugArtifacts = __importStar(require("./debug-artifacts")); -const feature_flags_1 = require("./feature-flags"); const logging_1 = require("./logging"); -const testing_utils_1 = require("./testing-utils"); const util_1 = require("./util"); (0, ava_1.default)("sanitizeArtifactName", (t) => { t.deepEqual(debugArtifacts.sanitizeArtifactName("hello-world_"), "hello-world_"); @@ -52,39 +50,31 @@ const util_1 = require("./util"); // Test that no error is thrown if artifacts list is empty. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { - const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, [], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, true); + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, [], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, undefined); t.is(uploaded, "no-artifacts-to-upload", "Should not have uploaded any artifacts"); }); }); -(0, ava_1.default)("uploadDebugArtifacts when true", async (t) => { +(0, ava_1.default)("uploadDebugArtifacts when no codeql version is used", async (t) => { // Test that the artifact is uploaded. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { - const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, true); + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, undefined); t.is(uploaded, "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); }); }); -(0, ava_1.default)("uploadDebugArtifacts when false", async (t) => { - // Test that the artifact is not uploaded. - const logger = (0, logging_1.getActionsLogger)(); - await t.notThrowsAsync(async () => { - const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, false); - t.is(uploaded, "upload-not-supported", "Should not have uploaded any artifacts"); - }); -}); -(0, ava_1.default)("uploadDebugArtifacts when feature enabled", async (t) => { +(0, ava_1.default)("uploadDebugArtifacts when new codeql version is used", async (t) => { // Test that the artifact is uploaded. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { - const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([feature_flags_1.Feature.SafeArtifactUpload])); + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, "2.20.3"); t.is(uploaded, "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); }); }); -(0, ava_1.default)("uploadDebugArtifacts when feature disabled", async (t) => { +(0, ava_1.default)("uploadDebugArtifacts when old codeql is used", async (t) => { // Test that the artifact is not uploaded. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { - const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([])); + const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, "2.20.2"); t.is(uploaded, "upload-not-supported", "Expect failure to upload artifacts since root dir does not exist"); }); }); diff --git a/lib/debug-artifacts.test.js.map b/lib/debug-artifacts.test.js.map index 755a9e9a4e..e26b09ffaa 100644 --- a/lib/debug-artifacts.test.js.map +++ b/lib/debug-artifacts.test.js.map @@ -1 +1 @@ -{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,kEAAoD;AACpD,mDAA0C;AAC1C,uCAA6C;AAC7C,mDAAiD;AACjD,iCAAuC;AAEvC,IAAA,aAAI,EAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,cAAc,CACf,CAAC;IACF,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,YAAY,CACb,CAAC;IACF,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,UAA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E,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,kEAAoD;AACpD,uCAA6C;AAC7C,iCAAuC;AAEvC,IAAA,aAAI,EAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,cAAc,CACf,CAAC;IACF,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,YAAY,CACb,CAAC;IACF,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,EAC9D,aAAa,CACd,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,2CAA2C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC5D,2DAA2D;IAC3D,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,EAAE,EACF,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,SAAS,CACV,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ,EACR,wBAAwB,EACxB,wCAAwC,CACzC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,qDAAqD,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;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Q,EACR,sBAAsB,EACtB,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index a6eb3c9562..9a86c4b575 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -69,7 +69,6 @@ var Feature; Feature["PythonDefaultIsToNotExtractStdlib"] = "python_default_is_to_not_extract_stdlib"; Feature["QaTelemetryEnabled"] = "qa_telemetry_enabled"; Feature["ZstdBundleStreamingExtraction"] = "zstd_bundle_streaming_extraction"; - Feature["SafeArtifactUpload"] = "safe_artifact_upload"; })(Feature || (exports.Feature = Feature = {})); exports.featureConfig = { [Feature.CleanupTrapCaches]: { @@ -139,17 +138,6 @@ exports.featureConfig = { legacyApi: true, minimumVersion: undefined, }, - /** - * The first version of the CodeQL CLI where artifact upload is safe to use - * for failed runs. This is not really a feature flag, but it is easiest to - * model the behavior as a feature flag. - */ - [Feature.SafeArtifactUpload]: { - defaultValue: true, - envVar: "CODEQL_ACTION_SAFE_ARTIFACT_UPLOAD", - legacyApi: true, - minimumVersion: "2.20.3", - }, }; exports.FEATURE_FLAGS_FILE_NAME = "cached-feature-flags.json"; /** diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index 9446188354..aa0cf5849a 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,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,qDAAgD;AAChD,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACU,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AAgBnD;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KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CACjD,EAAE,CAAC;gBACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,qDAAgD;AAChD,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACU,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AAgBnD;;;;;;;GAOG;AACH,IAAY,OAaX;AAbD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,mDAAwC,CAAA;IACxC,4EAAiE,CAAA;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,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file diff --git a/lib/init-action-post-helper.js b/lib/init-action-post-helper.js index 3ff4e5f635..22155bccba 100644 --- a/lib/init-action-post-helper.js +++ b/lib/init-action-post-helper.js @@ -142,7 +142,9 @@ async function run(uploadAllAvailableDebugArtifacts, printDebugLogs, config, rep // Upload appropriate Actions artifacts for debugging if (config.debugMode) { logger.info("Debug mode is on. Uploading available database bundles and logs as Actions debugging artifacts..."); - await uploadAllAvailableDebugArtifacts(config, logger, features); + const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); + const version = await codeql.getVersion(); + await uploadAllAvailableDebugArtifacts(config, logger, version.version); await printDebugLogs(config); } if (actionsUtil.isSelfHostedRunner()) { diff --git a/lib/init-action-post-helper.js.map b/lib/init-action-post-helper.js.map index 8c1fae2038..96d4c64df1 100644 --- a/lib/init-action-post-helper.js.map +++ b/lib/init-action-post-helper.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action-post-helper.js","sourceRoot":"","sources":["../src/init-action-post-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsHA,8DAuCC;AAED,kBAiFC;AAkFD,8CASC;AA3UD,uCAAyB;AAEzB,oDAAsC;AACtC,wDAA0C;AAE1C,4DA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CACrC,mCAAmC,CACpC;wBACC,CAAC,CAAC,YAAY,QAAQ,CAAC,EAAE,iDAAiD;wBAC1E,CAAC,CAAC,WAAW,CAAC;oBAChB,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,uDAAuD,OAAO,WAAW,YAAY,CAAC,IAAI,CAAC,MAAM,GAAG,CACrG,CAAC;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CACb,qDAAqD,IAAA,sBAAe,EAClE,CAAC,CACF,EAAE,CACJ,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,MAAM,CAAC,QAAQ,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,OAAO,CACZ,2HAA2H,CAC5H,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAgB,iBAAiB;IAC/B,MAAM,wBAAwB,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,UAAU,CAAC,CAAC;IAChE,IACE,CAAC,wBAAwB;QACzB,CAAC,MAAM,CAAC,MAAM,CAAC,yBAAS,CAAC,CAAC,QAAQ,CAAC,wBAAqC,CAAC,EACzE,CAAC;QACD,OAAO,yBAAS,CAAC,aAAa,CAAC;IACjC,CAAC;IACD,OAAO,wBAAqC,CAAC;AAC/C,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action-post-helper.js","sourceRoot":"","sources":["../src/init-action-post-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsHA,8DAuCC;AAED,kBAmFC;AAkFD,8CASC;AA7UD,uCAAyB;AAEzB,oDAAsC;AACtC,wDAA0C;AAE1C,4DAA8C;AAC9C,6CAA4C;AAC5C,qCAAqC;AAErC,+CAAuC;AACvC,mDAA6D;AAE7D,6CAAiE;AAC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,OAAO,CAAC,EAAE,CAAC;oBACX,MAAM,WAAW,GAAG,IAAA,sBAAe,EAAC,CAAC,CAAC,CAAC;oBACvC,MAAM,UAAU,GAAG,WAAW,CAAC,QAAQ,CACrC,mCAAmC,CACpC;wBACC,CAAC,CAAC,YAAY,QAAQ,CAAC,EAAE,iDAAiD;wBAC1E,CAAC,CAAC,WAAW,CAAC;oBAChB,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC;gBAC9B,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,uDAAuD,OAAO,WAAW,YAAY,CAAC,IAAI,CAAC,MAAM,GAAG,CACrG,CAAC;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CACb,qDAAqD,IAAA,sBAAe,EAClE,CAAC,CACF,EAAE,CACJ,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,MAAM,CAAC,QAAQ,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,OAAO,CACZ,2HAA2H,CAC5H,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAgB,iBAAiB;IAC/B,MAAM,wBAAwB,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,UAAU,CAAC,CAAC;IAChE,IACE,CAAC,wBAAwB;QACzB,CAAC,MAAM,CAAC,MAAM,CAAC,yBAAS,CAAC,CAAC,QAAQ,CAAC,wBAAqC,CAAC,EACzE,CAAC;QACD,OAAO,yBAAS,CAAC,aAAa,CAAC;IACjC,CAAC;IACD,OAAO,wBAAqC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/lib/tools-features.js b/lib/tools-features.js index 7cb8e43786..277bddfe85 100644 --- a/lib/tools-features.js +++ b/lib/tools-features.js @@ -1,7 +1,42 @@ "use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (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 () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.ToolsFeature = void 0; +exports.SafeArtifactUploadVersion = exports.ToolsFeature = void 0; exports.isSupportedToolsFeature = isSupportedToolsFeature; +exports.isSafeArtifactUpload = isSafeArtifactUpload; +const semver = __importStar(require("semver")); var ToolsFeature; (function (ToolsFeature) { ToolsFeature["AnalysisSummaryV2IsDefault"] = "analysisSummaryV2Default"; @@ -25,4 +60,20 @@ var ToolsFeature; function isSupportedToolsFeature(versionInfo, feature) { return !!versionInfo.features && versionInfo.features[feature]; } +exports.SafeArtifactUploadVersion = "2.20.3"; +/** + * The first version of the CodeQL CLI where artifact upload is safe to use + * for failed runs. This is not really a feature flag, but it is easiest to + * model the behavior as a feature flag. + * + * This was not captured in a tools feature, so we need to use semver. + * + * @param codeQlVersion The version of the CodeQL CLI to check. If not provided, it is assumed to be safe. + * @returns True if artifact upload is safe to use for failed runs or false otherwise. + */ +function isSafeArtifactUpload(codeQlVersion) { + return !codeQlVersion + ? true + : semver.gte(codeQlVersion, exports.SafeArtifactUploadVersion); +} //# sourceMappingURL=tools-features.js.map \ No newline at end of file diff --git a/lib/tools-features.js.map b/lib/tools-features.js.map index be559b0f74..7a0c041462 100644 --- a/lib/tools-features.js.map +++ b/lib/tools-features.js.map @@ -1 +1 @@ -{"version":3,"file":"tools-features.js","sourceRoot":"","sources":["../src/tools-features.ts"],"names":[],"mappings":";;;AAsBA,0DAKC;AAzBD,IAAY,YAWX;AAXD,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,mDAAmC,CAAA;IACnC,qHAAqG,CAAA;IACrG,+FAA+E,CAAA;IAC/E,yFAAyE,CAAA;IACzE,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;IACrD,mFAAmE,CAAA;IACnE,iDAAiC,CAAA;IACjC,uFAAuE,CAAA;AACzE,CAAC,EAXW,YAAY,4BAAZ,YAAY,QAWvB;AAED;;;;;;GAMG;AACH,SAAgB,uBAAuB,CACrC,WAAwB,EACxB,OAAqB;IAErB,OAAO,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACjE,CAAC"} \ No newline at end of file +{"version":3,"file":"tools-features.js","sourceRoot":"","sources":["../src/tools-features.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,0DAKC;AAcD,oDAIC;AA/CD,+CAAiC;AAIjC,IAAY,YAWX;AAXD,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,mDAAmC,CAAA;IACnC,qHAAqG,CAAA;IACrG,+FAA+E,CAAA;IAC/E,yFAAyE,CAAA;IACzE,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;IACrD,mFAAmE,CAAA;IACnE,iDAAiC,CAAA;IACjC,uFAAuE,CAAA;AACzE,CAAC,EAXW,YAAY,4BAAZ,YAAY,QAWvB;AAED;;;;;;GAMG;AACH,SAAgB,uBAAuB,CACrC,WAAwB,EACxB,OAAqB;IAErB,OAAO,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACjE,CAAC;AAEY,QAAA,yBAAyB,GAAG,QAAQ,CAAC;AAElD;;;;;;;;;GASG;AACH,SAAgB,oBAAoB,CAAC,aAAsB;IACzD,OAAO,CAAC,aAAa;QACnB,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,EAAE,iCAAyB,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/lib/upload-sarif-action-post.js b/lib/upload-sarif-action-post.js index 0eb3b3ed15..77f2409b94 100644 --- a/lib/upload-sarif-action-post.js +++ b/lib/upload-sarif-action-post.js @@ -59,7 +59,10 @@ async function runWrapper() { core.warning(`Did not upload debug artifacts because cannot determine the GitHub variant running.`); return; } - await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, gitHubVersion.type, true)); + await (0, logging_1.withGroup)("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts(logger, gitHubVersion.type, + // The codeqlVersion is not applicable for uploading non-codeql sarif. + // We can assume all versions are safe to upload. + undefined)); } } catch (error) { diff --git a/lib/upload-sarif-action-post.js.map b/lib/upload-sarif-action-post.js.map index a34fbc70fa..17da641cdf 100644 --- a/lib/upload-sarif-action-post.js.map +++ b/lib/upload-sarif-action-post.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-sarif-action-post.js","sourceRoot":"","sources":["../src/upload-sarif-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAAgD;AAChD,kEAAoD;AACpD,+CAAuC;AACvC,uCAAwD;AACxD,iCAAoE;AAEpE,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,6CAA6C;QAC7C,WAAW,CAAC,aAAa,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;QAClC,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,kFAAkF;QAClF,mFAAmF;QACnF,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,mBAAmB,CAAC,KAAK,MAAM,EAAE,CAAC;YACvD,IAAI,aAAa,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrC,IAAI,CAAC,OAAO,CACV,qFAAqF,CACtF,CAAC;gBACF,OAAO;YACT,CAAC;YACD,MAAM,IAAA,mBAAS,EAAC,yCAAyC,EAAE,GAAG,EAAE,CAC9D,cAAc,CAAC,4BAA4B,CACzC,MAAM,EACN,aAAa,CAAC,IAAI,EAClB,IAAI,CACL,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,yCAAyC,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAClE,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"upload-sarif-action-post.js","sourceRoot":"","sources":["../src/upload-sarif-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAAgD;AAChD,kEAAoD;AACpD,+CAAuC;AACvC,uCAAwD;AACxD,iCAAoE;AAEpE,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,6CAA6C;QAC7C,WAAW,CAAC,aAAa,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;QAClC,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,kFAAkF;QAClF,mFAAmF;QACnF,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,mBAAmB,CAAC,KAAK,MAAM,EAAE,CAAC;YACvD,IAAI,aAAa,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrC,IAAI,CAAC,OAAO,CACV,qFAAqF,CACtF,CAAC;gBACF,OAAO;YACT,CAAC;YACD,MAAM,IAAA,mBAAS,EAAC,yCAAyC,EAAE,GAAG,EAAE,CAC9D,cAAc,CAAC,4BAA4B,CACzC,MAAM,EACN,aAAa,CAAC,IAAI;YAClB,sEAAsE;YACtE,iDAAiD;YACjD,SAAS,CACV,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,yCAAyC,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAClE,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action-post.ts b/src/analyze-action-post.ts index 390476a1bd..eaa08a50d8 100644 --- a/src/analyze-action-post.ts +++ b/src/analyze-action-post.ts @@ -7,18 +7,12 @@ import * as core from "@actions/core"; import * as actionsUtil from "./actions-util"; import { getGitHubVersion } from "./api-client"; +import { getCodeQL } from "./codeql"; import { getConfig } from "./config-utils"; import * as debugArtifacts from "./debug-artifacts"; import { EnvVar } from "./environment"; -import { Features } from "./feature-flags"; -import { getActionsLogger, Logger, withGroup } from "./logging"; -import { parseRepositoryNwo } from "./repository"; -import { - checkGitHubVersionInRange, - getErrorMessage, - getRequiredEnvParam, - GitHubVersion, -} from "./util"; +import { getActionsLogger, withGroup } from "./logging"; +import { checkGitHubVersionInRange, getErrorMessage } from "./util"; async function runWrapper() { try { @@ -27,8 +21,6 @@ async function runWrapper() { const gitHubVersion = await getGitHubVersion(); checkGitHubVersionInRange(gitHubVersion, logger); - const features = createFeatures(gitHubVersion, logger); - // Upload SARIF artifacts if we determine that this is a first-party analysis run. // For third-party runs, this artifact will be uploaded in the `upload-sarif-post` step. if (process.env[EnvVar.INIT_ACTION_HAS_RUN] === "true") { @@ -37,11 +29,13 @@ async function runWrapper() { logger, ); if (config !== undefined) { + const codeql = await getCodeQL(config.codeQLCmd); + const version = await codeql.getVersion(); await withGroup("Uploading combined SARIF debug artifact", () => debugArtifacts.uploadCombinedSarifArtifacts( logger, config.gitHubVersion.type, - features, + version.version, ), ); } @@ -53,18 +47,4 @@ async function runWrapper() { } } -function createFeatures(gitHubVersion: GitHubVersion, logger: Logger) { - const repositoryNwo = parseRepositoryNwo( - getRequiredEnvParam("GITHUB_REPOSITORY"), - ); - - const features = new Features( - gitHubVersion, - repositoryNwo, - actionsUtil.getTemporaryDirectory(), - logger, - ); - return features; -} - void runWrapper(); diff --git a/src/debug-artifacts.test.ts b/src/debug-artifacts.test.ts index f622c50c2f..51566cb311 100644 --- a/src/debug-artifacts.test.ts +++ b/src/debug-artifacts.test.ts @@ -1,9 +1,7 @@ import test from "ava"; import * as debugArtifacts from "./debug-artifacts"; -import { Feature } from "./feature-flags"; import { getActionsLogger } from "./logging"; -import { createFeatures } from "./testing-utils"; import { GitHubVariant } from "./util"; test("sanitizeArtifactName", (t) => { @@ -32,7 +30,7 @@ test("uploadDebugArtifacts when artifacts empty", async (t) => { "i-dont-exist", "artifactName", GitHubVariant.DOTCOM, - true, + undefined, ); t.is( uploaded, @@ -42,7 +40,7 @@ test("uploadDebugArtifacts when artifacts empty", async (t) => { }); }); -test("uploadDebugArtifacts when true", async (t) => { +test("uploadDebugArtifacts when no codeql version is used", async (t) => { // Test that the artifact is uploaded. const logger = getActionsLogger(); await t.notThrowsAsync(async () => { @@ -52,7 +50,7 @@ test("uploadDebugArtifacts when true", async (t) => { "i-dont-exist", "artifactName", GitHubVariant.DOTCOM, - true, + undefined, ); t.is( uploaded, @@ -62,27 +60,7 @@ test("uploadDebugArtifacts when true", async (t) => { }); }); -test("uploadDebugArtifacts when false", async (t) => { - // Test that the artifact is not uploaded. - const logger = getActionsLogger(); - await t.notThrowsAsync(async () => { - const uploaded = await debugArtifacts.uploadDebugArtifacts( - logger, - ["hucairz"], - "i-dont-exist", - "artifactName", - GitHubVariant.DOTCOM, - false, - ); - t.is( - uploaded, - "upload-not-supported", - "Should not have uploaded any artifacts", - ); - }); -}); - -test("uploadDebugArtifacts when feature enabled", async (t) => { +test("uploadDebugArtifacts when new codeql version is used", async (t) => { // Test that the artifact is uploaded. const logger = getActionsLogger(); await t.notThrowsAsync(async () => { @@ -92,7 +70,7 @@ test("uploadDebugArtifacts when feature enabled", async (t) => { "i-dont-exist", "artifactName", GitHubVariant.DOTCOM, - createFeatures([Feature.SafeArtifactUpload]), + "2.20.3", ); t.is( uploaded, @@ -102,7 +80,7 @@ test("uploadDebugArtifacts when feature enabled", async (t) => { }); }); -test("uploadDebugArtifacts when feature disabled", async (t) => { +test("uploadDebugArtifacts when old codeql is used", async (t) => { // Test that the artifact is not uploaded. const logger = getActionsLogger(); await t.notThrowsAsync(async () => { @@ -112,7 +90,7 @@ test("uploadDebugArtifacts when feature disabled", async (t) => { "i-dont-exist", "artifactName", GitHubVariant.DOTCOM, - createFeatures([]), + "2.20.2", ); t.is( uploaded, diff --git a/src/debug-artifacts.ts b/src/debug-artifacts.ts index ee955a4fca..a7c23784f4 100644 --- a/src/debug-artifacts.ts +++ b/src/debug-artifacts.ts @@ -12,14 +12,12 @@ import { dbIsFinalized } from "./analyze"; import { getCodeQL } from "./codeql"; import { Config } from "./config-utils"; import { EnvVar } from "./environment"; -import { - Feature, - featureConfig, - FeatureEnablement, - Features, -} from "./feature-flags"; import { Language } from "./languages"; import { Logger, withGroup } from "./logging"; +import { + isSafeArtifactUpload, + SafeArtifactUploadVersion, +} from "./tools-features"; import { bundleDb, doesDirectoryExist, @@ -40,7 +38,7 @@ export function sanitizeArtifactName(name: string): string { export async function uploadCombinedSarifArtifacts( logger: Logger, gitHubVariant: GitHubVariant, - features: Features | boolean, + codeQlVersion: string | undefined, ) { const tempDir = getTemporaryDirectory(); @@ -75,7 +73,7 @@ export async function uploadCombinedSarifArtifacts( baseTempDir, "combined-sarif-artifacts", gitHubVariant, - features, + codeQlVersion, ); } catch (e) { logger.warning( @@ -168,7 +166,7 @@ async function tryBundleDatabase( export async function tryUploadAllAvailableDebugArtifacts( config: Config, logger: Logger, - features: FeatureEnablement, + codeQlVersion: string | undefined, ) { const filesToUpload: string[] = []; try { @@ -232,7 +230,7 @@ export async function tryUploadAllAvailableDebugArtifacts( config.dbLocation, config.debugArtifactName, config.gitHubVersion.type, - features, + codeQlVersion, ), ); } catch (e) { @@ -248,7 +246,7 @@ export async function uploadDebugArtifacts( rootDir: string, artifactName: string, ghVariant: GitHubVariant, - features: FeatureEnablement | boolean, + codeQlVersion: string | undefined, ): Promise< | "no-artifacts-to-upload" | "upload-successful" @@ -258,14 +256,11 @@ export async function uploadDebugArtifacts( if (toUpload.length === 0) { return "no-artifacts-to-upload"; } - const uploadSupported = - typeof features === "boolean" - ? features - : await features.getValue(Feature.SafeArtifactUpload); + const uploadSupported = isSafeArtifactUpload(codeQlVersion); if (!uploadSupported) { core.info( - `Skipping debug artifact upload because the current CLI does not support safe upload. Please upgrade to CLI v${featureConfig.safe_artifact_upload.minimumVersion} or later.`, + `Skipping debug artifact upload because the current CLI does not support safe upload. Please upgrade to CLI v${SafeArtifactUploadVersion} or later.`, ); return "upload-not-supported"; } diff --git a/src/feature-flags.ts b/src/feature-flags.ts index c17f8fbc9e..561c56e331 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -54,7 +54,6 @@ export enum Feature { PythonDefaultIsToNotExtractStdlib = "python_default_is_to_not_extract_stdlib", QaTelemetryEnabled = "qa_telemetry_enabled", ZstdBundleStreamingExtraction = "zstd_bundle_streaming_extraction", - SafeArtifactUpload = "safe_artifact_upload", } export const featureConfig: Record< @@ -155,18 +154,6 @@ export const featureConfig: Record< legacyApi: true, minimumVersion: undefined, }, - - /** - * The first version of the CodeQL CLI where artifact upload is safe to use - * for failed runs. This is not really a feature flag, but it is easiest to - * model the behavior as a feature flag. - */ - [Feature.SafeArtifactUpload]: { - defaultValue: true, - envVar: "CODEQL_ACTION_SAFE_ARTIFACT_UPLOAD", - legacyApi: true, - minimumVersion: "2.20.3", - }, }; /** diff --git a/src/init-action-post-helper.ts b/src/init-action-post-helper.ts index 2fa1774b4e..78aa40f19f 100644 --- a/src/init-action-post-helper.ts +++ b/src/init-action-post-helper.ts @@ -161,7 +161,7 @@ export async function run( uploadAllAvailableDebugArtifacts: ( config: Config, logger: Logger, - features: FeatureEnablement, + codeQlVersion: string, ) => Promise, printDebugLogs: (config: Config) => Promise, config: Config, @@ -211,7 +211,9 @@ export async function run( logger.info( "Debug mode is on. Uploading available database bundles and logs as Actions debugging artifacts...", ); - await uploadAllAvailableDebugArtifacts(config, logger, features); + const codeql = await getCodeQL(config.codeQLCmd); + const version = await codeql.getVersion(); + await uploadAllAvailableDebugArtifacts(config, logger, version.version); await printDebugLogs(config); } diff --git a/src/tools-features.ts b/src/tools-features.ts index aa70459a96..d14ec0345f 100644 --- a/src/tools-features.ts +++ b/src/tools-features.ts @@ -1,3 +1,5 @@ +import * as semver from "semver"; + import type { VersionInfo } from "./codeql"; export enum ToolsFeature { @@ -26,3 +28,21 @@ export function isSupportedToolsFeature( ): boolean { return !!versionInfo.features && versionInfo.features[feature]; } + +export const SafeArtifactUploadVersion = "2.20.3"; + +/** + * The first version of the CodeQL CLI where artifact upload is safe to use + * for failed runs. This is not really a feature flag, but it is easiest to + * model the behavior as a feature flag. + * + * This was not captured in a tools feature, so we need to use semver. + * + * @param codeQlVersion The version of the CodeQL CLI to check. If not provided, it is assumed to be safe. + * @returns True if artifact upload is safe to use for failed runs or false otherwise. + */ +export function isSafeArtifactUpload(codeQlVersion?: string): boolean { + return !codeQlVersion + ? true + : semver.gte(codeQlVersion, SafeArtifactUploadVersion); +} diff --git a/src/upload-sarif-action-post.ts b/src/upload-sarif-action-post.ts index dd210ee377..9852b882b9 100644 --- a/src/upload-sarif-action-post.ts +++ b/src/upload-sarif-action-post.ts @@ -33,7 +33,9 @@ async function runWrapper() { debugArtifacts.uploadCombinedSarifArtifacts( logger, gitHubVersion.type, - true, + // The codeqlVersion is not applicable for uploading non-codeql sarif. + // We can assume all versions are safe to upload. + undefined, ), ); } From 346d06794f65b218b39de9d39333a7dbabda90f9 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Sun, 26 Jan 2025 19:17:29 -0800 Subject: [PATCH 091/132] Fix CLI versions --- .github/workflows/debug-artifacts-safe.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debug-artifacts-safe.yml b/.github/workflows/debug-artifacts-safe.yml index c90ebd0c32..e508ead92f 100644 --- a/.github/workflows/debug-artifacts-safe.yml +++ b/.github/workflows/debug-artifacts-safe.yml @@ -71,7 +71,7 @@ jobs: - name: Check expected artifacts exist shell: bash run: | - VERSIONS="stable-v2.15.5 stable-v2.16.6 stable-v2.17.6 stable-v2.18.4 stable-v2.19.4 default linked nightly-latest" + VERSIONS="stable-v2.20.3 default linked nightly-latest" LANGUAGES="cpp csharp go java javascript python" for version in $VERSIONS; do pushd "./my-debug-artifacts-${version//./}" From a2c1b36bdfef2e7eb85f862212e8571548e95b9b Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Sun, 26 Jan 2025 19:18:07 -0800 Subject: [PATCH 092/132] Iterate over each version Not sure why we need this now, but didn't before. --- .../debug-artifacts-failure-safe.yml | 35 ++++++++++--------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/.github/workflows/debug-artifacts-failure-safe.yml b/.github/workflows/debug-artifacts-failure-safe.yml index 2332341f99..108a7a3511 100644 --- a/.github/workflows/debug-artifacts-failure-safe.yml +++ b/.github/workflows/debug-artifacts-failure-safe.yml @@ -78,22 +78,25 @@ jobs: shell: bash run: | LANGUAGES="cpp csharp go java javascript python" - cd "./my-debug-artifacts" - echo "Artifacts from run:" - for language in $LANGUAGES; do - echo "- Checking $language" - if [[ ! -f "my-db-$language-partial.zip" ]] ; then - echo "Missing a partial database bundle for $language" - exit 1 - fi - if [[ ! -d "log" ]] ; then - echo "Missing database initialization logs" - exit 1 - fi - if [[ ! "$language" == "go" ]] && [[ ! -d "$language/log" ]] ; then - echo "Missing logs for $language" - exit 1 - fi + for version in $VERSIONS; do + echo "Artifacts from version $version:" + pushd "./my-debug-artifacts-${version//./}" + for language in $LANGUAGES; do + echo "- Checking $language" + if [[ ! -f "my-db-$language-partial.zip" ]] ; then + echo "Missing a partial database bundle for $language" + exit 1 + fi + if [[ ! -d "log" ]] ; then + echo "Missing database initialization logs" + exit 1 + fi + if [[ ! "$language" == "go" ]] && [[ ! -d "$language/log" ]] ; then + echo "Missing logs for $language" + exit 1 + fi + done + popd done env: GO111MODULE: auto From faa23b6fee4f4f4f0ff02751758e030a92c63359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20San=20Jos=C3=A9?= Date: Mon, 27 Jan 2025 10:54:47 +0100 Subject: [PATCH 093/132] Switch auth for enterprises-release repo from ssh to codeql CI token --- .../workflows/update-supported-enterprise-server-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index 5eaa167c36..04a08fd00e 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 with: repository: github/enterprise-releases - ssh-key: ${{ secrets.ENTERPRISE_RELEASES_SSH_KEY }} + token: ${{ secrets.CODEQL_CI_TOKEN }} path: ${{ github.workspace }}/enterprise-releases/ - name: Update Supported Enterprise Server Versions run: | From 7c2eafa990f431ab2f3a75ee915487b09c5ecb6e Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Mon, 27 Jan 2025 09:57:02 +0000 Subject: [PATCH 094/132] Use ConfigureationError for exceptions --- lib/start-proxy.js | 7 ++++--- lib/start-proxy.js.map | 2 +- src/start-proxy.ts | 9 ++++++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/lib/start-proxy.js b/lib/start-proxy.js index c68153d33d..9bbcaeba9c 100644 --- a/lib/start-proxy.js +++ b/lib/start-proxy.js @@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getCredentials = getCredentials; const languages_1 = require("./languages"); +const util_1 = require("./util"); const LANGUAGE_TO_REGISTRY_TYPE = { java: "maven_repository", csharp: "nuget_feed", @@ -44,13 +45,13 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language catch { // Don't log the error since it might contain sensitive information. logger.error("Failed to parse the credentials data."); - throw new Error("Invalid credentials format."); + throw new util_1.ConfigurationError("Invalid credentials format."); } const out = []; for (const e of parsed) { if (e.url === undefined && e.host === undefined) { // The proxy needs one of these to work. If both are defined, the url has the precedence. - throw new Error("Invalid credentials - must specify host or url"); + throw new util_1.ConfigurationError("Invalid credentials - must specify host or url"); } // Filter credentials based on language if specified. `type` is the registry type. // E.g., "maven_feed" for Java/Kotlin, "nuget_repository" for C#. @@ -66,7 +67,7 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language !isPrintable(e.username) || !isPrintable(e.password) || !isPrintable(e.token)) { - throw new Error("Invalid credentials - fields must contain only printable characters"); + throw new util_1.ConfigurationError("Invalid credentials - fields must contain only printable characters"); } out.push({ type: e.type, diff --git a/lib/start-proxy.js.map b/lib/start-proxy.js.map index c50f53d9be..031deff1ab 100644 --- a/lib/start-proxy.js.map +++ b/lib/start-proxy.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy.js","sourceRoot":"","sources":["../src/start-proxy.ts"],"names":[],"mappings":";;AA6BA,wCAyEC;AAtGD,2CAAsD;AAYtD,MAAM,yBAAyB,GAA6B;IAC1D,I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MAAM,IAAI,yBAAkB,CAC1B,qEAAqE,CACtE,CAAC;QACJ,CAAC;QAED,GAAG,CAAC,IAAI,CAAC;YACP,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,GAAG,EAAE,CAAC,CAAC,GAAG;YACV,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,KAAK,EAAE,CAAC,CAAC,KAAK;SACf,CAAC,CAAC;IACL,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/src/start-proxy.ts b/src/start-proxy.ts index 7f890fbb77..51c6f2fc07 100644 --- a/src/start-proxy.ts +++ b/src/start-proxy.ts @@ -1,5 +1,6 @@ import { parseLanguage, Language } from "./languages"; import { Logger } from "./logging"; +import { ConfigurationError } from "./util"; export type Credential = { type: string; @@ -57,14 +58,16 @@ export function getCredentials( } catch { // Don't log the error since it might contain sensitive information. logger.error("Failed to parse the credentials data."); - throw new Error("Invalid credentials format."); + throw new ConfigurationError("Invalid credentials format."); } const out: Credential[] = []; for (const e of parsed) { if (e.url === undefined && e.host === undefined) { // The proxy needs one of these to work. If both are defined, the url has the precedence. - throw new Error("Invalid credentials - must specify host or url"); + throw new ConfigurationError( + "Invalid credentials - must specify host or url", + ); } // Filter credentials based on language if specified. `type` is the registry type. @@ -85,7 +88,7 @@ export function getCredentials( !isPrintable(e.password) || !isPrintable(e.token) ) { - throw new Error( + throw new ConfigurationError( "Invalid credentials - fields must contain only printable characters", ); } From 7fdbca3ba31e8e7aca55e93c89d1b7674319e839 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 17:20:44 +0000 Subject: [PATCH 095/132] build(deps-dev): bump the npm group with 4 updates Bumps the npm group with 4 updates: [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [nock](https://github.com/nock/nock). Updates `@eslint/js` from 9.18.0 to 9.19.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.19.0/packages/js) Updates `@typescript-eslint/eslint-plugin` from 8.21.0 to 8.22.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.21.0 to 8.22.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/parser) Updates `nock` from 13.5.6 to 14.0.0 - [Release notes](https://github.com/nock/nock/releases) - [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md) - [Commits](https://github.com/nock/nock/compare/v13.5.6...v14.0.0) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: nock dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm ... Signed-off-by: dependabot[bot] --- package-lock.json | 253 +++++++++++++++++++++++++++++----------------- package.json | 8 +- 2 files changed, 163 insertions(+), 98 deletions(-) diff --git a/package-lock.json b/package-lock.json index 992918b2e7..b34e41be0d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,7 @@ "@ava/typescript": "4.1.0", "@eslint/compat": "^1.1.1", "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.18.0", + "@eslint/js": "^9.19.0", "@microsoft/eslint-formatter-sarif": "^3.1.0", "@types/adm-zip": "^0.5.7", "@types/console-log-level": "^1.4.5", @@ -56,8 +56,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.21.0", - "@typescript-eslint/parser": "^8.21.0", + "@typescript-eslint/eslint-plugin": "^8.22.0", + "@typescript-eslint/parser": "^8.22.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", @@ -66,7 +66,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", - "nock": "^13.5.6", + "nock": "^14.0.0", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^19.0.2", "typescript": "^5.7.3" @@ -706,9 +706,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz", - "integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==", + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz", + "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==", "dev": true, "license": "MIT", "engines": { @@ -861,6 +861,24 @@ "node": ">= 14" } }, + "node_modules/@mswjs/interceptors": { + "version": "0.37.5", + "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.37.5.tgz", + "integrity": "sha512-AAwRb5vXFcY4L+FvZ7LZusDuZ0vEe0Zm8ohn1FM6/X7A3bj4mqmkAcGRWuvC2JwSygNwHAAmMnAI73vPHeqsHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-draft/deferred-promise": "^2.2.0", + "@open-draft/logger": "^0.3.0", + "@open-draft/until": "^2.0.0", + "is-node-process": "^1.2.0", + "outvariant": "^1.4.3", + "strict-event-emitter": "^0.5.1" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -1129,6 +1147,31 @@ "integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==", "license": "MIT" }, + "node_modules/@open-draft/deferred-promise": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz", + "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@open-draft/logger": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@open-draft/logger/-/logger-0.3.0.tgz", + "integrity": "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-node-process": "^1.2.0", + "outvariant": "^1.4.0" + } + }, + "node_modules/@open-draft/until": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@open-draft/until/-/until-2.1.0.tgz", + "integrity": "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==", + "dev": true, + "license": "MIT" + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -1360,17 +1403,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.21.0.tgz", - "integrity": "sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.22.0.tgz", + "integrity": "sha512-4Uta6REnz/xEJMvwf72wdUnC3rr4jAQf5jnTkeRQ9b6soxLxhDEbS/pfMPoJLDfFPNVRdryqWUIV/2GZzDJFZw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/type-utils": "8.21.0", - "@typescript-eslint/utils": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/type-utils": "8.22.0", + "@typescript-eslint/utils": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1390,14 +1433,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", - "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1408,9 +1451,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", - "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, "license": "MIT", "engines": { @@ -1422,14 +1465,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", - "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1449,16 +1492,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", - "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", + "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/typescript-estree": "8.21.0" + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1473,13 +1516,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", - "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/types": "8.22.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1543,16 +1586,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.21.0.tgz", - "integrity": "sha512-Wy+/sdEH9kI3w9civgACwabHbKl+qIOu0uFZ9IMKzX3Jpv9og0ZBJrZExGrPpFAY7rWsXuxs5e7CPPP17A4eYA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.22.0.tgz", + "integrity": "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/typescript-estree": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4" }, "engines": { @@ -1568,14 +1611,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", - "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1586,9 +1629,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", - "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, "license": "MIT", "engines": { @@ -1600,14 +1643,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", - "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1627,13 +1670,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", - "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/types": "8.22.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1715,14 +1758,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.21.0.tgz", - "integrity": "sha512-95OsL6J2BtzoBxHicoXHxgk3z+9P3BEcQTpBKriqiYzLKnM2DeSqs+sndMKdamU8FosiadQFT3D+BSL9EKnAJQ==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.22.0.tgz", + "integrity": "sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.21.0", - "@typescript-eslint/utils": "8.21.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/utils": "8.22.0", "debug": "^4.3.4", "ts-api-utils": "^2.0.0" }, @@ -1739,14 +1782,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", - "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1757,9 +1800,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", - "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, "license": "MIT", "engines": { @@ -1771,14 +1814,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", - "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1798,16 +1841,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", - "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", + "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/typescript-estree": "8.21.0" + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1822,13 +1865,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", - "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/types": "8.22.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -5228,6 +5271,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-node-process": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz", + "integrity": "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==", + "dev": true, + "license": "MIT" + }, "node_modules/is-number": { "version": "7.0.0", "license": "MIT", @@ -5871,17 +5921,18 @@ "license": "0BSD" }, "node_modules/nock": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.6.tgz", - "integrity": "sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/nock/-/nock-14.0.0.tgz", + "integrity": "sha512-3Z2ZoZoYTR/y2I+NI16+6IzfZFKBX7MrADtoBAm7v/QKqxQUhKw+Dh+847PPS1j/FDutjfIXfrh3CJF74yITWg==", "dev": true, + "license": "MIT", "dependencies": { - "debug": "^4.1.0", + "@mswjs/interceptors": "^0.37.3", "json-stringify-safe": "^5.0.1", "propagate": "^2.0.0" }, "engines": { - "node": ">= 10.13" + "node": ">= 18" } }, "node_modules/node-fetch": { @@ -6109,6 +6160,13 @@ "node": ">= 0.8.0" } }, + "node_modules/outvariant": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.3.tgz", + "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==", + "dev": true, + "license": "MIT" + }, "node_modules/p-defer": { "version": "1.0.0", "dev": true, @@ -6953,6 +7011,13 @@ "bare-events": "^2.2.0" } }, + "node_modules/strict-event-emitter": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz", + "integrity": "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==", + "dev": true, + "license": "MIT" + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", diff --git a/package.json b/package.json index 8c5683efae..df627fc4eb 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@ava/typescript": "4.1.0", "@eslint/compat": "^1.1.1", "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.18.0", + "@eslint/js": "^9.19.0", "@microsoft/eslint-formatter-sarif": "^3.1.0", "@types/adm-zip": "^0.5.7", "@types/console-log-level": "^1.4.5", @@ -72,8 +72,8 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.21.0", - "@typescript-eslint/parser": "^8.21.0", + "@typescript-eslint/eslint-plugin": "^8.22.0", + "@typescript-eslint/parser": "^8.22.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", @@ -82,7 +82,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", - "nock": "^13.5.6", + "nock": "^14.0.0", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^19.0.2", "typescript": "^5.7.3" From 357e0ceaa944420266db3ff50182959161a023f0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 17:21:38 +0000 Subject: [PATCH 096/132] Update checked-in dependencies --- node_modules/.package-lock.json | 245 ++-- node_modules/@eslint/js/package.json | 2 +- .../interceptors/ClientRequest/package.json | 6 + node_modules/@mswjs/interceptors/LICENSE.md | 9 + node_modules/@mswjs/interceptors/README.md | 623 ++++++++++ .../RemoteHttpInterceptor/package.json | 6 + .../interceptors/WebSocket/package.json | 5 + .../interceptors/XMLHttpRequest/package.json | 6 + .../@mswjs/interceptors/fetch/package.json | 6 + .../lib/browser/Interceptor-af98b768.d.ts | 63 + .../lib/browser/chunk-5UK33FSU.mjs | 83 ++ .../lib/browser/chunk-5UK33FSU.mjs.map | 1 + .../lib/browser/chunk-6HYIRFX2.mjs | 22 + .../lib/browser/chunk-6HYIRFX2.mjs.map | 1 + .../lib/browser/chunk-BC2BLJQN.js | 83 ++ .../lib/browser/chunk-BC2BLJQN.js.map | 1 + .../lib/browser/chunk-DODHRDV6.mjs | 844 +++++++++++++ .../lib/browser/chunk-DODHRDV6.mjs.map | 1 + .../lib/browser/chunk-FGSEOIC4.js | 228 ++++ .../lib/browser/chunk-FGSEOIC4.js.map | 1 + .../lib/browser/chunk-H5O73WD2.mjs | 228 ++++ .../lib/browser/chunk-H5O73WD2.mjs.map | 1 + .../lib/browser/chunk-LK6DILFK.js | 22 + .../lib/browser/chunk-LK6DILFK.js.map | 1 + .../lib/browser/chunk-PFGO5BSM.js | 25 + .../lib/browser/chunk-PFGO5BSM.js.map | 1 + .../lib/browser/chunk-QED3Q6Z2.mjs | 169 +++ .../lib/browser/chunk-QED3Q6Z2.mjs.map | 1 + .../lib/browser/chunk-QVOTKFTB.js | 295 +++++ .../lib/browser/chunk-QVOTKFTB.js.map | 1 + .../lib/browser/chunk-TIPR373R.js | 169 +++ .../lib/browser/chunk-TIPR373R.js.map | 1 + .../lib/browser/chunk-TX5GBTFY.mjs | 25 + .../lib/browser/chunk-TX5GBTFY.mjs.map | 1 + .../lib/browser/chunk-XTX2SIN6.mjs | 295 +++++ .../lib/browser/chunk-XTX2SIN6.mjs.map | 1 + .../lib/browser/chunk-ZIT2QX7D.js | 844 +++++++++++++ .../lib/browser/chunk-ZIT2QX7D.js.map | 1 + .../lib/browser/glossary-6564c252.d.ts | 67 ++ .../interceptors/lib/browser/index.d.ts | 69 ++ .../@mswjs/interceptors/lib/browser/index.js | 79 ++ .../interceptors/lib/browser/index.js.map | 1 + .../@mswjs/interceptors/lib/browser/index.mjs | 79 ++ .../interceptors/lib/browser/index.mjs.map | 1 + .../browser/interceptors/WebSocket/index.d.ts | 233 ++++ .../browser/interceptors/WebSocket/index.js | 710 +++++++++++ .../interceptors/WebSocket/index.js.map | 1 + .../browser/interceptors/WebSocket/index.mjs | 710 +++++++++++ .../interceptors/WebSocket/index.mjs.map | 1 + .../interceptors/XMLHttpRequest/index.d.ts | 15 + .../interceptors/XMLHttpRequest/index.js | 12 + .../interceptors/XMLHttpRequest/index.js.map | 1 + .../interceptors/XMLHttpRequest/index.mjs | 12 + .../interceptors/XMLHttpRequest/index.mjs.map | 1 + .../lib/browser/interceptors/fetch/index.d.ts | 14 + .../lib/browser/interceptors/fetch/index.js | 11 + .../browser/interceptors/fetch/index.js.map | 1 + .../lib/browser/interceptors/fetch/index.mjs | 11 + .../browser/interceptors/fetch/index.mjs.map | 1 + .../lib/browser/presets/browser.d.ts | 15 + .../lib/browser/presets/browser.js | 21 + .../lib/browser/presets/browser.js.map | 1 + .../lib/browser/presets/browser.mjs | 21 + .../lib/browser/presets/browser.mjs.map | 1 + .../lib/node/BatchInterceptor-67bf41ba.d.ts | 24 + .../lib/node/Interceptor-436630be.d.ts | 128 ++ .../lib/node/RemoteHttpInterceptor.d.ts | 43 + .../lib/node/RemoteHttpInterceptor.js | 187 +++ .../lib/node/RemoteHttpInterceptor.js.map | 1 + .../lib/node/RemoteHttpInterceptor.mjs | 187 +++ .../lib/node/RemoteHttpInterceptor.mjs.map | 1 + .../interceptors/lib/node/chunk-4IGRW7SK.js | 1053 +++++++++++++++++ .../lib/node/chunk-4IGRW7SK.js.map | 1 + .../interceptors/lib/node/chunk-5KMS5CTP.mjs | 230 ++++ .../lib/node/chunk-5KMS5CTP.mjs.map | 1 + .../interceptors/lib/node/chunk-6HYIRFX2.mjs | 22 + .../lib/node/chunk-6HYIRFX2.mjs.map | 1 + .../interceptors/lib/node/chunk-6L3PFBGT.js | 230 ++++ .../lib/node/chunk-6L3PFBGT.js.map | 1 + .../interceptors/lib/node/chunk-6YM4PLBI.mjs | 7 + .../lib/node/chunk-6YM4PLBI.mjs.map | 1 + .../interceptors/lib/node/chunk-73NOP3T5.js | 7 + .../lib/node/chunk-73NOP3T5.js.map | 1 + .../interceptors/lib/node/chunk-CTGTMEFD.mjs | 310 +++++ .../lib/node/chunk-CTGTMEFD.mjs.map | 1 + .../interceptors/lib/node/chunk-I7HQIBT7.mjs | 245 ++++ .../lib/node/chunk-I7HQIBT7.mjs.map | 1 + .../interceptors/lib/node/chunk-LCA4FKWY.js | 844 +++++++++++++ .../lib/node/chunk-LCA4FKWY.js.map | 1 + .../interceptors/lib/node/chunk-LEA3MUU3.js | 310 +++++ .../lib/node/chunk-LEA3MUU3.js.map | 1 + .../interceptors/lib/node/chunk-LK6DILFK.js | 22 + .../lib/node/chunk-LK6DILFK.js.map | 1 + .../interceptors/lib/node/chunk-OMWE7UVM.mjs | 844 +++++++++++++ .../lib/node/chunk-OMWE7UVM.mjs.map | 1 + .../interceptors/lib/node/chunk-PFGO5BSM.js | 25 + .../lib/node/chunk-PFGO5BSM.js.map | 1 + .../interceptors/lib/node/chunk-PJA4E426.mjs | 51 + .../lib/node/chunk-PJA4E426.mjs.map | 1 + .../interceptors/lib/node/chunk-QFFDMWKW.mjs | 1053 +++++++++++++++++ .../lib/node/chunk-QFFDMWKW.mjs.map | 1 + .../interceptors/lib/node/chunk-TX5GBTFY.mjs | 25 + .../lib/node/chunk-TX5GBTFY.mjs.map | 1 + .../interceptors/lib/node/chunk-WZTE4PCO.js | 245 ++++ .../lib/node/chunk-WZTE4PCO.js.map | 1 + .../interceptors/lib/node/chunk-YBN5MFAP.js | 51 + .../lib/node/chunk-YBN5MFAP.js.map | 1 + .../@mswjs/interceptors/lib/node/index.d.ts | 48 + .../@mswjs/interceptors/lib/node/index.js | 39 + .../@mswjs/interceptors/lib/node/index.js.map | 1 + .../@mswjs/interceptors/lib/node/index.mjs | 39 + .../interceptors/lib/node/index.mjs.map | 1 + .../interceptors/ClientRequest/index.d.ts | 93 ++ .../node/interceptors/ClientRequest/index.js | 9 + .../interceptors/ClientRequest/index.js.map | 1 + .../node/interceptors/ClientRequest/index.mjs | 9 + .../interceptors/ClientRequest/index.mjs.map | 1 + .../interceptors/XMLHttpRequest/index.d.ts | 14 + .../node/interceptors/XMLHttpRequest/index.js | 12 + .../interceptors/XMLHttpRequest/index.js.map | 1 + .../interceptors/XMLHttpRequest/index.mjs | 12 + .../interceptors/XMLHttpRequest/index.mjs.map | 1 + .../lib/node/interceptors/fetch/index.d.ts | 13 + .../lib/node/interceptors/fetch/index.js | 11 + .../lib/node/interceptors/fetch/index.js.map | 1 + .../lib/node/interceptors/fetch/index.mjs | 11 + .../lib/node/interceptors/fetch/index.mjs.map | 1 + .../interceptors/lib/node/presets/node.d.ts | 16 + .../interceptors/lib/node/presets/node.js | 25 + .../interceptors/lib/node/presets/node.js.map | 1 + .../interceptors/lib/node/presets/node.mjs | 25 + .../lib/node/presets/node.mjs.map | 1 + node_modules/@mswjs/interceptors/package.json | 202 ++++ .../interceptors/src/BatchInterceptor.test.ts | 255 ++++ .../interceptors/src/BatchInterceptor.ts | 95 ++ .../interceptors/src/Interceptor.test.ts | 205 ++++ .../@mswjs/interceptors/src/Interceptor.ts | 249 ++++ .../interceptors/src/InterceptorError.ts | 7 + .../interceptors/src/RemoteHttpInterceptor.ts | 244 ++++ .../src/RequestController.test.ts | 49 + .../interceptors/src/RequestController.ts | 81 ++ .../interceptors/src/createRequestId.test.ts | 7 + .../interceptors/src/createRequestId.ts | 9 + .../@mswjs/interceptors/src/glossary.ts | 37 + node_modules/@mswjs/interceptors/src/index.ts | 9 + .../ClientRequest/MockHttpSocket.ts | 628 ++++++++++ .../src/interceptors/ClientRequest/agents.ts | 86 ++ .../interceptors/ClientRequest/index.test.ts | 75 ++ .../src/interceptors/ClientRequest/index.ts | 170 +++ .../utils/getIncomingMessageBody.test.ts | 54 + .../utils/getIncomingMessageBody.ts | 45 + .../utils/normalizeClientRequestArgs.test.ts | 447 +++++++ .../utils/normalizeClientRequestArgs.ts | 288 +++++ .../utils/recordRawHeaders.test.ts | 258 ++++ .../ClientRequest/utils/recordRawHeaders.ts | 262 ++++ .../interceptors/Socket/MockSocket.test.ts | 264 +++++ .../src/interceptors/Socket/MockSocket.ts | 58 + .../utils/baseUrlFromConnectionOptions.ts | 26 + .../utils/normalizeSocketWriteArgs.test.ts | 52 + .../Socket/utils/normalizeSocketWriteArgs.ts | 33 + .../WebSocket/WebSocketClassTransport.ts | 116 ++ .../WebSocket/WebSocketClientConnection.ts | 138 +++ .../WebSocket/WebSocketOverride.ts | 251 ++++ .../WebSocket/WebSocketServerConnection.ts | 398 +++++++ .../WebSocket/WebSocketTransport.ts | 39 + .../src/interceptors/WebSocket/index.ts | 170 +++ .../WebSocket/utils/bindEvent.test.ts | 27 + .../interceptors/WebSocket/utils/bindEvent.ts | 21 + .../WebSocket/utils/events.test.ts | 101 ++ .../interceptors/WebSocket/utils/events.ts | 94 ++ .../XMLHttpRequestController.ts | 734 ++++++++++++ .../XMLHttpRequest/XMLHttpRequestProxy.ts | 118 ++ .../src/interceptors/XMLHttpRequest/index.ts | 61 + .../XMLHttpRequest/polyfills/EventPolyfill.ts | 51 + .../polyfills/ProgressEventPolyfill.ts | 17 + .../XMLHttpRequest/utils/concatArrayBuffer.ts | 12 + .../utils/concateArrayBuffer.test.ts | 12 + .../XMLHttpRequest/utils/createEvent.test.ts | 26 + .../XMLHttpRequest/utils/createEvent.ts | 41 + .../XMLHttpRequest/utils/createResponse.ts | 49 + .../utils/getBodyByteLength.test.ts | 164 +++ .../XMLHttpRequest/utils/getBodyByteLength.ts | 16 + .../utils/isDomParserSupportedType.ts | 14 + .../src/interceptors/fetch/index.ts | 186 +++ .../fetch/utils/brotli-decompress.browser.ts | 14 + .../fetch/utils/brotli-decompress.ts | 31 + .../fetch/utils/createNetworkError.ts | 5 + .../interceptors/fetch/utils/decompression.ts | 85 ++ .../fetch/utils/followRedirect.ts | 108 ++ .../interceptors/src/presets/browser.ts | 11 + .../@mswjs/interceptors/src/presets/node.ts | 13 + .../src/utils/RequestController.ts | 21 + .../src/utils/bufferUtils.test.ts | 21 + .../interceptors/src/utils/bufferUtils.ts | 22 + .../interceptors/src/utils/canParseUrl.ts | 13 + .../src/utils/cloneObject.test.ts | 94 ++ .../interceptors/src/utils/cloneObject.ts | 36 + .../src/utils/createProxy.test.ts | 162 +++ .../interceptors/src/utils/createProxy.ts | 104 ++ .../interceptors/src/utils/emitAsync.ts | 25 + .../interceptors/src/utils/fetchUtils.ts | 93 ++ .../src/utils/findPropertySource.test.ts | 27 + .../src/utils/findPropertySource.ts | 20 + .../src/utils/getCleanUrl.test.ts | 32 + .../interceptors/src/utils/getCleanUrl.ts | 6 + .../src/utils/getUrlByRequestOptions.test.ts | 163 +++ .../src/utils/getUrlByRequestOptions.ts | 152 +++ .../src/utils/getValueBySymbol.test.ts | 14 + .../src/utils/getValueBySymbol.ts | 19 + .../interceptors/src/utils/handleRequest.ts | 217 ++++ .../src/utils/hasConfigurableGlobal.test.ts | 83 ++ .../src/utils/hasConfigurableGlobal.ts | 34 + .../interceptors/src/utils/isNodeLikeError.ts | 13 + .../interceptors/src/utils/isObject.test.ts | 21 + .../@mswjs/interceptors/src/utils/isObject.ts | 8 + .../src/utils/isPropertyAccessible.ts | 19 + .../@mswjs/interceptors/src/utils/nextTick.ts | 11 + .../interceptors/src/utils/parseJson.test.ts | 10 + .../interceptors/src/utils/parseJson.ts | 12 + .../interceptors/src/utils/responseUtils.ts | 39 + .../@open-draft/deferred-promise/README.md | 191 +++ .../deferred-promise/build/index.d.mts | 27 + .../deferred-promise/build/index.d.ts | 27 + .../deferred-promise/build/index.js | 99 ++ .../deferred-promise/build/index.js.map | 1 + .../deferred-promise/build/index.mjs | 72 ++ .../deferred-promise/build/index.mjs.map | 1 + .../@open-draft/deferred-promise/package.json | 49 + node_modules/@open-draft/logger/LICENSE | 9 + node_modules/@open-draft/logger/README.md | 225 ++++ .../@open-draft/logger/lib/index.d.ts | 83 ++ node_modules/@open-draft/logger/lib/index.js | 295 +++++ node_modules/@open-draft/logger/lib/index.mjs | 281 +++++ node_modules/@open-draft/logger/package.json | 56 + node_modules/@open-draft/until/LICENSE | 21 + node_modules/@open-draft/until/README.md | 150 +++ node_modules/@open-draft/until/lib/index.d.ts | 15 + node_modules/@open-draft/until/lib/index.js | 41 + .../@open-draft/until/lib/index.js.map | 1 + node_modules/@open-draft/until/lib/index.mjs | 15 + .../@open-draft/until/lib/index.mjs.map | 1 + node_modules/@open-draft/until/package.json | 37 + .../rules/no-duplicate-type-constituents.js | 168 +-- .../no-duplicate-type-constituents.js.map | 2 +- .../dist/rules/no-extraneous-class.js | 7 +- .../dist/rules/no-extraneous-class.js.map | 2 +- .../eslint-plugin/dist/rules/no-shadow.js | 5 +- .../eslint-plugin/dist/rules/no-shadow.js.map | 2 +- .../dist/rules/no-unnecessary-condition.js | 50 +- .../rules/no-unnecessary-condition.js.map | 2 +- .../no-unnecessary-template-expression.js | 430 ++++--- .../no-unnecessary-template-expression.js.map | 2 +- .../dist/rules/prefer-nullish-coalescing.js | 162 ++- .../rules/prefer-nullish-coalescing.js.map | 2 +- .../dist/rules/prefer-readonly.js | 59 +- .../dist/rules/prefer-readonly.js.map | 2 +- .../dist/util/getValueOfLiteralType.js | 17 + .../dist/util/getValueOfLiteralType.js.map | 1 + .../eslint-plugin/dist/util/index.js | 2 + .../eslint-plugin/dist/util/index.js.map | 2 +- .../dist/util/truthinessAndNullishUtils.js | 68 ++ .../util/truthinessAndNullishUtils.js.map | 1 + .../docs/rules/consistent-type-imports.mdx | 4 +- .../docs/rules/no-explicit-any.mdx | 1 + .../eslint-plugin/docs/rules/no-namespace.mdx | 16 +- .../docs/rules/no-require-imports.mdx | 26 +- .../no-unnecessary-template-expression.mdx | 19 + .../docs/rules/no-unsafe-argument.mdx | 1 + .../docs/rules/no-unsafe-assignment.mdx | 1 + .../docs/rules/no-unsafe-call.mdx | 1 + .../docs/rules/no-unsafe-function-type.mdx | 1 + .../docs/rules/no-unsafe-member-access.mdx | 1 + .../docs/rules/no-unsafe-return.mdx | 1 + .../docs/rules/no-unused-vars.mdx | 69 +- .../docs/rules/prefer-nullish-coalescing.mdx | 5 + ...use-unknown-in-catch-callback-variable.mdx | 4 + .../scope-manager/package.json | 8 +- .../types/dist/parser-options.d.ts | 1 + .../types/dist/parser-options.d.ts.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../dist/createParserServices.d.ts.map | 2 +- .../dist/createParserServices.js | 2 + .../dist/createParserServices.js.map | 2 +- .../dist/parser-options.d.ts | 1 + .../dist/parser-options.d.ts.map | 2 +- .../typescript-estree/package.json | 6 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../eslint-plugin/package.json | 14 +- .../parser/dist/parser.d.ts.map | 2 +- .../@typescript-eslint/parser/dist/parser.js | 1 + .../parser/dist/parser.js.map | 2 +- .../scope-manager/package.json | 8 +- .../types/dist/parser-options.d.ts | 1 + .../types/dist/parser-options.d.ts.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../dist/createParserServices.d.ts.map | 2 +- .../dist/createParserServices.js | 2 + .../dist/createParserServices.js.map | 2 +- .../dist/parser-options.d.ts | 1 + .../dist/parser-options.d.ts.map | 2 +- .../typescript-estree/package.json | 6 +- .../visitor-keys/package.json | 4 +- .../@typescript-eslint/parser/package.json | 10 +- .../dist/TypeOrValueSpecifier.d.ts.map | 2 +- .../type-utils/dist/TypeOrValueSpecifier.js | 48 +- .../dist/TypeOrValueSpecifier.js.map | 2 +- .../specifierNameMatches.d.ts.map | 2 +- .../specifierNameMatches.js | 37 - .../specifierNameMatches.js.map | 2 +- .../scope-manager/package.json | 8 +- .../types/dist/parser-options.d.ts | 1 + .../types/dist/parser-options.d.ts.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../dist/createParserServices.d.ts.map | 2 +- .../dist/createParserServices.js | 2 + .../dist/createParserServices.js.map | 2 +- .../dist/parser-options.d.ts | 1 + .../dist/parser-options.d.ts.map | 2 +- .../typescript-estree/package.json | 6 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../type-utils/package.json | 8 +- node_modules/is-node-process/README.md | 35 + node_modules/is-node-process/lib/index.d.ts | 6 + node_modules/is-node-process/lib/index.js | 42 + node_modules/is-node-process/lib/index.js.map | 1 + node_modules/is-node-process/lib/index.mjs | 18 + .../is-node-process/lib/index.mjs.map | 1 + node_modules/is-node-process/package.json | 43 + node_modules/nock/README.md | 57 +- node_modules/nock/lib/back.js | 4 +- node_modules/nock/lib/common.js | 108 +- node_modules/nock/lib/create_response.js | 53 + node_modules/nock/lib/debug.js | 12 + node_modules/nock/lib/intercept.js | 139 +-- .../nock/lib/intercepted_request_router.js | 18 +- node_modules/nock/lib/interceptor.js | 9 +- node_modules/nock/lib/match_body.js | 5 +- node_modules/nock/lib/playback_interceptor.js | 2 +- node_modules/nock/lib/recorder.js | 157 ++- node_modules/nock/lib/scope.js | 4 +- node_modules/nock/lib/socket.js | 2 +- node_modules/nock/package.json | 8 +- node_modules/nock/types/index.d.ts | 5 + node_modules/outvariant/LICENSE | 9 + node_modules/outvariant/README.md | 146 +++ node_modules/outvariant/lib/index.d.ts | 21 + node_modules/outvariant/lib/index.js | 120 ++ node_modules/outvariant/lib/index.js.map | 1 + node_modules/outvariant/lib/index.mjs | 91 ++ node_modules/outvariant/lib/index.mjs.map | 1 + node_modules/outvariant/package.json | 47 + node_modules/strict-event-emitter/README.md | 79 ++ .../strict-event-emitter/lib/index.d.ts | 81 ++ .../strict-event-emitter/lib/index.js | 198 ++++ .../strict-event-emitter/lib/index.js.map | 1 + .../strict-event-emitter/lib/index.mjs | 171 +++ .../strict-event-emitter/lib/index.mjs.map | 1 + .../strict-event-emitter/package.json | 41 + 360 files changed, 25666 insertions(+), 910 deletions(-) create mode 100644 node_modules/@mswjs/interceptors/ClientRequest/package.json create mode 100644 node_modules/@mswjs/interceptors/LICENSE.md create mode 100644 node_modules/@mswjs/interceptors/README.md create mode 100644 node_modules/@mswjs/interceptors/RemoteHttpInterceptor/package.json create mode 100644 node_modules/@mswjs/interceptors/WebSocket/package.json create mode 100644 node_modules/@mswjs/interceptors/XMLHttpRequest/package.json create mode 100644 node_modules/@mswjs/interceptors/fetch/package.json create mode 100644 node_modules/@mswjs/interceptors/lib/browser/Interceptor-af98b768.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/glossary-6564c252.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/browser/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/browser/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/presets/browser.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/browser/presets/browser.js create mode 100644 node_modules/@mswjs/interceptors/lib/browser/presets/browser.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-67bf41ba.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/Interceptor-436630be.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/presets/node.d.ts create mode 100644 node_modules/@mswjs/interceptors/lib/node/presets/node.js create mode 100644 node_modules/@mswjs/interceptors/lib/node/presets/node.js.map create mode 100644 node_modules/@mswjs/interceptors/lib/node/presets/node.mjs create mode 100644 node_modules/@mswjs/interceptors/lib/node/presets/node.mjs.map create mode 100644 node_modules/@mswjs/interceptors/package.json create mode 100644 node_modules/@mswjs/interceptors/src/BatchInterceptor.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/BatchInterceptor.ts create mode 100644 node_modules/@mswjs/interceptors/src/Interceptor.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/Interceptor.ts create mode 100644 node_modules/@mswjs/interceptors/src/InterceptorError.ts create mode 100644 node_modules/@mswjs/interceptors/src/RemoteHttpInterceptor.ts create mode 100644 node_modules/@mswjs/interceptors/src/RequestController.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/RequestController.ts create mode 100644 node_modules/@mswjs/interceptors/src/createRequestId.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/createRequestId.ts create mode 100644 node_modules/@mswjs/interceptors/src/glossary.ts create mode 100644 node_modules/@mswjs/interceptors/src/index.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/MockHttpSocket.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/agents.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClassTransport.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketOverride.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketServerConnection.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketTransport.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/index.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/index.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concateArrayBuffer.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createResponse.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.browser.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/createNetworkError.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/decompression.ts create mode 100644 node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/followRedirect.ts create mode 100644 node_modules/@mswjs/interceptors/src/presets/browser.ts create mode 100644 node_modules/@mswjs/interceptors/src/presets/node.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/RequestController.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/bufferUtils.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/bufferUtils.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/canParseUrl.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/cloneObject.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/cloneObject.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/createProxy.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/createProxy.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/emitAsync.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/fetchUtils.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/findPropertySource.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/findPropertySource.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/getCleanUrl.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/getCleanUrl.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/handleRequest.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/isNodeLikeError.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/isObject.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/isObject.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/isPropertyAccessible.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/nextTick.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/parseJson.test.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/parseJson.ts create mode 100644 node_modules/@mswjs/interceptors/src/utils/responseUtils.ts create mode 100644 node_modules/@open-draft/deferred-promise/README.md create mode 100644 node_modules/@open-draft/deferred-promise/build/index.d.mts create mode 100644 node_modules/@open-draft/deferred-promise/build/index.d.ts create mode 100644 node_modules/@open-draft/deferred-promise/build/index.js create mode 100644 node_modules/@open-draft/deferred-promise/build/index.js.map create mode 100644 node_modules/@open-draft/deferred-promise/build/index.mjs create mode 100644 node_modules/@open-draft/deferred-promise/build/index.mjs.map create mode 100644 node_modules/@open-draft/deferred-promise/package.json create mode 100644 node_modules/@open-draft/logger/LICENSE create mode 100644 node_modules/@open-draft/logger/README.md create mode 100644 node_modules/@open-draft/logger/lib/index.d.ts create mode 100644 node_modules/@open-draft/logger/lib/index.js create mode 100644 node_modules/@open-draft/logger/lib/index.mjs create mode 100644 node_modules/@open-draft/logger/package.json create mode 100644 node_modules/@open-draft/until/LICENSE create mode 100644 node_modules/@open-draft/until/README.md create mode 100644 node_modules/@open-draft/until/lib/index.d.ts create mode 100644 node_modules/@open-draft/until/lib/index.js create mode 100644 node_modules/@open-draft/until/lib/index.js.map create mode 100644 node_modules/@open-draft/until/lib/index.mjs create mode 100644 node_modules/@open-draft/until/lib/index.mjs.map create mode 100644 node_modules/@open-draft/until/package.json create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js.map create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js create mode 100644 node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js.map create mode 100644 node_modules/is-node-process/README.md create mode 100644 node_modules/is-node-process/lib/index.d.ts create mode 100644 node_modules/is-node-process/lib/index.js create mode 100644 node_modules/is-node-process/lib/index.js.map create mode 100644 node_modules/is-node-process/lib/index.mjs create mode 100644 node_modules/is-node-process/lib/index.mjs.map create mode 100644 node_modules/is-node-process/package.json create mode 100644 node_modules/nock/lib/create_response.js create mode 100644 node_modules/nock/lib/debug.js create mode 100644 node_modules/outvariant/LICENSE create mode 100644 node_modules/outvariant/README.md create mode 100644 node_modules/outvariant/lib/index.d.ts create mode 100644 node_modules/outvariant/lib/index.js create mode 100644 node_modules/outvariant/lib/index.js.map create mode 100644 node_modules/outvariant/lib/index.mjs create mode 100644 node_modules/outvariant/lib/index.mjs.map create mode 100644 node_modules/outvariant/package.json create mode 100644 node_modules/strict-event-emitter/README.md create mode 100644 node_modules/strict-event-emitter/lib/index.d.ts create mode 100644 node_modules/strict-event-emitter/lib/index.js create mode 100644 node_modules/strict-event-emitter/lib/index.js.map create mode 100644 node_modules/strict-event-emitter/lib/index.mjs create mode 100644 node_modules/strict-event-emitter/lib/index.mjs.map create mode 100644 node_modules/strict-event-emitter/package.json diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index e62366786b..1f1c8a4a58 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -638,9 +638,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz", - "integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==", + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz", + "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==", "dev": true, "license": "MIT", "engines": { @@ -793,6 +793,24 @@ "node": ">= 14" } }, + "node_modules/@mswjs/interceptors": { + "version": "0.37.5", + "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.37.5.tgz", + "integrity": "sha512-AAwRb5vXFcY4L+FvZ7LZusDuZ0vEe0Zm8ohn1FM6/X7A3bj4mqmkAcGRWuvC2JwSygNwHAAmMnAI73vPHeqsHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-draft/deferred-promise": "^2.2.0", + "@open-draft/logger": "^0.3.0", + "@open-draft/until": "^2.0.0", + "is-node-process": "^1.2.0", + "outvariant": "^1.4.3", + "strict-event-emitter": "^0.5.1" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -1061,6 +1079,31 @@ "integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==", "license": "MIT" }, + "node_modules/@open-draft/deferred-promise": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz", + "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@open-draft/logger": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@open-draft/logger/-/logger-0.3.0.tgz", + "integrity": "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-node-process": "^1.2.0", + "outvariant": "^1.4.0" + } + }, + "node_modules/@open-draft/until": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@open-draft/until/-/until-2.1.0.tgz", + "integrity": "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==", + "dev": true, + "license": "MIT" + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -1292,17 +1335,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.21.0.tgz", - "integrity": "sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.22.0.tgz", + "integrity": "sha512-4Uta6REnz/xEJMvwf72wdUnC3rr4jAQf5jnTkeRQ9b6soxLxhDEbS/pfMPoJLDfFPNVRdryqWUIV/2GZzDJFZw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/type-utils": "8.21.0", - "@typescript-eslint/utils": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/type-utils": "8.22.0", + "@typescript-eslint/utils": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1322,14 +1365,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", - "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1340,9 +1383,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", - "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, "license": "MIT", "engines": { @@ -1354,14 +1397,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", - "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1381,16 +1424,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", - "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", + "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/typescript-estree": "8.21.0" + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1405,13 +1448,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", - "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/types": "8.22.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1475,16 +1518,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.21.0.tgz", - "integrity": "sha512-Wy+/sdEH9kI3w9civgACwabHbKl+qIOu0uFZ9IMKzX3Jpv9og0ZBJrZExGrPpFAY7rWsXuxs5e7CPPP17A4eYA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.22.0.tgz", + "integrity": "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/typescript-estree": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4" }, "engines": { @@ -1500,14 +1543,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", - "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1518,9 +1561,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", - "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, "license": "MIT", "engines": { @@ -1532,14 +1575,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", - "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1559,13 +1602,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", - "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/types": "8.22.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1647,14 +1690,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.21.0.tgz", - "integrity": "sha512-95OsL6J2BtzoBxHicoXHxgk3z+9P3BEcQTpBKriqiYzLKnM2DeSqs+sndMKdamU8FosiadQFT3D+BSL9EKnAJQ==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.22.0.tgz", + "integrity": "sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.21.0", - "@typescript-eslint/utils": "8.21.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/utils": "8.22.0", "debug": "^4.3.4", "ts-api-utils": "^2.0.0" }, @@ -1671,14 +1714,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", - "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1689,9 +1732,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", - "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, "license": "MIT", "engines": { @@ -1703,14 +1746,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", - "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1730,16 +1773,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", - "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", + "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/typescript-estree": "8.21.0" + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1754,13 +1797,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", - "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/types": "8.22.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -5160,6 +5203,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-node-process": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz", + "integrity": "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==", + "dev": true, + "license": "MIT" + }, "node_modules/is-number": { "version": "7.0.0", "license": "MIT", @@ -5803,17 +5853,18 @@ "license": "0BSD" }, "node_modules/nock": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.6.tgz", - "integrity": "sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/nock/-/nock-14.0.0.tgz", + "integrity": "sha512-3Z2ZoZoYTR/y2I+NI16+6IzfZFKBX7MrADtoBAm7v/QKqxQUhKw+Dh+847PPS1j/FDutjfIXfrh3CJF74yITWg==", "dev": true, + "license": "MIT", "dependencies": { - "debug": "^4.1.0", + "@mswjs/interceptors": "^0.37.3", "json-stringify-safe": "^5.0.1", "propagate": "^2.0.0" }, "engines": { - "node": ">= 10.13" + "node": ">= 18" } }, "node_modules/node-fetch": { @@ -6041,6 +6092,13 @@ "node": ">= 0.8.0" } }, + "node_modules/outvariant": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.3.tgz", + "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==", + "dev": true, + "license": "MIT" + }, "node_modules/p-defer": { "version": "1.0.0", "dev": true, @@ -6885,6 +6943,13 @@ "bare-events": "^2.2.0" } }, + "node_modules/strict-event-emitter": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz", + "integrity": "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==", + "dev": true, + "license": "MIT" + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", diff --git a/node_modules/@eslint/js/package.json b/node_modules/@eslint/js/package.json index 185c2eee11..1d0220dcf7 100644 --- a/node_modules/@eslint/js/package.json +++ b/node_modules/@eslint/js/package.json @@ -1,6 +1,6 @@ { "name": "@eslint/js", - "version": "9.18.0", + "version": "9.19.0", "description": "ESLint JavaScript language implementation", "main": "./src/index.js", "types": "./types/index.d.ts", diff --git a/node_modules/@mswjs/interceptors/ClientRequest/package.json b/node_modules/@mswjs/interceptors/ClientRequest/package.json new file mode 100644 index 0000000000..4ee863900b --- /dev/null +++ b/node_modules/@mswjs/interceptors/ClientRequest/package.json @@ -0,0 +1,6 @@ +{ + "main": "../lib/node/interceptors/ClientRequest/index.js", + "module": "../lib/node/interceptors/ClientRequest/index.mjs", + "browser": null, + "types": "../lib/node/interceptors/ClientRequest/index.d.ts" +} diff --git a/node_modules/@mswjs/interceptors/LICENSE.md b/node_modules/@mswjs/interceptors/LICENSE.md new file mode 100644 index 0000000000..e5c461e5fd --- /dev/null +++ b/node_modules/@mswjs/interceptors/LICENSE.md @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2018–present Artem Zakharchenko + +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/@mswjs/interceptors/README.md b/node_modules/@mswjs/interceptors/README.md new file mode 100644 index 0000000000..42b0f228a8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/README.md @@ -0,0 +1,623 @@ +[![Latest version](https://img.shields.io/npm/v/@mswjs/interceptors.svg)](https://www.npmjs.com/package/@mswjs/interceptors) + +# `@mswjs/interceptors` + +Low-level network interception library. + +This library supports intercepting the following protocols: + +- HTTP (via the `http` module, `XMLHttpRequest`, or `globalThis.fetch`); +- [WebSocket](#websocket-interception) (the `WebSocket` class in Undici and in the browser). + +## Motivation + +While there are a lot of network mocking libraries, they tend to use request interception as an implementation detail, giving you a high-level API that includes request matching, timeouts, recording, and so forth. + +This library is a barebones implementation that provides as little abstraction as possible to execute arbitrary logic upon any request. It's primarily designed as an underlying component for high-level API mocking solutions such as [Mock Service Worker](https://github.com/mswjs/msw). + +### How is this library different? + +A traditional API mocking implementation in Node.js looks roughly like this: + +```js +import http from 'node:http' + +// Store the original request function. +const originalHttpRequest = http.request + +// Override the request function entirely. +http.request = function (...args) { + // Decide if the outgoing request matches a predicate. + if (predicate(args)) { + // If it does, never create a request, respond to it + // using the mocked response from this blackbox. + return coerceToResponse.bind(this, mock) + } + + // Otherwise, construct the original request + // and perform it as-is. + return originalHttpRequest(...args) +} +``` + +The core philosophy of Interceptors is to _run as much of the underlying network code as possible_. Strange for a network mocking library, isn't it? Turns out, respecting the system's integrity and executing more of the network code leads to more resilient tests and also helps to uncover bugs in the code that would otherwise go unnoticed. + +Interceptors heavily rely on _class extension_ instead of function and module overrides. By extending the native network code, it can surgically insert the interception and mocking pieces only where necessary, leaving the rest of the system intact. + +```js +class XMLHttpRequestProxy extends XMLHttpRequest { + async send() { + // Call the request listeners and see if any of them + // returns a mocked response for this request. + const mockedResponse = await waitForRequestListeners({ request }) + + // If there is a mocked response, use it. This actually + // transitions the XMLHttpRequest instance into the correct + // response state (below is a simplified illustration). + if (mockedResponse) { + // Handle the response headers. + this.request.status = mockedResponse.status + this.request.statusText = mockedResponse.statusText + this.request.responseUrl = mockedResponse.url + this.readyState = 2 + this.trigger('readystatechange') + + // Start streaming the response body. + this.trigger('loadstart') + this.readyState = 3 + this.trigger('readystatechange') + await streamResponseBody(mockedResponse) + + // Finish the response. + this.trigger('load') + this.trigger('loadend') + this.readyState = 4 + return + } + + // Otherwise, perform the original "XMLHttpRequest.prototype.send" call. + return super.send(...args) + } +} +``` + +> The request interception algorithms differ dramatically based on the request API. Interceptors acommodate for them all, bringing the intercepted requests to a common ground—the Fetch API `Request` instance. The same applies for responses, where a Fetch API `Response` instance is translated to the appropriate response format. + +This library aims to provide _full specification compliance_ with the APIs and protocols it extends. + +## What this library does + +This library extends the following native modules: + +- `http.get`/`http.request` +- `https.get`/`https.request` +- `XMLHttpRequest` +- `fetch` +- `WebSocket` + +Once extended, it intercepts and normalizes all requests to the Fetch API `Request` instances. This way, no matter the request source (`http.ClientRequest`, `XMLHttpRequest`, `window.Request`, etc), you always get a specification-compliant request instance to work with. + +You can respond to the intercepted HTTP request by constructing a Fetch API Response instance. Instead of designing custom abstractions, this library respects the Fetch API specification and takes the responsibility to coerce a single response declaration to the appropriate response formats based on the request-issuing modules (like `http.OutgoingMessage` to respond to `http.ClientRequest`, or updating `XMLHttpRequest` response-related properties). + +## What this library doesn't do + +- Does **not** provide any request matching logic; +- Does **not** handle requests by default. + +## Getting started + +```bash +npm install @mswjs/interceptors +``` + +## Interceptors + +To use this library you need to choose one or multiple interceptors to apply. There are different interceptors exported by this library to spy on respective request-issuing modules: + +- `ClientRequestInterceptor` to spy on `http.ClientRequest` (`http.get`/`http.request`); +- `XMLHttpRequestInterceptor` to spy on `XMLHttpRequest`; +- `FetchInterceptor` to spy on `fetch`. + +Use an interceptor by constructing it and attaching request/response listeners: + +```js +import { ClientRequestInterceptor } from '@mswjs/interceptors/ClientRequest' + +const interceptor = new ClientRequestInterceptor() + +// Enable the interception of requests. +interceptor.apply() + +// Listen to any "http.ClientRequest" being dispatched, +// and log its method and full URL. +interceptor.on('request', ({ request, requestId }) => { + console.log(request.method, request.url) +}) + +// Listen to any responses sent to "http.ClientRequest". +// Note that this listener is read-only and cannot affect responses. +interceptor.on( + 'response', + ({ response, isMockedResponse, request, requestId }) => { + console.log('response to %s %s was:', request.method, request.url, response) + } +) +``` + +All HTTP request interceptors implement the same events: + +- `request`, emitted whenever a request has been dispatched; +- `response`, emitted whenever any request receives a response. + +### Using multiple interceptors + +You can combine multiple interceptors to capture requests from different request-issuing modules at once. + +```js +import { BatchInterceptor } from '@mswjs/interceptors' +import { ClientRequestInterceptor } from '@mswjs/interceptors/ClientRequest' +import { XMLHttpRequestInterceptor } from '@mswjs/interceptors/XMLHttpRequest' + +const interceptor = new BatchInterceptor({ + name: 'my-interceptor', + interceptors: [ + new ClientRequestInterceptor(), + new XMLHttpRequestInterceptor(), + ], +}) + +interceptor.apply() + +// This "request" listener will be called on both +// "http.ClientRequest" and "XMLHttpRequest" being dispatched. +interceptor.on('request', listener) +``` + +> Note that you can use [pre-defined presets](#presets) that cover all the request sources for a given environment type. + +## Presets + +When using [`BatchInterceptor`](#batchinterceptor), you can provide a pre-defined preset to its "interceptors" option to capture all request for that environment. + +### Node.js preset + +This preset combines `ClientRequestInterceptor`, `XMLHttpRequestInterceptor` and is meant to be used in Node.js. + +```js +import { BatchInterceptor } from '@mswjs/interceptors' +import nodeInterceptors from '@mswjs/interceptors/presets/node' + +const interceptor = new BatchInterceptor({ + name: 'my-interceptor', + interceptors: nodeInterceptors, +}) + +interceptor.apply() + +interceptor.on('request', listener) +``` + +### Browser preset + +This preset combines `XMLHttpRequestInterceptor` and `FetchInterceptor` and is meant to be used in a browser. + +```js +import { BatchInterceptor } from '@mswjs/interceptors' +import browserInterceptors from '@mswjs/interceptors/presets/browser' + +const interceptor = new BatchInterceptor({ + name: 'my-interceptor', + interceptors: browserInterceptors, +}) + +interceptor.on('request', listener) +``` + +## Introspecting requests + +All HTTP request interceptors emit a "request" event. In the listener to this event, they expose a `request` reference, which is a [Fetch API Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) instance. + +> There are many ways to describe a request in Node.js but this library coerces different request definitions to a single specification-compliant `Request` instance to make the handling consistent. + +```js +interceptor.on('request', ({ request, requestId, controller }) => { + console.log(request.method, request.url) +}) +``` + +Since the exposed `request` instance implements the Fetch API specification, you can operate with it just as you do with the regular browser request. For example, this is how you would read the request body as JSON: + +```js +interceptor.on('request', async ({ request, requestId }) => { + const json = await request.clone().json() +}) +``` + +> **Do not forget to clone the request before reading its body!** + +## Modifying requests + +Request representations are readonly. You can, however, mutate the intercepted request's headers in the "request" listener: + +```js +interceptor.on('request', ({ request }) => { + request.headers.set('X-My-Header', 'true') +}) +``` + +> This restriction is done so that the library wouldn't have to unnecessarily synchronize the actual request instance and its Fetch API request representation. As of now, this library is not meant to be used as a full-scale proxy. + +## Mocking responses + +Although this library can be used purely for request introspection purposes, you can also affect request resolution by responding to any intercepted request within the "request" event. + +Access the `controller` object from the request event listener arguments and call its `controller.respondWith()` method, providing it with a mocked `Response` instance: + +```js +interceptor.on('request', ({ request, controller }) => { + controller.respondWith( + new Response( + JSON.stringify({ + firstName: 'John', + lastName: 'Maverick', + }), + { + status: 201, + statusText: 'Created', + headers: { + 'Content-Type': 'application/json', + }, + } + ) + ) +}) +``` + +> We use Fetch API `Response` class as the middle-ground for mocked response definition. This library then coerces the response instance to the appropriate response format (e.g. to `http.OutgoingMessage` in the case of `http.ClientRequest`). + +**The `Response` class is built-in in since Node.js 18. Use a Fetch API-compatible polyfill, like `node-fetch`, for older versions of Node.js.`** + +Note that a single request _can only be handled once_. You may want to introduce conditional logic, like routing, in your request listener but it's generally advised to use a higher-level library like [Mock Service Worker](https://github.com/mswjs/msw) that does request matching for you. + +Requests must be responded to within the same tick as the request listener. This means you cannot respond to a request using `setTimeout`, as this will delegate the callback to the next tick. If you wish to introduce asynchronous side-effects in the listener, consider making it an `async` function, awaiting any side-effects you need. + +```js +// Respond to all requests with a 500 response +// delayed by 500ms. +interceptor.on('request', async ({ controller }) => { + await sleep(500) + controller.respondWith(new Response(null, { status: 500 })) +}) +``` + +### Mocking response errors + +You can provide an instance of `Response.error()` to error the pending request. + +```js +interceptor.on('request', ({ request, controller }) => { + controller.respondWith(Response.error()) +}) +``` + +This will automatically translate to the appropriate request error based on the request client that issued the request. **Use this method to produce a generic network error**. + +> Note that the standard `Response.error()` API does not accept an error message. + +## Mocking errors + +Use the `controller.errorWith()` method to error the request. + +```js +interceptor.on('request', ({ request, controller }) => { + controller.errorWith(new Error('reason')) +}) +``` + +Unlike responding with `Response.error()`, you can provide an exact error reason to use to `.errorWith()`. **Use this method to error the request**. + +> Note that it is up to the request client to respect your custom error. Some clients, like `ClientRequest` will use the provided error message, while others, like `fetch`, will produce a generic `TypeError: failed to fetch` responses. Interceptors will try to preserve the original error in the `cause` property of such generic errors. + +## Observing responses + +You can use the "response" event to transparently observe any incoming responses in your Node.js process. + +```js +interceptor.on( + 'response', + ({ response, isMockedResponse, request, requestId }) => { + // react to the incoming response... + } +) +``` + +> Note that the `isMockedResponse` property will only be set to `true` if you resolved this request in the "request" event listener using the `controller.respondWith()` method and providing a mocked `Response` instance. + +## Error handling + +By default, all unhandled exceptions thrown within the `request` listener are coerced to 500 error responses, emulating those exceptions occurring on the actual server. You can listen to the exceptions by adding the `unhandledException` listener to the interceptor: + +```js +interceptor.on( + 'unhandledException', + ({ error, request, requestId, controller }) => { + console.log(error) + } +) +``` + +To opt out from the default coercion of unhandled exceptions to server responses, you need to either: + +1. Respond to the request with [a mocked response](#mocking-responses) (including error responses); +1. Propagate the error up by throwing it explicitly in the `unhandledException` listener. + +Here's an example of propagating the unhandled exception up: + +```js +interceptor.on('unhandledException', ({ error }) => { + // Now, any unhandled exception will NOT be coerced to a 500 error response, + // and instead will be thrown during the process execution as-is. + throw error +}) +``` + +## WebSocket interception + +You can intercept a WebSocket communication using the `WebSocketInterceptor` class. + +> [!IMPORTANT] +> This library only supports intercepting WebSocket connections created using the global WHATWG `WebSocket` class. Third-party transports, such as HTTP/XHR polling, are not supported by design due to their contrived nature. + +```js +import { WebSocketInterceptor } from '@mswjs/interceptors/WebSocket' + +const interceptor = new WebSocketInterceptor() +``` + +Unlike the HTTP-based interceptors that share the same `request`/`response` events, the WebSocket interceptor only emits the `connection` event and let's you handle the incoming/outgoing events in its listener. + +### Important defaults + +1. Intercepted WebSocket connections are _not opened_. To open the actual WebSocket connection, call [`server.connect()`](#connect) in the interceptor. +1. Once connected to the actual server, the outgoing client events are _forwarded to that server by default_. If you wish to prevent a client message from reaching the server, call `event.preventDefault()` for that client message event. +1. Once connected to the actual server, the incoming server events are _forwarded to the client by default_. If you wish to prevent a server message from reaching the client, call `event.preventDefault()` for the server message event. +1. Once connected to the actual server, the `close` event received from that server is _forwarded to the client by default_. If you wish to prevent that, call `event.preventDefault()` for that close event of the server. + +### WebSocket connection + +Whenever a WebSocket instance is constructed, the `connection` event is emitted on the WebSocket interceptor. + +```js +intereceptor.on('connection', ({ client }) => { + console.log(client.url) +}) +``` + +The `connection` event exposes the following arguments: + +| Name | Type | Description | +| -------- | --------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `client` | [`WebSocketClientConnection`](#websocketclientconnection) | An object representing a connected WebSocket client instance. | +| `server` | [`WebSocketServerConnection`](#websocketserverconnection) | An object representing the original WebSocket server connection. | +| `info` | `object` | Additional WebSocket connection information (like the original client `protocols`). | + +### `WebSocketClientConnection` + +#### `.addEventListener(type, listener)` + +- `type`, `string` +- `listener`, `EventListener` + +Adds an event listener to the given event type of the WebSocket client. + +```ts +interface WebSocketServerConnectionEventMap { + // Dispatched when the WebSocket client sends data. + message: (this: WebSocket, event: MessageEvent) => void + + // Dispatched when the WebSocket client is closed. + close: (this: WebSocket, event: CloseEvent) => void +} +``` + +```js +client.addEventListener('message', (event) => { + console.log('outgoing:', event.data) +}) +``` + +#### `.removeEventListener(type, listener)` + +- `type`, `string` +- `listener`, `EventListener` + +Removes the listener for the given event type. + +#### `.send(data)` + +- `data`, `string | Blob | ArrayBuffer` + +Sends the data to the intercepted WebSocket client. + +```js +client.send('text') +client.send(new Blob(['blob'])) +client.send(new TextEncoder().encode('array buffer')) +``` + +#### `.close(code, reason)` + +- `code`, close [status code](https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1). +- `reason`, [close reason](https://www.rfc-editor.org/rfc/rfc6455#section-7.1.6). + +Closes the client connection. Unlike the regular `WebSocket.prototype.close()`, the `client.close()` method can accept a non-configurable status codes, such as 1001, 1003, etc. + +```js +// Gracefully close the connection with the +// intercepted WebSocket client. +client.close() +``` + +```js +// Terminate the connection by emulating +// the server unable to process the received data. +client.close(1003) +``` + +### `WebSocketServerConnection` + +#### `.connect()` + +Establishes the connection to the original WebSocket server. Connection cannot be awaited. Any data sent via `server.send()` while connecting is buffered and flushed once the connection is open. + +#### `.addEventListener(type, listener)` + +- `type`, `string` +- `listener`, `EventListener` + +Adds an event listener to the given event type of the WebSocket server. + +```ts +interface WebSocketServerConnectionEventMap { + // Dispatched when the server connection is open. + open: (this: WebSocket, event: Event) => void + + // Dispatched when the server sends data to the client. + message: (this: WebSocket, event: MessageEvent) => void + + // Dispatched when the server connection closes. + close: (this: WebSocket, event: CloseEvent) => void +} +``` + +```js +server.addEventListener('message', (event) => { + console.log('incoming:', event.data) +}) +``` + +#### `.removeEventListener(type, listener)` + +- `type`, `string` +- `listener`, `EventListener` + +Removes the listener for the given event type. + +#### `.send(data)` + +- `data`, `string | Blob | ArrayBuffer` + +Sends the data to the original WebSocket server. Useful in a combination with the client-sent events forwarding: + +```js +client.addEventListener('message', (event) => { + server.send(event.data) +}) +``` + +#### `.close()` + +Closes the connection with the original WebSocket server. Unlike `client.close()`, closing the server connection does not accept any arguments and always asumes a graceful closure. Sending data via `server.send()` after the connection has been closed will have no effect. + +## API + +### `Interceptor` + +A generic class implemented by all interceptors. You do not interact with this class directly. + +```ts +class Interceptor { + // Applies the interceptor, enabling the interception of requests + // in the current process. + apply(): void + + // Listens to the public interceptor events. + // For HTTP requests, these are "request' and "response" events. + on(event, listener): void + + // Cleans up any side-effects introduced by the interceptor + // and disables the interception of requests. + dispose(): void +} +``` + +**For public consumption, use [interceptors](#interceptors) instead**. + +### `BatchInterceptor` + +Applies multiple request interceptors at the same time. + +```js +import { BatchInterceptor } from '@mswjs/interceptors' +import nodeInterceptors from '@mswjs/interceptors/presets/node' + +const interceptor = new BatchInterceptor({ + name: 'my-interceptor', + interceptors: nodeInterceptors, +}) + +interceptor.apply() + +interceptor.on('request', ({ request, requestId }) => { + // Inspect the intercepted "request". + // Optionally, return a mocked response. +}) +``` + +> Using the `/presets/node` interceptors preset is the recommended way to ensure all requests get intercepted, regardless of their origin. + +### `RemoteHttpInterceptor` + +Enables request interception in the current process while delegating the response resolution logic to the _parent process_. **Requires the current process to be a child process**. Requires the parent process to establish a resolver by calling the `createRemoteResolver` function. + +```js +// child.js +import { RemoteHttpInterceptor } from '@mswjs/interceptors/RemoteHttpInterceptor' +import { ClientRequestInterceptor } from '@mswjs/interceptors/ClientRequest' + +const interceptor = new RemoteHttpInterceptor({ + // Alternatively, you can use presets. + interceptors: [new ClientRequestInterceptor()], +}) + +interceptor.apply() + +process.on('disconnect', () => { + interceptor.dispose() +}) +``` + +You can still listen to and handle any requests in the child process via the `request` event listener. Keep in mind that a single request can only be responded to once. + +### `RemoteHttpResolver` + +Resolves an intercepted request in the given child `process`. Requires for that child process to enable request interception by calling the `createRemoteInterceptor` function. + +```js +// parent.js +import { spawn } from 'child_process' +import { RemoteHttpResolver } from '@mswjs/interceptors/RemoteHttpInterceptor' + +const appProcess = spawn('node', ['app.js'], { + stdio: ['inherit', 'inherit', 'inherit', 'ipc'], +}) + +const resolver = new RemoteHttpResolver({ + process: appProcess, +}) + +resolver.on('request', ({ request, requestId }) => { + // Optionally, return a mocked response + // for a request that occurred in the "appProcess". +}) + +resolver.apply() +``` + +## Special mention + +The following libraries were used as an inspiration to write this low-level API: + +- [`node`](https://github.com/nodejs/node) +- [`nock`](https://github.com/nock/nock) +- [`mock-xmlhttprequest`](https://github.com/berniegp/mock-xmlhttprequest) diff --git a/node_modules/@mswjs/interceptors/RemoteHttpInterceptor/package.json b/node_modules/@mswjs/interceptors/RemoteHttpInterceptor/package.json new file mode 100644 index 0000000000..bc5d53aaff --- /dev/null +++ b/node_modules/@mswjs/interceptors/RemoteHttpInterceptor/package.json @@ -0,0 +1,6 @@ +{ + "main": "../lib/node/RemoteHttpInterceptor.js", + "module": "../lib/node/RemoteHttpInterceptor.mjs", + "browser": null, + "types": "../lib/node/RemoteHttpInterceptor.d.ts" +} diff --git a/node_modules/@mswjs/interceptors/WebSocket/package.json b/node_modules/@mswjs/interceptors/WebSocket/package.json new file mode 100644 index 0000000000..52dfef27bd --- /dev/null +++ b/node_modules/@mswjs/interceptors/WebSocket/package.json @@ -0,0 +1,5 @@ +{ + "main": "../lib/browser/interceptors/WebSocket/index.js", + "module": "../lib/browser/interceptors/WebSocket/index.mjs", + "types": "../lib/browser/interceptors/WebSocket/index.d.ts" +} diff --git a/node_modules/@mswjs/interceptors/XMLHttpRequest/package.json b/node_modules/@mswjs/interceptors/XMLHttpRequest/package.json new file mode 100644 index 0000000000..8830bae0e2 --- /dev/null +++ b/node_modules/@mswjs/interceptors/XMLHttpRequest/package.json @@ -0,0 +1,6 @@ +{ + "main": "../lib/node/interceptors/XMLHttpRequest/index.js", + "module": "../lib/node/interceptors/XMLHttpRequest/index.mjs", + "browser": "../lib/browser/interceptors/XMLHttpRequest/index.js", + "types": "../lib/node/interceptors/XMLHttpRequest/index.d.ts" +} diff --git a/node_modules/@mswjs/interceptors/fetch/package.json b/node_modules/@mswjs/interceptors/fetch/package.json new file mode 100644 index 0000000000..5e5dac8573 --- /dev/null +++ b/node_modules/@mswjs/interceptors/fetch/package.json @@ -0,0 +1,6 @@ +{ + "main": "../lib/node/interceptors/fetch/index.js", + "module": "../lib/node/interceptors/fetch/index.mjs", + "browser": "../lib/browser/interceptors/fetch/index.js", + "types": "../lib/node/interceptors/fetch/index.d.ts" +} diff --git a/node_modules/@mswjs/interceptors/lib/browser/Interceptor-af98b768.d.ts b/node_modules/@mswjs/interceptors/lib/browser/Interceptor-af98b768.d.ts new file mode 100644 index 0000000000..257c42dde0 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/Interceptor-af98b768.d.ts @@ -0,0 +1,63 @@ +import { Logger } from '@open-draft/logger'; +import { Emitter, Listener } from 'strict-event-emitter'; + +type InterceptorEventMap = Record; +type InterceptorSubscription = () => void; +/** + * Request header name to detect when a single request + * is being handled by nested interceptors (XHR -> ClientRequest). + * Obscure by design to prevent collisions with user-defined headers. + * Ideally, come up with the Interceptor-level mechanism for this. + * @see https://github.com/mswjs/interceptors/issues/378 + */ +declare const INTERNAL_REQUEST_ID_HEADER_NAME = "x-interceptors-internal-request-id"; +declare function getGlobalSymbol(symbol: Symbol): V | undefined; +declare function deleteGlobalSymbol(symbol: Symbol): void; +declare enum InterceptorReadyState { + INACTIVE = "INACTIVE", + APPLYING = "APPLYING", + APPLIED = "APPLIED", + DISPOSING = "DISPOSING", + DISPOSED = "DISPOSED" +} +type ExtractEventNames> = Events extends Record ? EventName : never; +declare class Interceptor { + private readonly symbol; + protected emitter: Emitter; + protected subscriptions: Array; + protected logger: Logger; + readyState: InterceptorReadyState; + constructor(symbol: symbol); + /** + * Determine if this interceptor can be applied + * in the current environment. + */ + protected checkEnvironment(): boolean; + /** + * Apply this interceptor to the current process. + * Returns an already running interceptor instance if it's present. + */ + apply(): void; + /** + * Setup the module augments and stubs necessary for this interceptor. + * This method is not run if there's a running interceptor instance + * to prevent instantiating an interceptor multiple times. + */ + protected setup(): void; + /** + * Listen to the interceptor's public events. + */ + on>(event: EventName, listener: Listener): this; + once>(event: EventName, listener: Listener): this; + off>(event: EventName, listener: Listener): this; + removeAllListeners>(event?: EventName): this; + /** + * Disposes of any side-effects this interceptor has introduced. + */ + dispose(): void; + private getInstance; + private setInstance; + private clearInstance; +} + +export { ExtractEventNames as E, Interceptor as I, InterceptorEventMap as a, InterceptorSubscription as b, INTERNAL_REQUEST_ID_HEADER_NAME as c, deleteGlobalSymbol as d, InterceptorReadyState as e, getGlobalSymbol as g }; diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs b/node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs new file mode 100644 index 0000000000..73f3289ca9 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs @@ -0,0 +1,83 @@ +// src/glossary.ts +var IS_PATCHED_MODULE = Symbol("isPatchedModule"); + +// src/utils/fetchUtils.ts +var _FetchResponse = class extends Response { + static isConfigurableStatusCode(status) { + return status >= 200 && status <= 599; + } + static isRedirectResponse(status) { + return _FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status); + } + /** + * Returns a boolean indicating whether the given response status + * code represents a response that can have a body. + */ + static isResponseWithBody(status) { + return !_FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status); + } + static setUrl(url, response) { + if (!url) { + return; + } + if (response.url != "") { + return; + } + Object.defineProperty(response, "url", { + value: url, + enumerable: true, + configurable: true, + writable: false + }); + } + /** + * Parses the given raw HTTP headers into a Fetch API `Headers` instance. + */ + static parseRawHeaders(rawHeaders) { + const headers = new Headers(); + for (let line = 0; line < rawHeaders.length; line += 2) { + headers.append(rawHeaders[line], rawHeaders[line + 1]); + } + return headers; + } + constructor(body, init = {}) { + var _a; + const status = (_a = init.status) != null ? _a : 200; + const safeStatus = _FetchResponse.isConfigurableStatusCode(status) ? status : 200; + const finalBody = _FetchResponse.isResponseWithBody(status) ? body : null; + super(finalBody, { + ...init, + status: safeStatus + }); + if (status !== safeStatus) { + const stateSymbol = Object.getOwnPropertySymbols(this).find( + (symbol) => symbol.description === "state" + ); + if (stateSymbol) { + const state = Reflect.get(this, stateSymbol); + Reflect.set(state, "status", status); + } else { + Object.defineProperty(this, "status", { + value: status, + enumerable: true, + configurable: true, + writable: false + }); + } + } + _FetchResponse.setUrl(init.url, this); + } +}; +var FetchResponse = _FetchResponse; +/** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ +FetchResponse.STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]; +FetchResponse.STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]; + +export { + IS_PATCHED_MODULE, + FetchResponse +}; +//# sourceMappingURL=chunk-5UK33FSU.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs.map new file mode 100644 index 0000000000..df0c20792c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/glossary.ts","../../src/utils/fetchUtils.ts"],"sourcesContent":["import type { RequestController } from './RequestController'\n\nexport const IS_PATCHED_MODULE: unique symbol = Symbol('isPatchedModule')\n\n/**\n * @note Export `RequestController` as a type only.\n * It's never meant to be created in the userland.\n */\nexport type { RequestController }\n\nexport type RequestCredentials = 'omit' | 'include' | 'same-origin'\n\nexport type HttpRequestEventMap = {\n request: [\n args: {\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n response: [\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ]\n unhandledException: [\n args: {\n error: unknown\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n}\n","export interface FetchResponseInit extends ResponseInit {\n url?: string\n}\n\nexport class FetchResponse extends Response {\n /**\n * Response status codes for responses that cannot have body.\n * @see https://fetch.spec.whatwg.org/#statuses\n */\n static readonly STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]\n\n static readonly STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]\n\n static isConfigurableStatusCode(status: number): boolean {\n return status >= 200 && status <= 599\n }\n\n static isRedirectResponse(status: number): boolean {\n return FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status)\n }\n\n /**\n * Returns a boolean indicating whether the given response status\n * code represents a response that can have a body.\n */\n static isResponseWithBody(status: number): boolean {\n return !FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status)\n }\n\n static setUrl(url: string | undefined, response: Response): void {\n if (!url) {\n return\n }\n\n if (response.url != '') {\n return\n }\n\n Object.defineProperty(response, 'url', {\n value: url,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n\n /**\n * Parses the given raw HTTP headers into a Fetch API `Headers` instance.\n */\n static parseRawHeaders(rawHeaders: Array): Headers {\n const headers = new Headers()\n for (let line = 0; line < rawHeaders.length; line += 2) {\n headers.append(rawHeaders[line], rawHeaders[line + 1])\n }\n return headers\n }\n\n constructor(body?: BodyInit | null, init: FetchResponseInit = {}) {\n const status = init.status ?? 200\n const safeStatus = FetchResponse.isConfigurableStatusCode(status)\n ? status\n : 200\n const finalBody = FetchResponse.isResponseWithBody(status) ? body : null\n\n super(finalBody, {\n ...init,\n status: safeStatus,\n })\n\n if (status !== safeStatus) {\n /**\n * @note Undici keeps an internal \"Symbol(state)\" that holds\n * the actual value of response status. Update that in Node.js.\n */\n const stateSymbol = Object.getOwnPropertySymbols(this).find(\n (symbol) => symbol.description === 'state'\n )\n if (stateSymbol) {\n const state = Reflect.get(this, stateSymbol) as object\n Reflect.set(state, 'status', status)\n } else {\n Object.defineProperty(this, 'status', {\n value: status,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n }\n\n FetchResponse.setUrl(init.url, this)\n }\n}\n"],"mappings":";AAEO,IAAM,oBAAmC,OAAO,iBAAiB;;;ACEjE,IAAM,iBAAN,cAA4B,SAAS;AAAA,EAS1C,OAAO,y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A,MACrC,OAAO;AACL,eAAO,eAAe,MAAM,UAAU;AAAA,UACpC,OAAO;AAAA,UACP,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,UAAU;AAAA,QACZ,CAAC;AAAA,MACH;AAAA,IACF;AAEA,mBAAc,OAAO,KAAK,KAAK,IAAI;AAAA,EACrC;AACF;AAxFO,IAAM,gBAAN;AAAA;AAAA;AAAA;AAAA;AAAM,cAKK,4BAA4B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;AALzD,cAOK,6BAA6B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs b/node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs new file mode 100644 index 0000000000..05b6c33cb2 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs @@ -0,0 +1,22 @@ +// src/utils/bufferUtils.ts +var encoder = new TextEncoder(); +function encodeBuffer(text) { + return encoder.encode(text); +} +function decodeBuffer(buffer, encoding) { + const decoder = new TextDecoder(encoding); + return decoder.decode(buffer); +} +function toArrayBuffer(array) { + return array.buffer.slice( + array.byteOffset, + array.byteOffset + array.byteLength + ); +} + +export { + encodeBuffer, + decodeBuffer, + toArrayBuffer +}; +//# sourceMappingURL=chunk-6HYIRFX2.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs.map new file mode 100644 index 0000000000..6f27915c41 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-6HYIRFX2.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/bufferUtils.ts"],"sourcesContent":["const encoder = new TextEncoder()\n\nexport function encodeBuffer(text: string): Uint8Array {\n return encoder.encode(text)\n}\n\nexport function decodeBuffer(buffer: ArrayBuffer, encoding?: string): string {\n const decoder = new TextDecoder(encoding)\n return decoder.decode(buffer)\n}\n\n/**\n * Create an `ArrayBuffer` from the given `Uint8Array`.\n * Takes the byte offset into account to produce the right buffer\n * in the case when the buffer is bigger than the data view.\n */\nexport function toArrayBuffer(array: Uint8Array): ArrayBuffer {\n return array.buffer.slice(\n array.byteOffset,\n array.byteOffset + array.byteLength\n )\n}\n"],"mappings":";AAAA,IAAM,UAAU,IAAI,YAAY;AAEzB,SAAS,aAAa,MAA0B;AACrD,SAAO,QAAQ,OAAO,IAAI;AAC5B;AAEO,SAAS,aAAa,QAAqB,UAA2B;AAC3E,QAAM,UAAU,IAAI,YAAY,QAAQ;AACxC,SAAO,QAAQ,OAAO,MAAM;AAC9B;AAOO,SAAS,cAAc,OAAgC;AAC5D,SAAO,MAAM,OAAO;AAAA,IAClB,MAAM;AAAA,IACN,MAAM,aAAa,MAAM;AAAA,EAC3B;AACF;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js b/node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js new file mode 100644 index 0000000000..dfa8d168b7 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js @@ -0,0 +1,83 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/glossary.ts +var IS_PATCHED_MODULE = Symbol("isPatchedModule"); + +// src/utils/fetchUtils.ts +var _FetchResponse = class extends Response { + static isConfigurableStatusCode(status) { + return status >= 200 && status <= 599; + } + static isRedirectResponse(status) { + return _FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status); + } + /** + * Returns a boolean indicating whether the given response status + * code represents a response that can have a body. + */ + static isResponseWithBody(status) { + return !_FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status); + } + static setUrl(url, response) { + if (!url) { + return; + } + if (response.url != "") { + return; + } + Object.defineProperty(response, "url", { + value: url, + enumerable: true, + configurable: true, + writable: false + }); + } + /** + * Parses the given raw HTTP headers into a Fetch API `Headers` instance. + */ + static parseRawHeaders(rawHeaders) { + const headers = new Headers(); + for (let line = 0; line < rawHeaders.length; line += 2) { + headers.append(rawHeaders[line], rawHeaders[line + 1]); + } + return headers; + } + constructor(body, init = {}) { + var _a; + const status = (_a = init.status) != null ? _a : 200; + const safeStatus = _FetchResponse.isConfigurableStatusCode(status) ? status : 200; + const finalBody = _FetchResponse.isResponseWithBody(status) ? body : null; + super(finalBody, { + ...init, + status: safeStatus + }); + if (status !== safeStatus) { + const stateSymbol = Object.getOwnPropertySymbols(this).find( + (symbol) => symbol.description === "state" + ); + if (stateSymbol) { + const state = Reflect.get(this, stateSymbol); + Reflect.set(state, "status", status); + } else { + Object.defineProperty(this, "status", { + value: status, + enumerable: true, + configurable: true, + writable: false + }); + } + } + _FetchResponse.setUrl(init.url, this); + } +}; +var FetchResponse = _FetchResponse; +/** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ +FetchResponse.STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]; +FetchResponse.STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]; + + + + +exports.IS_PATCHED_MODULE = IS_PATCHED_MODULE; exports.FetchResponse = FetchResponse; +//# sourceMappingURL=chunk-BC2BLJQN.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js.map new file mode 100644 index 0000000000..5fbb9c76b8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/glossary.ts","../../src/utils/fetchUtils.ts"],"names":[],"mappings":";AAEO,IAAM,oBAAmC,OAAO,iBAAiB;;;ACEjE,IAAM,iBAAN,cAA4B,SAAS;AAAA,EAS1C,OAAO,yBAAyB,QAAyB;AACvD,WAAO,UAAU,OAAO,UAAU;AAA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,UACpC,OAAO;AAAA,UACP,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,UAAU;AAAA,QACZ,CAAC;AAAA,MACH;AAAA,IACF;AAEA,mBAAc,OAAO,KAAK,KAAK,IAAI;AAAA,EACrC;AACF;AAxFO,IAAM,gBAAN;AAAA;AAAA;AAAA;AAAA;AAAM,cAKK,4BAA4B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;AALzD,cAOK,6BAA6B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG","sourcesContent":["import type { RequestController } from './RequestController'\n\nexport const IS_PATCHED_MODULE: unique symbol = Symbol('isPatchedModule')\n\n/**\n * @note Export `RequestController` as a type only.\n * It's never meant to be created in the userland.\n */\nexport type { RequestController }\n\nexport type RequestCredentials = 'omit' | 'include' | 'same-origin'\n\nexport type HttpRequestEventMap = {\n request: [\n args: {\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n response: [\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ]\n unhandledException: [\n args: {\n error: unknown\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n}\n","export interface FetchResponseInit extends ResponseInit {\n url?: string\n}\n\nexport class FetchResponse extends Response {\n /**\n * Response status codes for responses that cannot have body.\n * @see https://fetch.spec.whatwg.org/#statuses\n */\n static readonly STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]\n\n static readonly STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]\n\n static isConfigurableStatusCode(status: number): boolean {\n return status >= 200 && status <= 599\n }\n\n static isRedirectResponse(status: number): boolean {\n return FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status)\n }\n\n /**\n * Returns a boolean indicating whether the given response status\n * code represents a response that can have a body.\n */\n static isResponseWithBody(status: number): boolean {\n return !FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status)\n }\n\n static setUrl(url: string | undefined, response: Response): void {\n if (!url) {\n return\n }\n\n if (response.url != '') {\n return\n }\n\n Object.defineProperty(response, 'url', {\n value: url,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n\n /**\n * Parses the given raw HTTP headers into a Fetch API `Headers` instance.\n */\n static parseRawHeaders(rawHeaders: Array): Headers {\n const headers = new Headers()\n for (let line = 0; line < rawHeaders.length; line += 2) {\n headers.append(rawHeaders[line], rawHeaders[line + 1])\n }\n return headers\n }\n\n constructor(body?: BodyInit | null, init: FetchResponseInit = {}) {\n const status = init.status ?? 200\n const safeStatus = FetchResponse.isConfigurableStatusCode(status)\n ? status\n : 200\n const finalBody = FetchResponse.isResponseWithBody(status) ? body : null\n\n super(finalBody, {\n ...init,\n status: safeStatus,\n })\n\n if (status !== safeStatus) {\n /**\n * @note Undici keeps an internal \"Symbol(state)\" that holds\n * the actual value of response status. Update that in Node.js.\n */\n const stateSymbol = Object.getOwnPropertySymbols(this).find(\n (symbol) => symbol.description === 'state'\n )\n if (stateSymbol) {\n const state = Reflect.get(this, stateSymbol) as object\n Reflect.set(state, 'status', status)\n } else {\n Object.defineProperty(this, 'status', {\n value: status,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n }\n\n FetchResponse.setUrl(init.url, this)\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs b/node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs new file mode 100644 index 0000000000..42d1cced71 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs @@ -0,0 +1,844 @@ +import { + decodeBuffer, + encodeBuffer, + toArrayBuffer +} from "./chunk-6HYIRFX2.mjs"; +import { + RequestController, + handleRequest +} from "./chunk-H5O73WD2.mjs"; +import { + FetchResponse, + IS_PATCHED_MODULE +} from "./chunk-5UK33FSU.mjs"; +import { + hasConfigurableGlobal +} from "./chunk-TX5GBTFY.mjs"; +import { + INTERNAL_REQUEST_ID_HEADER_NAME, + Interceptor, + createRequestId +} from "./chunk-QED3Q6Z2.mjs"; + +// src/interceptors/XMLHttpRequest/index.ts +import { invariant as invariant2 } from "outvariant"; + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts +import { invariant } from "outvariant"; +import { isNodeProcess } from "is-node-process"; + +// src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts +function concatArrayBuffer(left, right) { + const result = new Uint8Array(left.byteLength + right.byteLength); + result.set(left, 0); + result.set(right, left.byteLength); + return result; +} + +// src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts +var EventPolyfill = class { + constructor(type, options) { + this.NONE = 0; + this.CAPTURING_PHASE = 1; + this.AT_TARGET = 2; + this.BUBBLING_PHASE = 3; + this.type = ""; + this.srcElement = null; + this.currentTarget = null; + this.eventPhase = 0; + this.isTrusted = true; + this.composed = false; + this.cancelable = true; + this.defaultPrevented = false; + this.bubbles = true; + this.lengthComputable = true; + this.loaded = 0; + this.total = 0; + this.cancelBubble = false; + this.returnValue = true; + this.type = type; + this.target = (options == null ? void 0 : options.target) || null; + this.currentTarget = (options == null ? void 0 : options.currentTarget) || null; + this.timeStamp = Date.now(); + } + composedPath() { + return []; + } + initEvent(type, bubbles, cancelable) { + this.type = type; + this.bubbles = !!bubbles; + this.cancelable = !!cancelable; + } + preventDefault() { + this.defaultPrevented = true; + } + stopPropagation() { + } + stopImmediatePropagation() { + } +}; + +// src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts +var ProgressEventPolyfill = class extends EventPolyfill { + constructor(type, init) { + super(type); + this.lengthComputable = (init == null ? void 0 : init.lengthComputable) || false; + this.composed = (init == null ? void 0 : init.composed) || false; + this.loaded = (init == null ? void 0 : init.loaded) || 0; + this.total = (init == null ? void 0 : init.total) || 0; + } +}; + +// src/interceptors/XMLHttpRequest/utils/createEvent.ts +var SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== "undefined"; +function createEvent(target, type, init) { + const progressEvents = [ + "error", + "progress", + "loadstart", + "loadend", + "load", + "timeout", + "abort" + ]; + const ProgressEventClass = SUPPORTS_PROGRESS_EVENT ? ProgressEvent : ProgressEventPolyfill; + const event = progressEvents.includes(type) ? new ProgressEventClass(type, { + lengthComputable: true, + loaded: (init == null ? void 0 : init.loaded) || 0, + total: (init == null ? void 0 : init.total) || 0 + }) : new EventPolyfill(type, { + target, + currentTarget: target + }); + return event; +} + +// src/utils/findPropertySource.ts +function findPropertySource(target, propertyName) { + if (!(propertyName in target)) { + return null; + } + const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName); + if (hasProperty) { + return target; + } + const prototype = Reflect.getPrototypeOf(target); + return prototype ? findPropertySource(prototype, propertyName) : null; +} + +// src/utils/createProxy.ts +function createProxy(target, options) { + const proxy = new Proxy(target, optionsToProxyHandler(options)); + return proxy; +} +function optionsToProxyHandler(options) { + const { constructorCall, methodCall, getProperty, setProperty } = options; + const handler = {}; + if (typeof constructorCall !== "undefined") { + handler.construct = function(target, args, newTarget) { + const next = Reflect.construct.bind(null, target, args, newTarget); + return constructorCall.call(newTarget, args, next); + }; + } + handler.set = function(target, propertyName, nextValue) { + const next = () => { + const propertySource = findPropertySource(target, propertyName) || target; + const ownDescriptors = Reflect.getOwnPropertyDescriptor( + propertySource, + propertyName + ); + if (typeof (ownDescriptors == null ? void 0 : ownDescriptors.set) !== "undefined") { + ownDescriptors.set.apply(target, [nextValue]); + return true; + } + return Reflect.defineProperty(propertySource, propertyName, { + writable: true, + enumerable: true, + configurable: true, + value: nextValue + }); + }; + if (typeof setProperty !== "undefined") { + return setProperty.call(target, [propertyName, nextValue], next); + } + return next(); + }; + handler.get = function(target, propertyName, receiver) { + const next = () => target[propertyName]; + const value = typeof getProperty !== "undefined" ? getProperty.call(target, [propertyName, receiver], next) : next(); + if (typeof value === "function") { + return (...args) => { + const next2 = value.bind(target, ...args); + if (typeof methodCall !== "undefined") { + return methodCall.call(target, [propertyName, args], next2); + } + return next2(); + }; + } + return value; + }; + return handler; +} + +// src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts +function isDomParserSupportedType(type) { + const supportedTypes = [ + "application/xhtml+xml", + "application/xml", + "image/svg+xml", + "text/html", + "text/xml" + ]; + return supportedTypes.some((supportedType) => { + return type.startsWith(supportedType); + }); +} + +// src/utils/parseJson.ts +function parseJson(data) { + try { + const json = JSON.parse(data); + return json; + } catch (_) { + return null; + } +} + +// src/interceptors/XMLHttpRequest/utils/createResponse.ts +function createResponse(request, body) { + const responseBodyOrNull = FetchResponse.isResponseWithBody(request.status) ? body : null; + return new FetchResponse(responseBodyOrNull, { + url: request.responseURL, + status: request.status, + statusText: request.statusText, + headers: createHeadersFromXMLHttpReqestHeaders( + request.getAllResponseHeaders() + ) + }); +} +function createHeadersFromXMLHttpReqestHeaders(headersString) { + const headers = new Headers(); + const lines = headersString.split(/[\r\n]+/); + for (const line of lines) { + if (line.trim() === "") { + continue; + } + const [name, ...parts] = line.split(": "); + const value = parts.join(": "); + headers.append(name, value); + } + return headers; +} + +// src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts +async function getBodyByteLength(input) { + const explicitContentLength = input.headers.get("content-length"); + if (explicitContentLength != null && explicitContentLength !== "") { + return Number(explicitContentLength); + } + const buffer = await input.arrayBuffer(); + return buffer.byteLength; +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts +var kIsRequestHandled = Symbol("kIsRequestHandled"); +var IS_NODE = isNodeProcess(); +var kFetchRequest = Symbol("kFetchRequest"); +var XMLHttpRequestController = class { + constructor(initialRequest, logger) { + this.initialRequest = initialRequest; + this.logger = logger; + this.method = "GET"; + this.url = null; + this[kIsRequestHandled] = false; + this.events = /* @__PURE__ */ new Map(); + this.uploadEvents = /* @__PURE__ */ new Map(); + this.requestId = createRequestId(); + this.requestHeaders = new Headers(); + this.responseBuffer = new Uint8Array(); + this.request = createProxy(initialRequest, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "ontimeout": { + const eventName = propertyName.slice( + 2 + ); + this.request.addEventListener(eventName, nextValue); + return invoke(); + } + default: { + return invoke(); + } + } + }, + methodCall: ([methodName, args], invoke) => { + var _a; + switch (methodName) { + case "open": { + const [method, url] = args; + if (typeof url === "undefined") { + this.method = "GET"; + this.url = toAbsoluteUrl(method); + } else { + this.method = method; + this.url = toAbsoluteUrl(url); + } + this.logger = this.logger.extend(`${this.method} ${this.url.href}`); + this.logger.info("open", this.method, this.url.href); + return invoke(); + } + case "addEventListener": { + const [eventName, listener] = args; + this.registerEvent(eventName, listener); + this.logger.info("addEventListener", eventName, listener); + return invoke(); + } + case "setRequestHeader": { + const [name, value] = args; + this.requestHeaders.set(name, value); + this.logger.info("setRequestHeader", name, value); + return invoke(); + } + case "send": { + const [body] = args; + this.request.addEventListener("load", () => { + if (typeof this.onResponse !== "undefined") { + const fetchResponse = createResponse( + this.request, + /** + * The `response` property is the right way to read + * the ambiguous response body, as the request's "responseType" may differ. + * @see https://xhr.spec.whatwg.org/#the-response-attribute + */ + this.request.response + ); + this.onResponse.call(this, { + response: fetchResponse, + isMockedResponse: this[kIsRequestHandled], + request: fetchRequest, + requestId: this.requestId + }); + } + }); + const requestBody = typeof body === "string" ? encodeBuffer(body) : body; + const fetchRequest = this.toFetchApiRequest(requestBody); + this[kFetchRequest] = fetchRequest.clone(); + const onceRequestSettled = ((_a = this.onRequest) == null ? void 0 : _a.call(this, { + request: fetchRequest, + requestId: this.requestId + })) || Promise.resolve(); + onceRequestSettled.finally(() => { + if (!this[kIsRequestHandled]) { + this.logger.info( + "request callback settled but request has not been handled (readystate %d), performing as-is...", + this.request.readyState + ); + if (IS_NODE) { + this.request.setRequestHeader( + INTERNAL_REQUEST_ID_HEADER_NAME, + this.requestId + ); + } + return invoke(); + } + }); + break; + } + default: { + return invoke(); + } + } + } + }); + define( + this.request, + "upload", + createProxy(this.request.upload, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "onloadstart": + case "onprogress": + case "onaboart": + case "onerror": + case "onload": + case "ontimeout": + case "onloadend": { + const eventName = propertyName.slice( + 2 + ); + this.registerUploadEvent(eventName, nextValue); + } + } + return invoke(); + }, + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "addEventListener": { + const [eventName, listener] = args; + this.registerUploadEvent(eventName, listener); + this.logger.info("upload.addEventListener", eventName, listener); + return invoke(); + } + } + } + }) + ); + } + registerEvent(eventName, listener) { + const prevEvents = this.events.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.events.set(eventName, nextEvents); + this.logger.info('registered event "%s"', eventName, listener); + } + registerUploadEvent(eventName, listener) { + const prevEvents = this.uploadEvents.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.uploadEvents.set(eventName, nextEvents); + this.logger.info('registered upload event "%s"', eventName, listener); + } + /** + * Responds to the current request with the given + * Fetch API `Response` instance. + */ + async respondWith(response) { + this[kIsRequestHandled] = true; + if (this[kFetchRequest]) { + const totalRequestBodyLength = await getBodyByteLength( + this[kFetchRequest] + ); + this.trigger("loadstart", this.request.upload, { + loaded: 0, + total: totalRequestBodyLength + }); + this.trigger("progress", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("load", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("loadend", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + } + this.logger.info( + "responding with a mocked response: %d %s", + response.status, + response.statusText + ); + define(this.request, "status", response.status); + define(this.request, "statusText", response.statusText); + define(this.request, "responseURL", this.url.href); + this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, { + apply: (_, __, args) => { + this.logger.info("getResponseHeader", args[0]); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning null"); + return null; + } + const headerValue = response.headers.get(args[0]); + this.logger.info( + 'resolved response header "%s" to', + args[0], + headerValue + ); + return headerValue; + } + }); + this.request.getAllResponseHeaders = new Proxy( + this.request.getAllResponseHeaders, + { + apply: () => { + this.logger.info("getAllResponseHeaders"); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning empty string"); + return ""; + } + const headersList = Array.from(response.headers.entries()); + const allHeaders = headersList.map(([headerName, headerValue]) => { + return `${headerName}: ${headerValue}`; + }).join("\r\n"); + this.logger.info("resolved all response headers to", allHeaders); + return allHeaders; + } + } + ); + Object.defineProperties(this.request, { + response: { + enumerable: true, + configurable: false, + get: () => this.response + }, + responseText: { + enumerable: true, + configurable: false, + get: () => this.responseText + }, + responseXML: { + enumerable: true, + configurable: false, + get: () => this.responseXML + } + }); + const totalResponseBodyLength = await getBodyByteLength(response.clone()); + this.logger.info("calculated response body length", totalResponseBodyLength); + this.trigger("loadstart", this.request, { + loaded: 0, + total: totalResponseBodyLength + }); + this.setReadyState(this.request.HEADERS_RECEIVED); + this.setReadyState(this.request.LOADING); + const finalizeResponse = () => { + this.logger.info("finalizing the mocked response..."); + this.setReadyState(this.request.DONE); + this.trigger("load", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + this.trigger("loadend", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + }; + if (response.body) { + this.logger.info("mocked response has body, streaming..."); + const reader = response.body.getReader(); + const readNextResponseBodyChunk = async () => { + const { value, done } = await reader.read(); + if (done) { + this.logger.info("response body stream done!"); + finalizeResponse(); + return; + } + if (value) { + this.logger.info("read response body chunk:", value); + this.responseBuffer = concatArrayBuffer(this.responseBuffer, value); + this.trigger("progress", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + } + readNextResponseBodyChunk(); + }; + readNextResponseBodyChunk(); + } else { + finalizeResponse(); + } + } + responseBufferToText() { + return decodeBuffer(this.responseBuffer); + } + get response() { + this.logger.info( + "getResponse (responseType: %s)", + this.request.responseType + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + switch (this.request.responseType) { + case "json": { + const responseJson = parseJson(this.responseBufferToText()); + this.logger.info("resolved response JSON", responseJson); + return responseJson; + } + case "arraybuffer": { + const arrayBuffer = toArrayBuffer(this.responseBuffer); + this.logger.info("resolved response ArrayBuffer", arrayBuffer); + return arrayBuffer; + } + case "blob": { + const mimeType = this.request.getResponseHeader("Content-Type") || "text/plain"; + const responseBlob = new Blob([this.responseBufferToText()], { + type: mimeType + }); + this.logger.info( + "resolved response Blob (mime type: %s)", + responseBlob, + mimeType + ); + return responseBlob; + } + default: { + const responseText = this.responseBufferToText(); + this.logger.info( + 'resolving "%s" response type as text', + this.request.responseType, + responseText + ); + return responseText; + } + } + } + get responseText() { + invariant( + this.request.responseType === "" || this.request.responseType === "text", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.LOADING && this.request.readyState !== this.request.DONE) { + return ""; + } + const responseText = this.responseBufferToText(); + this.logger.info('getResponseText: "%s"', responseText); + return responseText; + } + get responseXML() { + invariant( + this.request.responseType === "" || this.request.responseType === "document", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + const contentType = this.request.getResponseHeader("Content-Type") || ""; + if (typeof DOMParser === "undefined") { + console.warn( + "Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly." + ); + return null; + } + if (isDomParserSupportedType(contentType)) { + return new DOMParser().parseFromString( + this.responseBufferToText(), + contentType + ); + } + return null; + } + errorWith(error) { + this[kIsRequestHandled] = true; + this.logger.info("responding with an error"); + this.setReadyState(this.request.DONE); + this.trigger("error", this.request); + this.trigger("loadend", this.request); + } + /** + * Transitions this request's `readyState` to the given one. + */ + setReadyState(nextReadyState) { + this.logger.info( + "setReadyState: %d -> %d", + this.request.readyState, + nextReadyState + ); + if (this.request.readyState === nextReadyState) { + this.logger.info("ready state identical, skipping transition..."); + return; + } + define(this.request, "readyState", nextReadyState); + this.logger.info("set readyState to: %d", nextReadyState); + if (nextReadyState !== this.request.UNSENT) { + this.logger.info('triggerring "readystatechange" event...'); + this.trigger("readystatechange", this.request); + } + } + /** + * Triggers given event on the `XMLHttpRequest` instance. + */ + trigger(eventName, target, options) { + const callback = target[`on${eventName}`]; + const event = createEvent(target, eventName, options); + this.logger.info('trigger "%s"', eventName, options || ""); + if (typeof callback === "function") { + this.logger.info('found a direct "%s" callback, calling...', eventName); + callback.call(target, event); + } + const events = target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events; + for (const [registeredEventName, listeners] of events) { + if (registeredEventName === eventName) { + this.logger.info( + 'found %d listener(s) for "%s" event, calling...', + listeners.length, + eventName + ); + listeners.forEach((listener) => listener.call(target, event)); + } + } + } + /** + * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance. + */ + toFetchApiRequest(body) { + this.logger.info("converting request to a Fetch API Request..."); + const resolvedBody = body instanceof Document ? body.documentElement.innerText : body; + const fetchRequest = new Request(this.url.href, { + method: this.method, + headers: this.requestHeaders, + /** + * @see https://xhr.spec.whatwg.org/#cross-origin-credentials + */ + credentials: this.request.withCredentials ? "include" : "same-origin", + body: ["GET", "HEAD"].includes(this.method.toUpperCase()) ? null : resolvedBody + }); + const proxyHeaders = createProxy(fetchRequest.headers, { + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "append": + case "set": { + const [headerName, headerValue] = args; + this.request.setRequestHeader(headerName, headerValue); + break; + } + case "delete": { + const [headerName] = args; + console.warn( + `XMLHttpRequest: Cannot remove a "${headerName}" header from the Fetch API representation of the "${fetchRequest.method} ${fetchRequest.url}" request. XMLHttpRequest headers cannot be removed.` + ); + break; + } + } + return invoke(); + } + }); + define(fetchRequest, "headers", proxyHeaders); + this.logger.info("converted request to a Fetch API Request!", fetchRequest); + return fetchRequest; + } +}; +kIsRequestHandled, kFetchRequest; +function toAbsoluteUrl(url) { + if (typeof location === "undefined") { + return new URL(url); + } + return new URL(url.toString(), location.href); +} +function define(target, property, value) { + Reflect.defineProperty(target, property, { + // Ensure writable properties to allow redefining readonly properties. + writable: true, + enumerable: true, + value + }); +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts +function createXMLHttpRequestProxy({ + emitter, + logger +}) { + const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, { + construct(target, args, newTarget) { + logger.info("constructed new XMLHttpRequest"); + const originalRequest = Reflect.construct( + target, + args, + newTarget + ); + const prototypeDescriptors = Object.getOwnPropertyDescriptors( + target.prototype + ); + for (const propertyName in prototypeDescriptors) { + Reflect.defineProperty( + originalRequest, + propertyName, + prototypeDescriptors[propertyName] + ); + } + const xhrRequestController = new XMLHttpRequestController( + originalRequest, + logger + ); + xhrRequestController.onRequest = async function({ request, requestId }) { + const controller = new RequestController(request); + this.logger.info("awaiting mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + emitter.listenerCount("request") + ); + const isRequestHandled = await handleRequest({ + request, + requestId, + controller, + emitter, + onResponse: async (response) => { + await this.respondWith(response); + }, + onRequestError: () => { + this.errorWith(new TypeError("Network error")); + }, + onError: (error) => { + this.logger.info("request errored!", { error }); + if (error instanceof Error) { + this.errorWith(error); + } + } + }); + if (!isRequestHandled) { + this.logger.info( + "no mocked response received, performing request as-is..." + ); + } + }; + xhrRequestController.onResponse = async function({ + response, + isMockedResponse, + request, + requestId + }) { + this.logger.info( + 'emitting the "response" event for %s listener(s)...', + emitter.listenerCount("response") + ); + emitter.emit("response", { + response, + isMockedResponse, + request, + requestId + }); + }; + return xhrRequestController.request; + } + }); + return XMLHttpRequestProxy; +} + +// src/interceptors/XMLHttpRequest/index.ts +var _XMLHttpRequestInterceptor = class extends Interceptor { + constructor() { + super(_XMLHttpRequestInterceptor.interceptorSymbol); + } + checkEnvironment() { + return hasConfigurableGlobal("XMLHttpRequest"); + } + setup() { + const logger = this.logger.extend("setup"); + logger.info('patching "XMLHttpRequest" module...'); + const PureXMLHttpRequest = globalThis.XMLHttpRequest; + invariant2( + !PureXMLHttpRequest[IS_PATCHED_MODULE], + 'Failed to patch the "XMLHttpRequest" module: already patched.' + ); + globalThis.XMLHttpRequest = createXMLHttpRequestProxy({ + emitter: this.emitter, + logger: this.logger + }); + logger.info( + 'native "XMLHttpRequest" module patched!', + globalThis.XMLHttpRequest.name + ); + Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.XMLHttpRequest = PureXMLHttpRequest; + logger.info( + 'native "XMLHttpRequest" module restored!', + globalThis.XMLHttpRequest.name + ); + }); + } +}; +var XMLHttpRequestInterceptor = _XMLHttpRequestInterceptor; +XMLHttpRequestInterceptor.interceptorSymbol = Symbol("xhr"); + +export { + XMLHttpRequestInterceptor +}; +//# sourceMappingURL=chunk-DODHRDV6.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs.map new file mode 100644 index 0000000000..085f069c19 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/XMLHttpRequest/index.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts","../../src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts","../../src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts","../../src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts","../../src/interceptors/XMLHttpRequest/utils/createEvent.ts","../../src/utils/findPropertySource.ts","../../src/utils/createProxy.ts","../../src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts","../../src/utils/parseJson.ts","../../src/interceptors/XMLHttpRequest/utils/createResponse.ts","../../src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts"],"sourcesContent":["import { invariant } from 'outvariant'\nimport { Emitter } from 'strict-event-emitter'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { createXMLHttpRequestProxy } from './XMLHttpRequestProxy'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\n\nexport type XMLHttpRequestEmitter = Emitter\n\nexport class XMLHttpRequestInterceptor extends Interceptor {\n static interceptorSymbol = Symbol('xhr')\n\n constructor() {\n super(XMLHttpRequestInterceptor.interceptorSymbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('XMLHttpRequest')\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('patching \"XMLHttpRequest\" module...')\n\n const PureXMLHttpRequest = globalThis.XMLHttpRequest\n\n invariant(\n !(PureXMLHttpRequest as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"XMLHttpRequest\" module: already patched.'\n )\n\n globalThis.XMLHttpRequest = createXMLHttpRequestProxy({\n emitter: this.emitter,\n logger: this.logger,\n })\n\n logger.info(\n 'native \"XMLHttpRequest\" module patched!',\n globalThis.XMLHttpRequest.name\n )\n\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.XMLHttpRequest = PureXMLHttpRequest\n logger.info(\n 'native \"XMLHttpRequest\" module restored!',\n globalThis.XMLHttpRequest.name\n )\n })\n }\n}\n","import { invariant } from 'outvariant'\nimport { isNodeProcess } from 'is-node-process'\nimport type { Logger } from '@open-draft/logger'\nimport { concatArrayBuffer } from './utils/concatArrayBuffer'\nimport { createEvent } from './utils/createEvent'\nimport {\n decodeBuffer,\n encodeBuffer,\n toArrayBuffer,\n} from '../../utils/bufferUtils'\nimport { createProxy } from '../../utils/createProxy'\nimport { isDomParserSupportedType } from './utils/isDomParserSupportedType'\nimport { parseJson } from '../../utils/parseJson'\nimport { createResponse } from './utils/createResponse'\nimport { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor'\nimport { createRequestId } from '../../createRequestId'\nimport { getBodyByteLength } from './utils/getBodyByteLength'\n\nconst kIsRequestHandled = Symbol('kIsRequestHandled')\nconst IS_NODE = isNodeProcess()\nconst kFetchRequest = Symbol('kFetchRequest')\n\n/**\n * An `XMLHttpRequest` instance controller that allows us\n * to handle any given request instance (e.g. responding to it).\n */\nexport class XMLHttpRequestController {\n public request: XMLHttpRequest\n public requestId: string\n public onRequest?: (\n this: XMLHttpRequestController,\n args: {\n request: Request\n requestId: string\n }\n ) => Promise\n public onResponse?: (\n this: XMLHttpRequestController,\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ) => void;\n\n [kIsRequestHandled]: boolean;\n [kFetchRequest]?: Request\n private method: string = 'GET'\n private url: URL = null as any\n private requestHeaders: Headers\n private responseBuffer: Uint8Array\n private events: Map>\n private uploadEvents: Map<\n keyof XMLHttpRequestEventTargetEventMap,\n Array\n >\n\n constructor(readonly initialRequest: XMLHttpRequest, public logger: Logger) {\n this[kIsRequestHandled] = false\n\n this.events = new Map()\n this.uploadEvents = new Map()\n this.requestId = createRequestId()\n this.requestHeaders = new Headers()\n this.responseBuffer = new Uint8Array()\n\n this.request = createProxy(initialRequest, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'ontimeout': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n /**\n * @note Proxy callbacks to event listeners because JSDOM has trouble\n * translating these properties to callbacks. It seemed to be operating\n * on events exclusively.\n */\n this.request.addEventListener(eventName, nextValue as any)\n\n return invoke()\n }\n\n default: {\n return invoke()\n }\n }\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'open': {\n const [method, url] = args as [string, string | undefined]\n\n if (typeof url === 'undefined') {\n this.method = 'GET'\n this.url = toAbsoluteUrl(method)\n } else {\n this.method = method\n this.url = toAbsoluteUrl(url)\n }\n\n this.logger = this.logger.extend(`${this.method} ${this.url.href}`)\n this.logger.info('open', this.method, this.url.href)\n\n return invoke()\n }\n\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n\n this.registerEvent(eventName, listener)\n this.logger.info('addEventListener', eventName, listener)\n\n return invoke()\n }\n\n case 'setRequestHeader': {\n const [name, value] = args as [string, string]\n this.requestHeaders.set(name, value)\n\n this.logger.info('setRequestHeader', name, value)\n\n return invoke()\n }\n\n case 'send': {\n const [body] = args as [\n body?: XMLHttpRequestBodyInit | Document | null\n ]\n\n this.request.addEventListener('load', () => {\n if (typeof this.onResponse !== 'undefined') {\n // Create a Fetch API Response representation of whichever\n // response this XMLHttpRequest received. Note those may\n // be either a mocked and the original response.\n const fetchResponse = createResponse(\n this.request,\n /**\n * The `response` property is the right way to read\n * the ambiguous response body, as the request's \"responseType\" may differ.\n * @see https://xhr.spec.whatwg.org/#the-response-attribute\n */\n this.request.response\n )\n\n // Notify the consumer about the response.\n this.onResponse.call(this, {\n response: fetchResponse,\n isMockedResponse: this[kIsRequestHandled],\n request: fetchRequest,\n requestId: this.requestId!,\n })\n }\n })\n\n const requestBody =\n typeof body === 'string' ? encodeBuffer(body) : body\n\n // Delegate request handling to the consumer.\n const fetchRequest = this.toFetchApiRequest(requestBody)\n this[kFetchRequest] = fetchRequest.clone()\n\n const onceRequestSettled =\n this.onRequest?.call(this, {\n request: fetchRequest,\n requestId: this.requestId!,\n }) || Promise.resolve()\n\n onceRequestSettled.finally(() => {\n // If the consumer didn't handle the request (called `.respondWith()`) perform it as-is.\n if (!this[kIsRequestHandled]) {\n this.logger.info(\n 'request callback settled but request has not been handled (readystate %d), performing as-is...',\n this.request.readyState\n )\n\n /**\n * @note Set the intercepted request ID on the original request in Node.js\n * so that if it triggers any other interceptors, they don't attempt\n * to process it once again.\n *\n * For instance, XMLHttpRequest is often implemented via \"http.ClientRequest\"\n * and we don't want for both XHR and ClientRequest interceptors to\n * handle the same request at the same time (e.g. emit the \"response\" event twice).\n */\n if (IS_NODE) {\n this.request.setRequestHeader(\n INTERNAL_REQUEST_ID_HEADER_NAME,\n this.requestId!\n )\n }\n\n return invoke()\n }\n })\n\n break\n }\n\n default: {\n return invoke()\n }\n }\n },\n })\n\n /**\n * Proxy the `.upload` property to gather the event listeners/callbacks.\n */\n define(\n this.request,\n 'upload',\n createProxy(this.request.upload, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'onloadstart':\n case 'onprogress':\n case 'onaboart':\n case 'onerror':\n case 'onload':\n case 'ontimeout':\n case 'onloadend': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n this.registerUploadEvent(eventName, nextValue as Function)\n }\n }\n\n return invoke()\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n this.registerUploadEvent(eventName, listener)\n this.logger.info('upload.addEventListener', eventName, listener)\n\n return invoke()\n }\n }\n },\n })\n )\n }\n\n private registerEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.events.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.events.set(eventName, nextEvents)\n\n this.logger.info('registered event \"%s\"', eventName, listener)\n }\n\n private registerUploadEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.uploadEvents.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.uploadEvents.set(eventName, nextEvents)\n\n this.logger.info('registered upload event \"%s\"', eventName, listener)\n }\n\n /**\n * Responds to the current request with the given\n * Fetch API `Response` instance.\n */\n public async respondWith(response: Response): Promise {\n /**\n * @note Since `XMLHttpRequestController` delegates the handling of the responses\n * to the \"load\" event listener that doesn't distinguish between the mocked and original\n * responses, mark the request that had a mocked response with a corresponding symbol.\n *\n * Mark this request as having a mocked response immediately since\n * calculating request/response total body length is asynchronous.\n */\n this[kIsRequestHandled] = true\n\n /**\n * Dispatch request upload events for requests with a body.\n * @see https://github.com/mswjs/interceptors/issues/573\n */\n if (this[kFetchRequest]) {\n const totalRequestBodyLength = await getBodyByteLength(\n this[kFetchRequest]\n )\n\n this.trigger('loadstart', this.request.upload, {\n loaded: 0,\n total: totalRequestBodyLength,\n })\n this.trigger('progress', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('load', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('loadend', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n }\n\n this.logger.info(\n 'responding with a mocked response: %d %s',\n response.status,\n response.statusText\n )\n\n define(this.request, 'status', response.status)\n define(this.request, 'statusText', response.statusText)\n define(this.request, 'responseURL', this.url.href)\n\n this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, {\n apply: (_, __, args: [name: string]) => {\n this.logger.info('getResponseHeader', args[0])\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning null')\n\n // Headers not received yet, nothing to return.\n return null\n }\n\n const headerValue = response.headers.get(args[0])\n this.logger.info(\n 'resolved response header \"%s\" to',\n args[0],\n headerValue\n )\n\n return headerValue\n },\n })\n\n this.request.getAllResponseHeaders = new Proxy(\n this.request.getAllResponseHeaders,\n {\n apply: () => {\n this.logger.info('getAllResponseHeaders')\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning empty string')\n\n // Headers not received yet, nothing to return.\n return ''\n }\n\n const headersList = Array.from(response.headers.entries())\n const allHeaders = headersList\n .map(([headerName, headerValue]) => {\n return `${headerName}: ${headerValue}`\n })\n .join('\\r\\n')\n\n this.logger.info('resolved all response headers to', allHeaders)\n\n return allHeaders\n },\n }\n )\n\n // Update the response getters to resolve against the mocked response.\n Object.defineProperties(this.request, {\n response: {\n enumerable: true,\n configurable: false,\n get: () => this.response,\n },\n responseText: {\n enumerable: true,\n configurable: false,\n get: () => this.responseText,\n },\n responseXML: {\n enumerable: true,\n configurable: false,\n get: () => this.responseXML,\n },\n })\n\n const totalResponseBodyLength = await getBodyByteLength(response.clone())\n\n this.logger.info('calculated response body length', totalResponseBodyLength)\n\n this.trigger('loadstart', this.request, {\n loaded: 0,\n total: totalResponseBodyLength,\n })\n\n this.setReadyState(this.request.HEADERS_RECEIVED)\n this.setReadyState(this.request.LOADING)\n\n const finalizeResponse = () => {\n this.logger.info('finalizing the mocked response...')\n\n this.setReadyState(this.request.DONE)\n\n this.trigger('load', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n\n this.trigger('loadend', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n if (response.body) {\n this.logger.info('mocked response has body, streaming...')\n\n const reader = response.body.getReader()\n\n const readNextResponseBodyChunk = async () => {\n const { value, done } = await reader.read()\n\n if (done) {\n this.logger.info('response body stream done!')\n finalizeResponse()\n return\n }\n\n if (value) {\n this.logger.info('read response body chunk:', value)\n this.responseBuffer = concatArrayBuffer(this.responseBuffer, value)\n\n this.trigger('progress', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n readNextResponseBodyChunk()\n }\n\n readNextResponseBodyChunk()\n } else {\n finalizeResponse()\n }\n }\n\n private responseBufferToText(): string {\n return decodeBuffer(this.responseBuffer)\n }\n\n get response(): unknown {\n this.logger.info(\n 'getResponse (responseType: %s)',\n this.request.responseType\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n switch (this.request.responseType) {\n case 'json': {\n const responseJson = parseJson(this.responseBufferToText())\n this.logger.info('resolved response JSON', responseJson)\n\n return responseJson\n }\n\n case 'arraybuffer': {\n const arrayBuffer = toArrayBuffer(this.responseBuffer)\n this.logger.info('resolved response ArrayBuffer', arrayBuffer)\n\n return arrayBuffer\n }\n\n case 'blob': {\n const mimeType =\n this.request.getResponseHeader('Content-Type') || 'text/plain'\n const responseBlob = new Blob([this.responseBufferToText()], {\n type: mimeType,\n })\n\n this.logger.info(\n 'resolved response Blob (mime type: %s)',\n responseBlob,\n mimeType\n )\n\n return responseBlob\n }\n\n default: {\n const responseText = this.responseBufferToText()\n this.logger.info(\n 'resolving \"%s\" response type as text',\n this.request.responseType,\n responseText\n )\n\n return responseText\n }\n }\n }\n\n get responseText(): string {\n /**\n * Throw when trying to read the response body as text when the\n * \"responseType\" doesn't expect text. This just respects the spec better.\n * @see https://xhr.spec.whatwg.org/#the-responsetext-attribute\n */\n invariant(\n this.request.responseType === '' || this.request.responseType === 'text',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (\n this.request.readyState !== this.request.LOADING &&\n this.request.readyState !== this.request.DONE\n ) {\n return ''\n }\n\n const responseText = this.responseBufferToText()\n this.logger.info('getResponseText: \"%s\"', responseText)\n\n return responseText\n }\n\n get responseXML(): Document | null {\n invariant(\n this.request.responseType === '' ||\n this.request.responseType === 'document',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n const contentType = this.request.getResponseHeader('Content-Type') || ''\n\n if (typeof DOMParser === 'undefined') {\n console.warn(\n 'Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly.'\n )\n return null\n }\n\n if (isDomParserSupportedType(contentType)) {\n return new DOMParser().parseFromString(\n this.responseBufferToText(),\n contentType\n )\n }\n\n return null\n }\n\n public errorWith(error?: Error): void {\n /**\n * @note Mark this request as handled even if it received a mock error.\n * This prevents the controller from trying to perform this request as-is.\n */\n this[kIsRequestHandled] = true\n this.logger.info('responding with an error')\n\n this.setReadyState(this.request.DONE)\n this.trigger('error', this.request)\n this.trigger('loadend', this.request)\n }\n\n /**\n * Transitions this request's `readyState` to the given one.\n */\n private setReadyState(nextReadyState: number): void {\n this.logger.info(\n 'setReadyState: %d -> %d',\n this.request.readyState,\n nextReadyState\n )\n\n if (this.request.readyState === nextReadyState) {\n this.logger.info('ready state identical, skipping transition...')\n return\n }\n\n define(this.request, 'readyState', nextReadyState)\n\n this.logger.info('set readyState to: %d', nextReadyState)\n\n if (nextReadyState !== this.request.UNSENT) {\n this.logger.info('triggerring \"readystatechange\" event...')\n\n this.trigger('readystatechange', this.request)\n }\n }\n\n /**\n * Triggers given event on the `XMLHttpRequest` instance.\n */\n private trigger<\n EventName extends keyof (XMLHttpRequestEventTargetEventMap & {\n readystatechange: ProgressEvent\n })\n >(\n eventName: EventName,\n target: XMLHttpRequest | XMLHttpRequestUpload,\n options?: ProgressEventInit\n ): void {\n const callback = (target as XMLHttpRequest)[`on${eventName}`]\n const event = createEvent(target, eventName, options)\n\n this.logger.info('trigger \"%s\"', eventName, options || '')\n\n // Invoke direct callbacks.\n if (typeof callback === 'function') {\n this.logger.info('found a direct \"%s\" callback, calling...', eventName)\n callback.call(target as XMLHttpRequest, event)\n }\n\n // Invoke event listeners.\n const events =\n target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events\n\n for (const [registeredEventName, listeners] of events) {\n if (registeredEventName === eventName) {\n this.logger.info(\n 'found %d listener(s) for \"%s\" event, calling...',\n listeners.length,\n eventName\n )\n\n listeners.forEach((listener) => listener.call(target, event))\n }\n }\n }\n\n /**\n * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance.\n */\n private toFetchApiRequest(\n body: XMLHttpRequestBodyInit | Document | null | undefined\n ): Request {\n this.logger.info('converting request to a Fetch API Request...')\n\n // If the `Document` is used as the body of this XMLHttpRequest,\n // set its inner text as the Fetch API Request body.\n const resolvedBody =\n body instanceof Document ? body.documentElement.innerText : body\n\n const fetchRequest = new Request(this.url.href, {\n method: this.method,\n headers: this.requestHeaders,\n /**\n * @see https://xhr.spec.whatwg.org/#cross-origin-credentials\n */\n credentials: this.request.withCredentials ? 'include' : 'same-origin',\n body: ['GET', 'HEAD'].includes(this.method.toUpperCase())\n ? null\n : resolvedBody,\n })\n\n const proxyHeaders = createProxy(fetchRequest.headers, {\n methodCall: ([methodName, args], invoke) => {\n // Forward the latest state of the internal request headers\n // because the interceptor might have modified them\n // without responding to the request.\n switch (methodName) {\n case 'append':\n case 'set': {\n const [headerName, headerValue] = args as [string, string]\n this.request.setRequestHeader(headerName, headerValue)\n break\n }\n\n case 'delete': {\n const [headerName] = args as [string]\n console.warn(\n `XMLHttpRequest: Cannot remove a \"${headerName}\" header from the Fetch API representation of the \"${fetchRequest.method} ${fetchRequest.url}\" request. XMLHttpRequest headers cannot be removed.`\n )\n break\n }\n }\n\n return invoke()\n },\n })\n define(fetchRequest, 'headers', proxyHeaders)\n\n this.logger.info('converted request to a Fetch API Request!', fetchRequest)\n\n return fetchRequest\n }\n}\n\nfunction toAbsoluteUrl(url: string | URL): URL {\n /**\n * @note XMLHttpRequest interceptor may run in environments\n * that implement XMLHttpRequest but don't implement \"location\"\n * (for example, React Native). If that's the case, return the\n * input URL as-is (nothing to be relative to).\n * @see https://github.com/mswjs/msw/issues/1777\n */\n if (typeof location === 'undefined') {\n return new URL(url)\n }\n\n return new URL(url.toString(), location.href)\n}\n\nfunction define(\n target: object,\n property: string | symbol,\n value: unknown\n): void {\n Reflect.defineProperty(target, property, {\n // Ensure writable properties to allow redefining readonly properties.\n writable: true,\n enumerable: true,\n value,\n })\n}\n","/**\n * Concatenate two `Uint8Array` buffers.\n */\nexport function concatArrayBuffer(\n left: Uint8Array,\n right: Uint8Array\n): Uint8Array {\n const result = new Uint8Array(left.byteLength + right.byteLength)\n result.set(left, 0)\n result.set(right, left.byteLength)\n return result\n}\n","export class EventPolyfill implements Event {\n readonly NONE = 0\n readonly CAPTURING_PHASE = 1\n readonly AT_TARGET = 2\n readonly BUBBLING_PHASE = 3\n\n public type: string = ''\n public srcElement: EventTarget | null = null\n public target: EventTarget | null\n public currentTarget: EventTarget | null = null\n public eventPhase: number = 0\n public timeStamp: number\n public isTrusted: boolean = true\n public composed: boolean = false\n public cancelable: boolean = true\n public defaultPrevented: boolean = false\n public bubbles: boolean = true\n public lengthComputable: boolean = true\n public loaded: number = 0\n public total: number = 0\n\n cancelBubble: boolean = false\n returnValue: boolean = true\n\n constructor(\n type: string,\n options?: { target: EventTarget; currentTarget: EventTarget }\n ) {\n this.type = type\n this.target = options?.target || null\n this.currentTarget = options?.currentTarget || null\n this.timeStamp = Date.now()\n }\n\n public composedPath(): EventTarget[] {\n return []\n }\n\n public initEvent(type: string, bubbles?: boolean, cancelable?: boolean) {\n this.type = type\n this.bubbles = !!bubbles\n this.cancelable = !!cancelable\n }\n\n public preventDefault() {\n this.defaultPrevented = true\n }\n\n public stopPropagation() {}\n public stopImmediatePropagation() {}\n}\n","import { EventPolyfill } from './EventPolyfill'\n\nexport class ProgressEventPolyfill extends EventPolyfill {\n readonly lengthComputable: boolean\n readonly composed: boolean\n readonly loaded: number\n readonly total: number\n\n constructor(type: string, init?: ProgressEventInit) {\n super(type)\n\n this.lengthComputable = init?.lengthComputable || false\n this.composed = init?.composed || false\n this.loaded = init?.loaded || 0\n this.total = init?.total || 0\n }\n}\n","import { EventPolyfill } from '../polyfills/EventPolyfill'\nimport { ProgressEventPolyfill } from '../polyfills/ProgressEventPolyfill'\n\nconst SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== 'undefined'\n\nexport function createEvent(\n target: XMLHttpRequest | XMLHttpRequestUpload,\n type: string,\n init?: ProgressEventInit\n): EventPolyfill | ProgressEvent {\n const progressEvents = [\n 'error',\n 'progress',\n 'loadstart',\n 'loadend',\n 'load',\n 'timeout',\n 'abort',\n ]\n\n /**\n * `ProgressEvent` is not supported in React Native.\n * @see https://github.com/mswjs/interceptors/issues/40\n */\n const ProgressEventClass = SUPPORTS_PROGRESS_EVENT\n ? ProgressEvent\n : ProgressEventPolyfill\n\n const event = progressEvents.includes(type)\n ? new ProgressEventClass(type, {\n lengthComputable: true,\n loaded: init?.loaded || 0,\n total: init?.total || 0,\n })\n : new EventPolyfill(type, {\n target,\n currentTarget: target,\n })\n\n return event\n}\n","/**\n * Returns the source object of the given property on the target object\n * (the target itself, any parent in its prototype, or null).\n */\nexport function findPropertySource(\n target: object,\n propertyName: string | symbol\n): object | null {\n if (!(propertyName in target)) {\n return null\n }\n\n const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName)\n if (hasProperty) {\n return target\n }\n\n const prototype = Reflect.getPrototypeOf(target)\n return prototype ? findPropertySource(prototype, propertyName) : null\n}\n","import { findPropertySource } from './findPropertySource'\n\nexport interface ProxyOptions> {\n constructorCall?(args: Array, next: NextFunction): Target\n\n methodCall?(\n this: Target,\n data: [methodName: F, args: Array],\n next: NextFunction\n ): void\n\n setProperty?(\n data: [propertyName: string | symbol, nextValue: unknown],\n next: NextFunction\n ): boolean\n\n getProperty?(\n data: [propertyName: string | symbol, receiver: Target],\n next: NextFunction\n ): void\n}\n\nexport type NextFunction = () => ReturnType\n\nexport function createProxy(\n target: Target,\n options: ProxyOptions\n): Target {\n const proxy = new Proxy(target, optionsToProxyHandler(options))\n\n return proxy\n}\n\nfunction optionsToProxyHandler>(\n options: ProxyOptions\n): ProxyHandler {\n const { constructorCall, methodCall, getProperty, setProperty } = options\n const handler: ProxyHandler = {}\n\n if (typeof constructorCall !== 'undefined') {\n handler.construct = function (target, args, newTarget) {\n const next = Reflect.construct.bind(null, target as any, args, newTarget)\n return constructorCall.call(newTarget, args, next)\n }\n }\n\n handler.set = function (target, propertyName, nextValue) {\n const next = () => {\n const propertySource = findPropertySource(target, propertyName) || target\n const ownDescriptors = Reflect.getOwnPropertyDescriptor(\n propertySource,\n propertyName\n )\n\n // Respect any custom setters present for this property.\n if (typeof ownDescriptors?.set !== 'undefined') {\n ownDescriptors.set.apply(target, [nextValue])\n return true\n }\n\n // Otherwise, set the property on the source.\n return Reflect.defineProperty(propertySource, propertyName, {\n writable: true,\n enumerable: true,\n configurable: true,\n value: nextValue,\n })\n }\n\n if (typeof setProperty !== 'undefined') {\n return setProperty.call(target, [propertyName, nextValue], next)\n }\n\n return next()\n }\n\n handler.get = function (target, propertyName, receiver) {\n /**\n * @note Using `Reflect.get()` here causes \"TypeError: Illegal invocation\".\n */\n const next = () => target[propertyName as any]\n\n const value =\n typeof getProperty !== 'undefined'\n ? getProperty.call(target, [propertyName, receiver], next)\n : next()\n\n if (typeof value === 'function') {\n return (...args: Array) => {\n const next = value.bind(target, ...args)\n\n if (typeof methodCall !== 'undefined') {\n return methodCall.call(target, [propertyName as any, args], next)\n }\n\n return next()\n }\n }\n\n return value\n }\n\n return handler\n}\n","export function isDomParserSupportedType(\n type: string\n): type is DOMParserSupportedType {\n const supportedTypes: Array = [\n 'application/xhtml+xml',\n 'application/xml',\n 'image/svg+xml',\n 'text/html',\n 'text/xml',\n ]\n return supportedTypes.some((supportedType) => {\n return type.startsWith(supportedType)\n })\n}\n","/**\n * Parses a given string into JSON.\n * Gracefully handles invalid JSON by returning `null`.\n */\nexport function parseJson(data: string): Record | null {\n try {\n const json = JSON.parse(data)\n return json\n } catch (_) {\n return null\n }\n}\n","import { FetchResponse } from '../../../utils/fetchUtils'\n\n/**\n * Creates a Fetch API `Response` instance from the given\n * `XMLHttpRequest` instance and a response body.\n */\nexport function createResponse(\n request: XMLHttpRequest,\n body: BodyInit | null\n): Response {\n /**\n * Handle XMLHttpRequest responses that must have null as the\n * response body when represented using Fetch API Response.\n * XMLHttpRequest response will always have an empty string\n * as the \"request.response\" in those cases, resulting in an error\n * when constructing a Response instance.\n * @see https://github.com/mswjs/interceptors/issues/379\n */\n const responseBodyOrNull = FetchResponse.isResponseWithBody(request.status)\n ? body\n : null\n\n return new FetchResponse(responseBodyOrNull, {\n url: request.responseURL,\n status: request.status,\n statusText: request.statusText,\n headers: createHeadersFromXMLHttpReqestHeaders(\n request.getAllResponseHeaders()\n ),\n })\n}\n\nfunction createHeadersFromXMLHttpReqestHeaders(headersString: string): Headers {\n const headers = new Headers()\n\n const lines = headersString.split(/[\\r\\n]+/)\n for (const line of lines) {\n if (line.trim() === '') {\n continue\n }\n\n const [name, ...parts] = line.split(': ')\n const value = parts.join(': ')\n\n headers.append(name, value)\n }\n\n return headers\n}\n","/**\n * Return a total byte length of the given request/response body.\n * If the `Content-Length` header is present, it will be used as the byte length.\n */\nexport async function getBodyByteLength(\n input: Request | Response\n): Promise {\n const explicitContentLength = input.headers.get('content-length')\n\n if (explicitContentLength != null && explicitContentLength !== '') {\n return Number(explicitContentLength)\n }\n\n const buffer = await input.arrayBuffer()\n return buffer.byteLength\n}\n","import type { Logger } from '@open-draft/logger'\nimport { XMLHttpRequestEmitter } from '.'\nimport { RequestController } from '../../RequestController'\nimport { XMLHttpRequestController } from './XMLHttpRequestController'\nimport { handleRequest } from '../../utils/handleRequest'\n\nexport interface XMLHttpRequestProxyOptions {\n emitter: XMLHttpRequestEmitter\n logger: Logger\n}\n\n/**\n * Create a proxied `XMLHttpRequest` class.\n * The proxied class establishes spies on certain methods,\n * allowing us to intercept requests and respond to them.\n */\nexport function createXMLHttpRequestProxy({\n emitter,\n logger,\n}: XMLHttpRequestProxyOptions) {\n const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, {\n construct(target, args, newTarget) {\n logger.info('constructed new XMLHttpRequest')\n\n const originalRequest = Reflect.construct(\n target,\n args,\n newTarget\n ) as XMLHttpRequest\n\n /**\n * @note Forward prototype descriptors onto the proxied object.\n * XMLHttpRequest is implemented in JSDOM in a way that assigns\n * a bunch of descriptors, like \"set responseType()\" on the prototype.\n * With this propagation, we make sure that those descriptors trigger\n * when the user operates with the proxied request instance.\n */\n const prototypeDescriptors = Object.getOwnPropertyDescriptors(\n target.prototype\n )\n for (const propertyName in prototypeDescriptors) {\n Reflect.defineProperty(\n originalRequest,\n propertyName,\n prototypeDescriptors[propertyName]\n )\n }\n\n const xhrRequestController = new XMLHttpRequestController(\n originalRequest,\n logger\n )\n\n xhrRequestController.onRequest = async function ({ request, requestId }) {\n const controller = new RequestController(request)\n\n this.logger.info('awaiting mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n controller,\n emitter,\n onResponse: async (response) => {\n await this.respondWith(response)\n },\n onRequestError: () => {\n this.errorWith(new TypeError('Network error'))\n },\n onError: (error) => {\n this.logger.info('request errored!', { error })\n\n if (error instanceof Error) {\n this.errorWith(error)\n }\n },\n })\n\n if (!isRequestHandled) {\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n }\n }\n\n xhrRequestController.onResponse = async function ({\n response,\n isMockedResponse,\n request,\n requestId,\n }) {\n this.logger.info(\n 'emitting the \"response\" event for %s listener(s)...',\n emitter.listenerCount('response')\n )\n\n emitter.emit('response', {\n response,\n isMockedResponse,\n request,\n requestId,\n })\n }\n\n // Return the proxied request from the controller\n // so that the controller can react to the consumer's interactions\n // with this request (opening/sending/etc).\n return xhrRequestController.request\n },\n })\n\n return XMLHttpRequestProxy\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,aAAAA,kBAAiB;;;ACA1B,SAAS,iBAAiB;AAC1B,SAAS,qBAAqB;;;ACEvB,SAAS,kBACd,MACA,OACY;AACZ,QAAM,SAAS,IAAI,WAAW,KAAK,aAAa,MAAM,UAAU;AAChE,SAAO,IAAI,MAAM,CAAC;AAClB,SAAO,IAAI,OAAO,KAAK,UAAU;AACjC,SAAO;AACT;;;ACXO,IAAM,gBAAN,MAAqC;AAAA,EAwB1C,YACE,MACA,SACA;AA1BF,SAAS,OAAO;AAChB,SAAS,kBAAkB;AAC3B,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAE1B,SAAO,OAAe;AACtB,SAAO,aAAiC;AAExC,SAAO,gBAAoC;AAC3C,SAAO,aAAqB;AAE5B,SAAO,YAAqB;AAC5B,SAAO,WAAoB;AAC3B,SAAO,aAAsB;AAC7B,SAAO,mBAA4B;AACnC,SAAO,UAAmB;A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KAAK;AAAA,MACd,QAAQ,KAAK;AAAA,IACf,CAAC;AAED,WAAO;AAAA,MACL;AAAA,MACA,WAAW,eAAe;AAAA,IAC5B;AAEA,WAAO,eAAe,WAAW,gBAAgB,mBAAmB;AAAA,MAClE,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,OAAO;AAAA,IACT,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO,eAAe,WAAW,gBAAgB,mBAAmB;AAAA,QAClE,OAAO;AAAA,MACT,CAAC;AAED,iBAAW,iBAAiB;AAC5B,aAAO;AAAA,QACL;AAAA,QACA,WAAW,eAAe;AAAA,MAC5B;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAnDO,IAAM,4BAAN;AAAM,0BACJ,oBAAoB,OAAO,KAAK;","names":["invariant","next","invariant"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js b/node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js new file mode 100644 index 0000000000..b95c747ba4 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js @@ -0,0 +1,228 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/RequestController.ts +var _outvariant = require('outvariant'); +var _deferredpromise = require('@open-draft/deferred-promise'); + +// src/InterceptorError.ts +var InterceptorError = class extends Error { + constructor(message) { + super(message); + this.name = "InterceptorError"; + Object.setPrototypeOf(this, InterceptorError.prototype); + } +}; + +// src/RequestController.ts +var kRequestHandled = Symbol("kRequestHandled"); +var kResponsePromise = Symbol("kResponsePromise"); +var RequestController = class { + constructor(request) { + this.request = request; + this[kRequestHandled] = false; + this[kResponsePromise] = new (0, _deferredpromise.DeferredPromise)(); + } + /** + * Respond to this request with the given `Response` instance. + * @example + * controller.respondWith(new Response()) + * controller.respondWith(Response.json({ id })) + * controller.respondWith(Response.error()) + */ + respondWith(response) { + _outvariant.invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to respond to the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(response); + } + /** + * Error this request with the given error. + * @example + * controller.errorWith() + * controller.errorWith(new Error('Oops!')) + */ + errorWith(error) { + _outvariant.invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to error the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(error); + } +}; +kResponsePromise, kRequestHandled; + +// src/utils/emitAsync.ts +async function emitAsync(emitter, eventName, ...data) { + const listners = emitter.listeners(eventName); + if (listners.length === 0) { + return; + } + for (const listener of listners) { + await listener.apply(emitter, data); + } +} + +// src/utils/handleRequest.ts + +var _until = require('@open-draft/until'); + +// src/utils/isPropertyAccessible.ts +function isPropertyAccessible(obj, key) { + try { + obj[key]; + return true; + } catch (e) { + return false; + } +} + +// src/utils/responseUtils.ts +function createServerErrorResponse(body) { + return new Response( + JSON.stringify( + body instanceof Error ? { + name: body.name, + message: body.message, + stack: body.stack + } : body + ), + { + status: 500, + statusText: "Unhandled Exception", + headers: { + "Content-Type": "application/json" + } + } + ); +} +function isResponseError(response) { + return isPropertyAccessible(response, "type") && response.type === "error"; +} + +// src/utils/isNodeLikeError.ts +function isNodeLikeError(error) { + if (error == null) { + return false; + } + if (!(error instanceof Error)) { + return false; + } + return "code" in error && "errno" in error; +} + +// src/utils/handleRequest.ts +async function handleRequest(options) { + const handleResponse = async (response) => { + if (response instanceof Error) { + options.onError(response); + } else if (isResponseError(response)) { + options.onRequestError(response); + } else { + await options.onResponse(response); + } + return true; + }; + const handleResponseError = async (error) => { + if (error instanceof InterceptorError) { + throw result.error; + } + if (isNodeLikeError(error)) { + options.onError(error); + return true; + } + if (error instanceof Response) { + return await handleResponse(error); + } + return false; + }; + options.emitter.once("request", ({ requestId: pendingRequestId }) => { + if (pendingRequestId !== options.requestId) { + return; + } + if (options.controller[kResponsePromise].state === "pending") { + options.controller[kResponsePromise].resolve(void 0); + } + }); + const requestAbortPromise = new (0, _deferredpromise.DeferredPromise)(); + if (options.request.signal) { + if (options.request.signal.aborted) { + requestAbortPromise.reject(options.request.signal.reason); + } else { + options.request.signal.addEventListener( + "abort", + () => { + requestAbortPromise.reject(options.request.signal.reason); + }, + { once: true } + ); + } + } + const result = await _until.until.call(void 0, async () => { + const requestListtenersPromise = emitAsync(options.emitter, "request", { + requestId: options.requestId, + request: options.request, + controller: options.controller + }); + await Promise.race([ + // Short-circuit the request handling promise if the request gets aborted. + requestAbortPromise, + requestListtenersPromise, + options.controller[kResponsePromise] + ]); + const mockedResponse = await options.controller[kResponsePromise]; + return mockedResponse; + }); + if (requestAbortPromise.state === "rejected") { + options.onError(requestAbortPromise.rejectionReason); + return true; + } + if (result.error) { + if (await handleResponseError(result.error)) { + return true; + } + if (options.emitter.listenerCount("unhandledException") > 0) { + const unhandledExceptionController = new RequestController( + options.request + ); + await emitAsync(options.emitter, "unhandledException", { + error: result.error, + request: options.request, + requestId: options.requestId, + controller: unhandledExceptionController + }).then(() => { + if (unhandledExceptionController[kResponsePromise].state === "pending") { + unhandledExceptionController[kResponsePromise].resolve(void 0); + } + }); + const nextResult = await _until.until.call(void 0, + () => unhandledExceptionController[kResponsePromise] + ); + if (nextResult.error) { + return handleResponseError(nextResult.error); + } + if (nextResult.data) { + return handleResponse(nextResult.data); + } + } + options.onResponse(createServerErrorResponse(result.error)); + return true; + } + if (result.data) { + return handleResponse(result.data); + } + return false; +} + + + + + +exports.RequestController = RequestController; exports.emitAsync = emitAsync; exports.handleRequest = handleRequest; +//# sourceMappingURL=chunk-FGSEOIC4.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js.map new file mode 100644 index 0000000000..9c5a436574 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-FGSEOIC4.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/RequestController.ts","../../src/InterceptorError.ts","../../src/utils/emitAsync.ts","../../src/utils/handleRequest.ts","../../src/utils/isPropertyAccessible.ts","../../src/utils/responseUtils.ts","../../src/utils/isNodeLikeError.ts"],"names":["DeferredPromise"],"mappings":";AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;;;ACDzB,IAAM,mBAAN,cAA+B,MAAM;AAAA,EAC1C,YAAY,SAAkB;AAC5B,UAAM,OAAO;AACb,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,iBAAiB,SAAS;AAAA,EACxD;AACF;;;ADFA,IAAM,kBAAkB,OAAO,iBAAiB;AACzC,IAAM,mBAAmB,OAAO,kBAAkB;AAElD,IAAM,oBAAN,MAAwB;AAAA,EAgB7B,YAAoB,SAAkB;AAAlB;AAClB,SAAK,eAAe,IAAI;AACxB,SAAK,gBAAgB,IAAI,IAAI,gBAAgB;AAAA,EAC/C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASO,YAAY,UAA0B;AAC3C,cAAU;AAAA,MACR;AAAA,MACA,CAAC,KAAK,eAAe;AAAA,MACrB;AAAA,MACA,KAAK,QAAQ;AAAA,MACb,KAAK,QAAQ;AAAA,IACf;AAEA,SAAK,eAAe,IAAI;AACxB,SAAK,gBAAgB,EAAE,QAAQ,QAAQ;AAAA,EASzC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQO,UAAU,OAAqB;AACpC,cAAU;AAAA,MACR;AAAA,MACA,CAAC,KAAK,eAAe;AAAA,MACrB;AAAA,MACA,KAAK,QAAQ;AAAA,MACb,KAAK,QAAQ;AAAA,IACf;AAEA,SAAK,eAAe,IAAI;AAOxB,SAAK,gBAAgB,EAAE,QAAQ,KAAK;AAAA,EACtC;AACF;AAjEG,kBAMA;;;AEdH,eAAsB,UAIpB,SACA,cACG,MACY;AACf,QAAM,WAAW,QAAQ,UAAU,SAAS;AAE5C,MAAI,SAAS,WAAW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AoB,OAAO,KAAK,GAAG;AAC3C,aAAO;AAAA,IACT;AAKA,QAAI,QAAQ,QAAQ,cAAc,oBAAoB,IAAI,GAAG;AAI3D,YAAM,+BAA+B,IAAI;AAAA,QACvC,QAAQ;AAAA,MACV;AAEA,YAAM,UAAU,QAAQ,SAAS,sBAAsB;AAAA,QACrD,OAAO,OAAO;AAAA,QACd,SAAS,QAAQ;AAAA,QACjB,WAAW,QAAQ;AAAA,QACnB,YAAY;AAAA,MACd,CAAC,EAAE,KAAK,MAAM;AAKZ,YACE,6BAA6B,gBAAgB,EAAE,UAAU,WACzD;AACA,uCAA6B,gBAAgB,EAAE,QAAQ,MAAS;AAAA,QAClE;AAAA,MACF,CAAC;AAED,YAAM,aAAa,MAAM;AAAA,QACvB,MAAM,6BAA6B,gBAAgB;AAAA,MACrD;AASA,UAAI,WAAW,OAAO;AACpB,eAAO,oBAAoB,WAAW,KAAK;AAAA,MAC7C;AAEA,UAAI,WAAW,MAAM;AACnB,eAAO,eAAe,WAAW,IAAI;AAAA,MACvC;AAAA,IACF;AAGA,YAAQ,WAAW,0BAA0B,OAAO,KAAK,CAAC;AAC1D,WAAO;AAAA,EACT;AAQA,MAAI,OAAO,MAAM;AACf,WAAO,eAAe,OAAO,IAAI;AAAA,EACnC;AAIA,SAAO;AACT","sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { InterceptorError } from './InterceptorError'\n\nconst kRequestHandled = Symbol('kRequestHandled')\nexport const kResponsePromise = Symbol('kResponsePromise')\n\nexport class RequestController {\n /**\n * Internal response promise.\n * Available only for the library internals to grab the\n * response instance provided by the developer.\n * @note This promise cannot be rejected. It's either infinitely\n * pending or resolved with whichever Response was passed to `respondWith()`.\n */\n [kResponsePromise]: DeferredPromise;\n\n /**\n * Internal flag indicating if this request has been handled.\n * @note The response promise becomes \"fulfilled\" on the next tick.\n */\n [kRequestHandled]: boolean\n\n constructor(private request: Request) {\n this[kRequestHandled] = false\n this[kResponsePromise] = new DeferredPromise()\n }\n\n /**\n * Respond to this request with the given `Response` instance.\n * @example\n * controller.respondWith(new Response())\n * controller.respondWith(Response.json({ id }))\n * controller.respondWith(Response.error())\n */\n public respondWith(response: Response): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to respond to the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n this[kResponsePromise].resolve(response)\n\n /**\n * @note The request conrtoller doesn't do anything\n * apart from letting the interceptor await the response\n * provided by the developer through the response promise.\n * Each interceptor implements the actual respondWith/errorWith\n * logic based on that interceptor's needs.\n */\n }\n\n /**\n * Error this request with the given error.\n * @example\n * controller.errorWith()\n * controller.errorWith(new Error('Oops!'))\n */\n public errorWith(error?: Error): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to error the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n\n /**\n * @note Resolve the response promise, not reject.\n * This helps us differentiate between unhandled exceptions\n * and intended errors (\"errorWith\") while waiting for the response.\n */\n this[kResponsePromise].resolve(error)\n }\n}\n","export class InterceptorError extends Error {\n constructor(message?: string) {\n super(message)\n this.name = 'InterceptorError'\n Object.setPrototypeOf(this, InterceptorError.prototype)\n }\n}\n","import { Emitter, EventMap } from 'strict-event-emitter'\n\n/**\n * Emits an event on the given emitter but executes\n * the listeners sequentially. This accounts for asynchronous\n * listeners (e.g. those having \"sleep\" and handling the request).\n */\nexport async function emitAsync<\n Events extends EventMap,\n EventName extends keyof Events\n>(\n emitter: Emitter,\n eventName: EventName,\n ...data: Events[EventName]\n): Promise {\n const listners = emitter.listeners(eventName)\n\n if (listners.length === 0) {\n return\n }\n\n for (const listener of listners) {\n await listener.apply(emitter, data)\n }\n}\n","import type { Emitter } from 'strict-event-emitter'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { until } from '@open-draft/until'\nimport type { HttpRequestEventMap } from '../glossary'\nimport { emitAsync } from './emitAsync'\nimport { kResponsePromise, RequestController } from '../RequestController'\nimport {\n createServerErrorResponse,\n isResponseError,\n ResponseError,\n} from './responseUtils'\nimport { InterceptorError } from '../InterceptorError'\nimport { isNodeLikeError } from './isNodeLikeError'\n\ninterface HandleRequestOptions {\n requestId: string\n request: Request\n emitter: Emitter\n controller: RequestController\n\n /**\n * Called when the request has been handled\n * with the given `Response` instance.\n */\n onResponse: (response: Response) => void | Promise\n\n /**\n * Called when the request has been handled\n * with the given `Response.error()` instance.\n */\n onRequestError: (response: ResponseError) => void\n\n /**\n * Called when an unhandled error happens during the\n * request handling. This is never a thrown error/response.\n */\n onError: (error: unknown) => void\n}\n\n/**\n * @returns {Promise} Indicates whether the request has been handled.\n */\nexport async function handleRequest(\n options: HandleRequestOptions\n): Promise {\n const handleResponse = async (response: Response | Error) => {\n if (response instanceof Error) {\n options.onError(response)\n }\n\n // Handle \"Response.error()\" instances.\n else if (isResponseError(response)) {\n options.onRequestError(response)\n } else {\n await options.onResponse(response)\n }\n\n return true\n }\n\n const handleResponseError = async (error: unknown): Promise => {\n // Forward the special interceptor error instances\n // to the developer. These must not be handled in any way.\n if (error instanceof InterceptorError) {\n throw result.error\n }\n\n // Support mocking Node.js-like errors.\n if (isNodeLikeError(error)) {\n options.onError(error)\n return true\n }\n\n // Handle thrown responses.\n if (error instanceof Response) {\n return await handleResponse(error)\n }\n\n return false\n }\n\n // Add the last \"request\" listener to check if the request\n // has been handled in any way. If it hasn't, resolve the\n // response promise with undefined.\n options.emitter.once('request', ({ requestId: pendingRequestId }) => {\n if (pendingRequestId !== options.requestId) {\n return\n }\n\n if (options.controller[kResponsePromise].state === 'pending') {\n options.controller[kResponsePromise].resolve(undefined)\n }\n })\n\n const requestAbortPromise = new DeferredPromise()\n\n /**\n * @note `signal` is not always defined in React Native.\n */\n if (options.request.signal) {\n if (options.request.signal.aborted) {\n requestAbortPromise.reject(options.request.signal.reason)\n } else {\n options.request.signal.addEventListener(\n 'abort',\n () => {\n requestAbortPromise.reject(options.request.signal.reason)\n },\n { once: true }\n )\n }\n }\n\n const result = await until(async () => {\n // Emit the \"request\" event and wait until all the listeners\n // for that event are finished (e.g. async listeners awaited).\n // By the end of this promise, the developer cannot affect the\n // request anymore.\n const requestListtenersPromise = emitAsync(options.emitter, 'request', {\n requestId: options.requestId,\n request: options.request,\n controller: options.controller,\n })\n\n await Promise.race([\n // Short-circuit the request handling promise if the request gets aborted.\n requestAbortPromise,\n requestListtenersPromise,\n options.controller[kResponsePromise],\n ])\n\n // The response promise will settle immediately once\n // the developer calls either \"respondWith\" or \"errorWith\".\n const mockedResponse = await options.controller[kResponsePromise]\n return mockedResponse\n })\n\n // Handle the request being aborted while waiting for the request listeners.\n if (requestAbortPromise.state === 'rejected') {\n options.onError(requestAbortPromise.rejectionReason)\n return true\n }\n\n if (result.error) {\n // Handle the error during the request listener execution.\n // These can be thrown responses or request errors.\n if (await handleResponseError(result.error)) {\n return true\n }\n\n // If the developer has added \"unhandledException\" listeners,\n // allow them to handle the error. They can translate it to a\n // mocked response, network error, or forward it as-is.\n if (options.emitter.listenerCount('unhandledException') > 0) {\n // Create a new request controller just for the unhandled exception case.\n // This is needed because the original controller might have been already\n // interacted with (e.g. \"respondWith\" or \"errorWith\" called on it).\n const unhandledExceptionController = new RequestController(\n options.request\n )\n\n await emitAsync(options.emitter, 'unhandledException', {\n error: result.error,\n request: options.request,\n requestId: options.requestId,\n controller: unhandledExceptionController,\n }).then(() => {\n // If all the \"unhandledException\" listeners have finished\n // but have not handled the response in any way, preemptively\n // resolve the pending response promise from the new controller.\n // This prevents it from hanging forever.\n if (\n unhandledExceptionController[kResponsePromise].state === 'pending'\n ) {\n unhandledExceptionController[kResponsePromise].resolve(undefined)\n }\n })\n\n const nextResult = await until(\n () => unhandledExceptionController[kResponsePromise]\n )\n\n /**\n * @note Handle the result of the unhandled controller\n * in the same way as the original request controller.\n * The exception here is that thrown errors within the\n * \"unhandledException\" event do NOT result in another\n * emit of the same event. They are forwarded as-is.\n */\n if (nextResult.error) {\n return handleResponseError(nextResult.error)\n }\n\n if (nextResult.data) {\n return handleResponse(nextResult.data)\n }\n }\n\n // Otherwise, coerce unhandled exceptions to a 500 Internal Server Error response.\n options.onResponse(createServerErrorResponse(result.error))\n return true\n }\n\n /**\n * Handle a mocked Response instance.\n * @note That this can also be an Error in case\n * the developer called \"errorWith\". This differentiates\n * unhandled exceptions from intended errors.\n */\n if (result.data) {\n return handleResponse(result.data)\n }\n\n // In all other cases, consider the request unhandled.\n // The interceptor must perform it as-is.\n return false\n}\n","/**\n * A function that validates if property access is possible on an object\n * without throwing. It returns `true` if the property access is possible\n * and `false` otherwise.\n *\n * Environments like miniflare will throw on property access on certain objects\n * like Request and Response, for unimplemented properties.\n */\nexport function isPropertyAccessible>(\n obj: Obj,\n key: keyof Obj\n) {\n try {\n obj[key]\n return true\n } catch {\n return false\n }\n}\n","import { isPropertyAccessible } from './isPropertyAccessible'\n\n/**\n * Creates a generic 500 Unhandled Exception response.\n */\nexport function createServerErrorResponse(body: unknown): Response {\n return new Response(\n JSON.stringify(\n body instanceof Error\n ? {\n name: body.name,\n message: body.message,\n stack: body.stack,\n }\n : body\n ),\n {\n status: 500,\n statusText: 'Unhandled Exception',\n headers: {\n 'Content-Type': 'application/json',\n },\n }\n )\n}\n\nexport type ResponseError = Response & { type: 'error' }\n\n/**\n * Check if the given response is a `Response.error()`.\n *\n * @note Some environments, like Miniflare (Cloudflare) do not\n * implement the \"Response.type\" property and throw on its access.\n * Safely check if we can access \"type\" on \"Response\" before continuing.\n * @see https://github.com/mswjs/msw/issues/1834\n */\nexport function isResponseError(response: Response): response is ResponseError {\n return isPropertyAccessible(response, 'type') && response.type === 'error'\n}\n","export function isNodeLikeError(\n error: unknown\n): error is NodeJS.ErrnoException {\n if (error == null) {\n return false\n }\n\n if (!(error instanceof Error)) {\n return false\n }\n\n return 'code' in error && 'errno' in error\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs b/node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs new file mode 100644 index 0000000000..193b4416ef --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs @@ -0,0 +1,228 @@ +// src/RequestController.ts +import { invariant } from "outvariant"; +import { DeferredPromise } from "@open-draft/deferred-promise"; + +// src/InterceptorError.ts +var InterceptorError = class extends Error { + constructor(message) { + super(message); + this.name = "InterceptorError"; + Object.setPrototypeOf(this, InterceptorError.prototype); + } +}; + +// src/RequestController.ts +var kRequestHandled = Symbol("kRequestHandled"); +var kResponsePromise = Symbol("kResponsePromise"); +var RequestController = class { + constructor(request) { + this.request = request; + this[kRequestHandled] = false; + this[kResponsePromise] = new DeferredPromise(); + } + /** + * Respond to this request with the given `Response` instance. + * @example + * controller.respondWith(new Response()) + * controller.respondWith(Response.json({ id })) + * controller.respondWith(Response.error()) + */ + respondWith(response) { + invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to respond to the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(response); + } + /** + * Error this request with the given error. + * @example + * controller.errorWith() + * controller.errorWith(new Error('Oops!')) + */ + errorWith(error) { + invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to error the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(error); + } +}; +kResponsePromise, kRequestHandled; + +// src/utils/emitAsync.ts +async function emitAsync(emitter, eventName, ...data) { + const listners = emitter.listeners(eventName); + if (listners.length === 0) { + return; + } + for (const listener of listners) { + await listener.apply(emitter, data); + } +} + +// src/utils/handleRequest.ts +import { DeferredPromise as DeferredPromise2 } from "@open-draft/deferred-promise"; +import { until } from "@open-draft/until"; + +// src/utils/isPropertyAccessible.ts +function isPropertyAccessible(obj, key) { + try { + obj[key]; + return true; + } catch (e) { + return false; + } +} + +// src/utils/responseUtils.ts +function createServerErrorResponse(body) { + return new Response( + JSON.stringify( + body instanceof Error ? { + name: body.name, + message: body.message, + stack: body.stack + } : body + ), + { + status: 500, + statusText: "Unhandled Exception", + headers: { + "Content-Type": "application/json" + } + } + ); +} +function isResponseError(response) { + return isPropertyAccessible(response, "type") && response.type === "error"; +} + +// src/utils/isNodeLikeError.ts +function isNodeLikeError(error) { + if (error == null) { + return false; + } + if (!(error instanceof Error)) { + return false; + } + return "code" in error && "errno" in error; +} + +// src/utils/handleRequest.ts +async function handleRequest(options) { + const handleResponse = async (response) => { + if (response instanceof Error) { + options.onError(response); + } else if (isResponseError(response)) { + options.onRequestError(response); + } else { + await options.onResponse(response); + } + return true; + }; + const handleResponseError = async (error) => { + if (error instanceof InterceptorError) { + throw result.error; + } + if (isNodeLikeError(error)) { + options.onError(error); + return true; + } + if (error instanceof Response) { + return await handleResponse(error); + } + return false; + }; + options.emitter.once("request", ({ requestId: pendingRequestId }) => { + if (pendingRequestId !== options.requestId) { + return; + } + if (options.controller[kResponsePromise].state === "pending") { + options.controller[kResponsePromise].resolve(void 0); + } + }); + const requestAbortPromise = new DeferredPromise2(); + if (options.request.signal) { + if (options.request.signal.aborted) { + requestAbortPromise.reject(options.request.signal.reason); + } else { + options.request.signal.addEventListener( + "abort", + () => { + requestAbortPromise.reject(options.request.signal.reason); + }, + { once: true } + ); + } + } + const result = await until(async () => { + const requestListtenersPromise = emitAsync(options.emitter, "request", { + requestId: options.requestId, + request: options.request, + controller: options.controller + }); + await Promise.race([ + // Short-circuit the request handling promise if the request gets aborted. + requestAbortPromise, + requestListtenersPromise, + options.controller[kResponsePromise] + ]); + const mockedResponse = await options.controller[kResponsePromise]; + return mockedResponse; + }); + if (requestAbortPromise.state === "rejected") { + options.onError(requestAbortPromise.rejectionReason); + return true; + } + if (result.error) { + if (await handleResponseError(result.error)) { + return true; + } + if (options.emitter.listenerCount("unhandledException") > 0) { + const unhandledExceptionController = new RequestController( + options.request + ); + await emitAsync(options.emitter, "unhandledException", { + error: result.error, + request: options.request, + requestId: options.requestId, + controller: unhandledExceptionController + }).then(() => { + if (unhandledExceptionController[kResponsePromise].state === "pending") { + unhandledExceptionController[kResponsePromise].resolve(void 0); + } + }); + const nextResult = await until( + () => unhandledExceptionController[kResponsePromise] + ); + if (nextResult.error) { + return handleResponseError(nextResult.error); + } + if (nextResult.data) { + return handleResponse(nextResult.data); + } + } + options.onResponse(createServerErrorResponse(result.error)); + return true; + } + if (result.data) { + return handleResponse(result.data); + } + return false; +} + +export { + RequestController, + emitAsync, + handleRequest +}; +//# sourceMappingURL=chunk-H5O73WD2.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs.map new file mode 100644 index 0000000000..41215da760 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-H5O73WD2.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/RequestController.ts","../../src/InterceptorError.ts","../../src/utils/emitAsync.ts","../../src/utils/handleRequest.ts","../../src/utils/isPropertyAccessible.ts","../../src/utils/responseUtils.ts","../../src/utils/isNodeLikeError.ts"],"sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { InterceptorError } from './InterceptorError'\n\nconst kRequestHandled = Symbol('kRequestHandled')\nexport const kResponsePromise = Symbol('kResponsePromise')\n\nexport class RequestController {\n /**\n * Internal response promise.\n * Available only for the library internals to grab the\n * response instance provided by the developer.\n * @note This promise cannot be rejected. It's either infinitely\n * pending or resolved with whichever Response was passed to `respondWith()`.\n */\n [kResponsePromise]: DeferredPromise;\n\n /**\n * Internal flag indicating if this request has been handled.\n * @note The response promise becomes \"fulfilled\" on the next tick.\n */\n [kRequestHandled]: boolean\n\n constructor(private request: Request) {\n this[kRequestHandled] = false\n this[kResponsePromise] = new DeferredPromise()\n }\n\n /**\n * Respond to this request with the given `Response` instance.\n * @example\n * controller.respondWith(new Response())\n * controller.respondWith(Response.json({ id }))\n * controller.respondWith(Response.error())\n */\n public respondWith(response: Response): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to respond to the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n this[kResponsePromise].resolve(response)\n\n /**\n * @note The request conrtoller doesn't do anything\n * apart from letting the interceptor await the response\n * provided by the developer through the response promise.\n * Each interceptor implements the actual respondWith/errorWith\n * logic based on that interceptor's needs.\n */\n }\n\n /**\n * Error this request with the given error.\n * @example\n * controller.errorWith()\n * controller.errorWith(new Error('Oops!'))\n */\n public errorWith(error?: Error): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to error the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n\n /**\n * @note Resolve the response promise, not reject.\n * This helps us differentiate between unhandled exceptions\n * and intended errors (\"errorWith\") while waiting for the response.\n */\n this[kResponsePromise].resolve(error)\n }\n}\n","export class InterceptorError extends Error {\n constructor(message?: string) {\n super(message)\n this.name = 'InterceptorError'\n Object.setPrototypeOf(this, InterceptorError.prototype)\n }\n}\n","import { Emitter, EventMap } from 'strict-event-emitter'\n\n/**\n * Emits an event on the given emitter but executes\n * the listeners sequentially. This accounts for asynchronous\n * listeners (e.g. those having \"sleep\" and handling the request).\n */\nexport async function emitAsync<\n Events extends EventMap,\n EventName extends keyof Events\n>(\n emitter: Emitter,\n eventName: EventName,\n ...data: Events[EventName]\n): Promise {\n const listners = emitter.listeners(eventName)\n\n if (listners.length === 0) {\n return\n }\n\n for (const listener of listners) {\n await listener.apply(emitter, data)\n }\n}\n","import type { Emitter } from 'strict-event-emitter'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { until } from '@open-draft/until'\nimport type { HttpRequestEventMap } from '../glossary'\nimport { emitAsync } from './emitAsync'\nimport { kResponsePromise, RequestController } from '../RequestController'\nimport {\n createServerErrorResponse,\n isResponseError,\n ResponseError,\n} from './responseUtils'\nimport { InterceptorError } from '../InterceptorError'\nimport { isNodeLikeError } from './isNodeLikeError'\n\ninterface HandleRequestOptions {\n requestId: string\n request: Request\n emitter: Emitter\n controller: RequestController\n\n /**\n * Called when the request has been handled\n * with the given `Response` instance.\n */\n onResponse: (response: Response) => void | Promise\n\n /**\n * Called when the request has been handled\n * with the given `Response.error()` instance.\n */\n onRequestError: (response: ResponseError) => void\n\n /**\n * Called when an unhandled error happens during the\n * request handling. This is never a thrown error/response.\n */\n onError: (error: unknown) => void\n}\n\n/**\n * @returns {Promise} Indicates whether the request has been handled.\n */\nexport async function handleRequest(\n options: HandleRequestOptions\n): Promise {\n const handleResponse = async (response: Response | Error) => {\n if (response instanceof Error) {\n options.onError(response)\n }\n\n // Handle \"Response.error()\" instances.\n else if (isResponseError(response)) {\n options.onRequestError(response)\n } else {\n await options.onResponse(response)\n }\n\n return true\n }\n\n const handleResponseError = async (error: unknown): Promise => {\n // Forward the special interceptor error instances\n // to the developer. These must not be handled in any way.\n if (error instanceof InterceptorError) {\n throw result.error\n }\n\n // Support mocking Node.js-like errors.\n if (isNodeLikeError(error)) {\n options.onError(error)\n return true\n }\n\n // Handle thrown responses.\n if (error instanceof Response) {\n return await handleResponse(error)\n }\n\n return false\n }\n\n // Add the last \"request\" listener to check if the request\n // has been handled in any way. If it hasn't, resolve the\n // response promise with undefined.\n options.emitter.once('request', ({ requestId: pendingRequestId }) => {\n if (pendingRequestId !== options.requestId) {\n return\n }\n\n if (options.controller[kResponsePromise].state === 'pending') {\n options.controller[kResponsePromise].resolve(undefined)\n }\n })\n\n const requestAbortPromise = new DeferredPromise()\n\n /**\n * @note `signal` is not always defined in React Native.\n */\n if (options.request.signal) {\n if (options.request.signal.aborted) {\n requestAbortPromise.reject(options.request.signal.reason)\n } else {\n options.request.signal.addEventListener(\n 'abort',\n () => {\n requestAbortPromise.reject(options.request.signal.reason)\n },\n { once: true }\n )\n }\n }\n\n const result = await until(async () => {\n // Emit the \"request\" event and wait until all the listeners\n // for that event are finished (e.g. async listeners awaited).\n // By the end of this promise, the developer cannot affect the\n // request anymore.\n const requestListtenersPromise = emitAsync(options.emitter, 'request', {\n requestId: options.requestId,\n request: options.request,\n controller: options.controller,\n })\n\n await Promise.race([\n // Short-circuit the request handling promise if the request gets aborted.\n requestAbortPromise,\n requestListtenersPromise,\n options.controller[kResponsePromise],\n ])\n\n // The response promise will settle immediately once\n // the developer calls either \"respondWith\" or \"errorWith\".\n const mockedResponse = await options.controller[kResponsePromise]\n return mockedResponse\n })\n\n // Handle the request being aborted while waiting for the request listeners.\n if (requestAbortPromise.state === 'rejected') {\n options.onError(requestAbortPromise.rejectionReason)\n return true\n }\n\n if (result.error) {\n // Handle the error during the request listener execution.\n // These can be thrown responses or request errors.\n if (await handleResponseError(result.error)) {\n return true\n }\n\n // If the developer has added \"unhandledException\" listeners,\n // allow them to handle the error. They can translate it to a\n // mocked response, network error, or forward it as-is.\n if (options.emitter.listenerCount('unhandledException') > 0) {\n // Create a new request controller just for the unhandled exception case.\n // This is needed because the original controller might have been already\n // interacted with (e.g. \"respondWith\" or \"errorWith\" called on it).\n const unhandledExceptionController = new RequestController(\n options.request\n )\n\n await emitAsync(options.emitter, 'unhandledException', {\n error: result.error,\n request: options.request,\n requestId: options.requestId,\n controller: unhandledExceptionController,\n }).then(() => {\n // If all the \"unhandledException\" listeners have finished\n // but have not handled the response in any way, preemptively\n // resolve the pending response promise from the new controller.\n // This prevents it from hanging forever.\n if (\n unhandledExceptionController[kResponsePromise].state === 'pending'\n ) {\n unhandledExceptionController[kResponsePromise].resolve(undefined)\n }\n })\n\n const nextResult = await until(\n () => unhandledExceptionController[kResponsePromise]\n )\n\n /**\n * @note Handle the result of the unhandled controller\n * in the same way as the original request controller.\n * The exception here is that thrown errors within the\n * \"unhandledException\" event do NOT result in another\n * emit of the same event. They are forwarded as-is.\n */\n if (nextResult.error) {\n return handleResponseError(nextResult.error)\n }\n\n if (nextResult.data) {\n return handleResponse(nextResult.data)\n }\n }\n\n // Otherwise, coerce unhandled exceptions to a 500 Internal Server Error response.\n options.onResponse(createServerErrorResponse(result.error))\n return true\n }\n\n /**\n * Handle a mocked Response instance.\n * @note That this can also be an Error in case\n * the developer called \"errorWith\". This differentiates\n * unhandled exceptions from intended errors.\n */\n if (result.data) {\n return handleResponse(result.data)\n }\n\n // In all other cases, consider the request unhandled.\n // The interceptor must perform it as-is.\n return false\n}\n","/**\n * A function that validates if property access is possible on an object\n * without throwing. It returns `true` if the property access is possible\n * and `false` otherwise.\n *\n * Environments like miniflare will throw on property access on certain objects\n * like Request and Response, for unimplemented properties.\n */\nexport function isPropertyAccessible>(\n obj: Obj,\n key: keyof Obj\n) {\n try {\n obj[key]\n return true\n } catch {\n return false\n }\n}\n","import { isPropertyAccessible } from './isPropertyAccessible'\n\n/**\n * Creates a generic 500 Unhandled Exception response.\n */\nexport function createServerErrorResponse(body: unknown): Response {\n return new Response(\n JSON.stringify(\n body instanceof Error\n ? {\n name: body.name,\n message: body.message,\n stack: body.stack,\n }\n : body\n ),\n {\n status: 500,\n statusText: 'Unhandled Exception',\n headers: {\n 'Content-Type': 'application/json',\n },\n }\n )\n}\n\nexport type ResponseError = Response & { type: 'error' }\n\n/**\n * Check if the given response is a `Response.error()`.\n *\n * @note Some environments, like Miniflare (Cloudflare) do not\n * implement the \"Response.type\" property and throw on its access.\n * Safely check if we can access \"type\" on \"Response\" before continuing.\n * @see https://github.com/mswjs/msw/issues/1834\n */\nexport function isResponseError(response: Response): response is ResponseError {\n return isPropertyAccessible(response, 'type') && response.type === 'error'\n}\n","export function isNodeLikeError(\n error: unknown\n): error is NodeJS.ErrnoException {\n if (error == null) {\n return false\n }\n\n if (!(error instanceof Error)) {\n return false\n }\n\n return 'code' in error && 'errno' in error\n}\n"],"mappings":";AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;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;AAAA,QACd,SAAS,QAAQ;AAAA,QACjB,WAAW,QAAQ;AAAA,QACnB,YAAY;AAAA,MACd,CAAC,EAAE,KAAK,MAAM;AAKZ,YACE,6BAA6B,gBAAgB,EAAE,UAAU,WACzD;AACA,uCAA6B,gBAAgB,EAAE,QAAQ,MAAS;AAAA,QAClE;AAAA,MACF,CAAC;AAED,YAAM,aAAa,MAAM;AAAA,QACvB,MAAM,6BAA6B,gBAAgB;AAAA,MACrD;AASA,UAAI,WAAW,OAAO;AACpB,eAAO,oBAAoB,WAAW,KAAK;AAAA,MAC7C;AAEA,UAAI,WAAW,MAAM;AACnB,eAAO,eAAe,WAAW,IAAI;AAAA,MACvC;AAAA,IACF;AAGA,YAAQ,WAAW,0BAA0B,OAAO,KAAK,CAAC;AAC1D,WAAO;AAAA,EACT;AAQA,MAAI,OAAO,MAAM;AACf,WAAO,eAAe,OAAO,IAAI;AAAA,EACnC;AAIA,SAAO;AACT;","names":["DeferredPromise","DeferredPromise"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js b/node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js new file mode 100644 index 0000000000..f41d9eae57 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js @@ -0,0 +1,22 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/bufferUtils.ts +var encoder = new TextEncoder(); +function encodeBuffer(text) { + return encoder.encode(text); +} +function decodeBuffer(buffer, encoding) { + const decoder = new TextDecoder(encoding); + return decoder.decode(buffer); +} +function toArrayBuffer(array) { + return array.buffer.slice( + array.byteOffset, + array.byteOffset + array.byteLength + ); +} + + + + + +exports.encodeBuffer = encodeBuffer; exports.decodeBuffer = decodeBuffer; exports.toArrayBuffer = toArrayBuffer; +//# sourceMappingURL=chunk-LK6DILFK.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js.map new file mode 100644 index 0000000000..691683680b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-LK6DILFK.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/bufferUtils.ts"],"names":[],"mappings":";AAAA,IAAM,UAAU,IAAI,YAAY;AAEzB,SAAS,aAAa,MAA0B;AACrD,SAAO,QAAQ,OAAO,IAAI;AAC5B;AAEO,SAAS,aAAa,QAAqB,UAA2B;AAC3E,QAAM,UAAU,IAAI,YAAY,QAAQ;AACxC,SAAO,QAAQ,OAAO,MAAM;AAC9B;AAOO,SAAS,cAAc,OAAgC;AAC5D,SAAO,MAAM,OAAO;AAAA,IAClB,MAAM;AAAA,IACN,MAAM,aAAa,MAAM;AAAA,EAC3B;AACF","sourcesContent":["const encoder = new TextEncoder()\n\nexport function encodeBuffer(text: string): Uint8Array {\n return encoder.encode(text)\n}\n\nexport function decodeBuffer(buffer: ArrayBuffer, encoding?: string): string {\n const decoder = new TextDecoder(encoding)\n return decoder.decode(buffer)\n}\n\n/**\n * Create an `ArrayBuffer` from the given `Uint8Array`.\n * Takes the byte offset into account to produce the right buffer\n * in the case when the buffer is bigger than the data view.\n */\nexport function toArrayBuffer(array: Uint8Array): ArrayBuffer {\n return array.buffer.slice(\n array.byteOffset,\n array.byteOffset + array.byteLength\n )\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js b/node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js new file mode 100644 index 0000000000..3206fc0cb7 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js @@ -0,0 +1,25 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/hasConfigurableGlobal.ts +function hasConfigurableGlobal(propertyName) { + const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName); + if (typeof descriptor === "undefined") { + return false; + } + if (typeof descriptor.get === "function" && typeof descriptor.get() === "undefined") { + return false; + } + if (typeof descriptor.get === "undefined" && descriptor.value == null) { + return false; + } + if (typeof descriptor.set === "undefined" && !descriptor.configurable) { + console.error( + `[MSW] Failed to apply interceptor: the global \`${propertyName}\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.` + ); + return false; + } + return true; +} + + + +exports.hasConfigurableGlobal = hasConfigurableGlobal; +//# sourceMappingURL=chunk-PFGO5BSM.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js.map new file mode 100644 index 0000000000..4069b5ab7b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-PFGO5BSM.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/hasConfigurableGlobal.ts"],"names":[],"mappings":";AAIO,SAAS,sBAAsB,cAA+B;AACnE,QAAM,aAAa,OAAO,yBAAyB,YAAY,YAAY;AAG3E,MAAI,OAAO,eAAe,aAAa;AACrC,WAAO;AAAA,EACT;AAGA,MACE,OAAO,WAAW,QAAQ,cAC1B,OAAO,WAAW,IAAI,MAAM,aAC5B;AACA,WAAO;AAAA,EACT;AAGA,MAAI,OAAO,WAAW,QAAQ,eAAe,WAAW,SAAS,MAAM;AACrE,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,WAAW,QAAQ,eAAe,CAAC,WAAW,cAAc;AACrE,YAAQ;AAAA,MACN,mDAAmD;AAAA,IACrD;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AACT","sourcesContent":["/**\n * Returns a boolean indicating whether the given global property\n * is defined and is configurable.\n */\nexport function hasConfigurableGlobal(propertyName: string): boolean {\n const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName)\n\n // The property is not set at all.\n if (typeof descriptor === 'undefined') {\n return false\n }\n\n // The property is set to a getter that returns undefined.\n if (\n typeof descriptor.get === 'function' &&\n typeof descriptor.get() === 'undefined'\n ) {\n return false\n }\n\n // The property is set to a value equal to undefined.\n if (typeof descriptor.get === 'undefined' && descriptor.value == null) {\n return false\n }\n\n if (typeof descriptor.set === 'undefined' && !descriptor.configurable) {\n console.error(\n `[MSW] Failed to apply interceptor: the global \\`${propertyName}\\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.`\n )\n return false\n }\n\n return true\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs b/node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs new file mode 100644 index 0000000000..f71287cc2b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs @@ -0,0 +1,169 @@ +// src/Interceptor.ts +import { Logger } from "@open-draft/logger"; +import { Emitter } from "strict-event-emitter"; +var INTERNAL_REQUEST_ID_HEADER_NAME = "x-interceptors-internal-request-id"; +function getGlobalSymbol(symbol) { + return ( + // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587 + globalThis[symbol] || void 0 + ); +} +function setGlobalSymbol(symbol, value) { + globalThis[symbol] = value; +} +function deleteGlobalSymbol(symbol) { + delete globalThis[symbol]; +} +var InterceptorReadyState = /* @__PURE__ */ ((InterceptorReadyState2) => { + InterceptorReadyState2["INACTIVE"] = "INACTIVE"; + InterceptorReadyState2["APPLYING"] = "APPLYING"; + InterceptorReadyState2["APPLIED"] = "APPLIED"; + InterceptorReadyState2["DISPOSING"] = "DISPOSING"; + InterceptorReadyState2["DISPOSED"] = "DISPOSED"; + return InterceptorReadyState2; +})(InterceptorReadyState || {}); +var Interceptor = class { + constructor(symbol) { + this.symbol = symbol; + this.readyState = "INACTIVE" /* INACTIVE */; + this.emitter = new Emitter(); + this.subscriptions = []; + this.logger = new Logger(symbol.description); + this.emitter.setMaxListeners(0); + this.logger.info("constructing the interceptor..."); + } + /** + * Determine if this interceptor can be applied + * in the current environment. + */ + checkEnvironment() { + return true; + } + /** + * Apply this interceptor to the current process. + * Returns an already running interceptor instance if it's present. + */ + apply() { + const logger = this.logger.extend("apply"); + logger.info("applying the interceptor..."); + if (this.readyState === "APPLIED" /* APPLIED */) { + logger.info("intercepted already applied!"); + return; + } + const shouldApply = this.checkEnvironment(); + if (!shouldApply) { + logger.info("the interceptor cannot be applied in this environment!"); + return; + } + this.readyState = "APPLYING" /* APPLYING */; + const runningInstance = this.getInstance(); + if (runningInstance) { + logger.info("found a running instance, reusing..."); + this.on = (event, listener) => { + logger.info('proxying the "%s" listener', event); + runningInstance.emitter.addListener(event, listener); + this.subscriptions.push(() => { + runningInstance.emitter.removeListener(event, listener); + logger.info('removed proxied "%s" listener!', event); + }); + return this; + }; + this.readyState = "APPLIED" /* APPLIED */; + return; + } + logger.info("no running instance found, setting up a new instance..."); + this.setup(); + this.setInstance(); + this.readyState = "APPLIED" /* APPLIED */; + } + /** + * Setup the module augments and stubs necessary for this interceptor. + * This method is not run if there's a running interceptor instance + * to prevent instantiating an interceptor multiple times. + */ + setup() { + } + /** + * Listen to the interceptor's public events. + */ + on(event, listener) { + const logger = this.logger.extend("on"); + if (this.readyState === "DISPOSING" /* DISPOSING */ || this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot listen to events, already disposed!"); + return this; + } + logger.info('adding "%s" event listener:', event, listener); + this.emitter.on(event, listener); + return this; + } + once(event, listener) { + this.emitter.once(event, listener); + return this; + } + off(event, listener) { + this.emitter.off(event, listener); + return this; + } + removeAllListeners(event) { + this.emitter.removeAllListeners(event); + return this; + } + /** + * Disposes of any side-effects this interceptor has introduced. + */ + dispose() { + const logger = this.logger.extend("dispose"); + if (this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot dispose, already disposed!"); + return; + } + logger.info("disposing the interceptor..."); + this.readyState = "DISPOSING" /* DISPOSING */; + if (!this.getInstance()) { + logger.info("no interceptors running, skipping dispose..."); + return; + } + this.clearInstance(); + logger.info("global symbol deleted:", getGlobalSymbol(this.symbol)); + if (this.subscriptions.length > 0) { + logger.info("disposing of %d subscriptions...", this.subscriptions.length); + for (const dispose of this.subscriptions) { + dispose(); + } + this.subscriptions = []; + logger.info("disposed of all subscriptions!", this.subscriptions.length); + } + this.emitter.removeAllListeners(); + logger.info("destroyed the listener!"); + this.readyState = "DISPOSED" /* DISPOSED */; + } + getInstance() { + var _a; + const instance = getGlobalSymbol(this.symbol); + this.logger.info("retrieved global instance:", (_a = instance == null ? void 0 : instance.constructor) == null ? void 0 : _a.name); + return instance; + } + setInstance() { + setGlobalSymbol(this.symbol, this); + this.logger.info("set global instance!", this.symbol.description); + } + clearInstance() { + deleteGlobalSymbol(this.symbol); + this.logger.info("cleared global instance!", this.symbol.description); + } +}; + +// src/createRequestId.ts +function createRequestId() { + return Math.random().toString(16).slice(2); +} + +export { + INTERNAL_REQUEST_ID_HEADER_NAME, + getGlobalSymbol, + deleteGlobalSymbol, + InterceptorReadyState, + Interceptor, + createRequestId +}; +//# sourceMappingURL=chunk-QED3Q6Z2.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs.map new file mode 100644 index 0000000000..1225c8315c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-QED3Q6Z2.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/Interceptor.ts","../../src/createRequestId.ts"],"sourcesContent":["import { Logger } from '@open-draft/logger'\nimport { Emitter, Listener } from 'strict-event-emitter'\n\nexport type InterceptorEventMap = Record\nexport type InterceptorSubscription = () => void\n\n/**\n * Request header name to detect when a single request\n * is being handled by nested interceptors (XHR -> ClientRequest).\n * Obscure by design to prevent collisions with user-defined headers.\n * Ideally, come up with the Interceptor-level mechanism for this.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\nexport const INTERNAL_REQUEST_ID_HEADER_NAME =\n 'x-interceptors-internal-request-id'\n\nexport function getGlobalSymbol(symbol: Symbol): V | undefined {\n return (\n // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587\n globalThis[symbol] || undefined\n )\n}\n\nfunction setGlobalSymbol(symbol: Symbol, value: any): void {\n // @ts-ignore\n globalThis[symbol] = value\n}\n\nexport function deleteGlobalSymbol(symbol: Symbol): void {\n // @ts-ignore\n delete globalThis[symbol]\n}\n\nexport enum InterceptorReadyState {\n INACTIVE = 'INACTIVE',\n APPLYING = 'APPLYING',\n APPLIED = 'APPLIED',\n DISPOSING = 'DISPOSING',\n DISPOSED = 'DISPOSED',\n}\n\nexport type ExtractEventNames> =\n Events extends Record ? EventName : never\n\nexport class Interceptor {\n protected emitter: Emitter\n protected subscriptions: Array\n protected logger: Logger\n\n public readyState: InterceptorReadyState\n\n constructor(private readonly symbol: symbol) {\n this.readyState = InterceptorReadyState.INACTIVE\n\n this.emitter = new Emitter()\n this.subscriptions = []\n this.logger = new Logger(symbol.description!)\n\n // Do not limit the maximum number of listeners\n // so not to limit the maximum amount of parallel events emitted.\n this.emitter.setMaxListeners(0)\n\n this.logger.info('constructing the interceptor...')\n }\n\n /**\n * Determine if this interceptor can be applied\n * in the current environment.\n */\n protected checkEnvironment(): boolean {\n return true\n }\n\n /**\n * Apply this interceptor to the current process.\n * Returns an already running interceptor instance if it's present.\n */\n public apply(): void {\n const logger = this.logger.extend('apply')\n logger.info('applying the interceptor...')\n\n if (this.readyState === InterceptorReadyState.APPLIED) {\n logger.info('intercepted already applied!')\n return\n }\n\n const shouldApply = this.checkEnvironment()\n\n if (!shouldApply) {\n logger.info('the interceptor cannot be applied in this environment!')\n return\n }\n\n this.readyState = InterceptorReadyState.APPLYING\n\n // Whenever applying a new interceptor, check if it hasn't been applied already.\n // This enables to apply the same interceptor multiple times, for example from a different\n // interceptor, only proxying events but keeping the stubs in a single place.\n const runningInstance = this.getInstance()\n\n if (runningInstance) {\n logger.info('found a running instance, reusing...')\n\n // Proxy any listeners you set on this instance to the running instance.\n this.on = (event, listener) => {\n logger.info('proxying the \"%s\" listener', event)\n\n // Add listeners to the running instance so they appear\n // at the top of the event listeners list and are executed first.\n runningInstance.emitter.addListener(event, listener)\n\n // Ensure that once this interceptor instance is disposed,\n // it removes all listeners it has appended to the running interceptor instance.\n this.subscriptions.push(() => {\n runningInstance.emitter.removeListener(event, listener)\n logger.info('removed proxied \"%s\" listener!', event)\n })\n\n return this\n }\n\n this.readyState = InterceptorReadyState.APPLIED\n\n return\n }\n\n logger.info('no running instance found, setting up a new instance...')\n\n // Setup the interceptor.\n this.setup()\n\n // Store the newly applied interceptor instance globally.\n this.setInstance()\n\n this.readyState = InterceptorReadyState.APPLIED\n }\n\n /**\n * Setup the module augments and stubs necessary for this interceptor.\n * This method is not run if there's a running interceptor instance\n * to prevent instantiating an interceptor multiple times.\n */\n protected setup(): void {}\n\n /**\n * Listen to the interceptor's public events.\n */\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n const logger = this.logger.extend('on')\n\n if (\n this.readyState === InterceptorReadyState.DISPOSING ||\n this.readyState === InterceptorReadyState.DISPOSED\n ) {\n logger.info('cannot listen to events, already disposed!')\n return this\n }\n\n logger.info('adding \"%s\" event listener:', event, listener)\n\n this.emitter.on(event, listener)\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.once(event, listener)\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.off(event, listener)\n return this\n }\n\n public removeAllListeners>(\n event?: EventName\n ): this {\n this.emitter.removeAllListeners(event)\n return this\n }\n\n /**\n * Disposes of any side-effects this interceptor has introduced.\n */\n public dispose(): void {\n const logger = this.logger.extend('dispose')\n\n if (this.readyState === InterceptorReadyState.DISPOSED) {\n logger.info('cannot dispose, already disposed!')\n return\n }\n\n logger.info('disposing the interceptor...')\n this.readyState = InterceptorReadyState.DISPOSING\n\n if (!this.getInstance()) {\n logger.info('no interceptors running, skipping dispose...')\n return\n }\n\n // Delete the global symbol as soon as possible,\n // indicating that the interceptor is no longer running.\n this.clearInstance()\n\n logger.info('global symbol deleted:', getGlobalSymbol(this.symbol))\n\n if (this.subscriptions.length > 0) {\n logger.info('disposing of %d subscriptions...', this.subscriptions.length)\n\n for (const dispose of this.subscriptions) {\n dispose()\n }\n\n this.subscriptions = []\n\n logger.info('disposed of all subscriptions!', this.subscriptions.length)\n }\n\n this.emitter.removeAllListeners()\n logger.info('destroyed the listener!')\n\n this.readyState = InterceptorReadyState.DISPOSED\n }\n\n private getInstance(): this | undefined {\n const instance = getGlobalSymbol(this.symbol)\n this.logger.info('retrieved global instance:', instance?.constructor?.name)\n return instance\n }\n\n private setInstance(): void {\n setGlobalSymbol(this.symbol, this)\n this.logger.info('set global instance!', this.symbol.description)\n }\n\n private clearInstance(): void {\n deleteGlobalSymbol(this.symbol)\n this.logger.info('cleared global instance!', this.symbol.description)\n }\n}\n","/**\n * Generate a random ID string to represent a request.\n * @example\n * createRequestId()\n * // \"f774b6c9c600f\"\n */\nexport function createRequestId(): string {\n return Math.random().toString(16).slice(2)\n}\n"],"mappings":";AAAA,SAAS,cAAc;AACvB,SAAS,eAAyB;AAY3B,IAAM,kCACX;AAEK,SAAS,gBAAmB,QAA+B;AAChE;AAAA;AAAA,IAEE,WAAW,MAAM,KAAK;AAAA;AAE1B;AAEA,SAAS,gBAAgB,QAAgB,OAAkB;AAEzD,aAAW,MAAM,IAAI;AACvB;AAEO,SAAS,mBAAmB,QAAsB;AAEvD,SAAO,WAAW,MAAM;AAC1B;AAEO,IAAK,wBAAL,kBAAKA,2BAAL;AACL,EAAAA,uBAAA,cAAW;AACX,EAAAA,uBAAA,cAAW;AACX,EAAAA,uBAAA,aAAU;AACV,EAAAA,uBAAA,eAAY;AACZ,EAAAA,uBAAA,cAAW;AALD,SAAAA;AAAA,GAAA;AAWL,IAAM,cAAN,MAAsD;AAAA,EAO3D,YAA6B,QAAgB;AAAhB;AAC3B,SAAK,aAAa;AAElB,SAAK,UAAU,IAAI,QAAQ;AAC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;AACjC,SAAK,OAAO,KAAK,wBAAwB,KAAK,OAAO,WAAW;AAAA,EAClE;AAAA,EAEQ,gBAAsB;AAC5B,uBAAmB,KAAK,MAAM;AAC9B,SAAK,OAAO,KAAK,4BAA4B,KAAK,OAAO,WAAW;AAAA,EACtE;AACF;;;AClPO,SAAS,kBAA0B;AACxC,SAAO,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,CAAC;AAC3C;","names":["InterceptorReadyState"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js b/node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js new file mode 100644 index 0000000000..a9677a67ef --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js @@ -0,0 +1,295 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + + + +var _chunkFGSEOIC4js = require('./chunk-FGSEOIC4.js'); + + + +var _chunkBC2BLJQNjs = require('./chunk-BC2BLJQN.js'); + + +var _chunkPFGO5BSMjs = require('./chunk-PFGO5BSM.js'); + + + +var _chunkTIPR373Rjs = require('./chunk-TIPR373R.js'); + +// src/interceptors/fetch/index.ts +var _outvariant = require('outvariant'); +var _deferredpromise = require('@open-draft/deferred-promise'); + +// src/utils/canParseUrl.ts +function canParseUrl(url) { + try { + new URL(url); + return true; + } catch (_error) { + return false; + } +} + +// src/interceptors/fetch/utils/createNetworkError.ts +function createNetworkError(cause) { + return Object.assign(new TypeError("Failed to fetch"), { + cause + }); +} + +// src/interceptors/fetch/utils/followRedirect.ts +var REQUEST_BODY_HEADERS = [ + "content-encoding", + "content-language", + "content-location", + "content-type", + "content-length" +]; +var kRedirectCount = Symbol("kRedirectCount"); +async function followFetchRedirect(request, response) { + if (response.status !== 303 && request.body != null) { + return Promise.reject(createNetworkError()); + } + const requestUrl = new URL(request.url); + let locationUrl; + try { + locationUrl = new URL(response.headers.get("location"), request.url); + } catch (error) { + return Promise.reject(createNetworkError(error)); + } + if (!(locationUrl.protocol === "http:" || locationUrl.protocol === "https:")) { + return Promise.reject( + createNetworkError("URL scheme must be a HTTP(S) scheme") + ); + } + if (Reflect.get(request, kRedirectCount) > 20) { + return Promise.reject(createNetworkError("redirect count exceeded")); + } + Object.defineProperty(request, kRedirectCount, { + value: (Reflect.get(request, kRedirectCount) || 0) + 1 + }); + if (request.mode === "cors" && (locationUrl.username || locationUrl.password) && !sameOrigin(requestUrl, locationUrl)) { + return Promise.reject( + createNetworkError('cross origin not allowed for request mode "cors"') + ); + } + const requestInit = {}; + if ([301, 302].includes(response.status) && request.method === "POST" || response.status === 303 && !["HEAD", "GET"].includes(request.method)) { + requestInit.method = "GET"; + requestInit.body = null; + REQUEST_BODY_HEADERS.forEach((headerName) => { + request.headers.delete(headerName); + }); + } + if (!sameOrigin(requestUrl, locationUrl)) { + request.headers.delete("authorization"); + request.headers.delete("proxy-authorization"); + request.headers.delete("cookie"); + request.headers.delete("host"); + } + requestInit.headers = request.headers; + return fetch(new Request(locationUrl, requestInit)); +} +function sameOrigin(left, right) { + if (left.origin === right.origin && left.origin === "null") { + return true; + } + if (left.protocol === right.protocol && left.hostname === right.hostname && left.port === right.port) { + return true; + } + return false; +} + +// src/interceptors/fetch/utils/brotli-decompress.browser.ts +var BrotliDecompressionStream = class extends TransformStream { + constructor() { + console.warn( + "[Interceptors]: Brotli decompression of response streams is not supported in the browser" + ); + super({ + transform(chunk, controller) { + controller.enqueue(chunk); + } + }); + } +}; + +// src/interceptors/fetch/utils/decompression.ts +var PipelineStream = class extends TransformStream { + constructor(transformStreams, ...strategies) { + super({}, ...strategies); + const readable = [super.readable, ...transformStreams].reduce( + (readable2, transform) => readable2.pipeThrough(transform) + ); + Object.defineProperty(this, "readable", { + get() { + return readable; + } + }); + } +}; +function parseContentEncoding(contentEncoding) { + return contentEncoding.toLowerCase().split(",").map((coding) => coding.trim()); +} +function createDecompressionStream(contentEncoding) { + if (contentEncoding === "") { + return null; + } + const codings = parseContentEncoding(contentEncoding); + if (codings.length === 0) { + return null; + } + const transformers = codings.reduceRight( + (transformers2, coding) => { + if (coding === "gzip" || coding === "x-gzip") { + return transformers2.concat(new DecompressionStream("gzip")); + } else if (coding === "deflate") { + return transformers2.concat(new DecompressionStream("deflate")); + } else if (coding === "br") { + return transformers2.concat(new BrotliDecompressionStream()); + } else { + transformers2.length = 0; + } + return transformers2; + }, + [] + ); + return new PipelineStream(transformers); +} +function decompressResponse(response) { + if (response.body === null) { + return null; + } + const decompressionStream = createDecompressionStream( + response.headers.get("content-encoding") || "" + ); + if (!decompressionStream) { + return null; + } + response.body.pipeTo(decompressionStream.writable); + return decompressionStream.readable; +} + +// src/interceptors/fetch/index.ts +var _FetchInterceptor = class extends _chunkTIPR373Rjs.Interceptor { + constructor() { + super(_FetchInterceptor.symbol); + } + checkEnvironment() { + return _chunkPFGO5BSMjs.hasConfigurableGlobal.call(void 0, "fetch"); + } + async setup() { + const pureFetch = globalThis.fetch; + _outvariant.invariant.call(void 0, + !pureFetch[_chunkBC2BLJQNjs.IS_PATCHED_MODULE], + 'Failed to patch the "fetch" module: already patched.' + ); + globalThis.fetch = async (input, init) => { + const requestId = _chunkTIPR373Rjs.createRequestId.call(void 0, ); + const resolvedInput = typeof input === "string" && typeof location !== "undefined" && !canParseUrl(input) ? new URL(input, location.origin) : input; + const request = new Request(resolvedInput, init); + const responsePromise = new (0, _deferredpromise.DeferredPromise)(); + const controller = new (0, _chunkFGSEOIC4js.RequestController)(request); + this.logger.info("[%s] %s", request.method, request.url); + this.logger.info("awaiting for the mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + this.emitter.listenerCount("request") + ); + const isRequestHandled = await _chunkFGSEOIC4js.handleRequest.call(void 0, { + request, + requestId, + emitter: this.emitter, + controller, + onResponse: async (rawResponse) => { + this.logger.info("received mocked response!", { + rawResponse + }); + const decompressedStream = decompressResponse(rawResponse); + const response = decompressedStream === null ? rawResponse : new (0, _chunkBC2BLJQNjs.FetchResponse)(decompressedStream, rawResponse); + _chunkBC2BLJQNjs.FetchResponse.setUrl(request.url, response); + if (_chunkBC2BLJQNjs.FetchResponse.isRedirectResponse(response.status)) { + if (request.redirect === "error") { + responsePromise.reject(createNetworkError("unexpected redirect")); + return; + } + if (request.redirect === "follow") { + followFetchRedirect(request, response).then( + (response2) => { + responsePromise.resolve(response2); + }, + (reason) => { + responsePromise.reject(reason); + } + ); + return; + } + } + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + await _chunkFGSEOIC4js.emitAsync.call(void 0, this.emitter, "response", { + // Clone the mocked response for the "response" event listener. + // This way, the listener can read the response and not lock its body + // for the actual fetch consumer. + response: response.clone(), + isMockedResponse: true, + request, + requestId + }); + } + responsePromise.resolve(response); + }, + onRequestError: (response) => { + this.logger.info("request has errored!", { response }); + responsePromise.reject(createNetworkError(response)); + }, + onError: (error) => { + this.logger.info("request has been aborted!", { error }); + responsePromise.reject(error); + } + }); + if (isRequestHandled) { + this.logger.info("request has been handled, returning mock promise..."); + return responsePromise; + } + this.logger.info( + "no mocked response received, performing request as-is..." + ); + return pureFetch(request).then(async (response) => { + this.logger.info("original fetch performed", response); + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + const responseClone = response.clone(); + await _chunkFGSEOIC4js.emitAsync.call(void 0, this.emitter, "response", { + response: responseClone, + isMockedResponse: false, + request, + requestId + }); + } + return response; + }); + }; + Object.defineProperty(globalThis.fetch, _chunkBC2BLJQNjs.IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.fetch, _chunkBC2BLJQNjs.IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.fetch = pureFetch; + this.logger.info( + 'restored native "globalThis.fetch"!', + globalThis.fetch.name + ); + }); + } +}; +var FetchInterceptor = _FetchInterceptor; +FetchInterceptor.symbol = Symbol("fetch"); + + + +exports.FetchInterceptor = FetchInterceptor; +//# sourceMappingURL=chunk-QVOTKFTB.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js.map new file mode 100644 index 0000000000..07453e36c1 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-QVOTKFTB.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/fetch/index.ts","../../src/utils/canParseUrl.ts","../../src/interceptors/fetch/utils/createNetworkError.ts","../../src/interceptors/fetch/utils/followRedirect.ts","../../src/interceptors/fetch/utils/brotli-decompress.browser.ts","../../src/interceptors/fetch/utils/decompression.ts"],"names":["readable","transformers","response"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;;;ACIzB,SAAS,YAAY,KAAsB;AAChD,MAAI;AACF,QAAI,IAAI,GAAG;AACX,WAAO;AAAA,EACT,SAAS,QAAP;AACA,WAAO;AAAA,EACT;AACF;;;ACZO,SAAS,mBAAmB,OAAiB;AAClD,SAAO,OAAO,OAAO,IAAI,UAAU,iBAAiB,GAAG;AAAA,IACrD;AAAA,EACF,CAAC;AACH;;;ACFA,IAAM,uBAAuB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,IAAM,iBAAiB,OAAO,gBAAgB;AAK9C,eAAsB,oBACpB,SACA,UACmB;AACnB,MAAI,SAAS,WAAW,OAAO,QAAQ,QAAQ,MAAM;AACnD,WAAO,QAAQ,OAAO,mBAAmB,CAAC;AAAA,EAC5C;AAEA,QAAM,aAAa,IAAI,IAAI,QAAQ,GAAG;AAEtC,MAAI;AACJ,MAAI;AAEF,kBAAc,IAAI,IAAI,SAAS,QAAQ,IAAI,UAAU,GAAI,QAAQ,GAAG;AAAA,EACtE,SAAS,OAAP;AACA,WAAO,QAAQ,OAAO,mBAAmB,KAAK,CAAC;AAAA,EACjD;AAEA,MACE,EAAE,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AAO;AAAA,QACV;AAAA,MACF;AAEA,aAAO,UAAU,OAAO,EAAE,KAAK,OAAO,aAAa;AACjD,aAAK,OAAO,KAAK,4BAA4B,QAAQ;AAErD,YAAI,KAAK,QAAQ,cAAc,UAAU,IAAI,GAAG;AAC9C,eAAK,OAAO,KAAK,kCAAkC;AAEnD,gBAAM,gBAAgB,SAAS,MAAM;AAErC,gBAAM,UAAU,KAAK,SAAS,YAAY;AAAA,YACxC,UAAU;AAAA,YACV,kBAAkB;AAAA,YAClB;AAAA,YACA;AAAA,UACF,CAAC;AAAA,QACH;AAEA,eAAO;AAAA,MACT,CAAC;AAAA,IACH;AAEA,WAAO,eAAe,WAAW,OAAO,mBAAmB;AAAA,MACzD,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,OAAO;AAAA,IACT,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO,eAAe,WAAW,OAAO,mBAAmB;AAAA,QACzD,OAAO;AAAA,MACT,CAAC;AAED,iBAAW,QAAQ;AAEnB,WAAK,OAAO;AAAA,QACV;AAAA,QACA,WAAW,MAAM;AAAA,MACnB;AAAA,IACF,CAAC;AAAA,EACH;AACF;AA1KO,IAAM,mBAAN;AAAM,iBACJ,SAAS,OAAO,OAAO","sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { RequestController } from '../../RequestController'\nimport { emitAsync } from '../../utils/emitAsync'\nimport { handleRequest } from '../../utils/handleRequest'\nimport { canParseUrl } from '../../utils/canParseUrl'\nimport { createRequestId } from '../../createRequestId'\nimport { createNetworkError } from './utils/createNetworkError'\nimport { followFetchRedirect } from './utils/followRedirect'\nimport { decompressResponse } from './utils/decompression'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\nimport { FetchResponse } from '../../utils/fetchUtils'\n\nexport class FetchInterceptor extends Interceptor {\n static symbol = Symbol('fetch')\n\n constructor() {\n super(FetchInterceptor.symbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('fetch')\n }\n\n protected async setup() {\n const pureFetch = globalThis.fetch\n\n invariant(\n !(pureFetch as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"fetch\" module: already patched.'\n )\n\n globalThis.fetch = async (input, init) => {\n const requestId = createRequestId()\n\n /**\n * @note Resolve potentially relative request URL\n * against the present `location`. This is mainly\n * for native `fetch` in JSDOM.\n * @see https://github.com/mswjs/msw/issues/1625\n */\n const resolvedInput =\n typeof input === 'string' &&\n typeof location !== 'undefined' &&\n !canParseUrl(input)\n ? new URL(input, location.origin)\n : input\n\n const request = new Request(resolvedInput, init)\n const responsePromise = new DeferredPromise()\n const controller = new RequestController(request)\n\n this.logger.info('[%s] %s', request.method, request.url)\n this.logger.info('awaiting for the mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n this.emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n emitter: this.emitter,\n controller,\n onResponse: async (rawResponse) => {\n this.logger.info('received mocked response!', {\n rawResponse,\n })\n\n // Decompress the mocked response body, if applicable.\n const decompressedStream = decompressResponse(rawResponse)\n const response =\n decompressedStream === null\n ? rawResponse\n : new FetchResponse(decompressedStream, rawResponse)\n\n FetchResponse.setUrl(request.url, response)\n\n /**\n * Undici's handling of following redirect responses.\n * Treat the \"manual\" redirect mode as a regular mocked response.\n * This way, the client can manually follow the redirect it receives.\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1173\n */\n if (FetchResponse.isRedirectResponse(response.status)) {\n // Reject the request promise if its `redirect` is set to `error`\n // and it receives a mocked redirect response.\n if (request.redirect === 'error') {\n responsePromise.reject(createNetworkError('unexpected redirect'))\n return\n }\n\n if (request.redirect === 'follow') {\n followFetchRedirect(request, response).then(\n (response) => {\n responsePromise.resolve(response)\n },\n (reason) => {\n responsePromise.reject(reason)\n }\n )\n return\n }\n }\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n // Await the response listeners to finish before resolving\n // the response promise. This ensures all your logic finishes\n // before the interceptor resolves the pending response.\n await emitAsync(this.emitter, 'response', {\n // Clone the mocked response for the \"response\" event listener.\n // This way, the listener can read the response and not lock its body\n // for the actual fetch consumer.\n response: response.clone(),\n isMockedResponse: true,\n request,\n requestId,\n })\n }\n\n responsePromise.resolve(response)\n },\n onRequestError: (response) => {\n this.logger.info('request has errored!', { response })\n responsePromise.reject(createNetworkError(response))\n },\n onError: (error) => {\n this.logger.info('request has been aborted!', { error })\n responsePromise.reject(error)\n },\n })\n\n if (isRequestHandled) {\n this.logger.info('request has been handled, returning mock promise...')\n return responsePromise\n }\n\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n\n return pureFetch(request).then(async (response) => {\n this.logger.info('original fetch performed', response)\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n const responseClone = response.clone()\n\n await emitAsync(this.emitter, 'response', {\n response: responseClone,\n isMockedResponse: false,\n request,\n requestId,\n })\n }\n\n return response\n })\n }\n\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.fetch = pureFetch\n\n this.logger.info(\n 'restored native \"globalThis.fetch\"!',\n globalThis.fetch.name\n )\n })\n }\n}\n","/**\n * Returns a boolean indicating whether the given URL string\n * can be parsed into a `URL` instance.\n * A substitute for `URL.canParse()` for Node.js 18.\n */\nexport function canParseUrl(url: string): boolean {\n try {\n new URL(url)\n return true\n } catch (_error) {\n return false\n }\n}\n","export function createNetworkError(cause?: unknown) {\n return Object.assign(new TypeError('Failed to fetch'), {\n cause,\n })\n}\n","import { createNetworkError } from './createNetworkError'\n\nconst REQUEST_BODY_HEADERS = [\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n 'content-length',\n]\n\nconst kRedirectCount = Symbol('kRedirectCount')\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1210\n */\nexport async function followFetchRedirect(\n request: Request,\n response: Response\n): Promise {\n if (response.status !== 303 && request.body != null) {\n return Promise.reject(createNetworkError())\n }\n\n const requestUrl = new URL(request.url)\n\n let locationUrl: URL\n try {\n // If the location is a relative URL, use the request URL as the base URL.\n locationUrl = new URL(response.headers.get('location')!, request.url) \n } catch (error) {\n return Promise.reject(createNetworkError(error))\n }\n\n if (\n !(locationUrl.protocol === 'http:' || locationUrl.protocol === 'https:')\n ) {\n return Promise.reject(\n createNetworkError('URL scheme must be a HTTP(S) scheme')\n )\n }\n\n if (Reflect.get(request, kRedirectCount) > 20) {\n return Promise.reject(createNetworkError('redirect count exceeded'))\n }\n\n Object.defineProperty(request, kRedirectCount, {\n value: (Reflect.get(request, kRedirectCount) || 0) + 1,\n })\n\n if (\n request.mode === 'cors' &&\n (locationUrl.username || locationUrl.password) &&\n !sameOrigin(requestUrl, locationUrl)\n ) {\n return Promise.reject(\n createNetworkError('cross origin not allowed for request mode \"cors\"')\n )\n }\n\n const requestInit: RequestInit = {}\n\n if (\n ([301, 302].includes(response.status) && request.method === 'POST') ||\n (response.status === 303 && !['HEAD', 'GET'].includes(request.method))\n ) {\n requestInit.method = 'GET'\n requestInit.body = null\n\n REQUEST_BODY_HEADERS.forEach((headerName) => {\n request.headers.delete(headerName)\n })\n }\n\n if (!sameOrigin(requestUrl, locationUrl)) {\n request.headers.delete('authorization')\n request.headers.delete('proxy-authorization')\n request.headers.delete('cookie')\n request.headers.delete('host')\n }\n\n /**\n * @note Undici \"safely\" extracts the request body.\n * I suspect we cannot dispatch this request again\n * since its body has been read and the stream is locked.\n */\n\n requestInit.headers = request.headers\n return fetch(new Request(locationUrl, requestInit))\n}\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/util.js#L761\n */\nfunction sameOrigin(left: URL, right: URL): boolean {\n if (left.origin === right.origin && left.origin === 'null') {\n return true\n }\n\n if (\n left.protocol === right.protocol &&\n left.hostname === right.hostname &&\n left.port === right.port\n ) {\n return true\n }\n\n return false\n}\n","export class BrotliDecompressionStream extends TransformStream {\n constructor() {\n console.warn(\n '[Interceptors]: Brotli decompression of response streams is not supported in the browser'\n )\n\n super({\n transform(chunk, controller) {\n // Keep the stream as passthrough, it does nothing.\n controller.enqueue(chunk)\n },\n })\n }\n}\n","// Import from an internal alias that resolves to different modules\n// depending on the environment. This way, we can keep the fetch interceptor\n// intact while using different strategies for Brotli decompression.\nimport { BrotliDecompressionStream } from 'internal:brotli-decompress'\n\nclass PipelineStream extends TransformStream {\n constructor(\n transformStreams: Array,\n ...strategies: Array\n ) {\n super({}, ...strategies)\n\n const readable = [super.readable as any, ...transformStreams].reduce(\n (readable, transform) => readable.pipeThrough(transform)\n )\n\n Object.defineProperty(this, 'readable', {\n get() {\n return readable\n },\n })\n }\n}\n\nexport function parseContentEncoding(contentEncoding: string): Array {\n return contentEncoding\n .toLowerCase()\n .split(',')\n .map((coding) => coding.trim())\n}\n\nfunction createDecompressionStream(\n contentEncoding: string\n): TransformStream | null {\n if (contentEncoding === '') {\n return null\n }\n\n const codings = parseContentEncoding(contentEncoding)\n\n if (codings.length === 0) {\n return null\n }\n\n const transformers = codings.reduceRight>(\n (transformers, coding) => {\n if (coding === 'gzip' || coding === 'x-gzip') {\n return transformers.concat(new DecompressionStream('gzip'))\n } else if (coding === 'deflate') {\n return transformers.concat(new DecompressionStream('deflate'))\n } else if (coding === 'br') {\n return transformers.concat(new BrotliDecompressionStream())\n } else {\n transformers.length = 0\n }\n\n return transformers\n },\n []\n )\n\n return new PipelineStream(transformers)\n}\n\nexport function decompressResponse(\n response: Response\n): ReadableStream | null {\n if (response.body === null) {\n return null\n }\n\n const decompressionStream = createDecompressionStream(\n response.headers.get('content-encoding') || ''\n )\n\n if (!decompressionStream) {\n return null\n }\n\n // Use `pipeTo` and return the decompression stream's readable\n // instead of `pipeThrough` because that will lock the original\n // response stream, making it unusable as the input to Response.\n response.body.pipeTo(decompressionStream.writable)\n return decompressionStream.readable\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js b/node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js new file mode 100644 index 0000000000..17ca97fd87 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js @@ -0,0 +1,169 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/Interceptor.ts +var _logger = require('@open-draft/logger'); +var _stricteventemitter = require('strict-event-emitter'); +var INTERNAL_REQUEST_ID_HEADER_NAME = "x-interceptors-internal-request-id"; +function getGlobalSymbol(symbol) { + return ( + // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587 + globalThis[symbol] || void 0 + ); +} +function setGlobalSymbol(symbol, value) { + globalThis[symbol] = value; +} +function deleteGlobalSymbol(symbol) { + delete globalThis[symbol]; +} +var InterceptorReadyState = /* @__PURE__ */ ((InterceptorReadyState2) => { + InterceptorReadyState2["INACTIVE"] = "INACTIVE"; + InterceptorReadyState2["APPLYING"] = "APPLYING"; + InterceptorReadyState2["APPLIED"] = "APPLIED"; + InterceptorReadyState2["DISPOSING"] = "DISPOSING"; + InterceptorReadyState2["DISPOSED"] = "DISPOSED"; + return InterceptorReadyState2; +})(InterceptorReadyState || {}); +var Interceptor = class { + constructor(symbol) { + this.symbol = symbol; + this.readyState = "INACTIVE" /* INACTIVE */; + this.emitter = new (0, _stricteventemitter.Emitter)(); + this.subscriptions = []; + this.logger = new (0, _logger.Logger)(symbol.description); + this.emitter.setMaxListeners(0); + this.logger.info("constructing the interceptor..."); + } + /** + * Determine if this interceptor can be applied + * in the current environment. + */ + checkEnvironment() { + return true; + } + /** + * Apply this interceptor to the current process. + * Returns an already running interceptor instance if it's present. + */ + apply() { + const logger = this.logger.extend("apply"); + logger.info("applying the interceptor..."); + if (this.readyState === "APPLIED" /* APPLIED */) { + logger.info("intercepted already applied!"); + return; + } + const shouldApply = this.checkEnvironment(); + if (!shouldApply) { + logger.info("the interceptor cannot be applied in this environment!"); + return; + } + this.readyState = "APPLYING" /* APPLYING */; + const runningInstance = this.getInstance(); + if (runningInstance) { + logger.info("found a running instance, reusing..."); + this.on = (event, listener) => { + logger.info('proxying the "%s" listener', event); + runningInstance.emitter.addListener(event, listener); + this.subscriptions.push(() => { + runningInstance.emitter.removeListener(event, listener); + logger.info('removed proxied "%s" listener!', event); + }); + return this; + }; + this.readyState = "APPLIED" /* APPLIED */; + return; + } + logger.info("no running instance found, setting up a new instance..."); + this.setup(); + this.setInstance(); + this.readyState = "APPLIED" /* APPLIED */; + } + /** + * Setup the module augments and stubs necessary for this interceptor. + * This method is not run if there's a running interceptor instance + * to prevent instantiating an interceptor multiple times. + */ + setup() { + } + /** + * Listen to the interceptor's public events. + */ + on(event, listener) { + const logger = this.logger.extend("on"); + if (this.readyState === "DISPOSING" /* DISPOSING */ || this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot listen to events, already disposed!"); + return this; + } + logger.info('adding "%s" event listener:', event, listener); + this.emitter.on(event, listener); + return this; + } + once(event, listener) { + this.emitter.once(event, listener); + return this; + } + off(event, listener) { + this.emitter.off(event, listener); + return this; + } + removeAllListeners(event) { + this.emitter.removeAllListeners(event); + return this; + } + /** + * Disposes of any side-effects this interceptor has introduced. + */ + dispose() { + const logger = this.logger.extend("dispose"); + if (this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot dispose, already disposed!"); + return; + } + logger.info("disposing the interceptor..."); + this.readyState = "DISPOSING" /* DISPOSING */; + if (!this.getInstance()) { + logger.info("no interceptors running, skipping dispose..."); + return; + } + this.clearInstance(); + logger.info("global symbol deleted:", getGlobalSymbol(this.symbol)); + if (this.subscriptions.length > 0) { + logger.info("disposing of %d subscriptions...", this.subscriptions.length); + for (const dispose of this.subscriptions) { + dispose(); + } + this.subscriptions = []; + logger.info("disposed of all subscriptions!", this.subscriptions.length); + } + this.emitter.removeAllListeners(); + logger.info("destroyed the listener!"); + this.readyState = "DISPOSED" /* DISPOSED */; + } + getInstance() { + var _a; + const instance = getGlobalSymbol(this.symbol); + this.logger.info("retrieved global instance:", (_a = instance == null ? void 0 : instance.constructor) == null ? void 0 : _a.name); + return instance; + } + setInstance() { + setGlobalSymbol(this.symbol, this); + this.logger.info("set global instance!", this.symbol.description); + } + clearInstance() { + deleteGlobalSymbol(this.symbol); + this.logger.info("cleared global instance!", this.symbol.description); + } +}; + +// src/createRequestId.ts +function createRequestId() { + return Math.random().toString(16).slice(2); +} + + + + + + + + +exports.INTERNAL_REQUEST_ID_HEADER_NAME = INTERNAL_REQUEST_ID_HEADER_NAME; exports.getGlobalSymbol = getGlobalSymbol; exports.deleteGlobalSymbol = deleteGlobalSymbol; exports.InterceptorReadyState = InterceptorReadyState; exports.Interceptor = Interceptor; exports.createRequestId = createRequestId; +//# sourceMappingURL=chunk-TIPR373R.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js.map new file mode 100644 index 0000000000..0becb9b1b4 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-TIPR373R.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/Interceptor.ts","../../src/createRequestId.ts"],"names":["InterceptorReadyState"],"mappings":";AAAA,SAAS,cAAc;AACvB,SAAS,eAAyB;AAY3B,IAAM,kCACX;AAEK,SAAS,gBAAmB,QAA+B;AAChE;AAAA;AAAA,IAEE,WAAW,MAAM,KAAK;AAAA;AAE1B;AAEA,SAAS,gBAAgB,QAAgB,OAAkB;AAEzD,aAAW,M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;AAEA,WAAK,gBAAgB,CAAC;AAEtB,aAAO,KAAK,kCAAkC,KAAK,cAAc,MAAM;AAAA,IACzE;AAEA,SAAK,QAAQ,mBAAmB;AAChC,WAAO,KAAK,yBAAyB;AAErC,SAAK,aAAa;AAAA,EACpB;AAAA,EAEQ,cAAgC;AAzO1C;AA0OI,UAAM,WAAW,gBAAsB,KAAK,MAAM;AAClD,SAAK,OAAO,KAAK,+BAA8B,0CAAU,gBAAV,mBAAuB,IAAI;AAC1E,WAAO;AAAA,EACT;AAAA,EAEQ,cAAoB;AAC1B,oBAAgB,KAAK,QAAQ,IAAI;AACjC,SAAK,OAAO,KAAK,wBAAwB,KAAK,OAAO,WAAW;AAAA,EAClE;AAAA,EAEQ,gBAAsB;AAC5B,uBAAmB,KAAK,MAAM;AAC9B,SAAK,OAAO,KAAK,4BAA4B,KAAK,OAAO,WAAW;AAAA,EACtE;AACF;;;AClPO,SAAS,kBAA0B;AACxC,SAAO,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,CAAC;AAC3C","sourcesContent":["import { Logger } from '@open-draft/logger'\nimport { Emitter, Listener } from 'strict-event-emitter'\n\nexport type InterceptorEventMap = Record\nexport type InterceptorSubscription = () => void\n\n/**\n * Request header name to detect when a single request\n * is being handled by nested interceptors (XHR -> ClientRequest).\n * Obscure by design to prevent collisions with user-defined headers.\n * Ideally, come up with the Interceptor-level mechanism for this.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\nexport const INTERNAL_REQUEST_ID_HEADER_NAME =\n 'x-interceptors-internal-request-id'\n\nexport function getGlobalSymbol(symbol: Symbol): V | undefined {\n return (\n // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587\n globalThis[symbol] || undefined\n )\n}\n\nfunction setGlobalSymbol(symbol: Symbol, value: any): void {\n // @ts-ignore\n globalThis[symbol] = value\n}\n\nexport function deleteGlobalSymbol(symbol: Symbol): void {\n // @ts-ignore\n delete globalThis[symbol]\n}\n\nexport enum InterceptorReadyState {\n INACTIVE = 'INACTIVE',\n APPLYING = 'APPLYING',\n APPLIED = 'APPLIED',\n DISPOSING = 'DISPOSING',\n DISPOSED = 'DISPOSED',\n}\n\nexport type ExtractEventNames> =\n Events extends Record ? EventName : never\n\nexport class Interceptor {\n protected emitter: Emitter\n protected subscriptions: Array\n protected logger: Logger\n\n public readyState: InterceptorReadyState\n\n constructor(private readonly symbol: symbol) {\n this.readyState = InterceptorReadyState.INACTIVE\n\n this.emitter = new Emitter()\n this.subscriptions = []\n this.logger = new Logger(symbol.description!)\n\n // Do not limit the maximum number of listeners\n // so not to limit the maximum amount of parallel events emitted.\n this.emitter.setMaxListeners(0)\n\n this.logger.info('constructing the interceptor...')\n }\n\n /**\n * Determine if this interceptor can be applied\n * in the current environment.\n */\n protected checkEnvironment(): boolean {\n return true\n }\n\n /**\n * Apply this interceptor to the current process.\n * Returns an already running interceptor instance if it's present.\n */\n public apply(): void {\n const logger = this.logger.extend('apply')\n logger.info('applying the interceptor...')\n\n if (this.readyState === InterceptorReadyState.APPLIED) {\n logger.info('intercepted already applied!')\n return\n }\n\n const shouldApply = this.checkEnvironment()\n\n if (!shouldApply) {\n logger.info('the interceptor cannot be applied in this environment!')\n return\n }\n\n this.readyState = InterceptorReadyState.APPLYING\n\n // Whenever applying a new interceptor, check if it hasn't been applied already.\n // This enables to apply the same interceptor multiple times, for example from a different\n // interceptor, only proxying events but keeping the stubs in a single place.\n const runningInstance = this.getInstance()\n\n if (runningInstance) {\n logger.info('found a running instance, reusing...')\n\n // Proxy any listeners you set on this instance to the running instance.\n this.on = (event, listener) => {\n logger.info('proxying the \"%s\" listener', event)\n\n // Add listeners to the running instance so they appear\n // at the top of the event listeners list and are executed first.\n runningInstance.emitter.addListener(event, listener)\n\n // Ensure that once this interceptor instance is disposed,\n // it removes all listeners it has appended to the running interceptor instance.\n this.subscriptions.push(() => {\n runningInstance.emitter.removeListener(event, listener)\n logger.info('removed proxied \"%s\" listener!', event)\n })\n\n return this\n }\n\n this.readyState = InterceptorReadyState.APPLIED\n\n return\n }\n\n logger.info('no running instance found, setting up a new instance...')\n\n // Setup the interceptor.\n this.setup()\n\n // Store the newly applied interceptor instance globally.\n this.setInstance()\n\n this.readyState = InterceptorReadyState.APPLIED\n }\n\n /**\n * Setup the module augments and stubs necessary for this interceptor.\n * This method is not run if there's a running interceptor instance\n * to prevent instantiating an interceptor multiple times.\n */\n protected setup(): void {}\n\n /**\n * Listen to the interceptor's public events.\n */\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n const logger = this.logger.extend('on')\n\n if (\n this.readyState === InterceptorReadyState.DISPOSING ||\n this.readyState === InterceptorReadyState.DISPOSED\n ) {\n logger.info('cannot listen to events, already disposed!')\n return this\n }\n\n logger.info('adding \"%s\" event listener:', event, listener)\n\n this.emitter.on(event, listener)\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.once(event, listener)\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.off(event, listener)\n return this\n }\n\n public removeAllListeners>(\n event?: EventName\n ): this {\n this.emitter.removeAllListeners(event)\n return this\n }\n\n /**\n * Disposes of any side-effects this interceptor has introduced.\n */\n public dispose(): void {\n const logger = this.logger.extend('dispose')\n\n if (this.readyState === InterceptorReadyState.DISPOSED) {\n logger.info('cannot dispose, already disposed!')\n return\n }\n\n logger.info('disposing the interceptor...')\n this.readyState = InterceptorReadyState.DISPOSING\n\n if (!this.getInstance()) {\n logger.info('no interceptors running, skipping dispose...')\n return\n }\n\n // Delete the global symbol as soon as possible,\n // indicating that the interceptor is no longer running.\n this.clearInstance()\n\n logger.info('global symbol deleted:', getGlobalSymbol(this.symbol))\n\n if (this.subscriptions.length > 0) {\n logger.info('disposing of %d subscriptions...', this.subscriptions.length)\n\n for (const dispose of this.subscriptions) {\n dispose()\n }\n\n this.subscriptions = []\n\n logger.info('disposed of all subscriptions!', this.subscriptions.length)\n }\n\n this.emitter.removeAllListeners()\n logger.info('destroyed the listener!')\n\n this.readyState = InterceptorReadyState.DISPOSED\n }\n\n private getInstance(): this | undefined {\n const instance = getGlobalSymbol(this.symbol)\n this.logger.info('retrieved global instance:', instance?.constructor?.name)\n return instance\n }\n\n private setInstance(): void {\n setGlobalSymbol(this.symbol, this)\n this.logger.info('set global instance!', this.symbol.description)\n }\n\n private clearInstance(): void {\n deleteGlobalSymbol(this.symbol)\n this.logger.info('cleared global instance!', this.symbol.description)\n }\n}\n","/**\n * Generate a random ID string to represent a request.\n * @example\n * createRequestId()\n * // \"f774b6c9c600f\"\n */\nexport function createRequestId(): string {\n return Math.random().toString(16).slice(2)\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs b/node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs new file mode 100644 index 0000000000..f42b2faa86 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs @@ -0,0 +1,25 @@ +// src/utils/hasConfigurableGlobal.ts +function hasConfigurableGlobal(propertyName) { + const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName); + if (typeof descriptor === "undefined") { + return false; + } + if (typeof descriptor.get === "function" && typeof descriptor.get() === "undefined") { + return false; + } + if (typeof descriptor.get === "undefined" && descriptor.value == null) { + return false; + } + if (typeof descriptor.set === "undefined" && !descriptor.configurable) { + console.error( + `[MSW] Failed to apply interceptor: the global \`${propertyName}\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.` + ); + return false; + } + return true; +} + +export { + hasConfigurableGlobal +}; +//# sourceMappingURL=chunk-TX5GBTFY.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs.map new file mode 100644 index 0000000000..c5a9cb80f9 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-TX5GBTFY.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/hasConfigurableGlobal.ts"],"sourcesContent":["/**\n * Returns a boolean indicating whether the given global property\n * is defined and is configurable.\n */\nexport function hasConfigurableGlobal(propertyName: string): boolean {\n const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName)\n\n // The property is not set at all.\n if (typeof descriptor === 'undefined') {\n return false\n }\n\n // The property is set to a getter that returns undefined.\n if (\n typeof descriptor.get === 'function' &&\n typeof descriptor.get() === 'undefined'\n ) {\n return false\n }\n\n // The property is set to a value equal to undefined.\n if (typeof descriptor.get === 'undefined' && descriptor.value == null) {\n return false\n }\n\n if (typeof descriptor.set === 'undefined' && !descriptor.configurable) {\n console.error(\n `[MSW] Failed to apply interceptor: the global \\`${propertyName}\\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.`\n )\n return false\n }\n\n return true\n}\n"],"mappings":";AAIO,SAAS,sBAAsB,cAA+B;AACnE,QAAM,aAAa,OAAO,yBAAyB,YAAY,YAAY;AAG3E,MAAI,OAAO,eAAe,aAAa;AACrC,WAAO;AAAA,EACT;AAGA,MACE,OAAO,WAAW,QAAQ,cAC1B,OAAO,WAAW,IAAI,MAAM,aAC5B;AACA,WAAO;AAAA,EACT;AAGA,MAAI,OAAO,WAAW,QAAQ,eAAe,WAAW,SAAS,MAAM;AACrE,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,WAAW,QAAQ,eAAe,CAAC,WAAW,cAAc;AACrE,YAAQ;AAAA,MACN,mDAAmD;AAAA,IACrD;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs b/node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs new file mode 100644 index 0000000000..dcaaa244ea --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs @@ -0,0 +1,295 @@ +import { + RequestController, + emitAsync, + handleRequest +} from "./chunk-H5O73WD2.mjs"; +import { + FetchResponse, + IS_PATCHED_MODULE +} from "./chunk-5UK33FSU.mjs"; +import { + hasConfigurableGlobal +} from "./chunk-TX5GBTFY.mjs"; +import { + Interceptor, + createRequestId +} from "./chunk-QED3Q6Z2.mjs"; + +// src/interceptors/fetch/index.ts +import { invariant } from "outvariant"; +import { DeferredPromise } from "@open-draft/deferred-promise"; + +// src/utils/canParseUrl.ts +function canParseUrl(url) { + try { + new URL(url); + return true; + } catch (_error) { + return false; + } +} + +// src/interceptors/fetch/utils/createNetworkError.ts +function createNetworkError(cause) { + return Object.assign(new TypeError("Failed to fetch"), { + cause + }); +} + +// src/interceptors/fetch/utils/followRedirect.ts +var REQUEST_BODY_HEADERS = [ + "content-encoding", + "content-language", + "content-location", + "content-type", + "content-length" +]; +var kRedirectCount = Symbol("kRedirectCount"); +async function followFetchRedirect(request, response) { + if (response.status !== 303 && request.body != null) { + return Promise.reject(createNetworkError()); + } + const requestUrl = new URL(request.url); + let locationUrl; + try { + locationUrl = new URL(response.headers.get("location"), request.url); + } catch (error) { + return Promise.reject(createNetworkError(error)); + } + if (!(locationUrl.protocol === "http:" || locationUrl.protocol === "https:")) { + return Promise.reject( + createNetworkError("URL scheme must be a HTTP(S) scheme") + ); + } + if (Reflect.get(request, kRedirectCount) > 20) { + return Promise.reject(createNetworkError("redirect count exceeded")); + } + Object.defineProperty(request, kRedirectCount, { + value: (Reflect.get(request, kRedirectCount) || 0) + 1 + }); + if (request.mode === "cors" && (locationUrl.username || locationUrl.password) && !sameOrigin(requestUrl, locationUrl)) { + return Promise.reject( + createNetworkError('cross origin not allowed for request mode "cors"') + ); + } + const requestInit = {}; + if ([301, 302].includes(response.status) && request.method === "POST" || response.status === 303 && !["HEAD", "GET"].includes(request.method)) { + requestInit.method = "GET"; + requestInit.body = null; + REQUEST_BODY_HEADERS.forEach((headerName) => { + request.headers.delete(headerName); + }); + } + if (!sameOrigin(requestUrl, locationUrl)) { + request.headers.delete("authorization"); + request.headers.delete("proxy-authorization"); + request.headers.delete("cookie"); + request.headers.delete("host"); + } + requestInit.headers = request.headers; + return fetch(new Request(locationUrl, requestInit)); +} +function sameOrigin(left, right) { + if (left.origin === right.origin && left.origin === "null") { + return true; + } + if (left.protocol === right.protocol && left.hostname === right.hostname && left.port === right.port) { + return true; + } + return false; +} + +// src/interceptors/fetch/utils/brotli-decompress.browser.ts +var BrotliDecompressionStream = class extends TransformStream { + constructor() { + console.warn( + "[Interceptors]: Brotli decompression of response streams is not supported in the browser" + ); + super({ + transform(chunk, controller) { + controller.enqueue(chunk); + } + }); + } +}; + +// src/interceptors/fetch/utils/decompression.ts +var PipelineStream = class extends TransformStream { + constructor(transformStreams, ...strategies) { + super({}, ...strategies); + const readable = [super.readable, ...transformStreams].reduce( + (readable2, transform) => readable2.pipeThrough(transform) + ); + Object.defineProperty(this, "readable", { + get() { + return readable; + } + }); + } +}; +function parseContentEncoding(contentEncoding) { + return contentEncoding.toLowerCase().split(",").map((coding) => coding.trim()); +} +function createDecompressionStream(contentEncoding) { + if (contentEncoding === "") { + return null; + } + const codings = parseContentEncoding(contentEncoding); + if (codings.length === 0) { + return null; + } + const transformers = codings.reduceRight( + (transformers2, coding) => { + if (coding === "gzip" || coding === "x-gzip") { + return transformers2.concat(new DecompressionStream("gzip")); + } else if (coding === "deflate") { + return transformers2.concat(new DecompressionStream("deflate")); + } else if (coding === "br") { + return transformers2.concat(new BrotliDecompressionStream()); + } else { + transformers2.length = 0; + } + return transformers2; + }, + [] + ); + return new PipelineStream(transformers); +} +function decompressResponse(response) { + if (response.body === null) { + return null; + } + const decompressionStream = createDecompressionStream( + response.headers.get("content-encoding") || "" + ); + if (!decompressionStream) { + return null; + } + response.body.pipeTo(decompressionStream.writable); + return decompressionStream.readable; +} + +// src/interceptors/fetch/index.ts +var _FetchInterceptor = class extends Interceptor { + constructor() { + super(_FetchInterceptor.symbol); + } + checkEnvironment() { + return hasConfigurableGlobal("fetch"); + } + async setup() { + const pureFetch = globalThis.fetch; + invariant( + !pureFetch[IS_PATCHED_MODULE], + 'Failed to patch the "fetch" module: already patched.' + ); + globalThis.fetch = async (input, init) => { + const requestId = createRequestId(); + const resolvedInput = typeof input === "string" && typeof location !== "undefined" && !canParseUrl(input) ? new URL(input, location.origin) : input; + const request = new Request(resolvedInput, init); + const responsePromise = new DeferredPromise(); + const controller = new RequestController(request); + this.logger.info("[%s] %s", request.method, request.url); + this.logger.info("awaiting for the mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + this.emitter.listenerCount("request") + ); + const isRequestHandled = await handleRequest({ + request, + requestId, + emitter: this.emitter, + controller, + onResponse: async (rawResponse) => { + this.logger.info("received mocked response!", { + rawResponse + }); + const decompressedStream = decompressResponse(rawResponse); + const response = decompressedStream === null ? rawResponse : new FetchResponse(decompressedStream, rawResponse); + FetchResponse.setUrl(request.url, response); + if (FetchResponse.isRedirectResponse(response.status)) { + if (request.redirect === "error") { + responsePromise.reject(createNetworkError("unexpected redirect")); + return; + } + if (request.redirect === "follow") { + followFetchRedirect(request, response).then( + (response2) => { + responsePromise.resolve(response2); + }, + (reason) => { + responsePromise.reject(reason); + } + ); + return; + } + } + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + await emitAsync(this.emitter, "response", { + // Clone the mocked response for the "response" event listener. + // This way, the listener can read the response and not lock its body + // for the actual fetch consumer. + response: response.clone(), + isMockedResponse: true, + request, + requestId + }); + } + responsePromise.resolve(response); + }, + onRequestError: (response) => { + this.logger.info("request has errored!", { response }); + responsePromise.reject(createNetworkError(response)); + }, + onError: (error) => { + this.logger.info("request has been aborted!", { error }); + responsePromise.reject(error); + } + }); + if (isRequestHandled) { + this.logger.info("request has been handled, returning mock promise..."); + return responsePromise; + } + this.logger.info( + "no mocked response received, performing request as-is..." + ); + return pureFetch(request).then(async (response) => { + this.logger.info("original fetch performed", response); + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + const responseClone = response.clone(); + await emitAsync(this.emitter, "response", { + response: responseClone, + isMockedResponse: false, + request, + requestId + }); + } + return response; + }); + }; + Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.fetch = pureFetch; + this.logger.info( + 'restored native "globalThis.fetch"!', + globalThis.fetch.name + ); + }); + } +}; +var FetchInterceptor = _FetchInterceptor; +FetchInterceptor.symbol = Symbol("fetch"); + +export { + FetchInterceptor +}; +//# sourceMappingURL=chunk-XTX2SIN6.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs.map new file mode 100644 index 0000000000..31bf961168 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-XTX2SIN6.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/fetch/index.ts","../../src/utils/canParseUrl.ts","../../src/interceptors/fetch/utils/createNetworkError.ts","../../src/interceptors/fetch/utils/followRedirect.ts","../../src/interceptors/fetch/utils/brotli-decompress.browser.ts","../../src/interceptors/fetch/utils/decompression.ts"],"sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { RequestController } from '../../RequestController'\nimport { emitAsync } from '../../utils/emitAsync'\nimport { handleRequest } from '../../utils/handleRequest'\nimport { canParseUrl } from '../../utils/canParseUrl'\nimport { createRequestId } from '../../createRequestId'\nimport { createNetworkError } from './utils/createNetworkError'\nimport { followFetchRedirect } from './utils/followRedirect'\nimport { decompressResponse } from './utils/decompression'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\nimport { FetchResponse } from '../../utils/fetchUtils'\n\nexport class FetchInterceptor extends Interceptor {\n static symbol = Symbol('fetch')\n\n constructor() {\n super(FetchInterceptor.symbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('fetch')\n }\n\n protected async setup() {\n const pureFetch = globalThis.fetch\n\n invariant(\n !(pureFetch as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"fetch\" module: already patched.'\n )\n\n globalThis.fetch = async (input, init) => {\n const requestId = createRequestId()\n\n /**\n * @note Resolve potentially relative request URL\n * against the present `location`. This is mainly\n * for native `fetch` in JSDOM.\n * @see https://github.com/mswjs/msw/issues/1625\n */\n const resolvedInput =\n typeof input === 'string' &&\n typeof location !== 'undefined' &&\n !canParseUrl(input)\n ? new URL(input, location.origin)\n : input\n\n const request = new Request(resolvedInput, init)\n const responsePromise = new DeferredPromise()\n const controller = new RequestController(request)\n\n this.logger.info('[%s] %s', request.method, request.url)\n this.logger.info('awaiting for the mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n this.emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n emitter: this.emitter,\n controller,\n onResponse: async (rawResponse) => {\n this.logger.info('received mocked response!', {\n rawResponse,\n })\n\n // Decompress the mocked response body, if applicable.\n const decompressedStream = decompressResponse(rawResponse)\n const response =\n decompressedStream === null\n ? rawResponse\n : new FetchResponse(decompressedStream, rawResponse)\n\n FetchResponse.setUrl(request.url, response)\n\n /**\n * Undici's handling of following redirect responses.\n * Treat the \"manual\" redirect mode as a regular mocked response.\n * This way, the client can manually follow the redirect it receives.\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1173\n */\n if (FetchResponse.isRedirectResponse(response.status)) {\n // Reject the request promise if its `redirect` is set to `error`\n // and it receives a mocked redirect response.\n if (request.redirect === 'error') {\n responsePromise.reject(createNetworkError('unexpected redirect'))\n return\n }\n\n if (request.redirect === 'follow') {\n followFetchRedirect(request, response).then(\n (response) => {\n responsePromise.resolve(response)\n },\n (reason) => {\n responsePromise.reject(reason)\n }\n )\n return\n }\n }\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n // Await the response listeners to finish before resolving\n // the response promise. This ensures all your logic finishes\n // before the interceptor resolves the pending response.\n await emitAsync(this.emitter, 'response', {\n // Clone the mocked response for the \"response\" event listener.\n // This way, the listener can read the response and not lock its body\n // for the actual fetch consumer.\n response: response.clone(),\n isMockedResponse: true,\n request,\n requestId,\n })\n }\n\n responsePromise.resolve(response)\n },\n onRequestError: (response) => {\n this.logger.info('request has errored!', { response })\n responsePromise.reject(createNetworkError(response))\n },\n onError: (error) => {\n this.logger.info('request has been aborted!', { error })\n responsePromise.reject(error)\n },\n })\n\n if (isRequestHandled) {\n this.logger.info('request has been handled, returning mock promise...')\n return responsePromise\n }\n\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n\n return pureFetch(request).then(async (response) => {\n this.logger.info('original fetch performed', response)\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n const responseClone = response.clone()\n\n await emitAsync(this.emitter, 'response', {\n response: responseClone,\n isMockedResponse: false,\n request,\n requestId,\n })\n }\n\n return response\n })\n }\n\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.fetch = pureFetch\n\n this.logger.info(\n 'restored native \"globalThis.fetch\"!',\n globalThis.fetch.name\n )\n })\n }\n}\n","/**\n * Returns a boolean indicating whether the given URL string\n * can be parsed into a `URL` instance.\n * A substitute for `URL.canParse()` for Node.js 18.\n */\nexport function canParseUrl(url: string): boolean {\n try {\n new URL(url)\n return true\n } catch (_error) {\n return false\n }\n}\n","export function createNetworkError(cause?: unknown) {\n return Object.assign(new TypeError('Failed to fetch'), {\n cause,\n })\n}\n","import { createNetworkError } from './createNetworkError'\n\nconst REQUEST_BODY_HEADERS = [\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n 'content-length',\n]\n\nconst kRedirectCount = Symbol('kRedirectCount')\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1210\n */\nexport async function followFetchRedirect(\n request: Request,\n response: Response\n): Promise {\n if (response.status !== 303 && request.body != null) {\n return Promise.reject(createNetworkError())\n }\n\n const requestUrl = new URL(request.url)\n\n let locationUrl: URL\n try {\n // If the location is a relative URL, use the request URL as the base URL.\n locationUrl = new URL(response.headers.get('location')!, request.url) \n } catch (error) {\n return Promise.reject(createNetworkError(error))\n }\n\n if (\n !(locationUrl.protocol === 'http:' || locationUrl.protocol === 'https:')\n ) {\n return Promise.reject(\n createNetworkError('URL scheme must be a HTTP(S) scheme')\n )\n }\n\n if (Reflect.get(request, kRedirectCount) > 20) {\n return Promise.reject(createNetworkError('redirect count exceeded'))\n }\n\n Object.defineProperty(request, kRedirectCount, {\n value: (Reflect.get(request, kRedirectCount) || 0) + 1,\n })\n\n if (\n request.mode === 'cors' &&\n (locationUrl.username || locationUrl.password) &&\n !sameOrigin(requestUrl, locationUrl)\n ) {\n return Promise.reject(\n createNetworkError('cross origin not allowed for request mode \"cors\"')\n )\n }\n\n const requestInit: RequestInit = {}\n\n if (\n ([301, 302].includes(response.status) && request.method === 'POST') ||\n (response.status === 303 && !['HEAD', 'GET'].includes(request.method))\n ) {\n requestInit.method = 'GET'\n requestInit.body = null\n\n REQUEST_BODY_HEADERS.forEach((headerName) => {\n request.headers.delete(headerName)\n })\n }\n\n if (!sameOrigin(requestUrl, locationUrl)) {\n request.headers.delete('authorization')\n request.headers.delete('proxy-authorization')\n request.headers.delete('cookie')\n request.headers.delete('host')\n }\n\n /**\n * @note Undici \"safely\" extracts the request body.\n * I suspect we cannot dispatch this request again\n * since its body has been read and the stream is locked.\n */\n\n requestInit.headers = request.headers\n return fetch(new Request(locationUrl, requestInit))\n}\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/util.js#L761\n */\nfunction sameOrigin(left: URL, right: URL): boolean {\n if (left.origin === right.origin && left.origin === 'null') {\n return true\n }\n\n if (\n left.protocol === right.protocol &&\n left.hostname === right.hostname &&\n left.port === right.port\n ) {\n return true\n }\n\n return false\n}\n","export class BrotliDecompressionStream extends TransformStream {\n constructor() {\n console.warn(\n '[Interceptors]: Brotli decompression of response streams is not supported in the browser'\n )\n\n super({\n transform(chunk, controller) {\n // Keep the stream as passthrough, it does nothing.\n controller.enqueue(chunk)\n },\n })\n }\n}\n","// Import from an internal alias that resolves to different modules\n// depending on the environment. This way, we can keep the fetch interceptor\n// intact while using different strategies for Brotli decompression.\nimport { BrotliDecompressionStream } from 'internal:brotli-decompress'\n\nclass PipelineStream extends TransformStream {\n constructor(\n transformStreams: Array,\n ...strategies: Array\n ) {\n super({}, ...strategies)\n\n const readable = [super.readable as any, ...transformStreams].reduce(\n (readable, transform) => readable.pipeThrough(transform)\n )\n\n Object.defineProperty(this, 'readable', {\n get() {\n return readable\n },\n })\n }\n}\n\nexport function parseContentEncoding(contentEncoding: string): Array {\n return contentEncoding\n .toLowerCase()\n .split(',')\n .map((coding) => coding.trim())\n}\n\nfunction createDecompressionStream(\n contentEncoding: string\n): TransformStream | null {\n if (contentEncoding === '') {\n return null\n }\n\n const codings = parseContentEncoding(contentEncoding)\n\n if (codings.length === 0) {\n return null\n }\n\n const transformers = codings.reduceRight>(\n (transformers, coding) => {\n if (coding === 'gzip' || coding === 'x-gzip') {\n return transformers.concat(new DecompressionStream('gzip'))\n } else if (coding === 'deflate') {\n return transformers.concat(new DecompressionStream('deflate'))\n } else if (coding === 'br') {\n return transformers.concat(new BrotliDecompressionStream())\n } else {\n transformers.length = 0\n }\n\n return transformers\n },\n []\n )\n\n return new PipelineStream(transformers)\n}\n\nexport function decompressResponse(\n response: Response\n): ReadableStream | null {\n if (response.body === null) {\n return null\n }\n\n const decompressionStream = createDecompressionStream(\n response.headers.get('content-encoding') || ''\n )\n\n if (!decompressionStream) {\n return null\n }\n\n // Use `pipeTo` and return the decompression stream's readable\n // instead of `pipeThrough` because that will lock the original\n // response stream, making it unusable as the input to Response.\n response.body.pipeTo(decompressionStream.writable)\n return decompressionStream.readable\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;;;ACIzB,SAAS,YAAY,KAAsB;AAChD,MAAI;AACF,QAAI,IAAI,GAAG;AACX,WAAO;AAAA,EACT,SAAS,QAAP;AACA,WAAO;AAAA,EACT;AACF;;;ACZO,SAAS,mBAAmB,OAAiB;AAClD,SAAO,OAAO,OAAO,IAAI,UAAU,iBAAiB,GAAG;AAAA,IACrD;AAAA,EACF,CAAC;AACH;;;ACFA,IAAM,uBAAuB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,IAAM,iBAAiB,OAAO,gBAAgB;AAK9C,eAAsB,oBACpB,SACA,UACmB;AACnB,MAAI,SAAS,WAAW,OAAO,QAAQ,QAAQ,MAAM;AACnD,WAAO,QAAQ,OAAO,mBAAmB,CAAC;AAAA,EAC5C;AAEA,QAAM,aAAa,IAAI,IAAI,QAAQ,GAAG;AAEtC,MAAI;AACJ,MAAI;AAEF,kBAAc,IAAI,IAAI,SAAS,QAAQ,IAAI,UAAU,GAAI,QAAQ,GAAG;AAAA,EACtE,SAAS,OAAP;AACA,WAAO,QAAQ,OAAO,mBAAmB,KAAK,CAAC;AAAA,EACjD;AAEA,MACE,EAAE,YAAY,aAAa,WAAW,YAAY,aAAa,WAC/D;AACA,WAAO,QAAQ;AAAA,MACb,mBAAmB,qCAAqC;AAAA,IAC1D;AAAA,EACF;AAEA,MAAI,QAAQ,IAAI,SAAS,cAAc,IAAI,IA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AAI,GAAG;AAC9C,eAAK,OAAO,KAAK,kCAAkC;AAEnD,gBAAM,gBAAgB,SAAS,MAAM;AAErC,gBAAM,UAAU,KAAK,SAAS,YAAY;AAAA,YACxC,UAAU;AAAA,YACV,kBAAkB;AAAA,YAClB;AAAA,YACA;AAAA,UACF,CAAC;AAAA,QACH;AAEA,eAAO;AAAA,MACT,CAAC;AAAA,IACH;AAEA,WAAO,eAAe,WAAW,OAAO,mBAAmB;AAAA,MACzD,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,OAAO;AAAA,IACT,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO,eAAe,WAAW,OAAO,mBAAmB;AAAA,QACzD,OAAO;AAAA,MACT,CAAC;AAED,iBAAW,QAAQ;AAEnB,WAAK,OAAO;AAAA,QACV;AAAA,QACA,WAAW,MAAM;AAAA,MACnB;AAAA,IACF,CAAC;AAAA,EACH;AACF;AA1KO,IAAM,mBAAN;AAAM,iBACJ,SAAS,OAAO,OAAO;","names":["readable","transformers","response"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js b/node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js new file mode 100644 index 0000000000..8a8b74e1c0 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js @@ -0,0 +1,844 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + + + +var _chunkLK6DILFKjs = require('./chunk-LK6DILFK.js'); + + + +var _chunkFGSEOIC4js = require('./chunk-FGSEOIC4.js'); + + + +var _chunkBC2BLJQNjs = require('./chunk-BC2BLJQN.js'); + + +var _chunkPFGO5BSMjs = require('./chunk-PFGO5BSM.js'); + + + + +var _chunkTIPR373Rjs = require('./chunk-TIPR373R.js'); + +// src/interceptors/XMLHttpRequest/index.ts +var _outvariant = require('outvariant'); + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts + +var _isnodeprocess = require('is-node-process'); + +// src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts +function concatArrayBuffer(left, right) { + const result = new Uint8Array(left.byteLength + right.byteLength); + result.set(left, 0); + result.set(right, left.byteLength); + return result; +} + +// src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts +var EventPolyfill = class { + constructor(type, options) { + this.NONE = 0; + this.CAPTURING_PHASE = 1; + this.AT_TARGET = 2; + this.BUBBLING_PHASE = 3; + this.type = ""; + this.srcElement = null; + this.currentTarget = null; + this.eventPhase = 0; + this.isTrusted = true; + this.composed = false; + this.cancelable = true; + this.defaultPrevented = false; + this.bubbles = true; + this.lengthComputable = true; + this.loaded = 0; + this.total = 0; + this.cancelBubble = false; + this.returnValue = true; + this.type = type; + this.target = (options == null ? void 0 : options.target) || null; + this.currentTarget = (options == null ? void 0 : options.currentTarget) || null; + this.timeStamp = Date.now(); + } + composedPath() { + return []; + } + initEvent(type, bubbles, cancelable) { + this.type = type; + this.bubbles = !!bubbles; + this.cancelable = !!cancelable; + } + preventDefault() { + this.defaultPrevented = true; + } + stopPropagation() { + } + stopImmediatePropagation() { + } +}; + +// src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts +var ProgressEventPolyfill = class extends EventPolyfill { + constructor(type, init) { + super(type); + this.lengthComputable = (init == null ? void 0 : init.lengthComputable) || false; + this.composed = (init == null ? void 0 : init.composed) || false; + this.loaded = (init == null ? void 0 : init.loaded) || 0; + this.total = (init == null ? void 0 : init.total) || 0; + } +}; + +// src/interceptors/XMLHttpRequest/utils/createEvent.ts +var SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== "undefined"; +function createEvent(target, type, init) { + const progressEvents = [ + "error", + "progress", + "loadstart", + "loadend", + "load", + "timeout", + "abort" + ]; + const ProgressEventClass = SUPPORTS_PROGRESS_EVENT ? ProgressEvent : ProgressEventPolyfill; + const event = progressEvents.includes(type) ? new ProgressEventClass(type, { + lengthComputable: true, + loaded: (init == null ? void 0 : init.loaded) || 0, + total: (init == null ? void 0 : init.total) || 0 + }) : new EventPolyfill(type, { + target, + currentTarget: target + }); + return event; +} + +// src/utils/findPropertySource.ts +function findPropertySource(target, propertyName) { + if (!(propertyName in target)) { + return null; + } + const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName); + if (hasProperty) { + return target; + } + const prototype = Reflect.getPrototypeOf(target); + return prototype ? findPropertySource(prototype, propertyName) : null; +} + +// src/utils/createProxy.ts +function createProxy(target, options) { + const proxy = new Proxy(target, optionsToProxyHandler(options)); + return proxy; +} +function optionsToProxyHandler(options) { + const { constructorCall, methodCall, getProperty, setProperty } = options; + const handler = {}; + if (typeof constructorCall !== "undefined") { + handler.construct = function(target, args, newTarget) { + const next = Reflect.construct.bind(null, target, args, newTarget); + return constructorCall.call(newTarget, args, next); + }; + } + handler.set = function(target, propertyName, nextValue) { + const next = () => { + const propertySource = findPropertySource(target, propertyName) || target; + const ownDescriptors = Reflect.getOwnPropertyDescriptor( + propertySource, + propertyName + ); + if (typeof (ownDescriptors == null ? void 0 : ownDescriptors.set) !== "undefined") { + ownDescriptors.set.apply(target, [nextValue]); + return true; + } + return Reflect.defineProperty(propertySource, propertyName, { + writable: true, + enumerable: true, + configurable: true, + value: nextValue + }); + }; + if (typeof setProperty !== "undefined") { + return setProperty.call(target, [propertyName, nextValue], next); + } + return next(); + }; + handler.get = function(target, propertyName, receiver) { + const next = () => target[propertyName]; + const value = typeof getProperty !== "undefined" ? getProperty.call(target, [propertyName, receiver], next) : next(); + if (typeof value === "function") { + return (...args) => { + const next2 = value.bind(target, ...args); + if (typeof methodCall !== "undefined") { + return methodCall.call(target, [propertyName, args], next2); + } + return next2(); + }; + } + return value; + }; + return handler; +} + +// src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts +function isDomParserSupportedType(type) { + const supportedTypes = [ + "application/xhtml+xml", + "application/xml", + "image/svg+xml", + "text/html", + "text/xml" + ]; + return supportedTypes.some((supportedType) => { + return type.startsWith(supportedType); + }); +} + +// src/utils/parseJson.ts +function parseJson(data) { + try { + const json = JSON.parse(data); + return json; + } catch (_) { + return null; + } +} + +// src/interceptors/XMLHttpRequest/utils/createResponse.ts +function createResponse(request, body) { + const responseBodyOrNull = _chunkBC2BLJQNjs.FetchResponse.isResponseWithBody(request.status) ? body : null; + return new (0, _chunkBC2BLJQNjs.FetchResponse)(responseBodyOrNull, { + url: request.responseURL, + status: request.status, + statusText: request.statusText, + headers: createHeadersFromXMLHttpReqestHeaders( + request.getAllResponseHeaders() + ) + }); +} +function createHeadersFromXMLHttpReqestHeaders(headersString) { + const headers = new Headers(); + const lines = headersString.split(/[\r\n]+/); + for (const line of lines) { + if (line.trim() === "") { + continue; + } + const [name, ...parts] = line.split(": "); + const value = parts.join(": "); + headers.append(name, value); + } + return headers; +} + +// src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts +async function getBodyByteLength(input) { + const explicitContentLength = input.headers.get("content-length"); + if (explicitContentLength != null && explicitContentLength !== "") { + return Number(explicitContentLength); + } + const buffer = await input.arrayBuffer(); + return buffer.byteLength; +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts +var kIsRequestHandled = Symbol("kIsRequestHandled"); +var IS_NODE = _isnodeprocess.isNodeProcess.call(void 0, ); +var kFetchRequest = Symbol("kFetchRequest"); +var XMLHttpRequestController = class { + constructor(initialRequest, logger) { + this.initialRequest = initialRequest; + this.logger = logger; + this.method = "GET"; + this.url = null; + this[kIsRequestHandled] = false; + this.events = /* @__PURE__ */ new Map(); + this.uploadEvents = /* @__PURE__ */ new Map(); + this.requestId = _chunkTIPR373Rjs.createRequestId.call(void 0, ); + this.requestHeaders = new Headers(); + this.responseBuffer = new Uint8Array(); + this.request = createProxy(initialRequest, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "ontimeout": { + const eventName = propertyName.slice( + 2 + ); + this.request.addEventListener(eventName, nextValue); + return invoke(); + } + default: { + return invoke(); + } + } + }, + methodCall: ([methodName, args], invoke) => { + var _a; + switch (methodName) { + case "open": { + const [method, url] = args; + if (typeof url === "undefined") { + this.method = "GET"; + this.url = toAbsoluteUrl(method); + } else { + this.method = method; + this.url = toAbsoluteUrl(url); + } + this.logger = this.logger.extend(`${this.method} ${this.url.href}`); + this.logger.info("open", this.method, this.url.href); + return invoke(); + } + case "addEventListener": { + const [eventName, listener] = args; + this.registerEvent(eventName, listener); + this.logger.info("addEventListener", eventName, listener); + return invoke(); + } + case "setRequestHeader": { + const [name, value] = args; + this.requestHeaders.set(name, value); + this.logger.info("setRequestHeader", name, value); + return invoke(); + } + case "send": { + const [body] = args; + this.request.addEventListener("load", () => { + if (typeof this.onResponse !== "undefined") { + const fetchResponse = createResponse( + this.request, + /** + * The `response` property is the right way to read + * the ambiguous response body, as the request's "responseType" may differ. + * @see https://xhr.spec.whatwg.org/#the-response-attribute + */ + this.request.response + ); + this.onResponse.call(this, { + response: fetchResponse, + isMockedResponse: this[kIsRequestHandled], + request: fetchRequest, + requestId: this.requestId + }); + } + }); + const requestBody = typeof body === "string" ? _chunkLK6DILFKjs.encodeBuffer.call(void 0, body) : body; + const fetchRequest = this.toFetchApiRequest(requestBody); + this[kFetchRequest] = fetchRequest.clone(); + const onceRequestSettled = ((_a = this.onRequest) == null ? void 0 : _a.call(this, { + request: fetchRequest, + requestId: this.requestId + })) || Promise.resolve(); + onceRequestSettled.finally(() => { + if (!this[kIsRequestHandled]) { + this.logger.info( + "request callback settled but request has not been handled (readystate %d), performing as-is...", + this.request.readyState + ); + if (IS_NODE) { + this.request.setRequestHeader( + _chunkTIPR373Rjs.INTERNAL_REQUEST_ID_HEADER_NAME, + this.requestId + ); + } + return invoke(); + } + }); + break; + } + default: { + return invoke(); + } + } + } + }); + define( + this.request, + "upload", + createProxy(this.request.upload, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "onloadstart": + case "onprogress": + case "onaboart": + case "onerror": + case "onload": + case "ontimeout": + case "onloadend": { + const eventName = propertyName.slice( + 2 + ); + this.registerUploadEvent(eventName, nextValue); + } + } + return invoke(); + }, + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "addEventListener": { + const [eventName, listener] = args; + this.registerUploadEvent(eventName, listener); + this.logger.info("upload.addEventListener", eventName, listener); + return invoke(); + } + } + } + }) + ); + } + registerEvent(eventName, listener) { + const prevEvents = this.events.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.events.set(eventName, nextEvents); + this.logger.info('registered event "%s"', eventName, listener); + } + registerUploadEvent(eventName, listener) { + const prevEvents = this.uploadEvents.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.uploadEvents.set(eventName, nextEvents); + this.logger.info('registered upload event "%s"', eventName, listener); + } + /** + * Responds to the current request with the given + * Fetch API `Response` instance. + */ + async respondWith(response) { + this[kIsRequestHandled] = true; + if (this[kFetchRequest]) { + const totalRequestBodyLength = await getBodyByteLength( + this[kFetchRequest] + ); + this.trigger("loadstart", this.request.upload, { + loaded: 0, + total: totalRequestBodyLength + }); + this.trigger("progress", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("load", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("loadend", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + } + this.logger.info( + "responding with a mocked response: %d %s", + response.status, + response.statusText + ); + define(this.request, "status", response.status); + define(this.request, "statusText", response.statusText); + define(this.request, "responseURL", this.url.href); + this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, { + apply: (_, __, args) => { + this.logger.info("getResponseHeader", args[0]); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning null"); + return null; + } + const headerValue = response.headers.get(args[0]); + this.logger.info( + 'resolved response header "%s" to', + args[0], + headerValue + ); + return headerValue; + } + }); + this.request.getAllResponseHeaders = new Proxy( + this.request.getAllResponseHeaders, + { + apply: () => { + this.logger.info("getAllResponseHeaders"); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning empty string"); + return ""; + } + const headersList = Array.from(response.headers.entries()); + const allHeaders = headersList.map(([headerName, headerValue]) => { + return `${headerName}: ${headerValue}`; + }).join("\r\n"); + this.logger.info("resolved all response headers to", allHeaders); + return allHeaders; + } + } + ); + Object.defineProperties(this.request, { + response: { + enumerable: true, + configurable: false, + get: () => this.response + }, + responseText: { + enumerable: true, + configurable: false, + get: () => this.responseText + }, + responseXML: { + enumerable: true, + configurable: false, + get: () => this.responseXML + } + }); + const totalResponseBodyLength = await getBodyByteLength(response.clone()); + this.logger.info("calculated response body length", totalResponseBodyLength); + this.trigger("loadstart", this.request, { + loaded: 0, + total: totalResponseBodyLength + }); + this.setReadyState(this.request.HEADERS_RECEIVED); + this.setReadyState(this.request.LOADING); + const finalizeResponse = () => { + this.logger.info("finalizing the mocked response..."); + this.setReadyState(this.request.DONE); + this.trigger("load", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + this.trigger("loadend", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + }; + if (response.body) { + this.logger.info("mocked response has body, streaming..."); + const reader = response.body.getReader(); + const readNextResponseBodyChunk = async () => { + const { value, done } = await reader.read(); + if (done) { + this.logger.info("response body stream done!"); + finalizeResponse(); + return; + } + if (value) { + this.logger.info("read response body chunk:", value); + this.responseBuffer = concatArrayBuffer(this.responseBuffer, value); + this.trigger("progress", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + } + readNextResponseBodyChunk(); + }; + readNextResponseBodyChunk(); + } else { + finalizeResponse(); + } + } + responseBufferToText() { + return _chunkLK6DILFKjs.decodeBuffer.call(void 0, this.responseBuffer); + } + get response() { + this.logger.info( + "getResponse (responseType: %s)", + this.request.responseType + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + switch (this.request.responseType) { + case "json": { + const responseJson = parseJson(this.responseBufferToText()); + this.logger.info("resolved response JSON", responseJson); + return responseJson; + } + case "arraybuffer": { + const arrayBuffer = _chunkLK6DILFKjs.toArrayBuffer.call(void 0, this.responseBuffer); + this.logger.info("resolved response ArrayBuffer", arrayBuffer); + return arrayBuffer; + } + case "blob": { + const mimeType = this.request.getResponseHeader("Content-Type") || "text/plain"; + const responseBlob = new Blob([this.responseBufferToText()], { + type: mimeType + }); + this.logger.info( + "resolved response Blob (mime type: %s)", + responseBlob, + mimeType + ); + return responseBlob; + } + default: { + const responseText = this.responseBufferToText(); + this.logger.info( + 'resolving "%s" response type as text', + this.request.responseType, + responseText + ); + return responseText; + } + } + } + get responseText() { + _outvariant.invariant.call(void 0, + this.request.responseType === "" || this.request.responseType === "text", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.LOADING && this.request.readyState !== this.request.DONE) { + return ""; + } + const responseText = this.responseBufferToText(); + this.logger.info('getResponseText: "%s"', responseText); + return responseText; + } + get responseXML() { + _outvariant.invariant.call(void 0, + this.request.responseType === "" || this.request.responseType === "document", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + const contentType = this.request.getResponseHeader("Content-Type") || ""; + if (typeof DOMParser === "undefined") { + console.warn( + "Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly." + ); + return null; + } + if (isDomParserSupportedType(contentType)) { + return new DOMParser().parseFromString( + this.responseBufferToText(), + contentType + ); + } + return null; + } + errorWith(error) { + this[kIsRequestHandled] = true; + this.logger.info("responding with an error"); + this.setReadyState(this.request.DONE); + this.trigger("error", this.request); + this.trigger("loadend", this.request); + } + /** + * Transitions this request's `readyState` to the given one. + */ + setReadyState(nextReadyState) { + this.logger.info( + "setReadyState: %d -> %d", + this.request.readyState, + nextReadyState + ); + if (this.request.readyState === nextReadyState) { + this.logger.info("ready state identical, skipping transition..."); + return; + } + define(this.request, "readyState", nextReadyState); + this.logger.info("set readyState to: %d", nextReadyState); + if (nextReadyState !== this.request.UNSENT) { + this.logger.info('triggerring "readystatechange" event...'); + this.trigger("readystatechange", this.request); + } + } + /** + * Triggers given event on the `XMLHttpRequest` instance. + */ + trigger(eventName, target, options) { + const callback = target[`on${eventName}`]; + const event = createEvent(target, eventName, options); + this.logger.info('trigger "%s"', eventName, options || ""); + if (typeof callback === "function") { + this.logger.info('found a direct "%s" callback, calling...', eventName); + callback.call(target, event); + } + const events = target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events; + for (const [registeredEventName, listeners] of events) { + if (registeredEventName === eventName) { + this.logger.info( + 'found %d listener(s) for "%s" event, calling...', + listeners.length, + eventName + ); + listeners.forEach((listener) => listener.call(target, event)); + } + } + } + /** + * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance. + */ + toFetchApiRequest(body) { + this.logger.info("converting request to a Fetch API Request..."); + const resolvedBody = body instanceof Document ? body.documentElement.innerText : body; + const fetchRequest = new Request(this.url.href, { + method: this.method, + headers: this.requestHeaders, + /** + * @see https://xhr.spec.whatwg.org/#cross-origin-credentials + */ + credentials: this.request.withCredentials ? "include" : "same-origin", + body: ["GET", "HEAD"].includes(this.method.toUpperCase()) ? null : resolvedBody + }); + const proxyHeaders = createProxy(fetchRequest.headers, { + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "append": + case "set": { + const [headerName, headerValue] = args; + this.request.setRequestHeader(headerName, headerValue); + break; + } + case "delete": { + const [headerName] = args; + console.warn( + `XMLHttpRequest: Cannot remove a "${headerName}" header from the Fetch API representation of the "${fetchRequest.method} ${fetchRequest.url}" request. XMLHttpRequest headers cannot be removed.` + ); + break; + } + } + return invoke(); + } + }); + define(fetchRequest, "headers", proxyHeaders); + this.logger.info("converted request to a Fetch API Request!", fetchRequest); + return fetchRequest; + } +}; +kIsRequestHandled, kFetchRequest; +function toAbsoluteUrl(url) { + if (typeof location === "undefined") { + return new URL(url); + } + return new URL(url.toString(), location.href); +} +function define(target, property, value) { + Reflect.defineProperty(target, property, { + // Ensure writable properties to allow redefining readonly properties. + writable: true, + enumerable: true, + value + }); +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts +function createXMLHttpRequestProxy({ + emitter, + logger +}) { + const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, { + construct(target, args, newTarget) { + logger.info("constructed new XMLHttpRequest"); + const originalRequest = Reflect.construct( + target, + args, + newTarget + ); + const prototypeDescriptors = Object.getOwnPropertyDescriptors( + target.prototype + ); + for (const propertyName in prototypeDescriptors) { + Reflect.defineProperty( + originalRequest, + propertyName, + prototypeDescriptors[propertyName] + ); + } + const xhrRequestController = new XMLHttpRequestController( + originalRequest, + logger + ); + xhrRequestController.onRequest = async function({ request, requestId }) { + const controller = new (0, _chunkFGSEOIC4js.RequestController)(request); + this.logger.info("awaiting mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + emitter.listenerCount("request") + ); + const isRequestHandled = await _chunkFGSEOIC4js.handleRequest.call(void 0, { + request, + requestId, + controller, + emitter, + onResponse: async (response) => { + await this.respondWith(response); + }, + onRequestError: () => { + this.errorWith(new TypeError("Network error")); + }, + onError: (error) => { + this.logger.info("request errored!", { error }); + if (error instanceof Error) { + this.errorWith(error); + } + } + }); + if (!isRequestHandled) { + this.logger.info( + "no mocked response received, performing request as-is..." + ); + } + }; + xhrRequestController.onResponse = async function({ + response, + isMockedResponse, + request, + requestId + }) { + this.logger.info( + 'emitting the "response" event for %s listener(s)...', + emitter.listenerCount("response") + ); + emitter.emit("response", { + response, + isMockedResponse, + request, + requestId + }); + }; + return xhrRequestController.request; + } + }); + return XMLHttpRequestProxy; +} + +// src/interceptors/XMLHttpRequest/index.ts +var _XMLHttpRequestInterceptor = class extends _chunkTIPR373Rjs.Interceptor { + constructor() { + super(_XMLHttpRequestInterceptor.interceptorSymbol); + } + checkEnvironment() { + return _chunkPFGO5BSMjs.hasConfigurableGlobal.call(void 0, "XMLHttpRequest"); + } + setup() { + const logger = this.logger.extend("setup"); + logger.info('patching "XMLHttpRequest" module...'); + const PureXMLHttpRequest = globalThis.XMLHttpRequest; + _outvariant.invariant.call(void 0, + !PureXMLHttpRequest[_chunkBC2BLJQNjs.IS_PATCHED_MODULE], + 'Failed to patch the "XMLHttpRequest" module: already patched.' + ); + globalThis.XMLHttpRequest = createXMLHttpRequestProxy({ + emitter: this.emitter, + logger: this.logger + }); + logger.info( + 'native "XMLHttpRequest" module patched!', + globalThis.XMLHttpRequest.name + ); + Object.defineProperty(globalThis.XMLHttpRequest, _chunkBC2BLJQNjs.IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.XMLHttpRequest, _chunkBC2BLJQNjs.IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.XMLHttpRequest = PureXMLHttpRequest; + logger.info( + 'native "XMLHttpRequest" module restored!', + globalThis.XMLHttpRequest.name + ); + }); + } +}; +var XMLHttpRequestInterceptor = _XMLHttpRequestInterceptor; +XMLHttpRequestInterceptor.interceptorSymbol = Symbol("xhr"); + + + +exports.XMLHttpRequestInterceptor = XMLHttpRequestInterceptor; +//# sourceMappingURL=chunk-ZIT2QX7D.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js.map b/node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js.map new file mode 100644 index 0000000000..dcd5d0b31b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/chunk-ZIT2QX7D.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/XMLHttpRequest/index.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts","../../src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts","../../src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts","../../src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts","../../src/interceptors/XMLHttpRequest/utils/createEvent.ts","../../src/utils/findPropertySource.ts","../../src/utils/createProxy.ts","../../src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts","../../src/utils/parseJson.ts","../../src/interceptors/XMLHttpRequest/utils/createResponse.ts","../../src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts"],"names":["invariant","next"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,aAAAA,kBAAiB;;;ACA1B,SAAS,iBAAiB;AAC1B,SAAS,qBAAqB;;;ACEvB,SAAS,kBACd,MACA,OACY;AACZ,QAAM,SAAS,IAAI,WAAW,KAAK,aAAa,MAAM,UAAU;AAChE,SAAO,IAAI,MAAM,CAAC;AAClB,SAAO,IAAI,OAAO,KAAK,UAAU;AACjC,SAAO;AACT;;;ACXO,IAAM,gBAAN,MAAqC;AAAA,EAwB1C,YACE,MACA,SACA;AA1BF,SAAS,OAAO;AAChB,SAAS,kBAAkB;AAC3B,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAE1B,SAAO,OAAe;AACtB,SAAO,aAAiC;AAExC,SAAO,gBAAoC;AAC3C,SAAO,aAAqB;AAE5B,SAAO,YAAqB;AAC5B,SAAO,WAAoB;AAC3B,SAAO,aAAsB;AAC7B,SAAO,mBAA4B;AACnC,SAAO,UAAmB;AAC1B,SAAO,mBAA4B;AACnC,SAAO,SAAiB;AACxB,SAAO,QAAgB;AAEvB,wBAAwB;AACxB,uBAAuB;AAMrB,SAAK,OAAO;AACZ,SAAK,UAAS,mCAAS,WAAU;AACjC,SAAK,iBAAgB,mCAAS,kBAAiB;AAC/C,SAAK,YAAY,KAAK,IAAI;AAAA,EAC5B;AAAA,EAEO,eAA8B;AACnC,WAAO,CAAC;AAAA,EACV;AAAA,EAEO,UAAU,MAAc,SAAmB,YAAsB;AACtE,SAAK,OAAO;AACZ,SAAK,UAAU,CAAC,CAAC;AACjB,SAAK,aAAa,CAAC,CAAC;AAAA,EACtB;AAAA,EAEO,iBAAiB;AACtB,SAAK,mBAAmB;AAAA,EAC1B;AAAA,EAEO,kB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,oBAAoB,OAAO,KAAK","sourcesContent":["import { invariant } from 'outvariant'\nimport { Emitter } from 'strict-event-emitter'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { createXMLHttpRequestProxy } from './XMLHttpRequestProxy'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\n\nexport type XMLHttpRequestEmitter = Emitter\n\nexport class XMLHttpRequestInterceptor extends Interceptor {\n static interceptorSymbol = Symbol('xhr')\n\n constructor() {\n super(XMLHttpRequestInterceptor.interceptorSymbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('XMLHttpRequest')\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('patching \"XMLHttpRequest\" module...')\n\n const PureXMLHttpRequest = globalThis.XMLHttpRequest\n\n invariant(\n !(PureXMLHttpRequest as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"XMLHttpRequest\" module: already patched.'\n )\n\n globalThis.XMLHttpRequest = createXMLHttpRequestProxy({\n emitter: this.emitter,\n logger: this.logger,\n })\n\n logger.info(\n 'native \"XMLHttpRequest\" module patched!',\n globalThis.XMLHttpRequest.name\n )\n\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.XMLHttpRequest = PureXMLHttpRequest\n logger.info(\n 'native \"XMLHttpRequest\" module restored!',\n globalThis.XMLHttpRequest.name\n )\n })\n }\n}\n","import { invariant } from 'outvariant'\nimport { isNodeProcess } from 'is-node-process'\nimport type { Logger } from '@open-draft/logger'\nimport { concatArrayBuffer } from './utils/concatArrayBuffer'\nimport { createEvent } from './utils/createEvent'\nimport {\n decodeBuffer,\n encodeBuffer,\n toArrayBuffer,\n} from '../../utils/bufferUtils'\nimport { createProxy } from '../../utils/createProxy'\nimport { isDomParserSupportedType } from './utils/isDomParserSupportedType'\nimport { parseJson } from '../../utils/parseJson'\nimport { createResponse } from './utils/createResponse'\nimport { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor'\nimport { createRequestId } from '../../createRequestId'\nimport { getBodyByteLength } from './utils/getBodyByteLength'\n\nconst kIsRequestHandled = Symbol('kIsRequestHandled')\nconst IS_NODE = isNodeProcess()\nconst kFetchRequest = Symbol('kFetchRequest')\n\n/**\n * An `XMLHttpRequest` instance controller that allows us\n * to handle any given request instance (e.g. responding to it).\n */\nexport class XMLHttpRequestController {\n public request: XMLHttpRequest\n public requestId: string\n public onRequest?: (\n this: XMLHttpRequestController,\n args: {\n request: Request\n requestId: string\n }\n ) => Promise\n public onResponse?: (\n this: XMLHttpRequestController,\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ) => void;\n\n [kIsRequestHandled]: boolean;\n [kFetchRequest]?: Request\n private method: string = 'GET'\n private url: URL = null as any\n private requestHeaders: Headers\n private responseBuffer: Uint8Array\n private events: Map>\n private uploadEvents: Map<\n keyof XMLHttpRequestEventTargetEventMap,\n Array\n >\n\n constructor(readonly initialRequest: XMLHttpRequest, public logger: Logger) {\n this[kIsRequestHandled] = false\n\n this.events = new Map()\n this.uploadEvents = new Map()\n this.requestId = createRequestId()\n this.requestHeaders = new Headers()\n this.responseBuffer = new Uint8Array()\n\n this.request = createProxy(initialRequest, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'ontimeout': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n /**\n * @note Proxy callbacks to event listeners because JSDOM has trouble\n * translating these properties to callbacks. It seemed to be operating\n * on events exclusively.\n */\n this.request.addEventListener(eventName, nextValue as any)\n\n return invoke()\n }\n\n default: {\n return invoke()\n }\n }\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'open': {\n const [method, url] = args as [string, string | undefined]\n\n if (typeof url === 'undefined') {\n this.method = 'GET'\n this.url = toAbsoluteUrl(method)\n } else {\n this.method = method\n this.url = toAbsoluteUrl(url)\n }\n\n this.logger = this.logger.extend(`${this.method} ${this.url.href}`)\n this.logger.info('open', this.method, this.url.href)\n\n return invoke()\n }\n\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n\n this.registerEvent(eventName, listener)\n this.logger.info('addEventListener', eventName, listener)\n\n return invoke()\n }\n\n case 'setRequestHeader': {\n const [name, value] = args as [string, string]\n this.requestHeaders.set(name, value)\n\n this.logger.info('setRequestHeader', name, value)\n\n return invoke()\n }\n\n case 'send': {\n const [body] = args as [\n body?: XMLHttpRequestBodyInit | Document | null\n ]\n\n this.request.addEventListener('load', () => {\n if (typeof this.onResponse !== 'undefined') {\n // Create a Fetch API Response representation of whichever\n // response this XMLHttpRequest received. Note those may\n // be either a mocked and the original response.\n const fetchResponse = createResponse(\n this.request,\n /**\n * The `response` property is the right way to read\n * the ambiguous response body, as the request's \"responseType\" may differ.\n * @see https://xhr.spec.whatwg.org/#the-response-attribute\n */\n this.request.response\n )\n\n // Notify the consumer about the response.\n this.onResponse.call(this, {\n response: fetchResponse,\n isMockedResponse: this[kIsRequestHandled],\n request: fetchRequest,\n requestId: this.requestId!,\n })\n }\n })\n\n const requestBody =\n typeof body === 'string' ? encodeBuffer(body) : body\n\n // Delegate request handling to the consumer.\n const fetchRequest = this.toFetchApiRequest(requestBody)\n this[kFetchRequest] = fetchRequest.clone()\n\n const onceRequestSettled =\n this.onRequest?.call(this, {\n request: fetchRequest,\n requestId: this.requestId!,\n }) || Promise.resolve()\n\n onceRequestSettled.finally(() => {\n // If the consumer didn't handle the request (called `.respondWith()`) perform it as-is.\n if (!this[kIsRequestHandled]) {\n this.logger.info(\n 'request callback settled but request has not been handled (readystate %d), performing as-is...',\n this.request.readyState\n )\n\n /**\n * @note Set the intercepted request ID on the original request in Node.js\n * so that if it triggers any other interceptors, they don't attempt\n * to process it once again.\n *\n * For instance, XMLHttpRequest is often implemented via \"http.ClientRequest\"\n * and we don't want for both XHR and ClientRequest interceptors to\n * handle the same request at the same time (e.g. emit the \"response\" event twice).\n */\n if (IS_NODE) {\n this.request.setRequestHeader(\n INTERNAL_REQUEST_ID_HEADER_NAME,\n this.requestId!\n )\n }\n\n return invoke()\n }\n })\n\n break\n }\n\n default: {\n return invoke()\n }\n }\n },\n })\n\n /**\n * Proxy the `.upload` property to gather the event listeners/callbacks.\n */\n define(\n this.request,\n 'upload',\n createProxy(this.request.upload, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'onloadstart':\n case 'onprogress':\n case 'onaboart':\n case 'onerror':\n case 'onload':\n case 'ontimeout':\n case 'onloadend': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n this.registerUploadEvent(eventName, nextValue as Function)\n }\n }\n\n return invoke()\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n this.registerUploadEvent(eventName, listener)\n this.logger.info('upload.addEventListener', eventName, listener)\n\n return invoke()\n }\n }\n },\n })\n )\n }\n\n private registerEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.events.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.events.set(eventName, nextEvents)\n\n this.logger.info('registered event \"%s\"', eventName, listener)\n }\n\n private registerUploadEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.uploadEvents.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.uploadEvents.set(eventName, nextEvents)\n\n this.logger.info('registered upload event \"%s\"', eventName, listener)\n }\n\n /**\n * Responds to the current request with the given\n * Fetch API `Response` instance.\n */\n public async respondWith(response: Response): Promise {\n /**\n * @note Since `XMLHttpRequestController` delegates the handling of the responses\n * to the \"load\" event listener that doesn't distinguish between the mocked and original\n * responses, mark the request that had a mocked response with a corresponding symbol.\n *\n * Mark this request as having a mocked response immediately since\n * calculating request/response total body length is asynchronous.\n */\n this[kIsRequestHandled] = true\n\n /**\n * Dispatch request upload events for requests with a body.\n * @see https://github.com/mswjs/interceptors/issues/573\n */\n if (this[kFetchRequest]) {\n const totalRequestBodyLength = await getBodyByteLength(\n this[kFetchRequest]\n )\n\n this.trigger('loadstart', this.request.upload, {\n loaded: 0,\n total: totalRequestBodyLength,\n })\n this.trigger('progress', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('load', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('loadend', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n }\n\n this.logger.info(\n 'responding with a mocked response: %d %s',\n response.status,\n response.statusText\n )\n\n define(this.request, 'status', response.status)\n define(this.request, 'statusText', response.statusText)\n define(this.request, 'responseURL', this.url.href)\n\n this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, {\n apply: (_, __, args: [name: string]) => {\n this.logger.info('getResponseHeader', args[0])\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning null')\n\n // Headers not received yet, nothing to return.\n return null\n }\n\n const headerValue = response.headers.get(args[0])\n this.logger.info(\n 'resolved response header \"%s\" to',\n args[0],\n headerValue\n )\n\n return headerValue\n },\n })\n\n this.request.getAllResponseHeaders = new Proxy(\n this.request.getAllResponseHeaders,\n {\n apply: () => {\n this.logger.info('getAllResponseHeaders')\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning empty string')\n\n // Headers not received yet, nothing to return.\n return ''\n }\n\n const headersList = Array.from(response.headers.entries())\n const allHeaders = headersList\n .map(([headerName, headerValue]) => {\n return `${headerName}: ${headerValue}`\n })\n .join('\\r\\n')\n\n this.logger.info('resolved all response headers to', allHeaders)\n\n return allHeaders\n },\n }\n )\n\n // Update the response getters to resolve against the mocked response.\n Object.defineProperties(this.request, {\n response: {\n enumerable: true,\n configurable: false,\n get: () => this.response,\n },\n responseText: {\n enumerable: true,\n configurable: false,\n get: () => this.responseText,\n },\n responseXML: {\n enumerable: true,\n configurable: false,\n get: () => this.responseXML,\n },\n })\n\n const totalResponseBodyLength = await getBodyByteLength(response.clone())\n\n this.logger.info('calculated response body length', totalResponseBodyLength)\n\n this.trigger('loadstart', this.request, {\n loaded: 0,\n total: totalResponseBodyLength,\n })\n\n this.setReadyState(this.request.HEADERS_RECEIVED)\n this.setReadyState(this.request.LOADING)\n\n const finalizeResponse = () => {\n this.logger.info('finalizing the mocked response...')\n\n this.setReadyState(this.request.DONE)\n\n this.trigger('load', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n\n this.trigger('loadend', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n if (response.body) {\n this.logger.info('mocked response has body, streaming...')\n\n const reader = response.body.getReader()\n\n const readNextResponseBodyChunk = async () => {\n const { value, done } = await reader.read()\n\n if (done) {\n this.logger.info('response body stream done!')\n finalizeResponse()\n return\n }\n\n if (value) {\n this.logger.info('read response body chunk:', value)\n this.responseBuffer = concatArrayBuffer(this.responseBuffer, value)\n\n this.trigger('progress', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n readNextResponseBodyChunk()\n }\n\n readNextResponseBodyChunk()\n } else {\n finalizeResponse()\n }\n }\n\n private responseBufferToText(): string {\n return decodeBuffer(this.responseBuffer)\n }\n\n get response(): unknown {\n this.logger.info(\n 'getResponse (responseType: %s)',\n this.request.responseType\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n switch (this.request.responseType) {\n case 'json': {\n const responseJson = parseJson(this.responseBufferToText())\n this.logger.info('resolved response JSON', responseJson)\n\n return responseJson\n }\n\n case 'arraybuffer': {\n const arrayBuffer = toArrayBuffer(this.responseBuffer)\n this.logger.info('resolved response ArrayBuffer', arrayBuffer)\n\n return arrayBuffer\n }\n\n case 'blob': {\n const mimeType =\n this.request.getResponseHeader('Content-Type') || 'text/plain'\n const responseBlob = new Blob([this.responseBufferToText()], {\n type: mimeType,\n })\n\n this.logger.info(\n 'resolved response Blob (mime type: %s)',\n responseBlob,\n mimeType\n )\n\n return responseBlob\n }\n\n default: {\n const responseText = this.responseBufferToText()\n this.logger.info(\n 'resolving \"%s\" response type as text',\n this.request.responseType,\n responseText\n )\n\n return responseText\n }\n }\n }\n\n get responseText(): string {\n /**\n * Throw when trying to read the response body as text when the\n * \"responseType\" doesn't expect text. This just respects the spec better.\n * @see https://xhr.spec.whatwg.org/#the-responsetext-attribute\n */\n invariant(\n this.request.responseType === '' || this.request.responseType === 'text',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (\n this.request.readyState !== this.request.LOADING &&\n this.request.readyState !== this.request.DONE\n ) {\n return ''\n }\n\n const responseText = this.responseBufferToText()\n this.logger.info('getResponseText: \"%s\"', responseText)\n\n return responseText\n }\n\n get responseXML(): Document | null {\n invariant(\n this.request.responseType === '' ||\n this.request.responseType === 'document',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n const contentType = this.request.getResponseHeader('Content-Type') || ''\n\n if (typeof DOMParser === 'undefined') {\n console.warn(\n 'Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly.'\n )\n return null\n }\n\n if (isDomParserSupportedType(contentType)) {\n return new DOMParser().parseFromString(\n this.responseBufferToText(),\n contentType\n )\n }\n\n return null\n }\n\n public errorWith(error?: Error): void {\n /**\n * @note Mark this request as handled even if it received a mock error.\n * This prevents the controller from trying to perform this request as-is.\n */\n this[kIsRequestHandled] = true\n this.logger.info('responding with an error')\n\n this.setReadyState(this.request.DONE)\n this.trigger('error', this.request)\n this.trigger('loadend', this.request)\n }\n\n /**\n * Transitions this request's `readyState` to the given one.\n */\n private setReadyState(nextReadyState: number): void {\n this.logger.info(\n 'setReadyState: %d -> %d',\n this.request.readyState,\n nextReadyState\n )\n\n if (this.request.readyState === nextReadyState) {\n this.logger.info('ready state identical, skipping transition...')\n return\n }\n\n define(this.request, 'readyState', nextReadyState)\n\n this.logger.info('set readyState to: %d', nextReadyState)\n\n if (nextReadyState !== this.request.UNSENT) {\n this.logger.info('triggerring \"readystatechange\" event...')\n\n this.trigger('readystatechange', this.request)\n }\n }\n\n /**\n * Triggers given event on the `XMLHttpRequest` instance.\n */\n private trigger<\n EventName extends keyof (XMLHttpRequestEventTargetEventMap & {\n readystatechange: ProgressEvent\n })\n >(\n eventName: EventName,\n target: XMLHttpRequest | XMLHttpRequestUpload,\n options?: ProgressEventInit\n ): void {\n const callback = (target as XMLHttpRequest)[`on${eventName}`]\n const event = createEvent(target, eventName, options)\n\n this.logger.info('trigger \"%s\"', eventName, options || '')\n\n // Invoke direct callbacks.\n if (typeof callback === 'function') {\n this.logger.info('found a direct \"%s\" callback, calling...', eventName)\n callback.call(target as XMLHttpRequest, event)\n }\n\n // Invoke event listeners.\n const events =\n target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events\n\n for (const [registeredEventName, listeners] of events) {\n if (registeredEventName === eventName) {\n this.logger.info(\n 'found %d listener(s) for \"%s\" event, calling...',\n listeners.length,\n eventName\n )\n\n listeners.forEach((listener) => listener.call(target, event))\n }\n }\n }\n\n /**\n * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance.\n */\n private toFetchApiRequest(\n body: XMLHttpRequestBodyInit | Document | null | undefined\n ): Request {\n this.logger.info('converting request to a Fetch API Request...')\n\n // If the `Document` is used as the body of this XMLHttpRequest,\n // set its inner text as the Fetch API Request body.\n const resolvedBody =\n body instanceof Document ? body.documentElement.innerText : body\n\n const fetchRequest = new Request(this.url.href, {\n method: this.method,\n headers: this.requestHeaders,\n /**\n * @see https://xhr.spec.whatwg.org/#cross-origin-credentials\n */\n credentials: this.request.withCredentials ? 'include' : 'same-origin',\n body: ['GET', 'HEAD'].includes(this.method.toUpperCase())\n ? null\n : resolvedBody,\n })\n\n const proxyHeaders = createProxy(fetchRequest.headers, {\n methodCall: ([methodName, args], invoke) => {\n // Forward the latest state of the internal request headers\n // because the interceptor might have modified them\n // without responding to the request.\n switch (methodName) {\n case 'append':\n case 'set': {\n const [headerName, headerValue] = args as [string, string]\n this.request.setRequestHeader(headerName, headerValue)\n break\n }\n\n case 'delete': {\n const [headerName] = args as [string]\n console.warn(\n `XMLHttpRequest: Cannot remove a \"${headerName}\" header from the Fetch API representation of the \"${fetchRequest.method} ${fetchRequest.url}\" request. XMLHttpRequest headers cannot be removed.`\n )\n break\n }\n }\n\n return invoke()\n },\n })\n define(fetchRequest, 'headers', proxyHeaders)\n\n this.logger.info('converted request to a Fetch API Request!', fetchRequest)\n\n return fetchRequest\n }\n}\n\nfunction toAbsoluteUrl(url: string | URL): URL {\n /**\n * @note XMLHttpRequest interceptor may run in environments\n * that implement XMLHttpRequest but don't implement \"location\"\n * (for example, React Native). If that's the case, return the\n * input URL as-is (nothing to be relative to).\n * @see https://github.com/mswjs/msw/issues/1777\n */\n if (typeof location === 'undefined') {\n return new URL(url)\n }\n\n return new URL(url.toString(), location.href)\n}\n\nfunction define(\n target: object,\n property: string | symbol,\n value: unknown\n): void {\n Reflect.defineProperty(target, property, {\n // Ensure writable properties to allow redefining readonly properties.\n writable: true,\n enumerable: true,\n value,\n })\n}\n","/**\n * Concatenate two `Uint8Array` buffers.\n */\nexport function concatArrayBuffer(\n left: Uint8Array,\n right: Uint8Array\n): Uint8Array {\n const result = new Uint8Array(left.byteLength + right.byteLength)\n result.set(left, 0)\n result.set(right, left.byteLength)\n return result\n}\n","export class EventPolyfill implements Event {\n readonly NONE = 0\n readonly CAPTURING_PHASE = 1\n readonly AT_TARGET = 2\n readonly BUBBLING_PHASE = 3\n\n public type: string = ''\n public srcElement: EventTarget | null = null\n public target: EventTarget | null\n public currentTarget: EventTarget | null = null\n public eventPhase: number = 0\n public timeStamp: number\n public isTrusted: boolean = true\n public composed: boolean = false\n public cancelable: boolean = true\n public defaultPrevented: boolean = false\n public bubbles: boolean = true\n public lengthComputable: boolean = true\n public loaded: number = 0\n public total: number = 0\n\n cancelBubble: boolean = false\n returnValue: boolean = true\n\n constructor(\n type: string,\n options?: { target: EventTarget; currentTarget: EventTarget }\n ) {\n this.type = type\n this.target = options?.target || null\n this.currentTarget = options?.currentTarget || null\n this.timeStamp = Date.now()\n }\n\n public composedPath(): EventTarget[] {\n return []\n }\n\n public initEvent(type: string, bubbles?: boolean, cancelable?: boolean) {\n this.type = type\n this.bubbles = !!bubbles\n this.cancelable = !!cancelable\n }\n\n public preventDefault() {\n this.defaultPrevented = true\n }\n\n public stopPropagation() {}\n public stopImmediatePropagation() {}\n}\n","import { EventPolyfill } from './EventPolyfill'\n\nexport class ProgressEventPolyfill extends EventPolyfill {\n readonly lengthComputable: boolean\n readonly composed: boolean\n readonly loaded: number\n readonly total: number\n\n constructor(type: string, init?: ProgressEventInit) {\n super(type)\n\n this.lengthComputable = init?.lengthComputable || false\n this.composed = init?.composed || false\n this.loaded = init?.loaded || 0\n this.total = init?.total || 0\n }\n}\n","import { EventPolyfill } from '../polyfills/EventPolyfill'\nimport { ProgressEventPolyfill } from '../polyfills/ProgressEventPolyfill'\n\nconst SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== 'undefined'\n\nexport function createEvent(\n target: XMLHttpRequest | XMLHttpRequestUpload,\n type: string,\n init?: ProgressEventInit\n): EventPolyfill | ProgressEvent {\n const progressEvents = [\n 'error',\n 'progress',\n 'loadstart',\n 'loadend',\n 'load',\n 'timeout',\n 'abort',\n ]\n\n /**\n * `ProgressEvent` is not supported in React Native.\n * @see https://github.com/mswjs/interceptors/issues/40\n */\n const ProgressEventClass = SUPPORTS_PROGRESS_EVENT\n ? ProgressEvent\n : ProgressEventPolyfill\n\n const event = progressEvents.includes(type)\n ? new ProgressEventClass(type, {\n lengthComputable: true,\n loaded: init?.loaded || 0,\n total: init?.total || 0,\n })\n : new EventPolyfill(type, {\n target,\n currentTarget: target,\n })\n\n return event\n}\n","/**\n * Returns the source object of the given property on the target object\n * (the target itself, any parent in its prototype, or null).\n */\nexport function findPropertySource(\n target: object,\n propertyName: string | symbol\n): object | null {\n if (!(propertyName in target)) {\n return null\n }\n\n const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName)\n if (hasProperty) {\n return target\n }\n\n const prototype = Reflect.getPrototypeOf(target)\n return prototype ? findPropertySource(prototype, propertyName) : null\n}\n","import { findPropertySource } from './findPropertySource'\n\nexport interface ProxyOptions> {\n constructorCall?(args: Array, next: NextFunction): Target\n\n methodCall?(\n this: Target,\n data: [methodName: F, args: Array],\n next: NextFunction\n ): void\n\n setProperty?(\n data: [propertyName: string | symbol, nextValue: unknown],\n next: NextFunction\n ): boolean\n\n getProperty?(\n data: [propertyName: string | symbol, receiver: Target],\n next: NextFunction\n ): void\n}\n\nexport type NextFunction = () => ReturnType\n\nexport function createProxy(\n target: Target,\n options: ProxyOptions\n): Target {\n const proxy = new Proxy(target, optionsToProxyHandler(options))\n\n return proxy\n}\n\nfunction optionsToProxyHandler>(\n options: ProxyOptions\n): ProxyHandler {\n const { constructorCall, methodCall, getProperty, setProperty } = options\n const handler: ProxyHandler = {}\n\n if (typeof constructorCall !== 'undefined') {\n handler.construct = function (target, args, newTarget) {\n const next = Reflect.construct.bind(null, target as any, args, newTarget)\n return constructorCall.call(newTarget, args, next)\n }\n }\n\n handler.set = function (target, propertyName, nextValue) {\n const next = () => {\n const propertySource = findPropertySource(target, propertyName) || target\n const ownDescriptors = Reflect.getOwnPropertyDescriptor(\n propertySource,\n propertyName\n )\n\n // Respect any custom setters present for this property.\n if (typeof ownDescriptors?.set !== 'undefined') {\n ownDescriptors.set.apply(target, [nextValue])\n return true\n }\n\n // Otherwise, set the property on the source.\n return Reflect.defineProperty(propertySource, propertyName, {\n writable: true,\n enumerable: true,\n configurable: true,\n value: nextValue,\n })\n }\n\n if (typeof setProperty !== 'undefined') {\n return setProperty.call(target, [propertyName, nextValue], next)\n }\n\n return next()\n }\n\n handler.get = function (target, propertyName, receiver) {\n /**\n * @note Using `Reflect.get()` here causes \"TypeError: Illegal invocation\".\n */\n const next = () => target[propertyName as any]\n\n const value =\n typeof getProperty !== 'undefined'\n ? getProperty.call(target, [propertyName, receiver], next)\n : next()\n\n if (typeof value === 'function') {\n return (...args: Array) => {\n const next = value.bind(target, ...args)\n\n if (typeof methodCall !== 'undefined') {\n return methodCall.call(target, [propertyName as any, args], next)\n }\n\n return next()\n }\n }\n\n return value\n }\n\n return handler\n}\n","export function isDomParserSupportedType(\n type: string\n): type is DOMParserSupportedType {\n const supportedTypes: Array = [\n 'application/xhtml+xml',\n 'application/xml',\n 'image/svg+xml',\n 'text/html',\n 'text/xml',\n ]\n return supportedTypes.some((supportedType) => {\n return type.startsWith(supportedType)\n })\n}\n","/**\n * Parses a given string into JSON.\n * Gracefully handles invalid JSON by returning `null`.\n */\nexport function parseJson(data: string): Record | null {\n try {\n const json = JSON.parse(data)\n return json\n } catch (_) {\n return null\n }\n}\n","import { FetchResponse } from '../../../utils/fetchUtils'\n\n/**\n * Creates a Fetch API `Response` instance from the given\n * `XMLHttpRequest` instance and a response body.\n */\nexport function createResponse(\n request: XMLHttpRequest,\n body: BodyInit | null\n): Response {\n /**\n * Handle XMLHttpRequest responses that must have null as the\n * response body when represented using Fetch API Response.\n * XMLHttpRequest response will always have an empty string\n * as the \"request.response\" in those cases, resulting in an error\n * when constructing a Response instance.\n * @see https://github.com/mswjs/interceptors/issues/379\n */\n const responseBodyOrNull = FetchResponse.isResponseWithBody(request.status)\n ? body\n : null\n\n return new FetchResponse(responseBodyOrNull, {\n url: request.responseURL,\n status: request.status,\n statusText: request.statusText,\n headers: createHeadersFromXMLHttpReqestHeaders(\n request.getAllResponseHeaders()\n ),\n })\n}\n\nfunction createHeadersFromXMLHttpReqestHeaders(headersString: string): Headers {\n const headers = new Headers()\n\n const lines = headersString.split(/[\\r\\n]+/)\n for (const line of lines) {\n if (line.trim() === '') {\n continue\n }\n\n const [name, ...parts] = line.split(': ')\n const value = parts.join(': ')\n\n headers.append(name, value)\n }\n\n return headers\n}\n","/**\n * Return a total byte length of the given request/response body.\n * If the `Content-Length` header is present, it will be used as the byte length.\n */\nexport async function getBodyByteLength(\n input: Request | Response\n): Promise {\n const explicitContentLength = input.headers.get('content-length')\n\n if (explicitContentLength != null && explicitContentLength !== '') {\n return Number(explicitContentLength)\n }\n\n const buffer = await input.arrayBuffer()\n return buffer.byteLength\n}\n","import type { Logger } from '@open-draft/logger'\nimport { XMLHttpRequestEmitter } from '.'\nimport { RequestController } from '../../RequestController'\nimport { XMLHttpRequestController } from './XMLHttpRequestController'\nimport { handleRequest } from '../../utils/handleRequest'\n\nexport interface XMLHttpRequestProxyOptions {\n emitter: XMLHttpRequestEmitter\n logger: Logger\n}\n\n/**\n * Create a proxied `XMLHttpRequest` class.\n * The proxied class establishes spies on certain methods,\n * allowing us to intercept requests and respond to them.\n */\nexport function createXMLHttpRequestProxy({\n emitter,\n logger,\n}: XMLHttpRequestProxyOptions) {\n const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, {\n construct(target, args, newTarget) {\n logger.info('constructed new XMLHttpRequest')\n\n const originalRequest = Reflect.construct(\n target,\n args,\n newTarget\n ) as XMLHttpRequest\n\n /**\n * @note Forward prototype descriptors onto the proxied object.\n * XMLHttpRequest is implemented in JSDOM in a way that assigns\n * a bunch of descriptors, like \"set responseType()\" on the prototype.\n * With this propagation, we make sure that those descriptors trigger\n * when the user operates with the proxied request instance.\n */\n const prototypeDescriptors = Object.getOwnPropertyDescriptors(\n target.prototype\n )\n for (const propertyName in prototypeDescriptors) {\n Reflect.defineProperty(\n originalRequest,\n propertyName,\n prototypeDescriptors[propertyName]\n )\n }\n\n const xhrRequestController = new XMLHttpRequestController(\n originalRequest,\n logger\n )\n\n xhrRequestController.onRequest = async function ({ request, requestId }) {\n const controller = new RequestController(request)\n\n this.logger.info('awaiting mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n controller,\n emitter,\n onResponse: async (response) => {\n await this.respondWith(response)\n },\n onRequestError: () => {\n this.errorWith(new TypeError('Network error'))\n },\n onError: (error) => {\n this.logger.info('request errored!', { error })\n\n if (error instanceof Error) {\n this.errorWith(error)\n }\n },\n })\n\n if (!isRequestHandled) {\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n }\n }\n\n xhrRequestController.onResponse = async function ({\n response,\n isMockedResponse,\n request,\n requestId,\n }) {\n this.logger.info(\n 'emitting the \"response\" event for %s listener(s)...',\n emitter.listenerCount('response')\n )\n\n emitter.emit('response', {\n response,\n isMockedResponse,\n request,\n requestId,\n })\n }\n\n // Return the proxied request from the controller\n // so that the controller can react to the consumer's interactions\n // with this request (opening/sending/etc).\n return xhrRequestController.request\n },\n })\n\n return XMLHttpRequestProxy\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/glossary-6564c252.d.ts b/node_modules/@mswjs/interceptors/lib/browser/glossary-6564c252.d.ts new file mode 100644 index 0000000000..8a08d254a7 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/glossary-6564c252.d.ts @@ -0,0 +1,67 @@ +import { DeferredPromise } from '@open-draft/deferred-promise'; + +declare const kRequestHandled: unique symbol; +declare const kResponsePromise: unique symbol; +declare class RequestController { + private request; + /** + * Internal response promise. + * Available only for the library internals to grab the + * response instance provided by the developer. + * @note This promise cannot be rejected. It's either infinitely + * pending or resolved with whichever Response was passed to `respondWith()`. + */ + [kResponsePromise]: DeferredPromise; + /** + * Internal flag indicating if this request has been handled. + * @note The response promise becomes "fulfilled" on the next tick. + */ + [kRequestHandled]: boolean; + constructor(request: Request); + /** + * Respond to this request with the given `Response` instance. + * @example + * controller.respondWith(new Response()) + * controller.respondWith(Response.json({ id })) + * controller.respondWith(Response.error()) + */ + respondWith(response: Response): void; + /** + * Error this request with the given error. + * @example + * controller.errorWith() + * controller.errorWith(new Error('Oops!')) + */ + errorWith(error?: Error): void; +} + +declare const IS_PATCHED_MODULE: unique symbol; + +type RequestCredentials = 'omit' | 'include' | 'same-origin'; +type HttpRequestEventMap = { + request: [ + args: { + request: Request; + requestId: string; + controller: RequestController; + } + ]; + response: [ + args: { + response: Response; + isMockedResponse: boolean; + request: Request; + requestId: string; + } + ]; + unhandledException: [ + args: { + error: unknown; + request: Request; + requestId: string; + controller: RequestController; + } + ]; +}; + +export { HttpRequestEventMap as H, IS_PATCHED_MODULE as I, RequestController as R, RequestCredentials as a }; diff --git a/node_modules/@mswjs/interceptors/lib/browser/index.d.ts b/node_modules/@mswjs/interceptors/lib/browser/index.d.ts new file mode 100644 index 0000000000..dfd8e4852b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/index.d.ts @@ -0,0 +1,69 @@ +export { H as HttpRequestEventMap, I as IS_PATCHED_MODULE, R as RequestController, a as RequestCredentials } from './glossary-6564c252.js'; +import { I as Interceptor, E as ExtractEventNames } from './Interceptor-af98b768.js'; +export { c as INTERNAL_REQUEST_ID_HEADER_NAME, a as InterceptorEventMap, e as InterceptorReadyState, b as InterceptorSubscription, d as deleteGlobalSymbol, g as getGlobalSymbol } from './Interceptor-af98b768.js'; +import { EventMap, Listener } from 'strict-event-emitter'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; + +interface BatchInterceptorOptions>> { + name: string; + interceptors: InterceptorList; +} +type ExtractEventMapType>> = InterceptorList extends ReadonlyArray ? InterceptorType extends Interceptor ? EventMap : never : never; +/** + * A batch interceptor that exposes a single interface + * to apply and operate with multiple interceptors at once. + */ +declare class BatchInterceptor>, Events extends EventMap = ExtractEventMapType> extends Interceptor { + static symbol: symbol; + private interceptors; + constructor(options: BatchInterceptorOptions); + protected setup(): void; + on>(event: EventName, listener: Listener): this; + once>(event: EventName, listener: Listener): this; + off>(event: EventName, listener: Listener): this; + removeAllListeners>(event?: EventName | undefined): this; +} + +/** + * Generate a random ID string to represent a request. + * @example + * createRequestId() + * // "f774b6c9c600f" + */ +declare function createRequestId(): string; + +/** + * Removes query parameters and hashes from a given URL. + */ +declare function getCleanUrl(url: URL, isAbsolute?: boolean): string; + +declare function encodeBuffer(text: string): Uint8Array; +declare function decodeBuffer(buffer: ArrayBuffer, encoding?: string): string; + +interface FetchResponseInit extends ResponseInit { + url?: string; +} +declare class FetchResponse extends Response { + /** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ + static readonly STATUS_CODES_WITHOUT_BODY: number[]; + static readonly STATUS_CODES_WITH_REDIRECT: number[]; + static isConfigurableStatusCode(status: number): boolean; + static isRedirectResponse(status: number): boolean; + /** + * Returns a boolean indicating whether the given response status + * code represents a response that can have a body. + */ + static isResponseWithBody(status: number): boolean; + static setUrl(url: string | undefined, response: Response): void; + /** + * Parses the given raw HTTP headers into a Fetch API `Headers` instance. + */ + static parseRawHeaders(rawHeaders: Array): Headers; + constructor(body?: BodyInit | null, init?: FetchResponseInit); +} + +export { BatchInterceptor, BatchInterceptorOptions, ExtractEventMapType, ExtractEventNames, FetchResponse, Interceptor, createRequestId, decodeBuffer, encodeBuffer, getCleanUrl }; diff --git a/node_modules/@mswjs/interceptors/lib/browser/index.js b/node_modules/@mswjs/interceptors/lib/browser/index.js new file mode 100644 index 0000000000..a8aaa1208a --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/index.js @@ -0,0 +1,79 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + + +var _chunkLK6DILFKjs = require('./chunk-LK6DILFK.js'); + + + +var _chunkBC2BLJQNjs = require('./chunk-BC2BLJQN.js'); + + + + + + + +var _chunkTIPR373Rjs = require('./chunk-TIPR373R.js'); + +// src/BatchInterceptor.ts +var BatchInterceptor = class extends _chunkTIPR373Rjs.Interceptor { + constructor(options) { + BatchInterceptor.symbol = Symbol(options.name); + super(BatchInterceptor.symbol); + this.interceptors = options.interceptors; + } + setup() { + const logger = this.logger.extend("setup"); + logger.info("applying all %d interceptors...", this.interceptors.length); + for (const interceptor of this.interceptors) { + logger.info('applying "%s" interceptor...', interceptor.constructor.name); + interceptor.apply(); + logger.info("adding interceptor dispose subscription"); + this.subscriptions.push(() => interceptor.dispose()); + } + } + on(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.on(event, listener); + } + return this; + } + once(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.once(event, listener); + } + return this; + } + off(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.off(event, listener); + } + return this; + } + removeAllListeners(event) { + for (const interceptors of this.interceptors) { + interceptors.removeAllListeners(event); + } + return this; + } +}; + +// src/utils/getCleanUrl.ts +function getCleanUrl(url, isAbsolute = true) { + return [isAbsolute && url.origin, url.pathname].filter(Boolean).join(""); +} + + + + + + + + + + + + + +exports.BatchInterceptor = BatchInterceptor; exports.FetchResponse = _chunkBC2BLJQNjs.FetchResponse; exports.INTERNAL_REQUEST_ID_HEADER_NAME = _chunkTIPR373Rjs.INTERNAL_REQUEST_ID_HEADER_NAME; exports.IS_PATCHED_MODULE = _chunkBC2BLJQNjs.IS_PATCHED_MODULE; exports.Interceptor = _chunkTIPR373Rjs.Interceptor; exports.InterceptorReadyState = _chunkTIPR373Rjs.InterceptorReadyState; exports.createRequestId = _chunkTIPR373Rjs.createRequestId; exports.decodeBuffer = _chunkLK6DILFKjs.decodeBuffer; exports.deleteGlobalSymbol = _chunkTIPR373Rjs.deleteGlobalSymbol; exports.encodeBuffer = _chunkLK6DILFKjs.encodeBuffer; exports.getCleanUrl = getCleanUrl; exports.getGlobalSymbol = _chunkTIPR373Rjs.getGlobalSymbol; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/index.js.map b/node_modules/@mswjs/interceptors/lib/browser/index.js.map new file mode 100644 index 0000000000..34e4b31b1d --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/BatchInterceptor.ts","../../src/utils/getCleanUrl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,IAAM,mBAAN,cAGG,YAAoB;AAAA,EAK5B,YAAY,SAAmD;AAC7D,qBAAiB,SAAS,OAAO,QAAQ,IAAI;AAC7C,UAAM,iBAAiB,MAAM;AAC7B,SAAK,eAAe,QAAQ;AAAA,EAC9B;AAAA,EAEU,QAAQ;AAChB,UAAM,SAAS,KAAK,OAAO,OAAO,OAAO;AAEzC,WAAO,KAAK,mCAAmC,KAAK,aAAa,MAAM;AAEvE,eAAW,eAAe,KAAK,cAAc;AAC3C,aAAO,KAAK,gCAAgC,YAAY,YAAY,IAAI;AACxE,kBAAY,MAAM;AAElB,aAAO,KAAK,yCAAyC;AACrD,WAAK,cAAc,KAAK,MAAM,YAAY,QAAQ,CAAC;AAAA,IACrD;AAAA,EACF;AAAA,EAEO,GACL,OACA,UACM;AAGN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,GAAG,OAAO,QAAQ;AAAA,IAChC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,KACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,KAAK,OAAO,QAAQ;AAAA,IAClC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,IACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,IAAI,OAAO,QAAQ;AAAA,IACjC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,mBACL,OACM;AACN,eAAW,gBAAgB,KAAK,cAAc;AAC5C,mBAAa,mBAAmB,KAAK;AAAA,IACvC;AAEA,WAAO;AAAA,EACT;AACF;;;AC3FO,SAAS,YAAY,KAAU,aAAsB,MAAc;AACxE,SAAO,CAAC,cAAc,IAAI,QAAQ,IAAI,QAAQ,EAAE,OAAO,OAAO,EAAE,KAAK,EAAE;AACzE","sourcesContent":["import { EventMap, Listener } from 'strict-event-emitter'\nimport { Interceptor, ExtractEventNames } from './Interceptor'\n\nexport interface BatchInterceptorOptions<\n InterceptorList extends ReadonlyArray>\n> {\n name: string\n interceptors: InterceptorList\n}\n\nexport type ExtractEventMapType<\n InterceptorList extends ReadonlyArray>\n> = InterceptorList extends ReadonlyArray\n ? InterceptorType extends Interceptor\n ? EventMap\n : never\n : never\n\n/**\n * A batch interceptor that exposes a single interface\n * to apply and operate with multiple interceptors at once.\n */\nexport class BatchInterceptor<\n InterceptorList extends ReadonlyArray>,\n Events extends EventMap = ExtractEventMapType\n> extends Interceptor {\n static symbol: symbol\n\n private interceptors: InterceptorList\n\n constructor(options: BatchInterceptorOptions) {\n BatchInterceptor.symbol = Symbol(options.name)\n super(BatchInterceptor.symbol)\n this.interceptors = options.interceptors\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('applying all %d interceptors...', this.interceptors.length)\n\n for (const interceptor of this.interceptors) {\n logger.info('applying \"%s\" interceptor...', interceptor.constructor.name)\n interceptor.apply()\n\n logger.info('adding interceptor dispose subscription')\n this.subscriptions.push(() => interceptor.dispose())\n }\n }\n\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n // Instead of adding a listener to the batch interceptor,\n // propagate the listener to each of the individual interceptors.\n for (const interceptor of this.interceptors) {\n interceptor.on(event, listener)\n }\n\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.once(event, listener)\n }\n\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.off(event, listener)\n }\n\n return this\n }\n\n public removeAllListeners>(\n event?: EventName | undefined\n ): this {\n for (const interceptors of this.interceptors) {\n interceptors.removeAllListeners(event)\n }\n\n return this\n }\n}\n","/**\n * Removes query parameters and hashes from a given URL.\n */\nexport function getCleanUrl(url: URL, isAbsolute: boolean = true): string {\n return [isAbsolute && url.origin, url.pathname].filter(Boolean).join('')\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/index.mjs b/node_modules/@mswjs/interceptors/lib/browser/index.mjs new file mode 100644 index 0000000000..77c7a04bc9 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/index.mjs @@ -0,0 +1,79 @@ +import { + decodeBuffer, + encodeBuffer +} from "./chunk-6HYIRFX2.mjs"; +import { + FetchResponse, + IS_PATCHED_MODULE +} from "./chunk-5UK33FSU.mjs"; +import { + INTERNAL_REQUEST_ID_HEADER_NAME, + Interceptor, + InterceptorReadyState, + createRequestId, + deleteGlobalSymbol, + getGlobalSymbol +} from "./chunk-QED3Q6Z2.mjs"; + +// src/BatchInterceptor.ts +var BatchInterceptor = class extends Interceptor { + constructor(options) { + BatchInterceptor.symbol = Symbol(options.name); + super(BatchInterceptor.symbol); + this.interceptors = options.interceptors; + } + setup() { + const logger = this.logger.extend("setup"); + logger.info("applying all %d interceptors...", this.interceptors.length); + for (const interceptor of this.interceptors) { + logger.info('applying "%s" interceptor...', interceptor.constructor.name); + interceptor.apply(); + logger.info("adding interceptor dispose subscription"); + this.subscriptions.push(() => interceptor.dispose()); + } + } + on(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.on(event, listener); + } + return this; + } + once(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.once(event, listener); + } + return this; + } + off(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.off(event, listener); + } + return this; + } + removeAllListeners(event) { + for (const interceptors of this.interceptors) { + interceptors.removeAllListeners(event); + } + return this; + } +}; + +// src/utils/getCleanUrl.ts +function getCleanUrl(url, isAbsolute = true) { + return [isAbsolute && url.origin, url.pathname].filter(Boolean).join(""); +} +export { + BatchInterceptor, + FetchResponse, + INTERNAL_REQUEST_ID_HEADER_NAME, + IS_PATCHED_MODULE, + Interceptor, + InterceptorReadyState, + createRequestId, + decodeBuffer, + deleteGlobalSymbol, + encodeBuffer, + getCleanUrl, + getGlobalSymbol +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/index.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/index.mjs.map new file mode 100644 index 0000000000..4cc8acce11 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/BatchInterceptor.ts","../../src/utils/getCleanUrl.ts"],"sourcesContent":["import { EventMap, Listener } from 'strict-event-emitter'\nimport { Interceptor, ExtractEventNames } from './Interceptor'\n\nexport interface BatchInterceptorOptions<\n InterceptorList extends ReadonlyArray>\n> {\n name: string\n interceptors: InterceptorList\n}\n\nexport type ExtractEventMapType<\n InterceptorList extends ReadonlyArray>\n> = InterceptorList extends ReadonlyArray\n ? InterceptorType extends Interceptor\n ? EventMap\n : never\n : never\n\n/**\n * A batch interceptor that exposes a single interface\n * to apply and operate with multiple interceptors at once.\n */\nexport class BatchInterceptor<\n InterceptorList extends ReadonlyArray>,\n Events extends EventMap = ExtractEventMapType\n> extends Interceptor {\n static symbol: symbol\n\n private interceptors: InterceptorList\n\n constructor(options: BatchInterceptorOptions) {\n BatchInterceptor.symbol = Symbol(options.name)\n super(BatchInterceptor.symbol)\n this.interceptors = options.interceptors\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('applying all %d interceptors...', this.interceptors.length)\n\n for (const interceptor of this.interceptors) {\n logger.info('applying \"%s\" interceptor...', interceptor.constructor.name)\n interceptor.apply()\n\n logger.info('adding interceptor dispose subscription')\n this.subscriptions.push(() => interceptor.dispose())\n }\n }\n\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n // Instead of adding a listener to the batch interceptor,\n // propagate the listener to each of the individual interceptors.\n for (const interceptor of this.interceptors) {\n interceptor.on(event, listener)\n }\n\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.once(event, listener)\n }\n\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.off(event, listener)\n }\n\n return this\n }\n\n public removeAllListeners>(\n event?: EventName | undefined\n ): this {\n for (const interceptors of this.interceptors) {\n interceptors.removeAllListeners(event)\n }\n\n return this\n }\n}\n","/**\n * Removes query parameters and hashes from a given URL.\n */\nexport function getCleanUrl(url: URL, isAbsolute: boolean = true): string {\n return [isAbsolute && url.origin, url.pathname].filter(Boolean).join('')\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,IAAM,mBAAN,cAGG,YAAoB;AAAA,EAK5B,YAAY,SAAmD;AAC7D,qBAAiB,SAAS,OAAO,QAAQ,IAAI;AAC7C,UAAM,iBAAiB,MAAM;AAC7B,SAAK,eAAe,QAAQ;AAAA,EAC9B;AAAA,EAEU,QAAQ;AAChB,UAAM,SAAS,KAAK,OAAO,OAAO,OAAO;AAEzC,WAAO,KAAK,mCAAmC,KAAK,aAAa,MAAM;AAEvE,eAAW,eAAe,KAAK,cAAc;AAC3C,aAAO,KAAK,gCAAgC,YAAY,YAAY,IAAI;AACxE,kBAAY,MAAM;AAElB,aAAO,KAAK,yCAAyC;AACrD,WAAK,cAAc,KAAK,MAAM,YAAY,QAAQ,CAAC;AAAA,IACrD;AAAA,EACF;AAAA,EAEO,GACL,OACA,UACM;AAGN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,GAAG,OAAO,QAAQ;AAAA,IAChC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,KACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,KAAK,OAAO,QAAQ;AAAA,IAClC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,IACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,IAAI,OAAO,QAAQ;AAAA,IACjC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,mBACL,OACM;AACN,eAAW,gBAAgB,KAAK,cAAc;AAC5C,mBAAa,mBAAmB,KAAK;AAAA,IACvC;AAEA,WAAO;AAAA,EACT;AACF;;;AC3FO,SAAS,YAAY,KAAU,aAAsB,MAAc;AACxE,SAAO,CAAC,cAAc,IAAI,QAAQ,IAAI,QAAQ,EAAE,OAAO,OAAO,EAAE,KAAK,EAAE;AACzE;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.d.ts b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.d.ts new file mode 100644 index 0000000000..d6ab505119 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.d.ts @@ -0,0 +1,233 @@ +import { I as Interceptor } from '../../Interceptor-af98b768.js'; +import '@open-draft/logger'; +import 'strict-event-emitter'; + +interface CloseEventInit extends EventInit { + code?: number; + reason?: string; + wasClean?: boolean; +} +declare class CloseEvent extends Event { + code: number; + reason: string; + wasClean: boolean; + constructor(type: string, init?: CloseEventInit); +} + +type WebSocketData = string | ArrayBufferLike | Blob | ArrayBufferView; +type WebSocketTransportEventMap = { + incoming: MessageEvent; + outgoing: MessageEvent; + close: CloseEvent; +}; +type StrictEventListenerOrEventListenerObject = ((this: WebSocket, event: EventType) => void) | { + handleEvent(this: WebSocket, event: EventType): void; +}; +interface WebSocketTransport { + addEventListener(event: EventType, listener: StrictEventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void; + dispatchEvent(event: WebSocketTransportEventMap[EventType]): boolean; + /** + * Send the data from the server to this client. + */ + send(data: WebSocketData): void; + /** + * Close the client connection. + */ + close(code?: number, reason?: string): void; +} + +type WebSocketEventListener = (this: WebSocket, event: EventType) => void; +declare const kPassthroughPromise: unique symbol; +declare const kOnSend: unique symbol; +declare const kClose: unique symbol; +declare class WebSocketOverride extends EventTarget implements WebSocket { + static readonly CONNECTING = 0; + static readonly OPEN = 1; + static readonly CLOSING = 2; + static readonly CLOSED = 3; + readonly CONNECTING = 0; + readonly OPEN = 1; + readonly CLOSING = 2; + readonly CLOSED = 3; + url: string; + protocol: string; + extensions: string; + binaryType: BinaryType; + readyState: number; + bufferedAmount: number; + private _onopen; + private _onmessage; + private _onerror; + private _onclose; + private [kPassthroughPromise]; + private [kOnSend]?; + constructor(url: string | URL, protocols?: string | Array); + set onopen(listener: WebSocketEventListener | null); + get onopen(): WebSocketEventListener | null; + set onmessage(listener: WebSocketEventListener> | null); + get onmessage(): WebSocketEventListener> | null; + set onerror(listener: WebSocketEventListener | null); + get onerror(): WebSocketEventListener | null; + set onclose(listener: WebSocketEventListener | null); + get onclose(): WebSocketEventListener | null; + /** + * @see https://websockets.spec.whatwg.org/#ref-for-dom-websocket-send%E2%91%A0 + */ + send(data: WebSocketData): void; + close(code?: number, reason?: string): void; + private [kClose]; + addEventListener(type: K, listener: (this: WebSocket, event: WebSocketEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, callback: EventListenerOrEventListenerObject | null, options?: boolean | EventListenerOptions): void; +} + +declare const kEmitter$1: unique symbol; +interface WebSocketClientEventMap { + message: MessageEvent; + close: CloseEvent; +} +interface WebSocketClientConnectionProtocol { + id: string; + url: URL; + send(data: WebSocketData): void; + close(code?: number, reason?: string): void; +} +/** + * The WebSocket client instance represents an incoming + * client connection. The user can control the connection, + * send and receive events. + */ +declare class WebSocketClientConnection implements WebSocketClientConnectionProtocol { + readonly socket: WebSocket; + private readonly transport; + readonly id: string; + readonly url: URL; + private [kEmitter$1]; + constructor(socket: WebSocket, transport: WebSocketTransport); + /** + * Listen for the outgoing events from the connected WebSocket client. + */ + addEventListener(type: EventType, listener: WebSocketEventListener, options?: AddEventListenerOptions | boolean): void; + /** + * Removes the listener for the given event. + */ + removeEventListener(event: EventType, listener: WebSocketEventListener, options?: EventListenerOptions | boolean): void; + /** + * Send data to the connected client. + */ + send(data: WebSocketData): void; + /** + * Close the WebSocket connection. + * @param {number} code A status code (see https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1). + * @param {string} reason A custom connection close reason. + */ + close(code?: number, reason?: string): void; +} + +/** + * Abstraction over the given mock `WebSocket` instance that allows + * for controlling that instance (e.g. sending and receiving messages). + */ +declare class WebSocketClassTransport extends EventTarget implements WebSocketTransport { + protected readonly socket: WebSocketOverride; + constructor(socket: WebSocketOverride); + addEventListener(type: EventType, callback: StrictEventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void; + dispatchEvent(event: WebSocketTransportEventMap[EventType]): boolean; + send(data: WebSocketData): void; + close(code: number, reason?: string): void; +} + +declare const kEmitter: unique symbol; +declare const kSend: unique symbol; +interface WebSocketServerEventMap { + open: Event; + message: MessageEvent; + error: Event; + close: CloseEvent; +} +/** + * The WebSocket server instance represents the actual production + * WebSocket server connection. It's idle by default but you can + * establish it by calling `server.connect()`. + */ +declare class WebSocketServerConnection { + private readonly client; + private readonly transport; + private readonly createConnection; + /** + * A WebSocket instance connected to the original server. + */ + private realWebSocket?; + private mockCloseController; + private realCloseController; + private [kEmitter]; + constructor(client: WebSocketOverride, transport: WebSocketClassTransport, createConnection: () => WebSocket); + /** + * The `WebSocket` instance connected to the original server. + * Accessing this before calling `server.connect()` will throw. + */ + get socket(): WebSocket; + /** + * Open connection to the original WebSocket server. + */ + connect(): void; + /** + * Listen for the incoming events from the original WebSocket server. + */ + addEventListener(event: EventType, listener: WebSocketEventListener, options?: AddEventListenerOptions | boolean): void; + /** + * Remove the listener for the given event. + */ + removeEventListener(event: EventType, listener: WebSocketEventListener, options?: EventListenerOptions | boolean): void; + /** + * Send data to the original WebSocket server. + * @example + * server.send('hello') + * server.send(new Blob(['hello'])) + * server.send(new TextEncoder().encode('hello')) + */ + send(data: WebSocketData): void; + private [kSend]; + /** + * Close the actual server connection. + */ + close(): void; + private handleIncomingMessage; + private handleMockClose; + private handleRealClose; +} + +type WebSocketEventMap$1 = { + connection: [args: WebSocketConnectionData]; +}; +type WebSocketConnectionData = { + /** + * The incoming WebSocket client connection. + */ + client: WebSocketClientConnection; + /** + * The original WebSocket server connection. + */ + server: WebSocketServerConnection; + /** + * The connection information. + */ + info: { + /** + * The protocols supported by the WebSocket client. + */ + protocols: string | Array | undefined; + }; +}; +/** + * Intercept the outgoing WebSocket connections created using + * the global `WebSocket` class. + */ +declare class WebSocketInterceptor extends Interceptor { + static symbol: symbol; + constructor(); + protected checkEnvironment(): boolean; + protected setup(): void; +} + +export { WebSocketClientConnection, WebSocketClientConnectionProtocol, WebSocketConnectionData, WebSocketData, WebSocketEventMap$1 as WebSocketEventMap, WebSocketInterceptor, WebSocketServerConnection, WebSocketTransport }; diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js new file mode 100644 index 0000000000..b0462ac126 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js @@ -0,0 +1,710 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkPFGO5BSMjs = require('../../chunk-PFGO5BSM.js'); + + + +var _chunkTIPR373Rjs = require('../../chunk-TIPR373R.js'); + +// src/interceptors/WebSocket/utils/bindEvent.ts +function bindEvent(target, event) { + Object.defineProperties(event, { + target: { + value: target, + enumerable: true, + writable: true + }, + currentTarget: { + value: target, + enumerable: true, + writable: true + } + }); + return event; +} + +// src/interceptors/WebSocket/utils/events.ts +var kCancelable = Symbol("kCancelable"); +var kDefaultPrevented = Symbol("kDefaultPrevented"); +var CancelableMessageEvent = class extends MessageEvent { + constructor(type, init) { + super(type, init); + this[kCancelable] = !!init.cancelable; + this[kDefaultPrevented] = false; + } + get cancelable() { + return this[kCancelable]; + } + set cancelable(nextCancelable) { + this[kCancelable] = nextCancelable; + } + get defaultPrevented() { + return this[kDefaultPrevented]; + } + set defaultPrevented(nextDefaultPrevented) { + this[kDefaultPrevented] = nextDefaultPrevented; + } + preventDefault() { + if (this.cancelable && !this[kDefaultPrevented]) { + this[kDefaultPrevented] = true; + } + } +}; +kCancelable, kDefaultPrevented; +var CloseEvent = class extends Event { + constructor(type, init = {}) { + super(type, init); + this.code = init.code === void 0 ? 0 : init.code; + this.reason = init.reason === void 0 ? "" : init.reason; + this.wasClean = init.wasClean === void 0 ? false : init.wasClean; + } +}; +var CancelableCloseEvent = class extends CloseEvent { + constructor(type, init = {}) { + super(type, init); + this[kCancelable] = !!init.cancelable; + this[kDefaultPrevented] = false; + } + get cancelable() { + return this[kCancelable]; + } + set cancelable(nextCancelable) { + this[kCancelable] = nextCancelable; + } + get defaultPrevented() { + return this[kDefaultPrevented]; + } + set defaultPrevented(nextDefaultPrevented) { + this[kDefaultPrevented] = nextDefaultPrevented; + } + preventDefault() { + if (this.cancelable && !this[kDefaultPrevented]) { + this[kDefaultPrevented] = true; + } + } +}; +kCancelable, kDefaultPrevented; + +// src/interceptors/WebSocket/WebSocketClientConnection.ts +var kEmitter = Symbol("kEmitter"); +var kBoundListener = Symbol("kBoundListener"); +var WebSocketClientConnection = class { + constructor(socket, transport) { + this.socket = socket; + this.transport = transport; + this.id = _chunkTIPR373Rjs.createRequestId.call(void 0, ); + this.url = new URL(socket.url); + this[kEmitter] = new EventTarget(); + this.transport.addEventListener("outgoing", (event) => { + const message = bindEvent( + this.socket, + new CancelableMessageEvent("message", { + data: event.data, + origin: event.origin, + cancelable: true + }) + ); + this[kEmitter].dispatchEvent(message); + if (message.defaultPrevented) { + event.preventDefault(); + } + }); + this.transport.addEventListener("close", (event) => { + this[kEmitter].dispatchEvent( + bindEvent(this.socket, new CloseEvent("close", event)) + ); + }); + } + /** + * Listen for the outgoing events from the connected WebSocket client. + */ + addEventListener(type, listener, options) { + if (!Reflect.has(listener, kBoundListener)) { + const boundListener = listener.bind(this.socket); + Object.defineProperty(listener, kBoundListener, { + value: boundListener, + enumerable: false, + configurable: false + }); + } + this[kEmitter].addEventListener( + type, + Reflect.get(listener, kBoundListener), + options + ); + } + /** + * Removes the listener for the given event. + */ + removeEventListener(event, listener, options) { + this[kEmitter].removeEventListener( + event, + Reflect.get(listener, kBoundListener), + options + ); + } + /** + * Send data to the connected client. + */ + send(data) { + this.transport.send(data); + } + /** + * Close the WebSocket connection. + * @param {number} code A status code (see https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1). + * @param {string} reason A custom connection close reason. + */ + close(code, reason) { + this.transport.close(code, reason); + } +}; +kEmitter; + +// src/interceptors/WebSocket/WebSocketServerConnection.ts +var _outvariant = require('outvariant'); + +// src/interceptors/WebSocket/WebSocketOverride.ts + +var _deferredpromise = require('@open-draft/deferred-promise'); +var WEBSOCKET_CLOSE_CODE_RANGE_ERROR = "InvalidAccessError: close code out of user configurable range"; +var kPassthroughPromise = Symbol("kPassthroughPromise"); +var kOnSend = Symbol("kOnSend"); +var kClose = Symbol("kClose"); +var WebSocketOverride = class extends EventTarget { + constructor(url, protocols) { + super(); + this.CONNECTING = 0; + this.OPEN = 1; + this.CLOSING = 2; + this.CLOSED = 3; + this._onopen = null; + this._onmessage = null; + this._onerror = null; + this._onclose = null; + this.url = url.toString(); + this.protocol = ""; + this.extensions = ""; + this.binaryType = "blob"; + this.readyState = this.CONNECTING; + this.bufferedAmount = 0; + this[kPassthroughPromise] = new (0, _deferredpromise.DeferredPromise)(); + queueMicrotask(async () => { + if (await this[kPassthroughPromise]) { + return; + } + this.protocol = typeof protocols === "string" ? protocols : Array.isArray(protocols) && protocols.length > 0 ? protocols[0] : ""; + if (this.readyState === this.CONNECTING) { + this.readyState = this.OPEN; + this.dispatchEvent(bindEvent(this, new Event("open"))); + } + }); + } + set onopen(listener) { + this.removeEventListener("open", this._onopen); + this._onopen = listener; + if (listener !== null) { + this.addEventListener("open", listener); + } + } + get onopen() { + return this._onopen; + } + set onmessage(listener) { + this.removeEventListener( + "message", + this._onmessage + ); + this._onmessage = listener; + if (listener !== null) { + this.addEventListener("message", listener); + } + } + get onmessage() { + return this._onmessage; + } + set onerror(listener) { + this.removeEventListener("error", this._onerror); + this._onerror = listener; + if (listener !== null) { + this.addEventListener("error", listener); + } + } + get onerror() { + return this._onerror; + } + set onclose(listener) { + this.removeEventListener("close", this._onclose); + this._onclose = listener; + if (listener !== null) { + this.addEventListener("close", listener); + } + } + get onclose() { + return this._onclose; + } + /** + * @see https://websockets.spec.whatwg.org/#ref-for-dom-websocket-send%E2%91%A0 + */ + send(data) { + if (this.readyState === this.CONNECTING) { + this.close(); + throw new DOMException("InvalidStateError"); + } + if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) { + return; + } + this.bufferedAmount += getDataSize(data); + queueMicrotask(() => { + var _a; + this.bufferedAmount = 0; + (_a = this[kOnSend]) == null ? void 0 : _a.call(this, data); + }); + } + close(code = 1e3, reason) { + _outvariant.invariant.call(void 0, code, WEBSOCKET_CLOSE_CODE_RANGE_ERROR); + _outvariant.invariant.call(void 0, + code === 1e3 || code >= 3e3 && code <= 4999, + WEBSOCKET_CLOSE_CODE_RANGE_ERROR + ); + this[kClose](code, reason); + } + [(kPassthroughPromise, kOnSend, kClose)](code = 1e3, reason, wasClean = true) { + if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) { + return; + } + this.readyState = this.CLOSING; + queueMicrotask(() => { + this.readyState = this.CLOSED; + this.dispatchEvent( + bindEvent( + this, + new CloseEvent("close", { + code, + reason, + wasClean + }) + ) + ); + this._onopen = null; + this._onmessage = null; + this._onerror = null; + this._onclose = null; + }); + } + addEventListener(type, listener, options) { + return super.addEventListener( + type, + listener, + options + ); + } + removeEventListener(type, callback, options) { + return super.removeEventListener(type, callback, options); + } +}; +WebSocketOverride.CONNECTING = 0; +WebSocketOverride.OPEN = 1; +WebSocketOverride.CLOSING = 2; +WebSocketOverride.CLOSED = 3; +function getDataSize(data) { + if (typeof data === "string") { + return data.length; + } + if (data instanceof Blob) { + return data.size; + } + return data.byteLength; +} + +// src/interceptors/WebSocket/WebSocketServerConnection.ts +var kEmitter2 = Symbol("kEmitter"); +var kBoundListener2 = Symbol("kBoundListener"); +var kSend = Symbol("kSend"); +var WebSocketServerConnection = class { + constructor(client, transport, createConnection) { + this.client = client; + this.transport = transport; + this.createConnection = createConnection; + this[kEmitter2] = new EventTarget(); + this.mockCloseController = new AbortController(); + this.realCloseController = new AbortController(); + this.transport.addEventListener("outgoing", (event) => { + if (typeof this.realWebSocket === "undefined") { + return; + } + queueMicrotask(() => { + if (!event.defaultPrevented) { + this[kSend](event.data); + } + }); + }); + this.transport.addEventListener( + "incoming", + this.handleIncomingMessage.bind(this) + ); + } + /** + * The `WebSocket` instance connected to the original server. + * Accessing this before calling `server.connect()` will throw. + */ + get socket() { + _outvariant.invariant.call(void 0, + this.realWebSocket, + 'Cannot access "socket" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?' + ); + return this.realWebSocket; + } + /** + * Open connection to the original WebSocket server. + */ + connect() { + _outvariant.invariant.call(void 0, + !this.realWebSocket || this.realWebSocket.readyState !== WebSocket.OPEN, + 'Failed to call "connect()" on the original WebSocket instance: the connection already open' + ); + const realWebSocket = this.createConnection(); + realWebSocket.binaryType = this.client.binaryType; + realWebSocket.addEventListener( + "open", + (event) => { + this[kEmitter2].dispatchEvent( + bindEvent(this.realWebSocket, new Event("open", event)) + ); + }, + { once: true } + ); + realWebSocket.addEventListener("message", (event) => { + this.transport.dispatchEvent( + bindEvent( + this.realWebSocket, + new MessageEvent("incoming", { + data: event.data, + origin: event.origin + }) + ) + ); + }); + this.client.addEventListener( + "close", + (event) => { + this.handleMockClose(event); + }, + { + signal: this.mockCloseController.signal + } + ); + realWebSocket.addEventListener( + "close", + (event) => { + this.handleRealClose(event); + }, + { + signal: this.realCloseController.signal + } + ); + realWebSocket.addEventListener("error", () => { + const errorEvent = bindEvent( + realWebSocket, + new Event("error", { cancelable: true }) + ); + this[kEmitter2].dispatchEvent(errorEvent); + if (!errorEvent.defaultPrevented) { + this.client.dispatchEvent(bindEvent(this.client, new Event("error"))); + } + }); + this.realWebSocket = realWebSocket; + } + /** + * Listen for the incoming events from the original WebSocket server. + */ + addEventListener(event, listener, options) { + if (!Reflect.has(listener, kBoundListener2)) { + const boundListener = listener.bind(this.client); + Object.defineProperty(listener, kBoundListener2, { + value: boundListener, + enumerable: false + }); + } + this[kEmitter2].addEventListener( + event, + Reflect.get(listener, kBoundListener2), + options + ); + } + /** + * Remove the listener for the given event. + */ + removeEventListener(event, listener, options) { + this[kEmitter2].removeEventListener( + event, + Reflect.get(listener, kBoundListener2), + options + ); + } + /** + * Send data to the original WebSocket server. + * @example + * server.send('hello') + * server.send(new Blob(['hello'])) + * server.send(new TextEncoder().encode('hello')) + */ + send(data) { + this[kSend](data); + } + [(kEmitter2, kSend)](data) { + const { realWebSocket } = this; + _outvariant.invariant.call(void 0, + realWebSocket, + 'Failed to call "server.send()" for "%s": the connection is not open. Did you forget to call "server.connect()"?', + this.client.url + ); + if (realWebSocket.readyState === WebSocket.CLOSING || realWebSocket.readyState === WebSocket.CLOSED) { + return; + } + if (realWebSocket.readyState === WebSocket.CONNECTING) { + realWebSocket.addEventListener( + "open", + () => { + realWebSocket.send(data); + }, + { once: true } + ); + return; + } + realWebSocket.send(data); + } + /** + * Close the actual server connection. + */ + close() { + const { realWebSocket } = this; + _outvariant.invariant.call(void 0, + realWebSocket, + 'Failed to close server connection for "%s": the connection is not open. Did you forget to call "server.connect()"?', + this.client.url + ); + this.realCloseController.abort(); + if (realWebSocket.readyState === WebSocket.CLOSING || realWebSocket.readyState === WebSocket.CLOSED) { + return; + } + realWebSocket.close(); + queueMicrotask(() => { + this[kEmitter2].dispatchEvent( + bindEvent( + this.realWebSocket, + new CancelableCloseEvent("close", { + /** + * @note `server.close()` in the interceptor + * always results in clean closures. + */ + code: 1e3, + cancelable: true + }) + ) + ); + }); + } + handleIncomingMessage(event) { + const messageEvent = bindEvent( + event.target, + new CancelableMessageEvent("message", { + data: event.data, + origin: event.origin, + cancelable: true + }) + ); + this[kEmitter2].dispatchEvent(messageEvent); + if (!messageEvent.defaultPrevented) { + this.client.dispatchEvent( + bindEvent( + /** + * @note Bind the forwarded original server events + * to the mock WebSocket instance so it would + * dispatch them straight away. + */ + this.client, + // Clone the message event again to prevent + // the "already being dispatched" exception. + new MessageEvent("message", { + data: event.data, + origin: event.origin + }) + ) + ); + } + } + handleMockClose(_event) { + if (this.realWebSocket) { + this.realWebSocket.close(); + } + } + handleRealClose(event) { + this.mockCloseController.abort(); + const closeEvent = bindEvent( + this.realWebSocket, + new CancelableCloseEvent("close", { + code: event.code, + reason: event.reason, + wasClean: event.wasClean, + cancelable: true + }) + ); + this[kEmitter2].dispatchEvent(closeEvent); + if (!closeEvent.defaultPrevented) { + this.client[kClose](event.code, event.reason); + } + } +}; + +// src/interceptors/WebSocket/WebSocketClassTransport.ts +var WebSocketClassTransport = class extends EventTarget { + constructor(socket) { + super(); + this.socket = socket; + this.socket.addEventListener("close", (event) => { + this.dispatchEvent(bindEvent(this.socket, new CloseEvent("close", event))); + }); + this.socket[kOnSend] = (data) => { + this.dispatchEvent( + bindEvent( + this.socket, + // Dispatch this as cancelable because "client" connection + // re-creates this message event (cannot dispatch the same event). + new CancelableMessageEvent("outgoing", { + data, + origin: this.socket.url, + cancelable: true + }) + ) + ); + }; + } + addEventListener(type, callback, options) { + return super.addEventListener(type, callback, options); + } + dispatchEvent(event) { + return super.dispatchEvent(event); + } + send(data) { + queueMicrotask(() => { + if (this.socket.readyState === this.socket.CLOSING || this.socket.readyState === this.socket.CLOSED) { + return; + } + const dispatchEvent = () => { + this.socket.dispatchEvent( + bindEvent( + /** + * @note Setting this event's "target" to the + * WebSocket override instance is important. + * This way it can tell apart original incoming events + * (must be forwarded to the transport) from the + * mocked message events like the one below + * (must be dispatched on the client instance). + */ + this.socket, + new MessageEvent("message", { + data, + origin: this.socket.url + }) + ) + ); + }; + if (this.socket.readyState === this.socket.CONNECTING) { + this.socket.addEventListener( + "open", + () => { + dispatchEvent(); + }, + { once: true } + ); + } else { + dispatchEvent(); + } + }); + } + close(code, reason) { + this.socket[kClose](code, reason); + } +}; + +// src/interceptors/WebSocket/index.ts +var _WebSocketInterceptor = class extends _chunkTIPR373Rjs.Interceptor { + constructor() { + super(_WebSocketInterceptor.symbol); + } + checkEnvironment() { + return _chunkPFGO5BSMjs.hasConfigurableGlobal.call(void 0, "WebSocket"); + } + setup() { + const originalWebSocketDescriptor = Object.getOwnPropertyDescriptor( + globalThis, + "WebSocket" + ); + const WebSocketProxy = new Proxy(globalThis.WebSocket, { + construct: (target, args, newTarget) => { + const [url, protocols] = args; + const createConnection = () => { + return Reflect.construct(target, args, newTarget); + }; + const socket = new WebSocketOverride(url, protocols); + const transport = new WebSocketClassTransport(socket); + queueMicrotask(() => { + try { + const server = new WebSocketServerConnection( + socket, + transport, + createConnection + ); + const hasConnectionListeners = this.emitter.emit("connection", { + client: new WebSocketClientConnection(socket, transport), + server, + info: { + protocols + } + }); + if (hasConnectionListeners) { + socket[kPassthroughPromise].resolve(false); + } else { + socket[kPassthroughPromise].resolve(true); + server.connect(); + server.addEventListener("open", () => { + socket.dispatchEvent(bindEvent(socket, new Event("open"))); + if (server["realWebSocket"]) { + socket.protocol = server["realWebSocket"].protocol; + } + }); + } + } catch (error) { + if (error instanceof Error) { + socket.dispatchEvent(new Event("error")); + if (socket.readyState !== WebSocket.CLOSING && socket.readyState !== WebSocket.CLOSED) { + socket[kClose](1011, error.message, false); + } + console.error(error); + } + } + }); + return socket; + } + }); + Object.defineProperty(globalThis, "WebSocket", { + value: WebSocketProxy, + configurable: true + }); + this.subscriptions.push(() => { + Object.defineProperty( + globalThis, + "WebSocket", + originalWebSocketDescriptor + ); + }); + } +}; +var WebSocketInterceptor = _WebSocketInterceptor; +WebSocketInterceptor.symbol = Symbol("websocket"); + + + + +exports.WebSocketClientConnection = WebSocketClientConnection; exports.WebSocketInterceptor = WebSocketInterceptor; exports.WebSocketServerConnection = WebSocketServerConnection; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map new file mode 100644 index 0000000000..755f2f1b09 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../../src/interceptors/WebSocket/utils/bindEvent.ts","../../../../src/interceptors/WebSocket/utils/events.ts","../../../../src/interceptors/WebSocket/WebSocketClientConnection.ts","../../../../src/interceptors/WebSocket/WebSocketServerConnection.ts","../../../../src/interceptors/WebSocket/WebSocketOverride.ts","../../../../src/interceptors/WebSocket/WebSocketClassTransport.ts","../../../../src/interceptors/WebSocket/index.ts"],"names":["invariant","kEmitter","kBoundListener"],"mappings":";;;;;;;;;AAEO,SAAS,UACd,QACA,OACuB;AACvB,SAAO,iBAAiB,OAAO;AAAA,IAC7B,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,UAAU;AAAA,IACZ;AAAA,IACA,eAAe;AAAA,MACb,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,UAAU;AAAA,IACZ;AAAA,EACF,CAAC;AAED,SAAO;AACT;;;ACpBA,IAAM,cAAc,OAAO,aAAa;AACxC,IAAM,oBAAoB,OAAO,mBAAmB;AAS7C,IAAM,yBAAN,cAA8C,aAAgB;AAAA,EAInE,YAAY,MAAc,MAA2B;AACnD,UAAM,MAAM,IAAI;AAChB,SAAK,WAAW,IAAI,CAAC,CAAC,KAAK;AAC3B,SAAK,iBAAiB,IAAI;AAAA,EAC5B;AAAA,EAEA,IAAI,aAAa;AACf,WAAO,KAAK,WAAW;AAAA,EACzB;AAAA,EAEA,IAAI,WAAW,gBAAgB;AAC7B,SAAK,WAAW,IAAI;AAAA,EACtB;AAAA,EAEA,IAAI,mBAAmB;AACrB,WAAO,KAAK,iBAAiB;AAAA,EAC/B;AA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yBAAyB,KAAK,QAAQ,KAAK,cAAc;AAAA,cAC7D,QAAQ,IAAI,0BAA0B,QAAQ,SAAS;AAAA,cACvD;AAAA,cACA,MAAM;AAAA,gBACJ;AAAA,cACF;AAAA,YACF,CAAC;AAED,gBAAI,wBAAwB;AAC1B,qBAAO,mBAAmB,EAAE,QAAQ,KAAK;AAAA,YAC3C,OAAO;AACL,qBAAO,mBAAmB,EAAE,QAAQ,IAAI;AAExC,qBAAO,QAAQ;AAIf,qBAAO,iBAAiB,QAAQ,MAAM;AACpC,uBAAO,cAAc,UAAU,QAAQ,IAAI,MAAM,MAAM,CAAC,CAAC;AAIzD,oBAAI,OAAO,eAAe,GAAG;AAC3B,yBAAO,WAAW,OAAO,eAAe,EAAE;AAAA,gBAC5C;AAAA,cACF,CAAC;AAAA,YACH;AAAA,UACF,SAAS,OAAP;AAOA,gBAAI,iBAAiB,OAAO;AAC1B,qBAAO,cAAc,IAAI,MAAM,OAAO,CAAC;AAIvC,kBACE,OAAO,eAAe,UAAU,WAChC,OAAO,eAAe,UAAU,QAChC;AACA,uBAAO,MAAM,EAAE,MAAM,MAAM,SAAS,KAAK;AAAA,cAC3C;AAEA,sBAAQ,MAAM,KAAK;AAAA,YACrB;AAAA,UACF;AAAA,QACF,CAAC;AAED,eAAO;AAAA,MACT;AAAA,IACF,CAAC;AAED,WAAO,eAAe,YAAY,aAAa;AAAA,MAC7C,OAAO;AAAA,MACP,cAAc;AAAA,IAChB,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACF;AArHO,IAAM,uBAAN;AAAM,qBACJ,SAAS,OAAO,WAAW","sourcesContent":["type EventWithTarget = E & { target: T }\n\nexport function bindEvent(\n target: T,\n event: E\n): EventWithTarget {\n Object.defineProperties(event, {\n target: {\n value: target,\n enumerable: true,\n writable: true,\n },\n currentTarget: {\n value: target,\n enumerable: true,\n writable: true,\n },\n })\n\n return event as EventWithTarget\n}\n","const kCancelable = Symbol('kCancelable')\nconst kDefaultPrevented = Symbol('kDefaultPrevented')\n\n/**\n * A `MessageEvent` superset that supports event cancellation\n * in Node.js. It's rather non-intrusive so it can be safely\n * used in the browser as well.\n *\n * @see https://github.com/nodejs/node/issues/51767\n */\nexport class CancelableMessageEvent extends MessageEvent {\n [kCancelable]: boolean;\n [kDefaultPrevented]: boolean\n\n constructor(type: string, init: MessageEventInit) {\n super(type, init)\n this[kCancelable] = !!init.cancelable\n this[kDefaultPrevented] = false\n }\n\n get cancelable() {\n return this[kCancelable]\n }\n\n set cancelable(nextCancelable) {\n this[kCancelable] = nextCancelable\n }\n\n get defaultPrevented() {\n return this[kDefaultPrevented]\n }\n\n set defaultPrevented(nextDefaultPrevented) {\n this[kDefaultPrevented] = nextDefaultPrevented\n }\n\n public preventDefault(): void {\n if (this.cancelable && !this[kDefaultPrevented]) {\n this[kDefaultPrevented] = true\n }\n }\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number\n reason?: string\n wasClean?: boolean\n}\n\nexport class CloseEvent extends Event {\n public code: number\n public reason: string\n public wasClean: boolean\n\n constructor(type: string, init: CloseEventInit = {}) {\n super(type, init)\n this.code = init.code === undefined ? 0 : init.code\n this.reason = init.reason === undefined ? '' : init.reason\n this.wasClean = init.wasClean === undefined ? false : init.wasClean\n }\n}\n\nexport class CancelableCloseEvent extends CloseEvent {\n [kCancelable]: boolean;\n [kDefaultPrevented]: boolean\n\n constructor(type: string, init: CloseEventInit = {}) {\n super(type, init)\n this[kCancelable] = !!init.cancelable\n this[kDefaultPrevented] = false\n }\n\n get cancelable() {\n return this[kCancelable]\n }\n\n set cancelable(nextCancelable) {\n this[kCancelable] = nextCancelable\n }\n\n get defaultPrevented() {\n return this[kDefaultPrevented]\n }\n\n set defaultPrevented(nextDefaultPrevented) {\n this[kDefaultPrevented] = nextDefaultPrevented\n }\n\n public preventDefault(): void {\n if (this.cancelable && !this[kDefaultPrevented]) {\n this[kDefaultPrevented] = true\n }\n }\n}\n","import type { WebSocketData, WebSocketTransport } from './WebSocketTransport'\nimport type { WebSocketEventListener } from './WebSocketOverride'\nimport { bindEvent } from './utils/bindEvent'\nimport { CancelableMessageEvent, CloseEvent } from './utils/events'\nimport { createRequestId } from '../../createRequestId'\n\nconst kEmitter = Symbol('kEmitter')\nconst kBoundListener = Symbol('kBoundListener')\n\ninterface WebSocketClientEventMap {\n message: MessageEvent\n close: CloseEvent\n}\n\nexport interface WebSocketClientConnectionProtocol {\n id: string\n url: URL\n send(data: WebSocketData): void\n close(code?: number, reason?: string): void\n}\n\n/**\n * The WebSocket client instance represents an incoming\n * client connection. The user can control the connection,\n * send and receive events.\n */\nexport class WebSocketClientConnection\n implements WebSocketClientConnectionProtocol\n{\n public readonly id: string\n public readonly url: URL\n\n private [kEmitter]: EventTarget\n\n constructor(\n public readonly socket: WebSocket,\n private readonly transport: WebSocketTransport\n ) {\n this.id = createRequestId()\n this.url = new URL(socket.url)\n this[kEmitter] = new EventTarget()\n\n // Emit outgoing client data (\"ws.send()\") as \"message\"\n // events on the \"client\" connection.\n this.transport.addEventListener('outgoing', (event) => {\n const message = bindEvent(\n this.socket,\n new CancelableMessageEvent('message', {\n data: event.data,\n origin: event.origin,\n cancelable: true,\n })\n )\n\n this[kEmitter].dispatchEvent(message)\n\n // This is a bit silly but forward the cancellation state\n // of the \"client\" message event to the \"outgoing\" transport event.\n // This way, other agens (like \"server\" connection) can know\n // whether the client listener has pervented the default.\n if (message.defaultPrevented) {\n event.preventDefault()\n }\n })\n\n /**\n * Emit the \"close\" event on the \"client\" connection\n * whenever the underlying transport is closed.\n * @note \"client.close()\" does NOT dispatch the \"close\"\n * event on the WebSocket because it uses non-configurable\n * close status code. Thus, we listen to the transport\n * instead of the WebSocket's \"close\" event.\n */\n this.transport.addEventListener('close', (event) => {\n this[kEmitter].dispatchEvent(\n bindEvent(this.socket, new CloseEvent('close', event))\n )\n })\n }\n\n /**\n * Listen for the outgoing events from the connected WebSocket client.\n */\n public addEventListener(\n type: EventType,\n listener: WebSocketEventListener,\n options?: AddEventListenerOptions | boolean\n ): void {\n if (!Reflect.has(listener, kBoundListener)) {\n const boundListener = listener.bind(this.socket)\n\n // Store the bound listener on the original listener\n // so the exact bound function can be accessed in \"removeEventListener()\".\n Object.defineProperty(listener, kBoundListener, {\n value: boundListener,\n enumerable: false,\n configurable: false,\n })\n }\n\n this[kEmitter].addEventListener(\n type,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Removes the listener for the given event.\n */\n public removeEventListener(\n event: EventType,\n listener: WebSocketEventListener,\n options?: EventListenerOptions | boolean\n ): void {\n this[kEmitter].removeEventListener(\n event,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Send data to the connected client.\n */\n public send(data: WebSocketData): void {\n this.transport.send(data)\n }\n\n /**\n * Close the WebSocket connection.\n * @param {number} code A status code (see https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1).\n * @param {string} reason A custom connection close reason.\n */\n public close(code?: number, reason?: string): void {\n this.transport.close(code, reason)\n }\n}\n","import { invariant } from 'outvariant'\nimport {\n kClose,\n WebSocketEventListener,\n WebSocketOverride,\n} from './WebSocketOverride'\nimport type { WebSocketData } from './WebSocketTransport'\nimport type { WebSocketClassTransport } from './WebSocketClassTransport'\nimport { bindEvent } from './utils/bindEvent'\nimport {\n CancelableMessageEvent,\n CancelableCloseEvent,\n CloseEvent,\n} from './utils/events'\n\nconst kEmitter = Symbol('kEmitter')\nconst kBoundListener = Symbol('kBoundListener')\nconst kSend = Symbol('kSend')\n\ninterface WebSocketServerEventMap {\n open: Event\n message: MessageEvent\n error: Event\n close: CloseEvent\n}\n\n/**\n * The WebSocket server instance represents the actual production\n * WebSocket server connection. It's idle by default but you can\n * establish it by calling `server.connect()`.\n */\nexport class WebSocketServerConnection {\n /**\n * A WebSocket instance connected to the original server.\n */\n private realWebSocket?: WebSocket\n private mockCloseController: AbortController\n private realCloseController: AbortController\n private [kEmitter]: EventTarget\n\n constructor(\n private readonly client: WebSocketOverride,\n private readonly transport: WebSocketClassTransport,\n private readonly createConnection: () => WebSocket\n ) {\n this[kEmitter] = new EventTarget()\n this.mockCloseController = new AbortController()\n this.realCloseController = new AbortController()\n\n // Automatically forward outgoing client events\n // to the actual server unless the outgoing message event\n // has been prevented. The \"outgoing\" transport event it\n // dispatched by the \"client\" connection.\n this.transport.addEventListener('outgoing', (event) => {\n // Ignore client messages if the server connection\n // hasn't been established yet. Nowhere to forward.\n if (typeof this.realWebSocket === 'undefined') {\n return\n }\n\n // Every outgoing client message can prevent this forwarding\n // by preventing the default of the outgoing message event.\n // This listener will be added before user-defined listeners,\n // so execute the logic on the next tick.\n queueMicrotask(() => {\n if (!event.defaultPrevented) {\n /**\n * @note Use the internal send mechanism so consumers can tell\n * apart direct user calls to `server.send()` and internal calls.\n * E.g. MSW has to ignore this internal call to log out messages correctly.\n */\n this[kSend](event.data)\n }\n })\n })\n\n this.transport.addEventListener(\n 'incoming',\n this.handleIncomingMessage.bind(this)\n )\n }\n\n /**\n * The `WebSocket` instance connected to the original server.\n * Accessing this before calling `server.connect()` will throw.\n */\n public get socket(): WebSocket {\n invariant(\n this.realWebSocket,\n 'Cannot access \"socket\" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?'\n )\n\n return this.realWebSocket\n }\n\n /**\n * Open connection to the original WebSocket server.\n */\n public connect(): void {\n invariant(\n !this.realWebSocket || this.realWebSocket.readyState !== WebSocket.OPEN,\n 'Failed to call \"connect()\" on the original WebSocket instance: the connection already open'\n )\n\n const realWebSocket = this.createConnection()\n\n // Inherit the binary type from the mock WebSocket client.\n realWebSocket.binaryType = this.client.binaryType\n\n // Allow the interceptor to listen to when the server connection\n // has been established. This isn't necessary to operate with the connection\n // but may be beneficial in some cases (like conditionally adding logging).\n realWebSocket.addEventListener(\n 'open',\n (event) => {\n this[kEmitter].dispatchEvent(\n bindEvent(this.realWebSocket!, new Event('open', event))\n )\n },\n { once: true }\n )\n\n realWebSocket.addEventListener('message', (event) => {\n // Dispatch the \"incoming\" transport event instead of\n // invoking the internal handler directly. This way,\n // anyone can listen to the \"incoming\" event but this\n // class is the one resulting in it.\n this.transport.dispatchEvent(\n bindEvent(\n this.realWebSocket!,\n new MessageEvent('incoming', {\n data: event.data,\n origin: event.origin,\n })\n )\n )\n })\n\n // Close the original connection when the mock client closes.\n // E.g. \"client.close()\" was called. This is never forwarded anywhere.\n this.client.addEventListener(\n 'close',\n (event) => {\n this.handleMockClose(event)\n },\n {\n signal: this.mockCloseController.signal,\n }\n )\n\n // Forward the \"close\" event to let the interceptor handle\n // closures initiated by the original server.\n realWebSocket.addEventListener(\n 'close',\n (event) => {\n this.handleRealClose(event)\n },\n {\n signal: this.realCloseController.signal,\n }\n )\n\n realWebSocket.addEventListener('error', () => {\n const errorEvent = bindEvent(\n realWebSocket,\n new Event('error', { cancelable: true })\n )\n\n // Emit the \"error\" event on the `server` connection\n // to let the interceptor react to original server errors.\n this[kEmitter].dispatchEvent(errorEvent)\n\n // If the error event from the original server hasn't been prevented,\n // forward it to the underlying client.\n if (!errorEvent.defaultPrevented) {\n this.client.dispatchEvent(bindEvent(this.client, new Event('error')))\n }\n })\n\n this.realWebSocket = realWebSocket\n }\n\n /**\n * Listen for the incoming events from the original WebSocket server.\n */\n public addEventListener(\n event: EventType,\n listener: WebSocketEventListener,\n options?: AddEventListenerOptions | boolean\n ): void {\n if (!Reflect.has(listener, kBoundListener)) {\n const boundListener = listener.bind(this.client)\n\n // Store the bound listener on the original listener\n // so the exact bound function can be accessed in \"removeEventListener()\".\n Object.defineProperty(listener, kBoundListener, {\n value: boundListener,\n enumerable: false,\n })\n }\n\n this[kEmitter].addEventListener(\n event,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Remove the listener for the given event.\n */\n public removeEventListener(\n event: EventType,\n listener: WebSocketEventListener,\n options?: EventListenerOptions | boolean\n ): void {\n this[kEmitter].removeEventListener(\n event,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Send data to the original WebSocket server.\n * @example\n * server.send('hello')\n * server.send(new Blob(['hello']))\n * server.send(new TextEncoder().encode('hello'))\n */\n public send(data: WebSocketData): void {\n this[kSend](data)\n }\n\n private [kSend](data: WebSocketData): void {\n const { realWebSocket } = this\n\n invariant(\n realWebSocket,\n 'Failed to call \"server.send()\" for \"%s\": the connection is not open. Did you forget to call \"server.connect()\"?',\n this.client.url\n )\n\n // Silently ignore writes on the closed original WebSocket.\n if (\n realWebSocket.readyState === WebSocket.CLOSING ||\n realWebSocket.readyState === WebSocket.CLOSED\n ) {\n return\n }\n\n // Delegate the send to when the original connection is open.\n // Unlike the mock, connecting to the original server may take time\n // so we cannot call this on the next tick.\n if (realWebSocket.readyState === WebSocket.CONNECTING) {\n realWebSocket.addEventListener(\n 'open',\n () => {\n realWebSocket.send(data)\n },\n { once: true }\n )\n return\n }\n\n // Send the data to the original WebSocket server.\n realWebSocket.send(data)\n }\n\n /**\n * Close the actual server connection.\n */\n public close(): void {\n const { realWebSocket } = this\n\n invariant(\n realWebSocket,\n 'Failed to close server connection for \"%s\": the connection is not open. Did you forget to call \"server.connect()\"?',\n this.client.url\n )\n\n // Remove the \"close\" event listener from the server\n // so it doesn't close the underlying WebSocket client\n // when you call \"server.close()\". This also prevents the\n // `close` event on the `server` connection from being dispatched twice.\n this.realCloseController.abort()\n\n if (\n realWebSocket.readyState === WebSocket.CLOSING ||\n realWebSocket.readyState === WebSocket.CLOSED\n ) {\n return\n }\n\n // Close the actual client connection.\n realWebSocket.close()\n\n // Dispatch the \"close\" event on the `server` connection.\n queueMicrotask(() => {\n this[kEmitter].dispatchEvent(\n bindEvent(\n this.realWebSocket,\n new CancelableCloseEvent('close', {\n /**\n * @note `server.close()` in the interceptor\n * always results in clean closures.\n */\n code: 1000,\n cancelable: true,\n })\n )\n )\n })\n }\n\n private handleIncomingMessage(event: MessageEvent): void {\n // Clone the event to dispatch it on this class\n // once again and prevent the \"already being dispatched\"\n // exception. Clone it here so we can observe this event\n // being prevented in the \"server.on()\" listeners.\n const messageEvent = bindEvent(\n event.target,\n new CancelableMessageEvent('message', {\n data: event.data,\n origin: event.origin,\n cancelable: true,\n })\n )\n\n /**\n * @note Emit \"message\" event on the server connection\n * instance to let the interceptor know about these\n * incoming events from the original server. In that listener,\n * the interceptor can modify or skip the event forwarding\n * to the mock WebSocket instance.\n */\n this[kEmitter].dispatchEvent(messageEvent)\n\n /**\n * @note Forward the incoming server events to the client.\n * Preventing the default on the message event stops this.\n */\n if (!messageEvent.defaultPrevented) {\n this.client.dispatchEvent(\n bindEvent(\n /**\n * @note Bind the forwarded original server events\n * to the mock WebSocket instance so it would\n * dispatch them straight away.\n */\n this.client,\n // Clone the message event again to prevent\n // the \"already being dispatched\" exception.\n new MessageEvent('message', {\n data: event.data,\n origin: event.origin,\n })\n )\n )\n }\n }\n\n private handleMockClose(_event: Event): void {\n // Close the original connection if the mock client closes.\n if (this.realWebSocket) {\n this.realWebSocket.close()\n }\n }\n\n private handleRealClose(event: CloseEvent): void {\n // For closures originating from the original server,\n // remove the \"close\" listener from the mock client.\n // original close -> (?) client[kClose]() --X--> \"close\" (again).\n this.mockCloseController.abort()\n\n const closeEvent = bindEvent(\n this.realWebSocket,\n new CancelableCloseEvent('close', {\n code: event.code,\n reason: event.reason,\n wasClean: event.wasClean,\n cancelable: true,\n })\n )\n\n this[kEmitter].dispatchEvent(closeEvent)\n\n // If the close event from the server hasn't been prevented,\n // forward the closure to the mock client.\n if (!closeEvent.defaultPrevented) {\n // Close the intercepted client forcefully to\n // allow non-configurable status codes from the server.\n // If the socket has been closed by now, no harm calling\n // this again—it will have no effect.\n this.client[kClose](event.code, event.reason)\n }\n }\n}\n","import { invariant } from 'outvariant'\nimport type { WebSocketData } from './WebSocketTransport'\nimport { bindEvent } from './utils/bindEvent'\nimport { CloseEvent } from './utils/events'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\n\nexport type WebSocketEventListener<\n EventType extends WebSocketEventMap[keyof WebSocketEventMap] = Event\n> = (this: WebSocket, event: EventType) => void\n\nconst WEBSOCKET_CLOSE_CODE_RANGE_ERROR =\n 'InvalidAccessError: close code out of user configurable range'\n\nexport const kPassthroughPromise = Symbol('kPassthroughPromise')\nexport const kOnSend = Symbol('kOnSend')\nexport const kClose = Symbol('kClose')\n\nexport class WebSocketOverride extends EventTarget implements WebSocket {\n static readonly CONNECTING = 0\n static readonly OPEN = 1\n static readonly CLOSING = 2\n static readonly CLOSED = 3\n readonly CONNECTING = 0\n readonly OPEN = 1\n readonly CLOSING = 2\n readonly CLOSED = 3\n\n public url: string\n public protocol: string\n public extensions: string\n public binaryType: BinaryType\n public readyState: number\n public bufferedAmount: number\n\n private _onopen: WebSocketEventListener | null = null\n private _onmessage: WebSocketEventListener<\n MessageEvent\n > | null = null\n private _onerror: WebSocketEventListener | null = null\n private _onclose: WebSocketEventListener | null = null\n\n private [kPassthroughPromise]: DeferredPromise\n private [kOnSend]?: (data: WebSocketData) => void\n\n constructor(url: string | URL, protocols?: string | Array) {\n super()\n this.url = url.toString()\n this.protocol = ''\n this.extensions = ''\n this.binaryType = 'blob'\n this.readyState = this.CONNECTING\n this.bufferedAmount = 0\n\n this[kPassthroughPromise] = new DeferredPromise()\n\n queueMicrotask(async () => {\n if (await this[kPassthroughPromise]) {\n return\n }\n\n this.protocol =\n typeof protocols === 'string'\n ? protocols\n : Array.isArray(protocols) && protocols.length > 0\n ? protocols[0]\n : ''\n\n /**\n * @note Check that nothing has prevented this connection\n * (e.g. called `client.close()` in the connection listener).\n * If the connection has been prevented, never dispatch the open event,.\n */\n if (this.readyState === this.CONNECTING) {\n this.readyState = this.OPEN\n this.dispatchEvent(bindEvent(this, new Event('open')))\n }\n })\n }\n\n set onopen(listener: WebSocketEventListener | null) {\n this.removeEventListener('open', this._onopen)\n this._onopen = listener\n if (listener !== null) {\n this.addEventListener('open', listener)\n }\n }\n get onopen(): WebSocketEventListener | null {\n return this._onopen\n }\n\n set onmessage(\n listener: WebSocketEventListener> | null\n ) {\n this.removeEventListener(\n 'message',\n this._onmessage as WebSocketEventListener\n )\n this._onmessage = listener\n if (listener !== null) {\n this.addEventListener('message', listener)\n }\n }\n get onmessage(): WebSocketEventListener> | null {\n return this._onmessage\n }\n\n set onerror(listener: WebSocketEventListener | null) {\n this.removeEventListener('error', this._onerror)\n this._onerror = listener\n if (listener !== null) {\n this.addEventListener('error', listener)\n }\n }\n get onerror(): WebSocketEventListener | null {\n return this._onerror\n }\n\n set onclose(listener: WebSocketEventListener | null) {\n this.removeEventListener('close', this._onclose as WebSocketEventListener)\n this._onclose = listener\n if (listener !== null) {\n this.addEventListener('close', listener)\n }\n }\n get onclose(): WebSocketEventListener | null {\n return this._onclose\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#ref-for-dom-websocket-send%E2%91%A0\n */\n public send(data: WebSocketData): void {\n if (this.readyState === this.CONNECTING) {\n this.close()\n throw new DOMException('InvalidStateError')\n }\n\n // Sending when the socket is about to close\n // discards the sent data.\n if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {\n return\n }\n\n // Buffer the data to send in this even loop\n // but send it in the next.\n this.bufferedAmount += getDataSize(data)\n\n queueMicrotask(() => {\n // This is a bit optimistic but since no actual data transfer\n // is involved, all the data will be \"sent\" on the next tick.\n this.bufferedAmount = 0\n\n /**\n * @note Notify the parent about outgoing data.\n * This notifies the transport and the connection\n * listens to the outgoing data to emit the \"message\" event.\n */\n this[kOnSend]?.(data)\n })\n }\n\n public close(code: number = 1000, reason?: string): void {\n invariant(code, WEBSOCKET_CLOSE_CODE_RANGE_ERROR)\n invariant(\n code === 1000 || (code >= 3000 && code <= 4999),\n WEBSOCKET_CLOSE_CODE_RANGE_ERROR\n )\n\n this[kClose](code, reason)\n }\n\n private [kClose](\n code: number = 1000,\n reason?: string,\n wasClean = true\n ): void {\n /**\n * @note Move this check here so that even internall closures,\n * like those triggered by the `server` connection, are not\n * performed twice.\n */\n if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {\n return\n }\n\n this.readyState = this.CLOSING\n\n queueMicrotask(() => {\n this.readyState = this.CLOSED\n\n this.dispatchEvent(\n bindEvent(\n this,\n new CloseEvent('close', {\n code,\n reason,\n wasClean,\n })\n )\n )\n\n // Remove all event listeners once the socket is closed.\n this._onopen = null\n this._onmessage = null\n this._onerror = null\n this._onclose = null\n })\n }\n\n public addEventListener(\n type: K,\n listener: (this: WebSocket, event: WebSocketEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions\n ): void\n public addEventListener(\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions\n ): void\n public addEventListener(\n type: unknown,\n listener: unknown,\n options?: unknown\n ): void {\n return super.addEventListener(\n type as string,\n listener as EventListener,\n options as AddEventListenerOptions\n )\n }\n\n removeEventListener(\n type: K,\n callback: EventListenerOrEventListenerObject | null,\n options?: boolean | EventListenerOptions\n ): void {\n return super.removeEventListener(type, callback, options)\n }\n}\n\nfunction getDataSize(data: WebSocketData): number {\n if (typeof data === 'string') {\n return data.length\n }\n\n if (data instanceof Blob) {\n return data.size\n }\n\n return data.byteLength\n}\n","import { bindEvent } from './utils/bindEvent'\nimport {\n StrictEventListenerOrEventListenerObject,\n WebSocketData,\n WebSocketTransport,\n WebSocketTransportEventMap,\n} from './WebSocketTransport'\nimport { kOnSend, kClose, WebSocketOverride } from './WebSocketOverride'\nimport { CancelableMessageEvent, CloseEvent } from './utils/events'\n\n/**\n * Abstraction over the given mock `WebSocket` instance that allows\n * for controlling that instance (e.g. sending and receiving messages).\n */\nexport class WebSocketClassTransport\n extends EventTarget\n implements WebSocketTransport\n{\n constructor(protected readonly socket: WebSocketOverride) {\n super()\n\n // Emit the \"close\" event on the transport if the close\n // originates from the WebSocket client. E.g. the application\n // calls \"ws.close()\", not the interceptor.\n this.socket.addEventListener('close', (event) => {\n this.dispatchEvent(bindEvent(this.socket, new CloseEvent('close', event)))\n })\n\n /**\n * Emit the \"outgoing\" event on the transport\n * whenever the WebSocket client sends data (\"ws.send()\").\n */\n this.socket[kOnSend] = (data) => {\n this.dispatchEvent(\n bindEvent(\n this.socket,\n // Dispatch this as cancelable because \"client\" connection\n // re-creates this message event (cannot dispatch the same event).\n new CancelableMessageEvent('outgoing', {\n data,\n origin: this.socket.url,\n cancelable: true,\n })\n )\n )\n }\n }\n\n public addEventListener(\n type: EventType,\n callback: StrictEventListenerOrEventListenerObject<\n WebSocketTransportEventMap[EventType]\n > | null,\n options?: boolean | AddEventListenerOptions\n ): void {\n return super.addEventListener(type, callback as EventListener, options)\n }\n\n public dispatchEvent(\n event: WebSocketTransportEventMap[EventType]\n ): boolean {\n return super.dispatchEvent(event)\n }\n\n public send(data: WebSocketData): void {\n queueMicrotask(() => {\n if (\n this.socket.readyState === this.socket.CLOSING ||\n this.socket.readyState === this.socket.CLOSED\n ) {\n return\n }\n\n const dispatchEvent = () => {\n this.socket.dispatchEvent(\n bindEvent(\n /**\n * @note Setting this event's \"target\" to the\n * WebSocket override instance is important.\n * This way it can tell apart original incoming events\n * (must be forwarded to the transport) from the\n * mocked message events like the one below\n * (must be dispatched on the client instance).\n */\n this.socket,\n new MessageEvent('message', {\n data,\n origin: this.socket.url,\n })\n )\n )\n }\n\n if (this.socket.readyState === this.socket.CONNECTING) {\n this.socket.addEventListener(\n 'open',\n () => {\n dispatchEvent()\n },\n { once: true }\n )\n } else {\n dispatchEvent()\n }\n })\n }\n\n public close(code: number, reason?: string): void {\n /**\n * @note Call the internal close method directly\n * to allow closing the connection with the status codes\n * that are non-configurable by the user (> 1000 <= 1015).\n */\n this.socket[kClose](code, reason)\n }\n}\n","import { Interceptor } from '../../Interceptor'\nimport {\n type WebSocketClientConnectionProtocol,\n WebSocketClientConnection,\n} from './WebSocketClientConnection'\nimport { WebSocketServerConnection } from './WebSocketServerConnection'\nimport { WebSocketClassTransport } from './WebSocketClassTransport'\nimport {\n kClose,\n kPassthroughPromise,\n WebSocketOverride,\n} from './WebSocketOverride'\nimport { bindEvent } from './utils/bindEvent'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\n\nexport { type WebSocketData, WebSocketTransport } from './WebSocketTransport'\nexport {\n WebSocketClientConnection,\n WebSocketClientConnectionProtocol,\n WebSocketServerConnection,\n}\n\nexport type WebSocketEventMap = {\n connection: [args: WebSocketConnectionData]\n}\n\nexport type WebSocketConnectionData = {\n /**\n * The incoming WebSocket client connection.\n */\n client: WebSocketClientConnection\n\n /**\n * The original WebSocket server connection.\n */\n server: WebSocketServerConnection\n\n /**\n * The connection information.\n */\n info: {\n /**\n * The protocols supported by the WebSocket client.\n */\n protocols: string | Array | undefined\n }\n}\n\n/**\n * Intercept the outgoing WebSocket connections created using\n * the global `WebSocket` class.\n */\nexport class WebSocketInterceptor extends Interceptor {\n static symbol = Symbol('websocket')\n\n constructor() {\n super(WebSocketInterceptor.symbol)\n }\n\n protected checkEnvironment(): boolean {\n return hasConfigurableGlobal('WebSocket')\n }\n\n protected setup(): void {\n const originalWebSocketDescriptor = Object.getOwnPropertyDescriptor(\n globalThis,\n 'WebSocket'\n )\n\n const WebSocketProxy = new Proxy(globalThis.WebSocket, {\n construct: (\n target,\n args: ConstructorParameters,\n newTarget\n ) => {\n const [url, protocols] = args\n\n const createConnection = (): WebSocket => {\n return Reflect.construct(target, args, newTarget)\n }\n\n // All WebSocket instances are mocked and don't forward\n // any events to the original server (no connection established).\n // To forward the events, the user must use the \"server.send()\" API.\n const socket = new WebSocketOverride(url, protocols)\n const transport = new WebSocketClassTransport(socket)\n\n // Emit the \"connection\" event to the interceptor on the next tick\n // so the client can modify WebSocket options, like \"binaryType\"\n // while the connection is already pending.\n queueMicrotask(() => {\n try {\n const server = new WebSocketServerConnection(\n socket,\n transport,\n createConnection\n )\n\n // The \"globalThis.WebSocket\" class stands for\n // the client-side connection. Assume it's established\n // as soon as the WebSocket instance is constructed.\n const hasConnectionListeners = this.emitter.emit('connection', {\n client: new WebSocketClientConnection(socket, transport),\n server,\n info: {\n protocols,\n },\n })\n\n if (hasConnectionListeners) {\n socket[kPassthroughPromise].resolve(false)\n } else {\n socket[kPassthroughPromise].resolve(true)\n\n server.connect()\n\n // Forward the \"open\" event from the original server\n // to the mock WebSocket client in the case of a passthrough connection.\n server.addEventListener('open', () => {\n socket.dispatchEvent(bindEvent(socket, new Event('open')))\n\n // Forward the original connection protocol to the\n // mock WebSocket client.\n if (server['realWebSocket']) {\n socket.protocol = server['realWebSocket'].protocol\n }\n })\n }\n } catch (error) {\n /**\n * @note Translate unhandled exceptions during the connection\n * handling (i.e. interceptor exceptions) as WebSocket connection\n * closures with error. This prevents from the exceptions occurring\n * in `queueMicrotask` from being process-wide and uncatchable.\n */\n if (error instanceof Error) {\n socket.dispatchEvent(new Event('error'))\n\n // No need to close the connection if it's already being closed.\n // E.g. the interceptor called `client.close()` and then threw an error.\n if (\n socket.readyState !== WebSocket.CLOSING &&\n socket.readyState !== WebSocket.CLOSED\n ) {\n socket[kClose](1011, error.message, false)\n }\n\n console.error(error)\n }\n }\n })\n\n return socket\n },\n })\n\n Object.defineProperty(globalThis, 'WebSocket', {\n value: WebSocketProxy,\n configurable: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(\n globalThis,\n 'WebSocket',\n originalWebSocketDescriptor!\n )\n })\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs new file mode 100644 index 0000000000..23e52ec202 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs @@ -0,0 +1,710 @@ +import { + hasConfigurableGlobal +} from "../../chunk-TX5GBTFY.mjs"; +import { + Interceptor, + createRequestId +} from "../../chunk-QED3Q6Z2.mjs"; + +// src/interceptors/WebSocket/utils/bindEvent.ts +function bindEvent(target, event) { + Object.defineProperties(event, { + target: { + value: target, + enumerable: true, + writable: true + }, + currentTarget: { + value: target, + enumerable: true, + writable: true + } + }); + return event; +} + +// src/interceptors/WebSocket/utils/events.ts +var kCancelable = Symbol("kCancelable"); +var kDefaultPrevented = Symbol("kDefaultPrevented"); +var CancelableMessageEvent = class extends MessageEvent { + constructor(type, init) { + super(type, init); + this[kCancelable] = !!init.cancelable; + this[kDefaultPrevented] = false; + } + get cancelable() { + return this[kCancelable]; + } + set cancelable(nextCancelable) { + this[kCancelable] = nextCancelable; + } + get defaultPrevented() { + return this[kDefaultPrevented]; + } + set defaultPrevented(nextDefaultPrevented) { + this[kDefaultPrevented] = nextDefaultPrevented; + } + preventDefault() { + if (this.cancelable && !this[kDefaultPrevented]) { + this[kDefaultPrevented] = true; + } + } +}; +kCancelable, kDefaultPrevented; +var CloseEvent = class extends Event { + constructor(type, init = {}) { + super(type, init); + this.code = init.code === void 0 ? 0 : init.code; + this.reason = init.reason === void 0 ? "" : init.reason; + this.wasClean = init.wasClean === void 0 ? false : init.wasClean; + } +}; +var CancelableCloseEvent = class extends CloseEvent { + constructor(type, init = {}) { + super(type, init); + this[kCancelable] = !!init.cancelable; + this[kDefaultPrevented] = false; + } + get cancelable() { + return this[kCancelable]; + } + set cancelable(nextCancelable) { + this[kCancelable] = nextCancelable; + } + get defaultPrevented() { + return this[kDefaultPrevented]; + } + set defaultPrevented(nextDefaultPrevented) { + this[kDefaultPrevented] = nextDefaultPrevented; + } + preventDefault() { + if (this.cancelable && !this[kDefaultPrevented]) { + this[kDefaultPrevented] = true; + } + } +}; +kCancelable, kDefaultPrevented; + +// src/interceptors/WebSocket/WebSocketClientConnection.ts +var kEmitter = Symbol("kEmitter"); +var kBoundListener = Symbol("kBoundListener"); +var WebSocketClientConnection = class { + constructor(socket, transport) { + this.socket = socket; + this.transport = transport; + this.id = createRequestId(); + this.url = new URL(socket.url); + this[kEmitter] = new EventTarget(); + this.transport.addEventListener("outgoing", (event) => { + const message = bindEvent( + this.socket, + new CancelableMessageEvent("message", { + data: event.data, + origin: event.origin, + cancelable: true + }) + ); + this[kEmitter].dispatchEvent(message); + if (message.defaultPrevented) { + event.preventDefault(); + } + }); + this.transport.addEventListener("close", (event) => { + this[kEmitter].dispatchEvent( + bindEvent(this.socket, new CloseEvent("close", event)) + ); + }); + } + /** + * Listen for the outgoing events from the connected WebSocket client. + */ + addEventListener(type, listener, options) { + if (!Reflect.has(listener, kBoundListener)) { + const boundListener = listener.bind(this.socket); + Object.defineProperty(listener, kBoundListener, { + value: boundListener, + enumerable: false, + configurable: false + }); + } + this[kEmitter].addEventListener( + type, + Reflect.get(listener, kBoundListener), + options + ); + } + /** + * Removes the listener for the given event. + */ + removeEventListener(event, listener, options) { + this[kEmitter].removeEventListener( + event, + Reflect.get(listener, kBoundListener), + options + ); + } + /** + * Send data to the connected client. + */ + send(data) { + this.transport.send(data); + } + /** + * Close the WebSocket connection. + * @param {number} code A status code (see https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1). + * @param {string} reason A custom connection close reason. + */ + close(code, reason) { + this.transport.close(code, reason); + } +}; +kEmitter; + +// src/interceptors/WebSocket/WebSocketServerConnection.ts +import { invariant as invariant2 } from "outvariant"; + +// src/interceptors/WebSocket/WebSocketOverride.ts +import { invariant } from "outvariant"; +import { DeferredPromise } from "@open-draft/deferred-promise"; +var WEBSOCKET_CLOSE_CODE_RANGE_ERROR = "InvalidAccessError: close code out of user configurable range"; +var kPassthroughPromise = Symbol("kPassthroughPromise"); +var kOnSend = Symbol("kOnSend"); +var kClose = Symbol("kClose"); +var WebSocketOverride = class extends EventTarget { + constructor(url, protocols) { + super(); + this.CONNECTING = 0; + this.OPEN = 1; + this.CLOSING = 2; + this.CLOSED = 3; + this._onopen = null; + this._onmessage = null; + this._onerror = null; + this._onclose = null; + this.url = url.toString(); + this.protocol = ""; + this.extensions = ""; + this.binaryType = "blob"; + this.readyState = this.CONNECTING; + this.bufferedAmount = 0; + this[kPassthroughPromise] = new DeferredPromise(); + queueMicrotask(async () => { + if (await this[kPassthroughPromise]) { + return; + } + this.protocol = typeof protocols === "string" ? protocols : Array.isArray(protocols) && protocols.length > 0 ? protocols[0] : ""; + if (this.readyState === this.CONNECTING) { + this.readyState = this.OPEN; + this.dispatchEvent(bindEvent(this, new Event("open"))); + } + }); + } + set onopen(listener) { + this.removeEventListener("open", this._onopen); + this._onopen = listener; + if (listener !== null) { + this.addEventListener("open", listener); + } + } + get onopen() { + return this._onopen; + } + set onmessage(listener) { + this.removeEventListener( + "message", + this._onmessage + ); + this._onmessage = listener; + if (listener !== null) { + this.addEventListener("message", listener); + } + } + get onmessage() { + return this._onmessage; + } + set onerror(listener) { + this.removeEventListener("error", this._onerror); + this._onerror = listener; + if (listener !== null) { + this.addEventListener("error", listener); + } + } + get onerror() { + return this._onerror; + } + set onclose(listener) { + this.removeEventListener("close", this._onclose); + this._onclose = listener; + if (listener !== null) { + this.addEventListener("close", listener); + } + } + get onclose() { + return this._onclose; + } + /** + * @see https://websockets.spec.whatwg.org/#ref-for-dom-websocket-send%E2%91%A0 + */ + send(data) { + if (this.readyState === this.CONNECTING) { + this.close(); + throw new DOMException("InvalidStateError"); + } + if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) { + return; + } + this.bufferedAmount += getDataSize(data); + queueMicrotask(() => { + var _a; + this.bufferedAmount = 0; + (_a = this[kOnSend]) == null ? void 0 : _a.call(this, data); + }); + } + close(code = 1e3, reason) { + invariant(code, WEBSOCKET_CLOSE_CODE_RANGE_ERROR); + invariant( + code === 1e3 || code >= 3e3 && code <= 4999, + WEBSOCKET_CLOSE_CODE_RANGE_ERROR + ); + this[kClose](code, reason); + } + [(kPassthroughPromise, kOnSend, kClose)](code = 1e3, reason, wasClean = true) { + if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) { + return; + } + this.readyState = this.CLOSING; + queueMicrotask(() => { + this.readyState = this.CLOSED; + this.dispatchEvent( + bindEvent( + this, + new CloseEvent("close", { + code, + reason, + wasClean + }) + ) + ); + this._onopen = null; + this._onmessage = null; + this._onerror = null; + this._onclose = null; + }); + } + addEventListener(type, listener, options) { + return super.addEventListener( + type, + listener, + options + ); + } + removeEventListener(type, callback, options) { + return super.removeEventListener(type, callback, options); + } +}; +WebSocketOverride.CONNECTING = 0; +WebSocketOverride.OPEN = 1; +WebSocketOverride.CLOSING = 2; +WebSocketOverride.CLOSED = 3; +function getDataSize(data) { + if (typeof data === "string") { + return data.length; + } + if (data instanceof Blob) { + return data.size; + } + return data.byteLength; +} + +// src/interceptors/WebSocket/WebSocketServerConnection.ts +var kEmitter2 = Symbol("kEmitter"); +var kBoundListener2 = Symbol("kBoundListener"); +var kSend = Symbol("kSend"); +var WebSocketServerConnection = class { + constructor(client, transport, createConnection) { + this.client = client; + this.transport = transport; + this.createConnection = createConnection; + this[kEmitter2] = new EventTarget(); + this.mockCloseController = new AbortController(); + this.realCloseController = new AbortController(); + this.transport.addEventListener("outgoing", (event) => { + if (typeof this.realWebSocket === "undefined") { + return; + } + queueMicrotask(() => { + if (!event.defaultPrevented) { + this[kSend](event.data); + } + }); + }); + this.transport.addEventListener( + "incoming", + this.handleIncomingMessage.bind(this) + ); + } + /** + * The `WebSocket` instance connected to the original server. + * Accessing this before calling `server.connect()` will throw. + */ + get socket() { + invariant2( + this.realWebSocket, + 'Cannot access "socket" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?' + ); + return this.realWebSocket; + } + /** + * Open connection to the original WebSocket server. + */ + connect() { + invariant2( + !this.realWebSocket || this.realWebSocket.readyState !== WebSocket.OPEN, + 'Failed to call "connect()" on the original WebSocket instance: the connection already open' + ); + const realWebSocket = this.createConnection(); + realWebSocket.binaryType = this.client.binaryType; + realWebSocket.addEventListener( + "open", + (event) => { + this[kEmitter2].dispatchEvent( + bindEvent(this.realWebSocket, new Event("open", event)) + ); + }, + { once: true } + ); + realWebSocket.addEventListener("message", (event) => { + this.transport.dispatchEvent( + bindEvent( + this.realWebSocket, + new MessageEvent("incoming", { + data: event.data, + origin: event.origin + }) + ) + ); + }); + this.client.addEventListener( + "close", + (event) => { + this.handleMockClose(event); + }, + { + signal: this.mockCloseController.signal + } + ); + realWebSocket.addEventListener( + "close", + (event) => { + this.handleRealClose(event); + }, + { + signal: this.realCloseController.signal + } + ); + realWebSocket.addEventListener("error", () => { + const errorEvent = bindEvent( + realWebSocket, + new Event("error", { cancelable: true }) + ); + this[kEmitter2].dispatchEvent(errorEvent); + if (!errorEvent.defaultPrevented) { + this.client.dispatchEvent(bindEvent(this.client, new Event("error"))); + } + }); + this.realWebSocket = realWebSocket; + } + /** + * Listen for the incoming events from the original WebSocket server. + */ + addEventListener(event, listener, options) { + if (!Reflect.has(listener, kBoundListener2)) { + const boundListener = listener.bind(this.client); + Object.defineProperty(listener, kBoundListener2, { + value: boundListener, + enumerable: false + }); + } + this[kEmitter2].addEventListener( + event, + Reflect.get(listener, kBoundListener2), + options + ); + } + /** + * Remove the listener for the given event. + */ + removeEventListener(event, listener, options) { + this[kEmitter2].removeEventListener( + event, + Reflect.get(listener, kBoundListener2), + options + ); + } + /** + * Send data to the original WebSocket server. + * @example + * server.send('hello') + * server.send(new Blob(['hello'])) + * server.send(new TextEncoder().encode('hello')) + */ + send(data) { + this[kSend](data); + } + [(kEmitter2, kSend)](data) { + const { realWebSocket } = this; + invariant2( + realWebSocket, + 'Failed to call "server.send()" for "%s": the connection is not open. Did you forget to call "server.connect()"?', + this.client.url + ); + if (realWebSocket.readyState === WebSocket.CLOSING || realWebSocket.readyState === WebSocket.CLOSED) { + return; + } + if (realWebSocket.readyState === WebSocket.CONNECTING) { + realWebSocket.addEventListener( + "open", + () => { + realWebSocket.send(data); + }, + { once: true } + ); + return; + } + realWebSocket.send(data); + } + /** + * Close the actual server connection. + */ + close() { + const { realWebSocket } = this; + invariant2( + realWebSocket, + 'Failed to close server connection for "%s": the connection is not open. Did you forget to call "server.connect()"?', + this.client.url + ); + this.realCloseController.abort(); + if (realWebSocket.readyState === WebSocket.CLOSING || realWebSocket.readyState === WebSocket.CLOSED) { + return; + } + realWebSocket.close(); + queueMicrotask(() => { + this[kEmitter2].dispatchEvent( + bindEvent( + this.realWebSocket, + new CancelableCloseEvent("close", { + /** + * @note `server.close()` in the interceptor + * always results in clean closures. + */ + code: 1e3, + cancelable: true + }) + ) + ); + }); + } + handleIncomingMessage(event) { + const messageEvent = bindEvent( + event.target, + new CancelableMessageEvent("message", { + data: event.data, + origin: event.origin, + cancelable: true + }) + ); + this[kEmitter2].dispatchEvent(messageEvent); + if (!messageEvent.defaultPrevented) { + this.client.dispatchEvent( + bindEvent( + /** + * @note Bind the forwarded original server events + * to the mock WebSocket instance so it would + * dispatch them straight away. + */ + this.client, + // Clone the message event again to prevent + // the "already being dispatched" exception. + new MessageEvent("message", { + data: event.data, + origin: event.origin + }) + ) + ); + } + } + handleMockClose(_event) { + if (this.realWebSocket) { + this.realWebSocket.close(); + } + } + handleRealClose(event) { + this.mockCloseController.abort(); + const closeEvent = bindEvent( + this.realWebSocket, + new CancelableCloseEvent("close", { + code: event.code, + reason: event.reason, + wasClean: event.wasClean, + cancelable: true + }) + ); + this[kEmitter2].dispatchEvent(closeEvent); + if (!closeEvent.defaultPrevented) { + this.client[kClose](event.code, event.reason); + } + } +}; + +// src/interceptors/WebSocket/WebSocketClassTransport.ts +var WebSocketClassTransport = class extends EventTarget { + constructor(socket) { + super(); + this.socket = socket; + this.socket.addEventListener("close", (event) => { + this.dispatchEvent(bindEvent(this.socket, new CloseEvent("close", event))); + }); + this.socket[kOnSend] = (data) => { + this.dispatchEvent( + bindEvent( + this.socket, + // Dispatch this as cancelable because "client" connection + // re-creates this message event (cannot dispatch the same event). + new CancelableMessageEvent("outgoing", { + data, + origin: this.socket.url, + cancelable: true + }) + ) + ); + }; + } + addEventListener(type, callback, options) { + return super.addEventListener(type, callback, options); + } + dispatchEvent(event) { + return super.dispatchEvent(event); + } + send(data) { + queueMicrotask(() => { + if (this.socket.readyState === this.socket.CLOSING || this.socket.readyState === this.socket.CLOSED) { + return; + } + const dispatchEvent = () => { + this.socket.dispatchEvent( + bindEvent( + /** + * @note Setting this event's "target" to the + * WebSocket override instance is important. + * This way it can tell apart original incoming events + * (must be forwarded to the transport) from the + * mocked message events like the one below + * (must be dispatched on the client instance). + */ + this.socket, + new MessageEvent("message", { + data, + origin: this.socket.url + }) + ) + ); + }; + if (this.socket.readyState === this.socket.CONNECTING) { + this.socket.addEventListener( + "open", + () => { + dispatchEvent(); + }, + { once: true } + ); + } else { + dispatchEvent(); + } + }); + } + close(code, reason) { + this.socket[kClose](code, reason); + } +}; + +// src/interceptors/WebSocket/index.ts +var _WebSocketInterceptor = class extends Interceptor { + constructor() { + super(_WebSocketInterceptor.symbol); + } + checkEnvironment() { + return hasConfigurableGlobal("WebSocket"); + } + setup() { + const originalWebSocketDescriptor = Object.getOwnPropertyDescriptor( + globalThis, + "WebSocket" + ); + const WebSocketProxy = new Proxy(globalThis.WebSocket, { + construct: (target, args, newTarget) => { + const [url, protocols] = args; + const createConnection = () => { + return Reflect.construct(target, args, newTarget); + }; + const socket = new WebSocketOverride(url, protocols); + const transport = new WebSocketClassTransport(socket); + queueMicrotask(() => { + try { + const server = new WebSocketServerConnection( + socket, + transport, + createConnection + ); + const hasConnectionListeners = this.emitter.emit("connection", { + client: new WebSocketClientConnection(socket, transport), + server, + info: { + protocols + } + }); + if (hasConnectionListeners) { + socket[kPassthroughPromise].resolve(false); + } else { + socket[kPassthroughPromise].resolve(true); + server.connect(); + server.addEventListener("open", () => { + socket.dispatchEvent(bindEvent(socket, new Event("open"))); + if (server["realWebSocket"]) { + socket.protocol = server["realWebSocket"].protocol; + } + }); + } + } catch (error) { + if (error instanceof Error) { + socket.dispatchEvent(new Event("error")); + if (socket.readyState !== WebSocket.CLOSING && socket.readyState !== WebSocket.CLOSED) { + socket[kClose](1011, error.message, false); + } + console.error(error); + } + } + }); + return socket; + } + }); + Object.defineProperty(globalThis, "WebSocket", { + value: WebSocketProxy, + configurable: true + }); + this.subscriptions.push(() => { + Object.defineProperty( + globalThis, + "WebSocket", + originalWebSocketDescriptor + ); + }); + } +}; +var WebSocketInterceptor = _WebSocketInterceptor; +WebSocketInterceptor.symbol = Symbol("websocket"); +export { + WebSocketClientConnection, + WebSocketInterceptor, + WebSocketServerConnection +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs.map new file mode 100644 index 0000000000..328d20569d --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../../src/interceptors/WebSocket/utils/bindEvent.ts","../../../../src/interceptors/WebSocket/utils/events.ts","../../../../src/interceptors/WebSocket/WebSocketClientConnection.ts","../../../../src/interceptors/WebSocket/WebSocketServerConnection.ts","../../../../src/interceptors/WebSocket/WebSocketOverride.ts","../../../../src/interceptors/WebSocket/WebSocketClassTransport.ts","../../../../src/interceptors/WebSocket/index.ts"],"sourcesContent":["type EventWithTarget = E & { target: T }\n\nexport function bindEvent(\n target: T,\n event: E\n): EventWithTarget {\n Object.defineProperties(event, {\n target: {\n value: target,\n enumerable: true,\n writable: true,\n },\n currentTarget: {\n value: target,\n enumerable: true,\n writable: true,\n },\n })\n\n return event as EventWithTarget\n}\n","const kCancelable = Symbol('kCancelable')\nconst kDefaultPrevented = Symbol('kDefaultPrevented')\n\n/**\n * A `MessageEvent` superset that supports event cancellation\n * in Node.js. It's rather non-intrusive so it can be safely\n * used in the browser as well.\n *\n * @see https://github.com/nodejs/node/issues/51767\n */\nexport class CancelableMessageEvent extends MessageEvent {\n [kCancelable]: boolean;\n [kDefaultPrevented]: boolean\n\n constructor(type: string, init: MessageEventInit) {\n super(type, init)\n this[kCancelable] = !!init.cancelable\n this[kDefaultPrevented] = false\n }\n\n get cancelable() {\n return this[kCancelable]\n }\n\n set cancelable(nextCancelable) {\n this[kCancelable] = nextCancelable\n }\n\n get defaultPrevented() {\n return this[kDefaultPrevented]\n }\n\n set defaultPrevented(nextDefaultPrevented) {\n this[kDefaultPrevented] = nextDefaultPrevented\n }\n\n public preventDefault(): void {\n if (this.cancelable && !this[kDefaultPrevented]) {\n this[kDefaultPrevented] = true\n }\n }\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number\n reason?: string\n wasClean?: boolean\n}\n\nexport class CloseEvent extends Event {\n public code: number\n public reason: string\n public wasClean: boolean\n\n constructor(type: string, init: CloseEventInit = {}) {\n super(type, init)\n this.code = init.code === undefined ? 0 : init.code\n this.reason = init.reason === undefined ? '' : init.reason\n this.wasClean = init.wasClean === undefined ? false : init.wasClean\n }\n}\n\nexport class CancelableCloseEvent extends CloseEvent {\n [kCancelable]: boolean;\n [kDefaultPrevented]: boolean\n\n constructor(type: string, init: CloseEventInit = {}) {\n super(type, init)\n this[kCancelable] = !!init.cancelable\n this[kDefaultPrevented] = false\n }\n\n get cancelable() {\n return this[kCancelable]\n }\n\n set cancelable(nextCancelable) {\n this[kCancelable] = nextCancelable\n }\n\n get defaultPrevented() {\n return this[kDefaultPrevented]\n }\n\n set defaultPrevented(nextDefaultPrevented) {\n this[kDefaultPrevented] = nextDefaultPrevented\n }\n\n public preventDefault(): void {\n if (this.cancelable && !this[kDefaultPrevented]) {\n this[kDefaultPrevented] = true\n }\n }\n}\n","import type { WebSocketData, WebSocketTransport } from './WebSocketTransport'\nimport type { WebSocketEventListener } from './WebSocketOverride'\nimport { bindEvent } from './utils/bindEvent'\nimport { CancelableMessageEvent, CloseEvent } from './utils/events'\nimport { createRequestId } from '../../createRequestId'\n\nconst kEmitter = Symbol('kEmitter')\nconst kBoundListener = Symbol('kBoundListener')\n\ninterface WebSocketClientEventMap {\n message: MessageEvent\n close: CloseEvent\n}\n\nexport interface WebSocketClientConnectionProtocol {\n id: string\n url: URL\n send(data: WebSocketData): void\n close(code?: number, reason?: string): void\n}\n\n/**\n * The WebSocket client instance represents an incoming\n * client connection. The user can control the connection,\n * send and receive events.\n */\nexport class WebSocketClientConnection\n implements WebSocketClientConnectionProtocol\n{\n public readonly id: string\n public readonly url: URL\n\n private [kEmitter]: EventTarget\n\n constructor(\n public readonly socket: WebSocket,\n private readonly transport: WebSocketTransport\n ) {\n this.id = createRequestId()\n this.url = new URL(socket.url)\n this[kEmitter] = new EventTarget()\n\n // Emit outgoing client data (\"ws.send()\") as \"message\"\n // events on the \"client\" connection.\n this.transport.addEventListener('outgoing', (event) => {\n const message = bindEvent(\n this.socket,\n new CancelableMessageEvent('message', {\n data: event.data,\n origin: event.origin,\n cancelable: true,\n })\n )\n\n this[kEmitter].dispatchEvent(message)\n\n // This is a bit silly but forward the cancellation state\n // of the \"client\" message event to the \"outgoing\" transport event.\n // This way, other agens (like \"server\" connection) can know\n // whether the client listener has pervented the default.\n if (message.defaultPrevented) {\n event.preventDefault()\n }\n })\n\n /**\n * Emit the \"close\" event on the \"client\" connection\n * whenever the underlying transport is closed.\n * @note \"client.close()\" does NOT dispatch the \"close\"\n * event on the WebSocket because it uses non-configurable\n * close status code. Thus, we listen to the transport\n * instead of the WebSocket's \"close\" event.\n */\n this.transport.addEventListener('close', (event) => {\n this[kEmitter].dispatchEvent(\n bindEvent(this.socket, new CloseEvent('close', event))\n )\n })\n }\n\n /**\n * Listen for the outgoing events from the connected WebSocket client.\n */\n public addEventListener(\n type: EventType,\n listener: WebSocketEventListener,\n options?: AddEventListenerOptions | boolean\n ): void {\n if (!Reflect.has(listener, kBoundListener)) {\n const boundListener = listener.bind(this.socket)\n\n // Store the bound listener on the original listener\n // so the exact bound function can be accessed in \"removeEventListener()\".\n Object.defineProperty(listener, kBoundListener, {\n value: boundListener,\n enumerable: false,\n configurable: false,\n })\n }\n\n this[kEmitter].addEventListener(\n type,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Removes the listener for the given event.\n */\n public removeEventListener(\n event: EventType,\n listener: WebSocketEventListener,\n options?: EventListenerOptions | boolean\n ): void {\n this[kEmitter].removeEventListener(\n event,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Send data to the connected client.\n */\n public send(data: WebSocketData): void {\n this.transport.send(data)\n }\n\n /**\n * Close the WebSocket connection.\n * @param {number} code A status code (see https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1).\n * @param {string} reason A custom connection close reason.\n */\n public close(code?: number, reason?: string): void {\n this.transport.close(code, reason)\n }\n}\n","import { invariant } from 'outvariant'\nimport {\n kClose,\n WebSocketEventListener,\n WebSocketOverride,\n} from './WebSocketOverride'\nimport type { WebSocketData } from './WebSocketTransport'\nimport type { WebSocketClassTransport } from './WebSocketClassTransport'\nimport { bindEvent } from './utils/bindEvent'\nimport {\n CancelableMessageEvent,\n CancelableCloseEvent,\n CloseEvent,\n} from './utils/events'\n\nconst kEmitter = Symbol('kEmitter')\nconst kBoundListener = Symbol('kBoundListener')\nconst kSend = Symbol('kSend')\n\ninterface WebSocketServerEventMap {\n open: Event\n message: MessageEvent\n error: Event\n close: CloseEvent\n}\n\n/**\n * The WebSocket server instance represents the actual production\n * WebSocket server connection. It's idle by default but you can\n * establish it by calling `server.connect()`.\n */\nexport class WebSocketServerConnection {\n /**\n * A WebSocket instance connected to the original server.\n */\n private realWebSocket?: WebSocket\n private mockCloseController: AbortController\n private realCloseController: AbortController\n private [kEmitter]: EventTarget\n\n constructor(\n private readonly client: WebSocketOverride,\n private readonly transport: WebSocketClassTransport,\n private readonly createConnection: () => WebSocket\n ) {\n this[kEmitter] = new EventTarget()\n this.mockCloseController = new AbortController()\n this.realCloseController = new AbortController()\n\n // Automatically forward outgoing client events\n // to the actual server unless the outgoing message event\n // has been prevented. The \"outgoing\" transport event it\n // dispatched by the \"client\" connection.\n this.transport.addEventListener('outgoing', (event) => {\n // Ignore client messages if the server connection\n // hasn't been established yet. Nowhere to forward.\n if (typeof this.realWebSocket === 'undefined') {\n return\n }\n\n // Every outgoing client message can prevent this forwarding\n // by preventing the default of the outgoing message event.\n // This listener will be added before user-defined listeners,\n // so execute the logic on the next tick.\n queueMicrotask(() => {\n if (!event.defaultPrevented) {\n /**\n * @note Use the internal send mechanism so consumers can tell\n * apart direct user calls to `server.send()` and internal calls.\n * E.g. MSW has to ignore this internal call to log out messages correctly.\n */\n this[kSend](event.data)\n }\n })\n })\n\n this.transport.addEventListener(\n 'incoming',\n this.handleIncomingMessage.bind(this)\n )\n }\n\n /**\n * The `WebSocket` instance connected to the original server.\n * Accessing this before calling `server.connect()` will throw.\n */\n public get socket(): WebSocket {\n invariant(\n this.realWebSocket,\n 'Cannot access \"socket\" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?'\n )\n\n return this.realWebSocket\n }\n\n /**\n * Open connection to the original WebSocket server.\n */\n public connect(): void {\n invariant(\n !this.realWebSocket || this.realWebSocket.readyState !== WebSocket.OPEN,\n 'Failed to call \"connect()\" on the original WebSocket instance: the connection already open'\n )\n\n const realWebSocket = this.createConnection()\n\n // Inherit the binary type from the mock WebSocket client.\n realWebSocket.binaryType = this.client.binaryType\n\n // Allow the interceptor to listen to when the server connection\n // has been established. This isn't necessary to operate with the connection\n // but may be beneficial in some cases (like conditionally adding logging).\n realWebSocket.addEventListener(\n 'open',\n (event) => {\n this[kEmitter].dispatchEvent(\n bindEvent(this.realWebSocket!, new Event('open', event))\n )\n },\n { once: true }\n )\n\n realWebSocket.addEventListener('message', (event) => {\n // Dispatch the \"incoming\" transport event instead of\n // invoking the internal handler directly. This way,\n // anyone can listen to the \"incoming\" event but this\n // class is the one resulting in it.\n this.transport.dispatchEvent(\n bindEvent(\n this.realWebSocket!,\n new MessageEvent('incoming', {\n data: event.data,\n origin: event.origin,\n })\n )\n )\n })\n\n // Close the original connection when the mock client closes.\n // E.g. \"client.close()\" was called. This is never forwarded anywhere.\n this.client.addEventListener(\n 'close',\n (event) => {\n this.handleMockClose(event)\n },\n {\n signal: this.mockCloseController.signal,\n }\n )\n\n // Forward the \"close\" event to let the interceptor handle\n // closures initiated by the original server.\n realWebSocket.addEventListener(\n 'close',\n (event) => {\n this.handleRealClose(event)\n },\n {\n signal: this.realCloseController.signal,\n }\n )\n\n realWebSocket.addEventListener('error', () => {\n const errorEvent = bindEvent(\n realWebSocket,\n new Event('error', { cancelable: true })\n )\n\n // Emit the \"error\" event on the `server` connection\n // to let the interceptor react to original server errors.\n this[kEmitter].dispatchEvent(errorEvent)\n\n // If the error event from the original server hasn't been prevented,\n // forward it to the underlying client.\n if (!errorEvent.defaultPrevented) {\n this.client.dispatchEvent(bindEvent(this.client, new Event('error')))\n }\n })\n\n this.realWebSocket = realWebSocket\n }\n\n /**\n * Listen for the incoming events from the original WebSocket server.\n */\n public addEventListener(\n event: EventType,\n listener: WebSocketEventListener,\n options?: AddEventListenerOptions | boolean\n ): void {\n if (!Reflect.has(listener, kBoundListener)) {\n const boundListener = listener.bind(this.client)\n\n // Store the bound listener on the original listener\n // so the exact bound function can be accessed in \"removeEventListener()\".\n Object.defineProperty(listener, kBoundListener, {\n value: boundListener,\n enumerable: false,\n })\n }\n\n this[kEmitter].addEventListener(\n event,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Remove the listener for the given event.\n */\n public removeEventListener(\n event: EventType,\n listener: WebSocketEventListener,\n options?: EventListenerOptions | boolean\n ): void {\n this[kEmitter].removeEventListener(\n event,\n Reflect.get(listener, kBoundListener) as EventListener,\n options\n )\n }\n\n /**\n * Send data to the original WebSocket server.\n * @example\n * server.send('hello')\n * server.send(new Blob(['hello']))\n * server.send(new TextEncoder().encode('hello'))\n */\n public send(data: WebSocketData): void {\n this[kSend](data)\n }\n\n private [kSend](data: WebSocketData): void {\n const { realWebSocket } = this\n\n invariant(\n realWebSocket,\n 'Failed to call \"server.send()\" for \"%s\": the connection is not open. Did you forget to call \"server.connect()\"?',\n this.client.url\n )\n\n // Silently ignore writes on the closed original WebSocket.\n if (\n realWebSocket.readyState === WebSocket.CLOSING ||\n realWebSocket.readyState === WebSocket.CLOSED\n ) {\n return\n }\n\n // Delegate the send to when the original connection is open.\n // Unlike the mock, connecting to the original server may take time\n // so we cannot call this on the next tick.\n if (realWebSocket.readyState === WebSocket.CONNECTING) {\n realWebSocket.addEventListener(\n 'open',\n () => {\n realWebSocket.send(data)\n },\n { once: true }\n )\n return\n }\n\n // Send the data to the original WebSocket server.\n realWebSocket.send(data)\n }\n\n /**\n * Close the actual server connection.\n */\n public close(): void {\n const { realWebSocket } = this\n\n invariant(\n realWebSocket,\n 'Failed to close server connection for \"%s\": the connection is not open. Did you forget to call \"server.connect()\"?',\n this.client.url\n )\n\n // Remove the \"close\" event listener from the server\n // so it doesn't close the underlying WebSocket client\n // when you call \"server.close()\". This also prevents the\n // `close` event on the `server` connection from being dispatched twice.\n this.realCloseController.abort()\n\n if (\n realWebSocket.readyState === WebSocket.CLOSING ||\n realWebSocket.readyState === WebSocket.CLOSED\n ) {\n return\n }\n\n // Close the actual client connection.\n realWebSocket.close()\n\n // Dispatch the \"close\" event on the `server` connection.\n queueMicrotask(() => {\n this[kEmitter].dispatchEvent(\n bindEvent(\n this.realWebSocket,\n new CancelableCloseEvent('close', {\n /**\n * @note `server.close()` in the interceptor\n * always results in clean closures.\n */\n code: 1000,\n cancelable: true,\n })\n )\n )\n })\n }\n\n private handleIncomingMessage(event: MessageEvent): void {\n // Clone the event to dispatch it on this class\n // once again and prevent the \"already being dispatched\"\n // exception. Clone it here so we can observe this event\n // being prevented in the \"server.on()\" listeners.\n const messageEvent = bindEvent(\n event.target,\n new CancelableMessageEvent('message', {\n data: event.data,\n origin: event.origin,\n cancelable: true,\n })\n )\n\n /**\n * @note Emit \"message\" event on the server connection\n * instance to let the interceptor know about these\n * incoming events from the original server. In that listener,\n * the interceptor can modify or skip the event forwarding\n * to the mock WebSocket instance.\n */\n this[kEmitter].dispatchEvent(messageEvent)\n\n /**\n * @note Forward the incoming server events to the client.\n * Preventing the default on the message event stops this.\n */\n if (!messageEvent.defaultPrevented) {\n this.client.dispatchEvent(\n bindEvent(\n /**\n * @note Bind the forwarded original server events\n * to the mock WebSocket instance so it would\n * dispatch them straight away.\n */\n this.client,\n // Clone the message event again to prevent\n // the \"already being dispatched\" exception.\n new MessageEvent('message', {\n data: event.data,\n origin: event.origin,\n })\n )\n )\n }\n }\n\n private handleMockClose(_event: Event): void {\n // Close the original connection if the mock client closes.\n if (this.realWebSocket) {\n this.realWebSocket.close()\n }\n }\n\n private handleRealClose(event: CloseEvent): void {\n // For closures originating from the original server,\n // remove the \"close\" listener from the mock client.\n // original close -> (?) client[kClose]() --X--> \"close\" (again).\n this.mockCloseController.abort()\n\n const closeEvent = bindEvent(\n this.realWebSocket,\n new CancelableCloseEvent('close', {\n code: event.code,\n reason: event.reason,\n wasClean: event.wasClean,\n cancelable: true,\n })\n )\n\n this[kEmitter].dispatchEvent(closeEvent)\n\n // If the close event from the server hasn't been prevented,\n // forward the closure to the mock client.\n if (!closeEvent.defaultPrevented) {\n // Close the intercepted client forcefully to\n // allow non-configurable status codes from the server.\n // If the socket has been closed by now, no harm calling\n // this again—it will have no effect.\n this.client[kClose](event.code, event.reason)\n }\n }\n}\n","import { invariant } from 'outvariant'\nimport type { WebSocketData } from './WebSocketTransport'\nimport { bindEvent } from './utils/bindEvent'\nimport { CloseEvent } from './utils/events'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\n\nexport type WebSocketEventListener<\n EventType extends WebSocketEventMap[keyof WebSocketEventMap] = Event\n> = (this: WebSocket, event: EventType) => void\n\nconst WEBSOCKET_CLOSE_CODE_RANGE_ERROR =\n 'InvalidAccessError: close code out of user configurable range'\n\nexport const kPassthroughPromise = Symbol('kPassthroughPromise')\nexport const kOnSend = Symbol('kOnSend')\nexport const kClose = Symbol('kClose')\n\nexport class WebSocketOverride extends EventTarget implements WebSocket {\n static readonly CONNECTING = 0\n static readonly OPEN = 1\n static readonly CLOSING = 2\n static readonly CLOSED = 3\n readonly CONNECTING = 0\n readonly OPEN = 1\n readonly CLOSING = 2\n readonly CLOSED = 3\n\n public url: string\n public protocol: string\n public extensions: string\n public binaryType: BinaryType\n public readyState: number\n public bufferedAmount: number\n\n private _onopen: WebSocketEventListener | null = null\n private _onmessage: WebSocketEventListener<\n MessageEvent\n > | null = null\n private _onerror: WebSocketEventListener | null = null\n private _onclose: WebSocketEventListener | null = null\n\n private [kPassthroughPromise]: DeferredPromise\n private [kOnSend]?: (data: WebSocketData) => void\n\n constructor(url: string | URL, protocols?: string | Array) {\n super()\n this.url = url.toString()\n this.protocol = ''\n this.extensions = ''\n this.binaryType = 'blob'\n this.readyState = this.CONNECTING\n this.bufferedAmount = 0\n\n this[kPassthroughPromise] = new DeferredPromise()\n\n queueMicrotask(async () => {\n if (await this[kPassthroughPromise]) {\n return\n }\n\n this.protocol =\n typeof protocols === 'string'\n ? protocols\n : Array.isArray(protocols) && protocols.length > 0\n ? protocols[0]\n : ''\n\n /**\n * @note Check that nothing has prevented this connection\n * (e.g. called `client.close()` in the connection listener).\n * If the connection has been prevented, never dispatch the open event,.\n */\n if (this.readyState === this.CONNECTING) {\n this.readyState = this.OPEN\n this.dispatchEvent(bindEvent(this, new Event('open')))\n }\n })\n }\n\n set onopen(listener: WebSocketEventListener | null) {\n this.removeEventListener('open', this._onopen)\n this._onopen = listener\n if (listener !== null) {\n this.addEventListener('open', listener)\n }\n }\n get onopen(): WebSocketEventListener | null {\n return this._onopen\n }\n\n set onmessage(\n listener: WebSocketEventListener> | null\n ) {\n this.removeEventListener(\n 'message',\n this._onmessage as WebSocketEventListener\n )\n this._onmessage = listener\n if (listener !== null) {\n this.addEventListener('message', listener)\n }\n }\n get onmessage(): WebSocketEventListener> | null {\n return this._onmessage\n }\n\n set onerror(listener: WebSocketEventListener | null) {\n this.removeEventListener('error', this._onerror)\n this._onerror = listener\n if (listener !== null) {\n this.addEventListener('error', listener)\n }\n }\n get onerror(): WebSocketEventListener | null {\n return this._onerror\n }\n\n set onclose(listener: WebSocketEventListener | null) {\n this.removeEventListener('close', this._onclose as WebSocketEventListener)\n this._onclose = listener\n if (listener !== null) {\n this.addEventListener('close', listener)\n }\n }\n get onclose(): WebSocketEventListener | null {\n return this._onclose\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#ref-for-dom-websocket-send%E2%91%A0\n */\n public send(data: WebSocketData): void {\n if (this.readyState === this.CONNECTING) {\n this.close()\n throw new DOMException('InvalidStateError')\n }\n\n // Sending when the socket is about to close\n // discards the sent data.\n if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {\n return\n }\n\n // Buffer the data to send in this even loop\n // but send it in the next.\n this.bufferedAmount += getDataSize(data)\n\n queueMicrotask(() => {\n // This is a bit optimistic but since no actual data transfer\n // is involved, all the data will be \"sent\" on the next tick.\n this.bufferedAmount = 0\n\n /**\n * @note Notify the parent about outgoing data.\n * This notifies the transport and the connection\n * listens to the outgoing data to emit the \"message\" event.\n */\n this[kOnSend]?.(data)\n })\n }\n\n public close(code: number = 1000, reason?: string): void {\n invariant(code, WEBSOCKET_CLOSE_CODE_RANGE_ERROR)\n invariant(\n code === 1000 || (code >= 3000 && code <= 4999),\n WEBSOCKET_CLOSE_CODE_RANGE_ERROR\n )\n\n this[kClose](code, reason)\n }\n\n private [kClose](\n code: number = 1000,\n reason?: string,\n wasClean = true\n ): void {\n /**\n * @note Move this check here so that even internall closures,\n * like those triggered by the `server` connection, are not\n * performed twice.\n */\n if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {\n return\n }\n\n this.readyState = this.CLOSING\n\n queueMicrotask(() => {\n this.readyState = this.CLOSED\n\n this.dispatchEvent(\n bindEvent(\n this,\n new CloseEvent('close', {\n code,\n reason,\n wasClean,\n })\n )\n )\n\n // Remove all event listeners once the socket is closed.\n this._onopen = null\n this._onmessage = null\n this._onerror = null\n this._onclose = null\n })\n }\n\n public addEventListener(\n type: K,\n listener: (this: WebSocket, event: WebSocketEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions\n ): void\n public addEventListener(\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions\n ): void\n public addEventListener(\n type: unknown,\n listener: unknown,\n options?: unknown\n ): void {\n return super.addEventListener(\n type as string,\n listener as EventListener,\n options as AddEventListenerOptions\n )\n }\n\n removeEventListener(\n type: K,\n callback: EventListenerOrEventListenerObject | null,\n options?: boolean | EventListenerOptions\n ): void {\n return super.removeEventListener(type, callback, options)\n }\n}\n\nfunction getDataSize(data: WebSocketData): number {\n if (typeof data === 'string') {\n return data.length\n }\n\n if (data instanceof Blob) {\n return data.size\n }\n\n return data.byteLength\n}\n","import { bindEvent } from './utils/bindEvent'\nimport {\n StrictEventListenerOrEventListenerObject,\n WebSocketData,\n WebSocketTransport,\n WebSocketTransportEventMap,\n} from './WebSocketTransport'\nimport { kOnSend, kClose, WebSocketOverride } from './WebSocketOverride'\nimport { CancelableMessageEvent, CloseEvent } from './utils/events'\n\n/**\n * Abstraction over the given mock `WebSocket` instance that allows\n * for controlling that instance (e.g. sending and receiving messages).\n */\nexport class WebSocketClassTransport\n extends EventTarget\n implements WebSocketTransport\n{\n constructor(protected readonly socket: WebSocketOverride) {\n super()\n\n // Emit the \"close\" event on the transport if the close\n // originates from the WebSocket client. E.g. the application\n // calls \"ws.close()\", not the interceptor.\n this.socket.addEventListener('close', (event) => {\n this.dispatchEvent(bindEvent(this.socket, new CloseEvent('close', event)))\n })\n\n /**\n * Emit the \"outgoing\" event on the transport\n * whenever the WebSocket client sends data (\"ws.send()\").\n */\n this.socket[kOnSend] = (data) => {\n this.dispatchEvent(\n bindEvent(\n this.socket,\n // Dispatch this as cancelable because \"client\" connection\n // re-creates this message event (cannot dispatch the same event).\n new CancelableMessageEvent('outgoing', {\n data,\n origin: this.socket.url,\n cancelable: true,\n })\n )\n )\n }\n }\n\n public addEventListener(\n type: EventType,\n callback: StrictEventListenerOrEventListenerObject<\n WebSocketTransportEventMap[EventType]\n > | null,\n options?: boolean | AddEventListenerOptions\n ): void {\n return super.addEventListener(type, callback as EventListener, options)\n }\n\n public dispatchEvent(\n event: WebSocketTransportEventMap[EventType]\n ): boolean {\n return super.dispatchEvent(event)\n }\n\n public send(data: WebSocketData): void {\n queueMicrotask(() => {\n if (\n this.socket.readyState === this.socket.CLOSING ||\n this.socket.readyState === this.socket.CLOSED\n ) {\n return\n }\n\n const dispatchEvent = () => {\n this.socket.dispatchEvent(\n bindEvent(\n /**\n * @note Setting this event's \"target\" to the\n * WebSocket override instance is important.\n * This way it can tell apart original incoming events\n * (must be forwarded to the transport) from the\n * mocked message events like the one below\n * (must be dispatched on the client instance).\n */\n this.socket,\n new MessageEvent('message', {\n data,\n origin: this.socket.url,\n })\n )\n )\n }\n\n if (this.socket.readyState === this.socket.CONNECTING) {\n this.socket.addEventListener(\n 'open',\n () => {\n dispatchEvent()\n },\n { once: true }\n )\n } else {\n dispatchEvent()\n }\n })\n }\n\n public close(code: number, reason?: string): void {\n /**\n * @note Call the internal close method directly\n * to allow closing the connection with the status codes\n * that are non-configurable by the user (> 1000 <= 1015).\n */\n this.socket[kClose](code, reason)\n }\n}\n","import { Interceptor } from '../../Interceptor'\nimport {\n type WebSocketClientConnectionProtocol,\n WebSocketClientConnection,\n} from './WebSocketClientConnection'\nimport { WebSocketServerConnection } from './WebSocketServerConnection'\nimport { WebSocketClassTransport } from './WebSocketClassTransport'\nimport {\n kClose,\n kPassthroughPromise,\n WebSocketOverride,\n} from './WebSocketOverride'\nimport { bindEvent } from './utils/bindEvent'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\n\nexport { type WebSocketData, WebSocketTransport } from './WebSocketTransport'\nexport {\n WebSocketClientConnection,\n WebSocketClientConnectionProtocol,\n WebSocketServerConnection,\n}\n\nexport type WebSocketEventMap = {\n connection: [args: WebSocketConnectionData]\n}\n\nexport type WebSocketConnectionData = {\n /**\n * The incoming WebSocket client connection.\n */\n client: WebSocketClientConnection\n\n /**\n * The original WebSocket server connection.\n */\n server: WebSocketServerConnection\n\n /**\n * The connection information.\n */\n info: {\n /**\n * The protocols supported by the WebSocket client.\n */\n protocols: string | Array | undefined\n }\n}\n\n/**\n * Intercept the outgoing WebSocket connections created using\n * the global `WebSocket` class.\n */\nexport class WebSocketInterceptor extends Interceptor {\n static symbol = Symbol('websocket')\n\n constructor() {\n super(WebSocketInterceptor.symbol)\n }\n\n protected checkEnvironment(): boolean {\n return hasConfigurableGlobal('WebSocket')\n }\n\n protected setup(): void {\n const originalWebSocketDescriptor = Object.getOwnPropertyDescriptor(\n globalThis,\n 'WebSocket'\n )\n\n const WebSocketProxy = new Proxy(globalThis.WebSocket, {\n construct: (\n target,\n args: ConstructorParameters,\n newTarget\n ) => {\n const [url, protocols] = args\n\n const createConnection = (): WebSocket => {\n return Reflect.construct(target, args, newTarget)\n }\n\n // All WebSocket instances are mocked and don't forward\n // any events to the original server (no connection established).\n // To forward the events, the user must use the \"server.send()\" API.\n const socket = new WebSocketOverride(url, protocols)\n const transport = new WebSocketClassTransport(socket)\n\n // Emit the \"connection\" event to the interceptor on the next tick\n // so the client can modify WebSocket options, like \"binaryType\"\n // while the connection is already pending.\n queueMicrotask(() => {\n try {\n const server = new WebSocketServerConnection(\n socket,\n transport,\n createConnection\n )\n\n // The \"globalThis.WebSocket\" class stands for\n // the client-side connection. Assume it's established\n // as soon as the WebSocket instance is constructed.\n const hasConnectionListeners = this.emitter.emit('connection', {\n client: new WebSocketClientConnection(socket, transport),\n server,\n info: {\n protocols,\n },\n })\n\n if (hasConnectionListeners) {\n socket[kPassthroughPromise].resolve(false)\n } else {\n socket[kPassthroughPromise].resolve(true)\n\n server.connect()\n\n // Forward the \"open\" event from the original server\n // to the mock WebSocket client in the case of a passthrough connection.\n server.addEventListener('open', () => {\n socket.dispatchEvent(bindEvent(socket, new Event('open')))\n\n // Forward the original connection protocol to the\n // mock WebSocket client.\n if (server['realWebSocket']) {\n socket.protocol = server['realWebSocket'].protocol\n }\n })\n }\n } catch (error) {\n /**\n * @note Translate unhandled exceptions during the connection\n * handling (i.e. interceptor exceptions) as WebSocket connection\n * closures with error. This prevents from the exceptions occurring\n * in `queueMicrotask` from being process-wide and uncatchable.\n */\n if (error instanceof Error) {\n socket.dispatchEvent(new Event('error'))\n\n // No need to close the connection if it's already being closed.\n // E.g. the interceptor called `client.close()` and then threw an error.\n if (\n socket.readyState !== WebSocket.CLOSING &&\n socket.readyState !== WebSocket.CLOSED\n ) {\n socket[kClose](1011, error.message, false)\n }\n\n console.error(error)\n }\n }\n })\n\n return socket\n },\n })\n\n Object.defineProperty(globalThis, 'WebSocket', {\n value: WebSocketProxy,\n configurable: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(\n globalThis,\n 'WebSocket',\n originalWebSocketDescriptor!\n )\n })\n }\n}\n"],"mappings":";;;;;;;;;AAEO,SAAS,UACd,QACA,OACuB;AACvB,SAAO,iBAAiB,OAAO;AAAA,IAC7B,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,UAAU;AAAA,IACZ;AAAA,IACA,eAAe;AAAA,MACb,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,UAAU;AAAA,IACZ;AAAA,EACF,CAAC;AAED,SAAO;AACT;;;ACpBA,IAAM,cAAc,OAAO,aAAa;AACxC,IAAM,oBAAoB,OAAO,mBAAmB;AAS7C,IAAM,yBAAN,cAA8C,aAAgB;AAAA,EAInE,YAAY,MAAc,MAA2B;AACnD,UAAM,MAAM,IAAI;AAChB,SAAK,WAAW,IAAI,CAAC,CAAC,KAAK;AAC3B,SAAK,iBAAiB,IAAI;AAAA,EAC5B;AAAA,EAEA,IAAI,aAAa;AACf,WAAO,KAAK,WAAW;AAAA,EACzB;AAAA,EAEA,IAAI,WAAW,gBAAgB;AAC7B,SAAK,WAAW,IAAI;AAAA,EACtB;AAAA,EAEA,IAAI,mBAAmB;AACrB,WAAO,KAAK,iBAAiB;AAAA,EAC/B;AAAA,EAEA,IAAI,iBAAiB,sBAAsB;AACzC,SAAK,iBAAiB,IAAI;AAAA,EAC5B;AAAA,EAEO,iBAAuB;AAC5B,QAAI,KAAK,cAAc,CAAC,KAAK,iB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F;AAAA,YACF,CAAC;AAED,gBAAI,wBAAwB;AAC1B,qBAAO,mBAAmB,EAAE,QAAQ,KAAK;AAAA,YAC3C,OAAO;AACL,qBAAO,mBAAmB,EAAE,QAAQ,IAAI;AAExC,qBAAO,QAAQ;AAIf,qBAAO,iBAAiB,QAAQ,MAAM;AACpC,uBAAO,cAAc,UAAU,QAAQ,IAAI,MAAM,MAAM,CAAC,CAAC;AAIzD,oBAAI,OAAO,eAAe,GAAG;AAC3B,yBAAO,WAAW,OAAO,eAAe,EAAE;AAAA,gBAC5C;AAAA,cACF,CAAC;AAAA,YACH;AAAA,UACF,SAAS,OAAP;AAOA,gBAAI,iBAAiB,OAAO;AAC1B,qBAAO,cAAc,IAAI,MAAM,OAAO,CAAC;AAIvC,kBACE,OAAO,eAAe,UAAU,WAChC,OAAO,eAAe,UAAU,QAChC;AACA,uBAAO,MAAM,EAAE,MAAM,MAAM,SAAS,KAAK;AAAA,cAC3C;AAEA,sBAAQ,MAAM,KAAK;AAAA,YACrB;AAAA,UACF;AAAA,QACF,CAAC;AAED,eAAO;AAAA,MACT;AAAA,IACF,CAAC;AAED,WAAO,eAAe,YAAY,aAAa;AAAA,MAC7C,OAAO;AAAA,MACP,cAAc;AAAA,IAChB,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACF;AArHO,IAAM,uBAAN;AAAM,qBACJ,SAAS,OAAO,WAAW;","names":["invariant","kEmitter","kBoundListener","invariant"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.d.ts b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.d.ts new file mode 100644 index 0000000000..477a2a659c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.d.ts @@ -0,0 +1,15 @@ +import { Emitter } from 'strict-event-emitter'; +import { H as HttpRequestEventMap } from '../../glossary-6564c252.js'; +import { I as Interceptor } from '../../Interceptor-af98b768.js'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; + +type XMLHttpRequestEmitter = Emitter; +declare class XMLHttpRequestInterceptor extends Interceptor { + static interceptorSymbol: symbol; + constructor(); + protected checkEnvironment(): boolean; + protected setup(): void; +} + +export { XMLHttpRequestEmitter, XMLHttpRequestInterceptor }; diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js new file mode 100644 index 0000000000..4ff356c93d --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js @@ -0,0 +1,12 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkZIT2QX7Djs = require('../../chunk-ZIT2QX7D.js'); +require('../../chunk-LK6DILFK.js'); +require('../../chunk-FGSEOIC4.js'); +require('../../chunk-BC2BLJQN.js'); +require('../../chunk-PFGO5BSM.js'); +require('../../chunk-TIPR373R.js'); + + +exports.XMLHttpRequestInterceptor = _chunkZIT2QX7Djs.XMLHttpRequestInterceptor; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js.map b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js.map new file mode 100644 index 0000000000..a464c6732e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs new file mode 100644 index 0000000000..f2d02410cb --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs @@ -0,0 +1,12 @@ +import { + XMLHttpRequestInterceptor +} from "../../chunk-DODHRDV6.mjs"; +import "../../chunk-6HYIRFX2.mjs"; +import "../../chunk-H5O73WD2.mjs"; +import "../../chunk-5UK33FSU.mjs"; +import "../../chunk-TX5GBTFY.mjs"; +import "../../chunk-QED3Q6Z2.mjs"; +export { + XMLHttpRequestInterceptor +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs.map new file mode 100644 index 0000000000..84c51b288c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.d.ts b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.d.ts new file mode 100644 index 0000000000..ef276846a8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.d.ts @@ -0,0 +1,14 @@ +import { H as HttpRequestEventMap } from '../../glossary-6564c252.js'; +import { I as Interceptor } from '../../Interceptor-af98b768.js'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; +import 'strict-event-emitter'; + +declare class FetchInterceptor extends Interceptor { + static symbol: symbol; + constructor(); + protected checkEnvironment(): boolean; + protected setup(): Promise; +} + +export { FetchInterceptor }; diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js new file mode 100644 index 0000000000..00603361cb --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js @@ -0,0 +1,11 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkQVOTKFTBjs = require('../../chunk-QVOTKFTB.js'); +require('../../chunk-FGSEOIC4.js'); +require('../../chunk-BC2BLJQN.js'); +require('../../chunk-PFGO5BSM.js'); +require('../../chunk-TIPR373R.js'); + + +exports.FetchInterceptor = _chunkQVOTKFTBjs.FetchInterceptor; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js.map b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js.map new file mode 100644 index 0000000000..a464c6732e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs new file mode 100644 index 0000000000..a8673043d5 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs @@ -0,0 +1,11 @@ +import { + FetchInterceptor +} from "../../chunk-XTX2SIN6.mjs"; +import "../../chunk-H5O73WD2.mjs"; +import "../../chunk-5UK33FSU.mjs"; +import "../../chunk-TX5GBTFY.mjs"; +import "../../chunk-QED3Q6Z2.mjs"; +export { + FetchInterceptor +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs.map new file mode 100644 index 0000000000..84c51b288c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/presets/browser.d.ts b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.d.ts new file mode 100644 index 0000000000..fb4d2e49fb --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.d.ts @@ -0,0 +1,15 @@ +import { FetchInterceptor } from '../interceptors/fetch/index.js'; +import { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest/index.js'; +import '../glossary-6564c252.js'; +import '@open-draft/deferred-promise'; +import '../Interceptor-af98b768.js'; +import '@open-draft/logger'; +import 'strict-event-emitter'; + +/** + * The default preset provisions the interception of requests + * regardless of their type (fetch/XMLHttpRequest). + */ +declare const _default: readonly [FetchInterceptor, XMLHttpRequestInterceptor]; + +export { _default as default }; diff --git a/node_modules/@mswjs/interceptors/lib/browser/presets/browser.js b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.js new file mode 100644 index 0000000000..e3b183fa34 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.js @@ -0,0 +1,21 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkZIT2QX7Djs = require('../chunk-ZIT2QX7D.js'); +require('../chunk-LK6DILFK.js'); + + +var _chunkQVOTKFTBjs = require('../chunk-QVOTKFTB.js'); +require('../chunk-FGSEOIC4.js'); +require('../chunk-BC2BLJQN.js'); +require('../chunk-PFGO5BSM.js'); +require('../chunk-TIPR373R.js'); + +// src/presets/browser.ts +var browser_default = [ + new (0, _chunkQVOTKFTBjs.FetchInterceptor)(), + new (0, _chunkZIT2QX7Djs.XMLHttpRequestInterceptor)() +]; + + +exports.default = browser_default; +//# sourceMappingURL=browser.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/presets/browser.js.map b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.js.map new file mode 100644 index 0000000000..fc2cb3d5d7 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/presets/browser.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAOA,IAAO,kBAAQ;AAAA,EACb,IAAI,iBAAiB;AAAA,EACrB,IAAI,0BAA0B;AAChC","sourcesContent":["import { FetchInterceptor } from '../interceptors/fetch'\nimport { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest'\n\n/**\n * The default preset provisions the interception of requests\n * regardless of their type (fetch/XMLHttpRequest).\n */\nexport default [\n new FetchInterceptor(),\n new XMLHttpRequestInterceptor(),\n] as const\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs new file mode 100644 index 0000000000..33ea87b522 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs @@ -0,0 +1,21 @@ +import { + XMLHttpRequestInterceptor +} from "../chunk-DODHRDV6.mjs"; +import "../chunk-6HYIRFX2.mjs"; +import { + FetchInterceptor +} from "../chunk-XTX2SIN6.mjs"; +import "../chunk-H5O73WD2.mjs"; +import "../chunk-5UK33FSU.mjs"; +import "../chunk-TX5GBTFY.mjs"; +import "../chunk-QED3Q6Z2.mjs"; + +// src/presets/browser.ts +var browser_default = [ + new FetchInterceptor(), + new XMLHttpRequestInterceptor() +]; +export { + browser_default as default +}; +//# sourceMappingURL=browser.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs.map b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs.map new file mode 100644 index 0000000000..05ee5a1e59 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/presets/browser.ts"],"sourcesContent":["import { FetchInterceptor } from '../interceptors/fetch'\nimport { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest'\n\n/**\n * The default preset provisions the interception of requests\n * regardless of their type (fetch/XMLHttpRequest).\n */\nexport default [\n new FetchInterceptor(),\n new XMLHttpRequestInterceptor(),\n] as const\n"],"mappings":";;;;;;;;;;;;;AAOA,IAAO,kBAAQ;AAAA,EACb,IAAI,iBAAiB;AAAA,EACrB,IAAI,0BAA0B;AAChC;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-67bf41ba.d.ts b/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-67bf41ba.d.ts new file mode 100644 index 0000000000..b90f91bc9a --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-67bf41ba.d.ts @@ -0,0 +1,24 @@ +import { EventMap, Listener } from 'strict-event-emitter'; +import { h as Interceptor, E as ExtractEventNames } from './Interceptor-436630be.js'; + +interface BatchInterceptorOptions>> { + name: string; + interceptors: InterceptorList; +} +type ExtractEventMapType>> = InterceptorList extends ReadonlyArray ? InterceptorType extends Interceptor ? EventMap : never : never; +/** + * A batch interceptor that exposes a single interface + * to apply and operate with multiple interceptors at once. + */ +declare class BatchInterceptor>, Events extends EventMap = ExtractEventMapType> extends Interceptor { + static symbol: symbol; + private interceptors; + constructor(options: BatchInterceptorOptions); + protected setup(): void; + on>(event: EventName, listener: Listener): this; + once>(event: EventName, listener: Listener): this; + off>(event: EventName, listener: Listener): this; + removeAllListeners>(event?: EventName | undefined): this; +} + +export { BatchInterceptorOptions as B, ExtractEventMapType as E, BatchInterceptor as a }; diff --git a/node_modules/@mswjs/interceptors/lib/node/Interceptor-436630be.d.ts b/node_modules/@mswjs/interceptors/lib/node/Interceptor-436630be.d.ts new file mode 100644 index 0000000000..08323b54c8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/Interceptor-436630be.d.ts @@ -0,0 +1,128 @@ +import { DeferredPromise } from '@open-draft/deferred-promise'; +import { Logger } from '@open-draft/logger'; +import { Emitter, Listener } from 'strict-event-emitter'; + +declare const kRequestHandled: unique symbol; +declare const kResponsePromise: unique symbol; +declare class RequestController { + private request; + /** + * Internal response promise. + * Available only for the library internals to grab the + * response instance provided by the developer. + * @note This promise cannot be rejected. It's either infinitely + * pending or resolved with whichever Response was passed to `respondWith()`. + */ + [kResponsePromise]: DeferredPromise; + /** + * Internal flag indicating if this request has been handled. + * @note The response promise becomes "fulfilled" on the next tick. + */ + [kRequestHandled]: boolean; + constructor(request: Request); + /** + * Respond to this request with the given `Response` instance. + * @example + * controller.respondWith(new Response()) + * controller.respondWith(Response.json({ id })) + * controller.respondWith(Response.error()) + */ + respondWith(response: Response): void; + /** + * Error this request with the given error. + * @example + * controller.errorWith() + * controller.errorWith(new Error('Oops!')) + */ + errorWith(error?: Error): void; +} + +declare const IS_PATCHED_MODULE: unique symbol; + +type RequestCredentials = 'omit' | 'include' | 'same-origin'; +type HttpRequestEventMap = { + request: [ + args: { + request: Request; + requestId: string; + controller: RequestController; + } + ]; + response: [ + args: { + response: Response; + isMockedResponse: boolean; + request: Request; + requestId: string; + } + ]; + unhandledException: [ + args: { + error: unknown; + request: Request; + requestId: string; + controller: RequestController; + } + ]; +}; + +type InterceptorEventMap = Record; +type InterceptorSubscription = () => void; +/** + * Request header name to detect when a single request + * is being handled by nested interceptors (XHR -> ClientRequest). + * Obscure by design to prevent collisions with user-defined headers. + * Ideally, come up with the Interceptor-level mechanism for this. + * @see https://github.com/mswjs/interceptors/issues/378 + */ +declare const INTERNAL_REQUEST_ID_HEADER_NAME = "x-interceptors-internal-request-id"; +declare function getGlobalSymbol(symbol: Symbol): V | undefined; +declare function deleteGlobalSymbol(symbol: Symbol): void; +declare enum InterceptorReadyState { + INACTIVE = "INACTIVE", + APPLYING = "APPLYING", + APPLIED = "APPLIED", + DISPOSING = "DISPOSING", + DISPOSED = "DISPOSED" +} +type ExtractEventNames> = Events extends Record ? EventName : never; +declare class Interceptor { + private readonly symbol; + protected emitter: Emitter; + protected subscriptions: Array; + protected logger: Logger; + readyState: InterceptorReadyState; + constructor(symbol: symbol); + /** + * Determine if this interceptor can be applied + * in the current environment. + */ + protected checkEnvironment(): boolean; + /** + * Apply this interceptor to the current process. + * Returns an already running interceptor instance if it's present. + */ + apply(): void; + /** + * Setup the module augments and stubs necessary for this interceptor. + * This method is not run if there's a running interceptor instance + * to prevent instantiating an interceptor multiple times. + */ + protected setup(): void; + /** + * Listen to the interceptor's public events. + */ + on>(event: EventName, listener: Listener): this; + once>(event: EventName, listener: Listener): this; + off>(event: EventName, listener: Listener): this; + removeAllListeners>(event?: EventName): this; + /** + * Disposes of any side-effects this interceptor has introduced. + */ + dispose(): void; + private getInstance; + private setInstance; + private clearInstance; +} + +export { ExtractEventNames as E, HttpRequestEventMap as H, IS_PATCHED_MODULE as I, RequestController as R, RequestCredentials as a, InterceptorEventMap as b, InterceptorSubscription as c, INTERNAL_REQUEST_ID_HEADER_NAME as d, deleteGlobalSymbol as e, InterceptorReadyState as f, getGlobalSymbol as g, Interceptor as h }; diff --git a/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.d.ts b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.d.ts new file mode 100644 index 0000000000..67c0866cad --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.d.ts @@ -0,0 +1,43 @@ +import { ChildProcess } from 'child_process'; +import { h as Interceptor, H as HttpRequestEventMap } from './Interceptor-436630be.js'; +import { a as BatchInterceptor } from './BatchInterceptor-67bf41ba.js'; +import { ClientRequestInterceptor } from './interceptors/ClientRequest/index.js'; +import { XMLHttpRequestInterceptor } from './interceptors/XMLHttpRequest/index.js'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; +import 'strict-event-emitter'; +import 'node:net'; + +interface SerializedRequest { + id: string; + url: string; + method: string; + headers: Array<[string, string]>; + credentials: RequestCredentials; + body: string; +} +interface SerializedResponse { + status: number; + statusText: string; + headers: Array<[string, string]>; + body: string; +} +declare class RemoteHttpInterceptor extends BatchInterceptor<[ + ClientRequestInterceptor, + XMLHttpRequestInterceptor +]> { + constructor(); + protected setup(): void; +} +declare function requestReviver(key: string, value: any): any; +interface RemoveResolverOptions { + process: ChildProcess; +} +declare class RemoteHttpResolver extends Interceptor { + static symbol: symbol; + private process; + constructor(options: RemoveResolverOptions); + protected setup(): void; +} + +export { RemoteHttpInterceptor, RemoteHttpResolver, RemoveResolverOptions, SerializedRequest, SerializedResponse, requestReviver }; diff --git a/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js new file mode 100644 index 0000000000..266357ab9c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js @@ -0,0 +1,187 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkYBN5MFAPjs = require('./chunk-YBN5MFAP.js'); + + +var _chunk4IGRW7SKjs = require('./chunk-4IGRW7SK.js'); + + +var _chunkLCA4FKWYjs = require('./chunk-LCA4FKWY.js'); +require('./chunk-LK6DILFK.js'); +require('./chunk-PFGO5BSM.js'); +require('./chunk-73NOP3T5.js'); + + + +var _chunk6L3PFBGTjs = require('./chunk-6L3PFBGT.js'); + + + +var _chunkWZTE4PCOjs = require('./chunk-WZTE4PCO.js'); + +// src/RemoteHttpInterceptor.ts +var RemoteHttpInterceptor = class extends _chunkYBN5MFAPjs.BatchInterceptor { + constructor() { + super({ + name: "remote-interceptor", + interceptors: [ + new (0, _chunk4IGRW7SKjs.ClientRequestInterceptor)(), + new (0, _chunkLCA4FKWYjs.XMLHttpRequestInterceptor)() + ] + }); + } + setup() { + super.setup(); + let handleParentMessage; + this.on("request", async ({ request, requestId, controller }) => { + var _a; + const serializedRequest = JSON.stringify({ + id: requestId, + method: request.method, + url: request.url, + headers: Array.from(request.headers.entries()), + credentials: request.credentials, + body: ["GET", "HEAD"].includes(request.method) ? null : await request.text() + }); + this.logger.info( + "sent serialized request to the child:", + serializedRequest + ); + (_a = process.send) == null ? void 0 : _a.call(process, `request:${serializedRequest}`); + const responsePromise = new Promise((resolve) => { + handleParentMessage = (message) => { + if (typeof message !== "string") { + return resolve(); + } + if (message.startsWith(`response:${requestId}`)) { + const [, serializedResponse] = message.match(/^response:.+?:(.+)$/) || []; + if (!serializedResponse) { + return resolve(); + } + const responseInit = JSON.parse( + serializedResponse + ); + const mockedResponse = new (0, _chunkWZTE4PCOjs.FetchResponse)(responseInit.body, { + url: request.url, + status: responseInit.status, + statusText: responseInit.statusText, + headers: responseInit.headers + }); + controller.respondWith(mockedResponse); + return resolve(); + } + }; + }); + this.logger.info( + 'add "message" listener to the parent process', + handleParentMessage + ); + process.addListener("message", handleParentMessage); + return responsePromise; + }); + this.subscriptions.push(() => { + process.removeListener("message", handleParentMessage); + }); + } +}; +function requestReviver(key, value) { + switch (key) { + case "url": + return new URL(value); + case "headers": + return new Headers(value); + default: + return value; + } +} +var _RemoteHttpResolver = class extends _chunkWZTE4PCOjs.Interceptor { + constructor(options) { + super(_RemoteHttpResolver.symbol); + this.process = options.process; + } + setup() { + const logger = this.logger.extend("setup"); + const handleChildMessage = async (message) => { + logger.info("received message from child!", message); + if (typeof message !== "string" || !message.startsWith("request:")) { + logger.info("unknown message, ignoring..."); + return; + } + const [, serializedRequest] = message.match(/^request:(.+)$/) || []; + if (!serializedRequest) { + return; + } + const requestJson = JSON.parse( + serializedRequest, + requestReviver + ); + logger.info("parsed intercepted request", requestJson); + const request = new Request(requestJson.url, { + method: requestJson.method, + headers: new Headers(requestJson.headers), + credentials: requestJson.credentials, + body: requestJson.body + }); + const controller = new (0, _chunk6L3PFBGTjs.RequestController)(request); + await _chunk6L3PFBGTjs.handleRequest.call(void 0, { + request, + requestId: requestJson.id, + controller, + emitter: this.emitter, + onResponse: async (response) => { + this.logger.info("received mocked response!", { response }); + const responseClone = response.clone(); + const responseText = await responseClone.text(); + const serializedResponse = JSON.stringify({ + status: response.status, + statusText: response.statusText, + headers: Array.from(response.headers.entries()), + body: responseText + }); + this.process.send( + `response:${requestJson.id}:${serializedResponse}`, + (error) => { + if (error) { + return; + } + this.emitter.emit("response", { + request, + requestId: requestJson.id, + response: responseClone, + isMockedResponse: true + }); + } + ); + logger.info( + "sent serialized mocked response to the parent:", + serializedResponse + ); + }, + onRequestError: (response) => { + this.logger.info("received a network error!", { response }); + throw new Error("Not implemented"); + }, + onError: (error) => { + this.logger.info("request has errored!", { error }); + throw new Error("Not implemented"); + } + }); + }; + this.subscriptions.push(() => { + this.process.removeListener("message", handleChildMessage); + logger.info('removed the "message" listener from the child process!'); + }); + logger.info('adding a "message" listener to the child process'); + this.process.addListener("message", handleChildMessage); + this.process.once("error", () => this.dispose()); + this.process.once("exit", () => this.dispose()); + } +}; +var RemoteHttpResolver = _RemoteHttpResolver; +RemoteHttpResolver.symbol = Symbol("remote-resolver"); + + + + +exports.RemoteHttpInterceptor = RemoteHttpInterceptor; exports.RemoteHttpResolver = RemoteHttpResolver; exports.requestReviver = requestReviver; +//# sourceMappingURL=RemoteHttpInterceptor.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js.map b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js.map new file mode 100644 index 0000000000..f44fcd3058 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/RemoteHttpInterceptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA+BO,IAAM,wBAAN,cAAoC,iBAEzC;AAAA,EACA,cAAc;AACZ,UAAM;AAAA,MACJ,MAAM;AAAA,MACN,cAAc;AAAA,QACZ,IAAI,yBAAyB;AAAA,QAC7B,IAAI,0BAA0B;AAAA,MAChC;AAAA,IACF,CAAC;AAAA,EACH;AAAA,EAEU,QAAQ;AAChB,UAAM,MAAM;AAEZ,QAAI;AAEJ,SAAK,GAAG,WAAW,OAAO,EAAE,SAAS,WAAW,WAAW,MAAM;AAjDrE;AAoDM,YAAM,oBAAoB,KAAK,UAAU;AAAA,QACvC,IAAI;AAAA,QACJ,QAAQ,QAAQ;AAAA,QAChB,KAAK,QAAQ;AAAA,QACb,SAAS,MAAM,KAAK,QAAQ,QAAQ,QAAQ,CAAC;AAAA,QAC7C,aAAa,QA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AC9B,CAAC,UAAU;AACT,kBAAI,OAAO;AACT;AAAA,cACF;AAIA,mBAAK,QAAQ,KAAK,YAAY;AAAA,gBAC5B;AAAA,gBACA,WAAW,YAAY;AAAA,gBACvB,UAAU;AAAA,gBACV,kBAAkB;AAAA,cACpB,CAAC;AAAA,YACH;AAAA,UACF;AAEA,iBAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,QACA,gBAAgB,CAAC,aAAa;AAC5B,eAAK,OAAO,KAAK,6BAA6B,EAAE,SAAS,CAAC;AAC1D,gBAAM,IAAI,MAAM,iBAAiB;AAAA,QACnC;AAAA,QACA,SAAS,CAAC,UAAU;AAClB,eAAK,OAAO,KAAK,wBAAwB,EAAE,MAAM,CAAC;AAClD,gBAAM,IAAI,MAAM,iBAAiB;AAAA,QACnC;AAAA,MACF,CAAC;AAAA,IACH;AAEA,SAAK,cAAc,KAAK,MAAM;AAC5B,WAAK,QAAQ,eAAe,WAAW,kBAAkB;AACzD,aAAO,KAAK,wDAAwD;AAAA,IACtE,CAAC;AAED,WAAO,KAAK,kDAAkD;AAC9D,SAAK,QAAQ,YAAY,WAAW,kBAAkB;AAEtD,SAAK,QAAQ,KAAK,SAAS,MAAM,KAAK,QAAQ,CAAC;AAC/C,SAAK,QAAQ,KAAK,QAAQ,MAAM,KAAK,QAAQ,CAAC;AAAA,EAChD;AACF;AAxGO,IAAM,qBAAN;AAAM,mBACJ,SAAS,OAAO,iBAAiB","sourcesContent":["import { ChildProcess } from 'child_process'\nimport { HttpRequestEventMap } from './glossary'\nimport { Interceptor } from './Interceptor'\nimport { BatchInterceptor } from './BatchInterceptor'\nimport { ClientRequestInterceptor } from './interceptors/ClientRequest'\nimport { XMLHttpRequestInterceptor } from './interceptors/XMLHttpRequest'\nimport { handleRequest } from './utils/handleRequest'\nimport { RequestController } from './RequestController'\nimport { FetchResponse } from './utils/fetchUtils'\n\nexport interface SerializedRequest {\n id: string\n url: string\n method: string\n headers: Array<[string, string]>\n credentials: RequestCredentials\n body: string\n}\n\ninterface RevivedRequest extends Omit {\n url: URL\n headers: Headers\n}\n\nexport interface SerializedResponse {\n status: number\n statusText: string\n headers: Array<[string, string]>\n body: string\n}\n\nexport class RemoteHttpInterceptor extends BatchInterceptor<\n [ClientRequestInterceptor, XMLHttpRequestInterceptor]\n> {\n constructor() {\n super({\n name: 'remote-interceptor',\n interceptors: [\n new ClientRequestInterceptor(),\n new XMLHttpRequestInterceptor(),\n ],\n })\n }\n\n protected setup() {\n super.setup()\n\n let handleParentMessage: NodeJS.MessageListener\n\n this.on('request', async ({ request, requestId, controller }) => {\n // Send the stringified intercepted request to\n // the parent process where the remote resolver is established.\n const serializedRequest = JSON.stringify({\n id: requestId,\n method: request.method,\n url: request.url,\n headers: Array.from(request.headers.entries()),\n credentials: request.credentials,\n body: ['GET', 'HEAD'].includes(request.method)\n ? null\n : await request.text(),\n } as SerializedRequest)\n\n this.logger.info(\n 'sent serialized request to the child:',\n serializedRequest\n )\n\n process.send?.(`request:${serializedRequest}`)\n\n const responsePromise = new Promise((resolve) => {\n handleParentMessage = (message) => {\n if (typeof message !== 'string') {\n return resolve()\n }\n\n if (message.startsWith(`response:${requestId}`)) {\n const [, serializedResponse] =\n message.match(/^response:.+?:(.+)$/) || []\n\n if (!serializedResponse) {\n return resolve()\n }\n\n const responseInit = JSON.parse(\n serializedResponse\n ) as SerializedResponse\n\n const mockedResponse = new FetchResponse(responseInit.body, {\n url: request.url,\n status: responseInit.status,\n statusText: responseInit.statusText,\n headers: responseInit.headers,\n })\n\n /**\n * @todo Support \"errorWith\" as well.\n * This response handling from the child is incomplete.\n */\n\n controller.respondWith(mockedResponse)\n return resolve()\n }\n }\n })\n\n // Listen for the mocked response message from the parent.\n this.logger.info(\n 'add \"message\" listener to the parent process',\n handleParentMessage\n )\n process.addListener('message', handleParentMessage)\n\n return responsePromise\n })\n\n this.subscriptions.push(() => {\n process.removeListener('message', handleParentMessage)\n })\n }\n}\n\nexport function requestReviver(key: string, value: any) {\n switch (key) {\n case 'url':\n return new URL(value)\n\n case 'headers':\n return new Headers(value)\n\n default:\n return value\n }\n}\n\nexport interface RemoveResolverOptions {\n process: ChildProcess\n}\n\nexport class RemoteHttpResolver extends Interceptor {\n static symbol = Symbol('remote-resolver')\n private process: ChildProcess\n\n constructor(options: RemoveResolverOptions) {\n super(RemoteHttpResolver.symbol)\n this.process = options.process\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n const handleChildMessage: NodeJS.MessageListener = async (message) => {\n logger.info('received message from child!', message)\n\n if (typeof message !== 'string' || !message.startsWith('request:')) {\n logger.info('unknown message, ignoring...')\n return\n }\n\n const [, serializedRequest] = message.match(/^request:(.+)$/) || []\n if (!serializedRequest) {\n return\n }\n\n const requestJson = JSON.parse(\n serializedRequest,\n requestReviver\n ) as RevivedRequest\n\n logger.info('parsed intercepted request', requestJson)\n\n const request = new Request(requestJson.url, {\n method: requestJson.method,\n headers: new Headers(requestJson.headers),\n credentials: requestJson.credentials,\n body: requestJson.body,\n })\n\n const controller = new RequestController(request)\n await handleRequest({\n request,\n requestId: requestJson.id,\n controller,\n emitter: this.emitter,\n onResponse: async (response) => {\n this.logger.info('received mocked response!', { response })\n\n const responseClone = response.clone()\n const responseText = await responseClone.text()\n\n // // Send the mocked response to the child process.\n const serializedResponse = JSON.stringify({\n status: response.status,\n statusText: response.statusText,\n headers: Array.from(response.headers.entries()),\n body: responseText,\n } as SerializedResponse)\n\n this.process.send(\n `response:${requestJson.id}:${serializedResponse}`,\n (error) => {\n if (error) {\n return\n }\n\n // Emit an optimistic \"response\" event at this point,\n // not to rely on the back-and-forth signaling for the sake of the event.\n this.emitter.emit('response', {\n request,\n requestId: requestJson.id,\n response: responseClone,\n isMockedResponse: true,\n })\n }\n )\n\n logger.info(\n 'sent serialized mocked response to the parent:',\n serializedResponse\n )\n },\n onRequestError: (response) => {\n this.logger.info('received a network error!', { response })\n throw new Error('Not implemented')\n },\n onError: (error) => {\n this.logger.info('request has errored!', { error })\n throw new Error('Not implemented')\n },\n })\n }\n\n this.subscriptions.push(() => {\n this.process.removeListener('message', handleChildMessage)\n logger.info('removed the \"message\" listener from the child process!')\n })\n\n logger.info('adding a \"message\" listener to the child process')\n this.process.addListener('message', handleChildMessage)\n\n this.process.once('error', () => this.dispose())\n this.process.once('exit', () => this.dispose())\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs new file mode 100644 index 0000000000..9ffd41a1e2 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs @@ -0,0 +1,187 @@ +import { + BatchInterceptor +} from "./chunk-PJA4E426.mjs"; +import { + ClientRequestInterceptor +} from "./chunk-QFFDMWKW.mjs"; +import { + XMLHttpRequestInterceptor +} from "./chunk-OMWE7UVM.mjs"; +import "./chunk-6HYIRFX2.mjs"; +import "./chunk-TX5GBTFY.mjs"; +import "./chunk-6YM4PLBI.mjs"; +import { + RequestController, + handleRequest +} from "./chunk-5KMS5CTP.mjs"; +import { + FetchResponse, + Interceptor +} from "./chunk-I7HQIBT7.mjs"; + +// src/RemoteHttpInterceptor.ts +var RemoteHttpInterceptor = class extends BatchInterceptor { + constructor() { + super({ + name: "remote-interceptor", + interceptors: [ + new ClientRequestInterceptor(), + new XMLHttpRequestInterceptor() + ] + }); + } + setup() { + super.setup(); + let handleParentMessage; + this.on("request", async ({ request, requestId, controller }) => { + var _a; + const serializedRequest = JSON.stringify({ + id: requestId, + method: request.method, + url: request.url, + headers: Array.from(request.headers.entries()), + credentials: request.credentials, + body: ["GET", "HEAD"].includes(request.method) ? null : await request.text() + }); + this.logger.info( + "sent serialized request to the child:", + serializedRequest + ); + (_a = process.send) == null ? void 0 : _a.call(process, `request:${serializedRequest}`); + const responsePromise = new Promise((resolve) => { + handleParentMessage = (message) => { + if (typeof message !== "string") { + return resolve(); + } + if (message.startsWith(`response:${requestId}`)) { + const [, serializedResponse] = message.match(/^response:.+?:(.+)$/) || []; + if (!serializedResponse) { + return resolve(); + } + const responseInit = JSON.parse( + serializedResponse + ); + const mockedResponse = new FetchResponse(responseInit.body, { + url: request.url, + status: responseInit.status, + statusText: responseInit.statusText, + headers: responseInit.headers + }); + controller.respondWith(mockedResponse); + return resolve(); + } + }; + }); + this.logger.info( + 'add "message" listener to the parent process', + handleParentMessage + ); + process.addListener("message", handleParentMessage); + return responsePromise; + }); + this.subscriptions.push(() => { + process.removeListener("message", handleParentMessage); + }); + } +}; +function requestReviver(key, value) { + switch (key) { + case "url": + return new URL(value); + case "headers": + return new Headers(value); + default: + return value; + } +} +var _RemoteHttpResolver = class extends Interceptor { + constructor(options) { + super(_RemoteHttpResolver.symbol); + this.process = options.process; + } + setup() { + const logger = this.logger.extend("setup"); + const handleChildMessage = async (message) => { + logger.info("received message from child!", message); + if (typeof message !== "string" || !message.startsWith("request:")) { + logger.info("unknown message, ignoring..."); + return; + } + const [, serializedRequest] = message.match(/^request:(.+)$/) || []; + if (!serializedRequest) { + return; + } + const requestJson = JSON.parse( + serializedRequest, + requestReviver + ); + logger.info("parsed intercepted request", requestJson); + const request = new Request(requestJson.url, { + method: requestJson.method, + headers: new Headers(requestJson.headers), + credentials: requestJson.credentials, + body: requestJson.body + }); + const controller = new RequestController(request); + await handleRequest({ + request, + requestId: requestJson.id, + controller, + emitter: this.emitter, + onResponse: async (response) => { + this.logger.info("received mocked response!", { response }); + const responseClone = response.clone(); + const responseText = await responseClone.text(); + const serializedResponse = JSON.stringify({ + status: response.status, + statusText: response.statusText, + headers: Array.from(response.headers.entries()), + body: responseText + }); + this.process.send( + `response:${requestJson.id}:${serializedResponse}`, + (error) => { + if (error) { + return; + } + this.emitter.emit("response", { + request, + requestId: requestJson.id, + response: responseClone, + isMockedResponse: true + }); + } + ); + logger.info( + "sent serialized mocked response to the parent:", + serializedResponse + ); + }, + onRequestError: (response) => { + this.logger.info("received a network error!", { response }); + throw new Error("Not implemented"); + }, + onError: (error) => { + this.logger.info("request has errored!", { error }); + throw new Error("Not implemented"); + } + }); + }; + this.subscriptions.push(() => { + this.process.removeListener("message", handleChildMessage); + logger.info('removed the "message" listener from the child process!'); + }); + logger.info('adding a "message" listener to the child process'); + this.process.addListener("message", handleChildMessage); + this.process.once("error", () => this.dispose()); + this.process.once("exit", () => this.dispose()); + } +}; +var RemoteHttpResolver = _RemoteHttpResolver; +RemoteHttpResolver.symbol = Symbol("remote-resolver"); +export { + RemoteHttpInterceptor, + RemoteHttpResolver, + requestReviver +}; +//# sourceMappingURL=RemoteHttpInterceptor.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs.map b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs.map new file mode 100644 index 0000000000..b8ef19807a --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/RemoteHttpInterceptor.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/RemoteHttpInterceptor.ts"],"sourcesContent":["import { ChildProcess } from 'child_process'\nimport { HttpRequestEventMap } from './glossary'\nimport { Interceptor } from './Interceptor'\nimport { BatchInterceptor } from './BatchInterceptor'\nimport { ClientRequestInterceptor } from './interceptors/ClientRequest'\nimport { XMLHttpRequestInterceptor } from './interceptors/XMLHttpRequest'\nimport { handleRequest } from './utils/handleRequest'\nimport { RequestController } from './RequestController'\nimport { FetchResponse } from './utils/fetchUtils'\n\nexport interface SerializedRequest {\n id: string\n url: string\n method: string\n headers: Array<[string, string]>\n credentials: RequestCredentials\n body: string\n}\n\ninterface RevivedRequest extends Omit {\n url: URL\n headers: Headers\n}\n\nexport interface SerializedResponse {\n status: number\n statusText: string\n headers: Array<[string, string]>\n body: string\n}\n\nexport class RemoteHttpInterceptor extends BatchInterceptor<\n [ClientRequestInterceptor, XMLHttpRequestInterceptor]\n> {\n constructor() {\n super({\n name: 'remote-interceptor',\n interceptors: [\n new ClientRequestInterceptor(),\n new XMLHttpRequestInterceptor(),\n ],\n })\n }\n\n protected setup() {\n super.setup()\n\n let handleParentMessage: NodeJS.MessageListener\n\n this.on('request', async ({ request, requestId, controller }) => {\n // Send the stringified intercepted request to\n // the parent process where the remote resolver is established.\n const serializedRequest = JSON.stringify({\n id: requestId,\n method: request.method,\n url: request.url,\n headers: Array.from(request.headers.entries()),\n credentials: request.credentials,\n body: ['GET', 'HEAD'].includes(request.method)\n ? null\n : await request.text(),\n } as SerializedRequest)\n\n this.logger.info(\n 'sent serialized request to the child:',\n serializedRequest\n )\n\n process.send?.(`request:${serializedRequest}`)\n\n const responsePromise = new Promise((resolve) => {\n handleParentMessage = (message) => {\n if (typeof message !== 'string') {\n return resolve()\n }\n\n if (message.startsWith(`response:${requestId}`)) {\n const [, serializedResponse] =\n message.match(/^response:.+?:(.+)$/) || []\n\n if (!serializedResponse) {\n return resolve()\n }\n\n const responseInit = JSON.parse(\n serializedResponse\n ) as SerializedResponse\n\n const mockedResponse = new FetchResponse(responseInit.body, {\n url: request.url,\n status: responseInit.status,\n statusText: responseInit.statusText,\n headers: responseInit.headers,\n })\n\n /**\n * @todo Support \"errorWith\" as well.\n * This response handling from the child is incomplete.\n */\n\n controller.respondWith(mockedResponse)\n return resolve()\n }\n }\n })\n\n // Listen for the mocked response message from the parent.\n this.logger.info(\n 'add \"message\" listener to the parent process',\n handleParentMessage\n )\n process.addListener('message', handleParentMessage)\n\n return responsePromise\n })\n\n this.subscriptions.push(() => {\n process.removeListener('message', handleParentMessage)\n })\n }\n}\n\nexport function requestReviver(key: string, value: any) {\n switch (key) {\n case 'url':\n return new URL(value)\n\n case 'headers':\n return new Headers(value)\n\n default:\n return value\n }\n}\n\nexport interface RemoveResolverOptions {\n process: ChildProcess\n}\n\nexport class RemoteHttpResolver extends Interceptor {\n static symbol = Symbol('remote-resolver')\n private process: ChildProcess\n\n constructor(options: RemoveResolverOptions) {\n super(RemoteHttpResolver.symbol)\n this.process = options.process\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n const handleChildMessage: NodeJS.MessageListener = async (message) => {\n logger.info('received message from child!', message)\n\n if (typeof message !== 'string' || !message.startsWith('request:')) {\n logger.info('unknown message, ignoring...')\n return\n }\n\n const [, serializedRequest] = message.match(/^request:(.+)$/) || []\n if (!serializedRequest) {\n return\n }\n\n const requestJson = JSON.parse(\n serializedRequest,\n requestReviver\n ) as RevivedRequest\n\n logger.info('parsed intercepted request', requestJson)\n\n const request = new Request(requestJson.url, {\n method: requestJson.method,\n headers: new Headers(requestJson.headers),\n credentials: requestJson.credentials,\n body: requestJson.body,\n })\n\n const controller = new RequestController(request)\n await handleRequest({\n request,\n requestId: requestJson.id,\n controller,\n emitter: this.emitter,\n onResponse: async (response) => {\n this.logger.info('received mocked response!', { response })\n\n const responseClone = response.clone()\n const responseText = await responseClone.text()\n\n // // Send the mocked response to the child process.\n const serializedResponse = JSON.stringify({\n status: response.status,\n statusText: response.statusText,\n headers: Array.from(response.headers.entries()),\n body: responseText,\n } as SerializedResponse)\n\n this.process.send(\n `response:${requestJson.id}:${serializedResponse}`,\n (error) => {\n if (error) {\n return\n }\n\n // Emit an optimistic \"response\" event at this point,\n // not to rely on the back-and-forth signaling for the sake of the event.\n this.emitter.emit('response', {\n request,\n requestId: requestJson.id,\n response: responseClone,\n isMockedResponse: true,\n })\n }\n )\n\n logger.info(\n 'sent serialized mocked response to the parent:',\n serializedResponse\n )\n },\n onRequestError: (response) => {\n this.logger.info('received a network error!', { response })\n throw new Error('Not implemented')\n },\n onError: (error) => {\n this.logger.info('request has errored!', { error })\n throw new Error('Not implemented')\n },\n })\n }\n\n this.subscriptions.push(() => {\n this.process.removeListener('message', handleChildMessage)\n logger.info('removed the \"message\" listener from the child process!')\n })\n\n logger.info('adding a \"message\" listener to the child process')\n this.process.addListener('message', handleChildMessage)\n\n this.process.once('error', () => this.dispose())\n this.process.once('exit', () => this.dispose())\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA+BO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,KAAK,SAAS,MAAM,KAAK,QAAQ,CAAC;AAC/C,SAAK,QAAQ,KAAK,QAAQ,MAAM,KAAK,QAAQ,CAAC;AAAA,EAChD;AACF;AAxGO,IAAM,qBAAN;AAAM,mBACJ,SAAS,OAAO,iBAAiB;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js b/node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js new file mode 100644 index 0000000000..f830840e8e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js @@ -0,0 +1,1053 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + + + + +var _chunk6L3PFBGTjs = require('./chunk-6L3PFBGT.js'); + + + + + +var _chunkWZTE4PCOjs = require('./chunk-WZTE4PCO.js'); + +// src/interceptors/ClientRequest/index.ts +var _http = require('http'); var _http2 = _interopRequireDefault(_http); +var _https = require('https'); var _https2 = _interopRequireDefault(_https); + +// src/interceptors/ClientRequest/MockHttpSocket.ts +var _net = require('net'); var _net2 = _interopRequireDefault(_net); + + +var __http_common = require('_http_common'); + +var _stream = require('stream'); +var _outvariant = require('outvariant'); + +// src/interceptors/Socket/MockSocket.ts + + +// src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts +function normalizeSocketWriteArgs(args) { + const normalized = [args[0], void 0, void 0]; + if (typeof args[1] === "string") { + normalized[1] = args[1]; + } else if (typeof args[1] === "function") { + normalized[2] = args[1]; + } + if (typeof args[2] === "function") { + normalized[2] = args[2]; + } + return normalized; +} + +// src/interceptors/Socket/MockSocket.ts +var MockSocket = class extends _net2.default.Socket { + constructor(options) { + super(); + this.options = options; + this.connecting = false; + this.connect(); + this._final = (callback) => { + callback(null); + }; + } + connect() { + this.connecting = true; + return this; + } + write(...args) { + const [chunk, encoding, callback] = normalizeSocketWriteArgs( + args + ); + this.options.write(chunk, encoding, callback); + return true; + } + end(...args) { + const [chunk, encoding, callback] = normalizeSocketWriteArgs( + args + ); + this.options.write(chunk, encoding, callback); + return super.end.apply(this, args); + } + push(chunk, encoding) { + this.options.read(chunk, encoding); + return super.push(chunk, encoding); + } +}; + +// src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts +function baseUrlFromConnectionOptions(options) { + if ("href" in options) { + return new URL(options.href); + } + const protocol = options.port === 443 ? "https:" : "http:"; + const host = options.host; + const url = new URL(`${protocol}//${host}`); + if (options.port) { + url.port = options.port.toString(); + } + if (options.path) { + url.pathname = options.path; + } + if (options.auth) { + const [username, password] = options.auth.split(":"); + url.username = username; + url.password = password; + } + return url; +} + +// src/interceptors/ClientRequest/utils/recordRawHeaders.ts +var kRawHeaders = Symbol("kRawHeaders"); +var kRestorePatches = Symbol("kRestorePatches"); +function recordRawHeader(headers, args, behavior) { + ensureRawHeadersSymbol(headers, []); + const rawHeaders = Reflect.get(headers, kRawHeaders); + if (behavior === "set") { + for (let index = rawHeaders.length - 1; index >= 0; index--) { + if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) { + rawHeaders.splice(index, 1); + } + } + } + rawHeaders.push(args); +} +function ensureRawHeadersSymbol(headers, rawHeaders) { + if (Reflect.has(headers, kRawHeaders)) { + return; + } + defineRawHeadersSymbol(headers, rawHeaders); +} +function defineRawHeadersSymbol(headers, rawHeaders) { + Object.defineProperty(headers, kRawHeaders, { + value: rawHeaders, + enumerable: false, + // Mark the symbol as configurable so its value can be overridden. + // Overrides happen when merging raw headers from multiple sources. + // E.g. new Request(new Request(url, { headers }), { headers }) + configurable: true + }); +} +function recordRawFetchHeaders() { + if (Reflect.get(Headers, kRestorePatches)) { + return Reflect.get(Headers, kRestorePatches); + } + const { + Headers: OriginalHeaders, + Request: OriginalRequest, + Response: OriginalResponse + } = globalThis; + const { set, append, delete: headersDeleteMethod } = Headers.prototype; + Object.defineProperty(Headers, kRestorePatches, { + value: () => { + Headers.prototype.set = set; + Headers.prototype.append = append; + Headers.prototype.delete = headersDeleteMethod; + globalThis.Headers = OriginalHeaders; + globalThis.Request = OriginalRequest; + globalThis.Response = OriginalResponse; + Reflect.deleteProperty(Headers, kRestorePatches); + }, + enumerable: false, + /** + * @note Mark this property as configurable + * so we can delete it using `Reflect.delete` during cleanup. + */ + configurable: true + }); + Object.defineProperty(globalThis, "Headers", { + enumerable: true, + writable: true, + value: new Proxy(Headers, { + construct(target, args, newTarget) { + const headersInit = args[0] || []; + if (headersInit instanceof Headers && Reflect.has(headersInit, kRawHeaders)) { + const headers2 = Reflect.construct( + target, + [Reflect.get(headersInit, kRawHeaders)], + newTarget + ); + ensureRawHeadersSymbol(headers2, [ + /** + * @note Spread the retrieved headers to clone them. + * This prevents multiple Headers instances from pointing + * at the same internal "rawHeaders" array. + */ + ...Reflect.get(headersInit, kRawHeaders) + ]); + return headers2; + } + const headers = Reflect.construct(target, args, newTarget); + if (!Reflect.has(headers, kRawHeaders)) { + const rawHeadersInit = Array.isArray(headersInit) ? headersInit : Object.entries(headersInit); + ensureRawHeadersSymbol(headers, rawHeadersInit); + } + return headers; + } + }) + }); + Headers.prototype.set = new Proxy(Headers.prototype.set, { + apply(target, thisArg, args) { + recordRawHeader(thisArg, args, "set"); + return Reflect.apply(target, thisArg, args); + } + }); + Headers.prototype.append = new Proxy(Headers.prototype.append, { + apply(target, thisArg, args) { + recordRawHeader(thisArg, args, "append"); + return Reflect.apply(target, thisArg, args); + } + }); + Headers.prototype.delete = new Proxy(Headers.prototype.delete, { + apply(target, thisArg, args) { + const rawHeaders = Reflect.get(thisArg, kRawHeaders); + if (rawHeaders) { + for (let index = rawHeaders.length - 1; index >= 0; index--) { + if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) { + rawHeaders.splice(index, 1); + } + } + } + return Reflect.apply(target, thisArg, args); + } + }); + Object.defineProperty(globalThis, "Request", { + enumerable: true, + writable: true, + value: new Proxy(Request, { + construct(target, args, newTarget) { + const request = Reflect.construct(target, args, newTarget); + const inferredRawHeaders = []; + if (typeof args[0] === "object" && args[0].headers != null) { + inferredRawHeaders.push(...inferRawHeaders(args[0].headers)); + } + if (typeof args[1] === "object" && args[1].headers != null) { + inferredRawHeaders.push(...inferRawHeaders(args[1].headers)); + } + if (inferredRawHeaders.length > 0) { + ensureRawHeadersSymbol(request.headers, inferredRawHeaders); + } + return request; + } + }) + }); + Object.defineProperty(globalThis, "Response", { + enumerable: true, + writable: true, + value: new Proxy(Response, { + construct(target, args, newTarget) { + const response = Reflect.construct(target, args, newTarget); + if (typeof args[1] === "object" && args[1].headers != null) { + ensureRawHeadersSymbol( + response.headers, + inferRawHeaders(args[1].headers) + ); + } + return response; + } + }) + }); +} +function restoreHeadersPrototype() { + if (!Reflect.get(Headers, kRestorePatches)) { + return; + } + Reflect.get(Headers, kRestorePatches)(); +} +function getRawFetchHeaders(headers) { + if (!Reflect.has(headers, kRawHeaders)) { + return Array.from(headers.entries()); + } + const rawHeaders = Reflect.get(headers, kRawHeaders); + return rawHeaders.length > 0 ? rawHeaders : Array.from(headers.entries()); +} +function inferRawHeaders(headers) { + if (headers instanceof Headers) { + return Reflect.get(headers, kRawHeaders) || []; + } + return Reflect.get(new Headers(headers), kRawHeaders); +} + +// src/interceptors/ClientRequest/MockHttpSocket.ts +var kRequestId = Symbol("kRequestId"); +var MockHttpSocket = class extends MockSocket { + constructor(options) { + super({ + write: (chunk, encoding, callback) => { + var _a; + if (this.socketState !== "passthrough") { + this.writeBuffer.push([chunk, encoding, callback]); + } + if (chunk) { + if (this.socketState === "passthrough") { + (_a = this.originalSocket) == null ? void 0 : _a.write(chunk, encoding, callback); + } + this.requestParser.execute( + Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding) + ); + } + }, + read: (chunk) => { + if (chunk !== null) { + this.responseParser.execute( + Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk) + ); + } + } + }); + this.writeBuffer = []; + this.socketState = "unknown"; + this.onRequestStart = (versionMajor, versionMinor, rawHeaders, _, path, __, ___, ____, shouldKeepAlive) => { + var _a; + this.shouldKeepAlive = shouldKeepAlive; + const url = new URL(path, this.baseUrl); + const method = ((_a = this.connectionOptions.method) == null ? void 0 : _a.toUpperCase()) || "GET"; + const headers = _chunkWZTE4PCOjs.FetchResponse.parseRawHeaders(rawHeaders); + const canHaveBody = method !== "GET" && method !== "HEAD"; + if (url.username || url.password) { + if (!headers.has("authorization")) { + headers.set("authorization", `Basic ${url.username}:${url.password}`); + } + url.username = ""; + url.password = ""; + } + if (canHaveBody) { + this.requestStream = new (0, _stream.Readable)({ + /** + * @note Provide the `read()` method so a `Readable` could be + * used as the actual request body (the stream calls "read()"). + * We control the queue in the onRequestBody/End functions. + */ + read: () => { + this.flushWriteBuffer(); + } + }); + } + const requestId = _chunkWZTE4PCOjs.createRequestId.call(void 0, ); + this.request = new Request(url, { + method, + headers, + credentials: "same-origin", + // @ts-expect-error Undocumented Fetch property. + duplex: canHaveBody ? "half" : void 0, + body: canHaveBody ? _stream.Readable.toWeb(this.requestStream) : null + }); + Reflect.set(this.request, kRequestId, requestId); + if (this.request.headers.has(_chunkWZTE4PCOjs.INTERNAL_REQUEST_ID_HEADER_NAME)) { + this.passthrough(); + return; + } + this.onRequest({ + requestId, + request: this.request, + socket: this + }); + }; + this.onResponseStart = (versionMajor, versionMinor, rawHeaders, method, url, status, statusText) => { + const headers = _chunkWZTE4PCOjs.FetchResponse.parseRawHeaders(rawHeaders); + const response = new (0, _chunkWZTE4PCOjs.FetchResponse)( + /** + * @note The Fetch API response instance exposed to the consumer + * is created over the response stream of the HTTP parser. It is NOT + * related to the Socket instance. This way, you can read response body + * in response listener while the Socket instance delays the emission + * of "end" and other events until those response listeners are finished. + */ + _chunkWZTE4PCOjs.FetchResponse.isResponseWithBody(status) ? _stream.Readable.toWeb( + this.responseStream = new (0, _stream.Readable)({ read() { + } }) + ) : null, + { + url, + status, + statusText, + headers + } + ); + _outvariant.invariant.call(void 0, + this.request, + "Failed to handle a response: request does not exist" + ); + if (this.request.headers.has(_chunkWZTE4PCOjs.INTERNAL_REQUEST_ID_HEADER_NAME)) { + return; + } + this.responseListenersPromise = this.onResponse({ + response, + isMockedResponse: this.socketState === "mock", + requestId: Reflect.get(this.request, kRequestId), + request: this.request, + socket: this + }); + }; + this.connectionOptions = options.connectionOptions; + this.createConnection = options.createConnection; + this.onRequest = options.onRequest; + this.onResponse = options.onResponse; + this.baseUrl = baseUrlFromConnectionOptions(this.connectionOptions); + this.requestParser = new (0, __http_common.HTTPParser)(); + this.requestParser.initialize(__http_common.HTTPParser.REQUEST, {}); + this.requestParser[__http_common.HTTPParser.kOnHeadersComplete] = this.onRequestStart.bind(this); + this.requestParser[__http_common.HTTPParser.kOnBody] = this.onRequestBody.bind(this); + this.requestParser[__http_common.HTTPParser.kOnMessageComplete] = this.onRequestEnd.bind(this); + this.responseParser = new (0, __http_common.HTTPParser)(); + this.responseParser.initialize(__http_common.HTTPParser.RESPONSE, {}); + this.responseParser[__http_common.HTTPParser.kOnHeadersComplete] = this.onResponseStart.bind(this); + this.responseParser[__http_common.HTTPParser.kOnBody] = this.onResponseBody.bind(this); + this.responseParser[__http_common.HTTPParser.kOnMessageComplete] = this.onResponseEnd.bind(this); + this.once("finish", () => this.requestParser.free()); + if (this.baseUrl.protocol === "https:") { + Reflect.set(this, "encrypted", true); + Reflect.set(this, "authorized", false); + Reflect.set(this, "getProtocol", () => "TLSv1.3"); + Reflect.set(this, "getSession", () => void 0); + Reflect.set(this, "isSessionReused", () => false); + } + } + emit(event, ...args) { + const emitEvent = super.emit.bind(this, event, ...args); + if (this.responseListenersPromise) { + this.responseListenersPromise.finally(emitEvent); + return this.listenerCount(event) > 0; + } + return emitEvent(); + } + destroy(error) { + this.responseParser.free(); + if (error) { + this.emit("error", error); + } + return super.destroy(error); + } + /** + * Establish this Socket connection as-is and pipe + * its data/events through this Socket. + */ + passthrough() { + this.socketState = "passthrough"; + if (this.destroyed) { + return; + } + const socket = this.createConnection(); + this.originalSocket = socket; + this.once("error", (error) => { + socket.destroy(error); + }); + this.address = socket.address.bind(socket); + let writeArgs; + let headersWritten = false; + while (writeArgs = this.writeBuffer.shift()) { + if (writeArgs !== void 0) { + if (!headersWritten) { + const [chunk, encoding, callback] = writeArgs; + const chunkString = chunk.toString(); + const chunkBeforeRequestHeaders = chunkString.slice( + 0, + chunkString.indexOf("\r\n") + 2 + ); + const chunkAfterRequestHeaders = chunkString.slice( + chunk.indexOf("\r\n\r\n") + ); + const rawRequestHeaders = getRawFetchHeaders(this.request.headers); + const requestHeadersString = rawRequestHeaders.filter(([name]) => { + return name.toLowerCase() !== _chunkWZTE4PCOjs.INTERNAL_REQUEST_ID_HEADER_NAME; + }).map(([name, value]) => `${name}: ${value}`).join("\r\n"); + const headersChunk = `${chunkBeforeRequestHeaders}${requestHeadersString}${chunkAfterRequestHeaders}`; + socket.write(headersChunk, encoding, callback); + headersWritten = true; + continue; + } + socket.write(...writeArgs); + } + } + if (Reflect.get(socket, "encrypted")) { + const tlsProperties = [ + "encrypted", + "authorized", + "getProtocol", + "getSession", + "isSessionReused" + ]; + tlsProperties.forEach((propertyName) => { + Object.defineProperty(this, propertyName, { + enumerable: true, + get: () => { + const value = Reflect.get(socket, propertyName); + return typeof value === "function" ? value.bind(socket) : value; + } + }); + }); + } + socket.on("lookup", (...args) => this.emit("lookup", ...args)).on("connect", () => { + this.connecting = socket.connecting; + this.emit("connect"); + }).on("secureConnect", () => this.emit("secureConnect")).on("secure", () => this.emit("secure")).on("session", (session) => this.emit("session", session)).on("ready", () => this.emit("ready")).on("drain", () => this.emit("drain")).on("data", (chunk) => { + this.push(chunk); + }).on("error", (error) => { + Reflect.set(this, "_hadError", Reflect.get(socket, "_hadError")); + this.emit("error", error); + }).on("resume", () => this.emit("resume")).on("timeout", () => this.emit("timeout")).on("prefinish", () => this.emit("prefinish")).on("finish", () => this.emit("finish")).on("close", (hadError) => this.emit("close", hadError)).on("end", () => this.emit("end")); + } + /** + * Convert the given Fetch API `Response` instance to an + * HTTP message and push it to the socket. + */ + async respondWith(response) { + var _a; + if (this.destroyed) { + return; + } + if (_chunk6L3PFBGTjs.isPropertyAccessible.call(void 0, response, "type") && response.type === "error") { + this.errorWith(new TypeError("Network error")); + return; + } + this.mockConnect(); + this.socketState = "mock"; + this.flushWriteBuffer(); + const serverResponse = new (0, _http.ServerResponse)(new (0, _http.IncomingMessage)(this)); + serverResponse.assignSocket( + new MockSocket({ + write: (chunk, encoding, callback) => { + this.push(chunk, encoding); + callback == null ? void 0 : callback(); + }, + read() { + } + }) + ); + serverResponse.removeHeader("connection"); + serverResponse.removeHeader("date"); + const rawResponseHeaders = getRawFetchHeaders(response.headers); + serverResponse.writeHead( + response.status, + response.statusText || _http.STATUS_CODES[response.status], + rawResponseHeaders + ); + this.once("error", () => { + serverResponse.destroy(); + }); + if (response.body) { + try { + const reader = response.body.getReader(); + while (true) { + const { done, value } = await reader.read(); + if (done) { + serverResponse.end(); + break; + } + serverResponse.write(value); + } + } catch (error) { + this.respondWith(_chunk6L3PFBGTjs.createServerErrorResponse.call(void 0, error)); + return; + } + } else { + serverResponse.end(); + } + if (!this.shouldKeepAlive) { + this.emit("readable"); + (_a = this.responseStream) == null ? void 0 : _a.push(null); + this.push(null); + } + } + /** + * Close this socket connection with the given error. + */ + errorWith(error) { + this.destroy(error); + } + mockConnect() { + this.connecting = false; + const isIPv6 = _net2.default.isIPv6(this.connectionOptions.hostname) || this.connectionOptions.family === 6; + const addressInfo = { + address: isIPv6 ? "::1" : "127.0.0.1", + family: isIPv6 ? "IPv6" : "IPv4", + port: this.connectionOptions.port + }; + this.address = () => addressInfo; + this.emit( + "lookup", + null, + addressInfo.address, + addressInfo.family === "IPv6" ? 6 : 4, + this.connectionOptions.host + ); + this.emit("connect"); + this.emit("ready"); + if (this.baseUrl.protocol === "https:") { + this.emit("secure"); + this.emit("secureConnect"); + this.emit( + "session", + this.connectionOptions.session || Buffer.from("mock-session-renegotiate") + ); + this.emit("session", Buffer.from("mock-session-resume")); + } + } + flushWriteBuffer() { + for (const writeCall of this.writeBuffer) { + if (typeof writeCall[2] === "function") { + writeCall[2](); + writeCall[2] = void 0; + } + } + } + onRequestBody(chunk) { + _outvariant.invariant.call(void 0, + this.requestStream, + "Failed to write to a request stream: stream does not exist" + ); + this.requestStream.push(chunk); + } + onRequestEnd() { + if (this.requestStream) { + this.requestStream.push(null); + } + } + onResponseBody(chunk) { + _outvariant.invariant.call(void 0, + this.responseStream, + "Failed to write to a response stream: stream does not exist" + ); + this.responseStream.push(chunk); + } + onResponseEnd() { + if (this.responseStream) { + this.responseStream.push(null); + } + } +}; + +// src/interceptors/ClientRequest/agents.ts + + +var MockAgent = class extends _http2.default.Agent { + constructor(options) { + super(); + this.customAgent = options.customAgent; + this.onRequest = options.onRequest; + this.onResponse = options.onResponse; + } + createConnection(options, callback) { + const createConnection = this.customAgent instanceof _http2.default.Agent && this.customAgent.createConnection || super.createConnection; + const socket = new MockHttpSocket({ + connectionOptions: options, + createConnection: createConnection.bind( + this.customAgent || this, + options, + callback + ), + onRequest: this.onRequest.bind(this), + onResponse: this.onResponse.bind(this) + }); + return socket; + } +}; +var MockHttpsAgent = class extends _https2.default.Agent { + constructor(options) { + super(); + this.customAgent = options.customAgent; + this.onRequest = options.onRequest; + this.onResponse = options.onResponse; + } + createConnection(options, callback) { + const createConnection = this.customAgent instanceof _https2.default.Agent && this.customAgent.createConnection || super.createConnection; + const socket = new MockHttpSocket({ + connectionOptions: options, + createConnection: createConnection.bind( + this.customAgent || this, + options, + callback + ), + onRequest: this.onRequest.bind(this), + onResponse: this.onResponse.bind(this) + }); + return socket; + } +}; + +// src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts +var _url = require('url'); + + + + + + + + + + + + +var _logger = require('@open-draft/logger'); + +// src/utils/getUrlByRequestOptions.ts + + +var logger = new (0, _logger.Logger)("utils getUrlByRequestOptions"); +var DEFAULT_PATH = "/"; +var DEFAULT_PROTOCOL = "http:"; +var DEFAULT_HOSTNAME = "localhost"; +var SSL_PORT = 443; +function getAgent(options) { + return options.agent instanceof _http.Agent ? options.agent : void 0; +} +function getProtocolByRequestOptions(options) { + var _a; + if (options.protocol) { + return options.protocol; + } + const agent = getAgent(options); + const agentProtocol = agent == null ? void 0 : agent.protocol; + if (agentProtocol) { + return agentProtocol; + } + const port = getPortByRequestOptions(options); + const isSecureRequest = options.cert || port === SSL_PORT; + return isSecureRequest ? "https:" : ((_a = options.uri) == null ? void 0 : _a.protocol) || DEFAULT_PROTOCOL; +} +function getPortByRequestOptions(options) { + if (options.port) { + return Number(options.port); + } + const agent = getAgent(options); + if (agent == null ? void 0 : agent.options.port) { + return Number(agent.options.port); + } + if (agent == null ? void 0 : agent.defaultPort) { + return Number(agent.defaultPort); + } + return void 0; +} +function getAuthByRequestOptions(options) { + if (options.auth) { + const [username, password] = options.auth.split(":"); + return { username, password }; + } +} +function isRawIPv6Address(host) { + return host.includes(":") && !host.startsWith("[") && !host.endsWith("]"); +} +function getHostname(options) { + let host = options.hostname || options.host; + if (host) { + if (isRawIPv6Address(host)) { + host = `[${host}]`; + } + return new URL(`http://${host}`).hostname; + } + return DEFAULT_HOSTNAME; +} +function getUrlByRequestOptions(options) { + logger.info("request options", options); + if (options.uri) { + logger.info( + 'constructing url from explicitly provided "options.uri": %s', + options.uri + ); + return new URL(options.uri.href); + } + logger.info("figuring out url from request options..."); + const protocol = getProtocolByRequestOptions(options); + logger.info("protocol", protocol); + const port = getPortByRequestOptions(options); + logger.info("port", port); + const hostname = getHostname(options); + logger.info("hostname", hostname); + const path = options.path || DEFAULT_PATH; + logger.info("path", path); + const credentials = getAuthByRequestOptions(options); + logger.info("credentials", credentials); + const authString = credentials ? `${credentials.username}:${credentials.password}@` : ""; + logger.info("auth string:", authString); + const portString = typeof port !== "undefined" ? `:${port}` : ""; + const url = new URL(`${protocol}//${hostname}${portString}${path}`); + url.username = (credentials == null ? void 0 : credentials.username) || ""; + url.password = (credentials == null ? void 0 : credentials.password) || ""; + logger.info("created url:", url); + return url; +} + +// src/utils/cloneObject.ts + +var logger2 = new (0, _logger.Logger)("cloneObject"); +function isPlainObject(obj) { + var _a; + logger2.info("is plain object?", obj); + if (obj == null || !((_a = obj.constructor) == null ? void 0 : _a.name)) { + logger2.info("given object is undefined, not a plain object..."); + return false; + } + logger2.info("checking the object constructor:", obj.constructor.name); + return obj.constructor.name === "Object"; +} +function cloneObject(obj) { + logger2.info("cloning object:", obj); + const enumerableProperties = Object.entries(obj).reduce( + (acc, [key, value]) => { + logger2.info("analyzing key-value pair:", key, value); + acc[key] = isPlainObject(value) ? cloneObject(value) : value; + return acc; + }, + {} + ); + return isPlainObject(obj) ? enumerableProperties : Object.assign(Object.getPrototypeOf(obj), enumerableProperties); +} + +// src/utils/isObject.ts +function isObject(value, loose = false) { + return loose ? Object.prototype.toString.call(value).startsWith("[object ") : Object.prototype.toString.call(value) === "[object Object]"; +} + +// src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts +var logger3 = new (0, _logger.Logger)("http normalizeClientRequestArgs"); +function resolveRequestOptions(args, url) { + if (typeof args[1] === "undefined" || typeof args[1] === "function") { + logger3.info("request options not provided, deriving from the url", url); + return _url.urlToHttpOptions.call(void 0, url); + } + if (args[1]) { + logger3.info("has custom RequestOptions!", args[1]); + const requestOptionsFromUrl = _url.urlToHttpOptions.call(void 0, url); + logger3.info("derived RequestOptions from the URL:", requestOptionsFromUrl); + logger3.info("cloning RequestOptions..."); + const clonedRequestOptions = cloneObject(args[1]); + logger3.info("successfully cloned RequestOptions!", clonedRequestOptions); + return { + ...requestOptionsFromUrl, + ...clonedRequestOptions + }; + } + logger3.info("using an empty object as request options"); + return {}; +} +function overrideUrlByRequestOptions(url, options) { + url.host = options.host || url.host; + url.hostname = options.hostname || url.hostname; + url.port = options.port ? options.port.toString() : url.port; + if (options.path) { + const parsedOptionsPath = _url.parse.call(void 0, options.path, false); + url.pathname = parsedOptionsPath.pathname || ""; + url.search = parsedOptionsPath.search || ""; + } + return url; +} +function resolveCallback(args) { + return typeof args[1] === "function" ? args[1] : args[2]; +} +function normalizeClientRequestArgs(defaultProtocol, args) { + let url; + let options; + let callback; + logger3.info("arguments", args); + logger3.info("using default protocol:", defaultProtocol); + if (args.length === 0) { + const url2 = new (0, _url.URL)("http://localhost"); + const options2 = resolveRequestOptions(args, url2); + return [url2, options2]; + } + if (typeof args[0] === "string") { + logger3.info("first argument is a location string:", args[0]); + url = new (0, _url.URL)(args[0]); + logger3.info("created a url:", url); + const requestOptionsFromUrl = _url.urlToHttpOptions.call(void 0, url); + logger3.info("request options from url:", requestOptionsFromUrl); + options = resolveRequestOptions(args, url); + logger3.info("resolved request options:", options); + callback = resolveCallback(args); + } else if (args[0] instanceof _url.URL) { + url = args[0]; + logger3.info("first argument is a URL:", url); + if (typeof args[1] !== "undefined" && isObject(args[1])) { + url = overrideUrlByRequestOptions(url, args[1]); + } + options = resolveRequestOptions(args, url); + logger3.info("derived request options:", options); + callback = resolveCallback(args); + } else if ("hash" in args[0] && !("method" in args[0])) { + const [legacyUrl] = args; + logger3.info("first argument is a legacy URL:", legacyUrl); + if (legacyUrl.hostname === null) { + logger3.info("given legacy URL is relative (no hostname)"); + return isObject(args[1]) ? normalizeClientRequestArgs(defaultProtocol, [ + { path: legacyUrl.path, ...args[1] }, + args[2] + ]) : normalizeClientRequestArgs(defaultProtocol, [ + { path: legacyUrl.path }, + args[1] + ]); + } + logger3.info("given legacy url is absolute"); + const resolvedUrl = new (0, _url.URL)(legacyUrl.href); + return args[1] === void 0 ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl]) : typeof args[1] === "function" ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl, args[1]]) : normalizeClientRequestArgs(defaultProtocol, [ + resolvedUrl, + args[1], + args[2] + ]); + } else if (isObject(args[0])) { + options = { ...args[0] }; + logger3.info("first argument is RequestOptions:", options); + options.protocol = options.protocol || defaultProtocol; + logger3.info("normalized request options:", options); + url = getUrlByRequestOptions(options); + logger3.info("created a URL from RequestOptions:", url.href); + callback = resolveCallback(args); + } else { + throw new Error( + `Failed to construct ClientRequest with these parameters: ${args}` + ); + } + options.protocol = options.protocol || url.protocol; + options.method = options.method || "GET"; + if (typeof options.agent === "undefined") { + const agent = options.protocol === "https:" ? new (0, _https.Agent)({ + rejectUnauthorized: options.rejectUnauthorized + }) : new (0, _http.Agent)(); + options.agent = agent; + logger3.info("resolved fallback agent:", agent); + } + if (!options._defaultAgent) { + logger3.info( + 'has no default agent, setting the default agent for "%s"', + options.protocol + ); + options._defaultAgent = options.protocol === "https:" ? _https.globalAgent : _http.globalAgent; + } + logger3.info("successfully resolved url:", url.href); + logger3.info("successfully resolved options:", options); + logger3.info("successfully resolved callback:", callback); + if (!(url instanceof _url.URL)) { + url = url.toString(); + } + return [url, options, callback]; +} + +// src/interceptors/ClientRequest/index.ts +var _ClientRequestInterceptor = class extends _chunkWZTE4PCOjs.Interceptor { + constructor() { + super(_ClientRequestInterceptor.symbol); + this.onRequest = async ({ + request, + socket + }) => { + const requestId = Reflect.get(request, kRequestId); + const controller = new (0, _chunk6L3PFBGTjs.RequestController)(request); + const isRequestHandled = await _chunk6L3PFBGTjs.handleRequest.call(void 0, { + request, + requestId, + controller, + emitter: this.emitter, + onResponse: (response) => { + socket.respondWith(response); + }, + onRequestError: (response) => { + socket.respondWith(response); + }, + onError: (error) => { + if (error instanceof Error) { + socket.errorWith(error); + } + } + }); + if (!isRequestHandled) { + return socket.passthrough(); + } + }; + this.onResponse = async ({ + requestId, + request, + response, + isMockedResponse + }) => { + return _chunk6L3PFBGTjs.emitAsync.call(void 0, this.emitter, "response", { + requestId, + request, + response, + isMockedResponse + }); + }; + } + setup() { + const { get: originalGet, request: originalRequest } = _http2.default; + const { get: originalHttpsGet, request: originalHttpsRequest } = _https2.default; + const onRequest = this.onRequest.bind(this); + const onResponse = this.onResponse.bind(this); + _http2.default.request = new Proxy(_http2.default.request, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "http:", + args + ); + const mockAgent = new MockAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + _http2.default.get = new Proxy(_http2.default.get, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "http:", + args + ); + const mockAgent = new MockAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + _https2.default.request = new Proxy(_https2.default.request, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "https:", + args + ); + const mockAgent = new MockHttpsAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + _https2.default.get = new Proxy(_https2.default.get, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "https:", + args + ); + const mockAgent = new MockHttpsAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + recordRawFetchHeaders(); + this.subscriptions.push(() => { + _http2.default.get = originalGet; + _http2.default.request = originalRequest; + _https2.default.get = originalHttpsGet; + _https2.default.request = originalHttpsRequest; + restoreHeadersPrototype(); + }); + } +}; +var ClientRequestInterceptor = _ClientRequestInterceptor; +ClientRequestInterceptor.symbol = Symbol("client-request-interceptor"); + + + +exports.ClientRequestInterceptor = ClientRequestInterceptor; +//# sourceMappingURL=chunk-4IGRW7SK.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js.map new file mode 100644 index 0000000000..234db51d79 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-4IGRW7SK.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/ClientRequest/index.ts","../../src/interceptors/ClientRequest/MockHttpSocket.ts","../../src/interceptors/Socket/MockSocket.ts","../../src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts","../../src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts","../../src/interceptors/ClientRequest/utils/recordRawHeaders.ts","../../src/interceptors/ClientRequest/agents.ts","../../src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts","../../src/utils/getUrlByRequestOptions.ts","../../src/utils/cloneObject.ts","../../src/utils/isObject.ts"],"names":["http","https","net","headers","URL","Logger","logger","url","options"],"mappings":";;;;;;;;;;;;;;;AAAA,OAAOA,WAAU;AACjB,OAAOC,YAAW;;;ACDlB,OAAOC,UAAS;AAChB;AAAA,EACE;AAAA,OAGK;AACP,SAAS,cAAc,iBAAiB,sBAAsB;AAC9D,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;;;ACR1B,OAAO,SAAS;;;ACgBT,SAAS,yBACd,MAC2B;AAC3B,QAAM,aAAwC,CAAC,KAAK,CAAC,GAAG,QAAW,MAAS;AAE5E,MAAI,OAAO,KAAK,CAAC,MAAM,UAAU;AAC/B,eAAW,CAAC,IAAI,KAAK,CAAC;AAAA,EACxB,WAAW,OAAO,KAAK,CAAC,MAAM,YAAY;AACxC,eAAW,CAAC,IAAI,KAAK,CAAC;AAAA,EACxB;AAEA,MAAI,OAAO,KAAK,CAAC,MAAM,YAAY;AACjC,eAAW,CAAC,IAAI,KAAK,CAAC;AAAA,EACxB;AAEA,SAAO;AACT;;;ADfO,IAAM,aAAN,cAAyB,IAAI,OAAO;AAAA,EAGzC,YAA+B,SAA4B;AACzD,UAAM;AADuB;AAE7B,SAAK,aAAa;AAClB,SAAK,QAAQ;AAEb,SAAK,SAAS,CAAC,aAAa;AAC1B,eAAS,IAAI;AAAA,IACf;AAAA,EACF;AAAA,EAEO,UAAU;AAGf,SAAK,aAAa;AAClB,WAAO;AAAA,EACT;AAAA,EAEO,SAAS,MAA+B;AAC7C,UAAM,CAAC,OAAO,UAAU,QAAQ,IAAI;AAAA,MAClC;AAAA,I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KAAK,SAAS,QAAQ,CAAC;AAAA,MAChE;AAAA,IACF,CAAC;AAMD,IAAAC,OAAM,UAAU,IAAI,MAAMA,OAAM,SAAS;AAAA,MACvC,OAAO,CAAC,QAAQ,SAAS,SAA2C;AAClE,cAAM,CAAC,KAAK,SAAS,QAAQ,IAAI;AAAA,UAC/B;AAAA,UACA;AAAA,QACF;AAEA,cAAM,YAAY,IAAI,eAAe;AAAA,UACnC,aAAa,QAAQ;AAAA,UACrB;AAAA,UACA;AAAA,QACF,CAAC;AACD,gBAAQ,QAAQ;AAEhB,eAAO,QAAQ,MAAM,QAAQ,SAAS,CAAC,KAAK,SAAS,QAAQ,CAAC;AAAA,MAChE;AAAA,IACF,CAAC;AAED,IAAAA,OAAM,MAAM,IAAI,MAAMA,OAAM,KAAK;AAAA,MAC/B,OAAO,CAAC,QAAQ,SAAS,SAAuC;AAC9D,cAAM,CAAC,KAAK,SAAS,QAAQ,IAAI;AAAA,UAC/B;AAAA,UACA;AAAA,QACF;AAEA,cAAM,YAAY,IAAI,eAAe;AAAA,UACnC,aAAa,QAAQ;AAAA,UACrB;AAAA,UACA;AAAA,QACF,CAAC;AACD,gBAAQ,QAAQ;AAEhB,eAAO,QAAQ,MAAM,QAAQ,SAAS,CAAC,KAAK,SAAS,QAAQ,CAAC;AAAA,MAChE;AAAA,IACF,CAAC;AAKD,0BAAsB;AAEtB,SAAK,cAAc,KAAK,MAAM;AAC5B,MAAAD,MAAK,MAAM;AACX,MAAAA,MAAK,UAAU;AAEf,MAAAC,OAAM,MAAM;AACZ,MAAAA,OAAM,UAAU;AAEhB,8BAAwB;AAAA,IAC1B,CAAC;AAAA,EACH;AA+CF;AAtJO,IAAM,2BAAN;AAAM,yBACJ,SAAS,OAAO,4BAA4B","sourcesContent":["import http from 'node:http'\nimport https from 'node:https'\nimport { Interceptor } from '../../Interceptor'\nimport type { HttpRequestEventMap } from '../../glossary'\nimport {\n kRequestId,\n MockHttpSocketRequestCallback,\n MockHttpSocketResponseCallback,\n} from './MockHttpSocket'\nimport { MockAgent, MockHttpsAgent } from './agents'\nimport { RequestController } from '../../RequestController'\nimport { emitAsync } from '../../utils/emitAsync'\nimport { normalizeClientRequestArgs } from './utils/normalizeClientRequestArgs'\nimport { handleRequest } from '../../utils/handleRequest'\nimport {\n recordRawFetchHeaders,\n restoreHeadersPrototype,\n} from './utils/recordRawHeaders'\n\nexport class ClientRequestInterceptor extends Interceptor {\n static symbol = Symbol('client-request-interceptor')\n\n constructor() {\n super(ClientRequestInterceptor.symbol)\n }\n\n protected setup(): void {\n const { get: originalGet, request: originalRequest } = http\n const { get: originalHttpsGet, request: originalHttpsRequest } = https\n\n const onRequest = this.onRequest.bind(this)\n const onResponse = this.onResponse.bind(this)\n\n http.request = new Proxy(http.request, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'http:',\n args\n )\n const mockAgent = new MockAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n http.get = new Proxy(http.get, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'http:',\n args\n )\n\n const mockAgent = new MockAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n //\n // HTTPS.\n //\n\n https.request = new Proxy(https.request, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'https:',\n args\n )\n\n const mockAgent = new MockHttpsAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n https.get = new Proxy(https.get, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'https:',\n args\n )\n\n const mockAgent = new MockHttpsAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n // Spy on `Header.prototype.set` and `Header.prototype.append` calls\n // and record the raw header names provided. This is to support\n // `IncomingMessage.prototype.rawHeaders`.\n recordRawFetchHeaders()\n\n this.subscriptions.push(() => {\n http.get = originalGet\n http.request = originalRequest\n\n https.get = originalHttpsGet\n https.request = originalHttpsRequest\n\n restoreHeadersPrototype()\n })\n }\n\n private onRequest: MockHttpSocketRequestCallback = async ({\n request,\n socket,\n }) => {\n const requestId = Reflect.get(request, kRequestId)\n const controller = new RequestController(request)\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n controller,\n emitter: this.emitter,\n onResponse: (response) => {\n socket.respondWith(response)\n },\n onRequestError: (response) => {\n socket.respondWith(response)\n },\n onError: (error) => {\n if (error instanceof Error) {\n socket.errorWith(error)\n }\n },\n })\n\n if (!isRequestHandled) {\n return socket.passthrough()\n }\n }\n\n public onResponse: MockHttpSocketResponseCallback = async ({\n requestId,\n request,\n response,\n isMockedResponse,\n }) => {\n // Return the promise to when all the response event listeners\n // are finished.\n return emitAsync(this.emitter, 'response', {\n requestId,\n request,\n response,\n isMockedResponse,\n })\n }\n}\n","import net from 'node:net'\nimport {\n HTTPParser,\n type RequestHeadersCompleteCallback,\n type ResponseHeadersCompleteCallback,\n} from '_http_common'\nimport { STATUS_CODES, IncomingMessage, ServerResponse } from 'node:http'\nimport { Readable } from 'node:stream'\nimport { invariant } from 'outvariant'\nimport { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor'\nimport { MockSocket } from '../Socket/MockSocket'\nimport type { NormalizedSocketWriteArgs } from '../Socket/utils/normalizeSocketWriteArgs'\nimport { isPropertyAccessible } from '../../utils/isPropertyAccessible'\nimport { baseUrlFromConnectionOptions } from '../Socket/utils/baseUrlFromConnectionOptions'\nimport { createServerErrorResponse } from '../../utils/responseUtils'\nimport { createRequestId } from '../../createRequestId'\nimport { getRawFetchHeaders } from './utils/recordRawHeaders'\nimport { FetchResponse } from '../../utils/fetchUtils'\n\ntype HttpConnectionOptions = any\n\nexport type MockHttpSocketRequestCallback = (args: {\n requestId: string\n request: Request\n socket: MockHttpSocket\n}) => void\n\nexport type MockHttpSocketResponseCallback = (args: {\n requestId: string\n request: Request\n response: Response\n isMockedResponse: boolean\n socket: MockHttpSocket\n}) => Promise\n\ninterface MockHttpSocketOptions {\n connectionOptions: HttpConnectionOptions\n createConnection: () => net.Socket\n onRequest: MockHttpSocketRequestCallback\n onResponse: MockHttpSocketResponseCallback\n}\n\nexport const kRequestId = Symbol('kRequestId')\n\nexport class MockHttpSocket extends MockSocket {\n private connectionOptions: HttpConnectionOptions\n private createConnection: () => net.Socket\n private baseUrl: URL\n\n private onRequest: MockHttpSocketRequestCallback\n private onResponse: MockHttpSocketResponseCallback\n private responseListenersPromise?: Promise\n\n private writeBuffer: Array = []\n private request?: Request\n private requestParser: HTTPParser<0>\n private requestStream?: Readable\n private shouldKeepAlive?: boolean\n\n private socketState: 'unknown' | 'mock' | 'passthrough' = 'unknown'\n private responseParser: HTTPParser<1>\n private responseStream?: Readable\n private originalSocket?: net.Socket\n\n constructor(options: MockHttpSocketOptions) {\n super({\n write: (chunk, encoding, callback) => {\n // Buffer the writes so they can be flushed in case of the original connection\n // and when reading the request body in the interceptor. If the connection has\n // been established, no need to buffer the chunks anymore, they will be forwarded.\n if (this.socketState !== 'passthrough') {\n this.writeBuffer.push([chunk, encoding, callback])\n }\n\n if (chunk) {\n /**\n * Forward any writes to the mock socket to the underlying original socket.\n * This ensures functional duplex connections, like WebSocket.\n * @see https://github.com/mswjs/interceptors/issues/682\n */\n if (this.socketState === 'passthrough') {\n this.originalSocket?.write(chunk, encoding, callback)\n }\n\n this.requestParser.execute(\n Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding)\n )\n }\n },\n read: (chunk) => {\n if (chunk !== null) {\n /**\n * @todo We need to free the parser if the connection has been\n * upgraded to a non-HTTP protocol. It won't be able to parse data\n * from that point onward anyway. No need to keep it in memory.\n */\n this.responseParser.execute(\n Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk)\n )\n }\n },\n })\n\n this.connectionOptions = options.connectionOptions\n this.createConnection = options.createConnection\n this.onRequest = options.onRequest\n this.onResponse = options.onResponse\n\n this.baseUrl = baseUrlFromConnectionOptions(this.connectionOptions)\n\n // Request parser.\n this.requestParser = new HTTPParser()\n this.requestParser.initialize(HTTPParser.REQUEST, {})\n this.requestParser[HTTPParser.kOnHeadersComplete] =\n this.onRequestStart.bind(this)\n this.requestParser[HTTPParser.kOnBody] = this.onRequestBody.bind(this)\n this.requestParser[HTTPParser.kOnMessageComplete] =\n this.onRequestEnd.bind(this)\n\n // Response parser.\n this.responseParser = new HTTPParser()\n this.responseParser.initialize(HTTPParser.RESPONSE, {})\n this.responseParser[HTTPParser.kOnHeadersComplete] =\n this.onResponseStart.bind(this)\n this.responseParser[HTTPParser.kOnBody] = this.onResponseBody.bind(this)\n this.responseParser[HTTPParser.kOnMessageComplete] =\n this.onResponseEnd.bind(this)\n\n // Once the socket is finished, nothing can write to it\n // anymore. It has also flushed any buffered chunks.\n this.once('finish', () => this.requestParser.free())\n\n if (this.baseUrl.protocol === 'https:') {\n Reflect.set(this, 'encrypted', true)\n // The server certificate is not the same as a CA\n // passed to the TLS socket connection options.\n Reflect.set(this, 'authorized', false)\n Reflect.set(this, 'getProtocol', () => 'TLSv1.3')\n Reflect.set(this, 'getSession', () => undefined)\n Reflect.set(this, 'isSessionReused', () => false)\n }\n }\n\n public emit(event: string | symbol, ...args: any[]): boolean {\n const emitEvent = super.emit.bind(this, event as any, ...args)\n\n if (this.responseListenersPromise) {\n this.responseListenersPromise.finally(emitEvent)\n return this.listenerCount(event) > 0\n }\n\n return emitEvent()\n }\n\n public destroy(error?: Error | undefined): this {\n // Destroy the response parser when the socket gets destroyed.\n // Normally, we shoud listen to the \"close\" event but it\n // can be suppressed by using the \"emitClose: false\" option.\n this.responseParser.free()\n\n if (error) {\n this.emit('error', error)\n }\n\n return super.destroy(error)\n }\n\n /**\n * Establish this Socket connection as-is and pipe\n * its data/events through this Socket.\n */\n public passthrough(): void {\n this.socketState = 'passthrough'\n\n if (this.destroyed) {\n return\n }\n\n const socket = this.createConnection()\n this.originalSocket = socket\n\n // If the developer destroys the socket, destroy the original connection.\n this.once('error', (error) => {\n socket.destroy(error)\n })\n\n this.address = socket.address.bind(socket)\n\n // Flush the buffered \"socket.write()\" calls onto\n // the original socket instance (i.e. write request body).\n // Exhaust the \"requestBuffer\" in case this Socket\n // gets reused for different requests.\n let writeArgs: NormalizedSocketWriteArgs | undefined\n let headersWritten = false\n\n while ((writeArgs = this.writeBuffer.shift())) {\n if (writeArgs !== undefined) {\n if (!headersWritten) {\n const [chunk, encoding, callback] = writeArgs\n const chunkString = chunk.toString()\n const chunkBeforeRequestHeaders = chunkString.slice(\n 0,\n chunkString.indexOf('\\r\\n') + 2\n )\n const chunkAfterRequestHeaders = chunkString.slice(\n chunk.indexOf('\\r\\n\\r\\n')\n )\n const rawRequestHeaders = getRawFetchHeaders(this.request!.headers)\n const requestHeadersString = rawRequestHeaders\n // Skip the internal request ID deduplication header.\n .filter(([name]) => {\n return name.toLowerCase() !== INTERNAL_REQUEST_ID_HEADER_NAME\n })\n .map(([name, value]) => `${name}: ${value}`)\n .join('\\r\\n')\n\n // Modify the HTTP request message headers\n // to reflect any changes to the request headers\n // from the \"request\" event listener.\n const headersChunk = `${chunkBeforeRequestHeaders}${requestHeadersString}${chunkAfterRequestHeaders}`\n socket.write(headersChunk, encoding, callback)\n headersWritten = true\n continue\n }\n\n socket.write(...writeArgs)\n }\n }\n\n // Forward TLS Socket properties onto this Socket instance\n // in the case of a TLS/SSL connection.\n if (Reflect.get(socket, 'encrypted')) {\n const tlsProperties = [\n 'encrypted',\n 'authorized',\n 'getProtocol',\n 'getSession',\n 'isSessionReused',\n ]\n\n tlsProperties.forEach((propertyName) => {\n Object.defineProperty(this, propertyName, {\n enumerable: true,\n get: () => {\n const value = Reflect.get(socket, propertyName)\n return typeof value === 'function' ? value.bind(socket) : value\n },\n })\n })\n }\n\n socket\n .on('lookup', (...args) => this.emit('lookup', ...args))\n .on('connect', () => {\n this.connecting = socket.connecting\n this.emit('connect')\n })\n .on('secureConnect', () => this.emit('secureConnect'))\n .on('secure', () => this.emit('secure'))\n .on('session', (session) => this.emit('session', session))\n .on('ready', () => this.emit('ready'))\n .on('drain', () => this.emit('drain'))\n .on('data', (chunk) => {\n // Push the original response to this socket\n // so it triggers the HTTP response parser. This unifies\n // the handling pipeline for original and mocked response.\n this.push(chunk)\n })\n .on('error', (error) => {\n Reflect.set(this, '_hadError', Reflect.get(socket, '_hadError'))\n this.emit('error', error)\n })\n .on('resume', () => this.emit('resume'))\n .on('timeout', () => this.emit('timeout'))\n .on('prefinish', () => this.emit('prefinish'))\n .on('finish', () => this.emit('finish'))\n .on('close', (hadError) => this.emit('close', hadError))\n .on('end', () => this.emit('end'))\n }\n\n /**\n * Convert the given Fetch API `Response` instance to an\n * HTTP message and push it to the socket.\n */\n public async respondWith(response: Response): Promise {\n // Ignore the mocked response if the socket has been destroyed\n // (e.g. aborted or timed out),\n if (this.destroyed) {\n return\n }\n\n // Handle \"type: error\" responses.\n if (isPropertyAccessible(response, 'type') && response.type === 'error') {\n this.errorWith(new TypeError('Network error'))\n return\n }\n\n // First, emit all the connection events\n // to emulate a successful connection.\n this.mockConnect()\n this.socketState = 'mock'\n\n // Flush the write buffer to trigger write callbacks\n // if it hasn't been flushed already (e.g. someone started reading request stream).\n this.flushWriteBuffer()\n\n // Create a `ServerResponse` instance to delegate HTTP message parsing,\n // Transfer-Encoding, and other things to Node.js internals.\n const serverResponse = new ServerResponse(new IncomingMessage(this))\n\n /**\n * Assign a mock socket instance to the server response to\n * spy on the response chunk writes. Push the transformed response chunks\n * to this `MockHttpSocket` instance to trigger the \"data\" event.\n * @note Providing the same `MockSocket` instance when creating `ServerResponse`\n * does not have the same effect.\n * @see https://github.com/nodejs/node/blob/10099bb3f7fd97bb9dd9667188426866b3098e07/test/parallel/test-http-server-response-standalone.js#L32\n */\n serverResponse.assignSocket(\n new MockSocket({\n write: (chunk, encoding, callback) => {\n this.push(chunk, encoding)\n callback?.()\n },\n read() {},\n })\n )\n\n /**\n * @note Remove the `Connection` and `Date` response headers\n * injected by `ServerResponse` by default. Those are required\n * from the server but the interceptor is NOT technically a server.\n * It's confusing to add response headers that the developer didn't\n * specify themselves. They can always add these if they wish.\n * @see https://www.rfc-editor.org/rfc/rfc9110#field.date\n * @see https://www.rfc-editor.org/rfc/rfc9110#field.connection\n */\n serverResponse.removeHeader('connection')\n serverResponse.removeHeader('date')\n\n const rawResponseHeaders = getRawFetchHeaders(response.headers)\n\n /**\n * @note Call `.writeHead` in order to set the raw response headers\n * in the same case as they were provided by the developer. Using\n * `.setHeader()`/`.appendHeader()` normalizes header names.\n */\n serverResponse.writeHead(\n response.status,\n response.statusText || STATUS_CODES[response.status],\n rawResponseHeaders\n )\n\n // If the developer destroy the socket, gracefully destroy the response.\n this.once('error', () => {\n serverResponse.destroy()\n })\n\n if (response.body) {\n try {\n const reader = response.body.getReader()\n\n while (true) {\n const { done, value } = await reader.read()\n\n if (done) {\n serverResponse.end()\n break\n }\n\n serverResponse.write(value)\n }\n } catch (error) {\n // Coerce response stream errors to 500 responses.\n this.respondWith(createServerErrorResponse(error))\n return\n }\n } else {\n serverResponse.end()\n }\n\n // Close the socket if the connection wasn't marked as keep-alive.\n if (!this.shouldKeepAlive) {\n this.emit('readable')\n\n /**\n * @todo @fixme This is likely a hack.\n * Since we push null to the socket, it never propagates to the\n * parser, and the parser never calls \"onResponseEnd\" to close\n * the response stream. We are closing the stream here manually\n * but that shouldn't be the case.\n */\n this.responseStream?.push(null)\n this.push(null)\n }\n }\n\n /**\n * Close this socket connection with the given error.\n */\n public errorWith(error?: Error): void {\n this.destroy(error)\n }\n\n private mockConnect(): void {\n // Calling this method immediately puts the socket\n // into the connected state.\n this.connecting = false\n\n const isIPv6 =\n net.isIPv6(this.connectionOptions.hostname) ||\n this.connectionOptions.family === 6\n const addressInfo = {\n address: isIPv6 ? '::1' : '127.0.0.1',\n family: isIPv6 ? 'IPv6' : 'IPv4',\n port: this.connectionOptions.port,\n }\n // Return fake address information for the socket.\n this.address = () => addressInfo\n this.emit(\n 'lookup',\n null,\n addressInfo.address,\n addressInfo.family === 'IPv6' ? 6 : 4,\n this.connectionOptions.host\n )\n this.emit('connect')\n this.emit('ready')\n\n if (this.baseUrl.protocol === 'https:') {\n this.emit('secure')\n this.emit('secureConnect')\n\n // A single TLS connection is represented by two \"session\" events.\n this.emit(\n 'session',\n this.connectionOptions.session ||\n Buffer.from('mock-session-renegotiate')\n )\n this.emit('session', Buffer.from('mock-session-resume'))\n }\n }\n\n private flushWriteBuffer(): void {\n for (const writeCall of this.writeBuffer) {\n if (typeof writeCall[2] === 'function') {\n writeCall[2]()\n /**\n * @note Remove the callback from the write call\n * so it doesn't get called twice on passthrough\n * if `request.end()` was called within `request.write()`.\n * @see https://github.com/mswjs/interceptors/issues/684\n */\n writeCall[2] = undefined\n }\n }\n }\n\n private onRequestStart: RequestHeadersCompleteCallback = (\n versionMajor,\n versionMinor,\n rawHeaders,\n _,\n path,\n __,\n ___,\n ____,\n shouldKeepAlive\n ) => {\n this.shouldKeepAlive = shouldKeepAlive\n\n const url = new URL(path, this.baseUrl)\n const method = this.connectionOptions.method?.toUpperCase() || 'GET'\n const headers = FetchResponse.parseRawHeaders(rawHeaders)\n const canHaveBody = method !== 'GET' && method !== 'HEAD'\n\n // Translate the basic authorization in the URL to the request header.\n // Constructing a Request instance with a URL containing auth is no-op.\n if (url.username || url.password) {\n if (!headers.has('authorization')) {\n headers.set('authorization', `Basic ${url.username}:${url.password}`)\n }\n url.username = ''\n url.password = ''\n }\n\n // Create a new stream for each request.\n // If this Socket is reused for multiple requests,\n // this ensures that each request gets its own stream.\n // One Socket instance can only handle one request at a time.\n if (canHaveBody) {\n this.requestStream = new Readable({\n /**\n * @note Provide the `read()` method so a `Readable` could be\n * used as the actual request body (the stream calls \"read()\").\n * We control the queue in the onRequestBody/End functions.\n */\n read: () => {\n // If the user attempts to read the request body,\n // flush the write buffer to trigger the callbacks.\n // This way, if the request stream ends in the write callback,\n // it will indeed end correctly.\n this.flushWriteBuffer()\n },\n })\n }\n\n const requestId = createRequestId()\n this.request = new Request(url, {\n method,\n headers,\n credentials: 'same-origin',\n // @ts-expect-error Undocumented Fetch property.\n duplex: canHaveBody ? 'half' : undefined,\n body: canHaveBody ? (Readable.toWeb(this.requestStream!) as any) : null,\n })\n\n Reflect.set(this.request, kRequestId, requestId)\n\n // Skip handling the request that's already being handled\n // by another (parent) interceptor. For example, XMLHttpRequest\n // is often implemented via ClientRequest in Node.js (e.g. JSDOM).\n // In that case, XHR interceptor will bubble down to the ClientRequest\n // interceptor. No need to try to handle that request again.\n /**\n * @fixme Stop relying on the \"X-Request-Id\" request header\n * to figure out if one interceptor has been invoked within another.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\n if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) {\n this.passthrough()\n return\n }\n\n this.onRequest({\n requestId,\n request: this.request,\n socket: this,\n })\n }\n\n private onRequestBody(chunk: Buffer): void {\n invariant(\n this.requestStream,\n 'Failed to write to a request stream: stream does not exist'\n )\n\n this.requestStream.push(chunk)\n }\n\n private onRequestEnd(): void {\n // Request end can be called for requests without body.\n if (this.requestStream) {\n this.requestStream.push(null)\n }\n }\n\n private onResponseStart: ResponseHeadersCompleteCallback = (\n versionMajor,\n versionMinor,\n rawHeaders,\n method,\n url,\n status,\n statusText\n ) => {\n const headers = FetchResponse.parseRawHeaders(rawHeaders)\n\n const response = new FetchResponse(\n /**\n * @note The Fetch API response instance exposed to the consumer\n * is created over the response stream of the HTTP parser. It is NOT\n * related to the Socket instance. This way, you can read response body\n * in response listener while the Socket instance delays the emission\n * of \"end\" and other events until those response listeners are finished.\n */\n FetchResponse.isResponseWithBody(status)\n ? (Readable.toWeb(\n (this.responseStream = new Readable({ read() {} }))\n ) as any)\n : null,\n {\n url,\n status,\n statusText,\n headers,\n }\n )\n\n invariant(\n this.request,\n 'Failed to handle a response: request does not exist'\n )\n\n /**\n * @fixme Stop relying on the \"X-Request-Id\" request header\n * to figure out if one interceptor has been invoked within another.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\n if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) {\n return\n }\n\n this.responseListenersPromise = this.onResponse({\n response,\n isMockedResponse: this.socketState === 'mock',\n requestId: Reflect.get(this.request, kRequestId),\n request: this.request,\n socket: this,\n })\n }\n\n private onResponseBody(chunk: Buffer) {\n invariant(\n this.responseStream,\n 'Failed to write to a response stream: stream does not exist'\n )\n\n this.responseStream.push(chunk)\n }\n\n private onResponseEnd(): void {\n // Response end can be called for responses without body.\n if (this.responseStream) {\n this.responseStream.push(null)\n }\n }\n}\n","import net from 'node:net'\nimport {\n normalizeSocketWriteArgs,\n type WriteArgs,\n type WriteCallback,\n} from './utils/normalizeSocketWriteArgs'\n\nexport interface MockSocketOptions {\n write: (\n chunk: Buffer | string,\n encoding: BufferEncoding | undefined,\n callback?: WriteCallback\n ) => void\n\n read: (chunk: Buffer, encoding: BufferEncoding | undefined) => void\n}\n\nexport class MockSocket extends net.Socket {\n public connecting: boolean\n\n constructor(protected readonly options: MockSocketOptions) {\n super()\n this.connecting = false\n this.connect()\n\n this._final = (callback) => {\n callback(null)\n }\n }\n\n public connect() {\n // The connection will remain pending until\n // the consumer decides to handle it.\n this.connecting = true\n return this\n }\n\n public write(...args: Array): boolean {\n const [chunk, encoding, callback] = normalizeSocketWriteArgs(\n args as WriteArgs\n )\n this.options.write(chunk, encoding, callback)\n return true\n }\n\n public end(...args: Array) {\n const [chunk, encoding, callback] = normalizeSocketWriteArgs(\n args as WriteArgs\n )\n this.options.write(chunk, encoding, callback)\n return super.end.apply(this, args as any)\n }\n\n public push(chunk: any, encoding?: BufferEncoding): boolean {\n this.options.read(chunk, encoding)\n return super.push(chunk, encoding)\n }\n}\n","export type WriteCallback = (error?: Error | null) => void\n\nexport type WriteArgs =\n | [chunk: unknown, callback?: WriteCallback]\n | [chunk: unknown, encoding: BufferEncoding, callback?: WriteCallback]\n\nexport type NormalizedSocketWriteArgs = [\n chunk: any,\n encoding?: BufferEncoding,\n callback?: WriteCallback,\n]\n\n/**\n * Normalizes the arguments provided to the `Writable.prototype.write()`\n * and `Writable.prototype.end()`.\n */\nexport function normalizeSocketWriteArgs(\n args: WriteArgs\n): NormalizedSocketWriteArgs {\n const normalized: NormalizedSocketWriteArgs = [args[0], undefined, undefined]\n\n if (typeof args[1] === 'string') {\n normalized[1] = args[1]\n } else if (typeof args[1] === 'function') {\n normalized[2] = args[1]\n }\n\n if (typeof args[2] === 'function') {\n normalized[2] = args[2]\n }\n\n return normalized\n}\n","export function baseUrlFromConnectionOptions(options: any): URL {\n if ('href' in options) {\n return new URL(options.href)\n }\n\n const protocol = options.port === 443 ? 'https:' : 'http:'\n const host = options.host\n\n const url = new URL(`${protocol}//${host}`)\n\n if (options.port) {\n url.port = options.port.toString()\n }\n\n if (options.path) {\n url.pathname = options.path\n }\n\n if (options.auth) {\n const [username, password] = options.auth.split(':')\n url.username = username\n url.password = password\n }\n\n return url\n}\n","type HeaderTuple = [string, string]\ntype RawHeaders = Array\ntype SetHeaderBehavior = 'set' | 'append'\n\nconst kRawHeaders = Symbol('kRawHeaders')\nconst kRestorePatches = Symbol('kRestorePatches')\n\nfunction recordRawHeader(\n headers: Headers,\n args: HeaderTuple,\n behavior: SetHeaderBehavior\n) {\n ensureRawHeadersSymbol(headers, [])\n const rawHeaders = Reflect.get(headers, kRawHeaders) as RawHeaders\n\n if (behavior === 'set') {\n // When recording a set header, ensure we remove any matching existing headers.\n for (let index = rawHeaders.length - 1; index >= 0; index--) {\n if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) {\n rawHeaders.splice(index, 1)\n }\n }\n }\n\n rawHeaders.push(args)\n}\n\n/**\n * Define the raw headers symbol on the given `Headers` instance.\n * If the symbol already exists, this function does nothing.\n */\nfunction ensureRawHeadersSymbol(\n headers: Headers,\n rawHeaders: RawHeaders\n): void {\n if (Reflect.has(headers, kRawHeaders)) {\n return\n }\n\n defineRawHeadersSymbol(headers, rawHeaders)\n}\n\n/**\n * Define the raw headers symbol on the given `Headers` instance.\n * If the symbol already exists, it gets overridden.\n */\nfunction defineRawHeadersSymbol(headers: Headers, rawHeaders: RawHeaders) {\n Object.defineProperty(headers, kRawHeaders, {\n value: rawHeaders,\n enumerable: false,\n // Mark the symbol as configurable so its value can be overridden.\n // Overrides happen when merging raw headers from multiple sources.\n // E.g. new Request(new Request(url, { headers }), { headers })\n configurable: true,\n })\n}\n\n/**\n * Patch the global `Headers` class to store raw headers.\n * This is for compatibility with `IncomingMessage.prototype.rawHeaders`.\n *\n * @note Node.js has their own raw headers symbol but it\n * only records the first header name in case of multi-value headers.\n * Any other headers are normalized before comparing. This makes it\n * incompatible with the `rawHeaders` format.\n *\n * let h = new Headers()\n * h.append('X-Custom', 'one')\n * h.append('x-custom', 'two')\n * h[Symbol('headers map')] // Map { 'X-Custom' => 'one, two' }\n */\nexport function recordRawFetchHeaders() {\n // Prevent patching the Headers prototype multiple times.\n if (Reflect.get(Headers, kRestorePatches)) {\n return Reflect.get(Headers, kRestorePatches)\n }\n\n const {\n Headers: OriginalHeaders,\n Request: OriginalRequest,\n Response: OriginalResponse,\n } = globalThis\n const { set, append, delete: headersDeleteMethod } = Headers.prototype\n\n Object.defineProperty(Headers, kRestorePatches, {\n value: () => {\n Headers.prototype.set = set\n Headers.prototype.append = append\n Headers.prototype.delete = headersDeleteMethod\n globalThis.Headers = OriginalHeaders\n\n globalThis.Request = OriginalRequest\n globalThis.Response = OriginalResponse\n\n Reflect.deleteProperty(Headers, kRestorePatches)\n },\n enumerable: false,\n /**\n * @note Mark this property as configurable\n * so we can delete it using `Reflect.delete` during cleanup.\n */\n configurable: true,\n })\n\n Object.defineProperty(globalThis, 'Headers', {\n enumerable: true,\n writable: true,\n value: new Proxy(Headers, {\n construct(target, args, newTarget) {\n const headersInit = args[0] || []\n\n if (\n headersInit instanceof Headers &&\n Reflect.has(headersInit, kRawHeaders)\n ) {\n const headers = Reflect.construct(\n target,\n [Reflect.get(headersInit, kRawHeaders)],\n newTarget\n )\n ensureRawHeadersSymbol(headers, [\n /**\n * @note Spread the retrieved headers to clone them.\n * This prevents multiple Headers instances from pointing\n * at the same internal \"rawHeaders\" array.\n */\n ...Reflect.get(headersInit, kRawHeaders),\n ])\n return headers\n }\n\n const headers = Reflect.construct(target, args, newTarget)\n\n // Request/Response constructors will set the symbol\n // upon creating a new instance, using the raw developer\n // input as the raw headers. Skip the symbol altogether\n // in those cases because the input to Headers will be normalized.\n if (!Reflect.has(headers, kRawHeaders)) {\n const rawHeadersInit = Array.isArray(headersInit)\n ? headersInit\n : Object.entries(headersInit)\n ensureRawHeadersSymbol(headers, rawHeadersInit)\n }\n\n return headers\n },\n }),\n })\n\n Headers.prototype.set = new Proxy(Headers.prototype.set, {\n apply(target, thisArg, args: HeaderTuple) {\n recordRawHeader(thisArg, args, 'set')\n return Reflect.apply(target, thisArg, args)\n },\n })\n\n Headers.prototype.append = new Proxy(Headers.prototype.append, {\n apply(target, thisArg, args: HeaderTuple) {\n recordRawHeader(thisArg, args, 'append')\n return Reflect.apply(target, thisArg, args)\n },\n })\n\n Headers.prototype.delete = new Proxy(Headers.prototype.delete, {\n apply(target, thisArg, args: [string]) {\n const rawHeaders = Reflect.get(thisArg, kRawHeaders) as RawHeaders\n\n if (rawHeaders) {\n for (let index = rawHeaders.length - 1; index >= 0; index--) {\n if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) {\n rawHeaders.splice(index, 1)\n }\n }\n }\n\n return Reflect.apply(target, thisArg, args)\n },\n })\n\n Object.defineProperty(globalThis, 'Request', {\n enumerable: true,\n writable: true,\n value: new Proxy(Request, {\n construct(target, args, newTarget) {\n const request = Reflect.construct(target, args, newTarget)\n const inferredRawHeaders: RawHeaders = []\n\n // Infer raw headers from a `Request` instance used as init.\n if (typeof args[0] === 'object' && args[0].headers != null) {\n inferredRawHeaders.push(...inferRawHeaders(args[0].headers))\n }\n\n // Infer raw headers from the \"headers\" init argument.\n if (typeof args[1] === 'object' && args[1].headers != null) {\n inferredRawHeaders.push(...inferRawHeaders(args[1].headers))\n }\n\n if (inferredRawHeaders.length > 0) {\n ensureRawHeadersSymbol(request.headers, inferredRawHeaders)\n }\n\n return request\n },\n }),\n })\n\n Object.defineProperty(globalThis, 'Response', {\n enumerable: true,\n writable: true,\n value: new Proxy(Response, {\n construct(target, args, newTarget) {\n const response = Reflect.construct(target, args, newTarget)\n\n if (typeof args[1] === 'object' && args[1].headers != null) {\n ensureRawHeadersSymbol(\n response.headers,\n inferRawHeaders(args[1].headers)\n )\n }\n\n return response\n },\n }),\n })\n}\n\nexport function restoreHeadersPrototype() {\n if (!Reflect.get(Headers, kRestorePatches)) {\n return\n }\n\n Reflect.get(Headers, kRestorePatches)()\n}\n\nexport function getRawFetchHeaders(headers: Headers): RawHeaders {\n // If the raw headers recording failed for some reason,\n // use the normalized header entries instead.\n if (!Reflect.has(headers, kRawHeaders)) {\n return Array.from(headers.entries())\n }\n\n const rawHeaders = Reflect.get(headers, kRawHeaders) as RawHeaders\n return rawHeaders.length > 0 ? rawHeaders : Array.from(headers.entries())\n}\n\n/**\n * Infers the raw headers from the given `HeadersInit` provided\n * to the Request/Response constructor.\n *\n * If the `init.headers` is a Headers instance, use it directly.\n * That means the headers were created standalone and already have\n * the raw headers stored.\n * If the `init.headers` is a HeadersInit, create a new Headers\n * instace out of it.\n */\nfunction inferRawHeaders(headers: HeadersInit): RawHeaders {\n if (headers instanceof Headers) {\n return Reflect.get(headers, kRawHeaders) || []\n }\n\n return Reflect.get(new Headers(headers), kRawHeaders)\n}\n","import net from 'node:net'\nimport http from 'node:http'\nimport https from 'node:https'\nimport {\n MockHttpSocket,\n type MockHttpSocketRequestCallback,\n type MockHttpSocketResponseCallback,\n} from './MockHttpSocket'\n\ndeclare module 'node:http' {\n interface Agent {\n createConnection(options: any, callback: any): net.Socket\n }\n}\n\ninterface MockAgentOptions {\n customAgent?: http.RequestOptions['agent']\n onRequest: MockHttpSocketRequestCallback\n onResponse: MockHttpSocketResponseCallback\n}\n\nexport class MockAgent extends http.Agent {\n private customAgent?: http.RequestOptions['agent']\n private onRequest: MockHttpSocketRequestCallback\n private onResponse: MockHttpSocketResponseCallback\n\n constructor(options: MockAgentOptions) {\n super()\n this.customAgent = options.customAgent\n this.onRequest = options.onRequest\n this.onResponse = options.onResponse\n }\n\n public createConnection(options: any, callback: any): net.Socket {\n const createConnection =\n (this.customAgent instanceof http.Agent &&\n this.customAgent.createConnection) ||\n super.createConnection\n\n const socket = new MockHttpSocket({\n connectionOptions: options,\n createConnection: createConnection.bind(\n this.customAgent || this,\n options,\n callback\n ),\n onRequest: this.onRequest.bind(this),\n onResponse: this.onResponse.bind(this),\n })\n\n return socket\n }\n}\n\nexport class MockHttpsAgent extends https.Agent {\n private customAgent?: https.RequestOptions['agent']\n private onRequest: MockHttpSocketRequestCallback\n private onResponse: MockHttpSocketResponseCallback\n\n constructor(options: MockAgentOptions) {\n super()\n this.customAgent = options.customAgent\n this.onRequest = options.onRequest\n this.onResponse = options.onResponse\n }\n\n public createConnection(options: any, callback: any): net.Socket {\n const createConnection =\n (this.customAgent instanceof https.Agent &&\n this.customAgent.createConnection) ||\n super.createConnection\n\n const socket = new MockHttpSocket({\n connectionOptions: options,\n createConnection: createConnection.bind(\n this.customAgent || this,\n options,\n callback\n ),\n onRequest: this.onRequest.bind(this),\n onResponse: this.onResponse.bind(this),\n })\n\n return socket\n }\n}\n","import { urlToHttpOptions } from 'node:url'\nimport {\n Agent as HttpAgent,\n globalAgent as httpGlobalAgent,\n IncomingMessage,\n} from 'node:http'\nimport {\n RequestOptions,\n Agent as HttpsAgent,\n globalAgent as httpsGlobalAgent,\n} from 'node:https'\nimport {\n /**\n * @note Use the Node.js URL instead of the global URL\n * because environments like JSDOM may override the global,\n * breaking the compatibility with Node.js.\n * @see https://github.com/node-fetch/node-fetch/issues/1376#issuecomment-966435555\n */\n URL,\n Url as LegacyURL,\n parse as parseUrl,\n} from 'node:url'\nimport { Logger } from '@open-draft/logger'\nimport {\n ResolvedRequestOptions,\n getUrlByRequestOptions,\n} from '../../../utils/getUrlByRequestOptions'\nimport { cloneObject } from '../../../utils/cloneObject'\nimport { isObject } from '../../../utils/isObject'\n\nconst logger = new Logger('http normalizeClientRequestArgs')\n\nexport type HttpRequestCallback = (response: IncomingMessage) => void\n\nexport type ClientRequestArgs =\n // Request without any arguments is also possible.\n | []\n | [string | URL | LegacyURL, HttpRequestCallback?]\n | [string | URL | LegacyURL, RequestOptions, HttpRequestCallback?]\n | [RequestOptions, HttpRequestCallback?]\n\nfunction resolveRequestOptions(\n args: ClientRequestArgs,\n url: URL\n): RequestOptions {\n // Calling `fetch` provides only URL to `ClientRequest`\n // without any `RequestOptions` or callback.\n if (typeof args[1] === 'undefined' || typeof args[1] === 'function') {\n logger.info('request options not provided, deriving from the url', url)\n return urlToHttpOptions(url)\n }\n\n if (args[1]) {\n logger.info('has custom RequestOptions!', args[1])\n const requestOptionsFromUrl = urlToHttpOptions(url)\n\n logger.info('derived RequestOptions from the URL:', requestOptionsFromUrl)\n\n /**\n * Clone the request options to lock their state\n * at the moment they are provided to `ClientRequest`.\n * @see https://github.com/mswjs/interceptors/issues/86\n */\n logger.info('cloning RequestOptions...')\n const clonedRequestOptions = cloneObject(args[1])\n logger.info('successfully cloned RequestOptions!', clonedRequestOptions)\n\n return {\n ...requestOptionsFromUrl,\n ...clonedRequestOptions,\n }\n }\n\n logger.info('using an empty object as request options')\n return {} as RequestOptions\n}\n\n/**\n * Overrides the given `URL` instance with the explicit properties provided\n * on the `RequestOptions` object. The options object takes precedence,\n * and will replace URL properties like \"host\", \"path\", and \"port\", if specified.\n */\nfunction overrideUrlByRequestOptions(url: URL, options: RequestOptions): URL {\n url.host = options.host || url.host\n url.hostname = options.hostname || url.hostname\n url.port = options.port ? options.port.toString() : url.port\n\n if (options.path) {\n const parsedOptionsPath = parseUrl(options.path, false)\n url.pathname = parsedOptionsPath.pathname || ''\n url.search = parsedOptionsPath.search || ''\n }\n\n return url\n}\n\nfunction resolveCallback(\n args: ClientRequestArgs\n): HttpRequestCallback | undefined {\n return typeof args[1] === 'function' ? args[1] : args[2]\n}\n\nexport type NormalizedClientRequestArgs = [\n url: URL,\n options: ResolvedRequestOptions,\n callback?: HttpRequestCallback\n]\n\n/**\n * Normalizes parameters given to a `http.request` call\n * so it always has a `URL` and `RequestOptions`.\n */\nexport function normalizeClientRequestArgs(\n defaultProtocol: string,\n args: ClientRequestArgs\n): NormalizedClientRequestArgs {\n let url: URL\n let options: ResolvedRequestOptions\n let callback: HttpRequestCallback | undefined\n\n logger.info('arguments', args)\n logger.info('using default protocol:', defaultProtocol)\n\n // Support \"http.request()\" calls without any arguments.\n // That call results in a \"GET http://localhost\" request.\n if (args.length === 0) {\n const url = new URL('http://localhost')\n const options = resolveRequestOptions(args, url)\n return [url, options]\n }\n\n // Convert a url string into a URL instance\n // and derive request options from it.\n if (typeof args[0] === 'string') {\n logger.info('first argument is a location string:', args[0])\n\n url = new URL(args[0])\n logger.info('created a url:', url)\n\n const requestOptionsFromUrl = urlToHttpOptions(url)\n logger.info('request options from url:', requestOptionsFromUrl)\n\n options = resolveRequestOptions(args, url)\n logger.info('resolved request options:', options)\n\n callback = resolveCallback(args)\n }\n // Handle a given URL instance as-is\n // and derive request options from it.\n else if (args[0] instanceof URL) {\n url = args[0]\n logger.info('first argument is a URL:', url)\n\n // Check if the second provided argument is RequestOptions.\n // If it is, check if \"options.path\" was set and rewrite it\n // on the input URL.\n // Do this before resolving options from the URL below\n // to prevent query string from being duplicated in the path.\n if (typeof args[1] !== 'undefined' && isObject(args[1])) {\n url = overrideUrlByRequestOptions(url, args[1])\n }\n\n options = resolveRequestOptions(args, url)\n logger.info('derived request options:', options)\n\n callback = resolveCallback(args)\n }\n // Handle a legacy URL instance and re-normalize from either a RequestOptions object\n // or a WHATWG URL.\n else if ('hash' in args[0] && !('method' in args[0])) {\n const [legacyUrl] = args\n logger.info('first argument is a legacy URL:', legacyUrl)\n\n if (legacyUrl.hostname === null) {\n /**\n * We are dealing with a relative url, so use the path as an \"option\" and\n * merge in any existing options, giving priority to exising options -- i.e. a path in any\n * existing options will take precedence over the one contained in the url. This is consistent\n * with the behaviour in ClientRequest.\n * @see https://github.com/nodejs/node/blob/d84f1312915fe45fe0febe888db692c74894c382/lib/_http_client.js#L122\n */\n logger.info('given legacy URL is relative (no hostname)')\n\n return isObject(args[1])\n ? normalizeClientRequestArgs(defaultProtocol, [\n { path: legacyUrl.path, ...args[1] },\n args[2],\n ])\n : normalizeClientRequestArgs(defaultProtocol, [\n { path: legacyUrl.path },\n args[1] as HttpRequestCallback,\n ])\n }\n\n logger.info('given legacy url is absolute')\n\n // We are dealing with an absolute URL, so convert to WHATWG and try again.\n const resolvedUrl = new URL(legacyUrl.href)\n\n return args[1] === undefined\n ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl])\n : typeof args[1] === 'function'\n ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl, args[1]])\n : normalizeClientRequestArgs(defaultProtocol, [\n resolvedUrl,\n args[1],\n args[2],\n ])\n }\n // Handle a given \"RequestOptions\" object as-is\n // and derive the URL instance from it.\n else if (isObject(args[0])) {\n options = { ...(args[0] as any) }\n logger.info('first argument is RequestOptions:', options)\n\n // When handling a \"RequestOptions\" object without an explicit \"protocol\",\n // infer the protocol from the request issuing module (http/https).\n options.protocol = options.protocol || defaultProtocol\n logger.info('normalized request options:', options)\n\n url = getUrlByRequestOptions(options)\n logger.info('created a URL from RequestOptions:', url.href)\n\n callback = resolveCallback(args)\n } else {\n throw new Error(\n `Failed to construct ClientRequest with these parameters: ${args}`\n )\n }\n\n options.protocol = options.protocol || url.protocol\n options.method = options.method || 'GET'\n\n /**\n * Infer a fallback agent from the URL protocol.\n * The interception is done on the \"ClientRequest\" level (\"NodeClientRequest\")\n * and it may miss the correct agent. Always align the agent\n * with the URL protocol, if not provided.\n *\n * @note Respect the \"agent: false\" value.\n */\n if (typeof options.agent === 'undefined') {\n const agent =\n options.protocol === 'https:'\n ? new HttpsAgent({\n rejectUnauthorized: options.rejectUnauthorized,\n })\n : new HttpAgent()\n\n options.agent = agent\n logger.info('resolved fallback agent:', agent)\n }\n\n /**\n * Ensure that the default Agent is always set.\n * This prevents the protocol mismatch for requests with { agent: false },\n * where the global Agent is inferred.\n * @see https://github.com/mswjs/msw/issues/1150\n * @see https://github.com/nodejs/node/blob/418ff70b810f0e7112d48baaa72932a56cfa213b/lib/_http_client.js#L130\n * @see https://github.com/nodejs/node/blob/418ff70b810f0e7112d48baaa72932a56cfa213b/lib/_http_client.js#L157-L159\n */\n if (!options._defaultAgent) {\n logger.info(\n 'has no default agent, setting the default agent for \"%s\"',\n options.protocol\n )\n\n options._defaultAgent =\n options.protocol === 'https:' ? httpsGlobalAgent : httpGlobalAgent\n }\n\n logger.info('successfully resolved url:', url.href)\n logger.info('successfully resolved options:', options)\n logger.info('successfully resolved callback:', callback)\n\n /**\n * @note If the user-provided URL is not a valid URL in Node.js,\n * (e.g. the one provided by the JSDOM polyfills), case it to\n * string. Otherwise, this throws on Node.js incompatibility\n * (`ERR_INVALID_ARG_TYPE` on the connection listener)\n * @see https://github.com/node-fetch/node-fetch/issues/1376#issuecomment-966435555\n */\n if (!(url instanceof URL)) {\n url = (url as any).toString()\n }\n\n return [url, options, callback]\n}\n","import { Agent } from 'http'\nimport { RequestOptions, Agent as HttpsAgent } from 'https'\nimport { Logger } from '@open-draft/logger'\n\nconst logger = new Logger('utils getUrlByRequestOptions')\n\n// Request instance constructed by the \"request\" library\n// has a \"self\" property that has a \"uri\" field. This is\n// reproducible by performing a \"XMLHttpRequest\" request in JSDOM.\nexport interface RequestSelf {\n uri?: URL\n}\n\nexport type ResolvedRequestOptions = RequestOptions & RequestSelf\n\nexport const DEFAULT_PATH = '/'\nconst DEFAULT_PROTOCOL = 'http:'\nconst DEFAULT_HOSTNAME = 'localhost'\nconst SSL_PORT = 443\n\nfunction getAgent(\n options: ResolvedRequestOptions\n): Agent | HttpsAgent | undefined {\n return options.agent instanceof Agent ? options.agent : undefined\n}\n\nfunction getProtocolByRequestOptions(options: ResolvedRequestOptions): string {\n if (options.protocol) {\n return options.protocol\n }\n\n const agent = getAgent(options)\n const agentProtocol = (agent as RequestOptions)?.protocol\n\n if (agentProtocol) {\n return agentProtocol\n }\n\n const port = getPortByRequestOptions(options)\n const isSecureRequest = options.cert || port === SSL_PORT\n\n return isSecureRequest ? 'https:' : options.uri?.protocol || DEFAULT_PROTOCOL\n}\n\nfunction getPortByRequestOptions(\n options: ResolvedRequestOptions\n): number | undefined {\n // Use the explicitly provided port.\n if (options.port) {\n return Number(options.port)\n }\n\n // Otherwise, try to resolve port from the agent.\n const agent = getAgent(options)\n\n if ((agent as HttpsAgent)?.options.port) {\n return Number((agent as HttpsAgent).options.port)\n }\n\n if ((agent as RequestOptions)?.defaultPort) {\n return Number((agent as RequestOptions).defaultPort)\n }\n\n // Lastly, return undefined indicating that the port\n // must inferred from the protocol. Do not infer it here.\n return undefined\n}\n\ninterface RequestAuth {\n username: string\n password: string\n}\n\nfunction getAuthByRequestOptions(\n options: ResolvedRequestOptions\n): RequestAuth | undefined {\n if (options.auth) {\n const [username, password] = options.auth.split(':')\n return { username, password }\n }\n}\n\n/**\n * Returns true if host looks like an IPv6 address without surrounding brackets\n * It assumes any host containing `:` is definitely not IPv4 and probably IPv6,\n * but note that this could include invalid IPv6 addresses as well.\n */\nfunction isRawIPv6Address(host: string): boolean {\n return host.includes(':') && !host.startsWith('[') && !host.endsWith(']')\n}\n\nfunction getHostname(options: ResolvedRequestOptions): string | undefined {\n let host = options.hostname || options.host\n\n if (host) {\n if (isRawIPv6Address(host)) {\n host = `[${host}]`\n }\n\n // Check the presence of the port, and if it's present,\n // remove it from the host, returning a hostname.\n return new URL(`http://${host}`).hostname\n }\n\n return DEFAULT_HOSTNAME\n}\n\n/**\n * Creates a `URL` instance from a given `RequestOptions` object.\n */\nexport function getUrlByRequestOptions(options: ResolvedRequestOptions): URL {\n logger.info('request options', options)\n\n if (options.uri) {\n logger.info(\n 'constructing url from explicitly provided \"options.uri\": %s',\n options.uri\n )\n return new URL(options.uri.href)\n }\n\n logger.info('figuring out url from request options...')\n\n const protocol = getProtocolByRequestOptions(options)\n logger.info('protocol', protocol)\n\n const port = getPortByRequestOptions(options)\n logger.info('port', port)\n\n const hostname = getHostname(options)\n logger.info('hostname', hostname)\n\n const path = options.path || DEFAULT_PATH\n logger.info('path', path)\n\n const credentials = getAuthByRequestOptions(options)\n logger.info('credentials', credentials)\n\n const authString = credentials\n ? `${credentials.username}:${credentials.password}@`\n : ''\n logger.info('auth string:', authString)\n\n const portString = typeof port !== 'undefined' ? `:${port}` : ''\n const url = new URL(`${protocol}//${hostname}${portString}${path}`)\n url.username = credentials?.username || ''\n url.password = credentials?.password || ''\n\n logger.info('created url:', url)\n\n return url\n}\n","import { Logger } from '@open-draft/logger'\n\nconst logger = new Logger('cloneObject')\n\nfunction isPlainObject(obj?: Record): boolean {\n logger.info('is plain object?', obj)\n\n if (obj == null || !obj.constructor?.name) {\n logger.info('given object is undefined, not a plain object...')\n return false\n }\n\n logger.info('checking the object constructor:', obj.constructor.name)\n return obj.constructor.name === 'Object'\n}\n\nexport function cloneObject>(\n obj: ObjectType\n): ObjectType {\n logger.info('cloning object:', obj)\n\n const enumerableProperties = Object.entries(obj).reduce>(\n (acc, [key, value]) => {\n logger.info('analyzing key-value pair:', key, value)\n\n // Recursively clone only plain objects, omitting class instances.\n acc[key] = isPlainObject(value) ? cloneObject(value) : value\n return acc\n },\n {}\n )\n\n return isPlainObject(obj)\n ? enumerableProperties\n : Object.assign(Object.getPrototypeOf(obj), enumerableProperties)\n}\n","/**\n * Determines if a given value is an instance of object.\n */\nexport function isObject(value: any, loose = false): value is T {\n return loose\n ? Object.prototype.toString.call(value).startsWith('[object ')\n : Object.prototype.toString.call(value) === '[object Object]'\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs new file mode 100644 index 0000000000..12e6e12bde --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs @@ -0,0 +1,230 @@ +// src/RequestController.ts +import { invariant } from "outvariant"; +import { DeferredPromise } from "@open-draft/deferred-promise"; + +// src/InterceptorError.ts +var InterceptorError = class extends Error { + constructor(message) { + super(message); + this.name = "InterceptorError"; + Object.setPrototypeOf(this, InterceptorError.prototype); + } +}; + +// src/RequestController.ts +var kRequestHandled = Symbol("kRequestHandled"); +var kResponsePromise = Symbol("kResponsePromise"); +var RequestController = class { + constructor(request) { + this.request = request; + this[kRequestHandled] = false; + this[kResponsePromise] = new DeferredPromise(); + } + /** + * Respond to this request with the given `Response` instance. + * @example + * controller.respondWith(new Response()) + * controller.respondWith(Response.json({ id })) + * controller.respondWith(Response.error()) + */ + respondWith(response) { + invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to respond to the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(response); + } + /** + * Error this request with the given error. + * @example + * controller.errorWith() + * controller.errorWith(new Error('Oops!')) + */ + errorWith(error) { + invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to error the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(error); + } +}; +kResponsePromise, kRequestHandled; + +// src/utils/emitAsync.ts +async function emitAsync(emitter, eventName, ...data) { + const listners = emitter.listeners(eventName); + if (listners.length === 0) { + return; + } + for (const listener of listners) { + await listener.apply(emitter, data); + } +} + +// src/utils/handleRequest.ts +import { DeferredPromise as DeferredPromise2 } from "@open-draft/deferred-promise"; +import { until } from "@open-draft/until"; + +// src/utils/isPropertyAccessible.ts +function isPropertyAccessible(obj, key) { + try { + obj[key]; + return true; + } catch (e) { + return false; + } +} + +// src/utils/responseUtils.ts +function createServerErrorResponse(body) { + return new Response( + JSON.stringify( + body instanceof Error ? { + name: body.name, + message: body.message, + stack: body.stack + } : body + ), + { + status: 500, + statusText: "Unhandled Exception", + headers: { + "Content-Type": "application/json" + } + } + ); +} +function isResponseError(response) { + return isPropertyAccessible(response, "type") && response.type === "error"; +} + +// src/utils/isNodeLikeError.ts +function isNodeLikeError(error) { + if (error == null) { + return false; + } + if (!(error instanceof Error)) { + return false; + } + return "code" in error && "errno" in error; +} + +// src/utils/handleRequest.ts +async function handleRequest(options) { + const handleResponse = async (response) => { + if (response instanceof Error) { + options.onError(response); + } else if (isResponseError(response)) { + options.onRequestError(response); + } else { + await options.onResponse(response); + } + return true; + }; + const handleResponseError = async (error) => { + if (error instanceof InterceptorError) { + throw result.error; + } + if (isNodeLikeError(error)) { + options.onError(error); + return true; + } + if (error instanceof Response) { + return await handleResponse(error); + } + return false; + }; + options.emitter.once("request", ({ requestId: pendingRequestId }) => { + if (pendingRequestId !== options.requestId) { + return; + } + if (options.controller[kResponsePromise].state === "pending") { + options.controller[kResponsePromise].resolve(void 0); + } + }); + const requestAbortPromise = new DeferredPromise2(); + if (options.request.signal) { + if (options.request.signal.aborted) { + requestAbortPromise.reject(options.request.signal.reason); + } else { + options.request.signal.addEventListener( + "abort", + () => { + requestAbortPromise.reject(options.request.signal.reason); + }, + { once: true } + ); + } + } + const result = await until(async () => { + const requestListtenersPromise = emitAsync(options.emitter, "request", { + requestId: options.requestId, + request: options.request, + controller: options.controller + }); + await Promise.race([ + // Short-circuit the request handling promise if the request gets aborted. + requestAbortPromise, + requestListtenersPromise, + options.controller[kResponsePromise] + ]); + const mockedResponse = await options.controller[kResponsePromise]; + return mockedResponse; + }); + if (requestAbortPromise.state === "rejected") { + options.onError(requestAbortPromise.rejectionReason); + return true; + } + if (result.error) { + if (await handleResponseError(result.error)) { + return true; + } + if (options.emitter.listenerCount("unhandledException") > 0) { + const unhandledExceptionController = new RequestController( + options.request + ); + await emitAsync(options.emitter, "unhandledException", { + error: result.error, + request: options.request, + requestId: options.requestId, + controller: unhandledExceptionController + }).then(() => { + if (unhandledExceptionController[kResponsePromise].state === "pending") { + unhandledExceptionController[kResponsePromise].resolve(void 0); + } + }); + const nextResult = await until( + () => unhandledExceptionController[kResponsePromise] + ); + if (nextResult.error) { + return handleResponseError(nextResult.error); + } + if (nextResult.data) { + return handleResponse(nextResult.data); + } + } + options.onResponse(createServerErrorResponse(result.error)); + return true; + } + if (result.data) { + return handleResponse(result.data); + } + return false; +} + +export { + isPropertyAccessible, + createServerErrorResponse, + RequestController, + emitAsync, + handleRequest +}; +//# sourceMappingURL=chunk-5KMS5CTP.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs.map new file mode 100644 index 0000000000..41215da760 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/RequestController.ts","../../src/InterceptorError.ts","../../src/utils/emitAsync.ts","../../src/utils/handleRequest.ts","../../src/utils/isPropertyAccessible.ts","../../src/utils/responseUtils.ts","../../src/utils/isNodeLikeError.ts"],"sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { InterceptorError } from './InterceptorError'\n\nconst kRequestHandled = Symbol('kRequestHandled')\nexport const kResponsePromise = Symbol('kResponsePromise')\n\nexport class RequestController {\n /**\n * Internal response promise.\n * Available only for the library internals to grab the\n * response instance provided by the developer.\n * @note This promise cannot be rejected. It's either infinitely\n * pending or resolved with whichever Response was passed to `respondWith()`.\n */\n [kResponsePromise]: DeferredPromise;\n\n /**\n * Internal flag indicating if this request has been handled.\n * @note The response promise becomes \"fulfilled\" on the next tick.\n */\n [kRequestHandled]: boolean\n\n constructor(private request: Request) {\n this[kRequestHandled] = false\n this[kResponsePromise] = new DeferredPromise()\n }\n\n /**\n * Respond to this request with the given `Response` instance.\n * @example\n * controller.respondWith(new Response())\n * controller.respondWith(Response.json({ id }))\n * controller.respondWith(Response.error())\n */\n public respondWith(response: Response): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to respond to the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n this[kResponsePromise].resolve(response)\n\n /**\n * @note The request conrtoller doesn't do anything\n * apart from letting the interceptor await the response\n * provided by the developer through the response promise.\n * Each interceptor implements the actual respondWith/errorWith\n * logic based on that interceptor's needs.\n */\n }\n\n /**\n * Error this request with the given error.\n * @example\n * controller.errorWith()\n * controller.errorWith(new Error('Oops!'))\n */\n public errorWith(error?: Error): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to error the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n\n /**\n * @note Resolve the response promise, not reject.\n * This helps us differentiate between unhandled exceptions\n * and intended errors (\"errorWith\") while waiting for the response.\n */\n this[kResponsePromise].resolve(error)\n }\n}\n","export class InterceptorError extends Error {\n constructor(message?: string) {\n super(message)\n this.name = 'InterceptorError'\n Object.setPrototypeOf(this, InterceptorError.prototype)\n }\n}\n","import { Emitter, EventMap } from 'strict-event-emitter'\n\n/**\n * Emits an event on the given emitter but executes\n * the listeners sequentially. This accounts for asynchronous\n * listeners (e.g. those having \"sleep\" and handling the request).\n */\nexport async function emitAsync<\n Events extends EventMap,\n EventName extends keyof Events\n>(\n emitter: Emitter,\n eventName: EventName,\n ...data: Events[EventName]\n): Promise {\n const listners = emitter.listeners(eventName)\n\n if (listners.length === 0) {\n return\n }\n\n for (const listener of listners) {\n await listener.apply(emitter, data)\n }\n}\n","import type { Emitter } from 'strict-event-emitter'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { until } from '@open-draft/until'\nimport type { HttpRequestEventMap } from '../glossary'\nimport { emitAsync } from './emitAsync'\nimport { kResponsePromise, RequestController } from '../RequestController'\nimport {\n createServerErrorResponse,\n isResponseError,\n ResponseError,\n} from './responseUtils'\nimport { InterceptorError } from '../InterceptorError'\nimport { isNodeLikeError } from './isNodeLikeError'\n\ninterface HandleRequestOptions {\n requestId: string\n request: Request\n emitter: Emitter\n controller: RequestController\n\n /**\n * Called when the request has been handled\n * with the given `Response` instance.\n */\n onResponse: (response: Response) => void | Promise\n\n /**\n * Called when the request has been handled\n * with the given `Response.error()` instance.\n */\n onRequestError: (response: ResponseError) => void\n\n /**\n * Called when an unhandled error happens during the\n * request handling. This is never a thrown error/response.\n */\n onError: (error: unknown) => void\n}\n\n/**\n * @returns {Promise} Indicates whether the request has been handled.\n */\nexport async function handleRequest(\n options: HandleRequestOptions\n): Promise {\n const handleResponse = async (response: Response | Error) => {\n if (response instanceof Error) {\n options.onError(response)\n }\n\n // Handle \"Response.error()\" instances.\n else if (isResponseError(response)) {\n options.onRequestError(response)\n } else {\n await options.onResponse(response)\n }\n\n return true\n }\n\n const handleResponseError = async (error: unknown): Promise => {\n // Forward the special interceptor error instances\n // to the developer. These must not be handled in any way.\n if (error instanceof InterceptorError) {\n throw result.error\n }\n\n // Support mocking Node.js-like errors.\n if (isNodeLikeError(error)) {\n options.onError(error)\n return true\n }\n\n // Handle thrown responses.\n if (error instanceof Response) {\n return await handleResponse(error)\n }\n\n return false\n }\n\n // Add the last \"request\" listener to check if the request\n // has been handled in any way. If it hasn't, resolve the\n // response promise with undefined.\n options.emitter.once('request', ({ requestId: pendingRequestId }) => {\n if (pendingRequestId !== options.requestId) {\n return\n }\n\n if (options.controller[kResponsePromise].state === 'pending') {\n options.controller[kResponsePromise].resolve(undefined)\n }\n })\n\n const requestAbortPromise = new DeferredPromise()\n\n /**\n * @note `signal` is not always defined in React Native.\n */\n if (options.request.signal) {\n if (options.request.signal.aborted) {\n requestAbortPromise.reject(options.request.signal.reason)\n } else {\n options.request.signal.addEventListener(\n 'abort',\n () => {\n requestAbortPromise.reject(options.request.signal.reason)\n },\n { once: true }\n )\n }\n }\n\n const result = await until(async () => {\n // Emit the \"request\" event and wait until all the listeners\n // for that event are finished (e.g. async listeners awaited).\n // By the end of this promise, the developer cannot affect the\n // request anymore.\n const requestListtenersPromise = emitAsync(options.emitter, 'request', {\n requestId: options.requestId,\n request: options.request,\n controller: options.controller,\n })\n\n await Promise.race([\n // Short-circuit the request handling promise if the request gets aborted.\n requestAbortPromise,\n requestListtenersPromise,\n options.controller[kResponsePromise],\n ])\n\n // The response promise will settle immediately once\n // the developer calls either \"respondWith\" or \"errorWith\".\n const mockedResponse = await options.controller[kResponsePromise]\n return mockedResponse\n })\n\n // Handle the request being aborted while waiting for the request listeners.\n if (requestAbortPromise.state === 'rejected') {\n options.onError(requestAbortPromise.rejectionReason)\n return true\n }\n\n if (result.error) {\n // Handle the error during the request listener execution.\n // These can be thrown responses or request errors.\n if (await handleResponseError(result.error)) {\n return true\n }\n\n // If the developer has added \"unhandledException\" listeners,\n // allow them to handle the error. They can translate it to a\n // mocked response, network error, or forward it as-is.\n if (options.emitter.listenerCount('unhandledException') > 0) {\n // Create a new request controller just for the unhandled exception case.\n // This is needed because the original controller might have been already\n // interacted with (e.g. \"respondWith\" or \"errorWith\" called on it).\n const unhandledExceptionController = new RequestController(\n options.request\n )\n\n await emitAsync(options.emitter, 'unhandledException', {\n error: result.error,\n request: options.request,\n requestId: options.requestId,\n controller: unhandledExceptionController,\n }).then(() => {\n // If all the \"unhandledException\" listeners have finished\n // but have not handled the response in any way, preemptively\n // resolve the pending response promise from the new controller.\n // This prevents it from hanging forever.\n if (\n unhandledExceptionController[kResponsePromise].state === 'pending'\n ) {\n unhandledExceptionController[kResponsePromise].resolve(undefined)\n }\n })\n\n const nextResult = await until(\n () => unhandledExceptionController[kResponsePromise]\n )\n\n /**\n * @note Handle the result of the unhandled controller\n * in the same way as the original request controller.\n * The exception here is that thrown errors within the\n * \"unhandledException\" event do NOT result in another\n * emit of the same event. They are forwarded as-is.\n */\n if (nextResult.error) {\n return handleResponseError(nextResult.error)\n }\n\n if (nextResult.data) {\n return handleResponse(nextResult.data)\n }\n }\n\n // Otherwise, coerce unhandled exceptions to a 500 Internal Server Error response.\n options.onResponse(createServerErrorResponse(result.error))\n return true\n }\n\n /**\n * Handle a mocked Response instance.\n * @note That this can also be an Error in case\n * the developer called \"errorWith\". This differentiates\n * unhandled exceptions from intended errors.\n */\n if (result.data) {\n return handleResponse(result.data)\n }\n\n // In all other cases, consider the request unhandled.\n // The interceptor must perform it as-is.\n return false\n}\n","/**\n * A function that validates if property access is possible on an object\n * without throwing. It returns `true` if the property access is possible\n * and `false` otherwise.\n *\n * Environments like miniflare will throw on property access on certain objects\n * like Request and Response, for unimplemented properties.\n */\nexport function isPropertyAccessible>(\n obj: Obj,\n key: keyof Obj\n) {\n try {\n obj[key]\n return true\n } catch {\n return false\n }\n}\n","import { isPropertyAccessible } from './isPropertyAccessible'\n\n/**\n * Creates a generic 500 Unhandled Exception response.\n */\nexport function createServerErrorResponse(body: unknown): Response {\n return new Response(\n JSON.stringify(\n body instanceof Error\n ? {\n name: body.name,\n message: body.message,\n stack: body.stack,\n }\n : body\n ),\n {\n status: 500,\n statusText: 'Unhandled Exception',\n headers: {\n 'Content-Type': 'application/json',\n },\n }\n )\n}\n\nexport type ResponseError = Response & { type: 'error' }\n\n/**\n * Check if the given response is a `Response.error()`.\n *\n * @note Some environments, like Miniflare (Cloudflare) do not\n * implement the \"Response.type\" property and throw on its access.\n * Safely check if we can access \"type\" on \"Response\" before continuing.\n * @see https://github.com/mswjs/msw/issues/1834\n */\nexport function isResponseError(response: Response): response is ResponseError {\n return isPropertyAccessible(response, 'type') && response.type === 'error'\n}\n","export function isNodeLikeError(\n error: unknown\n): error is NodeJS.ErrnoException {\n if (error == null) {\n return false\n }\n\n if (!(error instanceof Error)) {\n return false\n }\n\n return 'code' in error && 'errno' in error\n}\n"],"mappings":";AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;;;ACDzB,IAAM,mBAAN,cAA+B,MAAM;AAAA,EAC1C,YAAY,SAAkB;AAC5B,UAAM,OAAO;AACb,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,iBAAiB,SAAS;AAAA,EACxD;AACF;;;ADFA,IAAM,kBAAkB,OAAO,iBAAiB;AACzC,IAAM,mBAAmB,OAAO,kBAAkB;AAElD,IAAM,oBAAN,MAAwB;AAAA,EAgB7B,YAAoB,SAAkB;AAAlB;AAClB,SAAK,eAAe,IAAI;AACxB,SAAK,gBAAgB,IAAI,IAAI,gBAAgB;AAAA,EAC/C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASO,YAAY,UAA0B;AAC3C,cAAU;AAAA,MACR;AAAA,MACA,CAAC,KAAK,eAAe;AAAA,MACrB;AAAA,MACA,KAAK,QAAQ;AAAA,MACb,KAAK,QAAQ;AAAA,IACf;AAEA,SAAK,eAAe,IAAI;AACxB,SAAK,gBAAgB,EAAE,QAAQ,QAAQ;AAAA,EASzC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQO,UAAU,OAAqB;AACpC,cAAU;AAAA,MACR;AAAA,MACA,CAAC,KAAK,eAAe;AAAA,MACrB;AAAA,MACA,KAAK,QAAQ;AAAA,MACb,KAAK,QAAQ;AAAA,IACf;AAEA,SAAK,eAAe,IAAI;AAOxB,SAAK,gBAAgB,EAAE,QAAQ,KAAK;AAAA,EACtC;AACF;AAjEG,kBAMA;;;AEdH,eAAsB,UAIpB,SACA,cACG,MACY;AACf,QAAM,WAAW,QAAQ,UAAU,SAAS;AAE5C,MAAI,SAAS,WAAW,GAAG;AACzB;AAAA,EACF;AAEA,aAAW,YAAY,UAAU;AAC/B,UAAM,SAA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,QAAQ,cAAc,oBAAoB,IAAI,GAAG;AAI3D,YAAM,+BAA+B,IAAI;AAAA,QACvC,QAAQ;AAAA,MACV;AAEA,YAAM,UAAU,QAAQ,SAAS,sBAAsB;AAAA,QACrD,OAAO,OAAO;AAAA,QACd,SAAS,QAAQ;AAAA,QACjB,WAAW,QAAQ;AAAA,QACnB,YAAY;AAAA,MACd,CAAC,EAAE,KAAK,MAAM;AAKZ,YACE,6BAA6B,gBAAgB,EAAE,UAAU,WACzD;AACA,uCAA6B,gBAAgB,EAAE,QAAQ,MAAS;AAAA,QAClE;AAAA,MACF,CAAC;AAED,YAAM,aAAa,MAAM;AAAA,QACvB,MAAM,6BAA6B,gBAAgB;AAAA,MACrD;AASA,UAAI,WAAW,OAAO;AACpB,eAAO,oBAAoB,WAAW,KAAK;AAAA,MAC7C;AAEA,UAAI,WAAW,MAAM;AACnB,eAAO,eAAe,WAAW,IAAI;AAAA,MACvC;AAAA,IACF;AAGA,YAAQ,WAAW,0BAA0B,OAAO,KAAK,CAAC;AAC1D,WAAO;AAAA,EACT;AAQA,MAAI,OAAO,MAAM;AACf,WAAO,eAAe,OAAO,IAAI;AAAA,EACnC;AAIA,SAAO;AACT;","names":["DeferredPromise","DeferredPromise"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs new file mode 100644 index 0000000000..05b6c33cb2 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs @@ -0,0 +1,22 @@ +// src/utils/bufferUtils.ts +var encoder = new TextEncoder(); +function encodeBuffer(text) { + return encoder.encode(text); +} +function decodeBuffer(buffer, encoding) { + const decoder = new TextDecoder(encoding); + return decoder.decode(buffer); +} +function toArrayBuffer(array) { + return array.buffer.slice( + array.byteOffset, + array.byteOffset + array.byteLength + ); +} + +export { + encodeBuffer, + decodeBuffer, + toArrayBuffer +}; +//# sourceMappingURL=chunk-6HYIRFX2.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs.map new file mode 100644 index 0000000000..6f27915c41 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-6HYIRFX2.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/bufferUtils.ts"],"sourcesContent":["const encoder = new TextEncoder()\n\nexport function encodeBuffer(text: string): Uint8Array {\n return encoder.encode(text)\n}\n\nexport function decodeBuffer(buffer: ArrayBuffer, encoding?: string): string {\n const decoder = new TextDecoder(encoding)\n return decoder.decode(buffer)\n}\n\n/**\n * Create an `ArrayBuffer` from the given `Uint8Array`.\n * Takes the byte offset into account to produce the right buffer\n * in the case when the buffer is bigger than the data view.\n */\nexport function toArrayBuffer(array: Uint8Array): ArrayBuffer {\n return array.buffer.slice(\n array.byteOffset,\n array.byteOffset + array.byteLength\n )\n}\n"],"mappings":";AAAA,IAAM,UAAU,IAAI,YAAY;AAEzB,SAAS,aAAa,MAA0B;AACrD,SAAO,QAAQ,OAAO,IAAI;AAC5B;AAEO,SAAS,aAAa,QAAqB,UAA2B;AAC3E,QAAM,UAAU,IAAI,YAAY,QAAQ;AACxC,SAAO,QAAQ,OAAO,MAAM;AAC9B;AAOO,SAAS,cAAc,OAAgC;AAC5D,SAAO,MAAM,OAAO;AAAA,IAClB,MAAM;AAAA,IACN,MAAM,aAAa,MAAM;AAAA,EAC3B;AACF;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js b/node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js new file mode 100644 index 0000000000..4dc5e0cb77 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js @@ -0,0 +1,230 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/RequestController.ts +var _outvariant = require('outvariant'); +var _deferredpromise = require('@open-draft/deferred-promise'); + +// src/InterceptorError.ts +var InterceptorError = class extends Error { + constructor(message) { + super(message); + this.name = "InterceptorError"; + Object.setPrototypeOf(this, InterceptorError.prototype); + } +}; + +// src/RequestController.ts +var kRequestHandled = Symbol("kRequestHandled"); +var kResponsePromise = Symbol("kResponsePromise"); +var RequestController = class { + constructor(request) { + this.request = request; + this[kRequestHandled] = false; + this[kResponsePromise] = new (0, _deferredpromise.DeferredPromise)(); + } + /** + * Respond to this request with the given `Response` instance. + * @example + * controller.respondWith(new Response()) + * controller.respondWith(Response.json({ id })) + * controller.respondWith(Response.error()) + */ + respondWith(response) { + _outvariant.invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to respond to the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(response); + } + /** + * Error this request with the given error. + * @example + * controller.errorWith() + * controller.errorWith(new Error('Oops!')) + */ + errorWith(error) { + _outvariant.invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to error the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ); + this[kRequestHandled] = true; + this[kResponsePromise].resolve(error); + } +}; +kResponsePromise, kRequestHandled; + +// src/utils/emitAsync.ts +async function emitAsync(emitter, eventName, ...data) { + const listners = emitter.listeners(eventName); + if (listners.length === 0) { + return; + } + for (const listener of listners) { + await listener.apply(emitter, data); + } +} + +// src/utils/handleRequest.ts + +var _until = require('@open-draft/until'); + +// src/utils/isPropertyAccessible.ts +function isPropertyAccessible(obj, key) { + try { + obj[key]; + return true; + } catch (e) { + return false; + } +} + +// src/utils/responseUtils.ts +function createServerErrorResponse(body) { + return new Response( + JSON.stringify( + body instanceof Error ? { + name: body.name, + message: body.message, + stack: body.stack + } : body + ), + { + status: 500, + statusText: "Unhandled Exception", + headers: { + "Content-Type": "application/json" + } + } + ); +} +function isResponseError(response) { + return isPropertyAccessible(response, "type") && response.type === "error"; +} + +// src/utils/isNodeLikeError.ts +function isNodeLikeError(error) { + if (error == null) { + return false; + } + if (!(error instanceof Error)) { + return false; + } + return "code" in error && "errno" in error; +} + +// src/utils/handleRequest.ts +async function handleRequest(options) { + const handleResponse = async (response) => { + if (response instanceof Error) { + options.onError(response); + } else if (isResponseError(response)) { + options.onRequestError(response); + } else { + await options.onResponse(response); + } + return true; + }; + const handleResponseError = async (error) => { + if (error instanceof InterceptorError) { + throw result.error; + } + if (isNodeLikeError(error)) { + options.onError(error); + return true; + } + if (error instanceof Response) { + return await handleResponse(error); + } + return false; + }; + options.emitter.once("request", ({ requestId: pendingRequestId }) => { + if (pendingRequestId !== options.requestId) { + return; + } + if (options.controller[kResponsePromise].state === "pending") { + options.controller[kResponsePromise].resolve(void 0); + } + }); + const requestAbortPromise = new (0, _deferredpromise.DeferredPromise)(); + if (options.request.signal) { + if (options.request.signal.aborted) { + requestAbortPromise.reject(options.request.signal.reason); + } else { + options.request.signal.addEventListener( + "abort", + () => { + requestAbortPromise.reject(options.request.signal.reason); + }, + { once: true } + ); + } + } + const result = await _until.until.call(void 0, async () => { + const requestListtenersPromise = emitAsync(options.emitter, "request", { + requestId: options.requestId, + request: options.request, + controller: options.controller + }); + await Promise.race([ + // Short-circuit the request handling promise if the request gets aborted. + requestAbortPromise, + requestListtenersPromise, + options.controller[kResponsePromise] + ]); + const mockedResponse = await options.controller[kResponsePromise]; + return mockedResponse; + }); + if (requestAbortPromise.state === "rejected") { + options.onError(requestAbortPromise.rejectionReason); + return true; + } + if (result.error) { + if (await handleResponseError(result.error)) { + return true; + } + if (options.emitter.listenerCount("unhandledException") > 0) { + const unhandledExceptionController = new RequestController( + options.request + ); + await emitAsync(options.emitter, "unhandledException", { + error: result.error, + request: options.request, + requestId: options.requestId, + controller: unhandledExceptionController + }).then(() => { + if (unhandledExceptionController[kResponsePromise].state === "pending") { + unhandledExceptionController[kResponsePromise].resolve(void 0); + } + }); + const nextResult = await _until.until.call(void 0, + () => unhandledExceptionController[kResponsePromise] + ); + if (nextResult.error) { + return handleResponseError(nextResult.error); + } + if (nextResult.data) { + return handleResponse(nextResult.data); + } + } + options.onResponse(createServerErrorResponse(result.error)); + return true; + } + if (result.data) { + return handleResponse(result.data); + } + return false; +} + + + + + + + +exports.isPropertyAccessible = isPropertyAccessible; exports.createServerErrorResponse = createServerErrorResponse; exports.RequestController = RequestController; exports.emitAsync = emitAsync; exports.handleRequest = handleRequest; +//# sourceMappingURL=chunk-6L3PFBGT.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js.map new file mode 100644 index 0000000000..9c5a436574 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-6L3PFBGT.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/RequestController.ts","../../src/InterceptorError.ts","../../src/utils/emitAsync.ts","../../src/utils/handleRequest.ts","../../src/utils/isPropertyAccessible.ts","../../src/utils/responseUtils.ts","../../src/utils/isNodeLikeError.ts"],"names":["DeferredPromise"],"mappings":";AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;;;ACDzB,IAAM,mBAAN,cAA+B,MAAM;AAAA,EAC1C,YAAY,SAAkB;AAC5B,UAAM,OAAO;AACb,SAAK,OAAO;AACZ,WAAO,eAAe,MAAM,iBAAiB,SAAS;AAAA,EACxD;AACF;;;ADFA,IAAM,kBAAkB,OAAO,iBAAiB;AACzC,IAAM,mBAAmB,OAAO,kBAAkB;AAElD,IAAM,oBAAN,MAAwB;AAAA,EAgB7B,YAAoB,SAAkB;AAAlB;AAClB,SAAK,eAAe,IAAI;AACxB,SAAK,gBAAgB,IAAI,IAAI,gBAAgB;AAAA,EAC/C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASO,YAAY,UAA0B;AAC3C,cAAU;AAAA,MACR;AAAA,MACA,CAAC,KAAK,eAAe;AAAA,MACrB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AA,EACT;AAQA,MAAI,OAAO,MAAM;AACf,WAAO,eAAe,OAAO,IAAI;AAAA,EACnC;AAIA,SAAO;AACT","sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { InterceptorError } from './InterceptorError'\n\nconst kRequestHandled = Symbol('kRequestHandled')\nexport const kResponsePromise = Symbol('kResponsePromise')\n\nexport class RequestController {\n /**\n * Internal response promise.\n * Available only for the library internals to grab the\n * response instance provided by the developer.\n * @note This promise cannot be rejected. It's either infinitely\n * pending or resolved with whichever Response was passed to `respondWith()`.\n */\n [kResponsePromise]: DeferredPromise;\n\n /**\n * Internal flag indicating if this request has been handled.\n * @note The response promise becomes \"fulfilled\" on the next tick.\n */\n [kRequestHandled]: boolean\n\n constructor(private request: Request) {\n this[kRequestHandled] = false\n this[kResponsePromise] = new DeferredPromise()\n }\n\n /**\n * Respond to this request with the given `Response` instance.\n * @example\n * controller.respondWith(new Response())\n * controller.respondWith(Response.json({ id }))\n * controller.respondWith(Response.error())\n */\n public respondWith(response: Response): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to respond to the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n this[kResponsePromise].resolve(response)\n\n /**\n * @note The request conrtoller doesn't do anything\n * apart from letting the interceptor await the response\n * provided by the developer through the response promise.\n * Each interceptor implements the actual respondWith/errorWith\n * logic based on that interceptor's needs.\n */\n }\n\n /**\n * Error this request with the given error.\n * @example\n * controller.errorWith()\n * controller.errorWith(new Error('Oops!'))\n */\n public errorWith(error?: Error): void {\n invariant.as(\n InterceptorError,\n !this[kRequestHandled],\n 'Failed to error the \"%s %s\" request: the \"request\" event has already been handled.',\n this.request.method,\n this.request.url\n )\n\n this[kRequestHandled] = true\n\n /**\n * @note Resolve the response promise, not reject.\n * This helps us differentiate between unhandled exceptions\n * and intended errors (\"errorWith\") while waiting for the response.\n */\n this[kResponsePromise].resolve(error)\n }\n}\n","export class InterceptorError extends Error {\n constructor(message?: string) {\n super(message)\n this.name = 'InterceptorError'\n Object.setPrototypeOf(this, InterceptorError.prototype)\n }\n}\n","import { Emitter, EventMap } from 'strict-event-emitter'\n\n/**\n * Emits an event on the given emitter but executes\n * the listeners sequentially. This accounts for asynchronous\n * listeners (e.g. those having \"sleep\" and handling the request).\n */\nexport async function emitAsync<\n Events extends EventMap,\n EventName extends keyof Events\n>(\n emitter: Emitter,\n eventName: EventName,\n ...data: Events[EventName]\n): Promise {\n const listners = emitter.listeners(eventName)\n\n if (listners.length === 0) {\n return\n }\n\n for (const listener of listners) {\n await listener.apply(emitter, data)\n }\n}\n","import type { Emitter } from 'strict-event-emitter'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { until } from '@open-draft/until'\nimport type { HttpRequestEventMap } from '../glossary'\nimport { emitAsync } from './emitAsync'\nimport { kResponsePromise, RequestController } from '../RequestController'\nimport {\n createServerErrorResponse,\n isResponseError,\n ResponseError,\n} from './responseUtils'\nimport { InterceptorError } from '../InterceptorError'\nimport { isNodeLikeError } from './isNodeLikeError'\n\ninterface HandleRequestOptions {\n requestId: string\n request: Request\n emitter: Emitter\n controller: RequestController\n\n /**\n * Called when the request has been handled\n * with the given `Response` instance.\n */\n onResponse: (response: Response) => void | Promise\n\n /**\n * Called when the request has been handled\n * with the given `Response.error()` instance.\n */\n onRequestError: (response: ResponseError) => void\n\n /**\n * Called when an unhandled error happens during the\n * request handling. This is never a thrown error/response.\n */\n onError: (error: unknown) => void\n}\n\n/**\n * @returns {Promise} Indicates whether the request has been handled.\n */\nexport async function handleRequest(\n options: HandleRequestOptions\n): Promise {\n const handleResponse = async (response: Response | Error) => {\n if (response instanceof Error) {\n options.onError(response)\n }\n\n // Handle \"Response.error()\" instances.\n else if (isResponseError(response)) {\n options.onRequestError(response)\n } else {\n await options.onResponse(response)\n }\n\n return true\n }\n\n const handleResponseError = async (error: unknown): Promise => {\n // Forward the special interceptor error instances\n // to the developer. These must not be handled in any way.\n if (error instanceof InterceptorError) {\n throw result.error\n }\n\n // Support mocking Node.js-like errors.\n if (isNodeLikeError(error)) {\n options.onError(error)\n return true\n }\n\n // Handle thrown responses.\n if (error instanceof Response) {\n return await handleResponse(error)\n }\n\n return false\n }\n\n // Add the last \"request\" listener to check if the request\n // has been handled in any way. If it hasn't, resolve the\n // response promise with undefined.\n options.emitter.once('request', ({ requestId: pendingRequestId }) => {\n if (pendingRequestId !== options.requestId) {\n return\n }\n\n if (options.controller[kResponsePromise].state === 'pending') {\n options.controller[kResponsePromise].resolve(undefined)\n }\n })\n\n const requestAbortPromise = new DeferredPromise()\n\n /**\n * @note `signal` is not always defined in React Native.\n */\n if (options.request.signal) {\n if (options.request.signal.aborted) {\n requestAbortPromise.reject(options.request.signal.reason)\n } else {\n options.request.signal.addEventListener(\n 'abort',\n () => {\n requestAbortPromise.reject(options.request.signal.reason)\n },\n { once: true }\n )\n }\n }\n\n const result = await until(async () => {\n // Emit the \"request\" event and wait until all the listeners\n // for that event are finished (e.g. async listeners awaited).\n // By the end of this promise, the developer cannot affect the\n // request anymore.\n const requestListtenersPromise = emitAsync(options.emitter, 'request', {\n requestId: options.requestId,\n request: options.request,\n controller: options.controller,\n })\n\n await Promise.race([\n // Short-circuit the request handling promise if the request gets aborted.\n requestAbortPromise,\n requestListtenersPromise,\n options.controller[kResponsePromise],\n ])\n\n // The response promise will settle immediately once\n // the developer calls either \"respondWith\" or \"errorWith\".\n const mockedResponse = await options.controller[kResponsePromise]\n return mockedResponse\n })\n\n // Handle the request being aborted while waiting for the request listeners.\n if (requestAbortPromise.state === 'rejected') {\n options.onError(requestAbortPromise.rejectionReason)\n return true\n }\n\n if (result.error) {\n // Handle the error during the request listener execution.\n // These can be thrown responses or request errors.\n if (await handleResponseError(result.error)) {\n return true\n }\n\n // If the developer has added \"unhandledException\" listeners,\n // allow them to handle the error. They can translate it to a\n // mocked response, network error, or forward it as-is.\n if (options.emitter.listenerCount('unhandledException') > 0) {\n // Create a new request controller just for the unhandled exception case.\n // This is needed because the original controller might have been already\n // interacted with (e.g. \"respondWith\" or \"errorWith\" called on it).\n const unhandledExceptionController = new RequestController(\n options.request\n )\n\n await emitAsync(options.emitter, 'unhandledException', {\n error: result.error,\n request: options.request,\n requestId: options.requestId,\n controller: unhandledExceptionController,\n }).then(() => {\n // If all the \"unhandledException\" listeners have finished\n // but have not handled the response in any way, preemptively\n // resolve the pending response promise from the new controller.\n // This prevents it from hanging forever.\n if (\n unhandledExceptionController[kResponsePromise].state === 'pending'\n ) {\n unhandledExceptionController[kResponsePromise].resolve(undefined)\n }\n })\n\n const nextResult = await until(\n () => unhandledExceptionController[kResponsePromise]\n )\n\n /**\n * @note Handle the result of the unhandled controller\n * in the same way as the original request controller.\n * The exception here is that thrown errors within the\n * \"unhandledException\" event do NOT result in another\n * emit of the same event. They are forwarded as-is.\n */\n if (nextResult.error) {\n return handleResponseError(nextResult.error)\n }\n\n if (nextResult.data) {\n return handleResponse(nextResult.data)\n }\n }\n\n // Otherwise, coerce unhandled exceptions to a 500 Internal Server Error response.\n options.onResponse(createServerErrorResponse(result.error))\n return true\n }\n\n /**\n * Handle a mocked Response instance.\n * @note That this can also be an Error in case\n * the developer called \"errorWith\". This differentiates\n * unhandled exceptions from intended errors.\n */\n if (result.data) {\n return handleResponse(result.data)\n }\n\n // In all other cases, consider the request unhandled.\n // The interceptor must perform it as-is.\n return false\n}\n","/**\n * A function that validates if property access is possible on an object\n * without throwing. It returns `true` if the property access is possible\n * and `false` otherwise.\n *\n * Environments like miniflare will throw on property access on certain objects\n * like Request and Response, for unimplemented properties.\n */\nexport function isPropertyAccessible>(\n obj: Obj,\n key: keyof Obj\n) {\n try {\n obj[key]\n return true\n } catch {\n return false\n }\n}\n","import { isPropertyAccessible } from './isPropertyAccessible'\n\n/**\n * Creates a generic 500 Unhandled Exception response.\n */\nexport function createServerErrorResponse(body: unknown): Response {\n return new Response(\n JSON.stringify(\n body instanceof Error\n ? {\n name: body.name,\n message: body.message,\n stack: body.stack,\n }\n : body\n ),\n {\n status: 500,\n statusText: 'Unhandled Exception',\n headers: {\n 'Content-Type': 'application/json',\n },\n }\n )\n}\n\nexport type ResponseError = Response & { type: 'error' }\n\n/**\n * Check if the given response is a `Response.error()`.\n *\n * @note Some environments, like Miniflare (Cloudflare) do not\n * implement the \"Response.type\" property and throw on its access.\n * Safely check if we can access \"type\" on \"Response\" before continuing.\n * @see https://github.com/mswjs/msw/issues/1834\n */\nexport function isResponseError(response: Response): response is ResponseError {\n return isPropertyAccessible(response, 'type') && response.type === 'error'\n}\n","export function isNodeLikeError(\n error: unknown\n): error is NodeJS.ErrnoException {\n if (error == null) {\n return false\n }\n\n if (!(error instanceof Error)) {\n return false\n }\n\n return 'code' in error && 'errno' in error\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs new file mode 100644 index 0000000000..0f6592117c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs @@ -0,0 +1,7 @@ +// src/glossary.ts +var IS_PATCHED_MODULE = Symbol("isPatchedModule"); + +export { + IS_PATCHED_MODULE +}; +//# sourceMappingURL=chunk-6YM4PLBI.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs.map new file mode 100644 index 0000000000..cf918a1aae --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-6YM4PLBI.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/glossary.ts"],"sourcesContent":["import type { RequestController } from './RequestController'\n\nexport const IS_PATCHED_MODULE: unique symbol = Symbol('isPatchedModule')\n\n/**\n * @note Export `RequestController` as a type only.\n * It's never meant to be created in the userland.\n */\nexport type { RequestController }\n\nexport type RequestCredentials = 'omit' | 'include' | 'same-origin'\n\nexport type HttpRequestEventMap = {\n request: [\n args: {\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n response: [\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ]\n unhandledException: [\n args: {\n error: unknown\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n}\n"],"mappings":";AAEO,IAAM,oBAAmC,OAAO,iBAAiB;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js b/node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js new file mode 100644 index 0000000000..3bcf384147 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js @@ -0,0 +1,7 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/glossary.ts +var IS_PATCHED_MODULE = Symbol("isPatchedModule"); + + + +exports.IS_PATCHED_MODULE = IS_PATCHED_MODULE; +//# sourceMappingURL=chunk-73NOP3T5.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js.map new file mode 100644 index 0000000000..6615ceaf1c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-73NOP3T5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/glossary.ts"],"names":[],"mappings":";AAEO,IAAM,oBAAmC,OAAO,iBAAiB","sourcesContent":["import type { RequestController } from './RequestController'\n\nexport const IS_PATCHED_MODULE: unique symbol = Symbol('isPatchedModule')\n\n/**\n * @note Export `RequestController` as a type only.\n * It's never meant to be created in the userland.\n */\nexport type { RequestController }\n\nexport type RequestCredentials = 'omit' | 'include' | 'same-origin'\n\nexport type HttpRequestEventMap = {\n request: [\n args: {\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n response: [\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ]\n unhandledException: [\n args: {\n error: unknown\n request: Request\n requestId: string\n controller: RequestController\n }\n ]\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs new file mode 100644 index 0000000000..d9bb95584e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs @@ -0,0 +1,310 @@ +import { + hasConfigurableGlobal +} from "./chunk-TX5GBTFY.mjs"; +import { + IS_PATCHED_MODULE +} from "./chunk-6YM4PLBI.mjs"; +import { + RequestController, + emitAsync, + handleRequest +} from "./chunk-5KMS5CTP.mjs"; +import { + FetchResponse, + Interceptor, + createRequestId +} from "./chunk-I7HQIBT7.mjs"; + +// src/interceptors/fetch/index.ts +import { invariant } from "outvariant"; +import { DeferredPromise } from "@open-draft/deferred-promise"; + +// src/utils/canParseUrl.ts +function canParseUrl(url) { + try { + new URL(url); + return true; + } catch (_error) { + return false; + } +} + +// src/interceptors/fetch/utils/createNetworkError.ts +function createNetworkError(cause) { + return Object.assign(new TypeError("Failed to fetch"), { + cause + }); +} + +// src/interceptors/fetch/utils/followRedirect.ts +var REQUEST_BODY_HEADERS = [ + "content-encoding", + "content-language", + "content-location", + "content-type", + "content-length" +]; +var kRedirectCount = Symbol("kRedirectCount"); +async function followFetchRedirect(request, response) { + if (response.status !== 303 && request.body != null) { + return Promise.reject(createNetworkError()); + } + const requestUrl = new URL(request.url); + let locationUrl; + try { + locationUrl = new URL(response.headers.get("location"), request.url); + } catch (error) { + return Promise.reject(createNetworkError(error)); + } + if (!(locationUrl.protocol === "http:" || locationUrl.protocol === "https:")) { + return Promise.reject( + createNetworkError("URL scheme must be a HTTP(S) scheme") + ); + } + if (Reflect.get(request, kRedirectCount) > 20) { + return Promise.reject(createNetworkError("redirect count exceeded")); + } + Object.defineProperty(request, kRedirectCount, { + value: (Reflect.get(request, kRedirectCount) || 0) + 1 + }); + if (request.mode === "cors" && (locationUrl.username || locationUrl.password) && !sameOrigin(requestUrl, locationUrl)) { + return Promise.reject( + createNetworkError('cross origin not allowed for request mode "cors"') + ); + } + const requestInit = {}; + if ([301, 302].includes(response.status) && request.method === "POST" || response.status === 303 && !["HEAD", "GET"].includes(request.method)) { + requestInit.method = "GET"; + requestInit.body = null; + REQUEST_BODY_HEADERS.forEach((headerName) => { + request.headers.delete(headerName); + }); + } + if (!sameOrigin(requestUrl, locationUrl)) { + request.headers.delete("authorization"); + request.headers.delete("proxy-authorization"); + request.headers.delete("cookie"); + request.headers.delete("host"); + } + requestInit.headers = request.headers; + return fetch(new Request(locationUrl, requestInit)); +} +function sameOrigin(left, right) { + if (left.origin === right.origin && left.origin === "null") { + return true; + } + if (left.protocol === right.protocol && left.hostname === right.hostname && left.port === right.port) { + return true; + } + return false; +} + +// src/interceptors/fetch/utils/brotli-decompress.ts +import zlib from "zlib"; +var BrotliDecompressionStream = class extends TransformStream { + constructor() { + const decompress = zlib.createBrotliDecompress({ + flush: zlib.constants.BROTLI_OPERATION_FLUSH, + finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH + }); + super({ + async transform(chunk, controller) { + const buffer = Buffer.from(chunk); + const decompressed = await new Promise((resolve, reject) => { + decompress.write(buffer, (error) => { + if (error) + reject(error); + }); + decompress.flush(); + decompress.once("data", (data) => resolve(data)); + decompress.once("error", (error) => reject(error)); + decompress.once("end", () => controller.terminate()); + }).catch((error) => { + controller.error(error); + }); + controller.enqueue(decompressed); + } + }); + } +}; + +// src/interceptors/fetch/utils/decompression.ts +var PipelineStream = class extends TransformStream { + constructor(transformStreams, ...strategies) { + super({}, ...strategies); + const readable = [super.readable, ...transformStreams].reduce( + (readable2, transform) => readable2.pipeThrough(transform) + ); + Object.defineProperty(this, "readable", { + get() { + return readable; + } + }); + } +}; +function parseContentEncoding(contentEncoding) { + return contentEncoding.toLowerCase().split(",").map((coding) => coding.trim()); +} +function createDecompressionStream(contentEncoding) { + if (contentEncoding === "") { + return null; + } + const codings = parseContentEncoding(contentEncoding); + if (codings.length === 0) { + return null; + } + const transformers = codings.reduceRight( + (transformers2, coding) => { + if (coding === "gzip" || coding === "x-gzip") { + return transformers2.concat(new DecompressionStream("gzip")); + } else if (coding === "deflate") { + return transformers2.concat(new DecompressionStream("deflate")); + } else if (coding === "br") { + return transformers2.concat(new BrotliDecompressionStream()); + } else { + transformers2.length = 0; + } + return transformers2; + }, + [] + ); + return new PipelineStream(transformers); +} +function decompressResponse(response) { + if (response.body === null) { + return null; + } + const decompressionStream = createDecompressionStream( + response.headers.get("content-encoding") || "" + ); + if (!decompressionStream) { + return null; + } + response.body.pipeTo(decompressionStream.writable); + return decompressionStream.readable; +} + +// src/interceptors/fetch/index.ts +var _FetchInterceptor = class extends Interceptor { + constructor() { + super(_FetchInterceptor.symbol); + } + checkEnvironment() { + return hasConfigurableGlobal("fetch"); + } + async setup() { + const pureFetch = globalThis.fetch; + invariant( + !pureFetch[IS_PATCHED_MODULE], + 'Failed to patch the "fetch" module: already patched.' + ); + globalThis.fetch = async (input, init) => { + const requestId = createRequestId(); + const resolvedInput = typeof input === "string" && typeof location !== "undefined" && !canParseUrl(input) ? new URL(input, location.origin) : input; + const request = new Request(resolvedInput, init); + const responsePromise = new DeferredPromise(); + const controller = new RequestController(request); + this.logger.info("[%s] %s", request.method, request.url); + this.logger.info("awaiting for the mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + this.emitter.listenerCount("request") + ); + const isRequestHandled = await handleRequest({ + request, + requestId, + emitter: this.emitter, + controller, + onResponse: async (rawResponse) => { + this.logger.info("received mocked response!", { + rawResponse + }); + const decompressedStream = decompressResponse(rawResponse); + const response = decompressedStream === null ? rawResponse : new FetchResponse(decompressedStream, rawResponse); + FetchResponse.setUrl(request.url, response); + if (FetchResponse.isRedirectResponse(response.status)) { + if (request.redirect === "error") { + responsePromise.reject(createNetworkError("unexpected redirect")); + return; + } + if (request.redirect === "follow") { + followFetchRedirect(request, response).then( + (response2) => { + responsePromise.resolve(response2); + }, + (reason) => { + responsePromise.reject(reason); + } + ); + return; + } + } + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + await emitAsync(this.emitter, "response", { + // Clone the mocked response for the "response" event listener. + // This way, the listener can read the response and not lock its body + // for the actual fetch consumer. + response: response.clone(), + isMockedResponse: true, + request, + requestId + }); + } + responsePromise.resolve(response); + }, + onRequestError: (response) => { + this.logger.info("request has errored!", { response }); + responsePromise.reject(createNetworkError(response)); + }, + onError: (error) => { + this.logger.info("request has been aborted!", { error }); + responsePromise.reject(error); + } + }); + if (isRequestHandled) { + this.logger.info("request has been handled, returning mock promise..."); + return responsePromise; + } + this.logger.info( + "no mocked response received, performing request as-is..." + ); + return pureFetch(request).then(async (response) => { + this.logger.info("original fetch performed", response); + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + const responseClone = response.clone(); + await emitAsync(this.emitter, "response", { + response: responseClone, + isMockedResponse: false, + request, + requestId + }); + } + return response; + }); + }; + Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.fetch = pureFetch; + this.logger.info( + 'restored native "globalThis.fetch"!', + globalThis.fetch.name + ); + }); + } +}; +var FetchInterceptor = _FetchInterceptor; +FetchInterceptor.symbol = Symbol("fetch"); + +export { + FetchInterceptor +}; +//# sourceMappingURL=chunk-CTGTMEFD.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs.map new file mode 100644 index 0000000000..0a272481e6 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-CTGTMEFD.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/fetch/index.ts","../../src/utils/canParseUrl.ts","../../src/interceptors/fetch/utils/createNetworkError.ts","../../src/interceptors/fetch/utils/followRedirect.ts","../../src/interceptors/fetch/utils/brotli-decompress.ts","../../src/interceptors/fetch/utils/decompression.ts"],"sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { RequestController } from '../../RequestController'\nimport { emitAsync } from '../../utils/emitAsync'\nimport { handleRequest } from '../../utils/handleRequest'\nimport { canParseUrl } from '../../utils/canParseUrl'\nimport { createRequestId } from '../../createRequestId'\nimport { createNetworkError } from './utils/createNetworkError'\nimport { followFetchRedirect } from './utils/followRedirect'\nimport { decompressResponse } from './utils/decompression'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\nimport { FetchResponse } from '../../utils/fetchUtils'\n\nexport class FetchInterceptor extends Interceptor {\n static symbol = Symbol('fetch')\n\n constructor() {\n super(FetchInterceptor.symbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('fetch')\n }\n\n protected async setup() {\n const pureFetch = globalThis.fetch\n\n invariant(\n !(pureFetch as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"fetch\" module: already patched.'\n )\n\n globalThis.fetch = async (input, init) => {\n const requestId = createRequestId()\n\n /**\n * @note Resolve potentially relative request URL\n * against the present `location`. This is mainly\n * for native `fetch` in JSDOM.\n * @see https://github.com/mswjs/msw/issues/1625\n */\n const resolvedInput =\n typeof input === 'string' &&\n typeof location !== 'undefined' &&\n !canParseUrl(input)\n ? new URL(input, location.origin)\n : input\n\n const request = new Request(resolvedInput, init)\n const responsePromise = new DeferredPromise()\n const controller = new RequestController(request)\n\n this.logger.info('[%s] %s', request.method, request.url)\n this.logger.info('awaiting for the mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n this.emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n emitter: this.emitter,\n controller,\n onResponse: async (rawResponse) => {\n this.logger.info('received mocked response!', {\n rawResponse,\n })\n\n // Decompress the mocked response body, if applicable.\n const decompressedStream = decompressResponse(rawResponse)\n const response =\n decompressedStream === null\n ? rawResponse\n : new FetchResponse(decompressedStream, rawResponse)\n\n FetchResponse.setUrl(request.url, response)\n\n /**\n * Undici's handling of following redirect responses.\n * Treat the \"manual\" redirect mode as a regular mocked response.\n * This way, the client can manually follow the redirect it receives.\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1173\n */\n if (FetchResponse.isRedirectResponse(response.status)) {\n // Reject the request promise if its `redirect` is set to `error`\n // and it receives a mocked redirect response.\n if (request.redirect === 'error') {\n responsePromise.reject(createNetworkError('unexpected redirect'))\n return\n }\n\n if (request.redirect === 'follow') {\n followFetchRedirect(request, response).then(\n (response) => {\n responsePromise.resolve(response)\n },\n (reason) => {\n responsePromise.reject(reason)\n }\n )\n return\n }\n }\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n // Await the response listeners to finish before resolving\n // the response promise. This ensures all your logic finishes\n // before the interceptor resolves the pending response.\n await emitAsync(this.emitter, 'response', {\n // Clone the mocked response for the \"response\" event listener.\n // This way, the listener can read the response and not lock its body\n // for the actual fetch consumer.\n response: response.clone(),\n isMockedResponse: true,\n request,\n requestId,\n })\n }\n\n responsePromise.resolve(response)\n },\n onRequestError: (response) => {\n this.logger.info('request has errored!', { response })\n responsePromise.reject(createNetworkError(response))\n },\n onError: (error) => {\n this.logger.info('request has been aborted!', { error })\n responsePromise.reject(error)\n },\n })\n\n if (isRequestHandled) {\n this.logger.info('request has been handled, returning mock promise...')\n return responsePromise\n }\n\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n\n return pureFetch(request).then(async (response) => {\n this.logger.info('original fetch performed', response)\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n const responseClone = response.clone()\n\n await emitAsync(this.emitter, 'response', {\n response: responseClone,\n isMockedResponse: false,\n request,\n requestId,\n })\n }\n\n return response\n })\n }\n\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.fetch = pureFetch\n\n this.logger.info(\n 'restored native \"globalThis.fetch\"!',\n globalThis.fetch.name\n )\n })\n }\n}\n","/**\n * Returns a boolean indicating whether the given URL string\n * can be parsed into a `URL` instance.\n * A substitute for `URL.canParse()` for Node.js 18.\n */\nexport function canParseUrl(url: string): boolean {\n try {\n new URL(url)\n return true\n } catch (_error) {\n return false\n }\n}\n","export function createNetworkError(cause?: unknown) {\n return Object.assign(new TypeError('Failed to fetch'), {\n cause,\n })\n}\n","import { createNetworkError } from './createNetworkError'\n\nconst REQUEST_BODY_HEADERS = [\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n 'content-length',\n]\n\nconst kRedirectCount = Symbol('kRedirectCount')\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1210\n */\nexport async function followFetchRedirect(\n request: Request,\n response: Response\n): Promise {\n if (response.status !== 303 && request.body != null) {\n return Promise.reject(createNetworkError())\n }\n\n const requestUrl = new URL(request.url)\n\n let locationUrl: URL\n try {\n // If the location is a relative URL, use the request URL as the base URL.\n locationUrl = new URL(response.headers.get('location')!, request.url) \n } catch (error) {\n return Promise.reject(createNetworkError(error))\n }\n\n if (\n !(locationUrl.protocol === 'http:' || locationUrl.protocol === 'https:')\n ) {\n return Promise.reject(\n createNetworkError('URL scheme must be a HTTP(S) scheme')\n )\n }\n\n if (Reflect.get(request, kRedirectCount) > 20) {\n return Promise.reject(createNetworkError('redirect count exceeded'))\n }\n\n Object.defineProperty(request, kRedirectCount, {\n value: (Reflect.get(request, kRedirectCount) || 0) + 1,\n })\n\n if (\n request.mode === 'cors' &&\n (locationUrl.username || locationUrl.password) &&\n !sameOrigin(requestUrl, locationUrl)\n ) {\n return Promise.reject(\n createNetworkError('cross origin not allowed for request mode \"cors\"')\n )\n }\n\n const requestInit: RequestInit = {}\n\n if (\n ([301, 302].includes(response.status) && request.method === 'POST') ||\n (response.status === 303 && !['HEAD', 'GET'].includes(request.method))\n ) {\n requestInit.method = 'GET'\n requestInit.body = null\n\n REQUEST_BODY_HEADERS.forEach((headerName) => {\n request.headers.delete(headerName)\n })\n }\n\n if (!sameOrigin(requestUrl, locationUrl)) {\n request.headers.delete('authorization')\n request.headers.delete('proxy-authorization')\n request.headers.delete('cookie')\n request.headers.delete('host')\n }\n\n /**\n * @note Undici \"safely\" extracts the request body.\n * I suspect we cannot dispatch this request again\n * since its body has been read and the stream is locked.\n */\n\n requestInit.headers = request.headers\n return fetch(new Request(locationUrl, requestInit))\n}\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/util.js#L761\n */\nfunction sameOrigin(left: URL, right: URL): boolean {\n if (left.origin === right.origin && left.origin === 'null') {\n return true\n }\n\n if (\n left.protocol === right.protocol &&\n left.hostname === right.hostname &&\n left.port === right.port\n ) {\n return true\n }\n\n return false\n}\n","import zlib from 'node:zlib'\n\nexport class BrotliDecompressionStream extends TransformStream {\n constructor() {\n const decompress = zlib.createBrotliDecompress({\n flush: zlib.constants.BROTLI_OPERATION_FLUSH,\n finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH,\n })\n\n super({\n async transform(chunk, controller) {\n const buffer = Buffer.from(chunk)\n\n const decompressed = await new Promise((resolve, reject) => {\n decompress.write(buffer, (error) => {\n if (error) reject(error)\n })\n\n decompress.flush()\n decompress.once('data', (data) => resolve(data))\n decompress.once('error', (error) => reject(error))\n decompress.once('end', () => controller.terminate())\n }).catch((error) => {\n controller.error(error)\n })\n\n controller.enqueue(decompressed)\n },\n })\n }\n}\n","// Import from an internal alias that resolves to different modules\n// depending on the environment. This way, we can keep the fetch interceptor\n// intact while using different strategies for Brotli decompression.\nimport { BrotliDecompressionStream } from 'internal:brotli-decompress'\n\nclass PipelineStream extends TransformStream {\n constructor(\n transformStreams: Array,\n ...strategies: Array\n ) {\n super({}, ...strategies)\n\n const readable = [super.readable as any, ...transformStreams].reduce(\n (readable, transform) => readable.pipeThrough(transform)\n )\n\n Object.defineProperty(this, 'readable', {\n get() {\n return readable\n },\n })\n }\n}\n\nexport function parseContentEncoding(contentEncoding: string): Array {\n return contentEncoding\n .toLowerCase()\n .split(',')\n .map((coding) => coding.trim())\n}\n\nfunction createDecompressionStream(\n contentEncoding: string\n): TransformStream | null {\n if (contentEncoding === '') {\n return null\n }\n\n const codings = parseContentEncoding(contentEncoding)\n\n if (codings.length === 0) {\n return null\n }\n\n const transformers = codings.reduceRight>(\n (transformers, coding) => {\n if (coding === 'gzip' || coding === 'x-gzip') {\n return transformers.concat(new DecompressionStream('gzip'))\n } else if (coding === 'deflate') {\n return transformers.concat(new DecompressionStream('deflate'))\n } else if (coding === 'br') {\n return transformers.concat(new BrotliDecompressionStream())\n } else {\n transformers.length = 0\n }\n\n return transformers\n },\n []\n )\n\n return new PipelineStream(transformers)\n}\n\nexport function decompressResponse(\n response: Response\n): ReadableStream | null {\n if (response.body === null) {\n return null\n }\n\n const decompressionStream = createDecompressionStream(\n response.headers.get('content-encoding') || ''\n )\n\n if (!decompressionStream) {\n return null\n }\n\n // Use `pipeTo` and return the decompression stream's readable\n // instead of `pipeThrough` because that will lock the original\n // response stream, making it unusable as the input to Response.\n response.body.pipeTo(decompressionStream.writable)\n return decompressionStream.readable\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;;;ACIzB,SAAS,YAAY,KAAsB;AAChD,MAAI;AACF,QAAI,IAAI,GAAG;AACX,WAAO;AAAA,EACT,SAAS,QAA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EAAE,KAAK,OAAO,aAAa;AACjD,aAAK,OAAO,KAAK,4BAA4B,QAAQ;AAErD,YAAI,KAAK,QAAQ,cAAc,UAAU,IAAI,GAAG;AAC9C,eAAK,OAAO,KAAK,kCAAkC;AAEnD,gBAAM,gBAAgB,SAAS,MAAM;AAErC,gBAAM,UAAU,KAAK,SAAS,YAAY;AAAA,YACxC,UAAU;AAAA,YACV,kBAAkB;AAAA,YAClB;AAAA,YACA;AAAA,UACF,CAAC;AAAA,QACH;AAEA,eAAO;AAAA,MACT,CAAC;AAAA,IACH;AAEA,WAAO,eAAe,WAAW,OAAO,mBAAmB;AAAA,MACzD,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,OAAO;AAAA,IACT,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO,eAAe,WAAW,OAAO,mBAAmB;AAAA,QACzD,OAAO;AAAA,MACT,CAAC;AAED,iBAAW,QAAQ;AAEnB,WAAK,OAAO;AAAA,QACV;AAAA,QACA,WAAW,MAAM;AAAA,MACnB;AAAA,IACF,CAAC;AAAA,EACH;AACF;AA1KO,IAAM,mBAAN;AAAM,iBACJ,SAAS,OAAO,OAAO;","names":["readable","transformers","response"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs new file mode 100644 index 0000000000..5db4fec284 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs @@ -0,0 +1,245 @@ +// src/Interceptor.ts +import { Logger } from "@open-draft/logger"; +import { Emitter } from "strict-event-emitter"; +var INTERNAL_REQUEST_ID_HEADER_NAME = "x-interceptors-internal-request-id"; +function getGlobalSymbol(symbol) { + return ( + // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587 + globalThis[symbol] || void 0 + ); +} +function setGlobalSymbol(symbol, value) { + globalThis[symbol] = value; +} +function deleteGlobalSymbol(symbol) { + delete globalThis[symbol]; +} +var InterceptorReadyState = /* @__PURE__ */ ((InterceptorReadyState2) => { + InterceptorReadyState2["INACTIVE"] = "INACTIVE"; + InterceptorReadyState2["APPLYING"] = "APPLYING"; + InterceptorReadyState2["APPLIED"] = "APPLIED"; + InterceptorReadyState2["DISPOSING"] = "DISPOSING"; + InterceptorReadyState2["DISPOSED"] = "DISPOSED"; + return InterceptorReadyState2; +})(InterceptorReadyState || {}); +var Interceptor = class { + constructor(symbol) { + this.symbol = symbol; + this.readyState = "INACTIVE" /* INACTIVE */; + this.emitter = new Emitter(); + this.subscriptions = []; + this.logger = new Logger(symbol.description); + this.emitter.setMaxListeners(0); + this.logger.info("constructing the interceptor..."); + } + /** + * Determine if this interceptor can be applied + * in the current environment. + */ + checkEnvironment() { + return true; + } + /** + * Apply this interceptor to the current process. + * Returns an already running interceptor instance if it's present. + */ + apply() { + const logger = this.logger.extend("apply"); + logger.info("applying the interceptor..."); + if (this.readyState === "APPLIED" /* APPLIED */) { + logger.info("intercepted already applied!"); + return; + } + const shouldApply = this.checkEnvironment(); + if (!shouldApply) { + logger.info("the interceptor cannot be applied in this environment!"); + return; + } + this.readyState = "APPLYING" /* APPLYING */; + const runningInstance = this.getInstance(); + if (runningInstance) { + logger.info("found a running instance, reusing..."); + this.on = (event, listener) => { + logger.info('proxying the "%s" listener', event); + runningInstance.emitter.addListener(event, listener); + this.subscriptions.push(() => { + runningInstance.emitter.removeListener(event, listener); + logger.info('removed proxied "%s" listener!', event); + }); + return this; + }; + this.readyState = "APPLIED" /* APPLIED */; + return; + } + logger.info("no running instance found, setting up a new instance..."); + this.setup(); + this.setInstance(); + this.readyState = "APPLIED" /* APPLIED */; + } + /** + * Setup the module augments and stubs necessary for this interceptor. + * This method is not run if there's a running interceptor instance + * to prevent instantiating an interceptor multiple times. + */ + setup() { + } + /** + * Listen to the interceptor's public events. + */ + on(event, listener) { + const logger = this.logger.extend("on"); + if (this.readyState === "DISPOSING" /* DISPOSING */ || this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot listen to events, already disposed!"); + return this; + } + logger.info('adding "%s" event listener:', event, listener); + this.emitter.on(event, listener); + return this; + } + once(event, listener) { + this.emitter.once(event, listener); + return this; + } + off(event, listener) { + this.emitter.off(event, listener); + return this; + } + removeAllListeners(event) { + this.emitter.removeAllListeners(event); + return this; + } + /** + * Disposes of any side-effects this interceptor has introduced. + */ + dispose() { + const logger = this.logger.extend("dispose"); + if (this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot dispose, already disposed!"); + return; + } + logger.info("disposing the interceptor..."); + this.readyState = "DISPOSING" /* DISPOSING */; + if (!this.getInstance()) { + logger.info("no interceptors running, skipping dispose..."); + return; + } + this.clearInstance(); + logger.info("global symbol deleted:", getGlobalSymbol(this.symbol)); + if (this.subscriptions.length > 0) { + logger.info("disposing of %d subscriptions...", this.subscriptions.length); + for (const dispose of this.subscriptions) { + dispose(); + } + this.subscriptions = []; + logger.info("disposed of all subscriptions!", this.subscriptions.length); + } + this.emitter.removeAllListeners(); + logger.info("destroyed the listener!"); + this.readyState = "DISPOSED" /* DISPOSED */; + } + getInstance() { + var _a; + const instance = getGlobalSymbol(this.symbol); + this.logger.info("retrieved global instance:", (_a = instance == null ? void 0 : instance.constructor) == null ? void 0 : _a.name); + return instance; + } + setInstance() { + setGlobalSymbol(this.symbol, this); + this.logger.info("set global instance!", this.symbol.description); + } + clearInstance() { + deleteGlobalSymbol(this.symbol); + this.logger.info("cleared global instance!", this.symbol.description); + } +}; + +// src/createRequestId.ts +function createRequestId() { + return Math.random().toString(16).slice(2); +} + +// src/utils/fetchUtils.ts +var _FetchResponse = class extends Response { + static isConfigurableStatusCode(status) { + return status >= 200 && status <= 599; + } + static isRedirectResponse(status) { + return _FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status); + } + /** + * Returns a boolean indicating whether the given response status + * code represents a response that can have a body. + */ + static isResponseWithBody(status) { + return !_FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status); + } + static setUrl(url, response) { + if (!url) { + return; + } + if (response.url != "") { + return; + } + Object.defineProperty(response, "url", { + value: url, + enumerable: true, + configurable: true, + writable: false + }); + } + /** + * Parses the given raw HTTP headers into a Fetch API `Headers` instance. + */ + static parseRawHeaders(rawHeaders) { + const headers = new Headers(); + for (let line = 0; line < rawHeaders.length; line += 2) { + headers.append(rawHeaders[line], rawHeaders[line + 1]); + } + return headers; + } + constructor(body, init = {}) { + var _a; + const status = (_a = init.status) != null ? _a : 200; + const safeStatus = _FetchResponse.isConfigurableStatusCode(status) ? status : 200; + const finalBody = _FetchResponse.isResponseWithBody(status) ? body : null; + super(finalBody, { + ...init, + status: safeStatus + }); + if (status !== safeStatus) { + const stateSymbol = Object.getOwnPropertySymbols(this).find( + (symbol) => symbol.description === "state" + ); + if (stateSymbol) { + const state = Reflect.get(this, stateSymbol); + Reflect.set(state, "status", status); + } else { + Object.defineProperty(this, "status", { + value: status, + enumerable: true, + configurable: true, + writable: false + }); + } + } + _FetchResponse.setUrl(init.url, this); + } +}; +var FetchResponse = _FetchResponse; +/** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ +FetchResponse.STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]; +FetchResponse.STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]; + +export { + INTERNAL_REQUEST_ID_HEADER_NAME, + getGlobalSymbol, + deleteGlobalSymbol, + InterceptorReadyState, + Interceptor, + createRequestId, + FetchResponse +}; +//# sourceMappingURL=chunk-I7HQIBT7.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs.map new file mode 100644 index 0000000000..1e38f2cb4f --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-I7HQIBT7.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/Interceptor.ts","../../src/createRequestId.ts","../../src/utils/fetchUtils.ts"],"sourcesContent":["import { Logger } from '@open-draft/logger'\nimport { Emitter, Listener } from 'strict-event-emitter'\n\nexport type InterceptorEventMap = Record\nexport type InterceptorSubscription = () => void\n\n/**\n * Request header name to detect when a single request\n * is being handled by nested interceptors (XHR -> ClientRequest).\n * Obscure by design to prevent collisions with user-defined headers.\n * Ideally, come up with the Interceptor-level mechanism for this.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\nexport const INTERNAL_REQUEST_ID_HEADER_NAME =\n 'x-interceptors-internal-request-id'\n\nexport function getGlobalSymbol(symbol: Symbol): V | undefined {\n return (\n // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587\n globalThis[symbol] || undefined\n )\n}\n\nfunction setGlobalSymbol(symbol: Symbol, value: any): void {\n // @ts-ignore\n globalThis[symbol] = value\n}\n\nexport function deleteGlobalSymbol(symbol: Symbol): void {\n // @ts-ignore\n delete globalThis[symbol]\n}\n\nexport enum InterceptorReadyState {\n INACTIVE = 'INACTIVE',\n APPLYING = 'APPLYING',\n APPLIED = 'APPLIED',\n DISPOSING = 'DISPOSING',\n DISPOSED = 'DISPOSED',\n}\n\nexport type ExtractEventNames> =\n Events extends Record ? EventName : never\n\nexport class Interceptor {\n protected emitter: Emitter\n protected subscriptions: Array\n protected logger: Logger\n\n public readyState: InterceptorReadyState\n\n constructor(private readonly symbol: symbol) {\n this.readyState = InterceptorReadyState.INACTIVE\n\n this.emitter = new Emitter()\n this.subscriptions = []\n this.logger = new Logger(symbol.description!)\n\n // Do not limit the maximum number of listeners\n // so not to limit the maximum amount of parallel events emitted.\n this.emitter.setMaxListeners(0)\n\n this.logger.info('constructing the interceptor...')\n }\n\n /**\n * Determine if this interceptor can be applied\n * in the current environment.\n */\n protected checkEnvironment(): boolean {\n return true\n }\n\n /**\n * Apply this interceptor to the current process.\n * Returns an already running interceptor instance if it's present.\n */\n public apply(): void {\n const logger = this.logger.extend('apply')\n logger.info('applying the interceptor...')\n\n if (this.readyState === InterceptorReadyState.APPLIED) {\n logger.info('intercepted already applied!')\n return\n }\n\n const shouldApply = this.checkEnvironment()\n\n if (!shouldApply) {\n logger.info('the interceptor cannot be applied in this environment!')\n return\n }\n\n this.readyState = InterceptorReadyState.APPLYING\n\n // Whenever applying a new interceptor, check if it hasn't been applied already.\n // This enables to apply the same interceptor multiple times, for example from a different\n // interceptor, only proxying events but keeping the stubs in a single place.\n const runningInstance = this.getInstance()\n\n if (runningInstance) {\n logger.info('found a running instance, reusing...')\n\n // Proxy any listeners you set on this instance to the running instance.\n this.on = (event, listener) => {\n logger.info('proxying the \"%s\" listener', event)\n\n // Add listeners to the running instance so they appear\n // at the top of the event listeners list and are executed first.\n runningInstance.emitter.addListener(event, listener)\n\n // Ensure that once this interceptor instance is disposed,\n // it removes all listeners it has appended to the running interceptor instance.\n this.subscriptions.push(() => {\n runningInstance.emitter.removeListener(event, listener)\n logger.info('removed proxied \"%s\" listener!', event)\n })\n\n return this\n }\n\n this.readyState = InterceptorReadyState.APPLIED\n\n return\n }\n\n logger.info('no running instance found, setting up a new instance...')\n\n // Setup the interceptor.\n this.setup()\n\n // Store the newly applied interceptor instance globally.\n this.setInstance()\n\n this.readyState = InterceptorReadyState.APPLIED\n }\n\n /**\n * Setup the module augments and stubs necessary for this interceptor.\n * This method is not run if there's a running interceptor instance\n * to prevent instantiating an interceptor multiple times.\n */\n protected setup(): void {}\n\n /**\n * Listen to the interceptor's public events.\n */\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n const logger = this.logger.extend('on')\n\n if (\n this.readyState === InterceptorReadyState.DISPOSING ||\n this.readyState === InterceptorReadyState.DISPOSED\n ) {\n logger.info('cannot listen to events, already disposed!')\n return this\n }\n\n logger.info('adding \"%s\" event listener:', event, listener)\n\n this.emitter.on(event, listener)\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.once(event, listener)\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.off(event, listener)\n return this\n }\n\n public removeAllListeners>(\n event?: EventName\n ): this {\n this.emitter.removeAllListeners(event)\n return this\n }\n\n /**\n * Disposes of any side-effects this interceptor has introduced.\n */\n public dispose(): void {\n const logger = this.logger.extend('dispose')\n\n if (this.readyState === InterceptorReadyState.DISPOSED) {\n logger.info('cannot dispose, already disposed!')\n return\n }\n\n logger.info('disposing the interceptor...')\n this.readyState = InterceptorReadyState.DISPOSING\n\n if (!this.getInstance()) {\n logger.info('no interceptors running, skipping dispose...')\n return\n }\n\n // Delete the global symbol as soon as possible,\n // indicating that the interceptor is no longer running.\n this.clearInstance()\n\n logger.info('global symbol deleted:', getGlobalSymbol(this.symbol))\n\n if (this.subscriptions.length > 0) {\n logger.info('disposing of %d subscriptions...', this.subscriptions.length)\n\n for (const dispose of this.subscriptions) {\n dispose()\n }\n\n this.subscriptions = []\n\n logger.info('disposed of all subscriptions!', this.subscriptions.length)\n }\n\n this.emitter.removeAllListeners()\n logger.info('destroyed the listener!')\n\n this.readyState = InterceptorReadyState.DISPOSED\n }\n\n private getInstance(): this | undefined {\n const instance = getGlobalSymbol(this.symbol)\n this.logger.info('retrieved global instance:', instance?.constructor?.name)\n return instance\n }\n\n private setInstance(): void {\n setGlobalSymbol(this.symbol, this)\n this.logger.info('set global instance!', this.symbol.description)\n }\n\n private clearInstance(): void {\n deleteGlobalSymbol(this.symbol)\n this.logger.info('cleared global instance!', this.symbol.description)\n }\n}\n","/**\n * Generate a random ID string to represent a request.\n * @example\n * createRequestId()\n * // \"f774b6c9c600f\"\n */\nexport function createRequestId(): string {\n return Math.random().toString(16).slice(2)\n}\n","export interface FetchResponseInit extends ResponseInit {\n url?: string\n}\n\nexport class FetchResponse extends Response {\n /**\n * Response status codes for responses that cannot have body.\n * @see https://fetch.spec.whatwg.org/#statuses\n */\n static readonly STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]\n\n static readonly STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]\n\n static isConfigurableStatusCode(status: number): boolean {\n return status >= 200 && status <= 599\n }\n\n static isRedirectResponse(status: number): boolean {\n return FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status)\n }\n\n /**\n * Returns a boolean indicating whether the given response status\n * code represents a response that can have a body.\n */\n static isResponseWithBody(status: number): boolean {\n return !FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status)\n }\n\n static setUrl(url: string | undefined, response: Response): void {\n if (!url) {\n return\n }\n\n if (response.url != '') {\n return\n }\n\n Object.defineProperty(response, 'url', {\n value: url,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n\n /**\n * Parses the given raw HTTP headers into a Fetch API `Headers` instance.\n */\n static parseRawHeaders(rawHeaders: Array): Headers {\n const headers = new Headers()\n for (let line = 0; line < rawHeaders.length; line += 2) {\n headers.append(rawHeaders[line], rawHeaders[line + 1])\n }\n return headers\n }\n\n constructor(body?: BodyInit | null, init: FetchResponseInit = {}) {\n const status = init.status ?? 200\n const safeStatus = FetchResponse.isConfigurableStatusCode(status)\n ? status\n : 200\n const finalBody = FetchResponse.isResponseWithBody(status) ? body : null\n\n super(finalBody, {\n ...init,\n status: safeStatus,\n })\n\n if (status !== safeStatus) {\n /**\n * @note Undici keeps an internal \"Symbol(state)\" that holds\n * the actual value of response status. Update that in Node.js.\n */\n const stateSymbol = Object.getOwnPropertySymbols(this).find(\n (symbol) => symbol.description === 'state'\n )\n if (stateSymbol) {\n const state = Reflect.get(this, stateSymbol) as object\n Reflect.set(state, 'status', status)\n } else {\n Object.defineProperty(this, 'status', {\n value: status,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n }\n\n FetchResponse.setUrl(init.url, this)\n }\n}\n"],"mappings":";AAAA,SAAS,cAAc;AACvB,SAAS,eAAyB;AAY3B,IAAM,kCACX;AAEK,SAAS,gBAAmB,QAA+B;AAChE;AAAA;AAAA,IAEE,WAAW,MAAM,KAAK;AAAA;AAE1B;AAEA,SAAS,gBAAgB,QAAgB,OAAkB;AAEzD,aAAW,MAAM,IAA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AKA,OAAO,gBAAgB,YAAoC;AACzD,UAAM,UAAU,IAAI,QAAQ;AAC5B,aAAS,OAAO,GAAG,OAAO,WAAW,QAAQ,QAAQ,GAAG;AACtD,cAAQ,OAAO,WAAW,IAAI,GAAG,WAAW,OAAO,CAAC,CAAC;AAAA,IACvD;AACA,WAAO;AAAA,EACT;AAAA,EAEA,YAAY,MAAwB,OAA0B,CAAC,GAAG;AAzDpE;AA0DI,UAAM,UAAS,UAAK,WAAL,YAAe;AAC9B,UAAM,aAAa,eAAc,yBAAyB,MAAM,IAC5D,SACA;AACJ,UAAM,YAAY,eAAc,mBAAmB,MAAM,IAAI,OAAO;AAEpE,UAAM,WAAW;AAAA,MACf,GAAG;AAAA,MACH,QAAQ;AAAA,IACV,CAAC;AAED,QAAI,WAAW,YAAY;AAKzB,YAAM,cAAc,OAAO,sBAAsB,IAAI,EAAE;AAAA,QACrD,CAAC,WAAW,OAAO,gBAAgB;AAAA,MACrC;AACA,UAAI,aAAa;AACf,cAAM,QAAQ,QAAQ,IAAI,MAAM,WAAW;AAC3C,gBAAQ,IAAI,OAAO,UAAU,MAAM;AAAA,MACrC,OAAO;AACL,eAAO,eAAe,MAAM,UAAU;AAAA,UACpC,OAAO;AAAA,UACP,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,UAAU;AAAA,QACZ,CAAC;AAAA,MACH;AAAA,IACF;AAEA,mBAAc,OAAO,KAAK,KAAK,IAAI;AAAA,EACrC;AACF;AAxFO,IAAM,gBAAN;AAAA;AAAA;AAAA;AAAA;AAAM,cAKK,4BAA4B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;AALzD,cAOK,6BAA6B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;","names":["InterceptorReadyState"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js b/node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js new file mode 100644 index 0000000000..e386d612df --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js @@ -0,0 +1,844 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + + + +var _chunkLK6DILFKjs = require('./chunk-LK6DILFK.js'); + + +var _chunkPFGO5BSMjs = require('./chunk-PFGO5BSM.js'); + + +var _chunk73NOP3T5js = require('./chunk-73NOP3T5.js'); + + + +var _chunk6L3PFBGTjs = require('./chunk-6L3PFBGT.js'); + + + + + +var _chunkWZTE4PCOjs = require('./chunk-WZTE4PCO.js'); + +// src/interceptors/XMLHttpRequest/index.ts +var _outvariant = require('outvariant'); + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts + +var _isnodeprocess = require('is-node-process'); + +// src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts +function concatArrayBuffer(left, right) { + const result = new Uint8Array(left.byteLength + right.byteLength); + result.set(left, 0); + result.set(right, left.byteLength); + return result; +} + +// src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts +var EventPolyfill = class { + constructor(type, options) { + this.NONE = 0; + this.CAPTURING_PHASE = 1; + this.AT_TARGET = 2; + this.BUBBLING_PHASE = 3; + this.type = ""; + this.srcElement = null; + this.currentTarget = null; + this.eventPhase = 0; + this.isTrusted = true; + this.composed = false; + this.cancelable = true; + this.defaultPrevented = false; + this.bubbles = true; + this.lengthComputable = true; + this.loaded = 0; + this.total = 0; + this.cancelBubble = false; + this.returnValue = true; + this.type = type; + this.target = (options == null ? void 0 : options.target) || null; + this.currentTarget = (options == null ? void 0 : options.currentTarget) || null; + this.timeStamp = Date.now(); + } + composedPath() { + return []; + } + initEvent(type, bubbles, cancelable) { + this.type = type; + this.bubbles = !!bubbles; + this.cancelable = !!cancelable; + } + preventDefault() { + this.defaultPrevented = true; + } + stopPropagation() { + } + stopImmediatePropagation() { + } +}; + +// src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts +var ProgressEventPolyfill = class extends EventPolyfill { + constructor(type, init) { + super(type); + this.lengthComputable = (init == null ? void 0 : init.lengthComputable) || false; + this.composed = (init == null ? void 0 : init.composed) || false; + this.loaded = (init == null ? void 0 : init.loaded) || 0; + this.total = (init == null ? void 0 : init.total) || 0; + } +}; + +// src/interceptors/XMLHttpRequest/utils/createEvent.ts +var SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== "undefined"; +function createEvent(target, type, init) { + const progressEvents = [ + "error", + "progress", + "loadstart", + "loadend", + "load", + "timeout", + "abort" + ]; + const ProgressEventClass = SUPPORTS_PROGRESS_EVENT ? ProgressEvent : ProgressEventPolyfill; + const event = progressEvents.includes(type) ? new ProgressEventClass(type, { + lengthComputable: true, + loaded: (init == null ? void 0 : init.loaded) || 0, + total: (init == null ? void 0 : init.total) || 0 + }) : new EventPolyfill(type, { + target, + currentTarget: target + }); + return event; +} + +// src/utils/findPropertySource.ts +function findPropertySource(target, propertyName) { + if (!(propertyName in target)) { + return null; + } + const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName); + if (hasProperty) { + return target; + } + const prototype = Reflect.getPrototypeOf(target); + return prototype ? findPropertySource(prototype, propertyName) : null; +} + +// src/utils/createProxy.ts +function createProxy(target, options) { + const proxy = new Proxy(target, optionsToProxyHandler(options)); + return proxy; +} +function optionsToProxyHandler(options) { + const { constructorCall, methodCall, getProperty, setProperty } = options; + const handler = {}; + if (typeof constructorCall !== "undefined") { + handler.construct = function(target, args, newTarget) { + const next = Reflect.construct.bind(null, target, args, newTarget); + return constructorCall.call(newTarget, args, next); + }; + } + handler.set = function(target, propertyName, nextValue) { + const next = () => { + const propertySource = findPropertySource(target, propertyName) || target; + const ownDescriptors = Reflect.getOwnPropertyDescriptor( + propertySource, + propertyName + ); + if (typeof (ownDescriptors == null ? void 0 : ownDescriptors.set) !== "undefined") { + ownDescriptors.set.apply(target, [nextValue]); + return true; + } + return Reflect.defineProperty(propertySource, propertyName, { + writable: true, + enumerable: true, + configurable: true, + value: nextValue + }); + }; + if (typeof setProperty !== "undefined") { + return setProperty.call(target, [propertyName, nextValue], next); + } + return next(); + }; + handler.get = function(target, propertyName, receiver) { + const next = () => target[propertyName]; + const value = typeof getProperty !== "undefined" ? getProperty.call(target, [propertyName, receiver], next) : next(); + if (typeof value === "function") { + return (...args) => { + const next2 = value.bind(target, ...args); + if (typeof methodCall !== "undefined") { + return methodCall.call(target, [propertyName, args], next2); + } + return next2(); + }; + } + return value; + }; + return handler; +} + +// src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts +function isDomParserSupportedType(type) { + const supportedTypes = [ + "application/xhtml+xml", + "application/xml", + "image/svg+xml", + "text/html", + "text/xml" + ]; + return supportedTypes.some((supportedType) => { + return type.startsWith(supportedType); + }); +} + +// src/utils/parseJson.ts +function parseJson(data) { + try { + const json = JSON.parse(data); + return json; + } catch (_) { + return null; + } +} + +// src/interceptors/XMLHttpRequest/utils/createResponse.ts +function createResponse(request, body) { + const responseBodyOrNull = _chunkWZTE4PCOjs.FetchResponse.isResponseWithBody(request.status) ? body : null; + return new (0, _chunkWZTE4PCOjs.FetchResponse)(responseBodyOrNull, { + url: request.responseURL, + status: request.status, + statusText: request.statusText, + headers: createHeadersFromXMLHttpReqestHeaders( + request.getAllResponseHeaders() + ) + }); +} +function createHeadersFromXMLHttpReqestHeaders(headersString) { + const headers = new Headers(); + const lines = headersString.split(/[\r\n]+/); + for (const line of lines) { + if (line.trim() === "") { + continue; + } + const [name, ...parts] = line.split(": "); + const value = parts.join(": "); + headers.append(name, value); + } + return headers; +} + +// src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts +async function getBodyByteLength(input) { + const explicitContentLength = input.headers.get("content-length"); + if (explicitContentLength != null && explicitContentLength !== "") { + return Number(explicitContentLength); + } + const buffer = await input.arrayBuffer(); + return buffer.byteLength; +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts +var kIsRequestHandled = Symbol("kIsRequestHandled"); +var IS_NODE = _isnodeprocess.isNodeProcess.call(void 0, ); +var kFetchRequest = Symbol("kFetchRequest"); +var XMLHttpRequestController = class { + constructor(initialRequest, logger) { + this.initialRequest = initialRequest; + this.logger = logger; + this.method = "GET"; + this.url = null; + this[kIsRequestHandled] = false; + this.events = /* @__PURE__ */ new Map(); + this.uploadEvents = /* @__PURE__ */ new Map(); + this.requestId = _chunkWZTE4PCOjs.createRequestId.call(void 0, ); + this.requestHeaders = new Headers(); + this.responseBuffer = new Uint8Array(); + this.request = createProxy(initialRequest, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "ontimeout": { + const eventName = propertyName.slice( + 2 + ); + this.request.addEventListener(eventName, nextValue); + return invoke(); + } + default: { + return invoke(); + } + } + }, + methodCall: ([methodName, args], invoke) => { + var _a; + switch (methodName) { + case "open": { + const [method, url] = args; + if (typeof url === "undefined") { + this.method = "GET"; + this.url = toAbsoluteUrl(method); + } else { + this.method = method; + this.url = toAbsoluteUrl(url); + } + this.logger = this.logger.extend(`${this.method} ${this.url.href}`); + this.logger.info("open", this.method, this.url.href); + return invoke(); + } + case "addEventListener": { + const [eventName, listener] = args; + this.registerEvent(eventName, listener); + this.logger.info("addEventListener", eventName, listener); + return invoke(); + } + case "setRequestHeader": { + const [name, value] = args; + this.requestHeaders.set(name, value); + this.logger.info("setRequestHeader", name, value); + return invoke(); + } + case "send": { + const [body] = args; + this.request.addEventListener("load", () => { + if (typeof this.onResponse !== "undefined") { + const fetchResponse = createResponse( + this.request, + /** + * The `response` property is the right way to read + * the ambiguous response body, as the request's "responseType" may differ. + * @see https://xhr.spec.whatwg.org/#the-response-attribute + */ + this.request.response + ); + this.onResponse.call(this, { + response: fetchResponse, + isMockedResponse: this[kIsRequestHandled], + request: fetchRequest, + requestId: this.requestId + }); + } + }); + const requestBody = typeof body === "string" ? _chunkLK6DILFKjs.encodeBuffer.call(void 0, body) : body; + const fetchRequest = this.toFetchApiRequest(requestBody); + this[kFetchRequest] = fetchRequest.clone(); + const onceRequestSettled = ((_a = this.onRequest) == null ? void 0 : _a.call(this, { + request: fetchRequest, + requestId: this.requestId + })) || Promise.resolve(); + onceRequestSettled.finally(() => { + if (!this[kIsRequestHandled]) { + this.logger.info( + "request callback settled but request has not been handled (readystate %d), performing as-is...", + this.request.readyState + ); + if (IS_NODE) { + this.request.setRequestHeader( + _chunkWZTE4PCOjs.INTERNAL_REQUEST_ID_HEADER_NAME, + this.requestId + ); + } + return invoke(); + } + }); + break; + } + default: { + return invoke(); + } + } + } + }); + define( + this.request, + "upload", + createProxy(this.request.upload, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "onloadstart": + case "onprogress": + case "onaboart": + case "onerror": + case "onload": + case "ontimeout": + case "onloadend": { + const eventName = propertyName.slice( + 2 + ); + this.registerUploadEvent(eventName, nextValue); + } + } + return invoke(); + }, + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "addEventListener": { + const [eventName, listener] = args; + this.registerUploadEvent(eventName, listener); + this.logger.info("upload.addEventListener", eventName, listener); + return invoke(); + } + } + } + }) + ); + } + registerEvent(eventName, listener) { + const prevEvents = this.events.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.events.set(eventName, nextEvents); + this.logger.info('registered event "%s"', eventName, listener); + } + registerUploadEvent(eventName, listener) { + const prevEvents = this.uploadEvents.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.uploadEvents.set(eventName, nextEvents); + this.logger.info('registered upload event "%s"', eventName, listener); + } + /** + * Responds to the current request with the given + * Fetch API `Response` instance. + */ + async respondWith(response) { + this[kIsRequestHandled] = true; + if (this[kFetchRequest]) { + const totalRequestBodyLength = await getBodyByteLength( + this[kFetchRequest] + ); + this.trigger("loadstart", this.request.upload, { + loaded: 0, + total: totalRequestBodyLength + }); + this.trigger("progress", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("load", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("loadend", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + } + this.logger.info( + "responding with a mocked response: %d %s", + response.status, + response.statusText + ); + define(this.request, "status", response.status); + define(this.request, "statusText", response.statusText); + define(this.request, "responseURL", this.url.href); + this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, { + apply: (_, __, args) => { + this.logger.info("getResponseHeader", args[0]); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning null"); + return null; + } + const headerValue = response.headers.get(args[0]); + this.logger.info( + 'resolved response header "%s" to', + args[0], + headerValue + ); + return headerValue; + } + }); + this.request.getAllResponseHeaders = new Proxy( + this.request.getAllResponseHeaders, + { + apply: () => { + this.logger.info("getAllResponseHeaders"); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning empty string"); + return ""; + } + const headersList = Array.from(response.headers.entries()); + const allHeaders = headersList.map(([headerName, headerValue]) => { + return `${headerName}: ${headerValue}`; + }).join("\r\n"); + this.logger.info("resolved all response headers to", allHeaders); + return allHeaders; + } + } + ); + Object.defineProperties(this.request, { + response: { + enumerable: true, + configurable: false, + get: () => this.response + }, + responseText: { + enumerable: true, + configurable: false, + get: () => this.responseText + }, + responseXML: { + enumerable: true, + configurable: false, + get: () => this.responseXML + } + }); + const totalResponseBodyLength = await getBodyByteLength(response.clone()); + this.logger.info("calculated response body length", totalResponseBodyLength); + this.trigger("loadstart", this.request, { + loaded: 0, + total: totalResponseBodyLength + }); + this.setReadyState(this.request.HEADERS_RECEIVED); + this.setReadyState(this.request.LOADING); + const finalizeResponse = () => { + this.logger.info("finalizing the mocked response..."); + this.setReadyState(this.request.DONE); + this.trigger("load", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + this.trigger("loadend", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + }; + if (response.body) { + this.logger.info("mocked response has body, streaming..."); + const reader = response.body.getReader(); + const readNextResponseBodyChunk = async () => { + const { value, done } = await reader.read(); + if (done) { + this.logger.info("response body stream done!"); + finalizeResponse(); + return; + } + if (value) { + this.logger.info("read response body chunk:", value); + this.responseBuffer = concatArrayBuffer(this.responseBuffer, value); + this.trigger("progress", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + } + readNextResponseBodyChunk(); + }; + readNextResponseBodyChunk(); + } else { + finalizeResponse(); + } + } + responseBufferToText() { + return _chunkLK6DILFKjs.decodeBuffer.call(void 0, this.responseBuffer); + } + get response() { + this.logger.info( + "getResponse (responseType: %s)", + this.request.responseType + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + switch (this.request.responseType) { + case "json": { + const responseJson = parseJson(this.responseBufferToText()); + this.logger.info("resolved response JSON", responseJson); + return responseJson; + } + case "arraybuffer": { + const arrayBuffer = _chunkLK6DILFKjs.toArrayBuffer.call(void 0, this.responseBuffer); + this.logger.info("resolved response ArrayBuffer", arrayBuffer); + return arrayBuffer; + } + case "blob": { + const mimeType = this.request.getResponseHeader("Content-Type") || "text/plain"; + const responseBlob = new Blob([this.responseBufferToText()], { + type: mimeType + }); + this.logger.info( + "resolved response Blob (mime type: %s)", + responseBlob, + mimeType + ); + return responseBlob; + } + default: { + const responseText = this.responseBufferToText(); + this.logger.info( + 'resolving "%s" response type as text', + this.request.responseType, + responseText + ); + return responseText; + } + } + } + get responseText() { + _outvariant.invariant.call(void 0, + this.request.responseType === "" || this.request.responseType === "text", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.LOADING && this.request.readyState !== this.request.DONE) { + return ""; + } + const responseText = this.responseBufferToText(); + this.logger.info('getResponseText: "%s"', responseText); + return responseText; + } + get responseXML() { + _outvariant.invariant.call(void 0, + this.request.responseType === "" || this.request.responseType === "document", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + const contentType = this.request.getResponseHeader("Content-Type") || ""; + if (typeof DOMParser === "undefined") { + console.warn( + "Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly." + ); + return null; + } + if (isDomParserSupportedType(contentType)) { + return new DOMParser().parseFromString( + this.responseBufferToText(), + contentType + ); + } + return null; + } + errorWith(error) { + this[kIsRequestHandled] = true; + this.logger.info("responding with an error"); + this.setReadyState(this.request.DONE); + this.trigger("error", this.request); + this.trigger("loadend", this.request); + } + /** + * Transitions this request's `readyState` to the given one. + */ + setReadyState(nextReadyState) { + this.logger.info( + "setReadyState: %d -> %d", + this.request.readyState, + nextReadyState + ); + if (this.request.readyState === nextReadyState) { + this.logger.info("ready state identical, skipping transition..."); + return; + } + define(this.request, "readyState", nextReadyState); + this.logger.info("set readyState to: %d", nextReadyState); + if (nextReadyState !== this.request.UNSENT) { + this.logger.info('triggerring "readystatechange" event...'); + this.trigger("readystatechange", this.request); + } + } + /** + * Triggers given event on the `XMLHttpRequest` instance. + */ + trigger(eventName, target, options) { + const callback = target[`on${eventName}`]; + const event = createEvent(target, eventName, options); + this.logger.info('trigger "%s"', eventName, options || ""); + if (typeof callback === "function") { + this.logger.info('found a direct "%s" callback, calling...', eventName); + callback.call(target, event); + } + const events = target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events; + for (const [registeredEventName, listeners] of events) { + if (registeredEventName === eventName) { + this.logger.info( + 'found %d listener(s) for "%s" event, calling...', + listeners.length, + eventName + ); + listeners.forEach((listener) => listener.call(target, event)); + } + } + } + /** + * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance. + */ + toFetchApiRequest(body) { + this.logger.info("converting request to a Fetch API Request..."); + const resolvedBody = body instanceof Document ? body.documentElement.innerText : body; + const fetchRequest = new Request(this.url.href, { + method: this.method, + headers: this.requestHeaders, + /** + * @see https://xhr.spec.whatwg.org/#cross-origin-credentials + */ + credentials: this.request.withCredentials ? "include" : "same-origin", + body: ["GET", "HEAD"].includes(this.method.toUpperCase()) ? null : resolvedBody + }); + const proxyHeaders = createProxy(fetchRequest.headers, { + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "append": + case "set": { + const [headerName, headerValue] = args; + this.request.setRequestHeader(headerName, headerValue); + break; + } + case "delete": { + const [headerName] = args; + console.warn( + `XMLHttpRequest: Cannot remove a "${headerName}" header from the Fetch API representation of the "${fetchRequest.method} ${fetchRequest.url}" request. XMLHttpRequest headers cannot be removed.` + ); + break; + } + } + return invoke(); + } + }); + define(fetchRequest, "headers", proxyHeaders); + this.logger.info("converted request to a Fetch API Request!", fetchRequest); + return fetchRequest; + } +}; +kIsRequestHandled, kFetchRequest; +function toAbsoluteUrl(url) { + if (typeof location === "undefined") { + return new URL(url); + } + return new URL(url.toString(), location.href); +} +function define(target, property, value) { + Reflect.defineProperty(target, property, { + // Ensure writable properties to allow redefining readonly properties. + writable: true, + enumerable: true, + value + }); +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts +function createXMLHttpRequestProxy({ + emitter, + logger +}) { + const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, { + construct(target, args, newTarget) { + logger.info("constructed new XMLHttpRequest"); + const originalRequest = Reflect.construct( + target, + args, + newTarget + ); + const prototypeDescriptors = Object.getOwnPropertyDescriptors( + target.prototype + ); + for (const propertyName in prototypeDescriptors) { + Reflect.defineProperty( + originalRequest, + propertyName, + prototypeDescriptors[propertyName] + ); + } + const xhrRequestController = new XMLHttpRequestController( + originalRequest, + logger + ); + xhrRequestController.onRequest = async function({ request, requestId }) { + const controller = new (0, _chunk6L3PFBGTjs.RequestController)(request); + this.logger.info("awaiting mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + emitter.listenerCount("request") + ); + const isRequestHandled = await _chunk6L3PFBGTjs.handleRequest.call(void 0, { + request, + requestId, + controller, + emitter, + onResponse: async (response) => { + await this.respondWith(response); + }, + onRequestError: () => { + this.errorWith(new TypeError("Network error")); + }, + onError: (error) => { + this.logger.info("request errored!", { error }); + if (error instanceof Error) { + this.errorWith(error); + } + } + }); + if (!isRequestHandled) { + this.logger.info( + "no mocked response received, performing request as-is..." + ); + } + }; + xhrRequestController.onResponse = async function({ + response, + isMockedResponse, + request, + requestId + }) { + this.logger.info( + 'emitting the "response" event for %s listener(s)...', + emitter.listenerCount("response") + ); + emitter.emit("response", { + response, + isMockedResponse, + request, + requestId + }); + }; + return xhrRequestController.request; + } + }); + return XMLHttpRequestProxy; +} + +// src/interceptors/XMLHttpRequest/index.ts +var _XMLHttpRequestInterceptor = class extends _chunkWZTE4PCOjs.Interceptor { + constructor() { + super(_XMLHttpRequestInterceptor.interceptorSymbol); + } + checkEnvironment() { + return _chunkPFGO5BSMjs.hasConfigurableGlobal.call(void 0, "XMLHttpRequest"); + } + setup() { + const logger = this.logger.extend("setup"); + logger.info('patching "XMLHttpRequest" module...'); + const PureXMLHttpRequest = globalThis.XMLHttpRequest; + _outvariant.invariant.call(void 0, + !PureXMLHttpRequest[_chunk73NOP3T5js.IS_PATCHED_MODULE], + 'Failed to patch the "XMLHttpRequest" module: already patched.' + ); + globalThis.XMLHttpRequest = createXMLHttpRequestProxy({ + emitter: this.emitter, + logger: this.logger + }); + logger.info( + 'native "XMLHttpRequest" module patched!', + globalThis.XMLHttpRequest.name + ); + Object.defineProperty(globalThis.XMLHttpRequest, _chunk73NOP3T5js.IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.XMLHttpRequest, _chunk73NOP3T5js.IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.XMLHttpRequest = PureXMLHttpRequest; + logger.info( + 'native "XMLHttpRequest" module restored!', + globalThis.XMLHttpRequest.name + ); + }); + } +}; +var XMLHttpRequestInterceptor = _XMLHttpRequestInterceptor; +XMLHttpRequestInterceptor.interceptorSymbol = Symbol("xhr"); + + + +exports.XMLHttpRequestInterceptor = XMLHttpRequestInterceptor; +//# sourceMappingURL=chunk-LCA4FKWY.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js.map new file mode 100644 index 0000000000..dcd5d0b31b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-LCA4FKWY.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/XMLHttpRequest/index.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts","../../src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts","../../src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts","../../src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts","../../src/interceptors/XMLHttpRequest/utils/createEvent.ts","../../src/utils/findPropertySource.ts","../../src/utils/createProxy.ts","../../src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts","../../src/utils/parseJson.ts","../../src/interceptors/XMLHttpRequest/utils/createResponse.ts","../../src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts"],"names":["invariant","next"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,aAAAA,kBAAiB;;;ACA1B,SAAS,iBAAiB;AAC1B,SAAS,qBAAqB;;;ACEvB,SAAS,kBACd,MACA,OACY;AACZ,QAAM,SAAS,IAAI,WAAW,KAAK,aAAa,MAAM,UAAU;AAChE,SAAO,IAAI,MAAM,CAAC;AAClB,SAAO,IAAI,OAAO,KAAK,UAAU;AACjC,SAAO;AACT;;;ACXO,IAAM,gBAAN,MAAqC;AAAA,EAwB1C,YACE,MACA,SACA;AA1BF,SAAS,OAAO;AAChB,SAAS,kBAAkB;AAC3B,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAE1B,SAAO,OAAe;AACtB,SAAO,aAAiC;AAExC,SAAO,gBAAoC;AAC3C,SAAO,aAAqB;AAE5B,SAAO,YAAqB;AAC5B,SAAO,WAAoB;AAC3B,SAAO,aAAsB;AAC7B,SAAO,mBAA4B;AACnC,SAAO,UAAmB;AAC1B,SAAO,mBAA4B;AACnC,SAAO,SAAiB;AACxB,SAA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ED,WAAO;AAAA,MACL;AAAA,MACA,WAAW,eAAe;AAAA,IAC5B;AAEA,WAAO,eAAe,WAAW,gBAAgB,mBAAmB;AAAA,MAClE,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,OAAO;AAAA,IACT,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO,eAAe,WAAW,gBAAgB,mBAAmB;AAAA,QAClE,OAAO;AAAA,MACT,CAAC;AAED,iBAAW,iBAAiB;AAC5B,aAAO;AAAA,QACL;AAAA,QACA,WAAW,eAAe;AAAA,MAC5B;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAnDO,IAAM,4BAAN;AAAM,0BACJ,oBAAoB,OAAO,KAAK","sourcesContent":["import { invariant } from 'outvariant'\nimport { Emitter } from 'strict-event-emitter'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { createXMLHttpRequestProxy } from './XMLHttpRequestProxy'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\n\nexport type XMLHttpRequestEmitter = Emitter\n\nexport class XMLHttpRequestInterceptor extends Interceptor {\n static interceptorSymbol = Symbol('xhr')\n\n constructor() {\n super(XMLHttpRequestInterceptor.interceptorSymbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('XMLHttpRequest')\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('patching \"XMLHttpRequest\" module...')\n\n const PureXMLHttpRequest = globalThis.XMLHttpRequest\n\n invariant(\n !(PureXMLHttpRequest as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"XMLHttpRequest\" module: already patched.'\n )\n\n globalThis.XMLHttpRequest = createXMLHttpRequestProxy({\n emitter: this.emitter,\n logger: this.logger,\n })\n\n logger.info(\n 'native \"XMLHttpRequest\" module patched!',\n globalThis.XMLHttpRequest.name\n )\n\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.XMLHttpRequest = PureXMLHttpRequest\n logger.info(\n 'native \"XMLHttpRequest\" module restored!',\n globalThis.XMLHttpRequest.name\n )\n })\n }\n}\n","import { invariant } from 'outvariant'\nimport { isNodeProcess } from 'is-node-process'\nimport type { Logger } from '@open-draft/logger'\nimport { concatArrayBuffer } from './utils/concatArrayBuffer'\nimport { createEvent } from './utils/createEvent'\nimport {\n decodeBuffer,\n encodeBuffer,\n toArrayBuffer,\n} from '../../utils/bufferUtils'\nimport { createProxy } from '../../utils/createProxy'\nimport { isDomParserSupportedType } from './utils/isDomParserSupportedType'\nimport { parseJson } from '../../utils/parseJson'\nimport { createResponse } from './utils/createResponse'\nimport { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor'\nimport { createRequestId } from '../../createRequestId'\nimport { getBodyByteLength } from './utils/getBodyByteLength'\n\nconst kIsRequestHandled = Symbol('kIsRequestHandled')\nconst IS_NODE = isNodeProcess()\nconst kFetchRequest = Symbol('kFetchRequest')\n\n/**\n * An `XMLHttpRequest` instance controller that allows us\n * to handle any given request instance (e.g. responding to it).\n */\nexport class XMLHttpRequestController {\n public request: XMLHttpRequest\n public requestId: string\n public onRequest?: (\n this: XMLHttpRequestController,\n args: {\n request: Request\n requestId: string\n }\n ) => Promise\n public onResponse?: (\n this: XMLHttpRequestController,\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ) => void;\n\n [kIsRequestHandled]: boolean;\n [kFetchRequest]?: Request\n private method: string = 'GET'\n private url: URL = null as any\n private requestHeaders: Headers\n private responseBuffer: Uint8Array\n private events: Map>\n private uploadEvents: Map<\n keyof XMLHttpRequestEventTargetEventMap,\n Array\n >\n\n constructor(readonly initialRequest: XMLHttpRequest, public logger: Logger) {\n this[kIsRequestHandled] = false\n\n this.events = new Map()\n this.uploadEvents = new Map()\n this.requestId = createRequestId()\n this.requestHeaders = new Headers()\n this.responseBuffer = new Uint8Array()\n\n this.request = createProxy(initialRequest, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'ontimeout': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n /**\n * @note Proxy callbacks to event listeners because JSDOM has trouble\n * translating these properties to callbacks. It seemed to be operating\n * on events exclusively.\n */\n this.request.addEventListener(eventName, nextValue as any)\n\n return invoke()\n }\n\n default: {\n return invoke()\n }\n }\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'open': {\n const [method, url] = args as [string, string | undefined]\n\n if (typeof url === 'undefined') {\n this.method = 'GET'\n this.url = toAbsoluteUrl(method)\n } else {\n this.method = method\n this.url = toAbsoluteUrl(url)\n }\n\n this.logger = this.logger.extend(`${this.method} ${this.url.href}`)\n this.logger.info('open', this.method, this.url.href)\n\n return invoke()\n }\n\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n\n this.registerEvent(eventName, listener)\n this.logger.info('addEventListener', eventName, listener)\n\n return invoke()\n }\n\n case 'setRequestHeader': {\n const [name, value] = args as [string, string]\n this.requestHeaders.set(name, value)\n\n this.logger.info('setRequestHeader', name, value)\n\n return invoke()\n }\n\n case 'send': {\n const [body] = args as [\n body?: XMLHttpRequestBodyInit | Document | null\n ]\n\n this.request.addEventListener('load', () => {\n if (typeof this.onResponse !== 'undefined') {\n // Create a Fetch API Response representation of whichever\n // response this XMLHttpRequest received. Note those may\n // be either a mocked and the original response.\n const fetchResponse = createResponse(\n this.request,\n /**\n * The `response` property is the right way to read\n * the ambiguous response body, as the request's \"responseType\" may differ.\n * @see https://xhr.spec.whatwg.org/#the-response-attribute\n */\n this.request.response\n )\n\n // Notify the consumer about the response.\n this.onResponse.call(this, {\n response: fetchResponse,\n isMockedResponse: this[kIsRequestHandled],\n request: fetchRequest,\n requestId: this.requestId!,\n })\n }\n })\n\n const requestBody =\n typeof body === 'string' ? encodeBuffer(body) : body\n\n // Delegate request handling to the consumer.\n const fetchRequest = this.toFetchApiRequest(requestBody)\n this[kFetchRequest] = fetchRequest.clone()\n\n const onceRequestSettled =\n this.onRequest?.call(this, {\n request: fetchRequest,\n requestId: this.requestId!,\n }) || Promise.resolve()\n\n onceRequestSettled.finally(() => {\n // If the consumer didn't handle the request (called `.respondWith()`) perform it as-is.\n if (!this[kIsRequestHandled]) {\n this.logger.info(\n 'request callback settled but request has not been handled (readystate %d), performing as-is...',\n this.request.readyState\n )\n\n /**\n * @note Set the intercepted request ID on the original request in Node.js\n * so that if it triggers any other interceptors, they don't attempt\n * to process it once again.\n *\n * For instance, XMLHttpRequest is often implemented via \"http.ClientRequest\"\n * and we don't want for both XHR and ClientRequest interceptors to\n * handle the same request at the same time (e.g. emit the \"response\" event twice).\n */\n if (IS_NODE) {\n this.request.setRequestHeader(\n INTERNAL_REQUEST_ID_HEADER_NAME,\n this.requestId!\n )\n }\n\n return invoke()\n }\n })\n\n break\n }\n\n default: {\n return invoke()\n }\n }\n },\n })\n\n /**\n * Proxy the `.upload` property to gather the event listeners/callbacks.\n */\n define(\n this.request,\n 'upload',\n createProxy(this.request.upload, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'onloadstart':\n case 'onprogress':\n case 'onaboart':\n case 'onerror':\n case 'onload':\n case 'ontimeout':\n case 'onloadend': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n this.registerUploadEvent(eventName, nextValue as Function)\n }\n }\n\n return invoke()\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n this.registerUploadEvent(eventName, listener)\n this.logger.info('upload.addEventListener', eventName, listener)\n\n return invoke()\n }\n }\n },\n })\n )\n }\n\n private registerEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.events.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.events.set(eventName, nextEvents)\n\n this.logger.info('registered event \"%s\"', eventName, listener)\n }\n\n private registerUploadEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.uploadEvents.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.uploadEvents.set(eventName, nextEvents)\n\n this.logger.info('registered upload event \"%s\"', eventName, listener)\n }\n\n /**\n * Responds to the current request with the given\n * Fetch API `Response` instance.\n */\n public async respondWith(response: Response): Promise {\n /**\n * @note Since `XMLHttpRequestController` delegates the handling of the responses\n * to the \"load\" event listener that doesn't distinguish between the mocked and original\n * responses, mark the request that had a mocked response with a corresponding symbol.\n *\n * Mark this request as having a mocked response immediately since\n * calculating request/response total body length is asynchronous.\n */\n this[kIsRequestHandled] = true\n\n /**\n * Dispatch request upload events for requests with a body.\n * @see https://github.com/mswjs/interceptors/issues/573\n */\n if (this[kFetchRequest]) {\n const totalRequestBodyLength = await getBodyByteLength(\n this[kFetchRequest]\n )\n\n this.trigger('loadstart', this.request.upload, {\n loaded: 0,\n total: totalRequestBodyLength,\n })\n this.trigger('progress', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('load', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('loadend', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n }\n\n this.logger.info(\n 'responding with a mocked response: %d %s',\n response.status,\n response.statusText\n )\n\n define(this.request, 'status', response.status)\n define(this.request, 'statusText', response.statusText)\n define(this.request, 'responseURL', this.url.href)\n\n this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, {\n apply: (_, __, args: [name: string]) => {\n this.logger.info('getResponseHeader', args[0])\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning null')\n\n // Headers not received yet, nothing to return.\n return null\n }\n\n const headerValue = response.headers.get(args[0])\n this.logger.info(\n 'resolved response header \"%s\" to',\n args[0],\n headerValue\n )\n\n return headerValue\n },\n })\n\n this.request.getAllResponseHeaders = new Proxy(\n this.request.getAllResponseHeaders,\n {\n apply: () => {\n this.logger.info('getAllResponseHeaders')\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning empty string')\n\n // Headers not received yet, nothing to return.\n return ''\n }\n\n const headersList = Array.from(response.headers.entries())\n const allHeaders = headersList\n .map(([headerName, headerValue]) => {\n return `${headerName}: ${headerValue}`\n })\n .join('\\r\\n')\n\n this.logger.info('resolved all response headers to', allHeaders)\n\n return allHeaders\n },\n }\n )\n\n // Update the response getters to resolve against the mocked response.\n Object.defineProperties(this.request, {\n response: {\n enumerable: true,\n configurable: false,\n get: () => this.response,\n },\n responseText: {\n enumerable: true,\n configurable: false,\n get: () => this.responseText,\n },\n responseXML: {\n enumerable: true,\n configurable: false,\n get: () => this.responseXML,\n },\n })\n\n const totalResponseBodyLength = await getBodyByteLength(response.clone())\n\n this.logger.info('calculated response body length', totalResponseBodyLength)\n\n this.trigger('loadstart', this.request, {\n loaded: 0,\n total: totalResponseBodyLength,\n })\n\n this.setReadyState(this.request.HEADERS_RECEIVED)\n this.setReadyState(this.request.LOADING)\n\n const finalizeResponse = () => {\n this.logger.info('finalizing the mocked response...')\n\n this.setReadyState(this.request.DONE)\n\n this.trigger('load', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n\n this.trigger('loadend', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n if (response.body) {\n this.logger.info('mocked response has body, streaming...')\n\n const reader = response.body.getReader()\n\n const readNextResponseBodyChunk = async () => {\n const { value, done } = await reader.read()\n\n if (done) {\n this.logger.info('response body stream done!')\n finalizeResponse()\n return\n }\n\n if (value) {\n this.logger.info('read response body chunk:', value)\n this.responseBuffer = concatArrayBuffer(this.responseBuffer, value)\n\n this.trigger('progress', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n readNextResponseBodyChunk()\n }\n\n readNextResponseBodyChunk()\n } else {\n finalizeResponse()\n }\n }\n\n private responseBufferToText(): string {\n return decodeBuffer(this.responseBuffer)\n }\n\n get response(): unknown {\n this.logger.info(\n 'getResponse (responseType: %s)',\n this.request.responseType\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n switch (this.request.responseType) {\n case 'json': {\n const responseJson = parseJson(this.responseBufferToText())\n this.logger.info('resolved response JSON', responseJson)\n\n return responseJson\n }\n\n case 'arraybuffer': {\n const arrayBuffer = toArrayBuffer(this.responseBuffer)\n this.logger.info('resolved response ArrayBuffer', arrayBuffer)\n\n return arrayBuffer\n }\n\n case 'blob': {\n const mimeType =\n this.request.getResponseHeader('Content-Type') || 'text/plain'\n const responseBlob = new Blob([this.responseBufferToText()], {\n type: mimeType,\n })\n\n this.logger.info(\n 'resolved response Blob (mime type: %s)',\n responseBlob,\n mimeType\n )\n\n return responseBlob\n }\n\n default: {\n const responseText = this.responseBufferToText()\n this.logger.info(\n 'resolving \"%s\" response type as text',\n this.request.responseType,\n responseText\n )\n\n return responseText\n }\n }\n }\n\n get responseText(): string {\n /**\n * Throw when trying to read the response body as text when the\n * \"responseType\" doesn't expect text. This just respects the spec better.\n * @see https://xhr.spec.whatwg.org/#the-responsetext-attribute\n */\n invariant(\n this.request.responseType === '' || this.request.responseType === 'text',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (\n this.request.readyState !== this.request.LOADING &&\n this.request.readyState !== this.request.DONE\n ) {\n return ''\n }\n\n const responseText = this.responseBufferToText()\n this.logger.info('getResponseText: \"%s\"', responseText)\n\n return responseText\n }\n\n get responseXML(): Document | null {\n invariant(\n this.request.responseType === '' ||\n this.request.responseType === 'document',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n const contentType = this.request.getResponseHeader('Content-Type') || ''\n\n if (typeof DOMParser === 'undefined') {\n console.warn(\n 'Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly.'\n )\n return null\n }\n\n if (isDomParserSupportedType(contentType)) {\n return new DOMParser().parseFromString(\n this.responseBufferToText(),\n contentType\n )\n }\n\n return null\n }\n\n public errorWith(error?: Error): void {\n /**\n * @note Mark this request as handled even if it received a mock error.\n * This prevents the controller from trying to perform this request as-is.\n */\n this[kIsRequestHandled] = true\n this.logger.info('responding with an error')\n\n this.setReadyState(this.request.DONE)\n this.trigger('error', this.request)\n this.trigger('loadend', this.request)\n }\n\n /**\n * Transitions this request's `readyState` to the given one.\n */\n private setReadyState(nextReadyState: number): void {\n this.logger.info(\n 'setReadyState: %d -> %d',\n this.request.readyState,\n nextReadyState\n )\n\n if (this.request.readyState === nextReadyState) {\n this.logger.info('ready state identical, skipping transition...')\n return\n }\n\n define(this.request, 'readyState', nextReadyState)\n\n this.logger.info('set readyState to: %d', nextReadyState)\n\n if (nextReadyState !== this.request.UNSENT) {\n this.logger.info('triggerring \"readystatechange\" event...')\n\n this.trigger('readystatechange', this.request)\n }\n }\n\n /**\n * Triggers given event on the `XMLHttpRequest` instance.\n */\n private trigger<\n EventName extends keyof (XMLHttpRequestEventTargetEventMap & {\n readystatechange: ProgressEvent\n })\n >(\n eventName: EventName,\n target: XMLHttpRequest | XMLHttpRequestUpload,\n options?: ProgressEventInit\n ): void {\n const callback = (target as XMLHttpRequest)[`on${eventName}`]\n const event = createEvent(target, eventName, options)\n\n this.logger.info('trigger \"%s\"', eventName, options || '')\n\n // Invoke direct callbacks.\n if (typeof callback === 'function') {\n this.logger.info('found a direct \"%s\" callback, calling...', eventName)\n callback.call(target as XMLHttpRequest, event)\n }\n\n // Invoke event listeners.\n const events =\n target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events\n\n for (const [registeredEventName, listeners] of events) {\n if (registeredEventName === eventName) {\n this.logger.info(\n 'found %d listener(s) for \"%s\" event, calling...',\n listeners.length,\n eventName\n )\n\n listeners.forEach((listener) => listener.call(target, event))\n }\n }\n }\n\n /**\n * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance.\n */\n private toFetchApiRequest(\n body: XMLHttpRequestBodyInit | Document | null | undefined\n ): Request {\n this.logger.info('converting request to a Fetch API Request...')\n\n // If the `Document` is used as the body of this XMLHttpRequest,\n // set its inner text as the Fetch API Request body.\n const resolvedBody =\n body instanceof Document ? body.documentElement.innerText : body\n\n const fetchRequest = new Request(this.url.href, {\n method: this.method,\n headers: this.requestHeaders,\n /**\n * @see https://xhr.spec.whatwg.org/#cross-origin-credentials\n */\n credentials: this.request.withCredentials ? 'include' : 'same-origin',\n body: ['GET', 'HEAD'].includes(this.method.toUpperCase())\n ? null\n : resolvedBody,\n })\n\n const proxyHeaders = createProxy(fetchRequest.headers, {\n methodCall: ([methodName, args], invoke) => {\n // Forward the latest state of the internal request headers\n // because the interceptor might have modified them\n // without responding to the request.\n switch (methodName) {\n case 'append':\n case 'set': {\n const [headerName, headerValue] = args as [string, string]\n this.request.setRequestHeader(headerName, headerValue)\n break\n }\n\n case 'delete': {\n const [headerName] = args as [string]\n console.warn(\n `XMLHttpRequest: Cannot remove a \"${headerName}\" header from the Fetch API representation of the \"${fetchRequest.method} ${fetchRequest.url}\" request. XMLHttpRequest headers cannot be removed.`\n )\n break\n }\n }\n\n return invoke()\n },\n })\n define(fetchRequest, 'headers', proxyHeaders)\n\n this.logger.info('converted request to a Fetch API Request!', fetchRequest)\n\n return fetchRequest\n }\n}\n\nfunction toAbsoluteUrl(url: string | URL): URL {\n /**\n * @note XMLHttpRequest interceptor may run in environments\n * that implement XMLHttpRequest but don't implement \"location\"\n * (for example, React Native). If that's the case, return the\n * input URL as-is (nothing to be relative to).\n * @see https://github.com/mswjs/msw/issues/1777\n */\n if (typeof location === 'undefined') {\n return new URL(url)\n }\n\n return new URL(url.toString(), location.href)\n}\n\nfunction define(\n target: object,\n property: string | symbol,\n value: unknown\n): void {\n Reflect.defineProperty(target, property, {\n // Ensure writable properties to allow redefining readonly properties.\n writable: true,\n enumerable: true,\n value,\n })\n}\n","/**\n * Concatenate two `Uint8Array` buffers.\n */\nexport function concatArrayBuffer(\n left: Uint8Array,\n right: Uint8Array\n): Uint8Array {\n const result = new Uint8Array(left.byteLength + right.byteLength)\n result.set(left, 0)\n result.set(right, left.byteLength)\n return result\n}\n","export class EventPolyfill implements Event {\n readonly NONE = 0\n readonly CAPTURING_PHASE = 1\n readonly AT_TARGET = 2\n readonly BUBBLING_PHASE = 3\n\n public type: string = ''\n public srcElement: EventTarget | null = null\n public target: EventTarget | null\n public currentTarget: EventTarget | null = null\n public eventPhase: number = 0\n public timeStamp: number\n public isTrusted: boolean = true\n public composed: boolean = false\n public cancelable: boolean = true\n public defaultPrevented: boolean = false\n public bubbles: boolean = true\n public lengthComputable: boolean = true\n public loaded: number = 0\n public total: number = 0\n\n cancelBubble: boolean = false\n returnValue: boolean = true\n\n constructor(\n type: string,\n options?: { target: EventTarget; currentTarget: EventTarget }\n ) {\n this.type = type\n this.target = options?.target || null\n this.currentTarget = options?.currentTarget || null\n this.timeStamp = Date.now()\n }\n\n public composedPath(): EventTarget[] {\n return []\n }\n\n public initEvent(type: string, bubbles?: boolean, cancelable?: boolean) {\n this.type = type\n this.bubbles = !!bubbles\n this.cancelable = !!cancelable\n }\n\n public preventDefault() {\n this.defaultPrevented = true\n }\n\n public stopPropagation() {}\n public stopImmediatePropagation() {}\n}\n","import { EventPolyfill } from './EventPolyfill'\n\nexport class ProgressEventPolyfill extends EventPolyfill {\n readonly lengthComputable: boolean\n readonly composed: boolean\n readonly loaded: number\n readonly total: number\n\n constructor(type: string, init?: ProgressEventInit) {\n super(type)\n\n this.lengthComputable = init?.lengthComputable || false\n this.composed = init?.composed || false\n this.loaded = init?.loaded || 0\n this.total = init?.total || 0\n }\n}\n","import { EventPolyfill } from '../polyfills/EventPolyfill'\nimport { ProgressEventPolyfill } from '../polyfills/ProgressEventPolyfill'\n\nconst SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== 'undefined'\n\nexport function createEvent(\n target: XMLHttpRequest | XMLHttpRequestUpload,\n type: string,\n init?: ProgressEventInit\n): EventPolyfill | ProgressEvent {\n const progressEvents = [\n 'error',\n 'progress',\n 'loadstart',\n 'loadend',\n 'load',\n 'timeout',\n 'abort',\n ]\n\n /**\n * `ProgressEvent` is not supported in React Native.\n * @see https://github.com/mswjs/interceptors/issues/40\n */\n const ProgressEventClass = SUPPORTS_PROGRESS_EVENT\n ? ProgressEvent\n : ProgressEventPolyfill\n\n const event = progressEvents.includes(type)\n ? new ProgressEventClass(type, {\n lengthComputable: true,\n loaded: init?.loaded || 0,\n total: init?.total || 0,\n })\n : new EventPolyfill(type, {\n target,\n currentTarget: target,\n })\n\n return event\n}\n","/**\n * Returns the source object of the given property on the target object\n * (the target itself, any parent in its prototype, or null).\n */\nexport function findPropertySource(\n target: object,\n propertyName: string | symbol\n): object | null {\n if (!(propertyName in target)) {\n return null\n }\n\n const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName)\n if (hasProperty) {\n return target\n }\n\n const prototype = Reflect.getPrototypeOf(target)\n return prototype ? findPropertySource(prototype, propertyName) : null\n}\n","import { findPropertySource } from './findPropertySource'\n\nexport interface ProxyOptions> {\n constructorCall?(args: Array, next: NextFunction): Target\n\n methodCall?(\n this: Target,\n data: [methodName: F, args: Array],\n next: NextFunction\n ): void\n\n setProperty?(\n data: [propertyName: string | symbol, nextValue: unknown],\n next: NextFunction\n ): boolean\n\n getProperty?(\n data: [propertyName: string | symbol, receiver: Target],\n next: NextFunction\n ): void\n}\n\nexport type NextFunction = () => ReturnType\n\nexport function createProxy(\n target: Target,\n options: ProxyOptions\n): Target {\n const proxy = new Proxy(target, optionsToProxyHandler(options))\n\n return proxy\n}\n\nfunction optionsToProxyHandler>(\n options: ProxyOptions\n): ProxyHandler {\n const { constructorCall, methodCall, getProperty, setProperty } = options\n const handler: ProxyHandler = {}\n\n if (typeof constructorCall !== 'undefined') {\n handler.construct = function (target, args, newTarget) {\n const next = Reflect.construct.bind(null, target as any, args, newTarget)\n return constructorCall.call(newTarget, args, next)\n }\n }\n\n handler.set = function (target, propertyName, nextValue) {\n const next = () => {\n const propertySource = findPropertySource(target, propertyName) || target\n const ownDescriptors = Reflect.getOwnPropertyDescriptor(\n propertySource,\n propertyName\n )\n\n // Respect any custom setters present for this property.\n if (typeof ownDescriptors?.set !== 'undefined') {\n ownDescriptors.set.apply(target, [nextValue])\n return true\n }\n\n // Otherwise, set the property on the source.\n return Reflect.defineProperty(propertySource, propertyName, {\n writable: true,\n enumerable: true,\n configurable: true,\n value: nextValue,\n })\n }\n\n if (typeof setProperty !== 'undefined') {\n return setProperty.call(target, [propertyName, nextValue], next)\n }\n\n return next()\n }\n\n handler.get = function (target, propertyName, receiver) {\n /**\n * @note Using `Reflect.get()` here causes \"TypeError: Illegal invocation\".\n */\n const next = () => target[propertyName as any]\n\n const value =\n typeof getProperty !== 'undefined'\n ? getProperty.call(target, [propertyName, receiver], next)\n : next()\n\n if (typeof value === 'function') {\n return (...args: Array) => {\n const next = value.bind(target, ...args)\n\n if (typeof methodCall !== 'undefined') {\n return methodCall.call(target, [propertyName as any, args], next)\n }\n\n return next()\n }\n }\n\n return value\n }\n\n return handler\n}\n","export function isDomParserSupportedType(\n type: string\n): type is DOMParserSupportedType {\n const supportedTypes: Array = [\n 'application/xhtml+xml',\n 'application/xml',\n 'image/svg+xml',\n 'text/html',\n 'text/xml',\n ]\n return supportedTypes.some((supportedType) => {\n return type.startsWith(supportedType)\n })\n}\n","/**\n * Parses a given string into JSON.\n * Gracefully handles invalid JSON by returning `null`.\n */\nexport function parseJson(data: string): Record | null {\n try {\n const json = JSON.parse(data)\n return json\n } catch (_) {\n return null\n }\n}\n","import { FetchResponse } from '../../../utils/fetchUtils'\n\n/**\n * Creates a Fetch API `Response` instance from the given\n * `XMLHttpRequest` instance and a response body.\n */\nexport function createResponse(\n request: XMLHttpRequest,\n body: BodyInit | null\n): Response {\n /**\n * Handle XMLHttpRequest responses that must have null as the\n * response body when represented using Fetch API Response.\n * XMLHttpRequest response will always have an empty string\n * as the \"request.response\" in those cases, resulting in an error\n * when constructing a Response instance.\n * @see https://github.com/mswjs/interceptors/issues/379\n */\n const responseBodyOrNull = FetchResponse.isResponseWithBody(request.status)\n ? body\n : null\n\n return new FetchResponse(responseBodyOrNull, {\n url: request.responseURL,\n status: request.status,\n statusText: request.statusText,\n headers: createHeadersFromXMLHttpReqestHeaders(\n request.getAllResponseHeaders()\n ),\n })\n}\n\nfunction createHeadersFromXMLHttpReqestHeaders(headersString: string): Headers {\n const headers = new Headers()\n\n const lines = headersString.split(/[\\r\\n]+/)\n for (const line of lines) {\n if (line.trim() === '') {\n continue\n }\n\n const [name, ...parts] = line.split(': ')\n const value = parts.join(': ')\n\n headers.append(name, value)\n }\n\n return headers\n}\n","/**\n * Return a total byte length of the given request/response body.\n * If the `Content-Length` header is present, it will be used as the byte length.\n */\nexport async function getBodyByteLength(\n input: Request | Response\n): Promise {\n const explicitContentLength = input.headers.get('content-length')\n\n if (explicitContentLength != null && explicitContentLength !== '') {\n return Number(explicitContentLength)\n }\n\n const buffer = await input.arrayBuffer()\n return buffer.byteLength\n}\n","import type { Logger } from '@open-draft/logger'\nimport { XMLHttpRequestEmitter } from '.'\nimport { RequestController } from '../../RequestController'\nimport { XMLHttpRequestController } from './XMLHttpRequestController'\nimport { handleRequest } from '../../utils/handleRequest'\n\nexport interface XMLHttpRequestProxyOptions {\n emitter: XMLHttpRequestEmitter\n logger: Logger\n}\n\n/**\n * Create a proxied `XMLHttpRequest` class.\n * The proxied class establishes spies on certain methods,\n * allowing us to intercept requests and respond to them.\n */\nexport function createXMLHttpRequestProxy({\n emitter,\n logger,\n}: XMLHttpRequestProxyOptions) {\n const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, {\n construct(target, args, newTarget) {\n logger.info('constructed new XMLHttpRequest')\n\n const originalRequest = Reflect.construct(\n target,\n args,\n newTarget\n ) as XMLHttpRequest\n\n /**\n * @note Forward prototype descriptors onto the proxied object.\n * XMLHttpRequest is implemented in JSDOM in a way that assigns\n * a bunch of descriptors, like \"set responseType()\" on the prototype.\n * With this propagation, we make sure that those descriptors trigger\n * when the user operates with the proxied request instance.\n */\n const prototypeDescriptors = Object.getOwnPropertyDescriptors(\n target.prototype\n )\n for (const propertyName in prototypeDescriptors) {\n Reflect.defineProperty(\n originalRequest,\n propertyName,\n prototypeDescriptors[propertyName]\n )\n }\n\n const xhrRequestController = new XMLHttpRequestController(\n originalRequest,\n logger\n )\n\n xhrRequestController.onRequest = async function ({ request, requestId }) {\n const controller = new RequestController(request)\n\n this.logger.info('awaiting mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n controller,\n emitter,\n onResponse: async (response) => {\n await this.respondWith(response)\n },\n onRequestError: () => {\n this.errorWith(new TypeError('Network error'))\n },\n onError: (error) => {\n this.logger.info('request errored!', { error })\n\n if (error instanceof Error) {\n this.errorWith(error)\n }\n },\n })\n\n if (!isRequestHandled) {\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n }\n }\n\n xhrRequestController.onResponse = async function ({\n response,\n isMockedResponse,\n request,\n requestId,\n }) {\n this.logger.info(\n 'emitting the \"response\" event for %s listener(s)...',\n emitter.listenerCount('response')\n )\n\n emitter.emit('response', {\n response,\n isMockedResponse,\n request,\n requestId,\n })\n }\n\n // Return the proxied request from the controller\n // so that the controller can react to the consumer's interactions\n // with this request (opening/sending/etc).\n return xhrRequestController.request\n },\n })\n\n return XMLHttpRequestProxy\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js b/node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js new file mode 100644 index 0000000000..f543561639 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js @@ -0,0 +1,310 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var _chunkPFGO5BSMjs = require('./chunk-PFGO5BSM.js'); + + +var _chunk73NOP3T5js = require('./chunk-73NOP3T5.js'); + + + + +var _chunk6L3PFBGTjs = require('./chunk-6L3PFBGT.js'); + + + + +var _chunkWZTE4PCOjs = require('./chunk-WZTE4PCO.js'); + +// src/interceptors/fetch/index.ts +var _outvariant = require('outvariant'); +var _deferredpromise = require('@open-draft/deferred-promise'); + +// src/utils/canParseUrl.ts +function canParseUrl(url) { + try { + new URL(url); + return true; + } catch (_error) { + return false; + } +} + +// src/interceptors/fetch/utils/createNetworkError.ts +function createNetworkError(cause) { + return Object.assign(new TypeError("Failed to fetch"), { + cause + }); +} + +// src/interceptors/fetch/utils/followRedirect.ts +var REQUEST_BODY_HEADERS = [ + "content-encoding", + "content-language", + "content-location", + "content-type", + "content-length" +]; +var kRedirectCount = Symbol("kRedirectCount"); +async function followFetchRedirect(request, response) { + if (response.status !== 303 && request.body != null) { + return Promise.reject(createNetworkError()); + } + const requestUrl = new URL(request.url); + let locationUrl; + try { + locationUrl = new URL(response.headers.get("location"), request.url); + } catch (error) { + return Promise.reject(createNetworkError(error)); + } + if (!(locationUrl.protocol === "http:" || locationUrl.protocol === "https:")) { + return Promise.reject( + createNetworkError("URL scheme must be a HTTP(S) scheme") + ); + } + if (Reflect.get(request, kRedirectCount) > 20) { + return Promise.reject(createNetworkError("redirect count exceeded")); + } + Object.defineProperty(request, kRedirectCount, { + value: (Reflect.get(request, kRedirectCount) || 0) + 1 + }); + if (request.mode === "cors" && (locationUrl.username || locationUrl.password) && !sameOrigin(requestUrl, locationUrl)) { + return Promise.reject( + createNetworkError('cross origin not allowed for request mode "cors"') + ); + } + const requestInit = {}; + if ([301, 302].includes(response.status) && request.method === "POST" || response.status === 303 && !["HEAD", "GET"].includes(request.method)) { + requestInit.method = "GET"; + requestInit.body = null; + REQUEST_BODY_HEADERS.forEach((headerName) => { + request.headers.delete(headerName); + }); + } + if (!sameOrigin(requestUrl, locationUrl)) { + request.headers.delete("authorization"); + request.headers.delete("proxy-authorization"); + request.headers.delete("cookie"); + request.headers.delete("host"); + } + requestInit.headers = request.headers; + return fetch(new Request(locationUrl, requestInit)); +} +function sameOrigin(left, right) { + if (left.origin === right.origin && left.origin === "null") { + return true; + } + if (left.protocol === right.protocol && left.hostname === right.hostname && left.port === right.port) { + return true; + } + return false; +} + +// src/interceptors/fetch/utils/brotli-decompress.ts +var _zlib = require('zlib'); var _zlib2 = _interopRequireDefault(_zlib); +var BrotliDecompressionStream = class extends TransformStream { + constructor() { + const decompress = _zlib2.default.createBrotliDecompress({ + flush: _zlib2.default.constants.BROTLI_OPERATION_FLUSH, + finishFlush: _zlib2.default.constants.BROTLI_OPERATION_FLUSH + }); + super({ + async transform(chunk, controller) { + const buffer = Buffer.from(chunk); + const decompressed = await new Promise((resolve, reject) => { + decompress.write(buffer, (error) => { + if (error) + reject(error); + }); + decompress.flush(); + decompress.once("data", (data) => resolve(data)); + decompress.once("error", (error) => reject(error)); + decompress.once("end", () => controller.terminate()); + }).catch((error) => { + controller.error(error); + }); + controller.enqueue(decompressed); + } + }); + } +}; + +// src/interceptors/fetch/utils/decompression.ts +var PipelineStream = class extends TransformStream { + constructor(transformStreams, ...strategies) { + super({}, ...strategies); + const readable = [super.readable, ...transformStreams].reduce( + (readable2, transform) => readable2.pipeThrough(transform) + ); + Object.defineProperty(this, "readable", { + get() { + return readable; + } + }); + } +}; +function parseContentEncoding(contentEncoding) { + return contentEncoding.toLowerCase().split(",").map((coding) => coding.trim()); +} +function createDecompressionStream(contentEncoding) { + if (contentEncoding === "") { + return null; + } + const codings = parseContentEncoding(contentEncoding); + if (codings.length === 0) { + return null; + } + const transformers = codings.reduceRight( + (transformers2, coding) => { + if (coding === "gzip" || coding === "x-gzip") { + return transformers2.concat(new DecompressionStream("gzip")); + } else if (coding === "deflate") { + return transformers2.concat(new DecompressionStream("deflate")); + } else if (coding === "br") { + return transformers2.concat(new BrotliDecompressionStream()); + } else { + transformers2.length = 0; + } + return transformers2; + }, + [] + ); + return new PipelineStream(transformers); +} +function decompressResponse(response) { + if (response.body === null) { + return null; + } + const decompressionStream = createDecompressionStream( + response.headers.get("content-encoding") || "" + ); + if (!decompressionStream) { + return null; + } + response.body.pipeTo(decompressionStream.writable); + return decompressionStream.readable; +} + +// src/interceptors/fetch/index.ts +var _FetchInterceptor = class extends _chunkWZTE4PCOjs.Interceptor { + constructor() { + super(_FetchInterceptor.symbol); + } + checkEnvironment() { + return _chunkPFGO5BSMjs.hasConfigurableGlobal.call(void 0, "fetch"); + } + async setup() { + const pureFetch = globalThis.fetch; + _outvariant.invariant.call(void 0, + !pureFetch[_chunk73NOP3T5js.IS_PATCHED_MODULE], + 'Failed to patch the "fetch" module: already patched.' + ); + globalThis.fetch = async (input, init) => { + const requestId = _chunkWZTE4PCOjs.createRequestId.call(void 0, ); + const resolvedInput = typeof input === "string" && typeof location !== "undefined" && !canParseUrl(input) ? new URL(input, location.origin) : input; + const request = new Request(resolvedInput, init); + const responsePromise = new (0, _deferredpromise.DeferredPromise)(); + const controller = new (0, _chunk6L3PFBGTjs.RequestController)(request); + this.logger.info("[%s] %s", request.method, request.url); + this.logger.info("awaiting for the mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + this.emitter.listenerCount("request") + ); + const isRequestHandled = await _chunk6L3PFBGTjs.handleRequest.call(void 0, { + request, + requestId, + emitter: this.emitter, + controller, + onResponse: async (rawResponse) => { + this.logger.info("received mocked response!", { + rawResponse + }); + const decompressedStream = decompressResponse(rawResponse); + const response = decompressedStream === null ? rawResponse : new (0, _chunkWZTE4PCOjs.FetchResponse)(decompressedStream, rawResponse); + _chunkWZTE4PCOjs.FetchResponse.setUrl(request.url, response); + if (_chunkWZTE4PCOjs.FetchResponse.isRedirectResponse(response.status)) { + if (request.redirect === "error") { + responsePromise.reject(createNetworkError("unexpected redirect")); + return; + } + if (request.redirect === "follow") { + followFetchRedirect(request, response).then( + (response2) => { + responsePromise.resolve(response2); + }, + (reason) => { + responsePromise.reject(reason); + } + ); + return; + } + } + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + await _chunk6L3PFBGTjs.emitAsync.call(void 0, this.emitter, "response", { + // Clone the mocked response for the "response" event listener. + // This way, the listener can read the response and not lock its body + // for the actual fetch consumer. + response: response.clone(), + isMockedResponse: true, + request, + requestId + }); + } + responsePromise.resolve(response); + }, + onRequestError: (response) => { + this.logger.info("request has errored!", { response }); + responsePromise.reject(createNetworkError(response)); + }, + onError: (error) => { + this.logger.info("request has been aborted!", { error }); + responsePromise.reject(error); + } + }); + if (isRequestHandled) { + this.logger.info("request has been handled, returning mock promise..."); + return responsePromise; + } + this.logger.info( + "no mocked response received, performing request as-is..." + ); + return pureFetch(request).then(async (response) => { + this.logger.info("original fetch performed", response); + if (this.emitter.listenerCount("response") > 0) { + this.logger.info('emitting the "response" event...'); + const responseClone = response.clone(); + await _chunk6L3PFBGTjs.emitAsync.call(void 0, this.emitter, "response", { + response: responseClone, + isMockedResponse: false, + request, + requestId + }); + } + return response; + }); + }; + Object.defineProperty(globalThis.fetch, _chunk73NOP3T5js.IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.fetch, _chunk73NOP3T5js.IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.fetch = pureFetch; + this.logger.info( + 'restored native "globalThis.fetch"!', + globalThis.fetch.name + ); + }); + } +}; +var FetchInterceptor = _FetchInterceptor; +FetchInterceptor.symbol = Symbol("fetch"); + + + +exports.FetchInterceptor = FetchInterceptor; +//# sourceMappingURL=chunk-LEA3MUU3.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js.map new file mode 100644 index 0000000000..1864a527fa --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-LEA3MUU3.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/fetch/index.ts","../../src/utils/canParseUrl.ts","../../src/interceptors/fetch/utils/createNetworkError.ts","../../src/interceptors/fetch/utils/followRedirect.ts","../../src/interceptors/fetch/utils/brotli-decompress.ts","../../src/interceptors/fetch/utils/decompression.ts"],"names":["readable","transformers","response"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;;;ACIzB,SAAS,YAAY,KAAsB;AAChD,MAAI;AACF,QAAI,IAAI,GAAG;AACX,WAAO;AAAA,EACT,SAAS,QAAP;AACA,WAAO;AAAA,EACT;AACF;;;ACZO,SAAS,mBAAmB,OAAiB;AAClD,SAAO,OAAO,OAAO,IAAI,UAAU,iBAAiB,GAAG;AAAA,IACrD;AAAA,EACF,CAAC;AACH;;;ACFA,IAAM,uBAAuB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,IAAM,iBAAiB,OAAO,gBAAgB;AAK9C,eAAsB,oBACpB,SACA,UACmB;AACnB,MAAI,SAAS,WAAW,OAAO,QAAQ,QAAQ,MAAM;AACnD,WAAO,QAAQ,OAAO,mBAAmB,CAAC;AAAA,EAC5C;AAEA,QAAM,aAAa,IAAI,IAAI,QAAQ,GAAG;AAEtC,MAAI;AACJ,MAAI;AAEF,kBAAc,IAAI,IAAI,SAAS,QAAQ,IAAI,UAAU,GAAI,QAAQ,GAAG;AAAA,EACtE,SAAS,OAAP;AACA,WAAO,QAAQ,OAAO,mBAAmB,KAAK,CAAC;AAAA,EACjD;AAEA,MACE,EAAE,YAAY,aAAa,WAAW,YAAY,aAA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AA,EACH;AACF;AA1KO,IAAM,mBAAN;AAAM,iBACJ,SAAS,OAAO,OAAO","sourcesContent":["import { invariant } from 'outvariant'\nimport { DeferredPromise } from '@open-draft/deferred-promise'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { RequestController } from '../../RequestController'\nimport { emitAsync } from '../../utils/emitAsync'\nimport { handleRequest } from '../../utils/handleRequest'\nimport { canParseUrl } from '../../utils/canParseUrl'\nimport { createRequestId } from '../../createRequestId'\nimport { createNetworkError } from './utils/createNetworkError'\nimport { followFetchRedirect } from './utils/followRedirect'\nimport { decompressResponse } from './utils/decompression'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\nimport { FetchResponse } from '../../utils/fetchUtils'\n\nexport class FetchInterceptor extends Interceptor {\n static symbol = Symbol('fetch')\n\n constructor() {\n super(FetchInterceptor.symbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('fetch')\n }\n\n protected async setup() {\n const pureFetch = globalThis.fetch\n\n invariant(\n !(pureFetch as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"fetch\" module: already patched.'\n )\n\n globalThis.fetch = async (input, init) => {\n const requestId = createRequestId()\n\n /**\n * @note Resolve potentially relative request URL\n * against the present `location`. This is mainly\n * for native `fetch` in JSDOM.\n * @see https://github.com/mswjs/msw/issues/1625\n */\n const resolvedInput =\n typeof input === 'string' &&\n typeof location !== 'undefined' &&\n !canParseUrl(input)\n ? new URL(input, location.origin)\n : input\n\n const request = new Request(resolvedInput, init)\n const responsePromise = new DeferredPromise()\n const controller = new RequestController(request)\n\n this.logger.info('[%s] %s', request.method, request.url)\n this.logger.info('awaiting for the mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n this.emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n emitter: this.emitter,\n controller,\n onResponse: async (rawResponse) => {\n this.logger.info('received mocked response!', {\n rawResponse,\n })\n\n // Decompress the mocked response body, if applicable.\n const decompressedStream = decompressResponse(rawResponse)\n const response =\n decompressedStream === null\n ? rawResponse\n : new FetchResponse(decompressedStream, rawResponse)\n\n FetchResponse.setUrl(request.url, response)\n\n /**\n * Undici's handling of following redirect responses.\n * Treat the \"manual\" redirect mode as a regular mocked response.\n * This way, the client can manually follow the redirect it receives.\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1173\n */\n if (FetchResponse.isRedirectResponse(response.status)) {\n // Reject the request promise if its `redirect` is set to `error`\n // and it receives a mocked redirect response.\n if (request.redirect === 'error') {\n responsePromise.reject(createNetworkError('unexpected redirect'))\n return\n }\n\n if (request.redirect === 'follow') {\n followFetchRedirect(request, response).then(\n (response) => {\n responsePromise.resolve(response)\n },\n (reason) => {\n responsePromise.reject(reason)\n }\n )\n return\n }\n }\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n // Await the response listeners to finish before resolving\n // the response promise. This ensures all your logic finishes\n // before the interceptor resolves the pending response.\n await emitAsync(this.emitter, 'response', {\n // Clone the mocked response for the \"response\" event listener.\n // This way, the listener can read the response and not lock its body\n // for the actual fetch consumer.\n response: response.clone(),\n isMockedResponse: true,\n request,\n requestId,\n })\n }\n\n responsePromise.resolve(response)\n },\n onRequestError: (response) => {\n this.logger.info('request has errored!', { response })\n responsePromise.reject(createNetworkError(response))\n },\n onError: (error) => {\n this.logger.info('request has been aborted!', { error })\n responsePromise.reject(error)\n },\n })\n\n if (isRequestHandled) {\n this.logger.info('request has been handled, returning mock promise...')\n return responsePromise\n }\n\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n\n return pureFetch(request).then(async (response) => {\n this.logger.info('original fetch performed', response)\n\n if (this.emitter.listenerCount('response') > 0) {\n this.logger.info('emitting the \"response\" event...')\n\n const responseClone = response.clone()\n\n await emitAsync(this.emitter, 'response', {\n response: responseClone,\n isMockedResponse: false,\n request,\n requestId,\n })\n }\n\n return response\n })\n }\n\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.fetch = pureFetch\n\n this.logger.info(\n 'restored native \"globalThis.fetch\"!',\n globalThis.fetch.name\n )\n })\n }\n}\n","/**\n * Returns a boolean indicating whether the given URL string\n * can be parsed into a `URL` instance.\n * A substitute for `URL.canParse()` for Node.js 18.\n */\nexport function canParseUrl(url: string): boolean {\n try {\n new URL(url)\n return true\n } catch (_error) {\n return false\n }\n}\n","export function createNetworkError(cause?: unknown) {\n return Object.assign(new TypeError('Failed to fetch'), {\n cause,\n })\n}\n","import { createNetworkError } from './createNetworkError'\n\nconst REQUEST_BODY_HEADERS = [\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n 'content-length',\n]\n\nconst kRedirectCount = Symbol('kRedirectCount')\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1210\n */\nexport async function followFetchRedirect(\n request: Request,\n response: Response\n): Promise {\n if (response.status !== 303 && request.body != null) {\n return Promise.reject(createNetworkError())\n }\n\n const requestUrl = new URL(request.url)\n\n let locationUrl: URL\n try {\n // If the location is a relative URL, use the request URL as the base URL.\n locationUrl = new URL(response.headers.get('location')!, request.url) \n } catch (error) {\n return Promise.reject(createNetworkError(error))\n }\n\n if (\n !(locationUrl.protocol === 'http:' || locationUrl.protocol === 'https:')\n ) {\n return Promise.reject(\n createNetworkError('URL scheme must be a HTTP(S) scheme')\n )\n }\n\n if (Reflect.get(request, kRedirectCount) > 20) {\n return Promise.reject(createNetworkError('redirect count exceeded'))\n }\n\n Object.defineProperty(request, kRedirectCount, {\n value: (Reflect.get(request, kRedirectCount) || 0) + 1,\n })\n\n if (\n request.mode === 'cors' &&\n (locationUrl.username || locationUrl.password) &&\n !sameOrigin(requestUrl, locationUrl)\n ) {\n return Promise.reject(\n createNetworkError('cross origin not allowed for request mode \"cors\"')\n )\n }\n\n const requestInit: RequestInit = {}\n\n if (\n ([301, 302].includes(response.status) && request.method === 'POST') ||\n (response.status === 303 && !['HEAD', 'GET'].includes(request.method))\n ) {\n requestInit.method = 'GET'\n requestInit.body = null\n\n REQUEST_BODY_HEADERS.forEach((headerName) => {\n request.headers.delete(headerName)\n })\n }\n\n if (!sameOrigin(requestUrl, locationUrl)) {\n request.headers.delete('authorization')\n request.headers.delete('proxy-authorization')\n request.headers.delete('cookie')\n request.headers.delete('host')\n }\n\n /**\n * @note Undici \"safely\" extracts the request body.\n * I suspect we cannot dispatch this request again\n * since its body has been read and the stream is locked.\n */\n\n requestInit.headers = request.headers\n return fetch(new Request(locationUrl, requestInit))\n}\n\n/**\n * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/util.js#L761\n */\nfunction sameOrigin(left: URL, right: URL): boolean {\n if (left.origin === right.origin && left.origin === 'null') {\n return true\n }\n\n if (\n left.protocol === right.protocol &&\n left.hostname === right.hostname &&\n left.port === right.port\n ) {\n return true\n }\n\n return false\n}\n","import zlib from 'node:zlib'\n\nexport class BrotliDecompressionStream extends TransformStream {\n constructor() {\n const decompress = zlib.createBrotliDecompress({\n flush: zlib.constants.BROTLI_OPERATION_FLUSH,\n finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH,\n })\n\n super({\n async transform(chunk, controller) {\n const buffer = Buffer.from(chunk)\n\n const decompressed = await new Promise((resolve, reject) => {\n decompress.write(buffer, (error) => {\n if (error) reject(error)\n })\n\n decompress.flush()\n decompress.once('data', (data) => resolve(data))\n decompress.once('error', (error) => reject(error))\n decompress.once('end', () => controller.terminate())\n }).catch((error) => {\n controller.error(error)\n })\n\n controller.enqueue(decompressed)\n },\n })\n }\n}\n","// Import from an internal alias that resolves to different modules\n// depending on the environment. This way, we can keep the fetch interceptor\n// intact while using different strategies for Brotli decompression.\nimport { BrotliDecompressionStream } from 'internal:brotli-decompress'\n\nclass PipelineStream extends TransformStream {\n constructor(\n transformStreams: Array,\n ...strategies: Array\n ) {\n super({}, ...strategies)\n\n const readable = [super.readable as any, ...transformStreams].reduce(\n (readable, transform) => readable.pipeThrough(transform)\n )\n\n Object.defineProperty(this, 'readable', {\n get() {\n return readable\n },\n })\n }\n}\n\nexport function parseContentEncoding(contentEncoding: string): Array {\n return contentEncoding\n .toLowerCase()\n .split(',')\n .map((coding) => coding.trim())\n}\n\nfunction createDecompressionStream(\n contentEncoding: string\n): TransformStream | null {\n if (contentEncoding === '') {\n return null\n }\n\n const codings = parseContentEncoding(contentEncoding)\n\n if (codings.length === 0) {\n return null\n }\n\n const transformers = codings.reduceRight>(\n (transformers, coding) => {\n if (coding === 'gzip' || coding === 'x-gzip') {\n return transformers.concat(new DecompressionStream('gzip'))\n } else if (coding === 'deflate') {\n return transformers.concat(new DecompressionStream('deflate'))\n } else if (coding === 'br') {\n return transformers.concat(new BrotliDecompressionStream())\n } else {\n transformers.length = 0\n }\n\n return transformers\n },\n []\n )\n\n return new PipelineStream(transformers)\n}\n\nexport function decompressResponse(\n response: Response\n): ReadableStream | null {\n if (response.body === null) {\n return null\n }\n\n const decompressionStream = createDecompressionStream(\n response.headers.get('content-encoding') || ''\n )\n\n if (!decompressionStream) {\n return null\n }\n\n // Use `pipeTo` and return the decompression stream's readable\n // instead of `pipeThrough` because that will lock the original\n // response stream, making it unusable as the input to Response.\n response.body.pipeTo(decompressionStream.writable)\n return decompressionStream.readable\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js b/node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js new file mode 100644 index 0000000000..f41d9eae57 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js @@ -0,0 +1,22 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/bufferUtils.ts +var encoder = new TextEncoder(); +function encodeBuffer(text) { + return encoder.encode(text); +} +function decodeBuffer(buffer, encoding) { + const decoder = new TextDecoder(encoding); + return decoder.decode(buffer); +} +function toArrayBuffer(array) { + return array.buffer.slice( + array.byteOffset, + array.byteOffset + array.byteLength + ); +} + + + + + +exports.encodeBuffer = encodeBuffer; exports.decodeBuffer = decodeBuffer; exports.toArrayBuffer = toArrayBuffer; +//# sourceMappingURL=chunk-LK6DILFK.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js.map new file mode 100644 index 0000000000..691683680b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-LK6DILFK.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/bufferUtils.ts"],"names":[],"mappings":";AAAA,IAAM,UAAU,IAAI,YAAY;AAEzB,SAAS,aAAa,MAA0B;AACrD,SAAO,QAAQ,OAAO,IAAI;AAC5B;AAEO,SAAS,aAAa,QAAqB,UAA2B;AAC3E,QAAM,UAAU,IAAI,YAAY,QAAQ;AACxC,SAAO,QAAQ,OAAO,MAAM;AAC9B;AAOO,SAAS,cAAc,OAAgC;AAC5D,SAAO,MAAM,OAAO;AAAA,IAClB,MAAM;AAAA,IACN,MAAM,aAAa,MAAM;AAAA,EAC3B;AACF","sourcesContent":["const encoder = new TextEncoder()\n\nexport function encodeBuffer(text: string): Uint8Array {\n return encoder.encode(text)\n}\n\nexport function decodeBuffer(buffer: ArrayBuffer, encoding?: string): string {\n const decoder = new TextDecoder(encoding)\n return decoder.decode(buffer)\n}\n\n/**\n * Create an `ArrayBuffer` from the given `Uint8Array`.\n * Takes the byte offset into account to produce the right buffer\n * in the case when the buffer is bigger than the data view.\n */\nexport function toArrayBuffer(array: Uint8Array): ArrayBuffer {\n return array.buffer.slice(\n array.byteOffset,\n array.byteOffset + array.byteLength\n )\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs new file mode 100644 index 0000000000..aea1e2aab8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs @@ -0,0 +1,844 @@ +import { + decodeBuffer, + encodeBuffer, + toArrayBuffer +} from "./chunk-6HYIRFX2.mjs"; +import { + hasConfigurableGlobal +} from "./chunk-TX5GBTFY.mjs"; +import { + IS_PATCHED_MODULE +} from "./chunk-6YM4PLBI.mjs"; +import { + RequestController, + handleRequest +} from "./chunk-5KMS5CTP.mjs"; +import { + FetchResponse, + INTERNAL_REQUEST_ID_HEADER_NAME, + Interceptor, + createRequestId +} from "./chunk-I7HQIBT7.mjs"; + +// src/interceptors/XMLHttpRequest/index.ts +import { invariant as invariant2 } from "outvariant"; + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts +import { invariant } from "outvariant"; +import { isNodeProcess } from "is-node-process"; + +// src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts +function concatArrayBuffer(left, right) { + const result = new Uint8Array(left.byteLength + right.byteLength); + result.set(left, 0); + result.set(right, left.byteLength); + return result; +} + +// src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts +var EventPolyfill = class { + constructor(type, options) { + this.NONE = 0; + this.CAPTURING_PHASE = 1; + this.AT_TARGET = 2; + this.BUBBLING_PHASE = 3; + this.type = ""; + this.srcElement = null; + this.currentTarget = null; + this.eventPhase = 0; + this.isTrusted = true; + this.composed = false; + this.cancelable = true; + this.defaultPrevented = false; + this.bubbles = true; + this.lengthComputable = true; + this.loaded = 0; + this.total = 0; + this.cancelBubble = false; + this.returnValue = true; + this.type = type; + this.target = (options == null ? void 0 : options.target) || null; + this.currentTarget = (options == null ? void 0 : options.currentTarget) || null; + this.timeStamp = Date.now(); + } + composedPath() { + return []; + } + initEvent(type, bubbles, cancelable) { + this.type = type; + this.bubbles = !!bubbles; + this.cancelable = !!cancelable; + } + preventDefault() { + this.defaultPrevented = true; + } + stopPropagation() { + } + stopImmediatePropagation() { + } +}; + +// src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts +var ProgressEventPolyfill = class extends EventPolyfill { + constructor(type, init) { + super(type); + this.lengthComputable = (init == null ? void 0 : init.lengthComputable) || false; + this.composed = (init == null ? void 0 : init.composed) || false; + this.loaded = (init == null ? void 0 : init.loaded) || 0; + this.total = (init == null ? void 0 : init.total) || 0; + } +}; + +// src/interceptors/XMLHttpRequest/utils/createEvent.ts +var SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== "undefined"; +function createEvent(target, type, init) { + const progressEvents = [ + "error", + "progress", + "loadstart", + "loadend", + "load", + "timeout", + "abort" + ]; + const ProgressEventClass = SUPPORTS_PROGRESS_EVENT ? ProgressEvent : ProgressEventPolyfill; + const event = progressEvents.includes(type) ? new ProgressEventClass(type, { + lengthComputable: true, + loaded: (init == null ? void 0 : init.loaded) || 0, + total: (init == null ? void 0 : init.total) || 0 + }) : new EventPolyfill(type, { + target, + currentTarget: target + }); + return event; +} + +// src/utils/findPropertySource.ts +function findPropertySource(target, propertyName) { + if (!(propertyName in target)) { + return null; + } + const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName); + if (hasProperty) { + return target; + } + const prototype = Reflect.getPrototypeOf(target); + return prototype ? findPropertySource(prototype, propertyName) : null; +} + +// src/utils/createProxy.ts +function createProxy(target, options) { + const proxy = new Proxy(target, optionsToProxyHandler(options)); + return proxy; +} +function optionsToProxyHandler(options) { + const { constructorCall, methodCall, getProperty, setProperty } = options; + const handler = {}; + if (typeof constructorCall !== "undefined") { + handler.construct = function(target, args, newTarget) { + const next = Reflect.construct.bind(null, target, args, newTarget); + return constructorCall.call(newTarget, args, next); + }; + } + handler.set = function(target, propertyName, nextValue) { + const next = () => { + const propertySource = findPropertySource(target, propertyName) || target; + const ownDescriptors = Reflect.getOwnPropertyDescriptor( + propertySource, + propertyName + ); + if (typeof (ownDescriptors == null ? void 0 : ownDescriptors.set) !== "undefined") { + ownDescriptors.set.apply(target, [nextValue]); + return true; + } + return Reflect.defineProperty(propertySource, propertyName, { + writable: true, + enumerable: true, + configurable: true, + value: nextValue + }); + }; + if (typeof setProperty !== "undefined") { + return setProperty.call(target, [propertyName, nextValue], next); + } + return next(); + }; + handler.get = function(target, propertyName, receiver) { + const next = () => target[propertyName]; + const value = typeof getProperty !== "undefined" ? getProperty.call(target, [propertyName, receiver], next) : next(); + if (typeof value === "function") { + return (...args) => { + const next2 = value.bind(target, ...args); + if (typeof methodCall !== "undefined") { + return methodCall.call(target, [propertyName, args], next2); + } + return next2(); + }; + } + return value; + }; + return handler; +} + +// src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts +function isDomParserSupportedType(type) { + const supportedTypes = [ + "application/xhtml+xml", + "application/xml", + "image/svg+xml", + "text/html", + "text/xml" + ]; + return supportedTypes.some((supportedType) => { + return type.startsWith(supportedType); + }); +} + +// src/utils/parseJson.ts +function parseJson(data) { + try { + const json = JSON.parse(data); + return json; + } catch (_) { + return null; + } +} + +// src/interceptors/XMLHttpRequest/utils/createResponse.ts +function createResponse(request, body) { + const responseBodyOrNull = FetchResponse.isResponseWithBody(request.status) ? body : null; + return new FetchResponse(responseBodyOrNull, { + url: request.responseURL, + status: request.status, + statusText: request.statusText, + headers: createHeadersFromXMLHttpReqestHeaders( + request.getAllResponseHeaders() + ) + }); +} +function createHeadersFromXMLHttpReqestHeaders(headersString) { + const headers = new Headers(); + const lines = headersString.split(/[\r\n]+/); + for (const line of lines) { + if (line.trim() === "") { + continue; + } + const [name, ...parts] = line.split(": "); + const value = parts.join(": "); + headers.append(name, value); + } + return headers; +} + +// src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts +async function getBodyByteLength(input) { + const explicitContentLength = input.headers.get("content-length"); + if (explicitContentLength != null && explicitContentLength !== "") { + return Number(explicitContentLength); + } + const buffer = await input.arrayBuffer(); + return buffer.byteLength; +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts +var kIsRequestHandled = Symbol("kIsRequestHandled"); +var IS_NODE = isNodeProcess(); +var kFetchRequest = Symbol("kFetchRequest"); +var XMLHttpRequestController = class { + constructor(initialRequest, logger) { + this.initialRequest = initialRequest; + this.logger = logger; + this.method = "GET"; + this.url = null; + this[kIsRequestHandled] = false; + this.events = /* @__PURE__ */ new Map(); + this.uploadEvents = /* @__PURE__ */ new Map(); + this.requestId = createRequestId(); + this.requestHeaders = new Headers(); + this.responseBuffer = new Uint8Array(); + this.request = createProxy(initialRequest, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "ontimeout": { + const eventName = propertyName.slice( + 2 + ); + this.request.addEventListener(eventName, nextValue); + return invoke(); + } + default: { + return invoke(); + } + } + }, + methodCall: ([methodName, args], invoke) => { + var _a; + switch (methodName) { + case "open": { + const [method, url] = args; + if (typeof url === "undefined") { + this.method = "GET"; + this.url = toAbsoluteUrl(method); + } else { + this.method = method; + this.url = toAbsoluteUrl(url); + } + this.logger = this.logger.extend(`${this.method} ${this.url.href}`); + this.logger.info("open", this.method, this.url.href); + return invoke(); + } + case "addEventListener": { + const [eventName, listener] = args; + this.registerEvent(eventName, listener); + this.logger.info("addEventListener", eventName, listener); + return invoke(); + } + case "setRequestHeader": { + const [name, value] = args; + this.requestHeaders.set(name, value); + this.logger.info("setRequestHeader", name, value); + return invoke(); + } + case "send": { + const [body] = args; + this.request.addEventListener("load", () => { + if (typeof this.onResponse !== "undefined") { + const fetchResponse = createResponse( + this.request, + /** + * The `response` property is the right way to read + * the ambiguous response body, as the request's "responseType" may differ. + * @see https://xhr.spec.whatwg.org/#the-response-attribute + */ + this.request.response + ); + this.onResponse.call(this, { + response: fetchResponse, + isMockedResponse: this[kIsRequestHandled], + request: fetchRequest, + requestId: this.requestId + }); + } + }); + const requestBody = typeof body === "string" ? encodeBuffer(body) : body; + const fetchRequest = this.toFetchApiRequest(requestBody); + this[kFetchRequest] = fetchRequest.clone(); + const onceRequestSettled = ((_a = this.onRequest) == null ? void 0 : _a.call(this, { + request: fetchRequest, + requestId: this.requestId + })) || Promise.resolve(); + onceRequestSettled.finally(() => { + if (!this[kIsRequestHandled]) { + this.logger.info( + "request callback settled but request has not been handled (readystate %d), performing as-is...", + this.request.readyState + ); + if (IS_NODE) { + this.request.setRequestHeader( + INTERNAL_REQUEST_ID_HEADER_NAME, + this.requestId + ); + } + return invoke(); + } + }); + break; + } + default: { + return invoke(); + } + } + } + }); + define( + this.request, + "upload", + createProxy(this.request.upload, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case "onloadstart": + case "onprogress": + case "onaboart": + case "onerror": + case "onload": + case "ontimeout": + case "onloadend": { + const eventName = propertyName.slice( + 2 + ); + this.registerUploadEvent(eventName, nextValue); + } + } + return invoke(); + }, + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "addEventListener": { + const [eventName, listener] = args; + this.registerUploadEvent(eventName, listener); + this.logger.info("upload.addEventListener", eventName, listener); + return invoke(); + } + } + } + }) + ); + } + registerEvent(eventName, listener) { + const prevEvents = this.events.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.events.set(eventName, nextEvents); + this.logger.info('registered event "%s"', eventName, listener); + } + registerUploadEvent(eventName, listener) { + const prevEvents = this.uploadEvents.get(eventName) || []; + const nextEvents = prevEvents.concat(listener); + this.uploadEvents.set(eventName, nextEvents); + this.logger.info('registered upload event "%s"', eventName, listener); + } + /** + * Responds to the current request with the given + * Fetch API `Response` instance. + */ + async respondWith(response) { + this[kIsRequestHandled] = true; + if (this[kFetchRequest]) { + const totalRequestBodyLength = await getBodyByteLength( + this[kFetchRequest] + ); + this.trigger("loadstart", this.request.upload, { + loaded: 0, + total: totalRequestBodyLength + }); + this.trigger("progress", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("load", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + this.trigger("loadend", this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength + }); + } + this.logger.info( + "responding with a mocked response: %d %s", + response.status, + response.statusText + ); + define(this.request, "status", response.status); + define(this.request, "statusText", response.statusText); + define(this.request, "responseURL", this.url.href); + this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, { + apply: (_, __, args) => { + this.logger.info("getResponseHeader", args[0]); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning null"); + return null; + } + const headerValue = response.headers.get(args[0]); + this.logger.info( + 'resolved response header "%s" to', + args[0], + headerValue + ); + return headerValue; + } + }); + this.request.getAllResponseHeaders = new Proxy( + this.request.getAllResponseHeaders, + { + apply: () => { + this.logger.info("getAllResponseHeaders"); + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info("headers not received yet, returning empty string"); + return ""; + } + const headersList = Array.from(response.headers.entries()); + const allHeaders = headersList.map(([headerName, headerValue]) => { + return `${headerName}: ${headerValue}`; + }).join("\r\n"); + this.logger.info("resolved all response headers to", allHeaders); + return allHeaders; + } + } + ); + Object.defineProperties(this.request, { + response: { + enumerable: true, + configurable: false, + get: () => this.response + }, + responseText: { + enumerable: true, + configurable: false, + get: () => this.responseText + }, + responseXML: { + enumerable: true, + configurable: false, + get: () => this.responseXML + } + }); + const totalResponseBodyLength = await getBodyByteLength(response.clone()); + this.logger.info("calculated response body length", totalResponseBodyLength); + this.trigger("loadstart", this.request, { + loaded: 0, + total: totalResponseBodyLength + }); + this.setReadyState(this.request.HEADERS_RECEIVED); + this.setReadyState(this.request.LOADING); + const finalizeResponse = () => { + this.logger.info("finalizing the mocked response..."); + this.setReadyState(this.request.DONE); + this.trigger("load", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + this.trigger("loadend", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + }; + if (response.body) { + this.logger.info("mocked response has body, streaming..."); + const reader = response.body.getReader(); + const readNextResponseBodyChunk = async () => { + const { value, done } = await reader.read(); + if (done) { + this.logger.info("response body stream done!"); + finalizeResponse(); + return; + } + if (value) { + this.logger.info("read response body chunk:", value); + this.responseBuffer = concatArrayBuffer(this.responseBuffer, value); + this.trigger("progress", this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength + }); + } + readNextResponseBodyChunk(); + }; + readNextResponseBodyChunk(); + } else { + finalizeResponse(); + } + } + responseBufferToText() { + return decodeBuffer(this.responseBuffer); + } + get response() { + this.logger.info( + "getResponse (responseType: %s)", + this.request.responseType + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + switch (this.request.responseType) { + case "json": { + const responseJson = parseJson(this.responseBufferToText()); + this.logger.info("resolved response JSON", responseJson); + return responseJson; + } + case "arraybuffer": { + const arrayBuffer = toArrayBuffer(this.responseBuffer); + this.logger.info("resolved response ArrayBuffer", arrayBuffer); + return arrayBuffer; + } + case "blob": { + const mimeType = this.request.getResponseHeader("Content-Type") || "text/plain"; + const responseBlob = new Blob([this.responseBufferToText()], { + type: mimeType + }); + this.logger.info( + "resolved response Blob (mime type: %s)", + responseBlob, + mimeType + ); + return responseBlob; + } + default: { + const responseText = this.responseBufferToText(); + this.logger.info( + 'resolving "%s" response type as text', + this.request.responseType, + responseText + ); + return responseText; + } + } + } + get responseText() { + invariant( + this.request.responseType === "" || this.request.responseType === "text", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.LOADING && this.request.readyState !== this.request.DONE) { + return ""; + } + const responseText = this.responseBufferToText(); + this.logger.info('getResponseText: "%s"', responseText); + return responseText; + } + get responseXML() { + invariant( + this.request.responseType === "" || this.request.responseType === "document", + "InvalidStateError: The object is in invalid state." + ); + if (this.request.readyState !== this.request.DONE) { + return null; + } + const contentType = this.request.getResponseHeader("Content-Type") || ""; + if (typeof DOMParser === "undefined") { + console.warn( + "Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly." + ); + return null; + } + if (isDomParserSupportedType(contentType)) { + return new DOMParser().parseFromString( + this.responseBufferToText(), + contentType + ); + } + return null; + } + errorWith(error) { + this[kIsRequestHandled] = true; + this.logger.info("responding with an error"); + this.setReadyState(this.request.DONE); + this.trigger("error", this.request); + this.trigger("loadend", this.request); + } + /** + * Transitions this request's `readyState` to the given one. + */ + setReadyState(nextReadyState) { + this.logger.info( + "setReadyState: %d -> %d", + this.request.readyState, + nextReadyState + ); + if (this.request.readyState === nextReadyState) { + this.logger.info("ready state identical, skipping transition..."); + return; + } + define(this.request, "readyState", nextReadyState); + this.logger.info("set readyState to: %d", nextReadyState); + if (nextReadyState !== this.request.UNSENT) { + this.logger.info('triggerring "readystatechange" event...'); + this.trigger("readystatechange", this.request); + } + } + /** + * Triggers given event on the `XMLHttpRequest` instance. + */ + trigger(eventName, target, options) { + const callback = target[`on${eventName}`]; + const event = createEvent(target, eventName, options); + this.logger.info('trigger "%s"', eventName, options || ""); + if (typeof callback === "function") { + this.logger.info('found a direct "%s" callback, calling...', eventName); + callback.call(target, event); + } + const events = target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events; + for (const [registeredEventName, listeners] of events) { + if (registeredEventName === eventName) { + this.logger.info( + 'found %d listener(s) for "%s" event, calling...', + listeners.length, + eventName + ); + listeners.forEach((listener) => listener.call(target, event)); + } + } + } + /** + * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance. + */ + toFetchApiRequest(body) { + this.logger.info("converting request to a Fetch API Request..."); + const resolvedBody = body instanceof Document ? body.documentElement.innerText : body; + const fetchRequest = new Request(this.url.href, { + method: this.method, + headers: this.requestHeaders, + /** + * @see https://xhr.spec.whatwg.org/#cross-origin-credentials + */ + credentials: this.request.withCredentials ? "include" : "same-origin", + body: ["GET", "HEAD"].includes(this.method.toUpperCase()) ? null : resolvedBody + }); + const proxyHeaders = createProxy(fetchRequest.headers, { + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case "append": + case "set": { + const [headerName, headerValue] = args; + this.request.setRequestHeader(headerName, headerValue); + break; + } + case "delete": { + const [headerName] = args; + console.warn( + `XMLHttpRequest: Cannot remove a "${headerName}" header from the Fetch API representation of the "${fetchRequest.method} ${fetchRequest.url}" request. XMLHttpRequest headers cannot be removed.` + ); + break; + } + } + return invoke(); + } + }); + define(fetchRequest, "headers", proxyHeaders); + this.logger.info("converted request to a Fetch API Request!", fetchRequest); + return fetchRequest; + } +}; +kIsRequestHandled, kFetchRequest; +function toAbsoluteUrl(url) { + if (typeof location === "undefined") { + return new URL(url); + } + return new URL(url.toString(), location.href); +} +function define(target, property, value) { + Reflect.defineProperty(target, property, { + // Ensure writable properties to allow redefining readonly properties. + writable: true, + enumerable: true, + value + }); +} + +// src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts +function createXMLHttpRequestProxy({ + emitter, + logger +}) { + const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, { + construct(target, args, newTarget) { + logger.info("constructed new XMLHttpRequest"); + const originalRequest = Reflect.construct( + target, + args, + newTarget + ); + const prototypeDescriptors = Object.getOwnPropertyDescriptors( + target.prototype + ); + for (const propertyName in prototypeDescriptors) { + Reflect.defineProperty( + originalRequest, + propertyName, + prototypeDescriptors[propertyName] + ); + } + const xhrRequestController = new XMLHttpRequestController( + originalRequest, + logger + ); + xhrRequestController.onRequest = async function({ request, requestId }) { + const controller = new RequestController(request); + this.logger.info("awaiting mocked response..."); + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + emitter.listenerCount("request") + ); + const isRequestHandled = await handleRequest({ + request, + requestId, + controller, + emitter, + onResponse: async (response) => { + await this.respondWith(response); + }, + onRequestError: () => { + this.errorWith(new TypeError("Network error")); + }, + onError: (error) => { + this.logger.info("request errored!", { error }); + if (error instanceof Error) { + this.errorWith(error); + } + } + }); + if (!isRequestHandled) { + this.logger.info( + "no mocked response received, performing request as-is..." + ); + } + }; + xhrRequestController.onResponse = async function({ + response, + isMockedResponse, + request, + requestId + }) { + this.logger.info( + 'emitting the "response" event for %s listener(s)...', + emitter.listenerCount("response") + ); + emitter.emit("response", { + response, + isMockedResponse, + request, + requestId + }); + }; + return xhrRequestController.request; + } + }); + return XMLHttpRequestProxy; +} + +// src/interceptors/XMLHttpRequest/index.ts +var _XMLHttpRequestInterceptor = class extends Interceptor { + constructor() { + super(_XMLHttpRequestInterceptor.interceptorSymbol); + } + checkEnvironment() { + return hasConfigurableGlobal("XMLHttpRequest"); + } + setup() { + const logger = this.logger.extend("setup"); + logger.info('patching "XMLHttpRequest" module...'); + const PureXMLHttpRequest = globalThis.XMLHttpRequest; + invariant2( + !PureXMLHttpRequest[IS_PATCHED_MODULE], + 'Failed to patch the "XMLHttpRequest" module: already patched.' + ); + globalThis.XMLHttpRequest = createXMLHttpRequestProxy({ + emitter: this.emitter, + logger: this.logger + }); + logger.info( + 'native "XMLHttpRequest" module patched!', + globalThis.XMLHttpRequest.name + ); + Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true + }); + this.subscriptions.push(() => { + Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, { + value: void 0 + }); + globalThis.XMLHttpRequest = PureXMLHttpRequest; + logger.info( + 'native "XMLHttpRequest" module restored!', + globalThis.XMLHttpRequest.name + ); + }); + } +}; +var XMLHttpRequestInterceptor = _XMLHttpRequestInterceptor; +XMLHttpRequestInterceptor.interceptorSymbol = Symbol("xhr"); + +export { + XMLHttpRequestInterceptor +}; +//# sourceMappingURL=chunk-OMWE7UVM.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs.map new file mode 100644 index 0000000000..085f069c19 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-OMWE7UVM.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/XMLHttpRequest/index.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts","../../src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts","../../src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts","../../src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts","../../src/interceptors/XMLHttpRequest/utils/createEvent.ts","../../src/utils/findPropertySource.ts","../../src/utils/createProxy.ts","../../src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts","../../src/utils/parseJson.ts","../../src/interceptors/XMLHttpRequest/utils/createResponse.ts","../../src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts","../../src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts"],"sourcesContent":["import { invariant } from 'outvariant'\nimport { Emitter } from 'strict-event-emitter'\nimport { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary'\nimport { Interceptor } from '../../Interceptor'\nimport { createXMLHttpRequestProxy } from './XMLHttpRequestProxy'\nimport { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal'\n\nexport type XMLHttpRequestEmitter = Emitter\n\nexport class XMLHttpRequestInterceptor extends Interceptor {\n static interceptorSymbol = Symbol('xhr')\n\n constructor() {\n super(XMLHttpRequestInterceptor.interceptorSymbol)\n }\n\n protected checkEnvironment() {\n return hasConfigurableGlobal('XMLHttpRequest')\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('patching \"XMLHttpRequest\" module...')\n\n const PureXMLHttpRequest = globalThis.XMLHttpRequest\n\n invariant(\n !(PureXMLHttpRequest as any)[IS_PATCHED_MODULE],\n 'Failed to patch the \"XMLHttpRequest\" module: already patched.'\n )\n\n globalThis.XMLHttpRequest = createXMLHttpRequestProxy({\n emitter: this.emitter,\n logger: this.logger,\n })\n\n logger.info(\n 'native \"XMLHttpRequest\" module patched!',\n globalThis.XMLHttpRequest.name\n )\n\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n enumerable: true,\n configurable: true,\n value: true,\n })\n\n this.subscriptions.push(() => {\n Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {\n value: undefined,\n })\n\n globalThis.XMLHttpRequest = PureXMLHttpRequest\n logger.info(\n 'native \"XMLHttpRequest\" module restored!',\n globalThis.XMLHttpRequest.name\n )\n })\n }\n}\n","import { invariant } from 'outvariant'\nimport { isNodeProcess } from 'is-node-process'\nimport type { Logger } from '@open-draft/logger'\nimport { concatArrayBuffer } from './utils/concatArrayBuffer'\nimport { createEvent } from './utils/createEvent'\nimport {\n decodeBuffer,\n encodeBuffer,\n toArrayBuffer,\n} from '../../utils/bufferUtils'\nimport { createProxy } from '../../utils/createProxy'\nimport { isDomParserSupportedType } from './utils/isDomParserSupportedType'\nimport { parseJson } from '../../utils/parseJson'\nimport { createResponse } from './utils/createResponse'\nimport { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor'\nimport { createRequestId } from '../../createRequestId'\nimport { getBodyByteLength } from './utils/getBodyByteLength'\n\nconst kIsRequestHandled = Symbol('kIsRequestHandled')\nconst IS_NODE = isNodeProcess()\nconst kFetchRequest = Symbol('kFetchRequest')\n\n/**\n * An `XMLHttpRequest` instance controller that allows us\n * to handle any given request instance (e.g. responding to it).\n */\nexport class XMLHttpRequestController {\n public request: XMLHttpRequest\n public requestId: string\n public onRequest?: (\n this: XMLHttpRequestController,\n args: {\n request: Request\n requestId: string\n }\n ) => Promise\n public onResponse?: (\n this: XMLHttpRequestController,\n args: {\n response: Response\n isMockedResponse: boolean\n request: Request\n requestId: string\n }\n ) => void;\n\n [kIsRequestHandled]: boolean;\n [kFetchRequest]?: Request\n private method: string = 'GET'\n private url: URL = null as any\n private requestHeaders: Headers\n private responseBuffer: Uint8Array\n private events: Map>\n private uploadEvents: Map<\n keyof XMLHttpRequestEventTargetEventMap,\n Array\n >\n\n constructor(readonly initialRequest: XMLHttpRequest, public logger: Logger) {\n this[kIsRequestHandled] = false\n\n this.events = new Map()\n this.uploadEvents = new Map()\n this.requestId = createRequestId()\n this.requestHeaders = new Headers()\n this.responseBuffer = new Uint8Array()\n\n this.request = createProxy(initialRequest, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'ontimeout': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n /**\n * @note Proxy callbacks to event listeners because JSDOM has trouble\n * translating these properties to callbacks. It seemed to be operating\n * on events exclusively.\n */\n this.request.addEventListener(eventName, nextValue as any)\n\n return invoke()\n }\n\n default: {\n return invoke()\n }\n }\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'open': {\n const [method, url] = args as [string, string | undefined]\n\n if (typeof url === 'undefined') {\n this.method = 'GET'\n this.url = toAbsoluteUrl(method)\n } else {\n this.method = method\n this.url = toAbsoluteUrl(url)\n }\n\n this.logger = this.logger.extend(`${this.method} ${this.url.href}`)\n this.logger.info('open', this.method, this.url.href)\n\n return invoke()\n }\n\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n\n this.registerEvent(eventName, listener)\n this.logger.info('addEventListener', eventName, listener)\n\n return invoke()\n }\n\n case 'setRequestHeader': {\n const [name, value] = args as [string, string]\n this.requestHeaders.set(name, value)\n\n this.logger.info('setRequestHeader', name, value)\n\n return invoke()\n }\n\n case 'send': {\n const [body] = args as [\n body?: XMLHttpRequestBodyInit | Document | null\n ]\n\n this.request.addEventListener('load', () => {\n if (typeof this.onResponse !== 'undefined') {\n // Create a Fetch API Response representation of whichever\n // response this XMLHttpRequest received. Note those may\n // be either a mocked and the original response.\n const fetchResponse = createResponse(\n this.request,\n /**\n * The `response` property is the right way to read\n * the ambiguous response body, as the request's \"responseType\" may differ.\n * @see https://xhr.spec.whatwg.org/#the-response-attribute\n */\n this.request.response\n )\n\n // Notify the consumer about the response.\n this.onResponse.call(this, {\n response: fetchResponse,\n isMockedResponse: this[kIsRequestHandled],\n request: fetchRequest,\n requestId: this.requestId!,\n })\n }\n })\n\n const requestBody =\n typeof body === 'string' ? encodeBuffer(body) : body\n\n // Delegate request handling to the consumer.\n const fetchRequest = this.toFetchApiRequest(requestBody)\n this[kFetchRequest] = fetchRequest.clone()\n\n const onceRequestSettled =\n this.onRequest?.call(this, {\n request: fetchRequest,\n requestId: this.requestId!,\n }) || Promise.resolve()\n\n onceRequestSettled.finally(() => {\n // If the consumer didn't handle the request (called `.respondWith()`) perform it as-is.\n if (!this[kIsRequestHandled]) {\n this.logger.info(\n 'request callback settled but request has not been handled (readystate %d), performing as-is...',\n this.request.readyState\n )\n\n /**\n * @note Set the intercepted request ID on the original request in Node.js\n * so that if it triggers any other interceptors, they don't attempt\n * to process it once again.\n *\n * For instance, XMLHttpRequest is often implemented via \"http.ClientRequest\"\n * and we don't want for both XHR and ClientRequest interceptors to\n * handle the same request at the same time (e.g. emit the \"response\" event twice).\n */\n if (IS_NODE) {\n this.request.setRequestHeader(\n INTERNAL_REQUEST_ID_HEADER_NAME,\n this.requestId!\n )\n }\n\n return invoke()\n }\n })\n\n break\n }\n\n default: {\n return invoke()\n }\n }\n },\n })\n\n /**\n * Proxy the `.upload` property to gather the event listeners/callbacks.\n */\n define(\n this.request,\n 'upload',\n createProxy(this.request.upload, {\n setProperty: ([propertyName, nextValue], invoke) => {\n switch (propertyName) {\n case 'onloadstart':\n case 'onprogress':\n case 'onaboart':\n case 'onerror':\n case 'onload':\n case 'ontimeout':\n case 'onloadend': {\n const eventName = propertyName.slice(\n 2\n ) as keyof XMLHttpRequestEventTargetEventMap\n\n this.registerUploadEvent(eventName, nextValue as Function)\n }\n }\n\n return invoke()\n },\n methodCall: ([methodName, args], invoke) => {\n switch (methodName) {\n case 'addEventListener': {\n const [eventName, listener] = args as [\n keyof XMLHttpRequestEventTargetEventMap,\n Function\n ]\n this.registerUploadEvent(eventName, listener)\n this.logger.info('upload.addEventListener', eventName, listener)\n\n return invoke()\n }\n }\n },\n })\n )\n }\n\n private registerEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.events.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.events.set(eventName, nextEvents)\n\n this.logger.info('registered event \"%s\"', eventName, listener)\n }\n\n private registerUploadEvent(\n eventName: keyof XMLHttpRequestEventTargetEventMap,\n listener: Function\n ): void {\n const prevEvents = this.uploadEvents.get(eventName) || []\n const nextEvents = prevEvents.concat(listener)\n this.uploadEvents.set(eventName, nextEvents)\n\n this.logger.info('registered upload event \"%s\"', eventName, listener)\n }\n\n /**\n * Responds to the current request with the given\n * Fetch API `Response` instance.\n */\n public async respondWith(response: Response): Promise {\n /**\n * @note Since `XMLHttpRequestController` delegates the handling of the responses\n * to the \"load\" event listener that doesn't distinguish between the mocked and original\n * responses, mark the request that had a mocked response with a corresponding symbol.\n *\n * Mark this request as having a mocked response immediately since\n * calculating request/response total body length is asynchronous.\n */\n this[kIsRequestHandled] = true\n\n /**\n * Dispatch request upload events for requests with a body.\n * @see https://github.com/mswjs/interceptors/issues/573\n */\n if (this[kFetchRequest]) {\n const totalRequestBodyLength = await getBodyByteLength(\n this[kFetchRequest]\n )\n\n this.trigger('loadstart', this.request.upload, {\n loaded: 0,\n total: totalRequestBodyLength,\n })\n this.trigger('progress', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('load', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n this.trigger('loadend', this.request.upload, {\n loaded: totalRequestBodyLength,\n total: totalRequestBodyLength,\n })\n }\n\n this.logger.info(\n 'responding with a mocked response: %d %s',\n response.status,\n response.statusText\n )\n\n define(this.request, 'status', response.status)\n define(this.request, 'statusText', response.statusText)\n define(this.request, 'responseURL', this.url.href)\n\n this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, {\n apply: (_, __, args: [name: string]) => {\n this.logger.info('getResponseHeader', args[0])\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning null')\n\n // Headers not received yet, nothing to return.\n return null\n }\n\n const headerValue = response.headers.get(args[0])\n this.logger.info(\n 'resolved response header \"%s\" to',\n args[0],\n headerValue\n )\n\n return headerValue\n },\n })\n\n this.request.getAllResponseHeaders = new Proxy(\n this.request.getAllResponseHeaders,\n {\n apply: () => {\n this.logger.info('getAllResponseHeaders')\n\n if (this.request.readyState < this.request.HEADERS_RECEIVED) {\n this.logger.info('headers not received yet, returning empty string')\n\n // Headers not received yet, nothing to return.\n return ''\n }\n\n const headersList = Array.from(response.headers.entries())\n const allHeaders = headersList\n .map(([headerName, headerValue]) => {\n return `${headerName}: ${headerValue}`\n })\n .join('\\r\\n')\n\n this.logger.info('resolved all response headers to', allHeaders)\n\n return allHeaders\n },\n }\n )\n\n // Update the response getters to resolve against the mocked response.\n Object.defineProperties(this.request, {\n response: {\n enumerable: true,\n configurable: false,\n get: () => this.response,\n },\n responseText: {\n enumerable: true,\n configurable: false,\n get: () => this.responseText,\n },\n responseXML: {\n enumerable: true,\n configurable: false,\n get: () => this.responseXML,\n },\n })\n\n const totalResponseBodyLength = await getBodyByteLength(response.clone())\n\n this.logger.info('calculated response body length', totalResponseBodyLength)\n\n this.trigger('loadstart', this.request, {\n loaded: 0,\n total: totalResponseBodyLength,\n })\n\n this.setReadyState(this.request.HEADERS_RECEIVED)\n this.setReadyState(this.request.LOADING)\n\n const finalizeResponse = () => {\n this.logger.info('finalizing the mocked response...')\n\n this.setReadyState(this.request.DONE)\n\n this.trigger('load', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n\n this.trigger('loadend', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n if (response.body) {\n this.logger.info('mocked response has body, streaming...')\n\n const reader = response.body.getReader()\n\n const readNextResponseBodyChunk = async () => {\n const { value, done } = await reader.read()\n\n if (done) {\n this.logger.info('response body stream done!')\n finalizeResponse()\n return\n }\n\n if (value) {\n this.logger.info('read response body chunk:', value)\n this.responseBuffer = concatArrayBuffer(this.responseBuffer, value)\n\n this.trigger('progress', this.request, {\n loaded: this.responseBuffer.byteLength,\n total: totalResponseBodyLength,\n })\n }\n\n readNextResponseBodyChunk()\n }\n\n readNextResponseBodyChunk()\n } else {\n finalizeResponse()\n }\n }\n\n private responseBufferToText(): string {\n return decodeBuffer(this.responseBuffer)\n }\n\n get response(): unknown {\n this.logger.info(\n 'getResponse (responseType: %s)',\n this.request.responseType\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n switch (this.request.responseType) {\n case 'json': {\n const responseJson = parseJson(this.responseBufferToText())\n this.logger.info('resolved response JSON', responseJson)\n\n return responseJson\n }\n\n case 'arraybuffer': {\n const arrayBuffer = toArrayBuffer(this.responseBuffer)\n this.logger.info('resolved response ArrayBuffer', arrayBuffer)\n\n return arrayBuffer\n }\n\n case 'blob': {\n const mimeType =\n this.request.getResponseHeader('Content-Type') || 'text/plain'\n const responseBlob = new Blob([this.responseBufferToText()], {\n type: mimeType,\n })\n\n this.logger.info(\n 'resolved response Blob (mime type: %s)',\n responseBlob,\n mimeType\n )\n\n return responseBlob\n }\n\n default: {\n const responseText = this.responseBufferToText()\n this.logger.info(\n 'resolving \"%s\" response type as text',\n this.request.responseType,\n responseText\n )\n\n return responseText\n }\n }\n }\n\n get responseText(): string {\n /**\n * Throw when trying to read the response body as text when the\n * \"responseType\" doesn't expect text. This just respects the spec better.\n * @see https://xhr.spec.whatwg.org/#the-responsetext-attribute\n */\n invariant(\n this.request.responseType === '' || this.request.responseType === 'text',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (\n this.request.readyState !== this.request.LOADING &&\n this.request.readyState !== this.request.DONE\n ) {\n return ''\n }\n\n const responseText = this.responseBufferToText()\n this.logger.info('getResponseText: \"%s\"', responseText)\n\n return responseText\n }\n\n get responseXML(): Document | null {\n invariant(\n this.request.responseType === '' ||\n this.request.responseType === 'document',\n 'InvalidStateError: The object is in invalid state.'\n )\n\n if (this.request.readyState !== this.request.DONE) {\n return null\n }\n\n const contentType = this.request.getResponseHeader('Content-Type') || ''\n\n if (typeof DOMParser === 'undefined') {\n console.warn(\n 'Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly.'\n )\n return null\n }\n\n if (isDomParserSupportedType(contentType)) {\n return new DOMParser().parseFromString(\n this.responseBufferToText(),\n contentType\n )\n }\n\n return null\n }\n\n public errorWith(error?: Error): void {\n /**\n * @note Mark this request as handled even if it received a mock error.\n * This prevents the controller from trying to perform this request as-is.\n */\n this[kIsRequestHandled] = true\n this.logger.info('responding with an error')\n\n this.setReadyState(this.request.DONE)\n this.trigger('error', this.request)\n this.trigger('loadend', this.request)\n }\n\n /**\n * Transitions this request's `readyState` to the given one.\n */\n private setReadyState(nextReadyState: number): void {\n this.logger.info(\n 'setReadyState: %d -> %d',\n this.request.readyState,\n nextReadyState\n )\n\n if (this.request.readyState === nextReadyState) {\n this.logger.info('ready state identical, skipping transition...')\n return\n }\n\n define(this.request, 'readyState', nextReadyState)\n\n this.logger.info('set readyState to: %d', nextReadyState)\n\n if (nextReadyState !== this.request.UNSENT) {\n this.logger.info('triggerring \"readystatechange\" event...')\n\n this.trigger('readystatechange', this.request)\n }\n }\n\n /**\n * Triggers given event on the `XMLHttpRequest` instance.\n */\n private trigger<\n EventName extends keyof (XMLHttpRequestEventTargetEventMap & {\n readystatechange: ProgressEvent\n })\n >(\n eventName: EventName,\n target: XMLHttpRequest | XMLHttpRequestUpload,\n options?: ProgressEventInit\n ): void {\n const callback = (target as XMLHttpRequest)[`on${eventName}`]\n const event = createEvent(target, eventName, options)\n\n this.logger.info('trigger \"%s\"', eventName, options || '')\n\n // Invoke direct callbacks.\n if (typeof callback === 'function') {\n this.logger.info('found a direct \"%s\" callback, calling...', eventName)\n callback.call(target as XMLHttpRequest, event)\n }\n\n // Invoke event listeners.\n const events =\n target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events\n\n for (const [registeredEventName, listeners] of events) {\n if (registeredEventName === eventName) {\n this.logger.info(\n 'found %d listener(s) for \"%s\" event, calling...',\n listeners.length,\n eventName\n )\n\n listeners.forEach((listener) => listener.call(target, event))\n }\n }\n }\n\n /**\n * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance.\n */\n private toFetchApiRequest(\n body: XMLHttpRequestBodyInit | Document | null | undefined\n ): Request {\n this.logger.info('converting request to a Fetch API Request...')\n\n // If the `Document` is used as the body of this XMLHttpRequest,\n // set its inner text as the Fetch API Request body.\n const resolvedBody =\n body instanceof Document ? body.documentElement.innerText : body\n\n const fetchRequest = new Request(this.url.href, {\n method: this.method,\n headers: this.requestHeaders,\n /**\n * @see https://xhr.spec.whatwg.org/#cross-origin-credentials\n */\n credentials: this.request.withCredentials ? 'include' : 'same-origin',\n body: ['GET', 'HEAD'].includes(this.method.toUpperCase())\n ? null\n : resolvedBody,\n })\n\n const proxyHeaders = createProxy(fetchRequest.headers, {\n methodCall: ([methodName, args], invoke) => {\n // Forward the latest state of the internal request headers\n // because the interceptor might have modified them\n // without responding to the request.\n switch (methodName) {\n case 'append':\n case 'set': {\n const [headerName, headerValue] = args as [string, string]\n this.request.setRequestHeader(headerName, headerValue)\n break\n }\n\n case 'delete': {\n const [headerName] = args as [string]\n console.warn(\n `XMLHttpRequest: Cannot remove a \"${headerName}\" header from the Fetch API representation of the \"${fetchRequest.method} ${fetchRequest.url}\" request. XMLHttpRequest headers cannot be removed.`\n )\n break\n }\n }\n\n return invoke()\n },\n })\n define(fetchRequest, 'headers', proxyHeaders)\n\n this.logger.info('converted request to a Fetch API Request!', fetchRequest)\n\n return fetchRequest\n }\n}\n\nfunction toAbsoluteUrl(url: string | URL): URL {\n /**\n * @note XMLHttpRequest interceptor may run in environments\n * that implement XMLHttpRequest but don't implement \"location\"\n * (for example, React Native). If that's the case, return the\n * input URL as-is (nothing to be relative to).\n * @see https://github.com/mswjs/msw/issues/1777\n */\n if (typeof location === 'undefined') {\n return new URL(url)\n }\n\n return new URL(url.toString(), location.href)\n}\n\nfunction define(\n target: object,\n property: string | symbol,\n value: unknown\n): void {\n Reflect.defineProperty(target, property, {\n // Ensure writable properties to allow redefining readonly properties.\n writable: true,\n enumerable: true,\n value,\n })\n}\n","/**\n * Concatenate two `Uint8Array` buffers.\n */\nexport function concatArrayBuffer(\n left: Uint8Array,\n right: Uint8Array\n): Uint8Array {\n const result = new Uint8Array(left.byteLength + right.byteLength)\n result.set(left, 0)\n result.set(right, left.byteLength)\n return result\n}\n","export class EventPolyfill implements Event {\n readonly NONE = 0\n readonly CAPTURING_PHASE = 1\n readonly AT_TARGET = 2\n readonly BUBBLING_PHASE = 3\n\n public type: string = ''\n public srcElement: EventTarget | null = null\n public target: EventTarget | null\n public currentTarget: EventTarget | null = null\n public eventPhase: number = 0\n public timeStamp: number\n public isTrusted: boolean = true\n public composed: boolean = false\n public cancelable: boolean = true\n public defaultPrevented: boolean = false\n public bubbles: boolean = true\n public lengthComputable: boolean = true\n public loaded: number = 0\n public total: number = 0\n\n cancelBubble: boolean = false\n returnValue: boolean = true\n\n constructor(\n type: string,\n options?: { target: EventTarget; currentTarget: EventTarget }\n ) {\n this.type = type\n this.target = options?.target || null\n this.currentTarget = options?.currentTarget || null\n this.timeStamp = Date.now()\n }\n\n public composedPath(): EventTarget[] {\n return []\n }\n\n public initEvent(type: string, bubbles?: boolean, cancelable?: boolean) {\n this.type = type\n this.bubbles = !!bubbles\n this.cancelable = !!cancelable\n }\n\n public preventDefault() {\n this.defaultPrevented = true\n }\n\n public stopPropagation() {}\n public stopImmediatePropagation() {}\n}\n","import { EventPolyfill } from './EventPolyfill'\n\nexport class ProgressEventPolyfill extends EventPolyfill {\n readonly lengthComputable: boolean\n readonly composed: boolean\n readonly loaded: number\n readonly total: number\n\n constructor(type: string, init?: ProgressEventInit) {\n super(type)\n\n this.lengthComputable = init?.lengthComputable || false\n this.composed = init?.composed || false\n this.loaded = init?.loaded || 0\n this.total = init?.total || 0\n }\n}\n","import { EventPolyfill } from '../polyfills/EventPolyfill'\nimport { ProgressEventPolyfill } from '../polyfills/ProgressEventPolyfill'\n\nconst SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== 'undefined'\n\nexport function createEvent(\n target: XMLHttpRequest | XMLHttpRequestUpload,\n type: string,\n init?: ProgressEventInit\n): EventPolyfill | ProgressEvent {\n const progressEvents = [\n 'error',\n 'progress',\n 'loadstart',\n 'loadend',\n 'load',\n 'timeout',\n 'abort',\n ]\n\n /**\n * `ProgressEvent` is not supported in React Native.\n * @see https://github.com/mswjs/interceptors/issues/40\n */\n const ProgressEventClass = SUPPORTS_PROGRESS_EVENT\n ? ProgressEvent\n : ProgressEventPolyfill\n\n const event = progressEvents.includes(type)\n ? new ProgressEventClass(type, {\n lengthComputable: true,\n loaded: init?.loaded || 0,\n total: init?.total || 0,\n })\n : new EventPolyfill(type, {\n target,\n currentTarget: target,\n })\n\n return event\n}\n","/**\n * Returns the source object of the given property on the target object\n * (the target itself, any parent in its prototype, or null).\n */\nexport function findPropertySource(\n target: object,\n propertyName: string | symbol\n): object | null {\n if (!(propertyName in target)) {\n return null\n }\n\n const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName)\n if (hasProperty) {\n return target\n }\n\n const prototype = Reflect.getPrototypeOf(target)\n return prototype ? findPropertySource(prototype, propertyName) : null\n}\n","import { findPropertySource } from './findPropertySource'\n\nexport interface ProxyOptions> {\n constructorCall?(args: Array, next: NextFunction): Target\n\n methodCall?(\n this: Target,\n data: [methodName: F, args: Array],\n next: NextFunction\n ): void\n\n setProperty?(\n data: [propertyName: string | symbol, nextValue: unknown],\n next: NextFunction\n ): boolean\n\n getProperty?(\n data: [propertyName: string | symbol, receiver: Target],\n next: NextFunction\n ): void\n}\n\nexport type NextFunction = () => ReturnType\n\nexport function createProxy(\n target: Target,\n options: ProxyOptions\n): Target {\n const proxy = new Proxy(target, optionsToProxyHandler(options))\n\n return proxy\n}\n\nfunction optionsToProxyHandler>(\n options: ProxyOptions\n): ProxyHandler {\n const { constructorCall, methodCall, getProperty, setProperty } = options\n const handler: ProxyHandler = {}\n\n if (typeof constructorCall !== 'undefined') {\n handler.construct = function (target, args, newTarget) {\n const next = Reflect.construct.bind(null, target as any, args, newTarget)\n return constructorCall.call(newTarget, args, next)\n }\n }\n\n handler.set = function (target, propertyName, nextValue) {\n const next = () => {\n const propertySource = findPropertySource(target, propertyName) || target\n const ownDescriptors = Reflect.getOwnPropertyDescriptor(\n propertySource,\n propertyName\n )\n\n // Respect any custom setters present for this property.\n if (typeof ownDescriptors?.set !== 'undefined') {\n ownDescriptors.set.apply(target, [nextValue])\n return true\n }\n\n // Otherwise, set the property on the source.\n return Reflect.defineProperty(propertySource, propertyName, {\n writable: true,\n enumerable: true,\n configurable: true,\n value: nextValue,\n })\n }\n\n if (typeof setProperty !== 'undefined') {\n return setProperty.call(target, [propertyName, nextValue], next)\n }\n\n return next()\n }\n\n handler.get = function (target, propertyName, receiver) {\n /**\n * @note Using `Reflect.get()` here causes \"TypeError: Illegal invocation\".\n */\n const next = () => target[propertyName as any]\n\n const value =\n typeof getProperty !== 'undefined'\n ? getProperty.call(target, [propertyName, receiver], next)\n : next()\n\n if (typeof value === 'function') {\n return (...args: Array) => {\n const next = value.bind(target, ...args)\n\n if (typeof methodCall !== 'undefined') {\n return methodCall.call(target, [propertyName as any, args], next)\n }\n\n return next()\n }\n }\n\n return value\n }\n\n return handler\n}\n","export function isDomParserSupportedType(\n type: string\n): type is DOMParserSupportedType {\n const supportedTypes: Array = [\n 'application/xhtml+xml',\n 'application/xml',\n 'image/svg+xml',\n 'text/html',\n 'text/xml',\n ]\n return supportedTypes.some((supportedType) => {\n return type.startsWith(supportedType)\n })\n}\n","/**\n * Parses a given string into JSON.\n * Gracefully handles invalid JSON by returning `null`.\n */\nexport function parseJson(data: string): Record | null {\n try {\n const json = JSON.parse(data)\n return json\n } catch (_) {\n return null\n }\n}\n","import { FetchResponse } from '../../../utils/fetchUtils'\n\n/**\n * Creates a Fetch API `Response` instance from the given\n * `XMLHttpRequest` instance and a response body.\n */\nexport function createResponse(\n request: XMLHttpRequest,\n body: BodyInit | null\n): Response {\n /**\n * Handle XMLHttpRequest responses that must have null as the\n * response body when represented using Fetch API Response.\n * XMLHttpRequest response will always have an empty string\n * as the \"request.response\" in those cases, resulting in an error\n * when constructing a Response instance.\n * @see https://github.com/mswjs/interceptors/issues/379\n */\n const responseBodyOrNull = FetchResponse.isResponseWithBody(request.status)\n ? body\n : null\n\n return new FetchResponse(responseBodyOrNull, {\n url: request.responseURL,\n status: request.status,\n statusText: request.statusText,\n headers: createHeadersFromXMLHttpReqestHeaders(\n request.getAllResponseHeaders()\n ),\n })\n}\n\nfunction createHeadersFromXMLHttpReqestHeaders(headersString: string): Headers {\n const headers = new Headers()\n\n const lines = headersString.split(/[\\r\\n]+/)\n for (const line of lines) {\n if (line.trim() === '') {\n continue\n }\n\n const [name, ...parts] = line.split(': ')\n const value = parts.join(': ')\n\n headers.append(name, value)\n }\n\n return headers\n}\n","/**\n * Return a total byte length of the given request/response body.\n * If the `Content-Length` header is present, it will be used as the byte length.\n */\nexport async function getBodyByteLength(\n input: Request | Response\n): Promise {\n const explicitContentLength = input.headers.get('content-length')\n\n if (explicitContentLength != null && explicitContentLength !== '') {\n return Number(explicitContentLength)\n }\n\n const buffer = await input.arrayBuffer()\n return buffer.byteLength\n}\n","import type { Logger } from '@open-draft/logger'\nimport { XMLHttpRequestEmitter } from '.'\nimport { RequestController } from '../../RequestController'\nimport { XMLHttpRequestController } from './XMLHttpRequestController'\nimport { handleRequest } from '../../utils/handleRequest'\n\nexport interface XMLHttpRequestProxyOptions {\n emitter: XMLHttpRequestEmitter\n logger: Logger\n}\n\n/**\n * Create a proxied `XMLHttpRequest` class.\n * The proxied class establishes spies on certain methods,\n * allowing us to intercept requests and respond to them.\n */\nexport function createXMLHttpRequestProxy({\n emitter,\n logger,\n}: XMLHttpRequestProxyOptions) {\n const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, {\n construct(target, args, newTarget) {\n logger.info('constructed new XMLHttpRequest')\n\n const originalRequest = Reflect.construct(\n target,\n args,\n newTarget\n ) as XMLHttpRequest\n\n /**\n * @note Forward prototype descriptors onto the proxied object.\n * XMLHttpRequest is implemented in JSDOM in a way that assigns\n * a bunch of descriptors, like \"set responseType()\" on the prototype.\n * With this propagation, we make sure that those descriptors trigger\n * when the user operates with the proxied request instance.\n */\n const prototypeDescriptors = Object.getOwnPropertyDescriptors(\n target.prototype\n )\n for (const propertyName in prototypeDescriptors) {\n Reflect.defineProperty(\n originalRequest,\n propertyName,\n prototypeDescriptors[propertyName]\n )\n }\n\n const xhrRequestController = new XMLHttpRequestController(\n originalRequest,\n logger\n )\n\n xhrRequestController.onRequest = async function ({ request, requestId }) {\n const controller = new RequestController(request)\n\n this.logger.info('awaiting mocked response...')\n\n this.logger.info(\n 'emitting the \"request\" event for %s listener(s)...',\n emitter.listenerCount('request')\n )\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n controller,\n emitter,\n onResponse: async (response) => {\n await this.respondWith(response)\n },\n onRequestError: () => {\n this.errorWith(new TypeError('Network error'))\n },\n onError: (error) => {\n this.logger.info('request errored!', { error })\n\n if (error instanceof Error) {\n this.errorWith(error)\n }\n },\n })\n\n if (!isRequestHandled) {\n this.logger.info(\n 'no mocked response received, performing request as-is...'\n )\n }\n }\n\n xhrRequestController.onResponse = async function ({\n response,\n isMockedResponse,\n request,\n requestId,\n }) {\n this.logger.info(\n 'emitting the \"response\" event for %s listener(s)...',\n emitter.listenerCount('response')\n )\n\n emitter.emit('response', {\n response,\n isMockedResponse,\n request,\n requestId,\n })\n }\n\n // Return the proxied request from the controller\n // so that the controller can react to the consumer's interactions\n // with this request (opening/sending/etc).\n return xhrRequestController.request\n },\n })\n\n return XMLHttpRequestProxy\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,aAAAA,kBAAiB;;;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UACvB;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAKA,aAAO,qBAAqB;AAAA,IAC9B;AAAA,EACF,CAAC;AAED,SAAO;AACT;;;AZ5GO,IAAM,6BAAN,cAAwC,YAAiC;AAAA,EAG9E,cAAc;AACZ,UAAM,2BAA0B,iBAAiB;AAAA,EACnD;AAAA,EAEU,mBAAmB;AAC3B,WAAO,sBAAsB,gBAAgB;AAAA,EAC/C;AAAA,EAEU,QAAQ;AAChB,UAAM,SAAS,KAAK,OAAO,OAAO,OAAO;AAEzC,WAAO,KAAK,qCAAqC;AAEjD,UAAM,qBAAqB,WAAW;AAEtC,IAAAC;AAAA,MACE,CAAE,mBAA2B,iBAAiB;AAAA,MAC9C;AAAA,IACF;AAEA,eAAW,iBAAiB,0BAA0B;AAAA,MACpD,SAAS,KAAK;AAAA,MACd,QAAQ,KAAK;AAAA,IACf,CAAC;AAED,WAAO;AAAA,MACL;AAAA,MACA,WAAW,eAAe;AAAA,IAC5B;AAEA,WAAO,eAAe,WAAW,gBAAgB,mBAAmB;AAAA,MAClE,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,OAAO;AAAA,IACT,CAAC;AAED,SAAK,cAAc,KAAK,MAAM;AAC5B,aAAO,eAAe,WAAW,gBAAgB,mBAAmB;AAAA,QAClE,OAAO;AAAA,MACT,CAAC;AAED,iBAAW,iBAAiB;AAC5B,aAAO;AAAA,QACL;AAAA,QACA,WAAW,eAAe;AAAA,MAC5B;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAnDO,IAAM,4BAAN;AAAM,0BACJ,oBAAoB,OAAO,KAAK;","names":["invariant","next","invariant"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js b/node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js new file mode 100644 index 0000000000..3206fc0cb7 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js @@ -0,0 +1,25 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/hasConfigurableGlobal.ts +function hasConfigurableGlobal(propertyName) { + const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName); + if (typeof descriptor === "undefined") { + return false; + } + if (typeof descriptor.get === "function" && typeof descriptor.get() === "undefined") { + return false; + } + if (typeof descriptor.get === "undefined" && descriptor.value == null) { + return false; + } + if (typeof descriptor.set === "undefined" && !descriptor.configurable) { + console.error( + `[MSW] Failed to apply interceptor: the global \`${propertyName}\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.` + ); + return false; + } + return true; +} + + + +exports.hasConfigurableGlobal = hasConfigurableGlobal; +//# sourceMappingURL=chunk-PFGO5BSM.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js.map new file mode 100644 index 0000000000..4069b5ab7b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-PFGO5BSM.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/hasConfigurableGlobal.ts"],"names":[],"mappings":";AAIO,SAAS,sBAAsB,cAA+B;AACnE,QAAM,aAAa,OAAO,yBAAyB,YAAY,YAAY;AAG3E,MAAI,OAAO,eAAe,aAAa;AACrC,WAAO;AAAA,EACT;AAGA,MACE,OAAO,WAAW,QAAQ,cAC1B,OAAO,WAAW,IAAI,MAAM,aAC5B;AACA,WAAO;AAAA,EACT;AAGA,MAAI,OAAO,WAAW,QAAQ,eAAe,WAAW,SAAS,MAAM;AACrE,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,WAAW,QAAQ,eAAe,CAAC,WAAW,cAAc;AACrE,YAAQ;AAAA,MACN,mDAAmD;AAAA,IACrD;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AACT","sourcesContent":["/**\n * Returns a boolean indicating whether the given global property\n * is defined and is configurable.\n */\nexport function hasConfigurableGlobal(propertyName: string): boolean {\n const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName)\n\n // The property is not set at all.\n if (typeof descriptor === 'undefined') {\n return false\n }\n\n // The property is set to a getter that returns undefined.\n if (\n typeof descriptor.get === 'function' &&\n typeof descriptor.get() === 'undefined'\n ) {\n return false\n }\n\n // The property is set to a value equal to undefined.\n if (typeof descriptor.get === 'undefined' && descriptor.value == null) {\n return false\n }\n\n if (typeof descriptor.set === 'undefined' && !descriptor.configurable) {\n console.error(\n `[MSW] Failed to apply interceptor: the global \\`${propertyName}\\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.`\n )\n return false\n }\n\n return true\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs new file mode 100644 index 0000000000..e3d8725da8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs @@ -0,0 +1,51 @@ +import { + Interceptor +} from "./chunk-I7HQIBT7.mjs"; + +// src/BatchInterceptor.ts +var BatchInterceptor = class extends Interceptor { + constructor(options) { + BatchInterceptor.symbol = Symbol(options.name); + super(BatchInterceptor.symbol); + this.interceptors = options.interceptors; + } + setup() { + const logger = this.logger.extend("setup"); + logger.info("applying all %d interceptors...", this.interceptors.length); + for (const interceptor of this.interceptors) { + logger.info('applying "%s" interceptor...', interceptor.constructor.name); + interceptor.apply(); + logger.info("adding interceptor dispose subscription"); + this.subscriptions.push(() => interceptor.dispose()); + } + } + on(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.on(event, listener); + } + return this; + } + once(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.once(event, listener); + } + return this; + } + off(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.off(event, listener); + } + return this; + } + removeAllListeners(event) { + for (const interceptors of this.interceptors) { + interceptors.removeAllListeners(event); + } + return this; + } +}; + +export { + BatchInterceptor +}; +//# sourceMappingURL=chunk-PJA4E426.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs.map new file mode 100644 index 0000000000..9569e4edae --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-PJA4E426.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/BatchInterceptor.ts"],"sourcesContent":["import { EventMap, Listener } from 'strict-event-emitter'\nimport { Interceptor, ExtractEventNames } from './Interceptor'\n\nexport interface BatchInterceptorOptions<\n InterceptorList extends ReadonlyArray>\n> {\n name: string\n interceptors: InterceptorList\n}\n\nexport type ExtractEventMapType<\n InterceptorList extends ReadonlyArray>\n> = InterceptorList extends ReadonlyArray\n ? InterceptorType extends Interceptor\n ? EventMap\n : never\n : never\n\n/**\n * A batch interceptor that exposes a single interface\n * to apply and operate with multiple interceptors at once.\n */\nexport class BatchInterceptor<\n InterceptorList extends ReadonlyArray>,\n Events extends EventMap = ExtractEventMapType\n> extends Interceptor {\n static symbol: symbol\n\n private interceptors: InterceptorList\n\n constructor(options: BatchInterceptorOptions) {\n BatchInterceptor.symbol = Symbol(options.name)\n super(BatchInterceptor.symbol)\n this.interceptors = options.interceptors\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('applying all %d interceptors...', this.interceptors.length)\n\n for (const interceptor of this.interceptors) {\n logger.info('applying \"%s\" interceptor...', interceptor.constructor.name)\n interceptor.apply()\n\n logger.info('adding interceptor dispose subscription')\n this.subscriptions.push(() => interceptor.dispose())\n }\n }\n\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n // Instead of adding a listener to the batch interceptor,\n // propagate the listener to each of the individual interceptors.\n for (const interceptor of this.interceptors) {\n interceptor.on(event, listener)\n }\n\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.once(event, listener)\n }\n\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.off(event, listener)\n }\n\n return this\n }\n\n public removeAllListeners>(\n event?: EventName | undefined\n ): this {\n for (const interceptors of this.interceptors) {\n interceptors.removeAllListeners(event)\n }\n\n return this\n }\n}\n"],"mappings":";;;;;AAsBO,IAAM,mBAAN,cAGG,YAAoB;AAAA,EAK5B,YAAY,SAAmD;AAC7D,qBAAiB,SAAS,OAAO,QAAQ,IAAI;AAC7C,UAAM,iBAAiB,MAAM;AAC7B,SAAK,eAAe,QAAQ;AAAA,EAC9B;AAAA,EAEU,QAAQ;AAChB,UAAM,SAAS,KAAK,OAAO,OAAO,OAAO;AAEzC,WAAO,KAAK,mCAAmC,KAAK,aAAa,MAAM;AAEvE,eAAW,eAAe,KAAK,cAAc;AAC3C,aAAO,KAAK,gCAAgC,YAAY,YAAY,IAAI;AACxE,kBAAY,MAAM;AAElB,aAAO,KAAK,yCAAyC;AACrD,WAAK,cAAc,KAAK,MAAM,YAAY,QAAQ,CAAC;AAAA,IACrD;AAAA,EACF;AAAA,EAEO,GACL,OACA,UACM;AAGN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,GAAG,OAAO,QAAQ;AAAA,IAChC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,KACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,KAAK,OAAO,QAAQ;AAAA,IAClC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,IACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,IAAI,OAAO,QAAQ;AAAA,IACjC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,mBACL,OACM;AACN,eAAW,gBAAgB,KAAK,cAAc;AAC5C,mBAAa,mBAAmB,KAAK;AAAA,IACvC;AAEA,WAAO;AAAA,EACT;AACF;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs new file mode 100644 index 0000000000..12a60853e3 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs @@ -0,0 +1,1053 @@ +import { + RequestController, + createServerErrorResponse, + emitAsync, + handleRequest, + isPropertyAccessible +} from "./chunk-5KMS5CTP.mjs"; +import { + FetchResponse, + INTERNAL_REQUEST_ID_HEADER_NAME, + Interceptor, + createRequestId +} from "./chunk-I7HQIBT7.mjs"; + +// src/interceptors/ClientRequest/index.ts +import http2 from "http"; +import https2 from "https"; + +// src/interceptors/ClientRequest/MockHttpSocket.ts +import net2 from "net"; +import { + HTTPParser +} from "_http_common"; +import { STATUS_CODES, IncomingMessage, ServerResponse } from "http"; +import { Readable } from "stream"; +import { invariant } from "outvariant"; + +// src/interceptors/Socket/MockSocket.ts +import net from "net"; + +// src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts +function normalizeSocketWriteArgs(args) { + const normalized = [args[0], void 0, void 0]; + if (typeof args[1] === "string") { + normalized[1] = args[1]; + } else if (typeof args[1] === "function") { + normalized[2] = args[1]; + } + if (typeof args[2] === "function") { + normalized[2] = args[2]; + } + return normalized; +} + +// src/interceptors/Socket/MockSocket.ts +var MockSocket = class extends net.Socket { + constructor(options) { + super(); + this.options = options; + this.connecting = false; + this.connect(); + this._final = (callback) => { + callback(null); + }; + } + connect() { + this.connecting = true; + return this; + } + write(...args) { + const [chunk, encoding, callback] = normalizeSocketWriteArgs( + args + ); + this.options.write(chunk, encoding, callback); + return true; + } + end(...args) { + const [chunk, encoding, callback] = normalizeSocketWriteArgs( + args + ); + this.options.write(chunk, encoding, callback); + return super.end.apply(this, args); + } + push(chunk, encoding) { + this.options.read(chunk, encoding); + return super.push(chunk, encoding); + } +}; + +// src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts +function baseUrlFromConnectionOptions(options) { + if ("href" in options) { + return new URL(options.href); + } + const protocol = options.port === 443 ? "https:" : "http:"; + const host = options.host; + const url = new URL(`${protocol}//${host}`); + if (options.port) { + url.port = options.port.toString(); + } + if (options.path) { + url.pathname = options.path; + } + if (options.auth) { + const [username, password] = options.auth.split(":"); + url.username = username; + url.password = password; + } + return url; +} + +// src/interceptors/ClientRequest/utils/recordRawHeaders.ts +var kRawHeaders = Symbol("kRawHeaders"); +var kRestorePatches = Symbol("kRestorePatches"); +function recordRawHeader(headers, args, behavior) { + ensureRawHeadersSymbol(headers, []); + const rawHeaders = Reflect.get(headers, kRawHeaders); + if (behavior === "set") { + for (let index = rawHeaders.length - 1; index >= 0; index--) { + if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) { + rawHeaders.splice(index, 1); + } + } + } + rawHeaders.push(args); +} +function ensureRawHeadersSymbol(headers, rawHeaders) { + if (Reflect.has(headers, kRawHeaders)) { + return; + } + defineRawHeadersSymbol(headers, rawHeaders); +} +function defineRawHeadersSymbol(headers, rawHeaders) { + Object.defineProperty(headers, kRawHeaders, { + value: rawHeaders, + enumerable: false, + // Mark the symbol as configurable so its value can be overridden. + // Overrides happen when merging raw headers from multiple sources. + // E.g. new Request(new Request(url, { headers }), { headers }) + configurable: true + }); +} +function recordRawFetchHeaders() { + if (Reflect.get(Headers, kRestorePatches)) { + return Reflect.get(Headers, kRestorePatches); + } + const { + Headers: OriginalHeaders, + Request: OriginalRequest, + Response: OriginalResponse + } = globalThis; + const { set, append, delete: headersDeleteMethod } = Headers.prototype; + Object.defineProperty(Headers, kRestorePatches, { + value: () => { + Headers.prototype.set = set; + Headers.prototype.append = append; + Headers.prototype.delete = headersDeleteMethod; + globalThis.Headers = OriginalHeaders; + globalThis.Request = OriginalRequest; + globalThis.Response = OriginalResponse; + Reflect.deleteProperty(Headers, kRestorePatches); + }, + enumerable: false, + /** + * @note Mark this property as configurable + * so we can delete it using `Reflect.delete` during cleanup. + */ + configurable: true + }); + Object.defineProperty(globalThis, "Headers", { + enumerable: true, + writable: true, + value: new Proxy(Headers, { + construct(target, args, newTarget) { + const headersInit = args[0] || []; + if (headersInit instanceof Headers && Reflect.has(headersInit, kRawHeaders)) { + const headers2 = Reflect.construct( + target, + [Reflect.get(headersInit, kRawHeaders)], + newTarget + ); + ensureRawHeadersSymbol(headers2, [ + /** + * @note Spread the retrieved headers to clone them. + * This prevents multiple Headers instances from pointing + * at the same internal "rawHeaders" array. + */ + ...Reflect.get(headersInit, kRawHeaders) + ]); + return headers2; + } + const headers = Reflect.construct(target, args, newTarget); + if (!Reflect.has(headers, kRawHeaders)) { + const rawHeadersInit = Array.isArray(headersInit) ? headersInit : Object.entries(headersInit); + ensureRawHeadersSymbol(headers, rawHeadersInit); + } + return headers; + } + }) + }); + Headers.prototype.set = new Proxy(Headers.prototype.set, { + apply(target, thisArg, args) { + recordRawHeader(thisArg, args, "set"); + return Reflect.apply(target, thisArg, args); + } + }); + Headers.prototype.append = new Proxy(Headers.prototype.append, { + apply(target, thisArg, args) { + recordRawHeader(thisArg, args, "append"); + return Reflect.apply(target, thisArg, args); + } + }); + Headers.prototype.delete = new Proxy(Headers.prototype.delete, { + apply(target, thisArg, args) { + const rawHeaders = Reflect.get(thisArg, kRawHeaders); + if (rawHeaders) { + for (let index = rawHeaders.length - 1; index >= 0; index--) { + if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) { + rawHeaders.splice(index, 1); + } + } + } + return Reflect.apply(target, thisArg, args); + } + }); + Object.defineProperty(globalThis, "Request", { + enumerable: true, + writable: true, + value: new Proxy(Request, { + construct(target, args, newTarget) { + const request = Reflect.construct(target, args, newTarget); + const inferredRawHeaders = []; + if (typeof args[0] === "object" && args[0].headers != null) { + inferredRawHeaders.push(...inferRawHeaders(args[0].headers)); + } + if (typeof args[1] === "object" && args[1].headers != null) { + inferredRawHeaders.push(...inferRawHeaders(args[1].headers)); + } + if (inferredRawHeaders.length > 0) { + ensureRawHeadersSymbol(request.headers, inferredRawHeaders); + } + return request; + } + }) + }); + Object.defineProperty(globalThis, "Response", { + enumerable: true, + writable: true, + value: new Proxy(Response, { + construct(target, args, newTarget) { + const response = Reflect.construct(target, args, newTarget); + if (typeof args[1] === "object" && args[1].headers != null) { + ensureRawHeadersSymbol( + response.headers, + inferRawHeaders(args[1].headers) + ); + } + return response; + } + }) + }); +} +function restoreHeadersPrototype() { + if (!Reflect.get(Headers, kRestorePatches)) { + return; + } + Reflect.get(Headers, kRestorePatches)(); +} +function getRawFetchHeaders(headers) { + if (!Reflect.has(headers, kRawHeaders)) { + return Array.from(headers.entries()); + } + const rawHeaders = Reflect.get(headers, kRawHeaders); + return rawHeaders.length > 0 ? rawHeaders : Array.from(headers.entries()); +} +function inferRawHeaders(headers) { + if (headers instanceof Headers) { + return Reflect.get(headers, kRawHeaders) || []; + } + return Reflect.get(new Headers(headers), kRawHeaders); +} + +// src/interceptors/ClientRequest/MockHttpSocket.ts +var kRequestId = Symbol("kRequestId"); +var MockHttpSocket = class extends MockSocket { + constructor(options) { + super({ + write: (chunk, encoding, callback) => { + var _a; + if (this.socketState !== "passthrough") { + this.writeBuffer.push([chunk, encoding, callback]); + } + if (chunk) { + if (this.socketState === "passthrough") { + (_a = this.originalSocket) == null ? void 0 : _a.write(chunk, encoding, callback); + } + this.requestParser.execute( + Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding) + ); + } + }, + read: (chunk) => { + if (chunk !== null) { + this.responseParser.execute( + Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk) + ); + } + } + }); + this.writeBuffer = []; + this.socketState = "unknown"; + this.onRequestStart = (versionMajor, versionMinor, rawHeaders, _, path, __, ___, ____, shouldKeepAlive) => { + var _a; + this.shouldKeepAlive = shouldKeepAlive; + const url = new URL(path, this.baseUrl); + const method = ((_a = this.connectionOptions.method) == null ? void 0 : _a.toUpperCase()) || "GET"; + const headers = FetchResponse.parseRawHeaders(rawHeaders); + const canHaveBody = method !== "GET" && method !== "HEAD"; + if (url.username || url.password) { + if (!headers.has("authorization")) { + headers.set("authorization", `Basic ${url.username}:${url.password}`); + } + url.username = ""; + url.password = ""; + } + if (canHaveBody) { + this.requestStream = new Readable({ + /** + * @note Provide the `read()` method so a `Readable` could be + * used as the actual request body (the stream calls "read()"). + * We control the queue in the onRequestBody/End functions. + */ + read: () => { + this.flushWriteBuffer(); + } + }); + } + const requestId = createRequestId(); + this.request = new Request(url, { + method, + headers, + credentials: "same-origin", + // @ts-expect-error Undocumented Fetch property. + duplex: canHaveBody ? "half" : void 0, + body: canHaveBody ? Readable.toWeb(this.requestStream) : null + }); + Reflect.set(this.request, kRequestId, requestId); + if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) { + this.passthrough(); + return; + } + this.onRequest({ + requestId, + request: this.request, + socket: this + }); + }; + this.onResponseStart = (versionMajor, versionMinor, rawHeaders, method, url, status, statusText) => { + const headers = FetchResponse.parseRawHeaders(rawHeaders); + const response = new FetchResponse( + /** + * @note The Fetch API response instance exposed to the consumer + * is created over the response stream of the HTTP parser. It is NOT + * related to the Socket instance. This way, you can read response body + * in response listener while the Socket instance delays the emission + * of "end" and other events until those response listeners are finished. + */ + FetchResponse.isResponseWithBody(status) ? Readable.toWeb( + this.responseStream = new Readable({ read() { + } }) + ) : null, + { + url, + status, + statusText, + headers + } + ); + invariant( + this.request, + "Failed to handle a response: request does not exist" + ); + if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) { + return; + } + this.responseListenersPromise = this.onResponse({ + response, + isMockedResponse: this.socketState === "mock", + requestId: Reflect.get(this.request, kRequestId), + request: this.request, + socket: this + }); + }; + this.connectionOptions = options.connectionOptions; + this.createConnection = options.createConnection; + this.onRequest = options.onRequest; + this.onResponse = options.onResponse; + this.baseUrl = baseUrlFromConnectionOptions(this.connectionOptions); + this.requestParser = new HTTPParser(); + this.requestParser.initialize(HTTPParser.REQUEST, {}); + this.requestParser[HTTPParser.kOnHeadersComplete] = this.onRequestStart.bind(this); + this.requestParser[HTTPParser.kOnBody] = this.onRequestBody.bind(this); + this.requestParser[HTTPParser.kOnMessageComplete] = this.onRequestEnd.bind(this); + this.responseParser = new HTTPParser(); + this.responseParser.initialize(HTTPParser.RESPONSE, {}); + this.responseParser[HTTPParser.kOnHeadersComplete] = this.onResponseStart.bind(this); + this.responseParser[HTTPParser.kOnBody] = this.onResponseBody.bind(this); + this.responseParser[HTTPParser.kOnMessageComplete] = this.onResponseEnd.bind(this); + this.once("finish", () => this.requestParser.free()); + if (this.baseUrl.protocol === "https:") { + Reflect.set(this, "encrypted", true); + Reflect.set(this, "authorized", false); + Reflect.set(this, "getProtocol", () => "TLSv1.3"); + Reflect.set(this, "getSession", () => void 0); + Reflect.set(this, "isSessionReused", () => false); + } + } + emit(event, ...args) { + const emitEvent = super.emit.bind(this, event, ...args); + if (this.responseListenersPromise) { + this.responseListenersPromise.finally(emitEvent); + return this.listenerCount(event) > 0; + } + return emitEvent(); + } + destroy(error) { + this.responseParser.free(); + if (error) { + this.emit("error", error); + } + return super.destroy(error); + } + /** + * Establish this Socket connection as-is and pipe + * its data/events through this Socket. + */ + passthrough() { + this.socketState = "passthrough"; + if (this.destroyed) { + return; + } + const socket = this.createConnection(); + this.originalSocket = socket; + this.once("error", (error) => { + socket.destroy(error); + }); + this.address = socket.address.bind(socket); + let writeArgs; + let headersWritten = false; + while (writeArgs = this.writeBuffer.shift()) { + if (writeArgs !== void 0) { + if (!headersWritten) { + const [chunk, encoding, callback] = writeArgs; + const chunkString = chunk.toString(); + const chunkBeforeRequestHeaders = chunkString.slice( + 0, + chunkString.indexOf("\r\n") + 2 + ); + const chunkAfterRequestHeaders = chunkString.slice( + chunk.indexOf("\r\n\r\n") + ); + const rawRequestHeaders = getRawFetchHeaders(this.request.headers); + const requestHeadersString = rawRequestHeaders.filter(([name]) => { + return name.toLowerCase() !== INTERNAL_REQUEST_ID_HEADER_NAME; + }).map(([name, value]) => `${name}: ${value}`).join("\r\n"); + const headersChunk = `${chunkBeforeRequestHeaders}${requestHeadersString}${chunkAfterRequestHeaders}`; + socket.write(headersChunk, encoding, callback); + headersWritten = true; + continue; + } + socket.write(...writeArgs); + } + } + if (Reflect.get(socket, "encrypted")) { + const tlsProperties = [ + "encrypted", + "authorized", + "getProtocol", + "getSession", + "isSessionReused" + ]; + tlsProperties.forEach((propertyName) => { + Object.defineProperty(this, propertyName, { + enumerable: true, + get: () => { + const value = Reflect.get(socket, propertyName); + return typeof value === "function" ? value.bind(socket) : value; + } + }); + }); + } + socket.on("lookup", (...args) => this.emit("lookup", ...args)).on("connect", () => { + this.connecting = socket.connecting; + this.emit("connect"); + }).on("secureConnect", () => this.emit("secureConnect")).on("secure", () => this.emit("secure")).on("session", (session) => this.emit("session", session)).on("ready", () => this.emit("ready")).on("drain", () => this.emit("drain")).on("data", (chunk) => { + this.push(chunk); + }).on("error", (error) => { + Reflect.set(this, "_hadError", Reflect.get(socket, "_hadError")); + this.emit("error", error); + }).on("resume", () => this.emit("resume")).on("timeout", () => this.emit("timeout")).on("prefinish", () => this.emit("prefinish")).on("finish", () => this.emit("finish")).on("close", (hadError) => this.emit("close", hadError)).on("end", () => this.emit("end")); + } + /** + * Convert the given Fetch API `Response` instance to an + * HTTP message and push it to the socket. + */ + async respondWith(response) { + var _a; + if (this.destroyed) { + return; + } + if (isPropertyAccessible(response, "type") && response.type === "error") { + this.errorWith(new TypeError("Network error")); + return; + } + this.mockConnect(); + this.socketState = "mock"; + this.flushWriteBuffer(); + const serverResponse = new ServerResponse(new IncomingMessage(this)); + serverResponse.assignSocket( + new MockSocket({ + write: (chunk, encoding, callback) => { + this.push(chunk, encoding); + callback == null ? void 0 : callback(); + }, + read() { + } + }) + ); + serverResponse.removeHeader("connection"); + serverResponse.removeHeader("date"); + const rawResponseHeaders = getRawFetchHeaders(response.headers); + serverResponse.writeHead( + response.status, + response.statusText || STATUS_CODES[response.status], + rawResponseHeaders + ); + this.once("error", () => { + serverResponse.destroy(); + }); + if (response.body) { + try { + const reader = response.body.getReader(); + while (true) { + const { done, value } = await reader.read(); + if (done) { + serverResponse.end(); + break; + } + serverResponse.write(value); + } + } catch (error) { + this.respondWith(createServerErrorResponse(error)); + return; + } + } else { + serverResponse.end(); + } + if (!this.shouldKeepAlive) { + this.emit("readable"); + (_a = this.responseStream) == null ? void 0 : _a.push(null); + this.push(null); + } + } + /** + * Close this socket connection with the given error. + */ + errorWith(error) { + this.destroy(error); + } + mockConnect() { + this.connecting = false; + const isIPv6 = net2.isIPv6(this.connectionOptions.hostname) || this.connectionOptions.family === 6; + const addressInfo = { + address: isIPv6 ? "::1" : "127.0.0.1", + family: isIPv6 ? "IPv6" : "IPv4", + port: this.connectionOptions.port + }; + this.address = () => addressInfo; + this.emit( + "lookup", + null, + addressInfo.address, + addressInfo.family === "IPv6" ? 6 : 4, + this.connectionOptions.host + ); + this.emit("connect"); + this.emit("ready"); + if (this.baseUrl.protocol === "https:") { + this.emit("secure"); + this.emit("secureConnect"); + this.emit( + "session", + this.connectionOptions.session || Buffer.from("mock-session-renegotiate") + ); + this.emit("session", Buffer.from("mock-session-resume")); + } + } + flushWriteBuffer() { + for (const writeCall of this.writeBuffer) { + if (typeof writeCall[2] === "function") { + writeCall[2](); + writeCall[2] = void 0; + } + } + } + onRequestBody(chunk) { + invariant( + this.requestStream, + "Failed to write to a request stream: stream does not exist" + ); + this.requestStream.push(chunk); + } + onRequestEnd() { + if (this.requestStream) { + this.requestStream.push(null); + } + } + onResponseBody(chunk) { + invariant( + this.responseStream, + "Failed to write to a response stream: stream does not exist" + ); + this.responseStream.push(chunk); + } + onResponseEnd() { + if (this.responseStream) { + this.responseStream.push(null); + } + } +}; + +// src/interceptors/ClientRequest/agents.ts +import http from "http"; +import https from "https"; +var MockAgent = class extends http.Agent { + constructor(options) { + super(); + this.customAgent = options.customAgent; + this.onRequest = options.onRequest; + this.onResponse = options.onResponse; + } + createConnection(options, callback) { + const createConnection = this.customAgent instanceof http.Agent && this.customAgent.createConnection || super.createConnection; + const socket = new MockHttpSocket({ + connectionOptions: options, + createConnection: createConnection.bind( + this.customAgent || this, + options, + callback + ), + onRequest: this.onRequest.bind(this), + onResponse: this.onResponse.bind(this) + }); + return socket; + } +}; +var MockHttpsAgent = class extends https.Agent { + constructor(options) { + super(); + this.customAgent = options.customAgent; + this.onRequest = options.onRequest; + this.onResponse = options.onResponse; + } + createConnection(options, callback) { + const createConnection = this.customAgent instanceof https.Agent && this.customAgent.createConnection || super.createConnection; + const socket = new MockHttpSocket({ + connectionOptions: options, + createConnection: createConnection.bind( + this.customAgent || this, + options, + callback + ), + onRequest: this.onRequest.bind(this), + onResponse: this.onResponse.bind(this) + }); + return socket; + } +}; + +// src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts +import { urlToHttpOptions } from "url"; +import { + Agent as HttpAgent, + globalAgent as httpGlobalAgent +} from "http"; +import { + Agent as HttpsAgent, + globalAgent as httpsGlobalAgent +} from "https"; +import { + URL as URL2, + parse as parseUrl +} from "url"; +import { Logger as Logger3 } from "@open-draft/logger"; + +// src/utils/getUrlByRequestOptions.ts +import { Agent } from "http"; +import { Logger } from "@open-draft/logger"; +var logger = new Logger("utils getUrlByRequestOptions"); +var DEFAULT_PATH = "/"; +var DEFAULT_PROTOCOL = "http:"; +var DEFAULT_HOSTNAME = "localhost"; +var SSL_PORT = 443; +function getAgent(options) { + return options.agent instanceof Agent ? options.agent : void 0; +} +function getProtocolByRequestOptions(options) { + var _a; + if (options.protocol) { + return options.protocol; + } + const agent = getAgent(options); + const agentProtocol = agent == null ? void 0 : agent.protocol; + if (agentProtocol) { + return agentProtocol; + } + const port = getPortByRequestOptions(options); + const isSecureRequest = options.cert || port === SSL_PORT; + return isSecureRequest ? "https:" : ((_a = options.uri) == null ? void 0 : _a.protocol) || DEFAULT_PROTOCOL; +} +function getPortByRequestOptions(options) { + if (options.port) { + return Number(options.port); + } + const agent = getAgent(options); + if (agent == null ? void 0 : agent.options.port) { + return Number(agent.options.port); + } + if (agent == null ? void 0 : agent.defaultPort) { + return Number(agent.defaultPort); + } + return void 0; +} +function getAuthByRequestOptions(options) { + if (options.auth) { + const [username, password] = options.auth.split(":"); + return { username, password }; + } +} +function isRawIPv6Address(host) { + return host.includes(":") && !host.startsWith("[") && !host.endsWith("]"); +} +function getHostname(options) { + let host = options.hostname || options.host; + if (host) { + if (isRawIPv6Address(host)) { + host = `[${host}]`; + } + return new URL(`http://${host}`).hostname; + } + return DEFAULT_HOSTNAME; +} +function getUrlByRequestOptions(options) { + logger.info("request options", options); + if (options.uri) { + logger.info( + 'constructing url from explicitly provided "options.uri": %s', + options.uri + ); + return new URL(options.uri.href); + } + logger.info("figuring out url from request options..."); + const protocol = getProtocolByRequestOptions(options); + logger.info("protocol", protocol); + const port = getPortByRequestOptions(options); + logger.info("port", port); + const hostname = getHostname(options); + logger.info("hostname", hostname); + const path = options.path || DEFAULT_PATH; + logger.info("path", path); + const credentials = getAuthByRequestOptions(options); + logger.info("credentials", credentials); + const authString = credentials ? `${credentials.username}:${credentials.password}@` : ""; + logger.info("auth string:", authString); + const portString = typeof port !== "undefined" ? `:${port}` : ""; + const url = new URL(`${protocol}//${hostname}${portString}${path}`); + url.username = (credentials == null ? void 0 : credentials.username) || ""; + url.password = (credentials == null ? void 0 : credentials.password) || ""; + logger.info("created url:", url); + return url; +} + +// src/utils/cloneObject.ts +import { Logger as Logger2 } from "@open-draft/logger"; +var logger2 = new Logger2("cloneObject"); +function isPlainObject(obj) { + var _a; + logger2.info("is plain object?", obj); + if (obj == null || !((_a = obj.constructor) == null ? void 0 : _a.name)) { + logger2.info("given object is undefined, not a plain object..."); + return false; + } + logger2.info("checking the object constructor:", obj.constructor.name); + return obj.constructor.name === "Object"; +} +function cloneObject(obj) { + logger2.info("cloning object:", obj); + const enumerableProperties = Object.entries(obj).reduce( + (acc, [key, value]) => { + logger2.info("analyzing key-value pair:", key, value); + acc[key] = isPlainObject(value) ? cloneObject(value) : value; + return acc; + }, + {} + ); + return isPlainObject(obj) ? enumerableProperties : Object.assign(Object.getPrototypeOf(obj), enumerableProperties); +} + +// src/utils/isObject.ts +function isObject(value, loose = false) { + return loose ? Object.prototype.toString.call(value).startsWith("[object ") : Object.prototype.toString.call(value) === "[object Object]"; +} + +// src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts +var logger3 = new Logger3("http normalizeClientRequestArgs"); +function resolveRequestOptions(args, url) { + if (typeof args[1] === "undefined" || typeof args[1] === "function") { + logger3.info("request options not provided, deriving from the url", url); + return urlToHttpOptions(url); + } + if (args[1]) { + logger3.info("has custom RequestOptions!", args[1]); + const requestOptionsFromUrl = urlToHttpOptions(url); + logger3.info("derived RequestOptions from the URL:", requestOptionsFromUrl); + logger3.info("cloning RequestOptions..."); + const clonedRequestOptions = cloneObject(args[1]); + logger3.info("successfully cloned RequestOptions!", clonedRequestOptions); + return { + ...requestOptionsFromUrl, + ...clonedRequestOptions + }; + } + logger3.info("using an empty object as request options"); + return {}; +} +function overrideUrlByRequestOptions(url, options) { + url.host = options.host || url.host; + url.hostname = options.hostname || url.hostname; + url.port = options.port ? options.port.toString() : url.port; + if (options.path) { + const parsedOptionsPath = parseUrl(options.path, false); + url.pathname = parsedOptionsPath.pathname || ""; + url.search = parsedOptionsPath.search || ""; + } + return url; +} +function resolveCallback(args) { + return typeof args[1] === "function" ? args[1] : args[2]; +} +function normalizeClientRequestArgs(defaultProtocol, args) { + let url; + let options; + let callback; + logger3.info("arguments", args); + logger3.info("using default protocol:", defaultProtocol); + if (args.length === 0) { + const url2 = new URL2("http://localhost"); + const options2 = resolveRequestOptions(args, url2); + return [url2, options2]; + } + if (typeof args[0] === "string") { + logger3.info("first argument is a location string:", args[0]); + url = new URL2(args[0]); + logger3.info("created a url:", url); + const requestOptionsFromUrl = urlToHttpOptions(url); + logger3.info("request options from url:", requestOptionsFromUrl); + options = resolveRequestOptions(args, url); + logger3.info("resolved request options:", options); + callback = resolveCallback(args); + } else if (args[0] instanceof URL2) { + url = args[0]; + logger3.info("first argument is a URL:", url); + if (typeof args[1] !== "undefined" && isObject(args[1])) { + url = overrideUrlByRequestOptions(url, args[1]); + } + options = resolveRequestOptions(args, url); + logger3.info("derived request options:", options); + callback = resolveCallback(args); + } else if ("hash" in args[0] && !("method" in args[0])) { + const [legacyUrl] = args; + logger3.info("first argument is a legacy URL:", legacyUrl); + if (legacyUrl.hostname === null) { + logger3.info("given legacy URL is relative (no hostname)"); + return isObject(args[1]) ? normalizeClientRequestArgs(defaultProtocol, [ + { path: legacyUrl.path, ...args[1] }, + args[2] + ]) : normalizeClientRequestArgs(defaultProtocol, [ + { path: legacyUrl.path }, + args[1] + ]); + } + logger3.info("given legacy url is absolute"); + const resolvedUrl = new URL2(legacyUrl.href); + return args[1] === void 0 ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl]) : typeof args[1] === "function" ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl, args[1]]) : normalizeClientRequestArgs(defaultProtocol, [ + resolvedUrl, + args[1], + args[2] + ]); + } else if (isObject(args[0])) { + options = { ...args[0] }; + logger3.info("first argument is RequestOptions:", options); + options.protocol = options.protocol || defaultProtocol; + logger3.info("normalized request options:", options); + url = getUrlByRequestOptions(options); + logger3.info("created a URL from RequestOptions:", url.href); + callback = resolveCallback(args); + } else { + throw new Error( + `Failed to construct ClientRequest with these parameters: ${args}` + ); + } + options.protocol = options.protocol || url.protocol; + options.method = options.method || "GET"; + if (typeof options.agent === "undefined") { + const agent = options.protocol === "https:" ? new HttpsAgent({ + rejectUnauthorized: options.rejectUnauthorized + }) : new HttpAgent(); + options.agent = agent; + logger3.info("resolved fallback agent:", agent); + } + if (!options._defaultAgent) { + logger3.info( + 'has no default agent, setting the default agent for "%s"', + options.protocol + ); + options._defaultAgent = options.protocol === "https:" ? httpsGlobalAgent : httpGlobalAgent; + } + logger3.info("successfully resolved url:", url.href); + logger3.info("successfully resolved options:", options); + logger3.info("successfully resolved callback:", callback); + if (!(url instanceof URL2)) { + url = url.toString(); + } + return [url, options, callback]; +} + +// src/interceptors/ClientRequest/index.ts +var _ClientRequestInterceptor = class extends Interceptor { + constructor() { + super(_ClientRequestInterceptor.symbol); + this.onRequest = async ({ + request, + socket + }) => { + const requestId = Reflect.get(request, kRequestId); + const controller = new RequestController(request); + const isRequestHandled = await handleRequest({ + request, + requestId, + controller, + emitter: this.emitter, + onResponse: (response) => { + socket.respondWith(response); + }, + onRequestError: (response) => { + socket.respondWith(response); + }, + onError: (error) => { + if (error instanceof Error) { + socket.errorWith(error); + } + } + }); + if (!isRequestHandled) { + return socket.passthrough(); + } + }; + this.onResponse = async ({ + requestId, + request, + response, + isMockedResponse + }) => { + return emitAsync(this.emitter, "response", { + requestId, + request, + response, + isMockedResponse + }); + }; + } + setup() { + const { get: originalGet, request: originalRequest } = http2; + const { get: originalHttpsGet, request: originalHttpsRequest } = https2; + const onRequest = this.onRequest.bind(this); + const onResponse = this.onResponse.bind(this); + http2.request = new Proxy(http2.request, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "http:", + args + ); + const mockAgent = new MockAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + http2.get = new Proxy(http2.get, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "http:", + args + ); + const mockAgent = new MockAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + https2.request = new Proxy(https2.request, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "https:", + args + ); + const mockAgent = new MockHttpsAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + https2.get = new Proxy(https2.get, { + apply: (target, thisArg, args) => { + const [url, options, callback] = normalizeClientRequestArgs( + "https:", + args + ); + const mockAgent = new MockHttpsAgent({ + customAgent: options.agent, + onRequest, + onResponse + }); + options.agent = mockAgent; + return Reflect.apply(target, thisArg, [url, options, callback]); + } + }); + recordRawFetchHeaders(); + this.subscriptions.push(() => { + http2.get = originalGet; + http2.request = originalRequest; + https2.get = originalHttpsGet; + https2.request = originalHttpsRequest; + restoreHeadersPrototype(); + }); + } +}; +var ClientRequestInterceptor = _ClientRequestInterceptor; +ClientRequestInterceptor.symbol = Symbol("client-request-interceptor"); + +export { + ClientRequestInterceptor +}; +//# sourceMappingURL=chunk-QFFDMWKW.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs.map new file mode 100644 index 0000000000..84cadf1c59 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-QFFDMWKW.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/interceptors/ClientRequest/index.ts","../../src/interceptors/ClientRequest/MockHttpSocket.ts","../../src/interceptors/Socket/MockSocket.ts","../../src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts","../../src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts","../../src/interceptors/ClientRequest/utils/recordRawHeaders.ts","../../src/interceptors/ClientRequest/agents.ts","../../src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts","../../src/utils/getUrlByRequestOptions.ts","../../src/utils/cloneObject.ts","../../src/utils/isObject.ts"],"sourcesContent":["import http from 'node:http'\nimport https from 'node:https'\nimport { Interceptor } from '../../Interceptor'\nimport type { HttpRequestEventMap } from '../../glossary'\nimport {\n kRequestId,\n MockHttpSocketRequestCallback,\n MockHttpSocketResponseCallback,\n} from './MockHttpSocket'\nimport { MockAgent, MockHttpsAgent } from './agents'\nimport { RequestController } from '../../RequestController'\nimport { emitAsync } from '../../utils/emitAsync'\nimport { normalizeClientRequestArgs } from './utils/normalizeClientRequestArgs'\nimport { handleRequest } from '../../utils/handleRequest'\nimport {\n recordRawFetchHeaders,\n restoreHeadersPrototype,\n} from './utils/recordRawHeaders'\n\nexport class ClientRequestInterceptor extends Interceptor {\n static symbol = Symbol('client-request-interceptor')\n\n constructor() {\n super(ClientRequestInterceptor.symbol)\n }\n\n protected setup(): void {\n const { get: originalGet, request: originalRequest } = http\n const { get: originalHttpsGet, request: originalHttpsRequest } = https\n\n const onRequest = this.onRequest.bind(this)\n const onResponse = this.onResponse.bind(this)\n\n http.request = new Proxy(http.request, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'http:',\n args\n )\n const mockAgent = new MockAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n http.get = new Proxy(http.get, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'http:',\n args\n )\n\n const mockAgent = new MockAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n //\n // HTTPS.\n //\n\n https.request = new Proxy(https.request, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'https:',\n args\n )\n\n const mockAgent = new MockHttpsAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n https.get = new Proxy(https.get, {\n apply: (target, thisArg, args: Parameters) => {\n const [url, options, callback] = normalizeClientRequestArgs(\n 'https:',\n args\n )\n\n const mockAgent = new MockHttpsAgent({\n customAgent: options.agent,\n onRequest,\n onResponse,\n })\n options.agent = mockAgent\n\n return Reflect.apply(target, thisArg, [url, options, callback])\n },\n })\n\n // Spy on `Header.prototype.set` and `Header.prototype.append` calls\n // and record the raw header names provided. This is to support\n // `IncomingMessage.prototype.rawHeaders`.\n recordRawFetchHeaders()\n\n this.subscriptions.push(() => {\n http.get = originalGet\n http.request = originalRequest\n\n https.get = originalHttpsGet\n https.request = originalHttpsRequest\n\n restoreHeadersPrototype()\n })\n }\n\n private onRequest: MockHttpSocketRequestCallback = async ({\n request,\n socket,\n }) => {\n const requestId = Reflect.get(request, kRequestId)\n const controller = new RequestController(request)\n\n const isRequestHandled = await handleRequest({\n request,\n requestId,\n controller,\n emitter: this.emitter,\n onResponse: (response) => {\n socket.respondWith(response)\n },\n onRequestError: (response) => {\n socket.respondWith(response)\n },\n onError: (error) => {\n if (error instanceof Error) {\n socket.errorWith(error)\n }\n },\n })\n\n if (!isRequestHandled) {\n return socket.passthrough()\n }\n }\n\n public onResponse: MockHttpSocketResponseCallback = async ({\n requestId,\n request,\n response,\n isMockedResponse,\n }) => {\n // Return the promise to when all the response event listeners\n // are finished.\n return emitAsync(this.emitter, 'response', {\n requestId,\n request,\n response,\n isMockedResponse,\n })\n }\n}\n","import net from 'node:net'\nimport {\n HTTPParser,\n type RequestHeadersCompleteCallback,\n type ResponseHeadersCompleteCallback,\n} from '_http_common'\nimport { STATUS_CODES, IncomingMessage, ServerResponse } from 'node:http'\nimport { Readable } from 'node:stream'\nimport { invariant } from 'outvariant'\nimport { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor'\nimport { MockSocket } from '../Socket/MockSocket'\nimport type { NormalizedSocketWriteArgs } from '../Socket/utils/normalizeSocketWriteArgs'\nimport { isPropertyAccessible } from '../../utils/isPropertyAccessible'\nimport { baseUrlFromConnectionOptions } from '../Socket/utils/baseUrlFromConnectionOptions'\nimport { createServerErrorResponse } from '../../utils/responseUtils'\nimport { createRequestId } from '../../createRequestId'\nimport { getRawFetchHeaders } from './utils/recordRawHeaders'\nimport { FetchResponse } from '../../utils/fetchUtils'\n\ntype HttpConnectionOptions = any\n\nexport type MockHttpSocketRequestCallback = (args: {\n requestId: string\n request: Request\n socket: MockHttpSocket\n}) => void\n\nexport type MockHttpSocketResponseCallback = (args: {\n requestId: string\n request: Request\n response: Response\n isMockedResponse: boolean\n socket: MockHttpSocket\n}) => Promise\n\ninterface MockHttpSocketOptions {\n connectionOptions: HttpConnectionOptions\n createConnection: () => net.Socket\n onRequest: MockHttpSocketRequestCallback\n onResponse: MockHttpSocketResponseCallback\n}\n\nexport const kRequestId = Symbol('kRequestId')\n\nexport class MockHttpSocket extends MockSocket {\n private connectionOptions: HttpConnectionOptions\n private createConnection: () => net.Socket\n private baseUrl: URL\n\n private onRequest: MockHttpSocketRequestCallback\n private onResponse: MockHttpSocketResponseCallback\n private responseListenersPromise?: Promise\n\n private writeBuffer: Array = []\n private request?: Request\n private requestParser: HTTPParser<0>\n private requestStream?: Readable\n private shouldKeepAlive?: boolean\n\n private socketState: 'unknown' | 'mock' | 'passthrough' = 'unknown'\n private responseParser: HTTPParser<1>\n private responseStream?: Readable\n private originalSocket?: net.Socket\n\n constructor(options: MockHttpSocketOptions) {\n super({\n write: (chunk, encoding, callback) => {\n // Buffer the writes so they can be flushed in case of the original connection\n // and when reading the request body in the interceptor. If the connection has\n // been established, no need to buffer the chunks anymore, they will be forwarded.\n if (this.socketState !== 'passthrough') {\n this.writeBuffer.push([chunk, encoding, callback])\n }\n\n if (chunk) {\n /**\n * Forward any writes to the mock socket to the underlying original socket.\n * This ensures functional duplex connections, like WebSocket.\n * @see https://github.com/mswjs/interceptors/issues/682\n */\n if (this.socketState === 'passthrough') {\n this.originalSocket?.write(chunk, encoding, callback)\n }\n\n this.requestParser.execute(\n Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding)\n )\n }\n },\n read: (chunk) => {\n if (chunk !== null) {\n /**\n * @todo We need to free the parser if the connection has been\n * upgraded to a non-HTTP protocol. It won't be able to parse data\n * from that point onward anyway. No need to keep it in memory.\n */\n this.responseParser.execute(\n Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk)\n )\n }\n },\n })\n\n this.connectionOptions = options.connectionOptions\n this.createConnection = options.createConnection\n this.onRequest = options.onRequest\n this.onResponse = options.onResponse\n\n this.baseUrl = baseUrlFromConnectionOptions(this.connectionOptions)\n\n // Request parser.\n this.requestParser = new HTTPParser()\n this.requestParser.initialize(HTTPParser.REQUEST, {})\n this.requestParser[HTTPParser.kOnHeadersComplete] =\n this.onRequestStart.bind(this)\n this.requestParser[HTTPParser.kOnBody] = this.onRequestBody.bind(this)\n this.requestParser[HTTPParser.kOnMessageComplete] =\n this.onRequestEnd.bind(this)\n\n // Response parser.\n this.responseParser = new HTTPParser()\n this.responseParser.initialize(HTTPParser.RESPONSE, {})\n this.responseParser[HTTPParser.kOnHeadersComplete] =\n this.onResponseStart.bind(this)\n this.responseParser[HTTPParser.kOnBody] = this.onResponseBody.bind(this)\n this.responseParser[HTTPParser.kOnMessageComplete] =\n this.onResponseEnd.bind(this)\n\n // Once the socket is finished, nothing can write to it\n // anymore. It has also flushed any buffered chunks.\n this.once('finish', () => this.requestParser.free())\n\n if (this.baseUrl.protocol === 'https:') {\n Reflect.set(this, 'encrypted', true)\n // The server certificate is not the same as a CA\n // passed to the TLS socket connection options.\n Reflect.set(this, 'authorized', false)\n Reflect.set(this, 'getProtocol', () => 'TLSv1.3')\n Reflect.set(this, 'getSession', () => undefined)\n Reflect.set(this, 'isSessionReused', () => false)\n }\n }\n\n public emit(event: string | symbol, ...args: any[]): boolean {\n const emitEvent = super.emit.bind(this, event as any, ...args)\n\n if (this.responseListenersPromise) {\n this.responseListenersPromise.finally(emitEvent)\n return this.listenerCount(event) > 0\n }\n\n return emitEvent()\n }\n\n public destroy(error?: Error | undefined): this {\n // Destroy the response parser when the socket gets destroyed.\n // Normally, we shoud listen to the \"close\" event but it\n // can be suppressed by using the \"emitClose: false\" option.\n this.responseParser.free()\n\n if (error) {\n this.emit('error', error)\n }\n\n return super.destroy(error)\n }\n\n /**\n * Establish this Socket connection as-is and pipe\n * its data/events through this Socket.\n */\n public passthrough(): void {\n this.socketState = 'passthrough'\n\n if (this.destroyed) {\n return\n }\n\n const socket = this.createConnection()\n this.originalSocket = socket\n\n // If the developer destroys the socket, destroy the original connection.\n this.once('error', (error) => {\n socket.destroy(error)\n })\n\n this.address = socket.address.bind(socket)\n\n // Flush the buffered \"socket.write()\" calls onto\n // the original socket instance (i.e. write request body).\n // Exhaust the \"requestBuffer\" in case this Socket\n // gets reused for different requests.\n let writeArgs: NormalizedSocketWriteArgs | undefined\n let headersWritten = false\n\n while ((writeArgs = this.writeBuffer.shift())) {\n if (writeArgs !== undefined) {\n if (!headersWritten) {\n const [chunk, encoding, callback] = writeArgs\n const chunkString = chunk.toString()\n const chunkBeforeRequestHeaders = chunkString.slice(\n 0,\n chunkString.indexOf('\\r\\n') + 2\n )\n const chunkAfterRequestHeaders = chunkString.slice(\n chunk.indexOf('\\r\\n\\r\\n')\n )\n const rawRequestHeaders = getRawFetchHeaders(this.request!.headers)\n const requestHeadersString = rawRequestHeaders\n // Skip the internal request ID deduplication header.\n .filter(([name]) => {\n return name.toLowerCase() !== INTERNAL_REQUEST_ID_HEADER_NAME\n })\n .map(([name, value]) => `${name}: ${value}`)\n .join('\\r\\n')\n\n // Modify the HTTP request message headers\n // to reflect any changes to the request headers\n // from the \"request\" event listener.\n const headersChunk = `${chunkBeforeRequestHeaders}${requestHeadersString}${chunkAfterRequestHeaders}`\n socket.write(headersChunk, encoding, callback)\n headersWritten = true\n continue\n }\n\n socket.write(...writeArgs)\n }\n }\n\n // Forward TLS Socket properties onto this Socket instance\n // in the case of a TLS/SSL connection.\n if (Reflect.get(socket, 'encrypted')) {\n const tlsProperties = [\n 'encrypted',\n 'authorized',\n 'getProtocol',\n 'getSession',\n 'isSessionReused',\n ]\n\n tlsProperties.forEach((propertyName) => {\n Object.defineProperty(this, propertyName, {\n enumerable: true,\n get: () => {\n const value = Reflect.get(socket, propertyName)\n return typeof value === 'function' ? value.bind(socket) : value\n },\n })\n })\n }\n\n socket\n .on('lookup', (...args) => this.emit('lookup', ...args))\n .on('connect', () => {\n this.connecting = socket.connecting\n this.emit('connect')\n })\n .on('secureConnect', () => this.emit('secureConnect'))\n .on('secure', () => this.emit('secure'))\n .on('session', (session) => this.emit('session', session))\n .on('ready', () => this.emit('ready'))\n .on('drain', () => this.emit('drain'))\n .on('data', (chunk) => {\n // Push the original response to this socket\n // so it triggers the HTTP response parser. This unifies\n // the handling pipeline for original and mocked response.\n this.push(chunk)\n })\n .on('error', (error) => {\n Reflect.set(this, '_hadError', Reflect.get(socket, '_hadError'))\n this.emit('error', error)\n })\n .on('resume', () => this.emit('resume'))\n .on('timeout', () => this.emit('timeout'))\n .on('prefinish', () => this.emit('prefinish'))\n .on('finish', () => this.emit('finish'))\n .on('close', (hadError) => this.emit('close', hadError))\n .on('end', () => this.emit('end'))\n }\n\n /**\n * Convert the given Fetch API `Response` instance to an\n * HTTP message and push it to the socket.\n */\n public async respondWith(response: Response): Promise {\n // Ignore the mocked response if the socket has been destroyed\n // (e.g. aborted or timed out),\n if (this.destroyed) {\n return\n }\n\n // Handle \"type: error\" responses.\n if (isPropertyAccessible(response, 'type') && response.type === 'error') {\n this.errorWith(new TypeError('Network error'))\n return\n }\n\n // First, emit all the connection events\n // to emulate a successful connection.\n this.mockConnect()\n this.socketState = 'mock'\n\n // Flush the write buffer to trigger write callbacks\n // if it hasn't been flushed already (e.g. someone started reading request stream).\n this.flushWriteBuffer()\n\n // Create a `ServerResponse` instance to delegate HTTP message parsing,\n // Transfer-Encoding, and other things to Node.js internals.\n const serverResponse = new ServerResponse(new IncomingMessage(this))\n\n /**\n * Assign a mock socket instance to the server response to\n * spy on the response chunk writes. Push the transformed response chunks\n * to this `MockHttpSocket` instance to trigger the \"data\" event.\n * @note Providing the same `MockSocket` instance when creating `ServerResponse`\n * does not have the same effect.\n * @see https://github.com/nodejs/node/blob/10099bb3f7fd97bb9dd9667188426866b3098e07/test/parallel/test-http-server-response-standalone.js#L32\n */\n serverResponse.assignSocket(\n new MockSocket({\n write: (chunk, encoding, callback) => {\n this.push(chunk, encoding)\n callback?.()\n },\n read() {},\n })\n )\n\n /**\n * @note Remove the `Connection` and `Date` response headers\n * injected by `ServerResponse` by default. Those are required\n * from the server but the interceptor is NOT technically a server.\n * It's confusing to add response headers that the developer didn't\n * specify themselves. They can always add these if they wish.\n * @see https://www.rfc-editor.org/rfc/rfc9110#field.date\n * @see https://www.rfc-editor.org/rfc/rfc9110#field.connection\n */\n serverResponse.removeHeader('connection')\n serverResponse.removeHeader('date')\n\n const rawResponseHeaders = getRawFetchHeaders(response.headers)\n\n /**\n * @note Call `.writeHead` in order to set the raw response headers\n * in the same case as they were provided by the developer. Using\n * `.setHeader()`/`.appendHeader()` normalizes header names.\n */\n serverResponse.writeHead(\n response.status,\n response.statusText || STATUS_CODES[response.status],\n rawResponseHeaders\n )\n\n // If the developer destroy the socket, gracefully destroy the response.\n this.once('error', () => {\n serverResponse.destroy()\n })\n\n if (response.body) {\n try {\n const reader = response.body.getReader()\n\n while (true) {\n const { done, value } = await reader.read()\n\n if (done) {\n serverResponse.end()\n break\n }\n\n serverResponse.write(value)\n }\n } catch (error) {\n // Coerce response stream errors to 500 responses.\n this.respondWith(createServerErrorResponse(error))\n return\n }\n } else {\n serverResponse.end()\n }\n\n // Close the socket if the connection wasn't marked as keep-alive.\n if (!this.shouldKeepAlive) {\n this.emit('readable')\n\n /**\n * @todo @fixme This is likely a hack.\n * Since we push null to the socket, it never propagates to the\n * parser, and the parser never calls \"onResponseEnd\" to close\n * the response stream. We are closing the stream here manually\n * but that shouldn't be the case.\n */\n this.responseStream?.push(null)\n this.push(null)\n }\n }\n\n /**\n * Close this socket connection with the given error.\n */\n public errorWith(error?: Error): void {\n this.destroy(error)\n }\n\n private mockConnect(): void {\n // Calling this method immediately puts the socket\n // into the connected state.\n this.connecting = false\n\n const isIPv6 =\n net.isIPv6(this.connectionOptions.hostname) ||\n this.connectionOptions.family === 6\n const addressInfo = {\n address: isIPv6 ? '::1' : '127.0.0.1',\n family: isIPv6 ? 'IPv6' : 'IPv4',\n port: this.connectionOptions.port,\n }\n // Return fake address information for the socket.\n this.address = () => addressInfo\n this.emit(\n 'lookup',\n null,\n addressInfo.address,\n addressInfo.family === 'IPv6' ? 6 : 4,\n this.connectionOptions.host\n )\n this.emit('connect')\n this.emit('ready')\n\n if (this.baseUrl.protocol === 'https:') {\n this.emit('secure')\n this.emit('secureConnect')\n\n // A single TLS connection is represented by two \"session\" events.\n this.emit(\n 'session',\n this.connectionOptions.session ||\n Buffer.from('mock-session-renegotiate')\n )\n this.emit('session', Buffer.from('mock-session-resume'))\n }\n }\n\n private flushWriteBuffer(): void {\n for (const writeCall of this.writeBuffer) {\n if (typeof writeCall[2] === 'function') {\n writeCall[2]()\n /**\n * @note Remove the callback from the write call\n * so it doesn't get called twice on passthrough\n * if `request.end()` was called within `request.write()`.\n * @see https://github.com/mswjs/interceptors/issues/684\n */\n writeCall[2] = undefined\n }\n }\n }\n\n private onRequestStart: RequestHeadersCompleteCallback = (\n versionMajor,\n versionMinor,\n rawHeaders,\n _,\n path,\n __,\n ___,\n ____,\n shouldKeepAlive\n ) => {\n this.shouldKeepAlive = shouldKeepAlive\n\n const url = new URL(path, this.baseUrl)\n const method = this.connectionOptions.method?.toUpperCase() || 'GET'\n const headers = FetchResponse.parseRawHeaders(rawHeaders)\n const canHaveBody = method !== 'GET' && method !== 'HEAD'\n\n // Translate the basic authorization in the URL to the request header.\n // Constructing a Request instance with a URL containing auth is no-op.\n if (url.username || url.password) {\n if (!headers.has('authorization')) {\n headers.set('authorization', `Basic ${url.username}:${url.password}`)\n }\n url.username = ''\n url.password = ''\n }\n\n // Create a new stream for each request.\n // If this Socket is reused for multiple requests,\n // this ensures that each request gets its own stream.\n // One Socket instance can only handle one request at a time.\n if (canHaveBody) {\n this.requestStream = new Readable({\n /**\n * @note Provide the `read()` method so a `Readable` could be\n * used as the actual request body (the stream calls \"read()\").\n * We control the queue in the onRequestBody/End functions.\n */\n read: () => {\n // If the user attempts to read the request body,\n // flush the write buffer to trigger the callbacks.\n // This way, if the request stream ends in the write callback,\n // it will indeed end correctly.\n this.flushWriteBuffer()\n },\n })\n }\n\n const requestId = createRequestId()\n this.request = new Request(url, {\n method,\n headers,\n credentials: 'same-origin',\n // @ts-expect-error Undocumented Fetch property.\n duplex: canHaveBody ? 'half' : undefined,\n body: canHaveBody ? (Readable.toWeb(this.requestStream!) as any) : null,\n })\n\n Reflect.set(this.request, kRequestId, requestId)\n\n // Skip handling the request that's already being handled\n // by another (parent) interceptor. For example, XMLHttpRequest\n // is often implemented via ClientRequest in Node.js (e.g. JSDOM).\n // In that case, XHR interceptor will bubble down to the ClientRequest\n // interceptor. No need to try to handle that request again.\n /**\n * @fixme Stop relying on the \"X-Request-Id\" request header\n * to figure out if one interceptor has been invoked within another.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\n if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) {\n this.passthrough()\n return\n }\n\n this.onRequest({\n requestId,\n request: this.request,\n socket: this,\n })\n }\n\n private onRequestBody(chunk: Buffer): void {\n invariant(\n this.requestStream,\n 'Failed to write to a request stream: stream does not exist'\n )\n\n this.requestStream.push(chunk)\n }\n\n private onRequestEnd(): void {\n // Request end can be called for requests without body.\n if (this.requestStream) {\n this.requestStream.push(null)\n }\n }\n\n private onResponseStart: ResponseHeadersCompleteCallback = (\n versionMajor,\n versionMinor,\n rawHeaders,\n method,\n url,\n status,\n statusText\n ) => {\n const headers = FetchResponse.parseRawHeaders(rawHeaders)\n\n const response = new FetchResponse(\n /**\n * @note The Fetch API response instance exposed to the consumer\n * is created over the response stream of the HTTP parser. It is NOT\n * related to the Socket instance. This way, you can read response body\n * in response listener while the Socket instance delays the emission\n * of \"end\" and other events until those response listeners are finished.\n */\n FetchResponse.isResponseWithBody(status)\n ? (Readable.toWeb(\n (this.responseStream = new Readable({ read() {} }))\n ) as any)\n : null,\n {\n url,\n status,\n statusText,\n headers,\n }\n )\n\n invariant(\n this.request,\n 'Failed to handle a response: request does not exist'\n )\n\n /**\n * @fixme Stop relying on the \"X-Request-Id\" request header\n * to figure out if one interceptor has been invoked within another.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\n if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) {\n return\n }\n\n this.responseListenersPromise = this.onResponse({\n response,\n isMockedResponse: this.socketState === 'mock',\n requestId: Reflect.get(this.request, kRequestId),\n request: this.request,\n socket: this,\n })\n }\n\n private onResponseBody(chunk: Buffer) {\n invariant(\n this.responseStream,\n 'Failed to write to a response stream: stream does not exist'\n )\n\n this.responseStream.push(chunk)\n }\n\n private onResponseEnd(): void {\n // Response end can be called for responses without body.\n if (this.responseStream) {\n this.responseStream.push(null)\n }\n }\n}\n","import net from 'node:net'\nimport {\n normalizeSocketWriteArgs,\n type WriteArgs,\n type WriteCallback,\n} from './utils/normalizeSocketWriteArgs'\n\nexport interface MockSocketOptions {\n write: (\n chunk: Buffer | string,\n encoding: BufferEncoding | undefined,\n callback?: WriteCallback\n ) => void\n\n read: (chunk: Buffer, encoding: BufferEncoding | undefined) => void\n}\n\nexport class MockSocket extends net.Socket {\n public connecting: boolean\n\n constructor(protected readonly options: MockSocketOptions) {\n super()\n this.connecting = false\n this.connect()\n\n this._final = (callback) => {\n callback(null)\n }\n }\n\n public connect() {\n // The connection will remain pending until\n // the consumer decides to handle it.\n this.connecting = true\n return this\n }\n\n public write(...args: Array): boolean {\n const [chunk, encoding, callback] = normalizeSocketWriteArgs(\n args as WriteArgs\n )\n this.options.write(chunk, encoding, callback)\n return true\n }\n\n public end(...args: Array) {\n const [chunk, encoding, callback] = normalizeSocketWriteArgs(\n args as WriteArgs\n )\n this.options.write(chunk, encoding, callback)\n return super.end.apply(this, args as any)\n }\n\n public push(chunk: any, encoding?: BufferEncoding): boolean {\n this.options.read(chunk, encoding)\n return super.push(chunk, encoding)\n }\n}\n","export type WriteCallback = (error?: Error | null) => void\n\nexport type WriteArgs =\n | [chunk: unknown, callback?: WriteCallback]\n | [chunk: unknown, encoding: BufferEncoding, callback?: WriteCallback]\n\nexport type NormalizedSocketWriteArgs = [\n chunk: any,\n encoding?: BufferEncoding,\n callback?: WriteCallback,\n]\n\n/**\n * Normalizes the arguments provided to the `Writable.prototype.write()`\n * and `Writable.prototype.end()`.\n */\nexport function normalizeSocketWriteArgs(\n args: WriteArgs\n): NormalizedSocketWriteArgs {\n const normalized: NormalizedSocketWriteArgs = [args[0], undefined, undefined]\n\n if (typeof args[1] === 'string') {\n normalized[1] = args[1]\n } else if (typeof args[1] === 'function') {\n normalized[2] = args[1]\n }\n\n if (typeof args[2] === 'function') {\n normalized[2] = args[2]\n }\n\n return normalized\n}\n","export function baseUrlFromConnectionOptions(options: any): URL {\n if ('href' in options) {\n return new URL(options.href)\n }\n\n const protocol = options.port === 443 ? 'https:' : 'http:'\n const host = options.host\n\n const url = new URL(`${protocol}//${host}`)\n\n if (options.port) {\n url.port = options.port.toString()\n }\n\n if (options.path) {\n url.pathname = options.path\n }\n\n if (options.auth) {\n const [username, password] = options.auth.split(':')\n url.username = username\n url.password = password\n }\n\n return url\n}\n","type HeaderTuple = [string, string]\ntype RawHeaders = Array\ntype SetHeaderBehavior = 'set' | 'append'\n\nconst kRawHeaders = Symbol('kRawHeaders')\nconst kRestorePatches = Symbol('kRestorePatches')\n\nfunction recordRawHeader(\n headers: Headers,\n args: HeaderTuple,\n behavior: SetHeaderBehavior\n) {\n ensureRawHeadersSymbol(headers, [])\n const rawHeaders = Reflect.get(headers, kRawHeaders) as RawHeaders\n\n if (behavior === 'set') {\n // When recording a set header, ensure we remove any matching existing headers.\n for (let index = rawHeaders.length - 1; index >= 0; index--) {\n if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) {\n rawHeaders.splice(index, 1)\n }\n }\n }\n\n rawHeaders.push(args)\n}\n\n/**\n * Define the raw headers symbol on the given `Headers` instance.\n * If the symbol already exists, this function does nothing.\n */\nfunction ensureRawHeadersSymbol(\n headers: Headers,\n rawHeaders: RawHeaders\n): void {\n if (Reflect.has(headers, kRawHeaders)) {\n return\n }\n\n defineRawHeadersSymbol(headers, rawHeaders)\n}\n\n/**\n * Define the raw headers symbol on the given `Headers` instance.\n * If the symbol already exists, it gets overridden.\n */\nfunction defineRawHeadersSymbol(headers: Headers, rawHeaders: RawHeaders) {\n Object.defineProperty(headers, kRawHeaders, {\n value: rawHeaders,\n enumerable: false,\n // Mark the symbol as configurable so its value can be overridden.\n // Overrides happen when merging raw headers from multiple sources.\n // E.g. new Request(new Request(url, { headers }), { headers })\n configurable: true,\n })\n}\n\n/**\n * Patch the global `Headers` class to store raw headers.\n * This is for compatibility with `IncomingMessage.prototype.rawHeaders`.\n *\n * @note Node.js has their own raw headers symbol but it\n * only records the first header name in case of multi-value headers.\n * Any other headers are normalized before comparing. This makes it\n * incompatible with the `rawHeaders` format.\n *\n * let h = new Headers()\n * h.append('X-Custom', 'one')\n * h.append('x-custom', 'two')\n * h[Symbol('headers map')] // Map { 'X-Custom' => 'one, two' }\n */\nexport function recordRawFetchHeaders() {\n // Prevent patching the Headers prototype multiple times.\n if (Reflect.get(Headers, kRestorePatches)) {\n return Reflect.get(Headers, kRestorePatches)\n }\n\n const {\n Headers: OriginalHeaders,\n Request: OriginalRequest,\n Response: OriginalResponse,\n } = globalThis\n const { set, append, delete: headersDeleteMethod } = Headers.prototype\n\n Object.defineProperty(Headers, kRestorePatches, {\n value: () => {\n Headers.prototype.set = set\n Headers.prototype.append = append\n Headers.prototype.delete = headersDeleteMethod\n globalThis.Headers = OriginalHeaders\n\n globalThis.Request = OriginalRequest\n globalThis.Response = OriginalResponse\n\n Reflect.deleteProperty(Headers, kRestorePatches)\n },\n enumerable: false,\n /**\n * @note Mark this property as configurable\n * so we can delete it using `Reflect.delete` during cleanup.\n */\n configurable: true,\n })\n\n Object.defineProperty(globalThis, 'Headers', {\n enumerable: true,\n writable: true,\n value: new Proxy(Headers, {\n construct(target, args, newTarget) {\n const headersInit = args[0] || []\n\n if (\n headersInit instanceof Headers &&\n Reflect.has(headersInit, kRawHeaders)\n ) {\n const headers = Reflect.construct(\n target,\n [Reflect.get(headersInit, kRawHeaders)],\n newTarget\n )\n ensureRawHeadersSymbol(headers, [\n /**\n * @note Spread the retrieved headers to clone them.\n * This prevents multiple Headers instances from pointing\n * at the same internal \"rawHeaders\" array.\n */\n ...Reflect.get(headersInit, kRawHeaders),\n ])\n return headers\n }\n\n const headers = Reflect.construct(target, args, newTarget)\n\n // Request/Response constructors will set the symbol\n // upon creating a new instance, using the raw developer\n // input as the raw headers. Skip the symbol altogether\n // in those cases because the input to Headers will be normalized.\n if (!Reflect.has(headers, kRawHeaders)) {\n const rawHeadersInit = Array.isArray(headersInit)\n ? headersInit\n : Object.entries(headersInit)\n ensureRawHeadersSymbol(headers, rawHeadersInit)\n }\n\n return headers\n },\n }),\n })\n\n Headers.prototype.set = new Proxy(Headers.prototype.set, {\n apply(target, thisArg, args: HeaderTuple) {\n recordRawHeader(thisArg, args, 'set')\n return Reflect.apply(target, thisArg, args)\n },\n })\n\n Headers.prototype.append = new Proxy(Headers.prototype.append, {\n apply(target, thisArg, args: HeaderTuple) {\n recordRawHeader(thisArg, args, 'append')\n return Reflect.apply(target, thisArg, args)\n },\n })\n\n Headers.prototype.delete = new Proxy(Headers.prototype.delete, {\n apply(target, thisArg, args: [string]) {\n const rawHeaders = Reflect.get(thisArg, kRawHeaders) as RawHeaders\n\n if (rawHeaders) {\n for (let index = rawHeaders.length - 1; index >= 0; index--) {\n if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) {\n rawHeaders.splice(index, 1)\n }\n }\n }\n\n return Reflect.apply(target, thisArg, args)\n },\n })\n\n Object.defineProperty(globalThis, 'Request', {\n enumerable: true,\n writable: true,\n value: new Proxy(Request, {\n construct(target, args, newTarget) {\n const request = Reflect.construct(target, args, newTarget)\n const inferredRawHeaders: RawHeaders = []\n\n // Infer raw headers from a `Request` instance used as init.\n if (typeof args[0] === 'object' && args[0].headers != null) {\n inferredRawHeaders.push(...inferRawHeaders(args[0].headers))\n }\n\n // Infer raw headers from the \"headers\" init argument.\n if (typeof args[1] === 'object' && args[1].headers != null) {\n inferredRawHeaders.push(...inferRawHeaders(args[1].headers))\n }\n\n if (inferredRawHeaders.length > 0) {\n ensureRawHeadersSymbol(request.headers, inferredRawHeaders)\n }\n\n return request\n },\n }),\n })\n\n Object.defineProperty(globalThis, 'Response', {\n enumerable: true,\n writable: true,\n value: new Proxy(Response, {\n construct(target, args, newTarget) {\n const response = Reflect.construct(target, args, newTarget)\n\n if (typeof args[1] === 'object' && args[1].headers != null) {\n ensureRawHeadersSymbol(\n response.headers,\n inferRawHeaders(args[1].headers)\n )\n }\n\n return response\n },\n }),\n })\n}\n\nexport function restoreHeadersPrototype() {\n if (!Reflect.get(Headers, kRestorePatches)) {\n return\n }\n\n Reflect.get(Headers, kRestorePatches)()\n}\n\nexport function getRawFetchHeaders(headers: Headers): RawHeaders {\n // If the raw headers recording failed for some reason,\n // use the normalized header entries instead.\n if (!Reflect.has(headers, kRawHeaders)) {\n return Array.from(headers.entries())\n }\n\n const rawHeaders = Reflect.get(headers, kRawHeaders) as RawHeaders\n return rawHeaders.length > 0 ? rawHeaders : Array.from(headers.entries())\n}\n\n/**\n * Infers the raw headers from the given `HeadersInit` provided\n * to the Request/Response constructor.\n *\n * If the `init.headers` is a Headers instance, use it directly.\n * That means the headers were created standalone and already have\n * the raw headers stored.\n * If the `init.headers` is a HeadersInit, create a new Headers\n * instace out of it.\n */\nfunction inferRawHeaders(headers: HeadersInit): RawHeaders {\n if (headers instanceof Headers) {\n return Reflect.get(headers, kRawHeaders) || []\n }\n\n return Reflect.get(new Headers(headers), kRawHeaders)\n}\n","import net from 'node:net'\nimport http from 'node:http'\nimport https from 'node:https'\nimport {\n MockHttpSocket,\n type MockHttpSocketRequestCallback,\n type MockHttpSocketResponseCallback,\n} from './MockHttpSocket'\n\ndeclare module 'node:http' {\n interface Agent {\n createConnection(options: any, callback: any): net.Socket\n }\n}\n\ninterface MockAgentOptions {\n customAgent?: http.RequestOptions['agent']\n onRequest: MockHttpSocketRequestCallback\n onResponse: MockHttpSocketResponseCallback\n}\n\nexport class MockAgent extends http.Agent {\n private customAgent?: http.RequestOptions['agent']\n private onRequest: MockHttpSocketRequestCallback\n private onResponse: MockHttpSocketResponseCallback\n\n constructor(options: MockAgentOptions) {\n super()\n this.customAgent = options.customAgent\n this.onRequest = options.onRequest\n this.onResponse = options.onResponse\n }\n\n public createConnection(options: any, callback: any): net.Socket {\n const createConnection =\n (this.customAgent instanceof http.Agent &&\n this.customAgent.createConnection) ||\n super.createConnection\n\n const socket = new MockHttpSocket({\n connectionOptions: options,\n createConnection: createConnection.bind(\n this.customAgent || this,\n options,\n callback\n ),\n onRequest: this.onRequest.bind(this),\n onResponse: this.onResponse.bind(this),\n })\n\n return socket\n }\n}\n\nexport class MockHttpsAgent extends https.Agent {\n private customAgent?: https.RequestOptions['agent']\n private onRequest: MockHttpSocketRequestCallback\n private onResponse: MockHttpSocketResponseCallback\n\n constructor(options: MockAgentOptions) {\n super()\n this.customAgent = options.customAgent\n this.onRequest = options.onRequest\n this.onResponse = options.onResponse\n }\n\n public createConnection(options: any, callback: any): net.Socket {\n const createConnection =\n (this.customAgent instanceof https.Agent &&\n this.customAgent.createConnection) ||\n super.createConnection\n\n const socket = new MockHttpSocket({\n connectionOptions: options,\n createConnection: createConnection.bind(\n this.customAgent || this,\n options,\n callback\n ),\n onRequest: this.onRequest.bind(this),\n onResponse: this.onResponse.bind(this),\n })\n\n return socket\n }\n}\n","import { urlToHttpOptions } from 'node:url'\nimport {\n Agent as HttpAgent,\n globalAgent as httpGlobalAgent,\n IncomingMessage,\n} from 'node:http'\nimport {\n RequestOptions,\n Agent as HttpsAgent,\n globalAgent as httpsGlobalAgent,\n} from 'node:https'\nimport {\n /**\n * @note Use the Node.js URL instead of the global URL\n * because environments like JSDOM may override the global,\n * breaking the compatibility with Node.js.\n * @see https://github.com/node-fetch/node-fetch/issues/1376#issuecomment-966435555\n */\n URL,\n Url as LegacyURL,\n parse as parseUrl,\n} from 'node:url'\nimport { Logger } from '@open-draft/logger'\nimport {\n ResolvedRequestOptions,\n getUrlByRequestOptions,\n} from '../../../utils/getUrlByRequestOptions'\nimport { cloneObject } from '../../../utils/cloneObject'\nimport { isObject } from '../../../utils/isObject'\n\nconst logger = new Logger('http normalizeClientRequestArgs')\n\nexport type HttpRequestCallback = (response: IncomingMessage) => void\n\nexport type ClientRequestArgs =\n // Request without any arguments is also possible.\n | []\n | [string | URL | LegacyURL, HttpRequestCallback?]\n | [string | URL | LegacyURL, RequestOptions, HttpRequestCallback?]\n | [RequestOptions, HttpRequestCallback?]\n\nfunction resolveRequestOptions(\n args: ClientRequestArgs,\n url: URL\n): RequestOptions {\n // Calling `fetch` provides only URL to `ClientRequest`\n // without any `RequestOptions` or callback.\n if (typeof args[1] === 'undefined' || typeof args[1] === 'function') {\n logger.info('request options not provided, deriving from the url', url)\n return urlToHttpOptions(url)\n }\n\n if (args[1]) {\n logger.info('has custom RequestOptions!', args[1])\n const requestOptionsFromUrl = urlToHttpOptions(url)\n\n logger.info('derived RequestOptions from the URL:', requestOptionsFromUrl)\n\n /**\n * Clone the request options to lock their state\n * at the moment they are provided to `ClientRequest`.\n * @see https://github.com/mswjs/interceptors/issues/86\n */\n logger.info('cloning RequestOptions...')\n const clonedRequestOptions = cloneObject(args[1])\n logger.info('successfully cloned RequestOptions!', clonedRequestOptions)\n\n return {\n ...requestOptionsFromUrl,\n ...clonedRequestOptions,\n }\n }\n\n logger.info('using an empty object as request options')\n return {} as RequestOptions\n}\n\n/**\n * Overrides the given `URL` instance with the explicit properties provided\n * on the `RequestOptions` object. The options object takes precedence,\n * and will replace URL properties like \"host\", \"path\", and \"port\", if specified.\n */\nfunction overrideUrlByRequestOptions(url: URL, options: RequestOptions): URL {\n url.host = options.host || url.host\n url.hostname = options.hostname || url.hostname\n url.port = options.port ? options.port.toString() : url.port\n\n if (options.path) {\n const parsedOptionsPath = parseUrl(options.path, false)\n url.pathname = parsedOptionsPath.pathname || ''\n url.search = parsedOptionsPath.search || ''\n }\n\n return url\n}\n\nfunction resolveCallback(\n args: ClientRequestArgs\n): HttpRequestCallback | undefined {\n return typeof args[1] === 'function' ? args[1] : args[2]\n}\n\nexport type NormalizedClientRequestArgs = [\n url: URL,\n options: ResolvedRequestOptions,\n callback?: HttpRequestCallback\n]\n\n/**\n * Normalizes parameters given to a `http.request` call\n * so it always has a `URL` and `RequestOptions`.\n */\nexport function normalizeClientRequestArgs(\n defaultProtocol: string,\n args: ClientRequestArgs\n): NormalizedClientRequestArgs {\n let url: URL\n let options: ResolvedRequestOptions\n let callback: HttpRequestCallback | undefined\n\n logger.info('arguments', args)\n logger.info('using default protocol:', defaultProtocol)\n\n // Support \"http.request()\" calls without any arguments.\n // That call results in a \"GET http://localhost\" request.\n if (args.length === 0) {\n const url = new URL('http://localhost')\n const options = resolveRequestOptions(args, url)\n return [url, options]\n }\n\n // Convert a url string into a URL instance\n // and derive request options from it.\n if (typeof args[0] === 'string') {\n logger.info('first argument is a location string:', args[0])\n\n url = new URL(args[0])\n logger.info('created a url:', url)\n\n const requestOptionsFromUrl = urlToHttpOptions(url)\n logger.info('request options from url:', requestOptionsFromUrl)\n\n options = resolveRequestOptions(args, url)\n logger.info('resolved request options:', options)\n\n callback = resolveCallback(args)\n }\n // Handle a given URL instance as-is\n // and derive request options from it.\n else if (args[0] instanceof URL) {\n url = args[0]\n logger.info('first argument is a URL:', url)\n\n // Check if the second provided argument is RequestOptions.\n // If it is, check if \"options.path\" was set and rewrite it\n // on the input URL.\n // Do this before resolving options from the URL below\n // to prevent query string from being duplicated in the path.\n if (typeof args[1] !== 'undefined' && isObject(args[1])) {\n url = overrideUrlByRequestOptions(url, args[1])\n }\n\n options = resolveRequestOptions(args, url)\n logger.info('derived request options:', options)\n\n callback = resolveCallback(args)\n }\n // Handle a legacy URL instance and re-normalize from either a RequestOptions object\n // or a WHATWG URL.\n else if ('hash' in args[0] && !('method' in args[0])) {\n const [legacyUrl] = args\n logger.info('first argument is a legacy URL:', legacyUrl)\n\n if (legacyUrl.hostname === null) {\n /**\n * We are dealing with a relative url, so use the path as an \"option\" and\n * merge in any existing options, giving priority to exising options -- i.e. a path in any\n * existing options will take precedence over the one contained in the url. This is consistent\n * with the behaviour in ClientRequest.\n * @see https://github.com/nodejs/node/blob/d84f1312915fe45fe0febe888db692c74894c382/lib/_http_client.js#L122\n */\n logger.info('given legacy URL is relative (no hostname)')\n\n return isObject(args[1])\n ? normalizeClientRequestArgs(defaultProtocol, [\n { path: legacyUrl.path, ...args[1] },\n args[2],\n ])\n : normalizeClientRequestArgs(defaultProtocol, [\n { path: legacyUrl.path },\n args[1] as HttpRequestCallback,\n ])\n }\n\n logger.info('given legacy url is absolute')\n\n // We are dealing with an absolute URL, so convert to WHATWG and try again.\n const resolvedUrl = new URL(legacyUrl.href)\n\n return args[1] === undefined\n ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl])\n : typeof args[1] === 'function'\n ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl, args[1]])\n : normalizeClientRequestArgs(defaultProtocol, [\n resolvedUrl,\n args[1],\n args[2],\n ])\n }\n // Handle a given \"RequestOptions\" object as-is\n // and derive the URL instance from it.\n else if (isObject(args[0])) {\n options = { ...(args[0] as any) }\n logger.info('first argument is RequestOptions:', options)\n\n // When handling a \"RequestOptions\" object without an explicit \"protocol\",\n // infer the protocol from the request issuing module (http/https).\n options.protocol = options.protocol || defaultProtocol\n logger.info('normalized request options:', options)\n\n url = getUrlByRequestOptions(options)\n logger.info('created a URL from RequestOptions:', url.href)\n\n callback = resolveCallback(args)\n } else {\n throw new Error(\n `Failed to construct ClientRequest with these parameters: ${args}`\n )\n }\n\n options.protocol = options.protocol || url.protocol\n options.method = options.method || 'GET'\n\n /**\n * Infer a fallback agent from the URL protocol.\n * The interception is done on the \"ClientRequest\" level (\"NodeClientRequest\")\n * and it may miss the correct agent. Always align the agent\n * with the URL protocol, if not provided.\n *\n * @note Respect the \"agent: false\" value.\n */\n if (typeof options.agent === 'undefined') {\n const agent =\n options.protocol === 'https:'\n ? new HttpsAgent({\n rejectUnauthorized: options.rejectUnauthorized,\n })\n : new HttpAgent()\n\n options.agent = agent\n logger.info('resolved fallback agent:', agent)\n }\n\n /**\n * Ensure that the default Agent is always set.\n * This prevents the protocol mismatch for requests with { agent: false },\n * where the global Agent is inferred.\n * @see https://github.com/mswjs/msw/issues/1150\n * @see https://github.com/nodejs/node/blob/418ff70b810f0e7112d48baaa72932a56cfa213b/lib/_http_client.js#L130\n * @see https://github.com/nodejs/node/blob/418ff70b810f0e7112d48baaa72932a56cfa213b/lib/_http_client.js#L157-L159\n */\n if (!options._defaultAgent) {\n logger.info(\n 'has no default agent, setting the default agent for \"%s\"',\n options.protocol\n )\n\n options._defaultAgent =\n options.protocol === 'https:' ? httpsGlobalAgent : httpGlobalAgent\n }\n\n logger.info('successfully resolved url:', url.href)\n logger.info('successfully resolved options:', options)\n logger.info('successfully resolved callback:', callback)\n\n /**\n * @note If the user-provided URL is not a valid URL in Node.js,\n * (e.g. the one provided by the JSDOM polyfills), case it to\n * string. Otherwise, this throws on Node.js incompatibility\n * (`ERR_INVALID_ARG_TYPE` on the connection listener)\n * @see https://github.com/node-fetch/node-fetch/issues/1376#issuecomment-966435555\n */\n if (!(url instanceof URL)) {\n url = (url as any).toString()\n }\n\n return [url, options, callback]\n}\n","import { Agent } from 'http'\nimport { RequestOptions, Agent as HttpsAgent } from 'https'\nimport { Logger } from '@open-draft/logger'\n\nconst logger = new Logger('utils getUrlByRequestOptions')\n\n// Request instance constructed by the \"request\" library\n// has a \"self\" property that has a \"uri\" field. This is\n// reproducible by performing a \"XMLHttpRequest\" request in JSDOM.\nexport interface RequestSelf {\n uri?: URL\n}\n\nexport type ResolvedRequestOptions = RequestOptions & RequestSelf\n\nexport const DEFAULT_PATH = '/'\nconst DEFAULT_PROTOCOL = 'http:'\nconst DEFAULT_HOSTNAME = 'localhost'\nconst SSL_PORT = 443\n\nfunction getAgent(\n options: ResolvedRequestOptions\n): Agent | HttpsAgent | undefined {\n return options.agent instanceof Agent ? options.agent : undefined\n}\n\nfunction getProtocolByRequestOptions(options: ResolvedRequestOptions): string {\n if (options.protocol) {\n return options.protocol\n }\n\n const agent = getAgent(options)\n const agentProtocol = (agent as RequestOptions)?.protocol\n\n if (agentProtocol) {\n return agentProtocol\n }\n\n const port = getPortByRequestOptions(options)\n const isSecureRequest = options.cert || port === SSL_PORT\n\n return isSecureRequest ? 'https:' : options.uri?.protocol || DEFAULT_PROTOCOL\n}\n\nfunction getPortByRequestOptions(\n options: ResolvedRequestOptions\n): number | undefined {\n // Use the explicitly provided port.\n if (options.port) {\n return Number(options.port)\n }\n\n // Otherwise, try to resolve port from the agent.\n const agent = getAgent(options)\n\n if ((agent as HttpsAgent)?.options.port) {\n return Number((agent as HttpsAgent).options.port)\n }\n\n if ((agent as RequestOptions)?.defaultPort) {\n return Number((agent as RequestOptions).defaultPort)\n }\n\n // Lastly, return undefined indicating that the port\n // must inferred from the protocol. Do not infer it here.\n return undefined\n}\n\ninterface RequestAuth {\n username: string\n password: string\n}\n\nfunction getAuthByRequestOptions(\n options: ResolvedRequestOptions\n): RequestAuth | undefined {\n if (options.auth) {\n const [username, password] = options.auth.split(':')\n return { username, password }\n }\n}\n\n/**\n * Returns true if host looks like an IPv6 address without surrounding brackets\n * It assumes any host containing `:` is definitely not IPv4 and probably IPv6,\n * but note that this could include invalid IPv6 addresses as well.\n */\nfunction isRawIPv6Address(host: string): boolean {\n return host.includes(':') && !host.startsWith('[') && !host.endsWith(']')\n}\n\nfunction getHostname(options: ResolvedRequestOptions): string | undefined {\n let host = options.hostname || options.host\n\n if (host) {\n if (isRawIPv6Address(host)) {\n host = `[${host}]`\n }\n\n // Check the presence of the port, and if it's present,\n // remove it from the host, returning a hostname.\n return new URL(`http://${host}`).hostname\n }\n\n return DEFAULT_HOSTNAME\n}\n\n/**\n * Creates a `URL` instance from a given `RequestOptions` object.\n */\nexport function getUrlByRequestOptions(options: ResolvedRequestOptions): URL {\n logger.info('request options', options)\n\n if (options.uri) {\n logger.info(\n 'constructing url from explicitly provided \"options.uri\": %s',\n options.uri\n )\n return new URL(options.uri.href)\n }\n\n logger.info('figuring out url from request options...')\n\n const protocol = getProtocolByRequestOptions(options)\n logger.info('protocol', protocol)\n\n const port = getPortByRequestOptions(options)\n logger.info('port', port)\n\n const hostname = getHostname(options)\n logger.info('hostname', hostname)\n\n const path = options.path || DEFAULT_PATH\n logger.info('path', path)\n\n const credentials = getAuthByRequestOptions(options)\n logger.info('credentials', credentials)\n\n const authString = credentials\n ? `${credentials.username}:${credentials.password}@`\n : ''\n logger.info('auth string:', authString)\n\n const portString = typeof port !== 'undefined' ? `:${port}` : ''\n const url = new URL(`${protocol}//${hostname}${portString}${path}`)\n url.username = credentials?.username || ''\n url.password = credentials?.password || ''\n\n logger.info('created url:', url)\n\n return url\n}\n","import { Logger } from '@open-draft/logger'\n\nconst logger = new Logger('cloneObject')\n\nfunction isPlainObject(obj?: Record): boolean {\n logger.info('is plain object?', obj)\n\n if (obj == null || !obj.constructor?.name) {\n logger.info('given object is undefined, not a plain object...')\n return false\n }\n\n logger.info('checking the object constructor:', obj.constructor.name)\n return obj.constructor.name === 'Object'\n}\n\nexport function cloneObject>(\n obj: ObjectType\n): ObjectType {\n logger.info('cloning object:', obj)\n\n const enumerableProperties = Object.entries(obj).reduce>(\n (acc, [key, value]) => {\n logger.info('analyzing key-value pair:', key, value)\n\n // Recursively clone only plain objects, omitting class instances.\n acc[key] = isPlainObject(value) ? cloneObject(value) : value\n return acc\n },\n {}\n )\n\n return isPlainObject(obj)\n ? enumerableProperties\n : Object.assign(Object.getPrototypeOf(obj), enumerableProperties)\n}\n","/**\n * Determines if a given value is an instance of object.\n */\nexport function isObject(value: any, loose = false): value is T {\n return loose\n ? Object.prototype.toString.call(value).startsWith('[object ')\n : Object.prototype.toString.call(value) === '[object Object]'\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,OAAOA,WAAU;AACjB,OAAOC,YAAW;;;ACDlB,OAAOC,UAAS;AAChB;AAAA,EACE;AAAA,OAGK;AACP,SAAS,cAAc,iBAAiB,sBAAsB;A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AM,MAAM,IAAI,MAAMA,OAAM,KAAK;AAAA,MAC/B,OAAO,CAAC,QAAQ,SAAS,SAAuC;AAC9D,cAAM,CAAC,KAAK,SAAS,QAAQ,IAAI;AAAA,UAC/B;AAAA,UACA;AAAA,QACF;AAEA,cAAM,YAAY,IAAI,eAAe;AAAA,UACnC,aAAa,QAAQ;AAAA,UACrB;AAAA,UACA;AAAA,QACF,CAAC;AACD,gBAAQ,QAAQ;AAEhB,eAAO,QAAQ,MAAM,QAAQ,SAAS,CAAC,KAAK,SAAS,QAAQ,CAAC;AAAA,MAChE;AAAA,IACF,CAAC;AAKD,0BAAsB;AAEtB,SAAK,cAAc,KAAK,MAAM;AAC5B,MAAAD,MAAK,MAAM;AACX,MAAAA,MAAK,UAAU;AAEf,MAAAC,OAAM,MAAM;AACZ,MAAAA,OAAM,UAAU;AAEhB,8BAAwB;AAAA,IAC1B,CAAC;AAAA,EACH;AA+CF;AAtJO,IAAM,2BAAN;AAAM,yBACJ,SAAS,OAAO,4BAA4B;","names":["http","https","net","headers","net","URL","Logger","Logger","logger","logger","Logger","url","URL","options","http","https"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs b/node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs new file mode 100644 index 0000000000..f42b2faa86 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs @@ -0,0 +1,25 @@ +// src/utils/hasConfigurableGlobal.ts +function hasConfigurableGlobal(propertyName) { + const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName); + if (typeof descriptor === "undefined") { + return false; + } + if (typeof descriptor.get === "function" && typeof descriptor.get() === "undefined") { + return false; + } + if (typeof descriptor.get === "undefined" && descriptor.value == null) { + return false; + } + if (typeof descriptor.set === "undefined" && !descriptor.configurable) { + console.error( + `[MSW] Failed to apply interceptor: the global \`${propertyName}\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.` + ); + return false; + } + return true; +} + +export { + hasConfigurableGlobal +}; +//# sourceMappingURL=chunk-TX5GBTFY.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs.map b/node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs.map new file mode 100644 index 0000000000..c5a9cb80f9 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-TX5GBTFY.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/hasConfigurableGlobal.ts"],"sourcesContent":["/**\n * Returns a boolean indicating whether the given global property\n * is defined and is configurable.\n */\nexport function hasConfigurableGlobal(propertyName: string): boolean {\n const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName)\n\n // The property is not set at all.\n if (typeof descriptor === 'undefined') {\n return false\n }\n\n // The property is set to a getter that returns undefined.\n if (\n typeof descriptor.get === 'function' &&\n typeof descriptor.get() === 'undefined'\n ) {\n return false\n }\n\n // The property is set to a value equal to undefined.\n if (typeof descriptor.get === 'undefined' && descriptor.value == null) {\n return false\n }\n\n if (typeof descriptor.set === 'undefined' && !descriptor.configurable) {\n console.error(\n `[MSW] Failed to apply interceptor: the global \\`${propertyName}\\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.`\n )\n return false\n }\n\n return true\n}\n"],"mappings":";AAIO,SAAS,sBAAsB,cAA+B;AACnE,QAAM,aAAa,OAAO,yBAAyB,YAAY,YAAY;AAG3E,MAAI,OAAO,eAAe,aAAa;AACrC,WAAO;AAAA,EACT;AAGA,MACE,OAAO,WAAW,QAAQ,cAC1B,OAAO,WAAW,IAAI,MAAM,aAC5B;AACA,WAAO;AAAA,EACT;AAGA,MAAI,OAAO,WAAW,QAAQ,eAAe,WAAW,SAAS,MAAM;AACrE,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,WAAW,QAAQ,eAAe,CAAC,WAAW,cAAc;AACrE,YAAQ;AAAA,MACN,mDAAmD;AAAA,IACrD;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js b/node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js new file mode 100644 index 0000000000..9230ad0c32 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js @@ -0,0 +1,245 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/Interceptor.ts +var _logger = require('@open-draft/logger'); +var _stricteventemitter = require('strict-event-emitter'); +var INTERNAL_REQUEST_ID_HEADER_NAME = "x-interceptors-internal-request-id"; +function getGlobalSymbol(symbol) { + return ( + // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587 + globalThis[symbol] || void 0 + ); +} +function setGlobalSymbol(symbol, value) { + globalThis[symbol] = value; +} +function deleteGlobalSymbol(symbol) { + delete globalThis[symbol]; +} +var InterceptorReadyState = /* @__PURE__ */ ((InterceptorReadyState2) => { + InterceptorReadyState2["INACTIVE"] = "INACTIVE"; + InterceptorReadyState2["APPLYING"] = "APPLYING"; + InterceptorReadyState2["APPLIED"] = "APPLIED"; + InterceptorReadyState2["DISPOSING"] = "DISPOSING"; + InterceptorReadyState2["DISPOSED"] = "DISPOSED"; + return InterceptorReadyState2; +})(InterceptorReadyState || {}); +var Interceptor = class { + constructor(symbol) { + this.symbol = symbol; + this.readyState = "INACTIVE" /* INACTIVE */; + this.emitter = new (0, _stricteventemitter.Emitter)(); + this.subscriptions = []; + this.logger = new (0, _logger.Logger)(symbol.description); + this.emitter.setMaxListeners(0); + this.logger.info("constructing the interceptor..."); + } + /** + * Determine if this interceptor can be applied + * in the current environment. + */ + checkEnvironment() { + return true; + } + /** + * Apply this interceptor to the current process. + * Returns an already running interceptor instance if it's present. + */ + apply() { + const logger = this.logger.extend("apply"); + logger.info("applying the interceptor..."); + if (this.readyState === "APPLIED" /* APPLIED */) { + logger.info("intercepted already applied!"); + return; + } + const shouldApply = this.checkEnvironment(); + if (!shouldApply) { + logger.info("the interceptor cannot be applied in this environment!"); + return; + } + this.readyState = "APPLYING" /* APPLYING */; + const runningInstance = this.getInstance(); + if (runningInstance) { + logger.info("found a running instance, reusing..."); + this.on = (event, listener) => { + logger.info('proxying the "%s" listener', event); + runningInstance.emitter.addListener(event, listener); + this.subscriptions.push(() => { + runningInstance.emitter.removeListener(event, listener); + logger.info('removed proxied "%s" listener!', event); + }); + return this; + }; + this.readyState = "APPLIED" /* APPLIED */; + return; + } + logger.info("no running instance found, setting up a new instance..."); + this.setup(); + this.setInstance(); + this.readyState = "APPLIED" /* APPLIED */; + } + /** + * Setup the module augments and stubs necessary for this interceptor. + * This method is not run if there's a running interceptor instance + * to prevent instantiating an interceptor multiple times. + */ + setup() { + } + /** + * Listen to the interceptor's public events. + */ + on(event, listener) { + const logger = this.logger.extend("on"); + if (this.readyState === "DISPOSING" /* DISPOSING */ || this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot listen to events, already disposed!"); + return this; + } + logger.info('adding "%s" event listener:', event, listener); + this.emitter.on(event, listener); + return this; + } + once(event, listener) { + this.emitter.once(event, listener); + return this; + } + off(event, listener) { + this.emitter.off(event, listener); + return this; + } + removeAllListeners(event) { + this.emitter.removeAllListeners(event); + return this; + } + /** + * Disposes of any side-effects this interceptor has introduced. + */ + dispose() { + const logger = this.logger.extend("dispose"); + if (this.readyState === "DISPOSED" /* DISPOSED */) { + logger.info("cannot dispose, already disposed!"); + return; + } + logger.info("disposing the interceptor..."); + this.readyState = "DISPOSING" /* DISPOSING */; + if (!this.getInstance()) { + logger.info("no interceptors running, skipping dispose..."); + return; + } + this.clearInstance(); + logger.info("global symbol deleted:", getGlobalSymbol(this.symbol)); + if (this.subscriptions.length > 0) { + logger.info("disposing of %d subscriptions...", this.subscriptions.length); + for (const dispose of this.subscriptions) { + dispose(); + } + this.subscriptions = []; + logger.info("disposed of all subscriptions!", this.subscriptions.length); + } + this.emitter.removeAllListeners(); + logger.info("destroyed the listener!"); + this.readyState = "DISPOSED" /* DISPOSED */; + } + getInstance() { + var _a; + const instance = getGlobalSymbol(this.symbol); + this.logger.info("retrieved global instance:", (_a = instance == null ? void 0 : instance.constructor) == null ? void 0 : _a.name); + return instance; + } + setInstance() { + setGlobalSymbol(this.symbol, this); + this.logger.info("set global instance!", this.symbol.description); + } + clearInstance() { + deleteGlobalSymbol(this.symbol); + this.logger.info("cleared global instance!", this.symbol.description); + } +}; + +// src/createRequestId.ts +function createRequestId() { + return Math.random().toString(16).slice(2); +} + +// src/utils/fetchUtils.ts +var _FetchResponse = class extends Response { + static isConfigurableStatusCode(status) { + return status >= 200 && status <= 599; + } + static isRedirectResponse(status) { + return _FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status); + } + /** + * Returns a boolean indicating whether the given response status + * code represents a response that can have a body. + */ + static isResponseWithBody(status) { + return !_FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status); + } + static setUrl(url, response) { + if (!url) { + return; + } + if (response.url != "") { + return; + } + Object.defineProperty(response, "url", { + value: url, + enumerable: true, + configurable: true, + writable: false + }); + } + /** + * Parses the given raw HTTP headers into a Fetch API `Headers` instance. + */ + static parseRawHeaders(rawHeaders) { + const headers = new Headers(); + for (let line = 0; line < rawHeaders.length; line += 2) { + headers.append(rawHeaders[line], rawHeaders[line + 1]); + } + return headers; + } + constructor(body, init = {}) { + var _a; + const status = (_a = init.status) != null ? _a : 200; + const safeStatus = _FetchResponse.isConfigurableStatusCode(status) ? status : 200; + const finalBody = _FetchResponse.isResponseWithBody(status) ? body : null; + super(finalBody, { + ...init, + status: safeStatus + }); + if (status !== safeStatus) { + const stateSymbol = Object.getOwnPropertySymbols(this).find( + (symbol) => symbol.description === "state" + ); + if (stateSymbol) { + const state = Reflect.get(this, stateSymbol); + Reflect.set(state, "status", status); + } else { + Object.defineProperty(this, "status", { + value: status, + enumerable: true, + configurable: true, + writable: false + }); + } + } + _FetchResponse.setUrl(init.url, this); + } +}; +var FetchResponse = _FetchResponse; +/** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ +FetchResponse.STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]; +FetchResponse.STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]; + + + + + + + + + +exports.INTERNAL_REQUEST_ID_HEADER_NAME = INTERNAL_REQUEST_ID_HEADER_NAME; exports.getGlobalSymbol = getGlobalSymbol; exports.deleteGlobalSymbol = deleteGlobalSymbol; exports.InterceptorReadyState = InterceptorReadyState; exports.Interceptor = Interceptor; exports.createRequestId = createRequestId; exports.FetchResponse = FetchResponse; +//# sourceMappingURL=chunk-WZTE4PCO.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js.map new file mode 100644 index 0000000000..f10d0d5c84 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-WZTE4PCO.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/Interceptor.ts","../../src/createRequestId.ts","../../src/utils/fetchUtils.ts"],"names":["InterceptorReadyState"],"mappings":";AAAA,SAAS,cAAc;AACvB,SAAS,eAAyB;AAY3B,IAAM,kCACX;AAEK,SAAS,gBAAmB,QAA+B;AAChE;AAAA;AAAA,IAEE,WAAW,MAAM,KAAK;AAAA;AAE1B;AAEA,SAAS,gBAAgB,QAAgB,OAAkB;AAEzD,aAAW,MAAM,IAAI;AACvB;AAEO,SAAS,mBAAmB,QAAsB;AAEvD,SAAO,WAAW,MAAM;AAC1B;AAEO,IAAK,wBAAL,kBAAKA,2BAAL;AACL,EAAAA,uBAAA,cAAW;AACX,EAAAA,uBAAA,cAAW;AACX,EAAAA,uBAAA,aAAU;AACV,EAAAA,uBAAA,eAAY;AACZ,EAAAA,uBAAA,cAAW;AALD,SAAAA;AAAA,GAAA;AAWL,IAAM,cAAN,MAAsD;AA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UAAK,WAAL,YAAe;AAC9B,UAAM,aAAa,eAAc,yBAAyB,MAAM,IAC5D,SACA;AACJ,UAAM,YAAY,eAAc,mBAAmB,MAAM,IAAI,OAAO;AAEpE,UAAM,WAAW;AAAA,MACf,GAAG;AAAA,MACH,QAAQ;AAAA,IACV,CAAC;AAED,QAAI,WAAW,YAAY;AAKzB,YAAM,cAAc,OAAO,sBAAsB,IAAI,EAAE;AAAA,QACrD,CAAC,WAAW,OAAO,gBAAgB;AAAA,MACrC;AACA,UAAI,aAAa;AACf,cAAM,QAAQ,QAAQ,IAAI,MAAM,WAAW;AAC3C,gBAAQ,IAAI,OAAO,UAAU,MAAM;AAAA,MACrC,OAAO;AACL,eAAO,eAAe,MAAM,UAAU;AAAA,UACpC,OAAO;AAAA,UACP,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,UAAU;AAAA,QACZ,CAAC;AAAA,MACH;AAAA,IACF;AAEA,mBAAc,OAAO,KAAK,KAAK,IAAI;AAAA,EACrC;AACF;AAxFO,IAAM,gBAAN;AAAA;AAAA;AAAA;AAAA;AAAM,cAKK,4BAA4B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG;AALzD,cAOK,6BAA6B,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG","sourcesContent":["import { Logger } from '@open-draft/logger'\nimport { Emitter, Listener } from 'strict-event-emitter'\n\nexport type InterceptorEventMap = Record\nexport type InterceptorSubscription = () => void\n\n/**\n * Request header name to detect when a single request\n * is being handled by nested interceptors (XHR -> ClientRequest).\n * Obscure by design to prevent collisions with user-defined headers.\n * Ideally, come up with the Interceptor-level mechanism for this.\n * @see https://github.com/mswjs/interceptors/issues/378\n */\nexport const INTERNAL_REQUEST_ID_HEADER_NAME =\n 'x-interceptors-internal-request-id'\n\nexport function getGlobalSymbol(symbol: Symbol): V | undefined {\n return (\n // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587\n globalThis[symbol] || undefined\n )\n}\n\nfunction setGlobalSymbol(symbol: Symbol, value: any): void {\n // @ts-ignore\n globalThis[symbol] = value\n}\n\nexport function deleteGlobalSymbol(symbol: Symbol): void {\n // @ts-ignore\n delete globalThis[symbol]\n}\n\nexport enum InterceptorReadyState {\n INACTIVE = 'INACTIVE',\n APPLYING = 'APPLYING',\n APPLIED = 'APPLIED',\n DISPOSING = 'DISPOSING',\n DISPOSED = 'DISPOSED',\n}\n\nexport type ExtractEventNames> =\n Events extends Record ? EventName : never\n\nexport class Interceptor {\n protected emitter: Emitter\n protected subscriptions: Array\n protected logger: Logger\n\n public readyState: InterceptorReadyState\n\n constructor(private readonly symbol: symbol) {\n this.readyState = InterceptorReadyState.INACTIVE\n\n this.emitter = new Emitter()\n this.subscriptions = []\n this.logger = new Logger(symbol.description!)\n\n // Do not limit the maximum number of listeners\n // so not to limit the maximum amount of parallel events emitted.\n this.emitter.setMaxListeners(0)\n\n this.logger.info('constructing the interceptor...')\n }\n\n /**\n * Determine if this interceptor can be applied\n * in the current environment.\n */\n protected checkEnvironment(): boolean {\n return true\n }\n\n /**\n * Apply this interceptor to the current process.\n * Returns an already running interceptor instance if it's present.\n */\n public apply(): void {\n const logger = this.logger.extend('apply')\n logger.info('applying the interceptor...')\n\n if (this.readyState === InterceptorReadyState.APPLIED) {\n logger.info('intercepted already applied!')\n return\n }\n\n const shouldApply = this.checkEnvironment()\n\n if (!shouldApply) {\n logger.info('the interceptor cannot be applied in this environment!')\n return\n }\n\n this.readyState = InterceptorReadyState.APPLYING\n\n // Whenever applying a new interceptor, check if it hasn't been applied already.\n // This enables to apply the same interceptor multiple times, for example from a different\n // interceptor, only proxying events but keeping the stubs in a single place.\n const runningInstance = this.getInstance()\n\n if (runningInstance) {\n logger.info('found a running instance, reusing...')\n\n // Proxy any listeners you set on this instance to the running instance.\n this.on = (event, listener) => {\n logger.info('proxying the \"%s\" listener', event)\n\n // Add listeners to the running instance so they appear\n // at the top of the event listeners list and are executed first.\n runningInstance.emitter.addListener(event, listener)\n\n // Ensure that once this interceptor instance is disposed,\n // it removes all listeners it has appended to the running interceptor instance.\n this.subscriptions.push(() => {\n runningInstance.emitter.removeListener(event, listener)\n logger.info('removed proxied \"%s\" listener!', event)\n })\n\n return this\n }\n\n this.readyState = InterceptorReadyState.APPLIED\n\n return\n }\n\n logger.info('no running instance found, setting up a new instance...')\n\n // Setup the interceptor.\n this.setup()\n\n // Store the newly applied interceptor instance globally.\n this.setInstance()\n\n this.readyState = InterceptorReadyState.APPLIED\n }\n\n /**\n * Setup the module augments and stubs necessary for this interceptor.\n * This method is not run if there's a running interceptor instance\n * to prevent instantiating an interceptor multiple times.\n */\n protected setup(): void {}\n\n /**\n * Listen to the interceptor's public events.\n */\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n const logger = this.logger.extend('on')\n\n if (\n this.readyState === InterceptorReadyState.DISPOSING ||\n this.readyState === InterceptorReadyState.DISPOSED\n ) {\n logger.info('cannot listen to events, already disposed!')\n return this\n }\n\n logger.info('adding \"%s\" event listener:', event, listener)\n\n this.emitter.on(event, listener)\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.once(event, listener)\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n this.emitter.off(event, listener)\n return this\n }\n\n public removeAllListeners>(\n event?: EventName\n ): this {\n this.emitter.removeAllListeners(event)\n return this\n }\n\n /**\n * Disposes of any side-effects this interceptor has introduced.\n */\n public dispose(): void {\n const logger = this.logger.extend('dispose')\n\n if (this.readyState === InterceptorReadyState.DISPOSED) {\n logger.info('cannot dispose, already disposed!')\n return\n }\n\n logger.info('disposing the interceptor...')\n this.readyState = InterceptorReadyState.DISPOSING\n\n if (!this.getInstance()) {\n logger.info('no interceptors running, skipping dispose...')\n return\n }\n\n // Delete the global symbol as soon as possible,\n // indicating that the interceptor is no longer running.\n this.clearInstance()\n\n logger.info('global symbol deleted:', getGlobalSymbol(this.symbol))\n\n if (this.subscriptions.length > 0) {\n logger.info('disposing of %d subscriptions...', this.subscriptions.length)\n\n for (const dispose of this.subscriptions) {\n dispose()\n }\n\n this.subscriptions = []\n\n logger.info('disposed of all subscriptions!', this.subscriptions.length)\n }\n\n this.emitter.removeAllListeners()\n logger.info('destroyed the listener!')\n\n this.readyState = InterceptorReadyState.DISPOSED\n }\n\n private getInstance(): this | undefined {\n const instance = getGlobalSymbol(this.symbol)\n this.logger.info('retrieved global instance:', instance?.constructor?.name)\n return instance\n }\n\n private setInstance(): void {\n setGlobalSymbol(this.symbol, this)\n this.logger.info('set global instance!', this.symbol.description)\n }\n\n private clearInstance(): void {\n deleteGlobalSymbol(this.symbol)\n this.logger.info('cleared global instance!', this.symbol.description)\n }\n}\n","/**\n * Generate a random ID string to represent a request.\n * @example\n * createRequestId()\n * // \"f774b6c9c600f\"\n */\nexport function createRequestId(): string {\n return Math.random().toString(16).slice(2)\n}\n","export interface FetchResponseInit extends ResponseInit {\n url?: string\n}\n\nexport class FetchResponse extends Response {\n /**\n * Response status codes for responses that cannot have body.\n * @see https://fetch.spec.whatwg.org/#statuses\n */\n static readonly STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304]\n\n static readonly STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308]\n\n static isConfigurableStatusCode(status: number): boolean {\n return status >= 200 && status <= 599\n }\n\n static isRedirectResponse(status: number): boolean {\n return FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status)\n }\n\n /**\n * Returns a boolean indicating whether the given response status\n * code represents a response that can have a body.\n */\n static isResponseWithBody(status: number): boolean {\n return !FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status)\n }\n\n static setUrl(url: string | undefined, response: Response): void {\n if (!url) {\n return\n }\n\n if (response.url != '') {\n return\n }\n\n Object.defineProperty(response, 'url', {\n value: url,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n\n /**\n * Parses the given raw HTTP headers into a Fetch API `Headers` instance.\n */\n static parseRawHeaders(rawHeaders: Array): Headers {\n const headers = new Headers()\n for (let line = 0; line < rawHeaders.length; line += 2) {\n headers.append(rawHeaders[line], rawHeaders[line + 1])\n }\n return headers\n }\n\n constructor(body?: BodyInit | null, init: FetchResponseInit = {}) {\n const status = init.status ?? 200\n const safeStatus = FetchResponse.isConfigurableStatusCode(status)\n ? status\n : 200\n const finalBody = FetchResponse.isResponseWithBody(status) ? body : null\n\n super(finalBody, {\n ...init,\n status: safeStatus,\n })\n\n if (status !== safeStatus) {\n /**\n * @note Undici keeps an internal \"Symbol(state)\" that holds\n * the actual value of response status. Update that in Node.js.\n */\n const stateSymbol = Object.getOwnPropertySymbols(this).find(\n (symbol) => symbol.description === 'state'\n )\n if (stateSymbol) {\n const state = Reflect.get(this, stateSymbol) as object\n Reflect.set(state, 'status', status)\n } else {\n Object.defineProperty(this, 'status', {\n value: status,\n enumerable: true,\n configurable: true,\n writable: false,\n })\n }\n }\n\n FetchResponse.setUrl(init.url, this)\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js b/node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js new file mode 100644 index 0000000000..b44060531b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js @@ -0,0 +1,51 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkWZTE4PCOjs = require('./chunk-WZTE4PCO.js'); + +// src/BatchInterceptor.ts +var BatchInterceptor = class extends _chunkWZTE4PCOjs.Interceptor { + constructor(options) { + BatchInterceptor.symbol = Symbol(options.name); + super(BatchInterceptor.symbol); + this.interceptors = options.interceptors; + } + setup() { + const logger = this.logger.extend("setup"); + logger.info("applying all %d interceptors...", this.interceptors.length); + for (const interceptor of this.interceptors) { + logger.info('applying "%s" interceptor...', interceptor.constructor.name); + interceptor.apply(); + logger.info("adding interceptor dispose subscription"); + this.subscriptions.push(() => interceptor.dispose()); + } + } + on(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.on(event, listener); + } + return this; + } + once(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.once(event, listener); + } + return this; + } + off(event, listener) { + for (const interceptor of this.interceptors) { + interceptor.off(event, listener); + } + return this; + } + removeAllListeners(event) { + for (const interceptors of this.interceptors) { + interceptors.removeAllListeners(event); + } + return this; + } +}; + + + +exports.BatchInterceptor = BatchInterceptor; +//# sourceMappingURL=chunk-YBN5MFAP.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js.map b/node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js.map new file mode 100644 index 0000000000..968f3b814b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/chunk-YBN5MFAP.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/BatchInterceptor.ts"],"names":[],"mappings":";;;;;AAsBO,IAAM,mBAAN,cAGG,YAAoB;AAAA,EAK5B,YAAY,SAAmD;AAC7D,qBAAiB,SAAS,OAAO,QAAQ,IAAI;AAC7C,UAAM,iBAAiB,MAAM;AAC7B,SAAK,eAAe,QAAQ;AAAA,EAC9B;AAAA,EAEU,QAAQ;AAChB,UAAM,SAAS,KAAK,OAAO,OAAO,OAAO;AAEzC,WAAO,KAAK,mCAAmC,KAAK,aAAa,MAAM;AAEvE,eAAW,eAAe,KAAK,cAAc;AAC3C,aAAO,KAAK,gCAAgC,YAAY,YAAY,IAAI;AACxE,kBAAY,MAAM;AAElB,aAAO,KAAK,yCAAyC;AACrD,WAAK,cAAc,KAAK,MAAM,YAAY,QAAQ,CAAC;AAAA,IACrD;AAAA,EACF;AAAA,EAEO,GACL,OACA,UACM;AAGN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,GAAG,OAAO,QAAQ;AAAA,IAChC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,KACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,KAAK,OAAO,QAAQ;AAAA,IAClC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,IACL,OACA,UACM;AACN,eAAW,eAAe,KAAK,cAAc;AAC3C,kBAAY,IAAI,OAAO,QAAQ;AAAA,IACjC;AAEA,WAAO;AAAA,EACT;AAAA,EAEO,mBACL,OACM;AACN,eAAW,gBAAgB,KAAK,cAAc;AAC5C,mBAAa,mBAAmB,KAAK;AAAA,IACvC;AAEA,WAAO;AAAA,EACT;AACF","sourcesContent":["import { EventMap, Listener } from 'strict-event-emitter'\nimport { Interceptor, ExtractEventNames } from './Interceptor'\n\nexport interface BatchInterceptorOptions<\n InterceptorList extends ReadonlyArray>\n> {\n name: string\n interceptors: InterceptorList\n}\n\nexport type ExtractEventMapType<\n InterceptorList extends ReadonlyArray>\n> = InterceptorList extends ReadonlyArray\n ? InterceptorType extends Interceptor\n ? EventMap\n : never\n : never\n\n/**\n * A batch interceptor that exposes a single interface\n * to apply and operate with multiple interceptors at once.\n */\nexport class BatchInterceptor<\n InterceptorList extends ReadonlyArray>,\n Events extends EventMap = ExtractEventMapType\n> extends Interceptor {\n static symbol: symbol\n\n private interceptors: InterceptorList\n\n constructor(options: BatchInterceptorOptions) {\n BatchInterceptor.symbol = Symbol(options.name)\n super(BatchInterceptor.symbol)\n this.interceptors = options.interceptors\n }\n\n protected setup() {\n const logger = this.logger.extend('setup')\n\n logger.info('applying all %d interceptors...', this.interceptors.length)\n\n for (const interceptor of this.interceptors) {\n logger.info('applying \"%s\" interceptor...', interceptor.constructor.name)\n interceptor.apply()\n\n logger.info('adding interceptor dispose subscription')\n this.subscriptions.push(() => interceptor.dispose())\n }\n }\n\n public on>(\n event: EventName,\n listener: Listener\n ): this {\n // Instead of adding a listener to the batch interceptor,\n // propagate the listener to each of the individual interceptors.\n for (const interceptor of this.interceptors) {\n interceptor.on(event, listener)\n }\n\n return this\n }\n\n public once>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.once(event, listener)\n }\n\n return this\n }\n\n public off>(\n event: EventName,\n listener: Listener\n ): this {\n for (const interceptor of this.interceptors) {\n interceptor.off(event, listener)\n }\n\n return this\n }\n\n public removeAllListeners>(\n event?: EventName | undefined\n ): this {\n for (const interceptors of this.interceptors) {\n interceptors.removeAllListeners(event)\n }\n\n return this\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/index.d.ts b/node_modules/@mswjs/interceptors/lib/node/index.d.ts new file mode 100644 index 0000000000..6a78c7d9c2 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/index.d.ts @@ -0,0 +1,48 @@ +export { E as ExtractEventNames, H as HttpRequestEventMap, d as INTERNAL_REQUEST_ID_HEADER_NAME, I as IS_PATCHED_MODULE, h as Interceptor, b as InterceptorEventMap, f as InterceptorReadyState, c as InterceptorSubscription, R as RequestController, a as RequestCredentials, e as deleteGlobalSymbol, g as getGlobalSymbol } from './Interceptor-436630be.js'; +export { a as BatchInterceptor, B as BatchInterceptorOptions, E as ExtractEventMapType } from './BatchInterceptor-67bf41ba.js'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; +import 'strict-event-emitter'; + +/** + * Generate a random ID string to represent a request. + * @example + * createRequestId() + * // "f774b6c9c600f" + */ +declare function createRequestId(): string; + +/** + * Removes query parameters and hashes from a given URL. + */ +declare function getCleanUrl(url: URL, isAbsolute?: boolean): string; + +declare function encodeBuffer(text: string): Uint8Array; +declare function decodeBuffer(buffer: ArrayBuffer, encoding?: string): string; + +interface FetchResponseInit extends ResponseInit { + url?: string; +} +declare class FetchResponse extends Response { + /** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ + static readonly STATUS_CODES_WITHOUT_BODY: number[]; + static readonly STATUS_CODES_WITH_REDIRECT: number[]; + static isConfigurableStatusCode(status: number): boolean; + static isRedirectResponse(status: number): boolean; + /** + * Returns a boolean indicating whether the given response status + * code represents a response that can have a body. + */ + static isResponseWithBody(status: number): boolean; + static setUrl(url: string | undefined, response: Response): void; + /** + * Parses the given raw HTTP headers into a Fetch API `Headers` instance. + */ + static parseRawHeaders(rawHeaders: Array): Headers; + constructor(body?: BodyInit | null, init?: FetchResponseInit); +} + +export { FetchResponse, createRequestId, decodeBuffer, encodeBuffer, getCleanUrl }; diff --git a/node_modules/@mswjs/interceptors/lib/node/index.js b/node_modules/@mswjs/interceptors/lib/node/index.js new file mode 100644 index 0000000000..caec122add --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/index.js @@ -0,0 +1,39 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkYBN5MFAPjs = require('./chunk-YBN5MFAP.js'); + + + +var _chunkLK6DILFKjs = require('./chunk-LK6DILFK.js'); + + +var _chunk73NOP3T5js = require('./chunk-73NOP3T5.js'); + + + + + + + + +var _chunkWZTE4PCOjs = require('./chunk-WZTE4PCO.js'); + +// src/utils/getCleanUrl.ts +function getCleanUrl(url, isAbsolute = true) { + return [isAbsolute && url.origin, url.pathname].filter(Boolean).join(""); +} + + + + + + + + + + + + + +exports.BatchInterceptor = _chunkYBN5MFAPjs.BatchInterceptor; exports.FetchResponse = _chunkWZTE4PCOjs.FetchResponse; exports.INTERNAL_REQUEST_ID_HEADER_NAME = _chunkWZTE4PCOjs.INTERNAL_REQUEST_ID_HEADER_NAME; exports.IS_PATCHED_MODULE = _chunk73NOP3T5js.IS_PATCHED_MODULE; exports.Interceptor = _chunkWZTE4PCOjs.Interceptor; exports.InterceptorReadyState = _chunkWZTE4PCOjs.InterceptorReadyState; exports.createRequestId = _chunkWZTE4PCOjs.createRequestId; exports.decodeBuffer = _chunkLK6DILFKjs.decodeBuffer; exports.deleteGlobalSymbol = _chunkWZTE4PCOjs.deleteGlobalSymbol; exports.encodeBuffer = _chunkLK6DILFKjs.encodeBuffer; exports.getCleanUrl = getCleanUrl; exports.getGlobalSymbol = _chunkWZTE4PCOjs.getGlobalSymbol; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/index.js.map b/node_modules/@mswjs/interceptors/lib/node/index.js.map new file mode 100644 index 0000000000..ee90ca4d4e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/getCleanUrl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGO,SAAS,YAAY,KAAU,aAAsB,MAAc;AACxE,SAAO,CAAC,cAAc,IAAI,QAAQ,IAAI,QAAQ,EAAE,OAAO,OAAO,EAAE,KAAK,EAAE;AACzE","sourcesContent":["/**\n * Removes query parameters and hashes from a given URL.\n */\nexport function getCleanUrl(url: URL, isAbsolute: boolean = true): string {\n return [isAbsolute && url.origin, url.pathname].filter(Boolean).join('')\n}\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/index.mjs b/node_modules/@mswjs/interceptors/lib/node/index.mjs new file mode 100644 index 0000000000..705d150975 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/index.mjs @@ -0,0 +1,39 @@ +import { + BatchInterceptor +} from "./chunk-PJA4E426.mjs"; +import { + decodeBuffer, + encodeBuffer +} from "./chunk-6HYIRFX2.mjs"; +import { + IS_PATCHED_MODULE +} from "./chunk-6YM4PLBI.mjs"; +import { + FetchResponse, + INTERNAL_REQUEST_ID_HEADER_NAME, + Interceptor, + InterceptorReadyState, + createRequestId, + deleteGlobalSymbol, + getGlobalSymbol +} from "./chunk-I7HQIBT7.mjs"; + +// src/utils/getCleanUrl.ts +function getCleanUrl(url, isAbsolute = true) { + return [isAbsolute && url.origin, url.pathname].filter(Boolean).join(""); +} +export { + BatchInterceptor, + FetchResponse, + INTERNAL_REQUEST_ID_HEADER_NAME, + IS_PATCHED_MODULE, + Interceptor, + InterceptorReadyState, + createRequestId, + decodeBuffer, + deleteGlobalSymbol, + encodeBuffer, + getCleanUrl, + getGlobalSymbol +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/index.mjs.map b/node_modules/@mswjs/interceptors/lib/node/index.mjs.map new file mode 100644 index 0000000000..0c277e56ed --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/utils/getCleanUrl.ts"],"sourcesContent":["/**\n * Removes query parameters and hashes from a given URL.\n */\nexport function getCleanUrl(url: URL, isAbsolute: boolean = true): string {\n return [isAbsolute && url.origin, url.pathname].filter(Boolean).join('')\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGO,SAAS,YAAY,KAAU,aAAsB,MAAc;AACxE,SAAO,CAAC,cAAc,IAAI,QAAQ,IAAI,QAAQ,EAAE,OAAO,OAAO,EAAE,KAAK,EAAE;AACzE;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.d.ts b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.d.ts new file mode 100644 index 0000000000..595d475b3d --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.d.ts @@ -0,0 +1,93 @@ +import { h as Interceptor, H as HttpRequestEventMap } from '../../Interceptor-436630be.js'; +import net from 'node:net'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; +import 'strict-event-emitter'; + +type WriteCallback = (error?: Error | null) => void; + +interface MockSocketOptions { + write: (chunk: Buffer | string, encoding: BufferEncoding | undefined, callback?: WriteCallback) => void; + read: (chunk: Buffer, encoding: BufferEncoding | undefined) => void; +} +declare class MockSocket extends net.Socket { + protected readonly options: MockSocketOptions; + connecting: boolean; + constructor(options: MockSocketOptions); + connect(): this; + write(...args: Array): boolean; + end(...args: Array): this; + push(chunk: any, encoding?: BufferEncoding): boolean; +} + +type HttpConnectionOptions = any; +type MockHttpSocketRequestCallback = (args: { + requestId: string; + request: Request; + socket: MockHttpSocket; +}) => void; +type MockHttpSocketResponseCallback = (args: { + requestId: string; + request: Request; + response: Response; + isMockedResponse: boolean; + socket: MockHttpSocket; +}) => Promise; +interface MockHttpSocketOptions { + connectionOptions: HttpConnectionOptions; + createConnection: () => net.Socket; + onRequest: MockHttpSocketRequestCallback; + onResponse: MockHttpSocketResponseCallback; +} +declare class MockHttpSocket extends MockSocket { + private connectionOptions; + private createConnection; + private baseUrl; + private onRequest; + private onResponse; + private responseListenersPromise?; + private writeBuffer; + private request?; + private requestParser; + private requestStream?; + private shouldKeepAlive?; + private socketState; + private responseParser; + private responseStream?; + private originalSocket?; + constructor(options: MockHttpSocketOptions); + emit(event: string | symbol, ...args: any[]): boolean; + destroy(error?: Error | undefined): this; + /** + * Establish this Socket connection as-is and pipe + * its data/events through this Socket. + */ + passthrough(): void; + /** + * Convert the given Fetch API `Response` instance to an + * HTTP message and push it to the socket. + */ + respondWith(response: Response): Promise; + /** + * Close this socket connection with the given error. + */ + errorWith(error?: Error): void; + private mockConnect; + private flushWriteBuffer; + private onRequestStart; + private onRequestBody; + private onRequestEnd; + private onResponseStart; + private onResponseBody; + private onResponseEnd; +} + +declare class ClientRequestInterceptor extends Interceptor { + static symbol: symbol; + constructor(); + protected setup(): void; + private onRequest; + onResponse: MockHttpSocketResponseCallback; +} + +export { ClientRequestInterceptor }; diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js new file mode 100644 index 0000000000..6f5feb35eb --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js @@ -0,0 +1,9 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunk4IGRW7SKjs = require('../../chunk-4IGRW7SK.js'); +require('../../chunk-6L3PFBGT.js'); +require('../../chunk-WZTE4PCO.js'); + + +exports.ClientRequestInterceptor = _chunk4IGRW7SKjs.ClientRequestInterceptor; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js.map b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js.map new file mode 100644 index 0000000000..a464c6732e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs new file mode 100644 index 0000000000..f42854fd79 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs @@ -0,0 +1,9 @@ +import { + ClientRequestInterceptor +} from "../../chunk-QFFDMWKW.mjs"; +import "../../chunk-5KMS5CTP.mjs"; +import "../../chunk-I7HQIBT7.mjs"; +export { + ClientRequestInterceptor +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs.map b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs.map new file mode 100644 index 0000000000..84c51b288c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/ClientRequest/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.d.ts b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.d.ts new file mode 100644 index 0000000000..50659334ff --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.d.ts @@ -0,0 +1,14 @@ +import { Emitter } from 'strict-event-emitter'; +import { H as HttpRequestEventMap, h as Interceptor } from '../../Interceptor-436630be.js'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; + +type XMLHttpRequestEmitter = Emitter; +declare class XMLHttpRequestInterceptor extends Interceptor { + static interceptorSymbol: symbol; + constructor(); + protected checkEnvironment(): boolean; + protected setup(): void; +} + +export { XMLHttpRequestEmitter, XMLHttpRequestInterceptor }; diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js new file mode 100644 index 0000000000..5a8eb226c0 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js @@ -0,0 +1,12 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkLCA4FKWYjs = require('../../chunk-LCA4FKWY.js'); +require('../../chunk-LK6DILFK.js'); +require('../../chunk-PFGO5BSM.js'); +require('../../chunk-73NOP3T5.js'); +require('../../chunk-6L3PFBGT.js'); +require('../../chunk-WZTE4PCO.js'); + + +exports.XMLHttpRequestInterceptor = _chunkLCA4FKWYjs.XMLHttpRequestInterceptor; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js.map b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js.map new file mode 100644 index 0000000000..a464c6732e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs new file mode 100644 index 0000000000..be610a7f98 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs @@ -0,0 +1,12 @@ +import { + XMLHttpRequestInterceptor +} from "../../chunk-OMWE7UVM.mjs"; +import "../../chunk-6HYIRFX2.mjs"; +import "../../chunk-TX5GBTFY.mjs"; +import "../../chunk-6YM4PLBI.mjs"; +import "../../chunk-5KMS5CTP.mjs"; +import "../../chunk-I7HQIBT7.mjs"; +export { + XMLHttpRequestInterceptor +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs.map b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs.map new file mode 100644 index 0000000000..84c51b288c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/XMLHttpRequest/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.d.ts b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.d.ts new file mode 100644 index 0000000000..5e40ca5a2b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.d.ts @@ -0,0 +1,13 @@ +import { h as Interceptor, H as HttpRequestEventMap } from '../../Interceptor-436630be.js'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; +import 'strict-event-emitter'; + +declare class FetchInterceptor extends Interceptor { + static symbol: symbol; + constructor(); + protected checkEnvironment(): boolean; + protected setup(): Promise; +} + +export { FetchInterceptor }; diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js new file mode 100644 index 0000000000..bcf23a0ded --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js @@ -0,0 +1,11 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkLEA3MUU3js = require('../../chunk-LEA3MUU3.js'); +require('../../chunk-PFGO5BSM.js'); +require('../../chunk-73NOP3T5.js'); +require('../../chunk-6L3PFBGT.js'); +require('../../chunk-WZTE4PCO.js'); + + +exports.FetchInterceptor = _chunkLEA3MUU3js.FetchInterceptor; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js.map b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js.map new file mode 100644 index 0000000000..a464c6732e --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs new file mode 100644 index 0000000000..033ada34b5 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs @@ -0,0 +1,11 @@ +import { + FetchInterceptor +} from "../../chunk-CTGTMEFD.mjs"; +import "../../chunk-TX5GBTFY.mjs"; +import "../../chunk-6YM4PLBI.mjs"; +import "../../chunk-5KMS5CTP.mjs"; +import "../../chunk-I7HQIBT7.mjs"; +export { + FetchInterceptor +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs.map b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs.map new file mode 100644 index 0000000000..84c51b288c --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/interceptors/fetch/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/presets/node.d.ts b/node_modules/@mswjs/interceptors/lib/node/presets/node.d.ts new file mode 100644 index 0000000000..22cf47470b --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/presets/node.d.ts @@ -0,0 +1,16 @@ +import { ClientRequestInterceptor } from '../interceptors/ClientRequest/index.js'; +import { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest/index.js'; +import { FetchInterceptor } from '../interceptors/fetch/index.js'; +import '../Interceptor-436630be.js'; +import '@open-draft/deferred-promise'; +import '@open-draft/logger'; +import 'strict-event-emitter'; +import 'node:net'; + +/** + * The default preset provisions the interception of requests + * regardless of their type (http/https/XMLHttpRequest). + */ +declare const _default: readonly [ClientRequestInterceptor, XMLHttpRequestInterceptor, FetchInterceptor]; + +export { _default as default }; diff --git a/node_modules/@mswjs/interceptors/lib/node/presets/node.js b/node_modules/@mswjs/interceptors/lib/node/presets/node.js new file mode 100644 index 0000000000..62fde41d6f --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/presets/node.js @@ -0,0 +1,25 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunk4IGRW7SKjs = require('../chunk-4IGRW7SK.js'); + + +var _chunkLCA4FKWYjs = require('../chunk-LCA4FKWY.js'); +require('../chunk-LK6DILFK.js'); + + +var _chunkLEA3MUU3js = require('../chunk-LEA3MUU3.js'); +require('../chunk-PFGO5BSM.js'); +require('../chunk-73NOP3T5.js'); +require('../chunk-6L3PFBGT.js'); +require('../chunk-WZTE4PCO.js'); + +// src/presets/node.ts +var node_default = [ + new (0, _chunk4IGRW7SKjs.ClientRequestInterceptor)(), + new (0, _chunkLCA4FKWYjs.XMLHttpRequestInterceptor)(), + new (0, _chunkLEA3MUU3js.FetchInterceptor)() +]; + + +exports.default = node_default; +//# sourceMappingURL=node.js.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/presets/node.js.map b/node_modules/@mswjs/interceptors/lib/node/presets/node.js.map new file mode 100644 index 0000000000..a1b2a5c756 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/presets/node.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/presets/node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAQA,IAAO,eAAQ;AAAA,EACb,IAAI,yBAAyB;AAAA,EAC7B,IAAI,0BAA0B;AAAA,EAC9B,IAAI,iBAAiB;AACvB","sourcesContent":["import { ClientRequestInterceptor } from '../interceptors/ClientRequest'\nimport { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest'\nimport { FetchInterceptor } from '../interceptors/fetch'\n\n/**\n * The default preset provisions the interception of requests\n * regardless of their type (http/https/XMLHttpRequest).\n */\nexport default [\n new ClientRequestInterceptor(),\n new XMLHttpRequestInterceptor(),\n new FetchInterceptor(),\n] as const\n"]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/presets/node.mjs b/node_modules/@mswjs/interceptors/lib/node/presets/node.mjs new file mode 100644 index 0000000000..c854677712 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/presets/node.mjs @@ -0,0 +1,25 @@ +import { + ClientRequestInterceptor +} from "../chunk-QFFDMWKW.mjs"; +import { + XMLHttpRequestInterceptor +} from "../chunk-OMWE7UVM.mjs"; +import "../chunk-6HYIRFX2.mjs"; +import { + FetchInterceptor +} from "../chunk-CTGTMEFD.mjs"; +import "../chunk-TX5GBTFY.mjs"; +import "../chunk-6YM4PLBI.mjs"; +import "../chunk-5KMS5CTP.mjs"; +import "../chunk-I7HQIBT7.mjs"; + +// src/presets/node.ts +var node_default = [ + new ClientRequestInterceptor(), + new XMLHttpRequestInterceptor(), + new FetchInterceptor() +]; +export { + node_default as default +}; +//# sourceMappingURL=node.mjs.map \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/lib/node/presets/node.mjs.map b/node_modules/@mswjs/interceptors/lib/node/presets/node.mjs.map new file mode 100644 index 0000000000..188c554323 --- /dev/null +++ b/node_modules/@mswjs/interceptors/lib/node/presets/node.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/presets/node.ts"],"sourcesContent":["import { ClientRequestInterceptor } from '../interceptors/ClientRequest'\nimport { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest'\nimport { FetchInterceptor } from '../interceptors/fetch'\n\n/**\n * The default preset provisions the interception of requests\n * regardless of their type (http/https/XMLHttpRequest).\n */\nexport default [\n new ClientRequestInterceptor(),\n new XMLHttpRequestInterceptor(),\n new FetchInterceptor(),\n] as const\n"],"mappings":";;;;;;;;;;;;;;;;AAQA,IAAO,eAAQ;AAAA,EACb,IAAI,yBAAyB;AAAA,EAC7B,IAAI,0BAA0B;AAAA,EAC9B,IAAI,iBAAiB;AACvB;","names":[]} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/package.json b/node_modules/@mswjs/interceptors/package.json new file mode 100644 index 0000000000..14f9528660 --- /dev/null +++ b/node_modules/@mswjs/interceptors/package.json @@ -0,0 +1,202 @@ +{ + "name": "@mswjs/interceptors", + "description": "Low-level HTTP/HTTPS/XHR/fetch request interception library.", + "version": "0.37.5", + "main": "./lib/node/index.js", + "module": "./lib/node/index.mjs", + "types": "./lib/node/index.d.ts", + "exports": { + ".": { + "types": "./lib/node/index.d.ts", + "browser": { + "types": "./lib/browser/index.d.ts", + "require": "./lib/browser/index.js", + "import": "./lib/browser/index.mjs", + "default": "./lib/browser/index.js" + }, + "require": "./lib/node/index.js", + "import": "./lib/node/index.mjs", + "default": "./lib/node/index.js" + }, + "./ClientRequest": { + "types": "./lib/node/interceptors/ClientRequest/index.d.ts", + "node": { + "require": "./lib/node/interceptors/ClientRequest/index.js", + "import": "./lib/node/interceptors/ClientRequest/index.mjs" + }, + "browser": null, + "require": "./lib/node/interceptors/ClientRequest/index.js", + "import": "./lib/node/interceptors/ClientRequest/index.mjs", + "default": "./lib/node/interceptors/ClientRequest/index.js" + }, + "./XMLHttpRequest": { + "browser": { + "types": "./lib/browser/interceptors/XMLHttpRequest/index.d.ts", + "require": "./lib/browser/interceptors/XMLHttpRequest/index.js", + "import": "./lib/browser/interceptors/XMLHttpRequest/index.mjs", + "default": "./lib/browser/interceptors/XMLHttpRequest/index.js" + }, + "types": "./lib/node/interceptors/XMLHttpRequest/index.d.ts", + "require": "./lib/node/interceptors/XMLHttpRequest/index.js", + "import": "./lib/node/interceptors/XMLHttpRequest/index.mjs", + "default": "./lib/node/interceptors/XMLHttpRequest/index.js" + }, + "./fetch": { + "browser": { + "types": "./lib/browser/interceptors/fetch/index.d.ts", + "require": "./lib/browser/interceptors/fetch/index.js", + "import": "./lib/browser/interceptors/fetch/index.mjs", + "default": "./lib/browser/interceptors/fetch/index.js" + }, + "types": "./lib/node/interceptors/fetch/index.d.ts", + "require": "./lib/node/interceptors/fetch/index.js", + "import": "./lib/node/interceptors/fetch/index.mjs", + "default": "./lib/node/interceptors/fetch/index.js" + }, + "./WebSocket": { + "types": "./lib/browser/interceptors/WebSocket/index.d.ts", + "require": "./lib/browser/interceptors/WebSocket/index.js", + "import": "./lib/browser/interceptors/WebSocket/index.mjs", + "default": "./lib/browser/interceptors/WebSocket/index.js" + }, + "./RemoteHttpInterceptor": { + "types": "./lib/node/RemoteHttpInterceptor.d.ts", + "node": { + "require": "./lib/node/RemoteHttpInterceptor.js", + "import": "./lib/node/RemoteHttpInterceptor.mjs" + }, + "browser": null, + "require": "./lib/node/RemoteHttpInterceptor.js", + "import": "./lib/node/RemoteHttpInterceptor.mjs", + "default": "./lib/node/RemoteHttpInterceptor.js" + }, + "./presets/node": { + "types": "./lib/node/presets/node.d.ts", + "node": { + "require": "./lib/node/presets/node.js", + "import": "./lib/node/presets/node.mjs" + }, + "browser": null, + "require": "./lib/node/presets/node.js", + "import": "./lib/node/presets/node.mjs", + "default": "./lib/node/presets/node.js" + }, + "./presets/browser": { + "browser": { + "types": "./lib/browser/presets/browser.d.ts", + "require": "./lib/browser/presets/browser.js", + "import": "./lib/browser/presets/browser.mjs", + "default": "./lib/browser/presets/browser.js" + } + } + }, + "author": "Artem Zakharchenko", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "files": [ + "lib", + "README.md", + "src", + "ClientRequest", + "fetch", + "RemoteHttpInterceptor", + "XMLHttpRequest", + "WebSocket" + ], + "repository": { + "type": "git", + "url": "https://github.com/mswjs/interceptors" + }, + "devDependencies": { + "@commitlint/cli": "^16.0.2", + "@commitlint/config-conventional": "^16.0.0", + "@open-draft/test-server": "^0.5.1", + "@ossjs/release": "^0.8.1", + "@playwright/test": "^1.37.1", + "@types/cors": "^2.8.12", + "@types/express": "^4.17.13", + "@types/express-fileupload": "^1.5.0", + "@types/express-rate-limit": "^6.0.0", + "@types/follow-redirects": "^1.14.1", + "@types/jest": "^27.0.3", + "@types/node": "^18.19.31", + "@types/node-fetch": "2.5.12", + "@types/superagent": "^8.1.9", + "@types/supertest": "^2.0.11", + "@types/ws": "^8.5.10", + "axios": "^1.6.0", + "body-parser": "^1.19.0", + "commitizen": "^4.2.4", + "cors": "^2.8.5", + "cross-env": "^7.0.3", + "cz-conventional-changelog": "3.3.0", + "engine.io-parser": "^5.2.1", + "express": "^4.17.3", + "express-fileupload": "^1.5.1", + "express-rate-limit": "^6.3.0", + "follow-redirects": "^1.15.1", + "got": "^11.8.3", + "happy-dom": "^12.10.3", + "jest": "^27.4.3", + "node-fetch": "2.6.7", + "rimraf": "^3.0.2", + "simple-git-hooks": "^2.7.0", + "socket.io": "^4.7.4", + "socket.io-client": "^4.7.4", + "socket.io-parser": "^4.2.4", + "superagent": "^10.1.1", + "supertest": "^6.1.6", + "ts-jest": "^27.1.1", + "tsup": "^6.5.0", + "typescript": "^4.9.4", + "undici": "^6.6.2", + "vitest": "^1.2.2", + "vitest-environment-miniflare": "^2.14.1", + "wait-for-expect": "^3.0.2", + "web-encoding": "^1.1.5", + "webpack-http-server": "^0.5.0", + "ws": "^8.16.0" + }, + "dependencies": { + "@open-draft/deferred-promise": "^2.2.0", + "@open-draft/logger": "^0.3.0", + "@open-draft/until": "^2.0.0", + "is-node-process": "^1.2.0", + "outvariant": "^1.4.3", + "strict-event-emitter": "^0.5.1" + }, + "resolutions": { + "memfs": "^3.4.13" + }, + "keywords": [ + "request", + "intercept", + "http", + "https", + "xmlhttprequest", + "xhr", + "fetch", + "low-level", + "mock", + "spy", + "testing" + ], + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog" + } + }, + "scripts": { + "start": "tsc --build -w", + "test": "pnpm test:unit && pnpm test:integration", + "test:unit": "vitest", + "test:integration": "pnpm test:node && pnpm test:browser", + "test:node": "vitest -c test/vitest.config.js", + "test:browser": "pnpm playwright test -c test/playwright.config.ts", + "clean": "rimraf lib", + "build": "pnpm clean && cross-env NODE_ENV=production tsup --splitting", + "release": "release publish" + } +} \ No newline at end of file diff --git a/node_modules/@mswjs/interceptors/src/BatchInterceptor.test.ts b/node_modules/@mswjs/interceptors/src/BatchInterceptor.test.ts new file mode 100644 index 0000000000..5891d62671 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/BatchInterceptor.test.ts @@ -0,0 +1,255 @@ +import { vi, it, expect, afterEach } from 'vitest' +import { Interceptor } from './Interceptor' +import { BatchInterceptor } from './BatchInterceptor' + +afterEach(() => { + vi.resetAllMocks() +}) + +it('applies child interceptors', () => { + class PrimaryInterceptor extends Interceptor { + constructor() { + super(Symbol('primary')) + } + } + + class SecondaryInterceptor extends Interceptor { + constructor() { + super(Symbol('secondary')) + } + } + + const instances = { + primary: new PrimaryInterceptor(), + secondary: new SecondaryInterceptor(), + } + + const interceptor = new BatchInterceptor({ + name: 'batch-apply', + interceptors: [instances.primary, instances.secondary], + }) + + const primaryApplySpy = vi.spyOn(instances.primary, 'apply') + const secondaryApplySpy = vi.spyOn(instances.secondary, 'apply') + + interceptor.apply() + + expect(primaryApplySpy).toHaveBeenCalledTimes(1) + expect(secondaryApplySpy).toHaveBeenCalledTimes(1) +}) + +it('proxies event listeners to the interceptors', () => { + class PrimaryInterceptor extends Interceptor<{ hello: [string] }> { + constructor() { + super(Symbol('primary')) + } + } + + class SecondaryInterceptor extends Interceptor<{ + goodbye: [string] + }> { + constructor() { + super(Symbol('secondary')) + } + } + + const instances = { + primary: new PrimaryInterceptor(), + secondary: new SecondaryInterceptor(), + } + + const interceptor = new BatchInterceptor({ + name: 'batch-proxy', + interceptors: [instances.primary, instances.secondary], + }) + + const helloListener = vi.fn() + interceptor.on('hello', helloListener) + + const goodbyeListener = vi.fn() + interceptor.on('goodbye', goodbyeListener) + + // Emulate the child interceptor emitting events. + instances.primary['emitter'].emit('hello', 'John') + instances.secondary['emitter'].emit('goodbye', 'Kate') + + // Must call the batch interceptor listener. + expect(helloListener).toHaveBeenCalledTimes(1) + expect(helloListener).toHaveBeenCalledWith('John') + expect(goodbyeListener).toHaveBeenCalledTimes(1) + expect(goodbyeListener).toHaveBeenCalledWith('Kate') +}) + +it('disposes of child interceptors', async () => { + class PrimaryInterceptor extends Interceptor { + constructor() { + super(Symbol('primary')) + } + } + + class SecondaryInterceptor extends Interceptor { + constructor() { + super(Symbol('secondary')) + } + } + + const instances = { + primary: new PrimaryInterceptor(), + secondary: new SecondaryInterceptor(), + } + + const interceptor = new BatchInterceptor({ + name: 'batch-dispose', + interceptors: [instances.primary, instances.secondary], + }) + + const primaryDisposeSpy = vi.spyOn(instances.primary, 'dispose') + const secondaryDisposeSpy = vi.spyOn(instances.secondary, 'dispose') + + interceptor.apply() + interceptor.dispose() + + expect(primaryDisposeSpy).toHaveBeenCalledTimes(1) + expect(secondaryDisposeSpy).toHaveBeenCalledTimes(1) +}) + +it('forwards listeners added via "on()"', () => { + class FirstInterceptor extends Interceptor { + constructor() { + super(Symbol('first')) + } + } + class SecondaryInterceptor extends Interceptor { + constructor() { + super(Symbol('second')) + } + } + + const firstInterceptor = new FirstInterceptor() + const secondInterceptor = new SecondaryInterceptor() + + const interceptor = new BatchInterceptor({ + name: 'batch', + interceptors: [firstInterceptor, secondInterceptor], + }) + + const listener = vi.fn() + interceptor.on('foo', listener) + + expect(firstInterceptor['emitter'].listenerCount('foo')).toBe(1) + expect(secondInterceptor['emitter'].listenerCount('foo')).toBe(1) + expect(interceptor['emitter'].listenerCount('foo')).toBe(0) +}) + +it('forwards listeners removal via "off()"', () => { + type Events = { + foo: [] + } + + class FirstInterceptor extends Interceptor { + constructor() { + super(Symbol('first')) + } + } + class SecondaryInterceptor extends Interceptor { + constructor() { + super(Symbol('second')) + } + } + + const firstInterceptor = new FirstInterceptor() + const secondInterceptor = new SecondaryInterceptor() + + const interceptor = new BatchInterceptor({ + name: 'batch', + interceptors: [firstInterceptor, secondInterceptor], + }) + + const listener = vi.fn() + interceptor.on('foo', listener) + interceptor.off('foo', listener) + + expect(firstInterceptor['emitter'].listenerCount('foo')).toBe(0) + expect(secondInterceptor['emitter'].listenerCount('foo')).toBe(0) +}) + +it('forwards removal of all listeners by name via ".removeAllListeners()"', () => { + type Events = { + foo: [] + bar: [] + } + + class FirstInterceptor extends Interceptor { + constructor() { + super(Symbol('first')) + } + } + class SecondaryInterceptor extends Interceptor { + constructor() { + super(Symbol('second')) + } + } + + const firstInterceptor = new FirstInterceptor() + const secondInterceptor = new SecondaryInterceptor() + + const interceptor = new BatchInterceptor({ + name: 'batch', + interceptors: [firstInterceptor, secondInterceptor], + }) + + const listener = vi.fn() + interceptor.on('foo', listener) + interceptor.on('foo', listener) + interceptor.on('bar', listener) + + expect(firstInterceptor['emitter'].listenerCount('foo')).toBe(2) + expect(secondInterceptor['emitter'].listenerCount('foo')).toBe(2) + expect(firstInterceptor['emitter'].listenerCount('bar')).toBe(1) + expect(secondInterceptor['emitter'].listenerCount('bar')).toBe(1) + + interceptor.removeAllListeners('foo') + + expect(firstInterceptor['emitter'].listenerCount('foo')).toBe(0) + expect(secondInterceptor['emitter'].listenerCount('foo')).toBe(0) + expect(firstInterceptor['emitter'].listenerCount('bar')).toBe(1) + expect(secondInterceptor['emitter'].listenerCount('bar')).toBe(1) +}) + +it('forwards removal of all listeners via ".removeAllListeners()"', () => { + class FirstInterceptor extends Interceptor { + constructor() { + super(Symbol('first')) + } + } + class SecondaryInterceptor extends Interceptor { + constructor() { + super(Symbol('second')) + } + } + + const firstInterceptor = new FirstInterceptor() + const secondInterceptor = new SecondaryInterceptor() + + const interceptor = new BatchInterceptor({ + name: 'batch', + interceptors: [firstInterceptor, secondInterceptor], + }) + + const listener = vi.fn() + interceptor.on('foo', listener) + interceptor.on('foo', listener) + interceptor.on('bar', listener) + + expect(firstInterceptor['emitter'].listenerCount('foo')).toBe(2) + expect(secondInterceptor['emitter'].listenerCount('foo')).toBe(2) + expect(firstInterceptor['emitter'].listenerCount('bar')).toBe(1) + expect(secondInterceptor['emitter'].listenerCount('bar')).toBe(1) + + interceptor.removeAllListeners() + + expect(firstInterceptor['emitter'].listenerCount('foo')).toBe(0) + expect(secondInterceptor['emitter'].listenerCount('foo')).toBe(0) + expect(firstInterceptor['emitter'].listenerCount('bar')).toBe(0) + expect(secondInterceptor['emitter'].listenerCount('bar')).toBe(0) +}) diff --git a/node_modules/@mswjs/interceptors/src/BatchInterceptor.ts b/node_modules/@mswjs/interceptors/src/BatchInterceptor.ts new file mode 100644 index 0000000000..083ce5fb23 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/BatchInterceptor.ts @@ -0,0 +1,95 @@ +import { EventMap, Listener } from 'strict-event-emitter' +import { Interceptor, ExtractEventNames } from './Interceptor' + +export interface BatchInterceptorOptions< + InterceptorList extends ReadonlyArray> +> { + name: string + interceptors: InterceptorList +} + +export type ExtractEventMapType< + InterceptorList extends ReadonlyArray> +> = InterceptorList extends ReadonlyArray + ? InterceptorType extends Interceptor + ? EventMap + : never + : never + +/** + * A batch interceptor that exposes a single interface + * to apply and operate with multiple interceptors at once. + */ +export class BatchInterceptor< + InterceptorList extends ReadonlyArray>, + Events extends EventMap = ExtractEventMapType +> extends Interceptor { + static symbol: symbol + + private interceptors: InterceptorList + + constructor(options: BatchInterceptorOptions) { + BatchInterceptor.symbol = Symbol(options.name) + super(BatchInterceptor.symbol) + this.interceptors = options.interceptors + } + + protected setup() { + const logger = this.logger.extend('setup') + + logger.info('applying all %d interceptors...', this.interceptors.length) + + for (const interceptor of this.interceptors) { + logger.info('applying "%s" interceptor...', interceptor.constructor.name) + interceptor.apply() + + logger.info('adding interceptor dispose subscription') + this.subscriptions.push(() => interceptor.dispose()) + } + } + + public on>( + event: EventName, + listener: Listener + ): this { + // Instead of adding a listener to the batch interceptor, + // propagate the listener to each of the individual interceptors. + for (const interceptor of this.interceptors) { + interceptor.on(event, listener) + } + + return this + } + + public once>( + event: EventName, + listener: Listener + ): this { + for (const interceptor of this.interceptors) { + interceptor.once(event, listener) + } + + return this + } + + public off>( + event: EventName, + listener: Listener + ): this { + for (const interceptor of this.interceptors) { + interceptor.off(event, listener) + } + + return this + } + + public removeAllListeners>( + event?: EventName | undefined + ): this { + for (const interceptors of this.interceptors) { + interceptors.removeAllListeners(event) + } + + return this + } +} diff --git a/node_modules/@mswjs/interceptors/src/Interceptor.test.ts b/node_modules/@mswjs/interceptors/src/Interceptor.test.ts new file mode 100644 index 0000000000..6b76606a55 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/Interceptor.test.ts @@ -0,0 +1,205 @@ +import { describe, vi, it, expect, afterEach } from 'vitest' +import { + Interceptor, + getGlobalSymbol, + deleteGlobalSymbol, + InterceptorReadyState, +} from './Interceptor' +import { nextTickAsync } from './utils/nextTick' + +const symbol = Symbol('test') + +afterEach(() => { + deleteGlobalSymbol(symbol) +}) + +it('does not set a maximum listeners limit', () => { + const interceptor = new Interceptor(symbol) + expect(interceptor['emitter'].getMaxListeners()).toBe(0) +}) + +describe('on()', () => { + it('adds a new listener using "on()"', () => { + const interceptor = new Interceptor(symbol) + expect(interceptor['emitter'].listenerCount('event')).toBe(0) + + const listener = vi.fn() + interceptor.on('event', listener) + expect(interceptor['emitter'].listenerCount('event')).toBe(1) + }) +}) + +describe('once()', () => { + it('calls the listener only once', () => { + const interceptor = new Interceptor(symbol) + const listener = vi.fn() + + interceptor.once('foo', listener) + expect(listener).not.toHaveBeenCalled() + + interceptor['emitter'].emit('foo', 'bar') + + expect(listener).toHaveBeenCalledTimes(1) + expect(listener).toHaveBeenCalledWith('bar') + + listener.mockReset() + + interceptor['emitter'].emit('foo', 'baz') + interceptor['emitter'].emit('foo', 'xyz') + expect(listener).toHaveBeenCalledTimes(0) + }) +}) + +describe('off()', () => { + it('removes a listener using "off()"', () => { + const interceptor = new Interceptor(symbol) + expect(interceptor['emitter'].listenerCount('event')).toBe(0) + + const listener = vi.fn() + interceptor.on('event', listener) + expect(interceptor['emitter'].listenerCount('event')).toBe(1) + + interceptor.off('event', listener) + expect(interceptor['emitter'].listenerCount('event')).toBe(0) + }) +}) + +describe('persistence', () => { + it('stores global reference to the applied interceptor', () => { + const interceptor = new Interceptor(symbol) + interceptor.apply() + + expect(getGlobalSymbol(symbol)).toEqual(interceptor) + }) + + it('deletes global reference when the interceptor is disposed', () => { + const interceptor = new Interceptor(symbol) + + interceptor.apply() + interceptor.dispose() + + expect(getGlobalSymbol(symbol)).toBeUndefined() + }) +}) + +describe('readyState', () => { + it('sets the state to "INACTIVE" when the interceptor is created', () => { + const interceptor = new Interceptor(symbol) + expect(interceptor.readyState).toBe(InterceptorReadyState.INACTIVE) + }) + + it('leaves state as "INACTIVE" if the interceptor failed the environment check', async () => { + class MyInterceptor extends Interceptor { + protected checkEnvironment(): boolean { + return false + } + } + const interceptor = new MyInterceptor(symbol) + interceptor.apply() + + expect(interceptor.readyState).toBe(InterceptorReadyState.INACTIVE) + }) + + it('perfroms state transition when the interceptor is applying', async () => { + const interceptor = new Interceptor(symbol) + interceptor.apply() + + // The interceptor's state transitions to APPLIED immediately. + // The only exception is if something throws during the setup. + expect(interceptor.readyState).toBe(InterceptorReadyState.APPLIED) + }) + + it('perfroms state transition when disposing of the interceptor', async () => { + const interceptor = new Interceptor(symbol) + interceptor.apply() + interceptor.dispose() + + // The interceptor's state transitions to DISPOSED immediately. + // The only exception is if something throws during the teardown. + expect(interceptor.readyState).toBe(InterceptorReadyState.DISPOSED) + }) +}) + +describe('apply', () => { + it('does not apply the same interceptor multiple times', () => { + const interceptor = new Interceptor(symbol) + const setupSpy = vi.spyOn( + interceptor, + // @ts-expect-error Protected property spy. + 'setup' + ) + + // Intentionally apply the same interceptor multiple times. + interceptor.apply() + interceptor.apply() + interceptor.apply() + + // The "setup" must not be called repeatedly. + expect(setupSpy).toHaveBeenCalledTimes(1) + + expect(getGlobalSymbol(symbol)).toEqual(interceptor) + }) + + it('does not call "apply" if the interceptor fails environment check', () => { + class MyInterceptor extends Interceptor<{}> { + checkEnvironment() { + return false + } + } + + const interceptor = new MyInterceptor(Symbol('test')) + const setupSpy = vi.spyOn( + interceptor, + // @ts-expect-error Protected property spy. + 'setup' + ) + interceptor.apply() + + expect(setupSpy).not.toHaveBeenCalled() + }) + + it('proxies listeners from new interceptor to already running interceptor', () => { + const firstInterceptor = new Interceptor(symbol) + const secondInterceptor = new Interceptor(symbol) + + firstInterceptor.apply() + const firstListener = vi.fn() + firstInterceptor.on('test', firstListener) + + secondInterceptor.apply() + const secondListener = vi.fn() + secondInterceptor.on('test', secondListener) + + // Emitting event in the first interceptor will bubble to the second one. + firstInterceptor['emitter'].emit('test', 'hello world') + + expect(firstListener).toHaveBeenCalledTimes(1) + expect(firstListener).toHaveBeenCalledWith('hello world') + + expect(secondListener).toHaveBeenCalledTimes(1) + expect(secondListener).toHaveBeenCalledWith('hello world') + + expect(secondInterceptor['emitter'].listenerCount('test')).toBe(0) + }) +}) + +describe('dispose', () => { + it('removes all listeners when the interceptor is disposed', async () => { + const interceptor = new Interceptor(symbol) + + interceptor.apply() + const listener = vi.fn() + interceptor.on('test', listener) + interceptor.dispose() + + // Even after emitting an event, the listener must not get called. + interceptor['emitter'].emit('test') + expect(listener).not.toHaveBeenCalled() + + // The listener must not be called on the next tick either. + await nextTickAsync(() => { + interceptor['emitter'].emit('test') + expect(listener).not.toHaveBeenCalled() + }) + }) +}) diff --git a/node_modules/@mswjs/interceptors/src/Interceptor.ts b/node_modules/@mswjs/interceptors/src/Interceptor.ts new file mode 100644 index 0000000000..b33e74fdfb --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/Interceptor.ts @@ -0,0 +1,249 @@ +import { Logger } from '@open-draft/logger' +import { Emitter, Listener } from 'strict-event-emitter' + +export type InterceptorEventMap = Record +export type InterceptorSubscription = () => void + +/** + * Request header name to detect when a single request + * is being handled by nested interceptors (XHR -> ClientRequest). + * Obscure by design to prevent collisions with user-defined headers. + * Ideally, come up with the Interceptor-level mechanism for this. + * @see https://github.com/mswjs/interceptors/issues/378 + */ +export const INTERNAL_REQUEST_ID_HEADER_NAME = + 'x-interceptors-internal-request-id' + +export function getGlobalSymbol(symbol: Symbol): V | undefined { + return ( + // @ts-ignore https://github.com/Microsoft/TypeScript/issues/24587 + globalThis[symbol] || undefined + ) +} + +function setGlobalSymbol(symbol: Symbol, value: any): void { + // @ts-ignore + globalThis[symbol] = value +} + +export function deleteGlobalSymbol(symbol: Symbol): void { + // @ts-ignore + delete globalThis[symbol] +} + +export enum InterceptorReadyState { + INACTIVE = 'INACTIVE', + APPLYING = 'APPLYING', + APPLIED = 'APPLIED', + DISPOSING = 'DISPOSING', + DISPOSED = 'DISPOSED', +} + +export type ExtractEventNames> = + Events extends Record ? EventName : never + +export class Interceptor { + protected emitter: Emitter + protected subscriptions: Array + protected logger: Logger + + public readyState: InterceptorReadyState + + constructor(private readonly symbol: symbol) { + this.readyState = InterceptorReadyState.INACTIVE + + this.emitter = new Emitter() + this.subscriptions = [] + this.logger = new Logger(symbol.description!) + + // Do not limit the maximum number of listeners + // so not to limit the maximum amount of parallel events emitted. + this.emitter.setMaxListeners(0) + + this.logger.info('constructing the interceptor...') + } + + /** + * Determine if this interceptor can be applied + * in the current environment. + */ + protected checkEnvironment(): boolean { + return true + } + + /** + * Apply this interceptor to the current process. + * Returns an already running interceptor instance if it's present. + */ + public apply(): void { + const logger = this.logger.extend('apply') + logger.info('applying the interceptor...') + + if (this.readyState === InterceptorReadyState.APPLIED) { + logger.info('intercepted already applied!') + return + } + + const shouldApply = this.checkEnvironment() + + if (!shouldApply) { + logger.info('the interceptor cannot be applied in this environment!') + return + } + + this.readyState = InterceptorReadyState.APPLYING + + // Whenever applying a new interceptor, check if it hasn't been applied already. + // This enables to apply the same interceptor multiple times, for example from a different + // interceptor, only proxying events but keeping the stubs in a single place. + const runningInstance = this.getInstance() + + if (runningInstance) { + logger.info('found a running instance, reusing...') + + // Proxy any listeners you set on this instance to the running instance. + this.on = (event, listener) => { + logger.info('proxying the "%s" listener', event) + + // Add listeners to the running instance so they appear + // at the top of the event listeners list and are executed first. + runningInstance.emitter.addListener(event, listener) + + // Ensure that once this interceptor instance is disposed, + // it removes all listeners it has appended to the running interceptor instance. + this.subscriptions.push(() => { + runningInstance.emitter.removeListener(event, listener) + logger.info('removed proxied "%s" listener!', event) + }) + + return this + } + + this.readyState = InterceptorReadyState.APPLIED + + return + } + + logger.info('no running instance found, setting up a new instance...') + + // Setup the interceptor. + this.setup() + + // Store the newly applied interceptor instance globally. + this.setInstance() + + this.readyState = InterceptorReadyState.APPLIED + } + + /** + * Setup the module augments and stubs necessary for this interceptor. + * This method is not run if there's a running interceptor instance + * to prevent instantiating an interceptor multiple times. + */ + protected setup(): void {} + + /** + * Listen to the interceptor's public events. + */ + public on>( + event: EventName, + listener: Listener + ): this { + const logger = this.logger.extend('on') + + if ( + this.readyState === InterceptorReadyState.DISPOSING || + this.readyState === InterceptorReadyState.DISPOSED + ) { + logger.info('cannot listen to events, already disposed!') + return this + } + + logger.info('adding "%s" event listener:', event, listener) + + this.emitter.on(event, listener) + return this + } + + public once>( + event: EventName, + listener: Listener + ): this { + this.emitter.once(event, listener) + return this + } + + public off>( + event: EventName, + listener: Listener + ): this { + this.emitter.off(event, listener) + return this + } + + public removeAllListeners>( + event?: EventName + ): this { + this.emitter.removeAllListeners(event) + return this + } + + /** + * Disposes of any side-effects this interceptor has introduced. + */ + public dispose(): void { + const logger = this.logger.extend('dispose') + + if (this.readyState === InterceptorReadyState.DISPOSED) { + logger.info('cannot dispose, already disposed!') + return + } + + logger.info('disposing the interceptor...') + this.readyState = InterceptorReadyState.DISPOSING + + if (!this.getInstance()) { + logger.info('no interceptors running, skipping dispose...') + return + } + + // Delete the global symbol as soon as possible, + // indicating that the interceptor is no longer running. + this.clearInstance() + + logger.info('global symbol deleted:', getGlobalSymbol(this.symbol)) + + if (this.subscriptions.length > 0) { + logger.info('disposing of %d subscriptions...', this.subscriptions.length) + + for (const dispose of this.subscriptions) { + dispose() + } + + this.subscriptions = [] + + logger.info('disposed of all subscriptions!', this.subscriptions.length) + } + + this.emitter.removeAllListeners() + logger.info('destroyed the listener!') + + this.readyState = InterceptorReadyState.DISPOSED + } + + private getInstance(): this | undefined { + const instance = getGlobalSymbol(this.symbol) + this.logger.info('retrieved global instance:', instance?.constructor?.name) + return instance + } + + private setInstance(): void { + setGlobalSymbol(this.symbol, this) + this.logger.info('set global instance!', this.symbol.description) + } + + private clearInstance(): void { + deleteGlobalSymbol(this.symbol) + this.logger.info('cleared global instance!', this.symbol.description) + } +} diff --git a/node_modules/@mswjs/interceptors/src/InterceptorError.ts b/node_modules/@mswjs/interceptors/src/InterceptorError.ts new file mode 100644 index 0000000000..882848befd --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/InterceptorError.ts @@ -0,0 +1,7 @@ +export class InterceptorError extends Error { + constructor(message?: string) { + super(message) + this.name = 'InterceptorError' + Object.setPrototypeOf(this, InterceptorError.prototype) + } +} diff --git a/node_modules/@mswjs/interceptors/src/RemoteHttpInterceptor.ts b/node_modules/@mswjs/interceptors/src/RemoteHttpInterceptor.ts new file mode 100644 index 0000000000..5b7c53dca1 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/RemoteHttpInterceptor.ts @@ -0,0 +1,244 @@ +import { ChildProcess } from 'child_process' +import { HttpRequestEventMap } from './glossary' +import { Interceptor } from './Interceptor' +import { BatchInterceptor } from './BatchInterceptor' +import { ClientRequestInterceptor } from './interceptors/ClientRequest' +import { XMLHttpRequestInterceptor } from './interceptors/XMLHttpRequest' +import { handleRequest } from './utils/handleRequest' +import { RequestController } from './RequestController' +import { FetchResponse } from './utils/fetchUtils' + +export interface SerializedRequest { + id: string + url: string + method: string + headers: Array<[string, string]> + credentials: RequestCredentials + body: string +} + +interface RevivedRequest extends Omit { + url: URL + headers: Headers +} + +export interface SerializedResponse { + status: number + statusText: string + headers: Array<[string, string]> + body: string +} + +export class RemoteHttpInterceptor extends BatchInterceptor< + [ClientRequestInterceptor, XMLHttpRequestInterceptor] +> { + constructor() { + super({ + name: 'remote-interceptor', + interceptors: [ + new ClientRequestInterceptor(), + new XMLHttpRequestInterceptor(), + ], + }) + } + + protected setup() { + super.setup() + + let handleParentMessage: NodeJS.MessageListener + + this.on('request', async ({ request, requestId, controller }) => { + // Send the stringified intercepted request to + // the parent process where the remote resolver is established. + const serializedRequest = JSON.stringify({ + id: requestId, + method: request.method, + url: request.url, + headers: Array.from(request.headers.entries()), + credentials: request.credentials, + body: ['GET', 'HEAD'].includes(request.method) + ? null + : await request.text(), + } as SerializedRequest) + + this.logger.info( + 'sent serialized request to the child:', + serializedRequest + ) + + process.send?.(`request:${serializedRequest}`) + + const responsePromise = new Promise((resolve) => { + handleParentMessage = (message) => { + if (typeof message !== 'string') { + return resolve() + } + + if (message.startsWith(`response:${requestId}`)) { + const [, serializedResponse] = + message.match(/^response:.+?:(.+)$/) || [] + + if (!serializedResponse) { + return resolve() + } + + const responseInit = JSON.parse( + serializedResponse + ) as SerializedResponse + + const mockedResponse = new FetchResponse(responseInit.body, { + url: request.url, + status: responseInit.status, + statusText: responseInit.statusText, + headers: responseInit.headers, + }) + + /** + * @todo Support "errorWith" as well. + * This response handling from the child is incomplete. + */ + + controller.respondWith(mockedResponse) + return resolve() + } + } + }) + + // Listen for the mocked response message from the parent. + this.logger.info( + 'add "message" listener to the parent process', + handleParentMessage + ) + process.addListener('message', handleParentMessage) + + return responsePromise + }) + + this.subscriptions.push(() => { + process.removeListener('message', handleParentMessage) + }) + } +} + +export function requestReviver(key: string, value: any) { + switch (key) { + case 'url': + return new URL(value) + + case 'headers': + return new Headers(value) + + default: + return value + } +} + +export interface RemoveResolverOptions { + process: ChildProcess +} + +export class RemoteHttpResolver extends Interceptor { + static symbol = Symbol('remote-resolver') + private process: ChildProcess + + constructor(options: RemoveResolverOptions) { + super(RemoteHttpResolver.symbol) + this.process = options.process + } + + protected setup() { + const logger = this.logger.extend('setup') + + const handleChildMessage: NodeJS.MessageListener = async (message) => { + logger.info('received message from child!', message) + + if (typeof message !== 'string' || !message.startsWith('request:')) { + logger.info('unknown message, ignoring...') + return + } + + const [, serializedRequest] = message.match(/^request:(.+)$/) || [] + if (!serializedRequest) { + return + } + + const requestJson = JSON.parse( + serializedRequest, + requestReviver + ) as RevivedRequest + + logger.info('parsed intercepted request', requestJson) + + const request = new Request(requestJson.url, { + method: requestJson.method, + headers: new Headers(requestJson.headers), + credentials: requestJson.credentials, + body: requestJson.body, + }) + + const controller = new RequestController(request) + await handleRequest({ + request, + requestId: requestJson.id, + controller, + emitter: this.emitter, + onResponse: async (response) => { + this.logger.info('received mocked response!', { response }) + + const responseClone = response.clone() + const responseText = await responseClone.text() + + // // Send the mocked response to the child process. + const serializedResponse = JSON.stringify({ + status: response.status, + statusText: response.statusText, + headers: Array.from(response.headers.entries()), + body: responseText, + } as SerializedResponse) + + this.process.send( + `response:${requestJson.id}:${serializedResponse}`, + (error) => { + if (error) { + return + } + + // Emit an optimistic "response" event at this point, + // not to rely on the back-and-forth signaling for the sake of the event. + this.emitter.emit('response', { + request, + requestId: requestJson.id, + response: responseClone, + isMockedResponse: true, + }) + } + ) + + logger.info( + 'sent serialized mocked response to the parent:', + serializedResponse + ) + }, + onRequestError: (response) => { + this.logger.info('received a network error!', { response }) + throw new Error('Not implemented') + }, + onError: (error) => { + this.logger.info('request has errored!', { error }) + throw new Error('Not implemented') + }, + }) + } + + this.subscriptions.push(() => { + this.process.removeListener('message', handleChildMessage) + logger.info('removed the "message" listener from the child process!') + }) + + logger.info('adding a "message" listener to the child process') + this.process.addListener('message', handleChildMessage) + + this.process.once('error', () => this.dispose()) + this.process.once('exit', () => this.dispose()) + } +} diff --git a/node_modules/@mswjs/interceptors/src/RequestController.test.ts b/node_modules/@mswjs/interceptors/src/RequestController.test.ts new file mode 100644 index 0000000000..f3adeab2a3 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/RequestController.test.ts @@ -0,0 +1,49 @@ +import { it, expect } from 'vitest' +import { kResponsePromise, RequestController } from './RequestController' + +it('creates a pending response promise on construction', () => { + const controller = new RequestController(new Request('http://localhost')) + expect(controller[kResponsePromise]).toBeInstanceOf(Promise) + expect(controller[kResponsePromise].state).toBe('pending') +}) + +it('resolves the response promise with the response provided to "respondWith"', async () => { + const controller = new RequestController(new Request('http://localhost')) + controller.respondWith(new Response('hello world')) + + const response = (await controller[kResponsePromise]) as Response + + expect(response).toBeInstanceOf(Response) + expect(response.status).toBe(200) + expect(await response.text()).toBe('hello world') +}) + +it('resolves the response promise with the error provided to "errorWith"', async () => { + const controller = new RequestController(new Request('http://localhost')) + const error = new Error('Oops!') + controller.errorWith(error) + + await expect(controller[kResponsePromise]).resolves.toEqual(error) +}) + +it('throws when calling "respondWith" multiple times', () => { + const controller = new RequestController(new Request('http://localhost')) + controller.respondWith(new Response('hello world')) + + expect(() => { + controller.respondWith(new Response('second response')) + }).toThrow( + 'Failed to respond to the "GET http://localhost/" request: the "request" event has already been handled.' + ) +}) + +it('throws when calling "errorWith" multiple times', () => { + const controller = new RequestController(new Request('http://localhost')) + controller.errorWith(new Error('Oops!')) + + expect(() => { + controller.errorWith(new Error('second error')) + }).toThrow( + 'Failed to error the "GET http://localhost/" request: the "request" event has already been handled.' + ) +}) diff --git a/node_modules/@mswjs/interceptors/src/RequestController.ts b/node_modules/@mswjs/interceptors/src/RequestController.ts new file mode 100644 index 0000000000..8ff48cfcdd --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/RequestController.ts @@ -0,0 +1,81 @@ +import { invariant } from 'outvariant' +import { DeferredPromise } from '@open-draft/deferred-promise' +import { InterceptorError } from './InterceptorError' + +const kRequestHandled = Symbol('kRequestHandled') +export const kResponsePromise = Symbol('kResponsePromise') + +export class RequestController { + /** + * Internal response promise. + * Available only for the library internals to grab the + * response instance provided by the developer. + * @note This promise cannot be rejected. It's either infinitely + * pending or resolved with whichever Response was passed to `respondWith()`. + */ + [kResponsePromise]: DeferredPromise; + + /** + * Internal flag indicating if this request has been handled. + * @note The response promise becomes "fulfilled" on the next tick. + */ + [kRequestHandled]: boolean + + constructor(private request: Request) { + this[kRequestHandled] = false + this[kResponsePromise] = new DeferredPromise() + } + + /** + * Respond to this request with the given `Response` instance. + * @example + * controller.respondWith(new Response()) + * controller.respondWith(Response.json({ id })) + * controller.respondWith(Response.error()) + */ + public respondWith(response: Response): void { + invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to respond to the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ) + + this[kRequestHandled] = true + this[kResponsePromise].resolve(response) + + /** + * @note The request conrtoller doesn't do anything + * apart from letting the interceptor await the response + * provided by the developer through the response promise. + * Each interceptor implements the actual respondWith/errorWith + * logic based on that interceptor's needs. + */ + } + + /** + * Error this request with the given error. + * @example + * controller.errorWith() + * controller.errorWith(new Error('Oops!')) + */ + public errorWith(error?: Error): void { + invariant.as( + InterceptorError, + !this[kRequestHandled], + 'Failed to error the "%s %s" request: the "request" event has already been handled.', + this.request.method, + this.request.url + ) + + this[kRequestHandled] = true + + /** + * @note Resolve the response promise, not reject. + * This helps us differentiate between unhandled exceptions + * and intended errors ("errorWith") while waiting for the response. + */ + this[kResponsePromise].resolve(error) + } +} diff --git a/node_modules/@mswjs/interceptors/src/createRequestId.test.ts b/node_modules/@mswjs/interceptors/src/createRequestId.test.ts new file mode 100644 index 0000000000..a59b2c049f --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/createRequestId.test.ts @@ -0,0 +1,7 @@ +import { it, expect } from 'vitest' +import { createRequestId } from './createRequestId' +import { REQUEST_ID_REGEXP } from '../test/helpers' + +it('returns a request ID', () => { + expect(createRequestId()).toMatch(REQUEST_ID_REGEXP) +}) diff --git a/node_modules/@mswjs/interceptors/src/createRequestId.ts b/node_modules/@mswjs/interceptors/src/createRequestId.ts new file mode 100644 index 0000000000..318d2eb954 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/createRequestId.ts @@ -0,0 +1,9 @@ +/** + * Generate a random ID string to represent a request. + * @example + * createRequestId() + * // "f774b6c9c600f" + */ +export function createRequestId(): string { + return Math.random().toString(16).slice(2) +} diff --git a/node_modules/@mswjs/interceptors/src/glossary.ts b/node_modules/@mswjs/interceptors/src/glossary.ts new file mode 100644 index 0000000000..2015852701 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/glossary.ts @@ -0,0 +1,37 @@ +import type { RequestController } from './RequestController' + +export const IS_PATCHED_MODULE: unique symbol = Symbol('isPatchedModule') + +/** + * @note Export `RequestController` as a type only. + * It's never meant to be created in the userland. + */ +export type { RequestController } + +export type RequestCredentials = 'omit' | 'include' | 'same-origin' + +export type HttpRequestEventMap = { + request: [ + args: { + request: Request + requestId: string + controller: RequestController + } + ] + response: [ + args: { + response: Response + isMockedResponse: boolean + request: Request + requestId: string + } + ] + unhandledException: [ + args: { + error: unknown + request: Request + requestId: string + controller: RequestController + } + ] +} diff --git a/node_modules/@mswjs/interceptors/src/index.ts b/node_modules/@mswjs/interceptors/src/index.ts new file mode 100644 index 0000000000..21aa732be8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/index.ts @@ -0,0 +1,9 @@ +export * from './glossary' +export * from './Interceptor' +export * from './BatchInterceptor' + +/* Utils */ +export { createRequestId } from './createRequestId' +export { getCleanUrl } from './utils/getCleanUrl' +export { encodeBuffer, decodeBuffer } from './utils/bufferUtils' +export { FetchResponse } from './utils/fetchUtils' diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/MockHttpSocket.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/MockHttpSocket.ts new file mode 100644 index 0000000000..45cf6b5dd2 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/MockHttpSocket.ts @@ -0,0 +1,628 @@ +import net from 'node:net' +import { + HTTPParser, + type RequestHeadersCompleteCallback, + type ResponseHeadersCompleteCallback, +} from '_http_common' +import { STATUS_CODES, IncomingMessage, ServerResponse } from 'node:http' +import { Readable } from 'node:stream' +import { invariant } from 'outvariant' +import { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor' +import { MockSocket } from '../Socket/MockSocket' +import type { NormalizedSocketWriteArgs } from '../Socket/utils/normalizeSocketWriteArgs' +import { isPropertyAccessible } from '../../utils/isPropertyAccessible' +import { baseUrlFromConnectionOptions } from '../Socket/utils/baseUrlFromConnectionOptions' +import { createServerErrorResponse } from '../../utils/responseUtils' +import { createRequestId } from '../../createRequestId' +import { getRawFetchHeaders } from './utils/recordRawHeaders' +import { FetchResponse } from '../../utils/fetchUtils' + +type HttpConnectionOptions = any + +export type MockHttpSocketRequestCallback = (args: { + requestId: string + request: Request + socket: MockHttpSocket +}) => void + +export type MockHttpSocketResponseCallback = (args: { + requestId: string + request: Request + response: Response + isMockedResponse: boolean + socket: MockHttpSocket +}) => Promise + +interface MockHttpSocketOptions { + connectionOptions: HttpConnectionOptions + createConnection: () => net.Socket + onRequest: MockHttpSocketRequestCallback + onResponse: MockHttpSocketResponseCallback +} + +export const kRequestId = Symbol('kRequestId') + +export class MockHttpSocket extends MockSocket { + private connectionOptions: HttpConnectionOptions + private createConnection: () => net.Socket + private baseUrl: URL + + private onRequest: MockHttpSocketRequestCallback + private onResponse: MockHttpSocketResponseCallback + private responseListenersPromise?: Promise + + private writeBuffer: Array = [] + private request?: Request + private requestParser: HTTPParser<0> + private requestStream?: Readable + private shouldKeepAlive?: boolean + + private socketState: 'unknown' | 'mock' | 'passthrough' = 'unknown' + private responseParser: HTTPParser<1> + private responseStream?: Readable + private originalSocket?: net.Socket + + constructor(options: MockHttpSocketOptions) { + super({ + write: (chunk, encoding, callback) => { + // Buffer the writes so they can be flushed in case of the original connection + // and when reading the request body in the interceptor. If the connection has + // been established, no need to buffer the chunks anymore, they will be forwarded. + if (this.socketState !== 'passthrough') { + this.writeBuffer.push([chunk, encoding, callback]) + } + + if (chunk) { + /** + * Forward any writes to the mock socket to the underlying original socket. + * This ensures functional duplex connections, like WebSocket. + * @see https://github.com/mswjs/interceptors/issues/682 + */ + if (this.socketState === 'passthrough') { + this.originalSocket?.write(chunk, encoding, callback) + } + + this.requestParser.execute( + Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding) + ) + } + }, + read: (chunk) => { + if (chunk !== null) { + /** + * @todo We need to free the parser if the connection has been + * upgraded to a non-HTTP protocol. It won't be able to parse data + * from that point onward anyway. No need to keep it in memory. + */ + this.responseParser.execute( + Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk) + ) + } + }, + }) + + this.connectionOptions = options.connectionOptions + this.createConnection = options.createConnection + this.onRequest = options.onRequest + this.onResponse = options.onResponse + + this.baseUrl = baseUrlFromConnectionOptions(this.connectionOptions) + + // Request parser. + this.requestParser = new HTTPParser() + this.requestParser.initialize(HTTPParser.REQUEST, {}) + this.requestParser[HTTPParser.kOnHeadersComplete] = + this.onRequestStart.bind(this) + this.requestParser[HTTPParser.kOnBody] = this.onRequestBody.bind(this) + this.requestParser[HTTPParser.kOnMessageComplete] = + this.onRequestEnd.bind(this) + + // Response parser. + this.responseParser = new HTTPParser() + this.responseParser.initialize(HTTPParser.RESPONSE, {}) + this.responseParser[HTTPParser.kOnHeadersComplete] = + this.onResponseStart.bind(this) + this.responseParser[HTTPParser.kOnBody] = this.onResponseBody.bind(this) + this.responseParser[HTTPParser.kOnMessageComplete] = + this.onResponseEnd.bind(this) + + // Once the socket is finished, nothing can write to it + // anymore. It has also flushed any buffered chunks. + this.once('finish', () => this.requestParser.free()) + + if (this.baseUrl.protocol === 'https:') { + Reflect.set(this, 'encrypted', true) + // The server certificate is not the same as a CA + // passed to the TLS socket connection options. + Reflect.set(this, 'authorized', false) + Reflect.set(this, 'getProtocol', () => 'TLSv1.3') + Reflect.set(this, 'getSession', () => undefined) + Reflect.set(this, 'isSessionReused', () => false) + } + } + + public emit(event: string | symbol, ...args: any[]): boolean { + const emitEvent = super.emit.bind(this, event as any, ...args) + + if (this.responseListenersPromise) { + this.responseListenersPromise.finally(emitEvent) + return this.listenerCount(event) > 0 + } + + return emitEvent() + } + + public destroy(error?: Error | undefined): this { + // Destroy the response parser when the socket gets destroyed. + // Normally, we shoud listen to the "close" event but it + // can be suppressed by using the "emitClose: false" option. + this.responseParser.free() + + if (error) { + this.emit('error', error) + } + + return super.destroy(error) + } + + /** + * Establish this Socket connection as-is and pipe + * its data/events through this Socket. + */ + public passthrough(): void { + this.socketState = 'passthrough' + + if (this.destroyed) { + return + } + + const socket = this.createConnection() + this.originalSocket = socket + + // If the developer destroys the socket, destroy the original connection. + this.once('error', (error) => { + socket.destroy(error) + }) + + this.address = socket.address.bind(socket) + + // Flush the buffered "socket.write()" calls onto + // the original socket instance (i.e. write request body). + // Exhaust the "requestBuffer" in case this Socket + // gets reused for different requests. + let writeArgs: NormalizedSocketWriteArgs | undefined + let headersWritten = false + + while ((writeArgs = this.writeBuffer.shift())) { + if (writeArgs !== undefined) { + if (!headersWritten) { + const [chunk, encoding, callback] = writeArgs + const chunkString = chunk.toString() + const chunkBeforeRequestHeaders = chunkString.slice( + 0, + chunkString.indexOf('\r\n') + 2 + ) + const chunkAfterRequestHeaders = chunkString.slice( + chunk.indexOf('\r\n\r\n') + ) + const rawRequestHeaders = getRawFetchHeaders(this.request!.headers) + const requestHeadersString = rawRequestHeaders + // Skip the internal request ID deduplication header. + .filter(([name]) => { + return name.toLowerCase() !== INTERNAL_REQUEST_ID_HEADER_NAME + }) + .map(([name, value]) => `${name}: ${value}`) + .join('\r\n') + + // Modify the HTTP request message headers + // to reflect any changes to the request headers + // from the "request" event listener. + const headersChunk = `${chunkBeforeRequestHeaders}${requestHeadersString}${chunkAfterRequestHeaders}` + socket.write(headersChunk, encoding, callback) + headersWritten = true + continue + } + + socket.write(...writeArgs) + } + } + + // Forward TLS Socket properties onto this Socket instance + // in the case of a TLS/SSL connection. + if (Reflect.get(socket, 'encrypted')) { + const tlsProperties = [ + 'encrypted', + 'authorized', + 'getProtocol', + 'getSession', + 'isSessionReused', + ] + + tlsProperties.forEach((propertyName) => { + Object.defineProperty(this, propertyName, { + enumerable: true, + get: () => { + const value = Reflect.get(socket, propertyName) + return typeof value === 'function' ? value.bind(socket) : value + }, + }) + }) + } + + socket + .on('lookup', (...args) => this.emit('lookup', ...args)) + .on('connect', () => { + this.connecting = socket.connecting + this.emit('connect') + }) + .on('secureConnect', () => this.emit('secureConnect')) + .on('secure', () => this.emit('secure')) + .on('session', (session) => this.emit('session', session)) + .on('ready', () => this.emit('ready')) + .on('drain', () => this.emit('drain')) + .on('data', (chunk) => { + // Push the original response to this socket + // so it triggers the HTTP response parser. This unifies + // the handling pipeline for original and mocked response. + this.push(chunk) + }) + .on('error', (error) => { + Reflect.set(this, '_hadError', Reflect.get(socket, '_hadError')) + this.emit('error', error) + }) + .on('resume', () => this.emit('resume')) + .on('timeout', () => this.emit('timeout')) + .on('prefinish', () => this.emit('prefinish')) + .on('finish', () => this.emit('finish')) + .on('close', (hadError) => this.emit('close', hadError)) + .on('end', () => this.emit('end')) + } + + /** + * Convert the given Fetch API `Response` instance to an + * HTTP message and push it to the socket. + */ + public async respondWith(response: Response): Promise { + // Ignore the mocked response if the socket has been destroyed + // (e.g. aborted or timed out), + if (this.destroyed) { + return + } + + // Handle "type: error" responses. + if (isPropertyAccessible(response, 'type') && response.type === 'error') { + this.errorWith(new TypeError('Network error')) + return + } + + // First, emit all the connection events + // to emulate a successful connection. + this.mockConnect() + this.socketState = 'mock' + + // Flush the write buffer to trigger write callbacks + // if it hasn't been flushed already (e.g. someone started reading request stream). + this.flushWriteBuffer() + + // Create a `ServerResponse` instance to delegate HTTP message parsing, + // Transfer-Encoding, and other things to Node.js internals. + const serverResponse = new ServerResponse(new IncomingMessage(this)) + + /** + * Assign a mock socket instance to the server response to + * spy on the response chunk writes. Push the transformed response chunks + * to this `MockHttpSocket` instance to trigger the "data" event. + * @note Providing the same `MockSocket` instance when creating `ServerResponse` + * does not have the same effect. + * @see https://github.com/nodejs/node/blob/10099bb3f7fd97bb9dd9667188426866b3098e07/test/parallel/test-http-server-response-standalone.js#L32 + */ + serverResponse.assignSocket( + new MockSocket({ + write: (chunk, encoding, callback) => { + this.push(chunk, encoding) + callback?.() + }, + read() {}, + }) + ) + + /** + * @note Remove the `Connection` and `Date` response headers + * injected by `ServerResponse` by default. Those are required + * from the server but the interceptor is NOT technically a server. + * It's confusing to add response headers that the developer didn't + * specify themselves. They can always add these if they wish. + * @see https://www.rfc-editor.org/rfc/rfc9110#field.date + * @see https://www.rfc-editor.org/rfc/rfc9110#field.connection + */ + serverResponse.removeHeader('connection') + serverResponse.removeHeader('date') + + const rawResponseHeaders = getRawFetchHeaders(response.headers) + + /** + * @note Call `.writeHead` in order to set the raw response headers + * in the same case as they were provided by the developer. Using + * `.setHeader()`/`.appendHeader()` normalizes header names. + */ + serverResponse.writeHead( + response.status, + response.statusText || STATUS_CODES[response.status], + rawResponseHeaders + ) + + // If the developer destroy the socket, gracefully destroy the response. + this.once('error', () => { + serverResponse.destroy() + }) + + if (response.body) { + try { + const reader = response.body.getReader() + + while (true) { + const { done, value } = await reader.read() + + if (done) { + serverResponse.end() + break + } + + serverResponse.write(value) + } + } catch (error) { + // Coerce response stream errors to 500 responses. + this.respondWith(createServerErrorResponse(error)) + return + } + } else { + serverResponse.end() + } + + // Close the socket if the connection wasn't marked as keep-alive. + if (!this.shouldKeepAlive) { + this.emit('readable') + + /** + * @todo @fixme This is likely a hack. + * Since we push null to the socket, it never propagates to the + * parser, and the parser never calls "onResponseEnd" to close + * the response stream. We are closing the stream here manually + * but that shouldn't be the case. + */ + this.responseStream?.push(null) + this.push(null) + } + } + + /** + * Close this socket connection with the given error. + */ + public errorWith(error?: Error): void { + this.destroy(error) + } + + private mockConnect(): void { + // Calling this method immediately puts the socket + // into the connected state. + this.connecting = false + + const isIPv6 = + net.isIPv6(this.connectionOptions.hostname) || + this.connectionOptions.family === 6 + const addressInfo = { + address: isIPv6 ? '::1' : '127.0.0.1', + family: isIPv6 ? 'IPv6' : 'IPv4', + port: this.connectionOptions.port, + } + // Return fake address information for the socket. + this.address = () => addressInfo + this.emit( + 'lookup', + null, + addressInfo.address, + addressInfo.family === 'IPv6' ? 6 : 4, + this.connectionOptions.host + ) + this.emit('connect') + this.emit('ready') + + if (this.baseUrl.protocol === 'https:') { + this.emit('secure') + this.emit('secureConnect') + + // A single TLS connection is represented by two "session" events. + this.emit( + 'session', + this.connectionOptions.session || + Buffer.from('mock-session-renegotiate') + ) + this.emit('session', Buffer.from('mock-session-resume')) + } + } + + private flushWriteBuffer(): void { + for (const writeCall of this.writeBuffer) { + if (typeof writeCall[2] === 'function') { + writeCall[2]() + /** + * @note Remove the callback from the write call + * so it doesn't get called twice on passthrough + * if `request.end()` was called within `request.write()`. + * @see https://github.com/mswjs/interceptors/issues/684 + */ + writeCall[2] = undefined + } + } + } + + private onRequestStart: RequestHeadersCompleteCallback = ( + versionMajor, + versionMinor, + rawHeaders, + _, + path, + __, + ___, + ____, + shouldKeepAlive + ) => { + this.shouldKeepAlive = shouldKeepAlive + + const url = new URL(path, this.baseUrl) + const method = this.connectionOptions.method?.toUpperCase() || 'GET' + const headers = FetchResponse.parseRawHeaders(rawHeaders) + const canHaveBody = method !== 'GET' && method !== 'HEAD' + + // Translate the basic authorization in the URL to the request header. + // Constructing a Request instance with a URL containing auth is no-op. + if (url.username || url.password) { + if (!headers.has('authorization')) { + headers.set('authorization', `Basic ${url.username}:${url.password}`) + } + url.username = '' + url.password = '' + } + + // Create a new stream for each request. + // If this Socket is reused for multiple requests, + // this ensures that each request gets its own stream. + // One Socket instance can only handle one request at a time. + if (canHaveBody) { + this.requestStream = new Readable({ + /** + * @note Provide the `read()` method so a `Readable` could be + * used as the actual request body (the stream calls "read()"). + * We control the queue in the onRequestBody/End functions. + */ + read: () => { + // If the user attempts to read the request body, + // flush the write buffer to trigger the callbacks. + // This way, if the request stream ends in the write callback, + // it will indeed end correctly. + this.flushWriteBuffer() + }, + }) + } + + const requestId = createRequestId() + this.request = new Request(url, { + method, + headers, + credentials: 'same-origin', + // @ts-expect-error Undocumented Fetch property. + duplex: canHaveBody ? 'half' : undefined, + body: canHaveBody ? (Readable.toWeb(this.requestStream!) as any) : null, + }) + + Reflect.set(this.request, kRequestId, requestId) + + // Skip handling the request that's already being handled + // by another (parent) interceptor. For example, XMLHttpRequest + // is often implemented via ClientRequest in Node.js (e.g. JSDOM). + // In that case, XHR interceptor will bubble down to the ClientRequest + // interceptor. No need to try to handle that request again. + /** + * @fixme Stop relying on the "X-Request-Id" request header + * to figure out if one interceptor has been invoked within another. + * @see https://github.com/mswjs/interceptors/issues/378 + */ + if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) { + this.passthrough() + return + } + + this.onRequest({ + requestId, + request: this.request, + socket: this, + }) + } + + private onRequestBody(chunk: Buffer): void { + invariant( + this.requestStream, + 'Failed to write to a request stream: stream does not exist' + ) + + this.requestStream.push(chunk) + } + + private onRequestEnd(): void { + // Request end can be called for requests without body. + if (this.requestStream) { + this.requestStream.push(null) + } + } + + private onResponseStart: ResponseHeadersCompleteCallback = ( + versionMajor, + versionMinor, + rawHeaders, + method, + url, + status, + statusText + ) => { + const headers = FetchResponse.parseRawHeaders(rawHeaders) + + const response = new FetchResponse( + /** + * @note The Fetch API response instance exposed to the consumer + * is created over the response stream of the HTTP parser. It is NOT + * related to the Socket instance. This way, you can read response body + * in response listener while the Socket instance delays the emission + * of "end" and other events until those response listeners are finished. + */ + FetchResponse.isResponseWithBody(status) + ? (Readable.toWeb( + (this.responseStream = new Readable({ read() {} })) + ) as any) + : null, + { + url, + status, + statusText, + headers, + } + ) + + invariant( + this.request, + 'Failed to handle a response: request does not exist' + ) + + /** + * @fixme Stop relying on the "X-Request-Id" request header + * to figure out if one interceptor has been invoked within another. + * @see https://github.com/mswjs/interceptors/issues/378 + */ + if (this.request.headers.has(INTERNAL_REQUEST_ID_HEADER_NAME)) { + return + } + + this.responseListenersPromise = this.onResponse({ + response, + isMockedResponse: this.socketState === 'mock', + requestId: Reflect.get(this.request, kRequestId), + request: this.request, + socket: this, + }) + } + + private onResponseBody(chunk: Buffer) { + invariant( + this.responseStream, + 'Failed to write to a response stream: stream does not exist' + ) + + this.responseStream.push(chunk) + } + + private onResponseEnd(): void { + // Response end can be called for responses without body. + if (this.responseStream) { + this.responseStream.push(null) + } + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/agents.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/agents.ts new file mode 100644 index 0000000000..e5f95a8259 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/agents.ts @@ -0,0 +1,86 @@ +import net from 'node:net' +import http from 'node:http' +import https from 'node:https' +import { + MockHttpSocket, + type MockHttpSocketRequestCallback, + type MockHttpSocketResponseCallback, +} from './MockHttpSocket' + +declare module 'node:http' { + interface Agent { + createConnection(options: any, callback: any): net.Socket + } +} + +interface MockAgentOptions { + customAgent?: http.RequestOptions['agent'] + onRequest: MockHttpSocketRequestCallback + onResponse: MockHttpSocketResponseCallback +} + +export class MockAgent extends http.Agent { + private customAgent?: http.RequestOptions['agent'] + private onRequest: MockHttpSocketRequestCallback + private onResponse: MockHttpSocketResponseCallback + + constructor(options: MockAgentOptions) { + super() + this.customAgent = options.customAgent + this.onRequest = options.onRequest + this.onResponse = options.onResponse + } + + public createConnection(options: any, callback: any): net.Socket { + const createConnection = + (this.customAgent instanceof http.Agent && + this.customAgent.createConnection) || + super.createConnection + + const socket = new MockHttpSocket({ + connectionOptions: options, + createConnection: createConnection.bind( + this.customAgent || this, + options, + callback + ), + onRequest: this.onRequest.bind(this), + onResponse: this.onResponse.bind(this), + }) + + return socket + } +} + +export class MockHttpsAgent extends https.Agent { + private customAgent?: https.RequestOptions['agent'] + private onRequest: MockHttpSocketRequestCallback + private onResponse: MockHttpSocketResponseCallback + + constructor(options: MockAgentOptions) { + super() + this.customAgent = options.customAgent + this.onRequest = options.onRequest + this.onResponse = options.onResponse + } + + public createConnection(options: any, callback: any): net.Socket { + const createConnection = + (this.customAgent instanceof https.Agent && + this.customAgent.createConnection) || + super.createConnection + + const socket = new MockHttpSocket({ + connectionOptions: options, + createConnection: createConnection.bind( + this.customAgent || this, + options, + callback + ), + onRequest: this.onRequest.bind(this), + onResponse: this.onResponse.bind(this), + }) + + return socket + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.test.ts new file mode 100644 index 0000000000..98539017d0 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.test.ts @@ -0,0 +1,75 @@ +import { it, expect, beforeAll, afterEach, afterAll } from 'vitest' +import http from 'node:http' +import { HttpServer } from '@open-draft/test-server/http' +import { DeferredPromise } from '@open-draft/deferred-promise' +import { ClientRequestInterceptor } from '.' +import { sleep, waitForClientRequest } from '../../../test/helpers' + +const httpServer = new HttpServer((app) => { + app.get('/', (_req, res) => { + res.status(200).send('/') + }) + app.get('/get', (_req, res) => { + res.status(200).send('/get') + }) +}) + +const interceptor = new ClientRequestInterceptor() + +beforeAll(async () => { + interceptor.apply() + await httpServer.listen() +}) + +afterEach(() => { + interceptor.removeAllListeners() +}) + +afterAll(async () => { + interceptor.dispose() + await httpServer.close() +}) + +it('abort the request if the abort signal is emitted', async () => { + const requestUrl = httpServer.http.url('/') + + interceptor.on('request', async function delayedResponse({ controller }) { + await sleep(1_000) + controller.respondWith(new Response()) + }) + + const abortController = new AbortController() + const request = http.get(requestUrl, { signal: abortController.signal }) + + abortController.abort() + + const abortErrorPromise = new DeferredPromise() + request.on('error', function (error) { + abortErrorPromise.resolve(error) + }) + + const abortError = await abortErrorPromise + expect(abortError.name).toEqual('AbortError') + + expect(request.destroyed).toBe(true) +}) + +it('patch the Headers object correctly after dispose and reapply', async () => { + interceptor.dispose() + interceptor.apply() + + interceptor.on('request', ({ controller }) => { + const headers = new Headers({ + 'X-CustoM-HeadeR': 'Yes', + }) + controller.respondWith(new Response(null, { headers })) + }) + + const request = http.get(httpServer.http.url('/')) + const { res } = await waitForClientRequest(request) + + expect(res.rawHeaders).toEqual( + expect.arrayContaining(['X-CustoM-HeadeR', 'Yes']) + ) + expect(res.headers['x-custom-header']).toEqual('Yes') +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.ts new file mode 100644 index 0000000000..c5dac7a33e --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/index.ts @@ -0,0 +1,170 @@ +import http from 'node:http' +import https from 'node:https' +import { Interceptor } from '../../Interceptor' +import type { HttpRequestEventMap } from '../../glossary' +import { + kRequestId, + MockHttpSocketRequestCallback, + MockHttpSocketResponseCallback, +} from './MockHttpSocket' +import { MockAgent, MockHttpsAgent } from './agents' +import { RequestController } from '../../RequestController' +import { emitAsync } from '../../utils/emitAsync' +import { normalizeClientRequestArgs } from './utils/normalizeClientRequestArgs' +import { handleRequest } from '../../utils/handleRequest' +import { + recordRawFetchHeaders, + restoreHeadersPrototype, +} from './utils/recordRawHeaders' + +export class ClientRequestInterceptor extends Interceptor { + static symbol = Symbol('client-request-interceptor') + + constructor() { + super(ClientRequestInterceptor.symbol) + } + + protected setup(): void { + const { get: originalGet, request: originalRequest } = http + const { get: originalHttpsGet, request: originalHttpsRequest } = https + + const onRequest = this.onRequest.bind(this) + const onResponse = this.onResponse.bind(this) + + http.request = new Proxy(http.request, { + apply: (target, thisArg, args: Parameters) => { + const [url, options, callback] = normalizeClientRequestArgs( + 'http:', + args + ) + const mockAgent = new MockAgent({ + customAgent: options.agent, + onRequest, + onResponse, + }) + options.agent = mockAgent + + return Reflect.apply(target, thisArg, [url, options, callback]) + }, + }) + + http.get = new Proxy(http.get, { + apply: (target, thisArg, args: Parameters) => { + const [url, options, callback] = normalizeClientRequestArgs( + 'http:', + args + ) + + const mockAgent = new MockAgent({ + customAgent: options.agent, + onRequest, + onResponse, + }) + options.agent = mockAgent + + return Reflect.apply(target, thisArg, [url, options, callback]) + }, + }) + + // + // HTTPS. + // + + https.request = new Proxy(https.request, { + apply: (target, thisArg, args: Parameters) => { + const [url, options, callback] = normalizeClientRequestArgs( + 'https:', + args + ) + + const mockAgent = new MockHttpsAgent({ + customAgent: options.agent, + onRequest, + onResponse, + }) + options.agent = mockAgent + + return Reflect.apply(target, thisArg, [url, options, callback]) + }, + }) + + https.get = new Proxy(https.get, { + apply: (target, thisArg, args: Parameters) => { + const [url, options, callback] = normalizeClientRequestArgs( + 'https:', + args + ) + + const mockAgent = new MockHttpsAgent({ + customAgent: options.agent, + onRequest, + onResponse, + }) + options.agent = mockAgent + + return Reflect.apply(target, thisArg, [url, options, callback]) + }, + }) + + // Spy on `Header.prototype.set` and `Header.prototype.append` calls + // and record the raw header names provided. This is to support + // `IncomingMessage.prototype.rawHeaders`. + recordRawFetchHeaders() + + this.subscriptions.push(() => { + http.get = originalGet + http.request = originalRequest + + https.get = originalHttpsGet + https.request = originalHttpsRequest + + restoreHeadersPrototype() + }) + } + + private onRequest: MockHttpSocketRequestCallback = async ({ + request, + socket, + }) => { + const requestId = Reflect.get(request, kRequestId) + const controller = new RequestController(request) + + const isRequestHandled = await handleRequest({ + request, + requestId, + controller, + emitter: this.emitter, + onResponse: (response) => { + socket.respondWith(response) + }, + onRequestError: (response) => { + socket.respondWith(response) + }, + onError: (error) => { + if (error instanceof Error) { + socket.errorWith(error) + } + }, + }) + + if (!isRequestHandled) { + return socket.passthrough() + } + } + + public onResponse: MockHttpSocketResponseCallback = async ({ + requestId, + request, + response, + isMockedResponse, + }) => { + // Return the promise to when all the response event listeners + // are finished. + return emitAsync(this.emitter, 'response', { + requestId, + request, + response, + isMockedResponse, + }) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.test.ts new file mode 100644 index 0000000000..314120c326 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.test.ts @@ -0,0 +1,54 @@ +import { it, expect } from 'vitest' +import { IncomingMessage } from 'http' +import { Socket } from 'net' +import * as zlib from 'zlib' +import { getIncomingMessageBody } from './getIncomingMessageBody' + +it('returns utf8 string given a utf8 response body', async () => { + const utfBuffer = Buffer.from('one') + const message = new IncomingMessage(new Socket()) + + const pendingResponseBody = getIncomingMessageBody(message) + message.emit('data', utfBuffer) + message.emit('end') + + expect(await pendingResponseBody).toEqual('one') +}) + +it('returns utf8 string given a gzipped response body', async () => { + const utfBuffer = zlib.gzipSync(Buffer.from('two')) + const message = new IncomingMessage(new Socket()) + message.headers = { + 'content-encoding': 'gzip', + } + + const pendingResponseBody = getIncomingMessageBody(message) + message.emit('data', utfBuffer) + message.emit('end') + + expect(await pendingResponseBody).toEqual('two') +}) + +it('returns utf8 string given a gzipped response body with incorrect "content-lenght"', async () => { + const utfBuffer = zlib.gzipSync(Buffer.from('three')) + const message = new IncomingMessage(new Socket()) + message.headers = { + 'content-encoding': 'gzip', + 'content-length': '500', + } + + const pendingResponseBody = getIncomingMessageBody(message) + message.emit('data', utfBuffer) + message.emit('end') + + expect(await pendingResponseBody).toEqual('three') +}) + +it('returns empty string given an empty body', async () => { + const message = new IncomingMessage(new Socket()) + + const pendingResponseBody = getIncomingMessageBody(message) + message.emit('end') + + expect(await pendingResponseBody).toEqual('') +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.ts new file mode 100644 index 0000000000..563e552597 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/getIncomingMessageBody.ts @@ -0,0 +1,45 @@ +import { IncomingMessage } from 'http' +import { PassThrough } from 'stream' +import * as zlib from 'zlib' +import { Logger } from '@open-draft/logger' + +const logger = new Logger('http getIncomingMessageBody') + +export function getIncomingMessageBody( + response: IncomingMessage +): Promise { + return new Promise((resolve, reject) => { + logger.info('cloning the original response...') + + // Pipe the original response to support non-clone + // "response" input. No need to clone the response, + // as we always have access to the full "response" input, + // either a clone or an original one (in tests). + const responseClone = response.pipe(new PassThrough()) + const stream = + response.headers['content-encoding'] === 'gzip' + ? responseClone.pipe(zlib.createGunzip()) + : responseClone + + const encoding = response.readableEncoding || 'utf8' + stream.setEncoding(encoding) + logger.info('using encoding:', encoding) + + let body = '' + + stream.on('data', (responseBody) => { + logger.info('response body read:', responseBody) + body += responseBody + }) + + stream.once('end', () => { + logger.info('response body end') + resolve(body) + }) + + stream.once('error', (error) => { + logger.info('error while reading response body:', error) + reject(error) + }) + }) +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.test.ts new file mode 100644 index 0000000000..3eb551fdb0 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.test.ts @@ -0,0 +1,447 @@ +import { it, expect } from 'vitest' +import { parse } from 'url' +import { globalAgent as httpGlobalAgent, RequestOptions } from 'http' +import { Agent as HttpsAgent, globalAgent as httpsGlobalAgent } from 'https' +import { getUrlByRequestOptions } from '../../../utils/getUrlByRequestOptions' +import { normalizeClientRequestArgs } from './normalizeClientRequestArgs' + +it('handles [string, callback] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('https:', [ + 'https://mswjs.io/resource', + function cb() {}, + ]) + + // URL string must be converted to a URL instance. + expect(url.href).toEqual('https://mswjs.io/resource') + + // Request options must be derived from the URL instance. + expect(options).toHaveProperty('method', 'GET') + expect(options).toHaveProperty('protocol', 'https:') + expect(options).toHaveProperty('hostname', 'mswjs.io') + expect(options).toHaveProperty('path', '/resource') + + // Callback must be preserved. + expect(callback?.name).toEqual('cb') +}) + +it('handles [string, RequestOptions, callback] input', () => { + const initialOptions = { + headers: { + 'Content-Type': 'text/plain', + }, + } + const [url, options, callback] = normalizeClientRequestArgs('https:', [ + 'https://mswjs.io/resource', + initialOptions, + function cb() {}, + ]) + + // URL must be created from the string. + expect(url.href).toEqual('https://mswjs.io/resource') + + // Request options must be preserved. + expect(options).toHaveProperty('headers', initialOptions.headers) + + // Callback must be preserved. + expect(callback?.name).toEqual('cb') +}) + +it('handles [URL, callback] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('https:', [ + new URL('https://mswjs.io/resource'), + function cb() {}, + ]) + + // URL must be preserved. + expect(url.href).toEqual('https://mswjs.io/resource') + + // Request options must be derived from the URL instance. + expect(options.method).toEqual('GET') + expect(options.protocol).toEqual('https:') + expect(options.hostname).toEqual('mswjs.io') + expect(options.path).toEqual('/resource') + + // Callback must be preserved. + expect(callback?.name).toEqual('cb') +}) + +it('handles [Absolute Legacy URL, callback] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('https:', [ + parse('https://cherry:durian@mswjs.io:12345/resource?apple=banana'), + function cb() {}, + ]) + + // URL must be preserved. + expect(url.toJSON()).toEqual( + new URL( + 'https://cherry:durian@mswjs.io:12345/resource?apple=banana' + ).toJSON() + ) + + // Request options must be derived from the URL instance. + expect(options.method).toEqual('GET') + expect(options.protocol).toEqual('https:') + expect(options.hostname).toEqual('mswjs.io') + expect(options.path).toEqual('/resource?apple=banana') + expect(options.port).toEqual(12345) + expect(options.auth).toEqual('cherry:durian') + + // Callback must be preserved. + expect(callback?.name).toEqual('cb') +}) + +it('handles [Relative Legacy URL, RequestOptions without path set, callback] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('http:', [ + parse('/resource?apple=banana'), + { host: 'mswjs.io' }, + function cb() {}, + ]) + + // Correct WHATWG URL generated. + expect(url.toJSON()).toEqual( + new URL('http://mswjs.io/resource?apple=banana').toJSON() + ) + + // No path in request options, so legacy url path is copied-in. + expect(options.protocol).toEqual('http:') + expect(options.host).toEqual('mswjs.io') + expect(options.path).toEqual('/resource?apple=banana') + + // Callback must be preserved. + expect(callback?.name).toEqual('cb') +}) + +it('handles [Relative Legacy URL, RequestOptions with path set, callback] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('http:', [ + parse('/resource?apple=banana'), + { host: 'mswjs.io', path: '/other?cherry=durian' }, + function cb() {}, + ]) + + // Correct WHATWG URL generated. + expect(url.toJSON()).toEqual( + new URL('http://mswjs.io/other?cherry=durian').toJSON() + ) + + // Path in request options, so that path is preferred. + expect(options.protocol).toEqual('http:') + expect(options.host).toEqual('mswjs.io') + expect(options.path).toEqual('/other?cherry=durian') + + // Callback must be preserved. + expect(callback?.name).toEqual('cb') +}) + +it('handles [Relative Legacy URL, callback] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('http:', [ + parse('/resource?apple=banana'), + function cb() {}, + ]) + + // Correct WHATWG URL generated. + expect(url.toJSON()).toMatch( + getUrlByRequestOptions({ path: '/resource?apple=banana' }).toJSON() + ) + + // Check path is in options. + expect(options.protocol).toEqual('http:') + expect(options.path).toEqual('/resource?apple=banana') + + // Callback must be preserved. + expect(callback).toBeTypeOf('function') + expect(callback?.name).toEqual('cb') +}) + +it('handles [Relative Legacy URL] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('http:', [ + parse('/resource?apple=banana'), + ]) + + // Correct WHATWG URL generated. + expect(url.toJSON()).toMatch( + getUrlByRequestOptions({ path: '/resource?apple=banana' }).toJSON() + ) + + // Check path is in options. + expect(options.protocol).toEqual('http:') + expect(options.path).toEqual('/resource?apple=banana') + + // Callback must be preserved. + expect(callback).toBeUndefined() +}) + +it('handles [URL, RequestOptions, callback] input', () => { + const [url, options, callback] = normalizeClientRequestArgs('https:', [ + new URL('https://mswjs.io/resource'), + { + agent: false, + headers: { + 'Content-Type': 'text/plain', + }, + }, + function cb() {}, + ]) + + // URL must be preserved. + expect(url.href).toEqual('https://mswjs.io/resource') + + // Options must be preserved. + // `urlToHttpOptions` from `node:url` generates additional + // ClientRequest options, some of which are not legally allowed. + expect(options).toMatchObject({ + agent: false, + _defaultAgent: httpsGlobalAgent, + protocol: url.protocol, + method: 'GET', + headers: { + 'Content-Type': 'text/plain', + }, + hostname: url.hostname, + path: url.pathname, + }) + + // Callback must be preserved. + expect(callback).toBeTypeOf('function') + expect(callback?.name).toEqual('cb') +}) + +it('handles [URL, RequestOptions] where options have custom "hostname"', () => { + const [url, options] = normalizeClientRequestArgs('http:', [ + new URL('http://example.com/path-from-url'), + { + hostname: 'host-from-options.com', + }, + ]) + expect(url.href).toBe('http://host-from-options.com/path-from-url') + expect(options).toMatchObject({ + hostname: 'host-from-options.com', + path: '/path-from-url', + }) +}) + +it('handles [URL, RequestOptions] where options contain "host" and "path" and "port"', () => { + const [url, options] = normalizeClientRequestArgs('http:', [ + new URL('http://example.com/path-from-url?a=b&c=d'), + { + hostname: 'host-from-options.com', + path: '/path-from-options', + port: 1234, + }, + ]) + // Must remove the query string since it's not specified in "options.path" + expect(url.href).toBe('http://host-from-options.com:1234/path-from-options') + expect(options).toMatchObject({ + hostname: 'host-from-options.com', + path: '/path-from-options', + port: 1234, + }) +}) + +it('handles [URL, RequestOptions] where options contain "path" with query string', () => { + const [url, options] = normalizeClientRequestArgs('http:', [ + new URL('http://example.com/path-from-url?a=b&c=d'), + { + path: '/path-from-options?foo=bar&baz=xyz', + }, + ]) + expect(url.href).toBe('http://example.com/path-from-options?foo=bar&baz=xyz') + expect(options).toMatchObject({ + hostname: 'example.com', + path: '/path-from-options?foo=bar&baz=xyz', + }) +}) + +it('handles [RequestOptions, callback] input', () => { + const initialOptions = { + method: 'POST', + protocol: 'https:', + host: 'mswjs.io', + /** + * @see https://github.com/mswjs/msw/issues/705 + */ + origin: 'https://mswjs.io', + path: '/resource', + headers: { + 'Content-Type': 'text/plain', + }, + } + const [url, options, callback] = normalizeClientRequestArgs('https:', [ + initialOptions, + function cb() {}, + ]) + + // URL must be derived from request options. + expect(url.href).toEqual('https://mswjs.io/resource') + + // Request options must be preserved. + expect(options).toMatchObject(initialOptions) + + // Callback must be preserved. + expect(callback).toBeTypeOf('function') + expect(callback?.name).toEqual('cb') +}) + +it('handles [Empty RequestOptions, callback] input', () => { + const [_, options, callback] = normalizeClientRequestArgs('https:', [ + {}, + function cb() {}, + ]) + + expect(options.protocol).toEqual('https:') + + // Callback must be preserved + expect(callback?.name).toEqual('cb') +}) + +/** + * @see https://github.com/mswjs/interceptors/issues/19 + */ +it('handles [PartialRequestOptions, callback] input', () => { + const initialOptions = { + method: 'GET', + port: '50176', + path: '/resource', + host: '127.0.0.1', + ca: undefined, + key: undefined, + pfx: undefined, + cert: undefined, + passphrase: undefined, + agent: false, + } + const [url, options, callback] = normalizeClientRequestArgs('https:', [ + initialOptions, + function cb() {}, + ]) + + // URL must be derived from request options. + expect(url.toJSON()).toEqual( + new URL('https://127.0.0.1:50176/resource').toJSON() + ) + + // Request options must be preserved. + expect(options).toMatchObject(initialOptions) + + // Options protocol must be inferred from the request issuing module. + expect(options.protocol).toEqual('https:') + + // Callback must be preserved. + expect(callback).toBeTypeOf('function') + expect(callback?.name).toEqual('cb') +}) + +it('sets fallback Agent based on the URL protocol', () => { + const [url, options] = normalizeClientRequestArgs('https:', [ + 'https://github.com', + ]) + const agent = options.agent as HttpsAgent + + expect(agent).toBeInstanceOf(HttpsAgent) + expect(agent).toHaveProperty('defaultPort', 443) + expect(agent).toHaveProperty('protocol', url.protocol) +}) + +it('does not set any fallback Agent given "agent: false" option', () => { + const [, options] = normalizeClientRequestArgs('https:', [ + 'https://github.com', + { agent: false }, + ]) + + expect(options.agent).toEqual(false) +}) + +it('sets the default Agent for HTTP request', () => { + const [, options] = normalizeClientRequestArgs('http:', [ + 'http://github.com', + {}, + ]) + + expect(options._defaultAgent).toEqual(httpGlobalAgent) +}) + +it('sets the default Agent for HTTPS request', () => { + const [, options] = normalizeClientRequestArgs('https:', [ + 'https://github.com', + {}, + ]) + + expect(options._defaultAgent).toEqual(httpsGlobalAgent) +}) + +it('preserves a custom default Agent when set', () => { + const [, options] = normalizeClientRequestArgs('https:', [ + 'https://github.com', + { + /** + * @note Intentionally incorrect Agent for HTTPS request. + */ + _defaultAgent: httpGlobalAgent, + }, + ]) + + expect(options._defaultAgent).toEqual(httpGlobalAgent) +}) + +it('merges URL-based RequestOptions with the custom RequestOptions', () => { + const [url, options] = normalizeClientRequestArgs('https:', [ + 'https://github.com/graphql', + { + method: 'GET', + pfx: 'PFX_KEY', + }, + ]) + + expect(url.href).toEqual('https://github.com/graphql') + + // Original request options must be preserved. + expect(options.method).toEqual('GET') + expect(options.pfx).toEqual('PFX_KEY') + + // Other options must be inferred from the URL. + expect(options.protocol).toEqual(url.protocol) + expect(options.hostname).toEqual(url.hostname) + expect(options.path).toEqual(url.pathname) +}) + +it('respects custom "options.path" over URL path', () => { + const [url, options] = normalizeClientRequestArgs('http:', [ + new URL('http://example.com/path-from-url'), + { + path: '/path-from-options', + }, + ]) + + expect(url.href).toBe('http://example.com/path-from-options') + expect(options.protocol).toBe('http:') + expect(options.hostname).toBe('example.com') + expect(options.path).toBe('/path-from-options') +}) + +it('respects custom "options.path" over URL path with query string', () => { + const [url, options] = normalizeClientRequestArgs('http:', [ + new URL('http://example.com/path-from-url?a=b&c=d'), + { + path: '/path-from-options', + }, + ]) + + // Must replace both the path and the query string. + expect(url.href).toBe('http://example.com/path-from-options') + expect(options.protocol).toBe('http:') + expect(options.hostname).toBe('example.com') + expect(options.path).toBe('/path-from-options') +}) + +it('preserves URL query string', () => { + const [url, options] = normalizeClientRequestArgs('http:', [ + new URL('http://example.com:8080/resource?a=b&c=d'), + ]) + + expect(url.href).toBe('http://example.com:8080/resource?a=b&c=d') + expect(options.protocol).toBe('http:') + // expect(options.host).toBe('example.com:8080') + expect(options.hostname).toBe('example.com') + // Query string is a part of the options path. + expect(options.path).toBe('/resource?a=b&c=d') + expect(options.port).toBe(8080) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts new file mode 100644 index 0000000000..03c77453a5 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/normalizeClientRequestArgs.ts @@ -0,0 +1,288 @@ +import { urlToHttpOptions } from 'node:url' +import { + Agent as HttpAgent, + globalAgent as httpGlobalAgent, + IncomingMessage, +} from 'node:http' +import { + RequestOptions, + Agent as HttpsAgent, + globalAgent as httpsGlobalAgent, +} from 'node:https' +import { + /** + * @note Use the Node.js URL instead of the global URL + * because environments like JSDOM may override the global, + * breaking the compatibility with Node.js. + * @see https://github.com/node-fetch/node-fetch/issues/1376#issuecomment-966435555 + */ + URL, + Url as LegacyURL, + parse as parseUrl, +} from 'node:url' +import { Logger } from '@open-draft/logger' +import { + ResolvedRequestOptions, + getUrlByRequestOptions, +} from '../../../utils/getUrlByRequestOptions' +import { cloneObject } from '../../../utils/cloneObject' +import { isObject } from '../../../utils/isObject' + +const logger = new Logger('http normalizeClientRequestArgs') + +export type HttpRequestCallback = (response: IncomingMessage) => void + +export type ClientRequestArgs = + // Request without any arguments is also possible. + | [] + | [string | URL | LegacyURL, HttpRequestCallback?] + | [string | URL | LegacyURL, RequestOptions, HttpRequestCallback?] + | [RequestOptions, HttpRequestCallback?] + +function resolveRequestOptions( + args: ClientRequestArgs, + url: URL +): RequestOptions { + // Calling `fetch` provides only URL to `ClientRequest` + // without any `RequestOptions` or callback. + if (typeof args[1] === 'undefined' || typeof args[1] === 'function') { + logger.info('request options not provided, deriving from the url', url) + return urlToHttpOptions(url) + } + + if (args[1]) { + logger.info('has custom RequestOptions!', args[1]) + const requestOptionsFromUrl = urlToHttpOptions(url) + + logger.info('derived RequestOptions from the URL:', requestOptionsFromUrl) + + /** + * Clone the request options to lock their state + * at the moment they are provided to `ClientRequest`. + * @see https://github.com/mswjs/interceptors/issues/86 + */ + logger.info('cloning RequestOptions...') + const clonedRequestOptions = cloneObject(args[1]) + logger.info('successfully cloned RequestOptions!', clonedRequestOptions) + + return { + ...requestOptionsFromUrl, + ...clonedRequestOptions, + } + } + + logger.info('using an empty object as request options') + return {} as RequestOptions +} + +/** + * Overrides the given `URL` instance with the explicit properties provided + * on the `RequestOptions` object. The options object takes precedence, + * and will replace URL properties like "host", "path", and "port", if specified. + */ +function overrideUrlByRequestOptions(url: URL, options: RequestOptions): URL { + url.host = options.host || url.host + url.hostname = options.hostname || url.hostname + url.port = options.port ? options.port.toString() : url.port + + if (options.path) { + const parsedOptionsPath = parseUrl(options.path, false) + url.pathname = parsedOptionsPath.pathname || '' + url.search = parsedOptionsPath.search || '' + } + + return url +} + +function resolveCallback( + args: ClientRequestArgs +): HttpRequestCallback | undefined { + return typeof args[1] === 'function' ? args[1] : args[2] +} + +export type NormalizedClientRequestArgs = [ + url: URL, + options: ResolvedRequestOptions, + callback?: HttpRequestCallback +] + +/** + * Normalizes parameters given to a `http.request` call + * so it always has a `URL` and `RequestOptions`. + */ +export function normalizeClientRequestArgs( + defaultProtocol: string, + args: ClientRequestArgs +): NormalizedClientRequestArgs { + let url: URL + let options: ResolvedRequestOptions + let callback: HttpRequestCallback | undefined + + logger.info('arguments', args) + logger.info('using default protocol:', defaultProtocol) + + // Support "http.request()" calls without any arguments. + // That call results in a "GET http://localhost" request. + if (args.length === 0) { + const url = new URL('http://localhost') + const options = resolveRequestOptions(args, url) + return [url, options] + } + + // Convert a url string into a URL instance + // and derive request options from it. + if (typeof args[0] === 'string') { + logger.info('first argument is a location string:', args[0]) + + url = new URL(args[0]) + logger.info('created a url:', url) + + const requestOptionsFromUrl = urlToHttpOptions(url) + logger.info('request options from url:', requestOptionsFromUrl) + + options = resolveRequestOptions(args, url) + logger.info('resolved request options:', options) + + callback = resolveCallback(args) + } + // Handle a given URL instance as-is + // and derive request options from it. + else if (args[0] instanceof URL) { + url = args[0] + logger.info('first argument is a URL:', url) + + // Check if the second provided argument is RequestOptions. + // If it is, check if "options.path" was set and rewrite it + // on the input URL. + // Do this before resolving options from the URL below + // to prevent query string from being duplicated in the path. + if (typeof args[1] !== 'undefined' && isObject(args[1])) { + url = overrideUrlByRequestOptions(url, args[1]) + } + + options = resolveRequestOptions(args, url) + logger.info('derived request options:', options) + + callback = resolveCallback(args) + } + // Handle a legacy URL instance and re-normalize from either a RequestOptions object + // or a WHATWG URL. + else if ('hash' in args[0] && !('method' in args[0])) { + const [legacyUrl] = args + logger.info('first argument is a legacy URL:', legacyUrl) + + if (legacyUrl.hostname === null) { + /** + * We are dealing with a relative url, so use the path as an "option" and + * merge in any existing options, giving priority to exising options -- i.e. a path in any + * existing options will take precedence over the one contained in the url. This is consistent + * with the behaviour in ClientRequest. + * @see https://github.com/nodejs/node/blob/d84f1312915fe45fe0febe888db692c74894c382/lib/_http_client.js#L122 + */ + logger.info('given legacy URL is relative (no hostname)') + + return isObject(args[1]) + ? normalizeClientRequestArgs(defaultProtocol, [ + { path: legacyUrl.path, ...args[1] }, + args[2], + ]) + : normalizeClientRequestArgs(defaultProtocol, [ + { path: legacyUrl.path }, + args[1] as HttpRequestCallback, + ]) + } + + logger.info('given legacy url is absolute') + + // We are dealing with an absolute URL, so convert to WHATWG and try again. + const resolvedUrl = new URL(legacyUrl.href) + + return args[1] === undefined + ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl]) + : typeof args[1] === 'function' + ? normalizeClientRequestArgs(defaultProtocol, [resolvedUrl, args[1]]) + : normalizeClientRequestArgs(defaultProtocol, [ + resolvedUrl, + args[1], + args[2], + ]) + } + // Handle a given "RequestOptions" object as-is + // and derive the URL instance from it. + else if (isObject(args[0])) { + options = { ...(args[0] as any) } + logger.info('first argument is RequestOptions:', options) + + // When handling a "RequestOptions" object without an explicit "protocol", + // infer the protocol from the request issuing module (http/https). + options.protocol = options.protocol || defaultProtocol + logger.info('normalized request options:', options) + + url = getUrlByRequestOptions(options) + logger.info('created a URL from RequestOptions:', url.href) + + callback = resolveCallback(args) + } else { + throw new Error( + `Failed to construct ClientRequest with these parameters: ${args}` + ) + } + + options.protocol = options.protocol || url.protocol + options.method = options.method || 'GET' + + /** + * Infer a fallback agent from the URL protocol. + * The interception is done on the "ClientRequest" level ("NodeClientRequest") + * and it may miss the correct agent. Always align the agent + * with the URL protocol, if not provided. + * + * @note Respect the "agent: false" value. + */ + if (typeof options.agent === 'undefined') { + const agent = + options.protocol === 'https:' + ? new HttpsAgent({ + rejectUnauthorized: options.rejectUnauthorized, + }) + : new HttpAgent() + + options.agent = agent + logger.info('resolved fallback agent:', agent) + } + + /** + * Ensure that the default Agent is always set. + * This prevents the protocol mismatch for requests with { agent: false }, + * where the global Agent is inferred. + * @see https://github.com/mswjs/msw/issues/1150 + * @see https://github.com/nodejs/node/blob/418ff70b810f0e7112d48baaa72932a56cfa213b/lib/_http_client.js#L130 + * @see https://github.com/nodejs/node/blob/418ff70b810f0e7112d48baaa72932a56cfa213b/lib/_http_client.js#L157-L159 + */ + if (!options._defaultAgent) { + logger.info( + 'has no default agent, setting the default agent for "%s"', + options.protocol + ) + + options._defaultAgent = + options.protocol === 'https:' ? httpsGlobalAgent : httpGlobalAgent + } + + logger.info('successfully resolved url:', url.href) + logger.info('successfully resolved options:', options) + logger.info('successfully resolved callback:', callback) + + /** + * @note If the user-provided URL is not a valid URL in Node.js, + * (e.g. the one provided by the JSDOM polyfills), case it to + * string. Otherwise, this throws on Node.js incompatibility + * (`ERR_INVALID_ARG_TYPE` on the connection listener) + * @see https://github.com/node-fetch/node-fetch/issues/1376#issuecomment-966435555 + */ + if (!(url instanceof URL)) { + url = (url as any).toString() + } + + return [url, options, callback] +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.test.ts new file mode 100644 index 0000000000..7507126086 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.test.ts @@ -0,0 +1,258 @@ +// @vitest-environment node +import { it, expect, afterEach } from 'vitest' +import { + recordRawFetchHeaders, + restoreHeadersPrototype, + getRawFetchHeaders, +} from './recordRawHeaders' + +const url = 'http://localhost' + +afterEach(() => { + restoreHeadersPrototype() +}) + +it('returns an empty list if no headers were set', () => { + expect(getRawFetchHeaders(new Headers())).toEqual([]) + expect(getRawFetchHeaders(new Headers(undefined))).toEqual([]) + expect(getRawFetchHeaders(new Headers({}))).toEqual([]) + expect(getRawFetchHeaders(new Headers([]))).toEqual([]) + expect(getRawFetchHeaders(new Request(url).headers)).toEqual([]) + expect(getRawFetchHeaders(new Response().headers)).toEqual([]) +}) + +it('records raw headers (Headers / object as init)', () => { + recordRawFetchHeaders() + const headers = new Headers({ + 'Content-Type': 'application/json', + 'X-My-Header': '1', + }) + + expect(getRawFetchHeaders(headers)).toEqual([ + ['Content-Type', 'application/json'], + ['X-My-Header', '1'], + ]) + expect(Object.fromEntries(headers)).toEqual({ + 'content-type': 'application/json', + 'x-my-header': '1', + }) +}) + +it('records raw headers (Headers / array as init)', () => { + recordRawFetchHeaders() + const headers = new Headers([['X-My-Header', '1']]) + + expect(getRawFetchHeaders(headers)).toEqual([['X-My-Header', '1']]) + expect(Object.fromEntries(headers)).toEqual({ + 'x-my-header': '1', + }) +}) + +it('records raw headers (Headers / Headers as init', () => { + recordRawFetchHeaders() + const headers = new Headers([['X-My-Header', '1']]) + + expect(getRawFetchHeaders(new Headers(headers))).toEqual([ + ['X-My-Header', '1'], + ]) +}) + +it('records raw headers added via ".set()"', () => { + recordRawFetchHeaders() + const headers = new Headers([['X-My-Header', '1']]) + headers.set('X-Another-Header', '2') + + expect(getRawFetchHeaders(headers)).toEqual([ + ['X-My-Header', '1'], + ['X-Another-Header', '2'], + ]) +}) + +it('records raw headers added via ".append()"', () => { + recordRawFetchHeaders() + const headers = new Headers([['X-My-Header', '1']]) + headers.append('X-My-Header', '2') + + expect(getRawFetchHeaders(headers)).toEqual([ + ['X-My-Header', '1'], + ['X-My-Header', '2'], + ]) +}) + +it('deletes the header when called ".delete()"', () => { + const headers = new Headers([['X-My-Header', '1']]) + headers.delete('X-My-Header') + + expect(getRawFetchHeaders(headers)).toEqual([]) +}) + +it('records raw headers (Request / object as init)', () => { + recordRawFetchHeaders() + const request = new Request(url, { + headers: { + 'Content-Type': 'application/json', + 'X-My-Header': '1', + }, + }) + + expect(getRawFetchHeaders(request.headers)).toEqual([ + ['Content-Type', 'application/json'], + ['X-My-Header', '1'], + ]) +}) + +it('records raw headers (Request / array as init)', () => { + recordRawFetchHeaders() + const request = new Request(url, { + headers: [['X-My-Header', '1']], + }) + + expect(getRawFetchHeaders(request.headers)).toEqual([['X-My-Header', '1']]) +}) + +it('records raw headers (Request / Headers as init)', () => { + recordRawFetchHeaders() + const headers = new Headers([['X-My-Header', '1']]) + const request = new Request(url, { headers }) + + expect(getRawFetchHeaders(request.headers)).toEqual([['X-My-Header', '1']]) +}) + +it('records raw headers (Reqest / Request as init)', () => { + recordRawFetchHeaders() + const init = new Request(url, { headers: [['X-My-Header', '1']] }) + const request = new Request(init) + + expect(getRawFetchHeaders(request.headers)).toEqual([['X-My-Header', '1']]) +}) + +it('preserves headers instanceof (Request / Request as init)', () => { + recordRawFetchHeaders() + const init = new Request(url, { headers: [['X-My-Header', '1']] }) + new Request(init) + expect(init.headers).toBeInstanceOf(Headers) +}) + +it('preserves headers instanceof (Request / Request with Headers as init)', () => { + recordRawFetchHeaders() + const headers = new Headers([['X-My-Header', '1']]) + const init = new Request(url, { headers }) + new Request(init) + expect(init.headers).toBeInstanceOf(Headers) +}) + +it('preserves headers instanceof (Response / Response with Headers as init)', () => { + recordRawFetchHeaders() + const init = { headers: new Headers([['X-My-Header', '1']]) } + new Response(url, init) + expect(init.headers).toBeInstanceOf(Headers) +}) + +it('records raw headers (Request / Request+Headers as init)', () => { + recordRawFetchHeaders() + const init = new Request(url, { headers: [['X-My-Header', '1']] }) + expect(getRawFetchHeaders(init.headers)).toEqual([['X-My-Header', '1']]) + + const request = new Request(init, { + headers: new Headers([['X-Another-Header', '2']]), + }) + + // Must merge the raw headers from the request init + // and the request instance itself. + expect(getRawFetchHeaders(request.headers)).toEqual([ + ['X-My-Header', '1'], + ['X-Another-Header', '2'], + ]) +}) + +it('records raw headers (Response / object as init)', () => { + recordRawFetchHeaders() + const response = new Response(null, { + headers: { + 'Content-Type': 'application/json', + 'X-My-Header': '1', + }, + }) + + expect(getRawFetchHeaders(response.headers)).toEqual([ + ['Content-Type', 'application/json'], + ['X-My-Header', '1'], + ]) +}) + +it('records raw headers (Response / array as init)', () => { + recordRawFetchHeaders() + const response = new Response(null, { + headers: [['X-My-Header', '1']], + }) + + expect(getRawFetchHeaders(response.headers)).toEqual([['X-My-Header', '1']]) +}) + +it('records raw headers (Response / Headers as init)', () => { + recordRawFetchHeaders() + const headers = new Headers([['X-My-Header', '1']]) + const response = new Response(null, { headers }) + + expect(getRawFetchHeaders(response.headers)).toEqual([['X-My-Header', '1']]) +}) + +it('stops recording once the patches are restored', () => { + restoreHeadersPrototype() + + const headers = new Headers({ 'X-My-Header': '1' }) + // Must return the normalized headers (no access to raw headers). + expect(getRawFetchHeaders(headers)).toEqual([['x-my-header', '1']]) +}) + +it('overrides an existing header when calling ".set()"', () => { + recordRawFetchHeaders() + const headers = new Headers([['a', '1']]) + expect(headers.get('a')).toBe('1') + + headers.set('a', '2') + expect(headers.get('a')).toBe('2') + + const headersClone = new Headers(headers) + expect(headersClone.get('a')).toBe('2') +}) + +it('overrides an existing multi-value header when calling ".set()"', () => { + recordRawFetchHeaders() + const headers = new Headers([ + ['a', '1'], + ['a', '2'], + ]) + expect(headers.get('a')).toBe('1, 2') + + headers.set('a', '3') + expect(headers.get('a')).toBe('3') +}) + +it('does not throw on using Headers before recording', () => { + // If the consumer constructs a Headers instance before + // the interceptor is enabled, it will have no internal symbol set. + const headers = new Headers() + recordRawFetchHeaders() + const request = new Request(url, { headers }) + + expect(getRawFetchHeaders(request.headers)).toEqual([]) + + request.headers.set('X-My-Header', '1') + expect(getRawFetchHeaders(request.headers)).toEqual([['X-My-Header', '1']]) +}) + +/** + * @see https://github.com/mswjs/interceptors/issues/681 + */ +it('isolates headers between different headers instances', async () => { + recordRawFetchHeaders() + const original = new Headers() + const firstClone = new Headers(original) + firstClone.set('Content-Type', 'application/json') + const secondClone = new Headers(original) + + expect(original.get('Content-Type')).toBeNull() + expect(firstClone.get('Content-Type')).toBe('application/json') + expect(secondClone.get('Content-Type')).toBeNull() +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts new file mode 100644 index 0000000000..80902d5036 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts @@ -0,0 +1,262 @@ +type HeaderTuple = [string, string] +type RawHeaders = Array +type SetHeaderBehavior = 'set' | 'append' + +const kRawHeaders = Symbol('kRawHeaders') +const kRestorePatches = Symbol('kRestorePatches') + +function recordRawHeader( + headers: Headers, + args: HeaderTuple, + behavior: SetHeaderBehavior +) { + ensureRawHeadersSymbol(headers, []) + const rawHeaders = Reflect.get(headers, kRawHeaders) as RawHeaders + + if (behavior === 'set') { + // When recording a set header, ensure we remove any matching existing headers. + for (let index = rawHeaders.length - 1; index >= 0; index--) { + if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) { + rawHeaders.splice(index, 1) + } + } + } + + rawHeaders.push(args) +} + +/** + * Define the raw headers symbol on the given `Headers` instance. + * If the symbol already exists, this function does nothing. + */ +function ensureRawHeadersSymbol( + headers: Headers, + rawHeaders: RawHeaders +): void { + if (Reflect.has(headers, kRawHeaders)) { + return + } + + defineRawHeadersSymbol(headers, rawHeaders) +} + +/** + * Define the raw headers symbol on the given `Headers` instance. + * If the symbol already exists, it gets overridden. + */ +function defineRawHeadersSymbol(headers: Headers, rawHeaders: RawHeaders) { + Object.defineProperty(headers, kRawHeaders, { + value: rawHeaders, + enumerable: false, + // Mark the symbol as configurable so its value can be overridden. + // Overrides happen when merging raw headers from multiple sources. + // E.g. new Request(new Request(url, { headers }), { headers }) + configurable: true, + }) +} + +/** + * Patch the global `Headers` class to store raw headers. + * This is for compatibility with `IncomingMessage.prototype.rawHeaders`. + * + * @note Node.js has their own raw headers symbol but it + * only records the first header name in case of multi-value headers. + * Any other headers are normalized before comparing. This makes it + * incompatible with the `rawHeaders` format. + * + * let h = new Headers() + * h.append('X-Custom', 'one') + * h.append('x-custom', 'two') + * h[Symbol('headers map')] // Map { 'X-Custom' => 'one, two' } + */ +export function recordRawFetchHeaders() { + // Prevent patching the Headers prototype multiple times. + if (Reflect.get(Headers, kRestorePatches)) { + return Reflect.get(Headers, kRestorePatches) + } + + const { + Headers: OriginalHeaders, + Request: OriginalRequest, + Response: OriginalResponse, + } = globalThis + const { set, append, delete: headersDeleteMethod } = Headers.prototype + + Object.defineProperty(Headers, kRestorePatches, { + value: () => { + Headers.prototype.set = set + Headers.prototype.append = append + Headers.prototype.delete = headersDeleteMethod + globalThis.Headers = OriginalHeaders + + globalThis.Request = OriginalRequest + globalThis.Response = OriginalResponse + + Reflect.deleteProperty(Headers, kRestorePatches) + }, + enumerable: false, + /** + * @note Mark this property as configurable + * so we can delete it using `Reflect.delete` during cleanup. + */ + configurable: true, + }) + + Object.defineProperty(globalThis, 'Headers', { + enumerable: true, + writable: true, + value: new Proxy(Headers, { + construct(target, args, newTarget) { + const headersInit = args[0] || [] + + if ( + headersInit instanceof Headers && + Reflect.has(headersInit, kRawHeaders) + ) { + const headers = Reflect.construct( + target, + [Reflect.get(headersInit, kRawHeaders)], + newTarget + ) + ensureRawHeadersSymbol(headers, [ + /** + * @note Spread the retrieved headers to clone them. + * This prevents multiple Headers instances from pointing + * at the same internal "rawHeaders" array. + */ + ...Reflect.get(headersInit, kRawHeaders), + ]) + return headers + } + + const headers = Reflect.construct(target, args, newTarget) + + // Request/Response constructors will set the symbol + // upon creating a new instance, using the raw developer + // input as the raw headers. Skip the symbol altogether + // in those cases because the input to Headers will be normalized. + if (!Reflect.has(headers, kRawHeaders)) { + const rawHeadersInit = Array.isArray(headersInit) + ? headersInit + : Object.entries(headersInit) + ensureRawHeadersSymbol(headers, rawHeadersInit) + } + + return headers + }, + }), + }) + + Headers.prototype.set = new Proxy(Headers.prototype.set, { + apply(target, thisArg, args: HeaderTuple) { + recordRawHeader(thisArg, args, 'set') + return Reflect.apply(target, thisArg, args) + }, + }) + + Headers.prototype.append = new Proxy(Headers.prototype.append, { + apply(target, thisArg, args: HeaderTuple) { + recordRawHeader(thisArg, args, 'append') + return Reflect.apply(target, thisArg, args) + }, + }) + + Headers.prototype.delete = new Proxy(Headers.prototype.delete, { + apply(target, thisArg, args: [string]) { + const rawHeaders = Reflect.get(thisArg, kRawHeaders) as RawHeaders + + if (rawHeaders) { + for (let index = rawHeaders.length - 1; index >= 0; index--) { + if (rawHeaders[index][0].toLowerCase() === args[0].toLowerCase()) { + rawHeaders.splice(index, 1) + } + } + } + + return Reflect.apply(target, thisArg, args) + }, + }) + + Object.defineProperty(globalThis, 'Request', { + enumerable: true, + writable: true, + value: new Proxy(Request, { + construct(target, args, newTarget) { + const request = Reflect.construct(target, args, newTarget) + const inferredRawHeaders: RawHeaders = [] + + // Infer raw headers from a `Request` instance used as init. + if (typeof args[0] === 'object' && args[0].headers != null) { + inferredRawHeaders.push(...inferRawHeaders(args[0].headers)) + } + + // Infer raw headers from the "headers" init argument. + if (typeof args[1] === 'object' && args[1].headers != null) { + inferredRawHeaders.push(...inferRawHeaders(args[1].headers)) + } + + if (inferredRawHeaders.length > 0) { + ensureRawHeadersSymbol(request.headers, inferredRawHeaders) + } + + return request + }, + }), + }) + + Object.defineProperty(globalThis, 'Response', { + enumerable: true, + writable: true, + value: new Proxy(Response, { + construct(target, args, newTarget) { + const response = Reflect.construct(target, args, newTarget) + + if (typeof args[1] === 'object' && args[1].headers != null) { + ensureRawHeadersSymbol( + response.headers, + inferRawHeaders(args[1].headers) + ) + } + + return response + }, + }), + }) +} + +export function restoreHeadersPrototype() { + if (!Reflect.get(Headers, kRestorePatches)) { + return + } + + Reflect.get(Headers, kRestorePatches)() +} + +export function getRawFetchHeaders(headers: Headers): RawHeaders { + // If the raw headers recording failed for some reason, + // use the normalized header entries instead. + if (!Reflect.has(headers, kRawHeaders)) { + return Array.from(headers.entries()) + } + + const rawHeaders = Reflect.get(headers, kRawHeaders) as RawHeaders + return rawHeaders.length > 0 ? rawHeaders : Array.from(headers.entries()) +} + +/** + * Infers the raw headers from the given `HeadersInit` provided + * to the Request/Response constructor. + * + * If the `init.headers` is a Headers instance, use it directly. + * That means the headers were created standalone and already have + * the raw headers stored. + * If the `init.headers` is a HeadersInit, create a new Headers + * instace out of it. + */ +function inferRawHeaders(headers: HeadersInit): RawHeaders { + if (headers instanceof Headers) { + return Reflect.get(headers, kRawHeaders) || [] + } + + return Reflect.get(new Headers(headers), kRawHeaders) +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.test.ts new file mode 100644 index 0000000000..61235cf363 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.test.ts @@ -0,0 +1,264 @@ +/** + * @vitest-environment node + */ +import { Socket } from 'node:net' +import { vi, it, expect } from 'vitest' +import { MockSocket } from './MockSocket' + +it(`keeps the socket connecting until it's destroyed`, () => { + const socket = new MockSocket({ + write: vi.fn(), + read: vi.fn(), + }) + + expect(socket.connecting).toBe(true) + + socket.destroy() + expect(socket.connecting).toBe(false) +}) + +it('calls the "write" on "socket.write()"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + socket.write() + expect(writeCallback).toHaveBeenCalledWith(undefined, undefined, undefined) +}) + +it('calls the "write" on "socket.write(chunk)"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + socket.write('hello') + expect(writeCallback).toHaveBeenCalledWith('hello', undefined, undefined) +}) + +it('calls the "write" on "socket.write(chunk, encoding)"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + socket.write('hello', 'utf8') + expect(writeCallback).toHaveBeenCalledWith('hello', 'utf8', undefined) +}) + +it('calls the "write" on "socket.write(chunk, encoding, callback)"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + const callback = vi.fn() + socket.write('hello', 'utf8', callback) + expect(writeCallback).toHaveBeenCalledWith('hello', 'utf8', callback) +}) + +it('calls the "write" on "socket.end()"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + socket.end() + expect(writeCallback).toHaveBeenCalledWith(undefined, undefined, undefined) +}) + +it('calls the "write" on "socket.end(chunk)"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + socket.end('final') + expect(writeCallback).toHaveBeenCalledWith('final', undefined, undefined) +}) + +it('calls the "write" on "socket.end(chunk, encoding)"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + socket.end('final', 'utf8') + expect(writeCallback).toHaveBeenCalledWith('final', 'utf8', undefined) +}) + +it('calls the "write" on "socket.end(chunk, encoding, callback)"', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + const callback = vi.fn() + socket.end('final', 'utf8', callback) + expect(writeCallback).toHaveBeenCalledWith('final', 'utf8', callback) +}) + +it('calls the "write" on "socket.end()" without any arguments', () => { + const writeCallback = vi.fn() + const socket = new MockSocket({ + write: writeCallback, + read: vi.fn(), + }) + + socket.end() + expect(writeCallback).toHaveBeenCalledWith(undefined, undefined, undefined) +}) + +it('emits "finished" on .end() without any arguments', async () => { + const finishListener = vi.fn() + const socket = new MockSocket({ + write: vi.fn(), + read: vi.fn(), + }) + socket.on('finish', finishListener) + socket.end() + + await vi.waitFor(() => { + expect(finishListener).toHaveBeenCalledTimes(1) + }) +}) + +it('calls the "read" on "socket.read(chunk)"', () => { + const readCallback = vi.fn() + const socket = new MockSocket({ + write: vi.fn(), + read: readCallback, + }) + + socket.push('hello') + expect(readCallback).toHaveBeenCalledWith('hello', undefined) +}) + +it('calls the "read" on "socket.read(chunk, encoding)"', () => { + const readCallback = vi.fn() + const socket = new MockSocket({ + write: vi.fn(), + read: readCallback, + }) + + socket.push('world', 'utf8') + expect(readCallback).toHaveBeenCalledWith('world', 'utf8') +}) + +it('calls the "read" on "socket.read(null)"', () => { + const readCallback = vi.fn() + const socket = new MockSocket({ + write: vi.fn(), + read: readCallback, + }) + + socket.push(null) + expect(readCallback).toHaveBeenCalledWith(null, undefined) +}) + +it('updates the writable state on "socket.end()"', async () => { + const finishListener = vi.fn() + const endListener = vi.fn() + const socket = new MockSocket({ + write: vi.fn(), + read: vi.fn(), + }) + socket.on('finish', finishListener) + socket.on('end', endListener) + + expect(socket.writable).toBe(true) + expect(socket.writableEnded).toBe(false) + expect(socket.writableFinished).toBe(false) + + socket.write('hello') + // Finish the writable stream. + socket.end() + + expect(socket.writable).toBe(false) + expect(socket.writableEnded).toBe(true) + + // The "finish" event is emitted when writable is done. + // I.e. "socket.end()" is called. + await vi.waitFor(() => { + expect(finishListener).toHaveBeenCalledTimes(1) + }) + expect(socket.writableFinished).toBe(true) +}) + +it('updates the readable state on "socket.push(null)"', async () => { + const endListener = vi.fn() + const socket = new MockSocket({ + write: vi.fn(), + read: vi.fn(), + }) + socket.on('end', endListener) + + expect(socket.readable).toBe(true) + expect(socket.readableEnded).toBe(false) + + socket.push('hello') + socket.push(null) + + expect(socket.readable).toBe(true) + expect(socket.readableEnded).toBe(false) + + // Read the data to free the buffer and + // make Socket emit "end". + socket.read() + + await vi.waitFor(() => { + expect(endListener).toHaveBeenCalledTimes(1) + }) + expect(socket.readable).toBe(false) + expect(socket.readableEnded).toBe(true) +}) + +it('updates the readable/writable state on "socket.destroy()"', async () => { + const finishListener = vi.fn() + const endListener = vi.fn() + const closeListener = vi.fn() + const socket = new MockSocket({ + write: vi.fn(), + read: vi.fn(), + }) + socket.on('finish', finishListener) + socket.on('end', endListener) + socket.on('close', closeListener) + + expect(socket.writable).toBe(true) + expect(socket.writableEnded).toBe(false) + expect(socket.writableFinished).toBe(false) + expect(socket.readable).toBe(true) + + socket.destroy() + + expect(socket.writable).toBe(false) + // The ".end()" wasn't called. + expect(socket.writableEnded).toBe(false) + expect(socket.writableFinished).toBe(false) + expect(socket.readable).toBe(false) + + await vi.waitFor(() => { + expect(closeListener).toHaveBeenCalledTimes(1) + }) + + // Neither "finish" nor "end" events are emitted + // when you destroy the stream. If you want those, + // call ".end()", then destroy the stream. + expect(finishListener).not.toHaveBeenCalled() + expect(endListener).not.toHaveBeenCalled() + expect(socket.writableFinished).toBe(false) + + // The "end" event was never emitted so "readableEnded" + // remains false. + expect(socket.readableEnded).toBe(false) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.ts b/node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.ts new file mode 100644 index 0000000000..5bcc42eead --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/Socket/MockSocket.ts @@ -0,0 +1,58 @@ +import net from 'node:net' +import { + normalizeSocketWriteArgs, + type WriteArgs, + type WriteCallback, +} from './utils/normalizeSocketWriteArgs' + +export interface MockSocketOptions { + write: ( + chunk: Buffer | string, + encoding: BufferEncoding | undefined, + callback?: WriteCallback + ) => void + + read: (chunk: Buffer, encoding: BufferEncoding | undefined) => void +} + +export class MockSocket extends net.Socket { + public connecting: boolean + + constructor(protected readonly options: MockSocketOptions) { + super() + this.connecting = false + this.connect() + + this._final = (callback) => { + callback(null) + } + } + + public connect() { + // The connection will remain pending until + // the consumer decides to handle it. + this.connecting = true + return this + } + + public write(...args: Array): boolean { + const [chunk, encoding, callback] = normalizeSocketWriteArgs( + args as WriteArgs + ) + this.options.write(chunk, encoding, callback) + return true + } + + public end(...args: Array) { + const [chunk, encoding, callback] = normalizeSocketWriteArgs( + args as WriteArgs + ) + this.options.write(chunk, encoding, callback) + return super.end.apply(this, args as any) + } + + public push(chunk: any, encoding?: BufferEncoding): boolean { + this.options.read(chunk, encoding) + return super.push(chunk, encoding) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts b/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts new file mode 100644 index 0000000000..6a4f33adba --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/baseUrlFromConnectionOptions.ts @@ -0,0 +1,26 @@ +export function baseUrlFromConnectionOptions(options: any): URL { + if ('href' in options) { + return new URL(options.href) + } + + const protocol = options.port === 443 ? 'https:' : 'http:' + const host = options.host + + const url = new URL(`${protocol}//${host}`) + + if (options.port) { + url.port = options.port.toString() + } + + if (options.path) { + url.pathname = options.path + } + + if (options.auth) { + const [username, password] = options.auth.split(':') + url.username = username + url.password = password + } + + return url +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.test.ts new file mode 100644 index 0000000000..32f2e1d5a8 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.test.ts @@ -0,0 +1,52 @@ +/** + * @vitest-environment node + */ +import { it, expect } from 'vitest' +import { normalizeSocketWriteArgs } from './normalizeSocketWriteArgs' + +it('normalizes .write()', () => { + expect(normalizeSocketWriteArgs([undefined])).toEqual([ + undefined, + undefined, + undefined, + ]) + expect(normalizeSocketWriteArgs([null])).toEqual([null, undefined, undefined]) +}) + +it('normalizes .write(chunk)', () => { + expect(normalizeSocketWriteArgs([Buffer.from('hello')])).toEqual([ + Buffer.from('hello'), + undefined, + undefined, + ]) + expect(normalizeSocketWriteArgs(['hello'])).toEqual([ + 'hello', + undefined, + undefined, + ]) + expect(normalizeSocketWriteArgs([null])).toEqual([null, undefined, undefined]) +}) + +it('normalizes .write(chunk, encoding)', () => { + expect(normalizeSocketWriteArgs([Buffer.from('hello'), 'utf8'])).toEqual([ + Buffer.from('hello'), + 'utf8', + undefined, + ]) +}) + +it('normalizes .write(chunk, callback)', () => { + const callback = () => {} + expect(normalizeSocketWriteArgs([Buffer.from('hello'), callback])).toEqual([ + Buffer.from('hello'), + undefined, + callback, + ]) +}) + +it('normalizes .write(chunk, encoding, callback)', () => { + const callback = () => {} + expect( + normalizeSocketWriteArgs([Buffer.from('hello'), 'utf8', callback]) + ).toEqual([Buffer.from('hello'), 'utf8', callback]) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts b/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts new file mode 100644 index 0000000000..03a3e9c054 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/Socket/utils/normalizeSocketWriteArgs.ts @@ -0,0 +1,33 @@ +export type WriteCallback = (error?: Error | null) => void + +export type WriteArgs = + | [chunk: unknown, callback?: WriteCallback] + | [chunk: unknown, encoding: BufferEncoding, callback?: WriteCallback] + +export type NormalizedSocketWriteArgs = [ + chunk: any, + encoding?: BufferEncoding, + callback?: WriteCallback, +] + +/** + * Normalizes the arguments provided to the `Writable.prototype.write()` + * and `Writable.prototype.end()`. + */ +export function normalizeSocketWriteArgs( + args: WriteArgs +): NormalizedSocketWriteArgs { + const normalized: NormalizedSocketWriteArgs = [args[0], undefined, undefined] + + if (typeof args[1] === 'string') { + normalized[1] = args[1] + } else if (typeof args[1] === 'function') { + normalized[2] = args[1] + } + + if (typeof args[2] === 'function') { + normalized[2] = args[2] + } + + return normalized +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClassTransport.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClassTransport.ts new file mode 100644 index 0000000000..70f2166584 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClassTransport.ts @@ -0,0 +1,116 @@ +import { bindEvent } from './utils/bindEvent' +import { + StrictEventListenerOrEventListenerObject, + WebSocketData, + WebSocketTransport, + WebSocketTransportEventMap, +} from './WebSocketTransport' +import { kOnSend, kClose, WebSocketOverride } from './WebSocketOverride' +import { CancelableMessageEvent, CloseEvent } from './utils/events' + +/** + * Abstraction over the given mock `WebSocket` instance that allows + * for controlling that instance (e.g. sending and receiving messages). + */ +export class WebSocketClassTransport + extends EventTarget + implements WebSocketTransport +{ + constructor(protected readonly socket: WebSocketOverride) { + super() + + // Emit the "close" event on the transport if the close + // originates from the WebSocket client. E.g. the application + // calls "ws.close()", not the interceptor. + this.socket.addEventListener('close', (event) => { + this.dispatchEvent(bindEvent(this.socket, new CloseEvent('close', event))) + }) + + /** + * Emit the "outgoing" event on the transport + * whenever the WebSocket client sends data ("ws.send()"). + */ + this.socket[kOnSend] = (data) => { + this.dispatchEvent( + bindEvent( + this.socket, + // Dispatch this as cancelable because "client" connection + // re-creates this message event (cannot dispatch the same event). + new CancelableMessageEvent('outgoing', { + data, + origin: this.socket.url, + cancelable: true, + }) + ) + ) + } + } + + public addEventListener( + type: EventType, + callback: StrictEventListenerOrEventListenerObject< + WebSocketTransportEventMap[EventType] + > | null, + options?: boolean | AddEventListenerOptions + ): void { + return super.addEventListener(type, callback as EventListener, options) + } + + public dispatchEvent( + event: WebSocketTransportEventMap[EventType] + ): boolean { + return super.dispatchEvent(event) + } + + public send(data: WebSocketData): void { + queueMicrotask(() => { + if ( + this.socket.readyState === this.socket.CLOSING || + this.socket.readyState === this.socket.CLOSED + ) { + return + } + + const dispatchEvent = () => { + this.socket.dispatchEvent( + bindEvent( + /** + * @note Setting this event's "target" to the + * WebSocket override instance is important. + * This way it can tell apart original incoming events + * (must be forwarded to the transport) from the + * mocked message events like the one below + * (must be dispatched on the client instance). + */ + this.socket, + new MessageEvent('message', { + data, + origin: this.socket.url, + }) + ) + ) + } + + if (this.socket.readyState === this.socket.CONNECTING) { + this.socket.addEventListener( + 'open', + () => { + dispatchEvent() + }, + { once: true } + ) + } else { + dispatchEvent() + } + }) + } + + public close(code: number, reason?: string): void { + /** + * @note Call the internal close method directly + * to allow closing the connection with the status codes + * that are non-configurable by the user (> 1000 <= 1015). + */ + this.socket[kClose](code, reason) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts new file mode 100644 index 0000000000..0e1749cf7f --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts @@ -0,0 +1,138 @@ +import type { WebSocketData, WebSocketTransport } from './WebSocketTransport' +import type { WebSocketEventListener } from './WebSocketOverride' +import { bindEvent } from './utils/bindEvent' +import { CancelableMessageEvent, CloseEvent } from './utils/events' +import { createRequestId } from '../../createRequestId' + +const kEmitter = Symbol('kEmitter') +const kBoundListener = Symbol('kBoundListener') + +interface WebSocketClientEventMap { + message: MessageEvent + close: CloseEvent +} + +export interface WebSocketClientConnectionProtocol { + id: string + url: URL + send(data: WebSocketData): void + close(code?: number, reason?: string): void +} + +/** + * The WebSocket client instance represents an incoming + * client connection. The user can control the connection, + * send and receive events. + */ +export class WebSocketClientConnection + implements WebSocketClientConnectionProtocol +{ + public readonly id: string + public readonly url: URL + + private [kEmitter]: EventTarget + + constructor( + public readonly socket: WebSocket, + private readonly transport: WebSocketTransport + ) { + this.id = createRequestId() + this.url = new URL(socket.url) + this[kEmitter] = new EventTarget() + + // Emit outgoing client data ("ws.send()") as "message" + // events on the "client" connection. + this.transport.addEventListener('outgoing', (event) => { + const message = bindEvent( + this.socket, + new CancelableMessageEvent('message', { + data: event.data, + origin: event.origin, + cancelable: true, + }) + ) + + this[kEmitter].dispatchEvent(message) + + // This is a bit silly but forward the cancellation state + // of the "client" message event to the "outgoing" transport event. + // This way, other agens (like "server" connection) can know + // whether the client listener has pervented the default. + if (message.defaultPrevented) { + event.preventDefault() + } + }) + + /** + * Emit the "close" event on the "client" connection + * whenever the underlying transport is closed. + * @note "client.close()" does NOT dispatch the "close" + * event on the WebSocket because it uses non-configurable + * close status code. Thus, we listen to the transport + * instead of the WebSocket's "close" event. + */ + this.transport.addEventListener('close', (event) => { + this[kEmitter].dispatchEvent( + bindEvent(this.socket, new CloseEvent('close', event)) + ) + }) + } + + /** + * Listen for the outgoing events from the connected WebSocket client. + */ + public addEventListener( + type: EventType, + listener: WebSocketEventListener, + options?: AddEventListenerOptions | boolean + ): void { + if (!Reflect.has(listener, kBoundListener)) { + const boundListener = listener.bind(this.socket) + + // Store the bound listener on the original listener + // so the exact bound function can be accessed in "removeEventListener()". + Object.defineProperty(listener, kBoundListener, { + value: boundListener, + enumerable: false, + configurable: false, + }) + } + + this[kEmitter].addEventListener( + type, + Reflect.get(listener, kBoundListener) as EventListener, + options + ) + } + + /** + * Removes the listener for the given event. + */ + public removeEventListener( + event: EventType, + listener: WebSocketEventListener, + options?: EventListenerOptions | boolean + ): void { + this[kEmitter].removeEventListener( + event, + Reflect.get(listener, kBoundListener) as EventListener, + options + ) + } + + /** + * Send data to the connected client. + */ + public send(data: WebSocketData): void { + this.transport.send(data) + } + + /** + * Close the WebSocket connection. + * @param {number} code A status code (see https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1). + * @param {string} reason A custom connection close reason. + */ + public close(code?: number, reason?: string): void { + this.transport.close(code, reason) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketOverride.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketOverride.ts new file mode 100644 index 0000000000..8edb17289d --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketOverride.ts @@ -0,0 +1,251 @@ +import { invariant } from 'outvariant' +import type { WebSocketData } from './WebSocketTransport' +import { bindEvent } from './utils/bindEvent' +import { CloseEvent } from './utils/events' +import { DeferredPromise } from '@open-draft/deferred-promise' + +export type WebSocketEventListener< + EventType extends WebSocketEventMap[keyof WebSocketEventMap] = Event +> = (this: WebSocket, event: EventType) => void + +const WEBSOCKET_CLOSE_CODE_RANGE_ERROR = + 'InvalidAccessError: close code out of user configurable range' + +export const kPassthroughPromise = Symbol('kPassthroughPromise') +export const kOnSend = Symbol('kOnSend') +export const kClose = Symbol('kClose') + +export class WebSocketOverride extends EventTarget implements WebSocket { + static readonly CONNECTING = 0 + static readonly OPEN = 1 + static readonly CLOSING = 2 + static readonly CLOSED = 3 + readonly CONNECTING = 0 + readonly OPEN = 1 + readonly CLOSING = 2 + readonly CLOSED = 3 + + public url: string + public protocol: string + public extensions: string + public binaryType: BinaryType + public readyState: number + public bufferedAmount: number + + private _onopen: WebSocketEventListener | null = null + private _onmessage: WebSocketEventListener< + MessageEvent + > | null = null + private _onerror: WebSocketEventListener | null = null + private _onclose: WebSocketEventListener | null = null + + private [kPassthroughPromise]: DeferredPromise + private [kOnSend]?: (data: WebSocketData) => void + + constructor(url: string | URL, protocols?: string | Array) { + super() + this.url = url.toString() + this.protocol = '' + this.extensions = '' + this.binaryType = 'blob' + this.readyState = this.CONNECTING + this.bufferedAmount = 0 + + this[kPassthroughPromise] = new DeferredPromise() + + queueMicrotask(async () => { + if (await this[kPassthroughPromise]) { + return + } + + this.protocol = + typeof protocols === 'string' + ? protocols + : Array.isArray(protocols) && protocols.length > 0 + ? protocols[0] + : '' + + /** + * @note Check that nothing has prevented this connection + * (e.g. called `client.close()` in the connection listener). + * If the connection has been prevented, never dispatch the open event,. + */ + if (this.readyState === this.CONNECTING) { + this.readyState = this.OPEN + this.dispatchEvent(bindEvent(this, new Event('open'))) + } + }) + } + + set onopen(listener: WebSocketEventListener | null) { + this.removeEventListener('open', this._onopen) + this._onopen = listener + if (listener !== null) { + this.addEventListener('open', listener) + } + } + get onopen(): WebSocketEventListener | null { + return this._onopen + } + + set onmessage( + listener: WebSocketEventListener> | null + ) { + this.removeEventListener( + 'message', + this._onmessage as WebSocketEventListener + ) + this._onmessage = listener + if (listener !== null) { + this.addEventListener('message', listener) + } + } + get onmessage(): WebSocketEventListener> | null { + return this._onmessage + } + + set onerror(listener: WebSocketEventListener | null) { + this.removeEventListener('error', this._onerror) + this._onerror = listener + if (listener !== null) { + this.addEventListener('error', listener) + } + } + get onerror(): WebSocketEventListener | null { + return this._onerror + } + + set onclose(listener: WebSocketEventListener | null) { + this.removeEventListener('close', this._onclose as WebSocketEventListener) + this._onclose = listener + if (listener !== null) { + this.addEventListener('close', listener) + } + } + get onclose(): WebSocketEventListener | null { + return this._onclose + } + + /** + * @see https://websockets.spec.whatwg.org/#ref-for-dom-websocket-send%E2%91%A0 + */ + public send(data: WebSocketData): void { + if (this.readyState === this.CONNECTING) { + this.close() + throw new DOMException('InvalidStateError') + } + + // Sending when the socket is about to close + // discards the sent data. + if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) { + return + } + + // Buffer the data to send in this even loop + // but send it in the next. + this.bufferedAmount += getDataSize(data) + + queueMicrotask(() => { + // This is a bit optimistic but since no actual data transfer + // is involved, all the data will be "sent" on the next tick. + this.bufferedAmount = 0 + + /** + * @note Notify the parent about outgoing data. + * This notifies the transport and the connection + * listens to the outgoing data to emit the "message" event. + */ + this[kOnSend]?.(data) + }) + } + + public close(code: number = 1000, reason?: string): void { + invariant(code, WEBSOCKET_CLOSE_CODE_RANGE_ERROR) + invariant( + code === 1000 || (code >= 3000 && code <= 4999), + WEBSOCKET_CLOSE_CODE_RANGE_ERROR + ) + + this[kClose](code, reason) + } + + private [kClose]( + code: number = 1000, + reason?: string, + wasClean = true + ): void { + /** + * @note Move this check here so that even internall closures, + * like those triggered by the `server` connection, are not + * performed twice. + */ + if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) { + return + } + + this.readyState = this.CLOSING + + queueMicrotask(() => { + this.readyState = this.CLOSED + + this.dispatchEvent( + bindEvent( + this, + new CloseEvent('close', { + code, + reason, + wasClean, + }) + ) + ) + + // Remove all event listeners once the socket is closed. + this._onopen = null + this._onmessage = null + this._onerror = null + this._onclose = null + }) + } + + public addEventListener( + type: K, + listener: (this: WebSocket, event: WebSocketEventMap[K]) => void, + options?: boolean | AddEventListenerOptions + ): void + public addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void + public addEventListener( + type: unknown, + listener: unknown, + options?: unknown + ): void { + return super.addEventListener( + type as string, + listener as EventListener, + options as AddEventListenerOptions + ) + } + + removeEventListener( + type: K, + callback: EventListenerOrEventListenerObject | null, + options?: boolean | EventListenerOptions + ): void { + return super.removeEventListener(type, callback, options) + } +} + +function getDataSize(data: WebSocketData): number { + if (typeof data === 'string') { + return data.length + } + + if (data instanceof Blob) { + return data.size + } + + return data.byteLength +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketServerConnection.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketServerConnection.ts new file mode 100644 index 0000000000..dbf310cebb --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketServerConnection.ts @@ -0,0 +1,398 @@ +import { invariant } from 'outvariant' +import { + kClose, + WebSocketEventListener, + WebSocketOverride, +} from './WebSocketOverride' +import type { WebSocketData } from './WebSocketTransport' +import type { WebSocketClassTransport } from './WebSocketClassTransport' +import { bindEvent } from './utils/bindEvent' +import { + CancelableMessageEvent, + CancelableCloseEvent, + CloseEvent, +} from './utils/events' + +const kEmitter = Symbol('kEmitter') +const kBoundListener = Symbol('kBoundListener') +const kSend = Symbol('kSend') + +interface WebSocketServerEventMap { + open: Event + message: MessageEvent + error: Event + close: CloseEvent +} + +/** + * The WebSocket server instance represents the actual production + * WebSocket server connection. It's idle by default but you can + * establish it by calling `server.connect()`. + */ +export class WebSocketServerConnection { + /** + * A WebSocket instance connected to the original server. + */ + private realWebSocket?: WebSocket + private mockCloseController: AbortController + private realCloseController: AbortController + private [kEmitter]: EventTarget + + constructor( + private readonly client: WebSocketOverride, + private readonly transport: WebSocketClassTransport, + private readonly createConnection: () => WebSocket + ) { + this[kEmitter] = new EventTarget() + this.mockCloseController = new AbortController() + this.realCloseController = new AbortController() + + // Automatically forward outgoing client events + // to the actual server unless the outgoing message event + // has been prevented. The "outgoing" transport event it + // dispatched by the "client" connection. + this.transport.addEventListener('outgoing', (event) => { + // Ignore client messages if the server connection + // hasn't been established yet. Nowhere to forward. + if (typeof this.realWebSocket === 'undefined') { + return + } + + // Every outgoing client message can prevent this forwarding + // by preventing the default of the outgoing message event. + // This listener will be added before user-defined listeners, + // so execute the logic on the next tick. + queueMicrotask(() => { + if (!event.defaultPrevented) { + /** + * @note Use the internal send mechanism so consumers can tell + * apart direct user calls to `server.send()` and internal calls. + * E.g. MSW has to ignore this internal call to log out messages correctly. + */ + this[kSend](event.data) + } + }) + }) + + this.transport.addEventListener( + 'incoming', + this.handleIncomingMessage.bind(this) + ) + } + + /** + * The `WebSocket` instance connected to the original server. + * Accessing this before calling `server.connect()` will throw. + */ + public get socket(): WebSocket { + invariant( + this.realWebSocket, + 'Cannot access "socket" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?' + ) + + return this.realWebSocket + } + + /** + * Open connection to the original WebSocket server. + */ + public connect(): void { + invariant( + !this.realWebSocket || this.realWebSocket.readyState !== WebSocket.OPEN, + 'Failed to call "connect()" on the original WebSocket instance: the connection already open' + ) + + const realWebSocket = this.createConnection() + + // Inherit the binary type from the mock WebSocket client. + realWebSocket.binaryType = this.client.binaryType + + // Allow the interceptor to listen to when the server connection + // has been established. This isn't necessary to operate with the connection + // but may be beneficial in some cases (like conditionally adding logging). + realWebSocket.addEventListener( + 'open', + (event) => { + this[kEmitter].dispatchEvent( + bindEvent(this.realWebSocket!, new Event('open', event)) + ) + }, + { once: true } + ) + + realWebSocket.addEventListener('message', (event) => { + // Dispatch the "incoming" transport event instead of + // invoking the internal handler directly. This way, + // anyone can listen to the "incoming" event but this + // class is the one resulting in it. + this.transport.dispatchEvent( + bindEvent( + this.realWebSocket!, + new MessageEvent('incoming', { + data: event.data, + origin: event.origin, + }) + ) + ) + }) + + // Close the original connection when the mock client closes. + // E.g. "client.close()" was called. This is never forwarded anywhere. + this.client.addEventListener( + 'close', + (event) => { + this.handleMockClose(event) + }, + { + signal: this.mockCloseController.signal, + } + ) + + // Forward the "close" event to let the interceptor handle + // closures initiated by the original server. + realWebSocket.addEventListener( + 'close', + (event) => { + this.handleRealClose(event) + }, + { + signal: this.realCloseController.signal, + } + ) + + realWebSocket.addEventListener('error', () => { + const errorEvent = bindEvent( + realWebSocket, + new Event('error', { cancelable: true }) + ) + + // Emit the "error" event on the `server` connection + // to let the interceptor react to original server errors. + this[kEmitter].dispatchEvent(errorEvent) + + // If the error event from the original server hasn't been prevented, + // forward it to the underlying client. + if (!errorEvent.defaultPrevented) { + this.client.dispatchEvent(bindEvent(this.client, new Event('error'))) + } + }) + + this.realWebSocket = realWebSocket + } + + /** + * Listen for the incoming events from the original WebSocket server. + */ + public addEventListener( + event: EventType, + listener: WebSocketEventListener, + options?: AddEventListenerOptions | boolean + ): void { + if (!Reflect.has(listener, kBoundListener)) { + const boundListener = listener.bind(this.client) + + // Store the bound listener on the original listener + // so the exact bound function can be accessed in "removeEventListener()". + Object.defineProperty(listener, kBoundListener, { + value: boundListener, + enumerable: false, + }) + } + + this[kEmitter].addEventListener( + event, + Reflect.get(listener, kBoundListener) as EventListener, + options + ) + } + + /** + * Remove the listener for the given event. + */ + public removeEventListener( + event: EventType, + listener: WebSocketEventListener, + options?: EventListenerOptions | boolean + ): void { + this[kEmitter].removeEventListener( + event, + Reflect.get(listener, kBoundListener) as EventListener, + options + ) + } + + /** + * Send data to the original WebSocket server. + * @example + * server.send('hello') + * server.send(new Blob(['hello'])) + * server.send(new TextEncoder().encode('hello')) + */ + public send(data: WebSocketData): void { + this[kSend](data) + } + + private [kSend](data: WebSocketData): void { + const { realWebSocket } = this + + invariant( + realWebSocket, + 'Failed to call "server.send()" for "%s": the connection is not open. Did you forget to call "server.connect()"?', + this.client.url + ) + + // Silently ignore writes on the closed original WebSocket. + if ( + realWebSocket.readyState === WebSocket.CLOSING || + realWebSocket.readyState === WebSocket.CLOSED + ) { + return + } + + // Delegate the send to when the original connection is open. + // Unlike the mock, connecting to the original server may take time + // so we cannot call this on the next tick. + if (realWebSocket.readyState === WebSocket.CONNECTING) { + realWebSocket.addEventListener( + 'open', + () => { + realWebSocket.send(data) + }, + { once: true } + ) + return + } + + // Send the data to the original WebSocket server. + realWebSocket.send(data) + } + + /** + * Close the actual server connection. + */ + public close(): void { + const { realWebSocket } = this + + invariant( + realWebSocket, + 'Failed to close server connection for "%s": the connection is not open. Did you forget to call "server.connect()"?', + this.client.url + ) + + // Remove the "close" event listener from the server + // so it doesn't close the underlying WebSocket client + // when you call "server.close()". This also prevents the + // `close` event on the `server` connection from being dispatched twice. + this.realCloseController.abort() + + if ( + realWebSocket.readyState === WebSocket.CLOSING || + realWebSocket.readyState === WebSocket.CLOSED + ) { + return + } + + // Close the actual client connection. + realWebSocket.close() + + // Dispatch the "close" event on the `server` connection. + queueMicrotask(() => { + this[kEmitter].dispatchEvent( + bindEvent( + this.realWebSocket, + new CancelableCloseEvent('close', { + /** + * @note `server.close()` in the interceptor + * always results in clean closures. + */ + code: 1000, + cancelable: true, + }) + ) + ) + }) + } + + private handleIncomingMessage(event: MessageEvent): void { + // Clone the event to dispatch it on this class + // once again and prevent the "already being dispatched" + // exception. Clone it here so we can observe this event + // being prevented in the "server.on()" listeners. + const messageEvent = bindEvent( + event.target, + new CancelableMessageEvent('message', { + data: event.data, + origin: event.origin, + cancelable: true, + }) + ) + + /** + * @note Emit "message" event on the server connection + * instance to let the interceptor know about these + * incoming events from the original server. In that listener, + * the interceptor can modify or skip the event forwarding + * to the mock WebSocket instance. + */ + this[kEmitter].dispatchEvent(messageEvent) + + /** + * @note Forward the incoming server events to the client. + * Preventing the default on the message event stops this. + */ + if (!messageEvent.defaultPrevented) { + this.client.dispatchEvent( + bindEvent( + /** + * @note Bind the forwarded original server events + * to the mock WebSocket instance so it would + * dispatch them straight away. + */ + this.client, + // Clone the message event again to prevent + // the "already being dispatched" exception. + new MessageEvent('message', { + data: event.data, + origin: event.origin, + }) + ) + ) + } + } + + private handleMockClose(_event: Event): void { + // Close the original connection if the mock client closes. + if (this.realWebSocket) { + this.realWebSocket.close() + } + } + + private handleRealClose(event: CloseEvent): void { + // For closures originating from the original server, + // remove the "close" listener from the mock client. + // original close -> (?) client[kClose]() --X--> "close" (again). + this.mockCloseController.abort() + + const closeEvent = bindEvent( + this.realWebSocket, + new CancelableCloseEvent('close', { + code: event.code, + reason: event.reason, + wasClean: event.wasClean, + cancelable: true, + }) + ) + + this[kEmitter].dispatchEvent(closeEvent) + + // If the close event from the server hasn't been prevented, + // forward the closure to the mock client. + if (!closeEvent.defaultPrevented) { + // Close the intercepted client forcefully to + // allow non-configurable status codes from the server. + // If the socket has been closed by now, no harm calling + // this again—it will have no effect. + this.client[kClose](event.code, event.reason) + } + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketTransport.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketTransport.ts new file mode 100644 index 0000000000..973f511ed9 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketTransport.ts @@ -0,0 +1,39 @@ +import { CloseEvent } from './utils/events' + +export type WebSocketData = string | ArrayBufferLike | Blob | ArrayBufferView + +export type WebSocketTransportEventMap = { + incoming: MessageEvent + outgoing: MessageEvent + close: CloseEvent +} + +export type StrictEventListenerOrEventListenerObject = + | ((this: WebSocket, event: EventType) => void) + | { + handleEvent(this: WebSocket, event: EventType): void + } + +export interface WebSocketTransport { + addEventListener( + event: EventType, + listener: StrictEventListenerOrEventListenerObject< + WebSocketTransportEventMap[EventType] + > | null, + options?: boolean | AddEventListenerOptions + ): void + + dispatchEvent( + event: WebSocketTransportEventMap[EventType] + ): boolean + + /** + * Send the data from the server to this client. + */ + send(data: WebSocketData): void + + /** + * Close the client connection. + */ + close(code?: number, reason?: string): void +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/index.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/index.ts new file mode 100644 index 0000000000..78e83dd2c1 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/index.ts @@ -0,0 +1,170 @@ +import { Interceptor } from '../../Interceptor' +import { + type WebSocketClientConnectionProtocol, + WebSocketClientConnection, +} from './WebSocketClientConnection' +import { WebSocketServerConnection } from './WebSocketServerConnection' +import { WebSocketClassTransport } from './WebSocketClassTransport' +import { + kClose, + kPassthroughPromise, + WebSocketOverride, +} from './WebSocketOverride' +import { bindEvent } from './utils/bindEvent' +import { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal' + +export { type WebSocketData, WebSocketTransport } from './WebSocketTransport' +export { + WebSocketClientConnection, + WebSocketClientConnectionProtocol, + WebSocketServerConnection, +} + +export type WebSocketEventMap = { + connection: [args: WebSocketConnectionData] +} + +export type WebSocketConnectionData = { + /** + * The incoming WebSocket client connection. + */ + client: WebSocketClientConnection + + /** + * The original WebSocket server connection. + */ + server: WebSocketServerConnection + + /** + * The connection information. + */ + info: { + /** + * The protocols supported by the WebSocket client. + */ + protocols: string | Array | undefined + } +} + +/** + * Intercept the outgoing WebSocket connections created using + * the global `WebSocket` class. + */ +export class WebSocketInterceptor extends Interceptor { + static symbol = Symbol('websocket') + + constructor() { + super(WebSocketInterceptor.symbol) + } + + protected checkEnvironment(): boolean { + return hasConfigurableGlobal('WebSocket') + } + + protected setup(): void { + const originalWebSocketDescriptor = Object.getOwnPropertyDescriptor( + globalThis, + 'WebSocket' + ) + + const WebSocketProxy = new Proxy(globalThis.WebSocket, { + construct: ( + target, + args: ConstructorParameters, + newTarget + ) => { + const [url, protocols] = args + + const createConnection = (): WebSocket => { + return Reflect.construct(target, args, newTarget) + } + + // All WebSocket instances are mocked and don't forward + // any events to the original server (no connection established). + // To forward the events, the user must use the "server.send()" API. + const socket = new WebSocketOverride(url, protocols) + const transport = new WebSocketClassTransport(socket) + + // Emit the "connection" event to the interceptor on the next tick + // so the client can modify WebSocket options, like "binaryType" + // while the connection is already pending. + queueMicrotask(() => { + try { + const server = new WebSocketServerConnection( + socket, + transport, + createConnection + ) + + // The "globalThis.WebSocket" class stands for + // the client-side connection. Assume it's established + // as soon as the WebSocket instance is constructed. + const hasConnectionListeners = this.emitter.emit('connection', { + client: new WebSocketClientConnection(socket, transport), + server, + info: { + protocols, + }, + }) + + if (hasConnectionListeners) { + socket[kPassthroughPromise].resolve(false) + } else { + socket[kPassthroughPromise].resolve(true) + + server.connect() + + // Forward the "open" event from the original server + // to the mock WebSocket client in the case of a passthrough connection. + server.addEventListener('open', () => { + socket.dispatchEvent(bindEvent(socket, new Event('open'))) + + // Forward the original connection protocol to the + // mock WebSocket client. + if (server['realWebSocket']) { + socket.protocol = server['realWebSocket'].protocol + } + }) + } + } catch (error) { + /** + * @note Translate unhandled exceptions during the connection + * handling (i.e. interceptor exceptions) as WebSocket connection + * closures with error. This prevents from the exceptions occurring + * in `queueMicrotask` from being process-wide and uncatchable. + */ + if (error instanceof Error) { + socket.dispatchEvent(new Event('error')) + + // No need to close the connection if it's already being closed. + // E.g. the interceptor called `client.close()` and then threw an error. + if ( + socket.readyState !== WebSocket.CLOSING && + socket.readyState !== WebSocket.CLOSED + ) { + socket[kClose](1011, error.message, false) + } + + console.error(error) + } + } + }) + + return socket + }, + }) + + Object.defineProperty(globalThis, 'WebSocket', { + value: WebSocketProxy, + configurable: true, + }) + + this.subscriptions.push(() => { + Object.defineProperty( + globalThis, + 'WebSocket', + originalWebSocketDescriptor! + ) + }) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.test.ts new file mode 100644 index 0000000000..7871961f0f --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.test.ts @@ -0,0 +1,27 @@ +/** + * @vitest-environment node + */ +import { it, expect } from 'vitest' +import { bindEvent } from './bindEvent' + +it('sets the "target" on the given event', () => { + class Target {} + const target = new Target() + const event = new Event('open') + bindEvent(target, event) + + expect(event.type).toBe('open') + expect(event.target).toEqual(target) +}) + +it('overrides existing "target" on the given event', () => { + class Target {} + const oldTarget = new Target() + const newTarget = new Target() + const event = new Event('open') + bindEvent(oldTarget, event) + bindEvent(newTarget, event) + + expect(event.type).toBe('open') + expect(event.target).toEqual(newTarget) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.ts new file mode 100644 index 0000000000..8efa682026 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/bindEvent.ts @@ -0,0 +1,21 @@ +type EventWithTarget = E & { target: T } + +export function bindEvent( + target: T, + event: E +): EventWithTarget { + Object.defineProperties(event, { + target: { + value: target, + enumerable: true, + writable: true, + }, + currentTarget: { + value: target, + enumerable: true, + writable: true, + }, + }) + + return event as EventWithTarget +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.test.ts new file mode 100644 index 0000000000..84a2116335 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.test.ts @@ -0,0 +1,101 @@ +/** + * @vitest-environment node + */ +import { describe, it, expect } from 'vitest' +import { CancelableMessageEvent, CloseEvent } from './events' + +describe(CancelableMessageEvent, () => { + it('initiates with the right defaults', () => { + const event = new CancelableMessageEvent('message', { + data: 'hello', + }) + + expect(event).toBeInstanceOf(MessageEvent) + expect(event.type).toBe('message') + expect(event.data).toBe('hello') + expect(event.cancelable).toBe(false) + expect(event.defaultPrevented).toBe(false) + }) + + it('initiates a cancelable event', () => { + const event = new CancelableMessageEvent('message', { + data: 'hello', + cancelable: true, + }) + + expect(event).toBeInstanceOf(MessageEvent) + expect(event.type).toBe('message') + expect(event.data).toBe('hello') + expect(event.cancelable).toBe(true) + expect(event.defaultPrevented).toBe(false) + }) + + it('cancels a cancelable event when calling "preventDefault()"', () => { + const event = new CancelableMessageEvent('message', { + data: 'hello', + cancelable: true, + }) + + expect(event.defaultPrevented).toBe(false) + event.preventDefault() + expect(event.defaultPrevented).toBe(true) + }) + + it('does nothing when calling "preventDefault()" on a non-cancelable event', () => { + const event = new CancelableMessageEvent('message', { + data: 'hello', + }) + + expect(event.defaultPrevented).toBe(false) + event.preventDefault() + expect(event.defaultPrevented).toBe(false) + }) + + it('supports setting the "cancelable" value directly', () => { + const event = new CancelableMessageEvent('message', {}) + /** + * @note HappyDOM sets the "cancelable" and "preventDefault" + * event properties directly. That's no-op as far as I know + * but they do it and we have to account for that. + */ + event.cancelable = true + expect(event.cancelable).toBe(true) + }) + + it('supports setting the "defaultPrevented" value directly', () => { + const event = new CancelableMessageEvent('message', {}) + /** + * @note HappyDOM sets the "cancelable" and "preventDefault" + * event properties directly. That's no-op as far as I know + * but they do it and we have to account for that. + */ + event.defaultPrevented = true + expect(event.defaultPrevented).toBe(true) + }) +}) + +describe(CloseEvent, () => { + it('initiates with the right defaults', () => { + const event = new CloseEvent('close') + + expect(event).toBeInstanceOf(Event) + expect(event.type).toBe('close') + expect(event.code).toBe(0) + expect(event.reason).toBe('') + expect(event.wasClean).toBe(false) + }) + + it('initiates with custom values', () => { + const event = new CloseEvent('close', { + code: 1003, + reason: 'close reason', + wasClean: true, + }) + + expect(event).toBeInstanceOf(Event) + expect(event.type).toBe('close') + expect(event.code).toBe(1003) + expect(event.reason).toBe('close reason') + expect(event.wasClean).toBe(true) + }) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.ts b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.ts new file mode 100644 index 0000000000..cb4c059ff6 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/utils/events.ts @@ -0,0 +1,94 @@ +const kCancelable = Symbol('kCancelable') +const kDefaultPrevented = Symbol('kDefaultPrevented') + +/** + * A `MessageEvent` superset that supports event cancellation + * in Node.js. It's rather non-intrusive so it can be safely + * used in the browser as well. + * + * @see https://github.com/nodejs/node/issues/51767 + */ +export class CancelableMessageEvent extends MessageEvent { + [kCancelable]: boolean; + [kDefaultPrevented]: boolean + + constructor(type: string, init: MessageEventInit) { + super(type, init) + this[kCancelable] = !!init.cancelable + this[kDefaultPrevented] = false + } + + get cancelable() { + return this[kCancelable] + } + + set cancelable(nextCancelable) { + this[kCancelable] = nextCancelable + } + + get defaultPrevented() { + return this[kDefaultPrevented] + } + + set defaultPrevented(nextDefaultPrevented) { + this[kDefaultPrevented] = nextDefaultPrevented + } + + public preventDefault(): void { + if (this.cancelable && !this[kDefaultPrevented]) { + this[kDefaultPrevented] = true + } + } +} + +interface CloseEventInit extends EventInit { + code?: number + reason?: string + wasClean?: boolean +} + +export class CloseEvent extends Event { + public code: number + public reason: string + public wasClean: boolean + + constructor(type: string, init: CloseEventInit = {}) { + super(type, init) + this.code = init.code === undefined ? 0 : init.code + this.reason = init.reason === undefined ? '' : init.reason + this.wasClean = init.wasClean === undefined ? false : init.wasClean + } +} + +export class CancelableCloseEvent extends CloseEvent { + [kCancelable]: boolean; + [kDefaultPrevented]: boolean + + constructor(type: string, init: CloseEventInit = {}) { + super(type, init) + this[kCancelable] = !!init.cancelable + this[kDefaultPrevented] = false + } + + get cancelable() { + return this[kCancelable] + } + + set cancelable(nextCancelable) { + this[kCancelable] = nextCancelable + } + + get defaultPrevented() { + return this[kDefaultPrevented] + } + + set defaultPrevented(nextDefaultPrevented) { + this[kDefaultPrevented] = nextDefaultPrevented + } + + public preventDefault(): void { + if (this.cancelable && !this[kDefaultPrevented]) { + this[kDefaultPrevented] = true + } + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts new file mode 100644 index 0000000000..9d96407c0d --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts @@ -0,0 +1,734 @@ +import { invariant } from 'outvariant' +import { isNodeProcess } from 'is-node-process' +import type { Logger } from '@open-draft/logger' +import { concatArrayBuffer } from './utils/concatArrayBuffer' +import { createEvent } from './utils/createEvent' +import { + decodeBuffer, + encodeBuffer, + toArrayBuffer, +} from '../../utils/bufferUtils' +import { createProxy } from '../../utils/createProxy' +import { isDomParserSupportedType } from './utils/isDomParserSupportedType' +import { parseJson } from '../../utils/parseJson' +import { createResponse } from './utils/createResponse' +import { INTERNAL_REQUEST_ID_HEADER_NAME } from '../../Interceptor' +import { createRequestId } from '../../createRequestId' +import { getBodyByteLength } from './utils/getBodyByteLength' + +const kIsRequestHandled = Symbol('kIsRequestHandled') +const IS_NODE = isNodeProcess() +const kFetchRequest = Symbol('kFetchRequest') + +/** + * An `XMLHttpRequest` instance controller that allows us + * to handle any given request instance (e.g. responding to it). + */ +export class XMLHttpRequestController { + public request: XMLHttpRequest + public requestId: string + public onRequest?: ( + this: XMLHttpRequestController, + args: { + request: Request + requestId: string + } + ) => Promise + public onResponse?: ( + this: XMLHttpRequestController, + args: { + response: Response + isMockedResponse: boolean + request: Request + requestId: string + } + ) => void; + + [kIsRequestHandled]: boolean; + [kFetchRequest]?: Request + private method: string = 'GET' + private url: URL = null as any + private requestHeaders: Headers + private responseBuffer: Uint8Array + private events: Map> + private uploadEvents: Map< + keyof XMLHttpRequestEventTargetEventMap, + Array + > + + constructor(readonly initialRequest: XMLHttpRequest, public logger: Logger) { + this[kIsRequestHandled] = false + + this.events = new Map() + this.uploadEvents = new Map() + this.requestId = createRequestId() + this.requestHeaders = new Headers() + this.responseBuffer = new Uint8Array() + + this.request = createProxy(initialRequest, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case 'ontimeout': { + const eventName = propertyName.slice( + 2 + ) as keyof XMLHttpRequestEventTargetEventMap + + /** + * @note Proxy callbacks to event listeners because JSDOM has trouble + * translating these properties to callbacks. It seemed to be operating + * on events exclusively. + */ + this.request.addEventListener(eventName, nextValue as any) + + return invoke() + } + + default: { + return invoke() + } + } + }, + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case 'open': { + const [method, url] = args as [string, string | undefined] + + if (typeof url === 'undefined') { + this.method = 'GET' + this.url = toAbsoluteUrl(method) + } else { + this.method = method + this.url = toAbsoluteUrl(url) + } + + this.logger = this.logger.extend(`${this.method} ${this.url.href}`) + this.logger.info('open', this.method, this.url.href) + + return invoke() + } + + case 'addEventListener': { + const [eventName, listener] = args as [ + keyof XMLHttpRequestEventTargetEventMap, + Function + ] + + this.registerEvent(eventName, listener) + this.logger.info('addEventListener', eventName, listener) + + return invoke() + } + + case 'setRequestHeader': { + const [name, value] = args as [string, string] + this.requestHeaders.set(name, value) + + this.logger.info('setRequestHeader', name, value) + + return invoke() + } + + case 'send': { + const [body] = args as [ + body?: XMLHttpRequestBodyInit | Document | null + ] + + this.request.addEventListener('load', () => { + if (typeof this.onResponse !== 'undefined') { + // Create a Fetch API Response representation of whichever + // response this XMLHttpRequest received. Note those may + // be either a mocked and the original response. + const fetchResponse = createResponse( + this.request, + /** + * The `response` property is the right way to read + * the ambiguous response body, as the request's "responseType" may differ. + * @see https://xhr.spec.whatwg.org/#the-response-attribute + */ + this.request.response + ) + + // Notify the consumer about the response. + this.onResponse.call(this, { + response: fetchResponse, + isMockedResponse: this[kIsRequestHandled], + request: fetchRequest, + requestId: this.requestId!, + }) + } + }) + + const requestBody = + typeof body === 'string' ? encodeBuffer(body) : body + + // Delegate request handling to the consumer. + const fetchRequest = this.toFetchApiRequest(requestBody) + this[kFetchRequest] = fetchRequest.clone() + + const onceRequestSettled = + this.onRequest?.call(this, { + request: fetchRequest, + requestId: this.requestId!, + }) || Promise.resolve() + + onceRequestSettled.finally(() => { + // If the consumer didn't handle the request (called `.respondWith()`) perform it as-is. + if (!this[kIsRequestHandled]) { + this.logger.info( + 'request callback settled but request has not been handled (readystate %d), performing as-is...', + this.request.readyState + ) + + /** + * @note Set the intercepted request ID on the original request in Node.js + * so that if it triggers any other interceptors, they don't attempt + * to process it once again. + * + * For instance, XMLHttpRequest is often implemented via "http.ClientRequest" + * and we don't want for both XHR and ClientRequest interceptors to + * handle the same request at the same time (e.g. emit the "response" event twice). + */ + if (IS_NODE) { + this.request.setRequestHeader( + INTERNAL_REQUEST_ID_HEADER_NAME, + this.requestId! + ) + } + + return invoke() + } + }) + + break + } + + default: { + return invoke() + } + } + }, + }) + + /** + * Proxy the `.upload` property to gather the event listeners/callbacks. + */ + define( + this.request, + 'upload', + createProxy(this.request.upload, { + setProperty: ([propertyName, nextValue], invoke) => { + switch (propertyName) { + case 'onloadstart': + case 'onprogress': + case 'onaboart': + case 'onerror': + case 'onload': + case 'ontimeout': + case 'onloadend': { + const eventName = propertyName.slice( + 2 + ) as keyof XMLHttpRequestEventTargetEventMap + + this.registerUploadEvent(eventName, nextValue as Function) + } + } + + return invoke() + }, + methodCall: ([methodName, args], invoke) => { + switch (methodName) { + case 'addEventListener': { + const [eventName, listener] = args as [ + keyof XMLHttpRequestEventTargetEventMap, + Function + ] + this.registerUploadEvent(eventName, listener) + this.logger.info('upload.addEventListener', eventName, listener) + + return invoke() + } + } + }, + }) + ) + } + + private registerEvent( + eventName: keyof XMLHttpRequestEventTargetEventMap, + listener: Function + ): void { + const prevEvents = this.events.get(eventName) || [] + const nextEvents = prevEvents.concat(listener) + this.events.set(eventName, nextEvents) + + this.logger.info('registered event "%s"', eventName, listener) + } + + private registerUploadEvent( + eventName: keyof XMLHttpRequestEventTargetEventMap, + listener: Function + ): void { + const prevEvents = this.uploadEvents.get(eventName) || [] + const nextEvents = prevEvents.concat(listener) + this.uploadEvents.set(eventName, nextEvents) + + this.logger.info('registered upload event "%s"', eventName, listener) + } + + /** + * Responds to the current request with the given + * Fetch API `Response` instance. + */ + public async respondWith(response: Response): Promise { + /** + * @note Since `XMLHttpRequestController` delegates the handling of the responses + * to the "load" event listener that doesn't distinguish between the mocked and original + * responses, mark the request that had a mocked response with a corresponding symbol. + * + * Mark this request as having a mocked response immediately since + * calculating request/response total body length is asynchronous. + */ + this[kIsRequestHandled] = true + + /** + * Dispatch request upload events for requests with a body. + * @see https://github.com/mswjs/interceptors/issues/573 + */ + if (this[kFetchRequest]) { + const totalRequestBodyLength = await getBodyByteLength( + this[kFetchRequest] + ) + + this.trigger('loadstart', this.request.upload, { + loaded: 0, + total: totalRequestBodyLength, + }) + this.trigger('progress', this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength, + }) + this.trigger('load', this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength, + }) + this.trigger('loadend', this.request.upload, { + loaded: totalRequestBodyLength, + total: totalRequestBodyLength, + }) + } + + this.logger.info( + 'responding with a mocked response: %d %s', + response.status, + response.statusText + ) + + define(this.request, 'status', response.status) + define(this.request, 'statusText', response.statusText) + define(this.request, 'responseURL', this.url.href) + + this.request.getResponseHeader = new Proxy(this.request.getResponseHeader, { + apply: (_, __, args: [name: string]) => { + this.logger.info('getResponseHeader', args[0]) + + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info('headers not received yet, returning null') + + // Headers not received yet, nothing to return. + return null + } + + const headerValue = response.headers.get(args[0]) + this.logger.info( + 'resolved response header "%s" to', + args[0], + headerValue + ) + + return headerValue + }, + }) + + this.request.getAllResponseHeaders = new Proxy( + this.request.getAllResponseHeaders, + { + apply: () => { + this.logger.info('getAllResponseHeaders') + + if (this.request.readyState < this.request.HEADERS_RECEIVED) { + this.logger.info('headers not received yet, returning empty string') + + // Headers not received yet, nothing to return. + return '' + } + + const headersList = Array.from(response.headers.entries()) + const allHeaders = headersList + .map(([headerName, headerValue]) => { + return `${headerName}: ${headerValue}` + }) + .join('\r\n') + + this.logger.info('resolved all response headers to', allHeaders) + + return allHeaders + }, + } + ) + + // Update the response getters to resolve against the mocked response. + Object.defineProperties(this.request, { + response: { + enumerable: true, + configurable: false, + get: () => this.response, + }, + responseText: { + enumerable: true, + configurable: false, + get: () => this.responseText, + }, + responseXML: { + enumerable: true, + configurable: false, + get: () => this.responseXML, + }, + }) + + const totalResponseBodyLength = await getBodyByteLength(response.clone()) + + this.logger.info('calculated response body length', totalResponseBodyLength) + + this.trigger('loadstart', this.request, { + loaded: 0, + total: totalResponseBodyLength, + }) + + this.setReadyState(this.request.HEADERS_RECEIVED) + this.setReadyState(this.request.LOADING) + + const finalizeResponse = () => { + this.logger.info('finalizing the mocked response...') + + this.setReadyState(this.request.DONE) + + this.trigger('load', this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength, + }) + + this.trigger('loadend', this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength, + }) + } + + if (response.body) { + this.logger.info('mocked response has body, streaming...') + + const reader = response.body.getReader() + + const readNextResponseBodyChunk = async () => { + const { value, done } = await reader.read() + + if (done) { + this.logger.info('response body stream done!') + finalizeResponse() + return + } + + if (value) { + this.logger.info('read response body chunk:', value) + this.responseBuffer = concatArrayBuffer(this.responseBuffer, value) + + this.trigger('progress', this.request, { + loaded: this.responseBuffer.byteLength, + total: totalResponseBodyLength, + }) + } + + readNextResponseBodyChunk() + } + + readNextResponseBodyChunk() + } else { + finalizeResponse() + } + } + + private responseBufferToText(): string { + return decodeBuffer(this.responseBuffer) + } + + get response(): unknown { + this.logger.info( + 'getResponse (responseType: %s)', + this.request.responseType + ) + + if (this.request.readyState !== this.request.DONE) { + return null + } + + switch (this.request.responseType) { + case 'json': { + const responseJson = parseJson(this.responseBufferToText()) + this.logger.info('resolved response JSON', responseJson) + + return responseJson + } + + case 'arraybuffer': { + const arrayBuffer = toArrayBuffer(this.responseBuffer) + this.logger.info('resolved response ArrayBuffer', arrayBuffer) + + return arrayBuffer + } + + case 'blob': { + const mimeType = + this.request.getResponseHeader('Content-Type') || 'text/plain' + const responseBlob = new Blob([this.responseBufferToText()], { + type: mimeType, + }) + + this.logger.info( + 'resolved response Blob (mime type: %s)', + responseBlob, + mimeType + ) + + return responseBlob + } + + default: { + const responseText = this.responseBufferToText() + this.logger.info( + 'resolving "%s" response type as text', + this.request.responseType, + responseText + ) + + return responseText + } + } + } + + get responseText(): string { + /** + * Throw when trying to read the response body as text when the + * "responseType" doesn't expect text. This just respects the spec better. + * @see https://xhr.spec.whatwg.org/#the-responsetext-attribute + */ + invariant( + this.request.responseType === '' || this.request.responseType === 'text', + 'InvalidStateError: The object is in invalid state.' + ) + + if ( + this.request.readyState !== this.request.LOADING && + this.request.readyState !== this.request.DONE + ) { + return '' + } + + const responseText = this.responseBufferToText() + this.logger.info('getResponseText: "%s"', responseText) + + return responseText + } + + get responseXML(): Document | null { + invariant( + this.request.responseType === '' || + this.request.responseType === 'document', + 'InvalidStateError: The object is in invalid state.' + ) + + if (this.request.readyState !== this.request.DONE) { + return null + } + + const contentType = this.request.getResponseHeader('Content-Type') || '' + + if (typeof DOMParser === 'undefined') { + console.warn( + 'Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly.' + ) + return null + } + + if (isDomParserSupportedType(contentType)) { + return new DOMParser().parseFromString( + this.responseBufferToText(), + contentType + ) + } + + return null + } + + public errorWith(error?: Error): void { + /** + * @note Mark this request as handled even if it received a mock error. + * This prevents the controller from trying to perform this request as-is. + */ + this[kIsRequestHandled] = true + this.logger.info('responding with an error') + + this.setReadyState(this.request.DONE) + this.trigger('error', this.request) + this.trigger('loadend', this.request) + } + + /** + * Transitions this request's `readyState` to the given one. + */ + private setReadyState(nextReadyState: number): void { + this.logger.info( + 'setReadyState: %d -> %d', + this.request.readyState, + nextReadyState + ) + + if (this.request.readyState === nextReadyState) { + this.logger.info('ready state identical, skipping transition...') + return + } + + define(this.request, 'readyState', nextReadyState) + + this.logger.info('set readyState to: %d', nextReadyState) + + if (nextReadyState !== this.request.UNSENT) { + this.logger.info('triggerring "readystatechange" event...') + + this.trigger('readystatechange', this.request) + } + } + + /** + * Triggers given event on the `XMLHttpRequest` instance. + */ + private trigger< + EventName extends keyof (XMLHttpRequestEventTargetEventMap & { + readystatechange: ProgressEvent + }) + >( + eventName: EventName, + target: XMLHttpRequest | XMLHttpRequestUpload, + options?: ProgressEventInit + ): void { + const callback = (target as XMLHttpRequest)[`on${eventName}`] + const event = createEvent(target, eventName, options) + + this.logger.info('trigger "%s"', eventName, options || '') + + // Invoke direct callbacks. + if (typeof callback === 'function') { + this.logger.info('found a direct "%s" callback, calling...', eventName) + callback.call(target as XMLHttpRequest, event) + } + + // Invoke event listeners. + const events = + target instanceof XMLHttpRequestUpload ? this.uploadEvents : this.events + + for (const [registeredEventName, listeners] of events) { + if (registeredEventName === eventName) { + this.logger.info( + 'found %d listener(s) for "%s" event, calling...', + listeners.length, + eventName + ) + + listeners.forEach((listener) => listener.call(target, event)) + } + } + } + + /** + * Converts this `XMLHttpRequest` instance into a Fetch API `Request` instance. + */ + private toFetchApiRequest( + body: XMLHttpRequestBodyInit | Document | null | undefined + ): Request { + this.logger.info('converting request to a Fetch API Request...') + + // If the `Document` is used as the body of this XMLHttpRequest, + // set its inner text as the Fetch API Request body. + const resolvedBody = + body instanceof Document ? body.documentElement.innerText : body + + const fetchRequest = new Request(this.url.href, { + method: this.method, + headers: this.requestHeaders, + /** + * @see https://xhr.spec.whatwg.org/#cross-origin-credentials + */ + credentials: this.request.withCredentials ? 'include' : 'same-origin', + body: ['GET', 'HEAD'].includes(this.method.toUpperCase()) + ? null + : resolvedBody, + }) + + const proxyHeaders = createProxy(fetchRequest.headers, { + methodCall: ([methodName, args], invoke) => { + // Forward the latest state of the internal request headers + // because the interceptor might have modified them + // without responding to the request. + switch (methodName) { + case 'append': + case 'set': { + const [headerName, headerValue] = args as [string, string] + this.request.setRequestHeader(headerName, headerValue) + break + } + + case 'delete': { + const [headerName] = args as [string] + console.warn( + `XMLHttpRequest: Cannot remove a "${headerName}" header from the Fetch API representation of the "${fetchRequest.method} ${fetchRequest.url}" request. XMLHttpRequest headers cannot be removed.` + ) + break + } + } + + return invoke() + }, + }) + define(fetchRequest, 'headers', proxyHeaders) + + this.logger.info('converted request to a Fetch API Request!', fetchRequest) + + return fetchRequest + } +} + +function toAbsoluteUrl(url: string | URL): URL { + /** + * @note XMLHttpRequest interceptor may run in environments + * that implement XMLHttpRequest but don't implement "location" + * (for example, React Native). If that's the case, return the + * input URL as-is (nothing to be relative to). + * @see https://github.com/mswjs/msw/issues/1777 + */ + if (typeof location === 'undefined') { + return new URL(url) + } + + return new URL(url.toString(), location.href) +} + +function define( + target: object, + property: string | symbol, + value: unknown +): void { + Reflect.defineProperty(target, property, { + // Ensure writable properties to allow redefining readonly properties. + writable: true, + enumerable: true, + value, + }) +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts new file mode 100644 index 0000000000..997f06fa0b --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestProxy.ts @@ -0,0 +1,118 @@ +import type { Logger } from '@open-draft/logger' +import { XMLHttpRequestEmitter } from '.' +import { RequestController } from '../../RequestController' +import { XMLHttpRequestController } from './XMLHttpRequestController' +import { handleRequest } from '../../utils/handleRequest' + +export interface XMLHttpRequestProxyOptions { + emitter: XMLHttpRequestEmitter + logger: Logger +} + +/** + * Create a proxied `XMLHttpRequest` class. + * The proxied class establishes spies on certain methods, + * allowing us to intercept requests and respond to them. + */ +export function createXMLHttpRequestProxy({ + emitter, + logger, +}: XMLHttpRequestProxyOptions) { + const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, { + construct(target, args, newTarget) { + logger.info('constructed new XMLHttpRequest') + + const originalRequest = Reflect.construct( + target, + args, + newTarget + ) as XMLHttpRequest + + /** + * @note Forward prototype descriptors onto the proxied object. + * XMLHttpRequest is implemented in JSDOM in a way that assigns + * a bunch of descriptors, like "set responseType()" on the prototype. + * With this propagation, we make sure that those descriptors trigger + * when the user operates with the proxied request instance. + */ + const prototypeDescriptors = Object.getOwnPropertyDescriptors( + target.prototype + ) + for (const propertyName in prototypeDescriptors) { + Reflect.defineProperty( + originalRequest, + propertyName, + prototypeDescriptors[propertyName] + ) + } + + const xhrRequestController = new XMLHttpRequestController( + originalRequest, + logger + ) + + xhrRequestController.onRequest = async function ({ request, requestId }) { + const controller = new RequestController(request) + + this.logger.info('awaiting mocked response...') + + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + emitter.listenerCount('request') + ) + + const isRequestHandled = await handleRequest({ + request, + requestId, + controller, + emitter, + onResponse: async (response) => { + await this.respondWith(response) + }, + onRequestError: () => { + this.errorWith(new TypeError('Network error')) + }, + onError: (error) => { + this.logger.info('request errored!', { error }) + + if (error instanceof Error) { + this.errorWith(error) + } + }, + }) + + if (!isRequestHandled) { + this.logger.info( + 'no mocked response received, performing request as-is...' + ) + } + } + + xhrRequestController.onResponse = async function ({ + response, + isMockedResponse, + request, + requestId, + }) { + this.logger.info( + 'emitting the "response" event for %s listener(s)...', + emitter.listenerCount('response') + ) + + emitter.emit('response', { + response, + isMockedResponse, + request, + requestId, + }) + } + + // Return the proxied request from the controller + // so that the controller can react to the consumer's interactions + // with this request (opening/sending/etc). + return xhrRequestController.request + }, + }) + + return XMLHttpRequestProxy +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/index.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/index.ts new file mode 100644 index 0000000000..6b5208c702 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/index.ts @@ -0,0 +1,61 @@ +import { invariant } from 'outvariant' +import { Emitter } from 'strict-event-emitter' +import { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary' +import { Interceptor } from '../../Interceptor' +import { createXMLHttpRequestProxy } from './XMLHttpRequestProxy' +import { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal' + +export type XMLHttpRequestEmitter = Emitter + +export class XMLHttpRequestInterceptor extends Interceptor { + static interceptorSymbol = Symbol('xhr') + + constructor() { + super(XMLHttpRequestInterceptor.interceptorSymbol) + } + + protected checkEnvironment() { + return hasConfigurableGlobal('XMLHttpRequest') + } + + protected setup() { + const logger = this.logger.extend('setup') + + logger.info('patching "XMLHttpRequest" module...') + + const PureXMLHttpRequest = globalThis.XMLHttpRequest + + invariant( + !(PureXMLHttpRequest as any)[IS_PATCHED_MODULE], + 'Failed to patch the "XMLHttpRequest" module: already patched.' + ) + + globalThis.XMLHttpRequest = createXMLHttpRequestProxy({ + emitter: this.emitter, + logger: this.logger, + }) + + logger.info( + 'native "XMLHttpRequest" module patched!', + globalThis.XMLHttpRequest.name + ) + + Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true, + }) + + this.subscriptions.push(() => { + Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, { + value: undefined, + }) + + globalThis.XMLHttpRequest = PureXMLHttpRequest + logger.info( + 'native "XMLHttpRequest" module restored!', + globalThis.XMLHttpRequest.name + ) + }) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts new file mode 100644 index 0000000000..4c44e50956 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/EventPolyfill.ts @@ -0,0 +1,51 @@ +export class EventPolyfill implements Event { + readonly NONE = 0 + readonly CAPTURING_PHASE = 1 + readonly AT_TARGET = 2 + readonly BUBBLING_PHASE = 3 + + public type: string = '' + public srcElement: EventTarget | null = null + public target: EventTarget | null + public currentTarget: EventTarget | null = null + public eventPhase: number = 0 + public timeStamp: number + public isTrusted: boolean = true + public composed: boolean = false + public cancelable: boolean = true + public defaultPrevented: boolean = false + public bubbles: boolean = true + public lengthComputable: boolean = true + public loaded: number = 0 + public total: number = 0 + + cancelBubble: boolean = false + returnValue: boolean = true + + constructor( + type: string, + options?: { target: EventTarget; currentTarget: EventTarget } + ) { + this.type = type + this.target = options?.target || null + this.currentTarget = options?.currentTarget || null + this.timeStamp = Date.now() + } + + public composedPath(): EventTarget[] { + return [] + } + + public initEvent(type: string, bubbles?: boolean, cancelable?: boolean) { + this.type = type + this.bubbles = !!bubbles + this.cancelable = !!cancelable + } + + public preventDefault() { + this.defaultPrevented = true + } + + public stopPropagation() {} + public stopImmediatePropagation() {} +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts new file mode 100644 index 0000000000..20a318816a --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.ts @@ -0,0 +1,17 @@ +import { EventPolyfill } from './EventPolyfill' + +export class ProgressEventPolyfill extends EventPolyfill { + readonly lengthComputable: boolean + readonly composed: boolean + readonly loaded: number + readonly total: number + + constructor(type: string, init?: ProgressEventInit) { + super(type) + + this.lengthComputable = init?.lengthComputable || false + this.composed = init?.composed || false + this.loaded = init?.loaded || 0 + this.total = init?.total || 0 + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts new file mode 100644 index 0000000000..e8b9fb4660 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concatArrayBuffer.ts @@ -0,0 +1,12 @@ +/** + * Concatenate two `Uint8Array` buffers. + */ +export function concatArrayBuffer( + left: Uint8Array, + right: Uint8Array +): Uint8Array { + const result = new Uint8Array(left.byteLength + right.byteLength) + result.set(left, 0) + result.set(right, left.byteLength) + return result +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concateArrayBuffer.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concateArrayBuffer.test.ts new file mode 100644 index 0000000000..fab59abd62 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/concateArrayBuffer.test.ts @@ -0,0 +1,12 @@ +import { it, expect } from 'vitest' +import { concatArrayBuffer } from './concatArrayBuffer' + +const encoder = new TextEncoder() + +it('concatenates two Uint8Array buffers', () => { + const result = concatArrayBuffer( + encoder.encode('hello'), + encoder.encode('world') + ) + expect(result).toEqual(encoder.encode('helloworld')) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.test.ts new file mode 100644 index 0000000000..0b23216913 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.test.ts @@ -0,0 +1,26 @@ +// @vitest-environment jsdom +import { it, expect } from 'vitest' +import { createEvent } from './createEvent' +import { EventPolyfill } from '../polyfills/EventPolyfill' + +const request = new XMLHttpRequest() +request.open('POST', '/user') + +it('returns an EventPolyfill instance with the given target set', () => { + const event = createEvent(request, 'my-event') + const target = event.target as XMLHttpRequest + + expect(event).toBeInstanceOf(EventPolyfill) + expect(target).toBeInstanceOf(XMLHttpRequest) +}) + +it('returns the ProgressEvent instance', () => { + const event = createEvent(request, 'load', { + loaded: 100, + total: 500, + }) + + expect(event).toBeInstanceOf(ProgressEvent) + expect(event.loaded).toBe(100) + expect(event.total).toBe(500) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.ts new file mode 100644 index 0000000000..be87b36927 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createEvent.ts @@ -0,0 +1,41 @@ +import { EventPolyfill } from '../polyfills/EventPolyfill' +import { ProgressEventPolyfill } from '../polyfills/ProgressEventPolyfill' + +const SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== 'undefined' + +export function createEvent( + target: XMLHttpRequest | XMLHttpRequestUpload, + type: string, + init?: ProgressEventInit +): EventPolyfill | ProgressEvent { + const progressEvents = [ + 'error', + 'progress', + 'loadstart', + 'loadend', + 'load', + 'timeout', + 'abort', + ] + + /** + * `ProgressEvent` is not supported in React Native. + * @see https://github.com/mswjs/interceptors/issues/40 + */ + const ProgressEventClass = SUPPORTS_PROGRESS_EVENT + ? ProgressEvent + : ProgressEventPolyfill + + const event = progressEvents.includes(type) + ? new ProgressEventClass(type, { + lengthComputable: true, + loaded: init?.loaded || 0, + total: init?.total || 0, + }) + : new EventPolyfill(type, { + target, + currentTarget: target, + }) + + return event +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createResponse.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createResponse.ts new file mode 100644 index 0000000000..d0e8d1d868 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/createResponse.ts @@ -0,0 +1,49 @@ +import { FetchResponse } from '../../../utils/fetchUtils' + +/** + * Creates a Fetch API `Response` instance from the given + * `XMLHttpRequest` instance and a response body. + */ +export function createResponse( + request: XMLHttpRequest, + body: BodyInit | null +): Response { + /** + * Handle XMLHttpRequest responses that must have null as the + * response body when represented using Fetch API Response. + * XMLHttpRequest response will always have an empty string + * as the "request.response" in those cases, resulting in an error + * when constructing a Response instance. + * @see https://github.com/mswjs/interceptors/issues/379 + */ + const responseBodyOrNull = FetchResponse.isResponseWithBody(request.status) + ? body + : null + + return new FetchResponse(responseBodyOrNull, { + url: request.responseURL, + status: request.status, + statusText: request.statusText, + headers: createHeadersFromXMLHttpReqestHeaders( + request.getAllResponseHeaders() + ), + }) +} + +function createHeadersFromXMLHttpReqestHeaders(headersString: string): Headers { + const headers = new Headers() + + const lines = headersString.split(/[\r\n]+/) + for (const line of lines) { + if (line.trim() === '') { + continue + } + + const [name, ...parts] = line.split(': ') + const value = parts.join(': ') + + headers.append(name, value) + } + + return headers +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.test.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.test.ts new file mode 100644 index 0000000000..f2a41c8e8c --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.test.ts @@ -0,0 +1,164 @@ +// @vitest-environment node +import { it, expect } from 'vitest' +import { getBodyByteLength } from './getBodyByteLength' + +const url = 'http://localhost' + +it('returns explicit body length set in the "Content-Length" header', async () => { + await expect( + getBodyByteLength(new Request(url, { headers: { 'Content-Length': '10' } })) + ).resolves.toBe(10) + + await expect( + getBodyByteLength( + new Response('hello', { headers: { 'Content-Length': '5' } }) + ) + ).resolves.toBe(5) +}) + +/** + * Request. + */ + +it('returns 0 for a request with an empty body', async () => { + await expect(getBodyByteLength(new Request(url))).resolves.toBe(0) + await expect( + getBodyByteLength(new Request(url, { method: 'POST', body: null })) + ).resolves.toBe(0) + await expect( + getBodyByteLength(new Request(url, { method: 'POST', body: undefined })) + ).resolves.toBe(0) + await expect( + getBodyByteLength(new Request(url, { method: 'POST', body: '' })) + ).resolves.toBe(0) +}) + +it('calculates body length from the text request body', async () => { + await expect( + getBodyByteLength( + new Request(url, { + method: 'POST', + body: 'hello world', + }) + ) + ).resolves.toBe(11) +}) + +it('calculates body length from the URLSearchParams request body', async () => { + await expect( + getBodyByteLength( + new Request(url, { + method: 'POST', + body: new URLSearchParams([['hello', 'world']]), + }) + ) + ).resolves.toBe(11) +}) + +it('calculates body length from the Blob request body', async () => { + await expect( + getBodyByteLength( + new Request(url, { + method: 'POST', + body: new Blob(['hello world']), + }) + ) + ).resolves.toBe(11) +}) + +it('calculates body length from the ArrayBuffer request body', async () => { + await expect( + getBodyByteLength( + new Request(url, { + method: 'POST', + body: await new Blob(['hello world']).arrayBuffer(), + }) + ) + ).resolves.toBe(11) +}) + +it('calculates body length from the FormData request body', async () => { + const formData = new FormData() + formData.append('hello', 'world') + + await expect( + getBodyByteLength( + new Request(url, { + method: 'POST', + body: formData, + }) + ) + ).resolves.toBe(127) +}) + +it('calculates body length from the ReadableStream request body', async () => { + const stream = new ReadableStream({ + start(controller) { + controller.enqueue(new TextEncoder().encode('hello world')) + controller.close() + }, + }) + + await expect( + getBodyByteLength( + new Request(url, { + method: 'POST', + body: stream, + // @ts-expect-error Undocumented required Undici property. + duplex: 'half', + }) + ) + ).resolves.toBe(11) +}) + +/** + * Response. + */ +it('returns 0 for a response with an empty body', async () => { + await expect(getBodyByteLength(new Response())).resolves.toBe(0) + await expect(getBodyByteLength(new Response(null))).resolves.toBe(0) + await expect(getBodyByteLength(new Response(undefined))).resolves.toBe(0) + await expect(getBodyByteLength(new Response(''))).resolves.toBe(0) +}) + +it('calculates body length from the text response body', async () => { + await expect(getBodyByteLength(new Response('hello world'))).resolves.toBe(11) +}) + +it('calculates body length from the URLSearchParams response body', async () => { + await expect( + getBodyByteLength(new Response(new URLSearchParams([['hello', 'world']]))) + ).resolves.toBe(11) +}) + +it('calculates body length from the Blob response body', async () => { + await expect( + getBodyByteLength(new Response(new Blob(['hello world']))) + ).resolves.toBe(11) +}) + +it('calculates body length from the ArrayBuffer response body', async () => { + await expect( + getBodyByteLength( + new Response(await new Blob(['hello world']).arrayBuffer()) + ) + ).resolves.toBe(11) +}) + +it('calculates body length from the FormData response body', async () => { + const formData = new FormData() + formData.append('hello', 'world') + + await expect(getBodyByteLength(new Response(formData))).resolves.toBe(127) +}) + +it('calculates body length from the ReadableStream response body', async () => { + const stream = new ReadableStream({ + start(controller) { + controller.enqueue(new TextEncoder().encode('hello world')) + controller.close() + }, + }) + + await expect(getBodyByteLength(new Response(stream))).resolves.toBe(11) +}) diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts new file mode 100644 index 0000000000..dd7655ab0c --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/getBodyByteLength.ts @@ -0,0 +1,16 @@ +/** + * Return a total byte length of the given request/response body. + * If the `Content-Length` header is present, it will be used as the byte length. + */ +export async function getBodyByteLength( + input: Request | Response +): Promise { + const explicitContentLength = input.headers.get('content-length') + + if (explicitContentLength != null && explicitContentLength !== '') { + return Number(explicitContentLength) + } + + const buffer = await input.arrayBuffer() + return buffer.byteLength +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts new file mode 100644 index 0000000000..3cf18b0400 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/utils/isDomParserSupportedType.ts @@ -0,0 +1,14 @@ +export function isDomParserSupportedType( + type: string +): type is DOMParserSupportedType { + const supportedTypes: Array = [ + 'application/xhtml+xml', + 'application/xml', + 'image/svg+xml', + 'text/html', + 'text/xml', + ] + return supportedTypes.some((supportedType) => { + return type.startsWith(supportedType) + }) +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts b/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts new file mode 100644 index 0000000000..d134fc1611 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts @@ -0,0 +1,186 @@ +import { invariant } from 'outvariant' +import { DeferredPromise } from '@open-draft/deferred-promise' +import { HttpRequestEventMap, IS_PATCHED_MODULE } from '../../glossary' +import { Interceptor } from '../../Interceptor' +import { RequestController } from '../../RequestController' +import { emitAsync } from '../../utils/emitAsync' +import { handleRequest } from '../../utils/handleRequest' +import { canParseUrl } from '../../utils/canParseUrl' +import { createRequestId } from '../../createRequestId' +import { createNetworkError } from './utils/createNetworkError' +import { followFetchRedirect } from './utils/followRedirect' +import { decompressResponse } from './utils/decompression' +import { hasConfigurableGlobal } from '../../utils/hasConfigurableGlobal' +import { FetchResponse } from '../../utils/fetchUtils' + +export class FetchInterceptor extends Interceptor { + static symbol = Symbol('fetch') + + constructor() { + super(FetchInterceptor.symbol) + } + + protected checkEnvironment() { + return hasConfigurableGlobal('fetch') + } + + protected async setup() { + const pureFetch = globalThis.fetch + + invariant( + !(pureFetch as any)[IS_PATCHED_MODULE], + 'Failed to patch the "fetch" module: already patched.' + ) + + globalThis.fetch = async (input, init) => { + const requestId = createRequestId() + + /** + * @note Resolve potentially relative request URL + * against the present `location`. This is mainly + * for native `fetch` in JSDOM. + * @see https://github.com/mswjs/msw/issues/1625 + */ + const resolvedInput = + typeof input === 'string' && + typeof location !== 'undefined' && + !canParseUrl(input) + ? new URL(input, location.origin) + : input + + const request = new Request(resolvedInput, init) + const responsePromise = new DeferredPromise() + const controller = new RequestController(request) + + this.logger.info('[%s] %s', request.method, request.url) + this.logger.info('awaiting for the mocked response...') + + this.logger.info( + 'emitting the "request" event for %s listener(s)...', + this.emitter.listenerCount('request') + ) + + const isRequestHandled = await handleRequest({ + request, + requestId, + emitter: this.emitter, + controller, + onResponse: async (rawResponse) => { + this.logger.info('received mocked response!', { + rawResponse, + }) + + // Decompress the mocked response body, if applicable. + const decompressedStream = decompressResponse(rawResponse) + const response = + decompressedStream === null + ? rawResponse + : new FetchResponse(decompressedStream, rawResponse) + + FetchResponse.setUrl(request.url, response) + + /** + * Undici's handling of following redirect responses. + * Treat the "manual" redirect mode as a regular mocked response. + * This way, the client can manually follow the redirect it receives. + * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1173 + */ + if (FetchResponse.isRedirectResponse(response.status)) { + // Reject the request promise if its `redirect` is set to `error` + // and it receives a mocked redirect response. + if (request.redirect === 'error') { + responsePromise.reject(createNetworkError('unexpected redirect')) + return + } + + if (request.redirect === 'follow') { + followFetchRedirect(request, response).then( + (response) => { + responsePromise.resolve(response) + }, + (reason) => { + responsePromise.reject(reason) + } + ) + return + } + } + + if (this.emitter.listenerCount('response') > 0) { + this.logger.info('emitting the "response" event...') + + // Await the response listeners to finish before resolving + // the response promise. This ensures all your logic finishes + // before the interceptor resolves the pending response. + await emitAsync(this.emitter, 'response', { + // Clone the mocked response for the "response" event listener. + // This way, the listener can read the response and not lock its body + // for the actual fetch consumer. + response: response.clone(), + isMockedResponse: true, + request, + requestId, + }) + } + + responsePromise.resolve(response) + }, + onRequestError: (response) => { + this.logger.info('request has errored!', { response }) + responsePromise.reject(createNetworkError(response)) + }, + onError: (error) => { + this.logger.info('request has been aborted!', { error }) + responsePromise.reject(error) + }, + }) + + if (isRequestHandled) { + this.logger.info('request has been handled, returning mock promise...') + return responsePromise + } + + this.logger.info( + 'no mocked response received, performing request as-is...' + ) + + return pureFetch(request).then(async (response) => { + this.logger.info('original fetch performed', response) + + if (this.emitter.listenerCount('response') > 0) { + this.logger.info('emitting the "response" event...') + + const responseClone = response.clone() + + await emitAsync(this.emitter, 'response', { + response: responseClone, + isMockedResponse: false, + request, + requestId, + }) + } + + return response + }) + } + + Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, { + enumerable: true, + configurable: true, + value: true, + }) + + this.subscriptions.push(() => { + Object.defineProperty(globalThis.fetch, IS_PATCHED_MODULE, { + value: undefined, + }) + + globalThis.fetch = pureFetch + + this.logger.info( + 'restored native "globalThis.fetch"!', + globalThis.fetch.name + ) + }) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.browser.ts b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.browser.ts new file mode 100644 index 0000000000..d88ca784f9 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.browser.ts @@ -0,0 +1,14 @@ +export class BrotliDecompressionStream extends TransformStream { + constructor() { + console.warn( + '[Interceptors]: Brotli decompression of response streams is not supported in the browser' + ) + + super({ + transform(chunk, controller) { + // Keep the stream as passthrough, it does nothing. + controller.enqueue(chunk) + }, + }) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.ts b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.ts new file mode 100644 index 0000000000..dbfa622e59 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/brotli-decompress.ts @@ -0,0 +1,31 @@ +import zlib from 'node:zlib' + +export class BrotliDecompressionStream extends TransformStream { + constructor() { + const decompress = zlib.createBrotliDecompress({ + flush: zlib.constants.BROTLI_OPERATION_FLUSH, + finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH, + }) + + super({ + async transform(chunk, controller) { + const buffer = Buffer.from(chunk) + + const decompressed = await new Promise((resolve, reject) => { + decompress.write(buffer, (error) => { + if (error) reject(error) + }) + + decompress.flush() + decompress.once('data', (data) => resolve(data)) + decompress.once('error', (error) => reject(error)) + decompress.once('end', () => controller.terminate()) + }).catch((error) => { + controller.error(error) + }) + + controller.enqueue(decompressed) + }, + }) + } +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/createNetworkError.ts b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/createNetworkError.ts new file mode 100644 index 0000000000..bf58f07080 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/createNetworkError.ts @@ -0,0 +1,5 @@ +export function createNetworkError(cause?: unknown) { + return Object.assign(new TypeError('Failed to fetch'), { + cause, + }) +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/decompression.ts b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/decompression.ts new file mode 100644 index 0000000000..583d4a37ed --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/decompression.ts @@ -0,0 +1,85 @@ +// Import from an internal alias that resolves to different modules +// depending on the environment. This way, we can keep the fetch interceptor +// intact while using different strategies for Brotli decompression. +import { BrotliDecompressionStream } from 'internal:brotli-decompress' + +class PipelineStream extends TransformStream { + constructor( + transformStreams: Array, + ...strategies: Array + ) { + super({}, ...strategies) + + const readable = [super.readable as any, ...transformStreams].reduce( + (readable, transform) => readable.pipeThrough(transform) + ) + + Object.defineProperty(this, 'readable', { + get() { + return readable + }, + }) + } +} + +export function parseContentEncoding(contentEncoding: string): Array { + return contentEncoding + .toLowerCase() + .split(',') + .map((coding) => coding.trim()) +} + +function createDecompressionStream( + contentEncoding: string +): TransformStream | null { + if (contentEncoding === '') { + return null + } + + const codings = parseContentEncoding(contentEncoding) + + if (codings.length === 0) { + return null + } + + const transformers = codings.reduceRight>( + (transformers, coding) => { + if (coding === 'gzip' || coding === 'x-gzip') { + return transformers.concat(new DecompressionStream('gzip')) + } else if (coding === 'deflate') { + return transformers.concat(new DecompressionStream('deflate')) + } else if (coding === 'br') { + return transformers.concat(new BrotliDecompressionStream()) + } else { + transformers.length = 0 + } + + return transformers + }, + [] + ) + + return new PipelineStream(transformers) +} + +export function decompressResponse( + response: Response +): ReadableStream | null { + if (response.body === null) { + return null + } + + const decompressionStream = createDecompressionStream( + response.headers.get('content-encoding') || '' + ) + + if (!decompressionStream) { + return null + } + + // Use `pipeTo` and return the decompression stream's readable + // instead of `pipeThrough` because that will lock the original + // response stream, making it unusable as the input to Response. + response.body.pipeTo(decompressionStream.writable) + return decompressionStream.readable +} diff --git a/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/followRedirect.ts b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/followRedirect.ts new file mode 100644 index 0000000000..bd76e63b70 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/interceptors/fetch/utils/followRedirect.ts @@ -0,0 +1,108 @@ +import { createNetworkError } from './createNetworkError' + +const REQUEST_BODY_HEADERS = [ + 'content-encoding', + 'content-language', + 'content-location', + 'content-type', + 'content-length', +] + +const kRedirectCount = Symbol('kRedirectCount') + +/** + * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/index.js#L1210 + */ +export async function followFetchRedirect( + request: Request, + response: Response +): Promise { + if (response.status !== 303 && request.body != null) { + return Promise.reject(createNetworkError()) + } + + const requestUrl = new URL(request.url) + + let locationUrl: URL + try { + // If the location is a relative URL, use the request URL as the base URL. + locationUrl = new URL(response.headers.get('location')!, request.url) + } catch (error) { + return Promise.reject(createNetworkError(error)) + } + + if ( + !(locationUrl.protocol === 'http:' || locationUrl.protocol === 'https:') + ) { + return Promise.reject( + createNetworkError('URL scheme must be a HTTP(S) scheme') + ) + } + + if (Reflect.get(request, kRedirectCount) > 20) { + return Promise.reject(createNetworkError('redirect count exceeded')) + } + + Object.defineProperty(request, kRedirectCount, { + value: (Reflect.get(request, kRedirectCount) || 0) + 1, + }) + + if ( + request.mode === 'cors' && + (locationUrl.username || locationUrl.password) && + !sameOrigin(requestUrl, locationUrl) + ) { + return Promise.reject( + createNetworkError('cross origin not allowed for request mode "cors"') + ) + } + + const requestInit: RequestInit = {} + + if ( + ([301, 302].includes(response.status) && request.method === 'POST') || + (response.status === 303 && !['HEAD', 'GET'].includes(request.method)) + ) { + requestInit.method = 'GET' + requestInit.body = null + + REQUEST_BODY_HEADERS.forEach((headerName) => { + request.headers.delete(headerName) + }) + } + + if (!sameOrigin(requestUrl, locationUrl)) { + request.headers.delete('authorization') + request.headers.delete('proxy-authorization') + request.headers.delete('cookie') + request.headers.delete('host') + } + + /** + * @note Undici "safely" extracts the request body. + * I suspect we cannot dispatch this request again + * since its body has been read and the stream is locked. + */ + + requestInit.headers = request.headers + return fetch(new Request(locationUrl, requestInit)) +} + +/** + * @see https://github.com/nodejs/undici/blob/a6dac3149c505b58d2e6d068b97f4dc993da55f0/lib/web/fetch/util.js#L761 + */ +function sameOrigin(left: URL, right: URL): boolean { + if (left.origin === right.origin && left.origin === 'null') { + return true + } + + if ( + left.protocol === right.protocol && + left.hostname === right.hostname && + left.port === right.port + ) { + return true + } + + return false +} diff --git a/node_modules/@mswjs/interceptors/src/presets/browser.ts b/node_modules/@mswjs/interceptors/src/presets/browser.ts new file mode 100644 index 0000000000..c609adc5e7 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/presets/browser.ts @@ -0,0 +1,11 @@ +import { FetchInterceptor } from '../interceptors/fetch' +import { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest' + +/** + * The default preset provisions the interception of requests + * regardless of their type (fetch/XMLHttpRequest). + */ +export default [ + new FetchInterceptor(), + new XMLHttpRequestInterceptor(), +] as const diff --git a/node_modules/@mswjs/interceptors/src/presets/node.ts b/node_modules/@mswjs/interceptors/src/presets/node.ts new file mode 100644 index 0000000000..63fbe0f459 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/presets/node.ts @@ -0,0 +1,13 @@ +import { ClientRequestInterceptor } from '../interceptors/ClientRequest' +import { XMLHttpRequestInterceptor } from '../interceptors/XMLHttpRequest' +import { FetchInterceptor } from '../interceptors/fetch' + +/** + * The default preset provisions the interception of requests + * regardless of their type (http/https/XMLHttpRequest). + */ +export default [ + new ClientRequestInterceptor(), + new XMLHttpRequestInterceptor(), + new FetchInterceptor(), +] as const diff --git a/node_modules/@mswjs/interceptors/src/utils/RequestController.ts b/node_modules/@mswjs/interceptors/src/utils/RequestController.ts new file mode 100644 index 0000000000..d93e70b3d5 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/RequestController.ts @@ -0,0 +1,21 @@ +import { invariant } from 'outvariant' +import { DeferredPromise } from '@open-draft/deferred-promise' + +export class RequestController { + public responsePromise: DeferredPromise + + constructor(protected request: Request) { + this.responsePromise = new DeferredPromise() + } + + public respondWith(response?: Response): void { + invariant( + this.responsePromise.state === 'pending', + 'Failed to respond to "%s %s" request: the "request" event has already been responded to.', + this.request.method, + this.request.url + ) + + this.responsePromise.resolve(response) + } +} diff --git a/node_modules/@mswjs/interceptors/src/utils/bufferUtils.test.ts b/node_modules/@mswjs/interceptors/src/utils/bufferUtils.test.ts new file mode 100644 index 0000000000..7c55455616 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/bufferUtils.test.ts @@ -0,0 +1,21 @@ +import { it, expect } from 'vitest' +import { decodeBuffer, encodeBuffer } from './bufferUtils' + +it('encodes utf-8 string', () => { + const encoded = encodeBuffer('😁') + expect(new Uint8Array(encoded)).toEqual(new Uint8Array([240, 159, 152, 129])) +}) + +it('decodes utf-8 string', () => { + const array = new Uint8Array([240, 159, 152, 129]) + const decoded = decodeBuffer(array.buffer) + expect(decoded).toEqual('😁') +}) + +it('decodes string with custom encoding', () => { + const array = new Uint8Array([ + 207, 240, 232, 226, 229, 242, 44, 32, 236, 232, 240, 33, + ]) + const decoded = decodeBuffer(array.buffer, 'windows-1251') + expect(decoded).toEqual('Привет, мир!') +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/bufferUtils.ts b/node_modules/@mswjs/interceptors/src/utils/bufferUtils.ts new file mode 100644 index 0000000000..b4b1c3784d --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/bufferUtils.ts @@ -0,0 +1,22 @@ +const encoder = new TextEncoder() + +export function encodeBuffer(text: string): Uint8Array { + return encoder.encode(text) +} + +export function decodeBuffer(buffer: ArrayBuffer, encoding?: string): string { + const decoder = new TextDecoder(encoding) + return decoder.decode(buffer) +} + +/** + * Create an `ArrayBuffer` from the given `Uint8Array`. + * Takes the byte offset into account to produce the right buffer + * in the case when the buffer is bigger than the data view. + */ +export function toArrayBuffer(array: Uint8Array): ArrayBuffer { + return array.buffer.slice( + array.byteOffset, + array.byteOffset + array.byteLength + ) +} diff --git a/node_modules/@mswjs/interceptors/src/utils/canParseUrl.ts b/node_modules/@mswjs/interceptors/src/utils/canParseUrl.ts new file mode 100644 index 0000000000..7f814cd526 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/canParseUrl.ts @@ -0,0 +1,13 @@ +/** + * Returns a boolean indicating whether the given URL string + * can be parsed into a `URL` instance. + * A substitute for `URL.canParse()` for Node.js 18. + */ +export function canParseUrl(url: string): boolean { + try { + new URL(url) + return true + } catch (_error) { + return false + } +} diff --git a/node_modules/@mswjs/interceptors/src/utils/cloneObject.test.ts b/node_modules/@mswjs/interceptors/src/utils/cloneObject.test.ts new file mode 100644 index 0000000000..85a1dbbb3f --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/cloneObject.test.ts @@ -0,0 +1,94 @@ +import { it, expect } from 'vitest' +import { cloneObject } from './cloneObject' + +it('clones a shallow object', () => { + const original = { a: 1, b: 2, c: [1, 2, 3] } + const clone = cloneObject(original) + + expect(clone).toEqual(original) + + clone.a = 5 + clone.b = 6 + clone.c = [5, 6, 7] + + expect(clone).toHaveProperty('a', 5) + expect(clone).toHaveProperty('b', 6) + expect(clone).toHaveProperty('c', [5, 6, 7]) + expect(original).toHaveProperty('a', 1) + expect(original).toHaveProperty('b', 2) + expect(original).toHaveProperty('c', [1, 2, 3]) +}) + +it('clones a nested object', () => { + const original = { a: { b: 1 }, c: { d: { e: 2 } } } + const clone = cloneObject(original) + + expect(clone).toEqual(original) + + clone.a.b = 10 + clone.c.d.e = 20 + + expect(clone).toHaveProperty(['a', 'b'], 10) + expect(clone).toHaveProperty(['c', 'd', 'e'], 20) + expect(original).toHaveProperty(['a', 'b'], 1) + expect(original).toHaveProperty(['c', 'd', 'e'], 2) +}) + +it('clones a class instance', () => { + class Car { + public manufacturer: string + constructor() { + this.manufacturer = 'Audi' + } + getManufacturer() { + return this.manufacturer + } + } + + const car = new Car() + const clone = cloneObject(car) + + expect(clone).toHaveProperty('manufacturer', 'Audi') + expect(clone).toHaveProperty('getManufacturer') + expect(clone.getManufacturer).toBeInstanceOf(Function) + expect(clone.getManufacturer()).toEqual('Audi') +}) + +it('ignores nested class instances', () => { + class Car { + name: string + constructor(name: string) { + this.name = name + } + getName() { + return this.name + } + } + const original = { + a: 1, + car: new Car('Audi'), + } + const clone = cloneObject(original) + + expect(clone).toEqual(original) + expect(clone.car).toBeInstanceOf(Car) + expect(clone.car.getName()).toEqual('Audi') + + clone.car = new Car('BMW') + + expect(clone.car).toBeInstanceOf(Car) + expect(clone.car.getName()).toEqual('BMW') + expect(original.car).toBeInstanceOf(Car) + expect(original.car.getName()).toEqual('Audi') +}) + +it('clones an object with null prototype', () => { + const original = { + key: Object.create(null), + } + const clone = cloneObject(original) + + expect(clone).toEqual({ + key: {}, + }) +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/cloneObject.ts b/node_modules/@mswjs/interceptors/src/utils/cloneObject.ts new file mode 100644 index 0000000000..521f2ea003 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/cloneObject.ts @@ -0,0 +1,36 @@ +import { Logger } from '@open-draft/logger' + +const logger = new Logger('cloneObject') + +function isPlainObject(obj?: Record): boolean { + logger.info('is plain object?', obj) + + if (obj == null || !obj.constructor?.name) { + logger.info('given object is undefined, not a plain object...') + return false + } + + logger.info('checking the object constructor:', obj.constructor.name) + return obj.constructor.name === 'Object' +} + +export function cloneObject>( + obj: ObjectType +): ObjectType { + logger.info('cloning object:', obj) + + const enumerableProperties = Object.entries(obj).reduce>( + (acc, [key, value]) => { + logger.info('analyzing key-value pair:', key, value) + + // Recursively clone only plain objects, omitting class instances. + acc[key] = isPlainObject(value) ? cloneObject(value) : value + return acc + }, + {} + ) + + return isPlainObject(obj) + ? enumerableProperties + : Object.assign(Object.getPrototypeOf(obj), enumerableProperties) +} diff --git a/node_modules/@mswjs/interceptors/src/utils/createProxy.test.ts b/node_modules/@mswjs/interceptors/src/utils/createProxy.test.ts new file mode 100644 index 0000000000..0688aacc3b --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/createProxy.test.ts @@ -0,0 +1,162 @@ +import { vi, it, expect } from 'vitest' +import { createProxy } from './createProxy' + +it('does not interfere with default constructors', () => { + const ProxyClass = createProxy( + class { + constructor(public name: string) {} + }, + {} + ) + + const instance = new ProxyClass('John') + expect(instance.name).toBe('John') +}) + +it('does not interfere with default getters', () => { + const proxy = createProxy({ foo: 'initial' }, {}) + expect(proxy.foo).toBe('initial') +}) + +it('does not interfere with default setters', () => { + const proxy = createProxy({ foo: 'initial' }, {}) + proxy.foo = 'next' + + expect(proxy.foo).toBe('next') +}) + +it('does not interfere with default methods', () => { + const proxy = createProxy({ getValue: () => 'initial' }, {}) + expect(proxy.getValue()).toBe('initial') +}) + +it('does not interfere with existing descriptors', () => { + const target = {} as { foo: string; bar: number } + let internalBar = 0 + + Object.defineProperties(target, { + foo: { + get: () => 'initial', + }, + bar: { + set: (value) => { + internalBar = value + 10 + }, + }, + }) + + const proxy = createProxy(target, { + getProperty(data, next) { + return next() + }, + }) + expect(proxy.foo).toBe('initial') + + proxy.bar = 5 + expect(proxy.bar).toBeUndefined() + expect(internalBar).toBe(15) +}) + +it('infer prototype descriptors', () => { + class Child { + ok: boolean + + set status(nextStatus: number) { + this.ok = nextStatus >= 200 && nextStatus < 300 + } + } + + Object.defineProperties(Child.prototype, { + status: { enumerable: true }, + }) + + const scope = {} as { child: typeof Child } + + Object.defineProperty(scope, 'child', { + enumerable: true, + value: Child, + }) + + const ProxyClass = createProxy(scope.child, {}) + const instance = new ProxyClass() + + instance.status = 201 + expect(instance.ok).toBe(true) +}) + +it('spies on the constructor', () => { + const OriginalClass = class { + constructor(public name: string, public age: number) {} + } + + const constructorCall = vi.fn< + [ConstructorParameters, Function], + typeof OriginalClass + >((args, next) => next()) + + const ProxyClass = createProxy(OriginalClass, { + constructorCall, + }) + + new ProxyClass('John', 32) + + expect(constructorCall).toHaveBeenCalledTimes(1) + expect(constructorCall).toHaveBeenCalledWith( + ['John', 32], + expect.any(Function) + ) +}) + +it('spies on property getters', () => { + const getProperty = vi.fn((args, next) => next()) + const proxy = createProxy({ foo: 'initial' }, { getProperty }) + + proxy.foo + + expect(getProperty).toHaveBeenCalledTimes(1) + expect(getProperty).toHaveBeenCalledWith(['foo', proxy], expect.any(Function)) +}) + +it('spies on property setters', () => { + const setProperty = vi.fn((args, next) => next()) + const proxy = createProxy({ foo: 'initial' }, { setProperty }) + + proxy.foo = 'next' + + expect(setProperty).toHaveBeenCalledTimes(1) + expect(setProperty).toHaveBeenCalledWith( + ['foo', 'next'], + expect.any(Function) + ) +}) + +it('spies on method calls', () => { + const methodCall = vi.fn((args, next) => next()) + const proxy = createProxy( + { + greet: (name: string) => `hello ${name}`, + }, + { methodCall } + ) + + proxy.greet('Clair') + + expect(methodCall).toHaveBeenCalledTimes(1) + expect(methodCall).toHaveBeenCalledWith( + ['greet', ['Clair']], + expect.any(Function) + ) +}) + +it('proxies properties on the prototype level', () => { + const method = vi.fn() + const prototype = { method } + + const proxy = createProxy(Object.create(prototype), {}) + const proxyMethod = vi.fn() + proxy.method = proxyMethod + + prototype.method() + expect(method).toHaveBeenCalledTimes(0) + expect(proxyMethod).toHaveBeenCalledTimes(1) +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/createProxy.ts b/node_modules/@mswjs/interceptors/src/utils/createProxy.ts new file mode 100644 index 0000000000..054e752437 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/createProxy.ts @@ -0,0 +1,104 @@ +import { findPropertySource } from './findPropertySource' + +export interface ProxyOptions> { + constructorCall?(args: Array, next: NextFunction): Target + + methodCall?( + this: Target, + data: [methodName: F, args: Array], + next: NextFunction + ): void + + setProperty?( + data: [propertyName: string | symbol, nextValue: unknown], + next: NextFunction + ): boolean + + getProperty?( + data: [propertyName: string | symbol, receiver: Target], + next: NextFunction + ): void +} + +export type NextFunction = () => ReturnType + +export function createProxy( + target: Target, + options: ProxyOptions +): Target { + const proxy = new Proxy(target, optionsToProxyHandler(options)) + + return proxy +} + +function optionsToProxyHandler>( + options: ProxyOptions +): ProxyHandler { + const { constructorCall, methodCall, getProperty, setProperty } = options + const handler: ProxyHandler = {} + + if (typeof constructorCall !== 'undefined') { + handler.construct = function (target, args, newTarget) { + const next = Reflect.construct.bind(null, target as any, args, newTarget) + return constructorCall.call(newTarget, args, next) + } + } + + handler.set = function (target, propertyName, nextValue) { + const next = () => { + const propertySource = findPropertySource(target, propertyName) || target + const ownDescriptors = Reflect.getOwnPropertyDescriptor( + propertySource, + propertyName + ) + + // Respect any custom setters present for this property. + if (typeof ownDescriptors?.set !== 'undefined') { + ownDescriptors.set.apply(target, [nextValue]) + return true + } + + // Otherwise, set the property on the source. + return Reflect.defineProperty(propertySource, propertyName, { + writable: true, + enumerable: true, + configurable: true, + value: nextValue, + }) + } + + if (typeof setProperty !== 'undefined') { + return setProperty.call(target, [propertyName, nextValue], next) + } + + return next() + } + + handler.get = function (target, propertyName, receiver) { + /** + * @note Using `Reflect.get()` here causes "TypeError: Illegal invocation". + */ + const next = () => target[propertyName as any] + + const value = + typeof getProperty !== 'undefined' + ? getProperty.call(target, [propertyName, receiver], next) + : next() + + if (typeof value === 'function') { + return (...args: Array) => { + const next = value.bind(target, ...args) + + if (typeof methodCall !== 'undefined') { + return methodCall.call(target, [propertyName as any, args], next) + } + + return next() + } + } + + return value + } + + return handler +} diff --git a/node_modules/@mswjs/interceptors/src/utils/emitAsync.ts b/node_modules/@mswjs/interceptors/src/utils/emitAsync.ts new file mode 100644 index 0000000000..09b43fcbee --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/emitAsync.ts @@ -0,0 +1,25 @@ +import { Emitter, EventMap } from 'strict-event-emitter' + +/** + * Emits an event on the given emitter but executes + * the listeners sequentially. This accounts for asynchronous + * listeners (e.g. those having "sleep" and handling the request). + */ +export async function emitAsync< + Events extends EventMap, + EventName extends keyof Events +>( + emitter: Emitter, + eventName: EventName, + ...data: Events[EventName] +): Promise { + const listners = emitter.listeners(eventName) + + if (listners.length === 0) { + return + } + + for (const listener of listners) { + await listener.apply(emitter, data) + } +} diff --git a/node_modules/@mswjs/interceptors/src/utils/fetchUtils.ts b/node_modules/@mswjs/interceptors/src/utils/fetchUtils.ts new file mode 100644 index 0000000000..37f7592941 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/fetchUtils.ts @@ -0,0 +1,93 @@ +export interface FetchResponseInit extends ResponseInit { + url?: string +} + +export class FetchResponse extends Response { + /** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ + static readonly STATUS_CODES_WITHOUT_BODY = [101, 103, 204, 205, 304] + + static readonly STATUS_CODES_WITH_REDIRECT = [301, 302, 303, 307, 308] + + static isConfigurableStatusCode(status: number): boolean { + return status >= 200 && status <= 599 + } + + static isRedirectResponse(status: number): boolean { + return FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status) + } + + /** + * Returns a boolean indicating whether the given response status + * code represents a response that can have a body. + */ + static isResponseWithBody(status: number): boolean { + return !FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status) + } + + static setUrl(url: string | undefined, response: Response): void { + if (!url) { + return + } + + if (response.url != '') { + return + } + + Object.defineProperty(response, 'url', { + value: url, + enumerable: true, + configurable: true, + writable: false, + }) + } + + /** + * Parses the given raw HTTP headers into a Fetch API `Headers` instance. + */ + static parseRawHeaders(rawHeaders: Array): Headers { + const headers = new Headers() + for (let line = 0; line < rawHeaders.length; line += 2) { + headers.append(rawHeaders[line], rawHeaders[line + 1]) + } + return headers + } + + constructor(body?: BodyInit | null, init: FetchResponseInit = {}) { + const status = init.status ?? 200 + const safeStatus = FetchResponse.isConfigurableStatusCode(status) + ? status + : 200 + const finalBody = FetchResponse.isResponseWithBody(status) ? body : null + + super(finalBody, { + ...init, + status: safeStatus, + }) + + if (status !== safeStatus) { + /** + * @note Undici keeps an internal "Symbol(state)" that holds + * the actual value of response status. Update that in Node.js. + */ + const stateSymbol = Object.getOwnPropertySymbols(this).find( + (symbol) => symbol.description === 'state' + ) + if (stateSymbol) { + const state = Reflect.get(this, stateSymbol) as object + Reflect.set(state, 'status', status) + } else { + Object.defineProperty(this, 'status', { + value: status, + enumerable: true, + configurable: true, + writable: false, + }) + } + } + + FetchResponse.setUrl(init.url, this) + } +} diff --git a/node_modules/@mswjs/interceptors/src/utils/findPropertySource.test.ts b/node_modules/@mswjs/interceptors/src/utils/findPropertySource.test.ts new file mode 100644 index 0000000000..cce02ca9eb --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/findPropertySource.test.ts @@ -0,0 +1,27 @@ +import { it, expect } from 'vitest' +import { findPropertySource } from './findPropertySource' + +it('returns the source for objects without prototypes', () => { + const obj = Object.create(null) + obj.test = undefined + const source = findPropertySource(obj, 'test') + expect(source).toBe(obj) +}) + +it('returns the source for objects with prototypes', () => { + const prototype = Object.create(null) + prototype.test = undefined + + const obj = Object.create(prototype) + + const source = findPropertySource(obj, 'test') + expect(source).toBe(prototype) +}) + +it('returns null if the prototype chain does not contain the property', () => { + const prototype = Object.create(null) + const obj = Object.create(prototype) + + const source = findPropertySource(obj, 'test') + expect(source).toBeNull() +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/findPropertySource.ts b/node_modules/@mswjs/interceptors/src/utils/findPropertySource.ts new file mode 100644 index 0000000000..26ca44af82 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/findPropertySource.ts @@ -0,0 +1,20 @@ +/** + * Returns the source object of the given property on the target object + * (the target itself, any parent in its prototype, or null). + */ +export function findPropertySource( + target: object, + propertyName: string | symbol +): object | null { + if (!(propertyName in target)) { + return null + } + + const hasProperty = Object.prototype.hasOwnProperty.call(target, propertyName) + if (hasProperty) { + return target + } + + const prototype = Reflect.getPrototypeOf(target) + return prototype ? findPropertySource(prototype, propertyName) : null +} diff --git a/node_modules/@mswjs/interceptors/src/utils/getCleanUrl.test.ts b/node_modules/@mswjs/interceptors/src/utils/getCleanUrl.test.ts new file mode 100644 index 0000000000..9f70ca81d5 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/getCleanUrl.test.ts @@ -0,0 +1,32 @@ +import { describe, it, expect } from 'vitest' +import { getCleanUrl } from './getCleanUrl' + +describe('getCleanUrl', () => { + describe('given a URL without query parameters', () => { + it('should return url href as-is', () => { + const url = new URL('https://github.com') + expect(getCleanUrl(url)).toEqual('https://github.com/') + }) + }) + + describe('given a URL with query parameters', () => { + it('should return url without parameters', () => { + const url = new URL('https://github.com/mswjs/?userId=abc-123') + expect(getCleanUrl(url)).toEqual('https://github.com/mswjs/') + }) + }) + + describe('given a URL with a hash', () => { + it('should return a url without hash', () => { + const url = new URL('https://github.com/mswjs/#hello-world') + expect(getCleanUrl(url)).toEqual('https://github.com/mswjs/') + }) + }) + + describe('given an absolute URL ', () => { + it('should return a clean relative URL', () => { + const url = new URL('/login?query=value', 'https://github.com') + expect(getCleanUrl(url, false)).toEqual('/login') + }) + }) +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/getCleanUrl.ts b/node_modules/@mswjs/interceptors/src/utils/getCleanUrl.ts new file mode 100644 index 0000000000..14165674a3 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/getCleanUrl.ts @@ -0,0 +1,6 @@ +/** + * Removes query parameters and hashes from a given URL. + */ +export function getCleanUrl(url: URL, isAbsolute: boolean = true): string { + return [isAbsolute && url.origin, url.pathname].filter(Boolean).join('') +} diff --git a/node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.test.ts b/node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.test.ts new file mode 100644 index 0000000000..cc9423609d --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.test.ts @@ -0,0 +1,163 @@ +import { it, expect } from 'vitest' +import { Agent as HttpAgent } from 'http' +import { RequestOptions, Agent as HttpsAgent } from 'https' +import { getUrlByRequestOptions } from './getUrlByRequestOptions' + +it('returns a URL based on the basic RequestOptions', () => { + expect( + getUrlByRequestOptions({ + protocol: 'https:', + host: '127.0.0.1', + path: '/resource', + }).href + ).toBe('https://127.0.0.1/resource') +}) + +it('inherits protocol and port from http.Agent, if set', () => { + expect( + getUrlByRequestOptions({ + host: '127.0.0.1', + path: '/', + agent: new HttpAgent(), + }).href + ).toBe('http://127.0.0.1/') +}) + +it('inherits protocol and port from https.Agent, if set', () => { + expect( + getUrlByRequestOptions({ + host: '127.0.0.1', + path: '/', + agent: new HttpsAgent({ + port: 3080, + }), + }).href + ).toBe('https://127.0.0.1:3080/') +}) + +it('resolves protocol to "http" given no explicit protocol and no certificate', () => { + expect( + getUrlByRequestOptions({ + host: '127.0.0.1', + path: '/', + }).href + ).toBe('http://127.0.0.1/') +}) + +it('resolves protocol to "https" given no explicit protocol, but certificate', () => { + expect( + getUrlByRequestOptions({ + host: '127.0.0.1', + path: '/secure', + cert: '', + }).href + ).toBe('https://127.0.0.1/secure') +}) + +it('resolves protocol to "https" given no explicit protocol, but port is 443', () => { + expect( + getUrlByRequestOptions({ + host: '127.0.0.1', + port: 443, + path: '/resource', + }).href + ).toBe('https://127.0.0.1/resource') +}) + +it('resolves protocol to "https" given no explicit protocol, but agent port is 443', () => { + expect( + getUrlByRequestOptions({ + host: '127.0.0.1', + agent: new HttpsAgent({ + port: 443, + }), + path: '/resource', + }).href + ).toBe('https://127.0.0.1/resource') +}) + +it('respects explicitly provided port', () => { + expect( + getUrlByRequestOptions({ + protocol: 'http:', + host: '127.0.0.1', + port: 4002, + path: '/', + }).href + ).toBe('http://127.0.0.1:4002/') +}) + +it('inherits "username" and "password"', () => { + const url = getUrlByRequestOptions({ + protocol: 'https:', + host: '127.0.0.1', + path: '/user', + auth: 'admin:abc-123', + }) + + expect(url).toBeInstanceOf(URL) + expect(url).toHaveProperty('username', 'admin') + expect(url).toHaveProperty('password', 'abc-123') + expect(url).toHaveProperty('href', 'https://admin:abc-123@127.0.0.1/user') +}) + +it('resolves hostname to localhost if none provided', () => { + expect(getUrlByRequestOptions({}).hostname).toBe('localhost') +}) + +it('resolves host to localhost if none provided', () => { + expect(getUrlByRequestOptions({}).host).toBe('localhost') +}) + +it('supports "hostname" and "port"', () => { + const options: RequestOptions = { + protocol: 'https:', + hostname: '127.0.0.1', + port: 1234, + path: '/resource', + } + + expect(getUrlByRequestOptions(options).href).toBe( + 'https://127.0.0.1:1234/resource' + ) +}) + +it('use "hostname" if both "hostname" and "host" are specified', () => { + const options: RequestOptions = { + protocol: 'https:', + host: 'host', + hostname: 'hostname', + path: '/resource', + } + + expect(getUrlByRequestOptions(options).href).toBe( + 'https://hostname/resource' + ) +}) + +it('parses "host" in IPv6', () => { + expect( + getUrlByRequestOptions({ + host: '::1', + path: '/resource', + }).href + ).toBe('http://[::1]/resource') + + expect( + getUrlByRequestOptions({ + host: '[::1]', + path: '/resource', + }).href + ).toBe('http://[::1]/resource') + +}) + +it('parses "host" and "port" in IPv6', () => { + expect( + getUrlByRequestOptions({ + host: '::1', + port: 3001, + path: '/resource', + }).href + ).toBe('http://[::1]:3001/resource') +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.ts b/node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.ts new file mode 100644 index 0000000000..0b8a5ef760 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/getUrlByRequestOptions.ts @@ -0,0 +1,152 @@ +import { Agent } from 'http' +import { RequestOptions, Agent as HttpsAgent } from 'https' +import { Logger } from '@open-draft/logger' + +const logger = new Logger('utils getUrlByRequestOptions') + +// Request instance constructed by the "request" library +// has a "self" property that has a "uri" field. This is +// reproducible by performing a "XMLHttpRequest" request in JSDOM. +export interface RequestSelf { + uri?: URL +} + +export type ResolvedRequestOptions = RequestOptions & RequestSelf + +export const DEFAULT_PATH = '/' +const DEFAULT_PROTOCOL = 'http:' +const DEFAULT_HOSTNAME = 'localhost' +const SSL_PORT = 443 + +function getAgent( + options: ResolvedRequestOptions +): Agent | HttpsAgent | undefined { + return options.agent instanceof Agent ? options.agent : undefined +} + +function getProtocolByRequestOptions(options: ResolvedRequestOptions): string { + if (options.protocol) { + return options.protocol + } + + const agent = getAgent(options) + const agentProtocol = (agent as RequestOptions)?.protocol + + if (agentProtocol) { + return agentProtocol + } + + const port = getPortByRequestOptions(options) + const isSecureRequest = options.cert || port === SSL_PORT + + return isSecureRequest ? 'https:' : options.uri?.protocol || DEFAULT_PROTOCOL +} + +function getPortByRequestOptions( + options: ResolvedRequestOptions +): number | undefined { + // Use the explicitly provided port. + if (options.port) { + return Number(options.port) + } + + // Otherwise, try to resolve port from the agent. + const agent = getAgent(options) + + if ((agent as HttpsAgent)?.options.port) { + return Number((agent as HttpsAgent).options.port) + } + + if ((agent as RequestOptions)?.defaultPort) { + return Number((agent as RequestOptions).defaultPort) + } + + // Lastly, return undefined indicating that the port + // must inferred from the protocol. Do not infer it here. + return undefined +} + +interface RequestAuth { + username: string + password: string +} + +function getAuthByRequestOptions( + options: ResolvedRequestOptions +): RequestAuth | undefined { + if (options.auth) { + const [username, password] = options.auth.split(':') + return { username, password } + } +} + +/** + * Returns true if host looks like an IPv6 address without surrounding brackets + * It assumes any host containing `:` is definitely not IPv4 and probably IPv6, + * but note that this could include invalid IPv6 addresses as well. + */ +function isRawIPv6Address(host: string): boolean { + return host.includes(':') && !host.startsWith('[') && !host.endsWith(']') +} + +function getHostname(options: ResolvedRequestOptions): string | undefined { + let host = options.hostname || options.host + + if (host) { + if (isRawIPv6Address(host)) { + host = `[${host}]` + } + + // Check the presence of the port, and if it's present, + // remove it from the host, returning a hostname. + return new URL(`http://${host}`).hostname + } + + return DEFAULT_HOSTNAME +} + +/** + * Creates a `URL` instance from a given `RequestOptions` object. + */ +export function getUrlByRequestOptions(options: ResolvedRequestOptions): URL { + logger.info('request options', options) + + if (options.uri) { + logger.info( + 'constructing url from explicitly provided "options.uri": %s', + options.uri + ) + return new URL(options.uri.href) + } + + logger.info('figuring out url from request options...') + + const protocol = getProtocolByRequestOptions(options) + logger.info('protocol', protocol) + + const port = getPortByRequestOptions(options) + logger.info('port', port) + + const hostname = getHostname(options) + logger.info('hostname', hostname) + + const path = options.path || DEFAULT_PATH + logger.info('path', path) + + const credentials = getAuthByRequestOptions(options) + logger.info('credentials', credentials) + + const authString = credentials + ? `${credentials.username}:${credentials.password}@` + : '' + logger.info('auth string:', authString) + + const portString = typeof port !== 'undefined' ? `:${port}` : '' + const url = new URL(`${protocol}//${hostname}${portString}${path}`) + url.username = credentials?.username || '' + url.password = credentials?.password || '' + + logger.info('created url:', url) + + return url +} diff --git a/node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.test.ts b/node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.test.ts new file mode 100644 index 0000000000..9e2b21c8ce --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.test.ts @@ -0,0 +1,14 @@ +import { it, expect } from 'vitest' +import { getValueBySymbol } from './getValueBySymbol' + +it('returns undefined given a non-existing symbol', () => { + expect(getValueBySymbol('non-existing', {})).toBeUndefined() +}) + +it('returns value behind the given symbol', () => { + const symbol = Symbol('kInternal') + + expect(getValueBySymbol('kInternal', { [symbol]: null })).toBe(null) + expect(getValueBySymbol('kInternal', { [symbol]: true })).toBe(true) + expect(getValueBySymbol('kInternal', { [symbol]: 'value' })).toBe('value') +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.ts b/node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.ts new file mode 100644 index 0000000000..2c2e9541f4 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/getValueBySymbol.ts @@ -0,0 +1,19 @@ +/** + * Returns the value behind the symbol with the given name. + */ +export function getValueBySymbol( + symbolName: string, + source: object +): T | undefined { + const ownSymbols = Object.getOwnPropertySymbols(source) + + const symbol = ownSymbols.find((symbol) => { + return symbol.description === symbolName + }) + + if (symbol) { + return Reflect.get(source, symbol) + } + + return +} diff --git a/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts b/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts new file mode 100644 index 0000000000..546f62ab6c --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts @@ -0,0 +1,217 @@ +import type { Emitter } from 'strict-event-emitter' +import { DeferredPromise } from '@open-draft/deferred-promise' +import { until } from '@open-draft/until' +import type { HttpRequestEventMap } from '../glossary' +import { emitAsync } from './emitAsync' +import { kResponsePromise, RequestController } from '../RequestController' +import { + createServerErrorResponse, + isResponseError, + ResponseError, +} from './responseUtils' +import { InterceptorError } from '../InterceptorError' +import { isNodeLikeError } from './isNodeLikeError' + +interface HandleRequestOptions { + requestId: string + request: Request + emitter: Emitter + controller: RequestController + + /** + * Called when the request has been handled + * with the given `Response` instance. + */ + onResponse: (response: Response) => void | Promise + + /** + * Called when the request has been handled + * with the given `Response.error()` instance. + */ + onRequestError: (response: ResponseError) => void + + /** + * Called when an unhandled error happens during the + * request handling. This is never a thrown error/response. + */ + onError: (error: unknown) => void +} + +/** + * @returns {Promise} Indicates whether the request has been handled. + */ +export async function handleRequest( + options: HandleRequestOptions +): Promise { + const handleResponse = async (response: Response | Error) => { + if (response instanceof Error) { + options.onError(response) + } + + // Handle "Response.error()" instances. + else if (isResponseError(response)) { + options.onRequestError(response) + } else { + await options.onResponse(response) + } + + return true + } + + const handleResponseError = async (error: unknown): Promise => { + // Forward the special interceptor error instances + // to the developer. These must not be handled in any way. + if (error instanceof InterceptorError) { + throw result.error + } + + // Support mocking Node.js-like errors. + if (isNodeLikeError(error)) { + options.onError(error) + return true + } + + // Handle thrown responses. + if (error instanceof Response) { + return await handleResponse(error) + } + + return false + } + + // Add the last "request" listener to check if the request + // has been handled in any way. If it hasn't, resolve the + // response promise with undefined. + options.emitter.once('request', ({ requestId: pendingRequestId }) => { + if (pendingRequestId !== options.requestId) { + return + } + + if (options.controller[kResponsePromise].state === 'pending') { + options.controller[kResponsePromise].resolve(undefined) + } + }) + + const requestAbortPromise = new DeferredPromise() + + /** + * @note `signal` is not always defined in React Native. + */ + if (options.request.signal) { + if (options.request.signal.aborted) { + requestAbortPromise.reject(options.request.signal.reason) + } else { + options.request.signal.addEventListener( + 'abort', + () => { + requestAbortPromise.reject(options.request.signal.reason) + }, + { once: true } + ) + } + } + + const result = await until(async () => { + // Emit the "request" event and wait until all the listeners + // for that event are finished (e.g. async listeners awaited). + // By the end of this promise, the developer cannot affect the + // request anymore. + const requestListtenersPromise = emitAsync(options.emitter, 'request', { + requestId: options.requestId, + request: options.request, + controller: options.controller, + }) + + await Promise.race([ + // Short-circuit the request handling promise if the request gets aborted. + requestAbortPromise, + requestListtenersPromise, + options.controller[kResponsePromise], + ]) + + // The response promise will settle immediately once + // the developer calls either "respondWith" or "errorWith". + const mockedResponse = await options.controller[kResponsePromise] + return mockedResponse + }) + + // Handle the request being aborted while waiting for the request listeners. + if (requestAbortPromise.state === 'rejected') { + options.onError(requestAbortPromise.rejectionReason) + return true + } + + if (result.error) { + // Handle the error during the request listener execution. + // These can be thrown responses or request errors. + if (await handleResponseError(result.error)) { + return true + } + + // If the developer has added "unhandledException" listeners, + // allow them to handle the error. They can translate it to a + // mocked response, network error, or forward it as-is. + if (options.emitter.listenerCount('unhandledException') > 0) { + // Create a new request controller just for the unhandled exception case. + // This is needed because the original controller might have been already + // interacted with (e.g. "respondWith" or "errorWith" called on it). + const unhandledExceptionController = new RequestController( + options.request + ) + + await emitAsync(options.emitter, 'unhandledException', { + error: result.error, + request: options.request, + requestId: options.requestId, + controller: unhandledExceptionController, + }).then(() => { + // If all the "unhandledException" listeners have finished + // but have not handled the response in any way, preemptively + // resolve the pending response promise from the new controller. + // This prevents it from hanging forever. + if ( + unhandledExceptionController[kResponsePromise].state === 'pending' + ) { + unhandledExceptionController[kResponsePromise].resolve(undefined) + } + }) + + const nextResult = await until( + () => unhandledExceptionController[kResponsePromise] + ) + + /** + * @note Handle the result of the unhandled controller + * in the same way as the original request controller. + * The exception here is that thrown errors within the + * "unhandledException" event do NOT result in another + * emit of the same event. They are forwarded as-is. + */ + if (nextResult.error) { + return handleResponseError(nextResult.error) + } + + if (nextResult.data) { + return handleResponse(nextResult.data) + } + } + + // Otherwise, coerce unhandled exceptions to a 500 Internal Server Error response. + options.onResponse(createServerErrorResponse(result.error)) + return true + } + + /** + * Handle a mocked Response instance. + * @note That this can also be an Error in case + * the developer called "errorWith". This differentiates + * unhandled exceptions from intended errors. + */ + if (result.data) { + return handleResponse(result.data) + } + + // In all other cases, consider the request unhandled. + // The interceptor must perform it as-is. + return false +} diff --git a/node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.test.ts b/node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.test.ts new file mode 100644 index 0000000000..9bade24939 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.test.ts @@ -0,0 +1,83 @@ +import { vi, beforeAll, afterEach, afterAll, it, expect } from 'vitest' +import { hasConfigurableGlobal } from './hasConfigurableGlobal' + +beforeAll(() => { + vi.spyOn(console, 'error').mockImplementation(() => {}) +}) + +afterEach(() => { + vi.resetAllMocks() +}) + +afterAll(() => { + vi.restoreAllMocks() +}) + +it('returns true if the global property exists and is configurable', () => { + Object.defineProperty(global, '_existsAndConfigurable', { + value: 'something', + configurable: true, + }) + + expect(hasConfigurableGlobal('_existsAndConfigurable')).toBe(true) +}) + +it('returns false if the global property does not exist', () => { + expect(hasConfigurableGlobal('_non-existing')).toBe(false) +}) + +it('returns false for existing global with undefined as a value', () => { + Object.defineProperty(global, '_existsAndUndefined', { + value: undefined, + configurable: true, + }) + expect(hasConfigurableGlobal('_existsAndUndefined')).toBe(false) +}) + +it('returns false for existing global with null as a value', () => { + Object.defineProperty(global, '_existsAndNull', { + value: null, + configurable: true, + }) + expect(hasConfigurableGlobal('_existsAndNull')).toBe(false) +}) + +it('returns false for existing global with a getter that returns undefined', () => { + Object.defineProperty(global, '_existsGetterUndefined', { + get: () => undefined, + configurable: true, + }) + expect(hasConfigurableGlobal('_existsGetterUndefined')).toBe(false) +}) + +it('returns false and prints an error for implicitly non-configurable global property', () => { + Object.defineProperty(global, '_implicitlyNonConfigurable', { + value: 'something', + }) + + expect(hasConfigurableGlobal('_implicitlyNonConfigurable')).toBe(false) + expect(console.error).toHaveBeenCalledWith( + '[MSW] Failed to apply interceptor: the global `_implicitlyNonConfigurable` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.' + ) +}) + +it('returns false and prints an error for explicitly non-configurable global property', () => { + Object.defineProperty(global, '_explicitlyNonConfigurable', { + value: 'something', + configurable: false, + }) + + expect(hasConfigurableGlobal('_explicitlyNonConfigurable')).toBe(false) + expect(console.error).toHaveBeenCalledWith( + '[MSW] Failed to apply interceptor: the global `_explicitlyNonConfigurable` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.' + ) +}) + +it('returns false and prints an error for global property that only has a getter', () => { + Object.defineProperty(global, '_onlyGetter', { get: () => 'something' }) + + expect(hasConfigurableGlobal('_onlyGetter')).toBe(false) + expect(console.error).toHaveBeenCalledWith( + '[MSW] Failed to apply interceptor: the global `_onlyGetter` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.' + ) +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.ts b/node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.ts new file mode 100644 index 0000000000..c830453322 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/hasConfigurableGlobal.ts @@ -0,0 +1,34 @@ +/** + * Returns a boolean indicating whether the given global property + * is defined and is configurable. + */ +export function hasConfigurableGlobal(propertyName: string): boolean { + const descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName) + + // The property is not set at all. + if (typeof descriptor === 'undefined') { + return false + } + + // The property is set to a getter that returns undefined. + if ( + typeof descriptor.get === 'function' && + typeof descriptor.get() === 'undefined' + ) { + return false + } + + // The property is set to a value equal to undefined. + if (typeof descriptor.get === 'undefined' && descriptor.value == null) { + return false + } + + if (typeof descriptor.set === 'undefined' && !descriptor.configurable) { + console.error( + `[MSW] Failed to apply interceptor: the global \`${propertyName}\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.` + ) + return false + } + + return true +} diff --git a/node_modules/@mswjs/interceptors/src/utils/isNodeLikeError.ts b/node_modules/@mswjs/interceptors/src/utils/isNodeLikeError.ts new file mode 100644 index 0000000000..f74dea789c --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/isNodeLikeError.ts @@ -0,0 +1,13 @@ +export function isNodeLikeError( + error: unknown +): error is NodeJS.ErrnoException { + if (error == null) { + return false + } + + if (!(error instanceof Error)) { + return false + } + + return 'code' in error && 'errno' in error +} diff --git a/node_modules/@mswjs/interceptors/src/utils/isObject.test.ts b/node_modules/@mswjs/interceptors/src/utils/isObject.test.ts new file mode 100644 index 0000000000..ea4e99d60a --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/isObject.test.ts @@ -0,0 +1,21 @@ +import { it, expect } from 'vitest' +import { isObject } from './isObject' + +it('returns true given an object', () => { + expect(isObject({})).toBe(true) + expect(isObject({ a: 1 })).toBe(true) +}) + +it('returns false given an object-like instance', () => { + expect(isObject([1])).toBe(false) + expect(isObject(function () {})).toBe(false) + expect(isObject(new Response())).toBe(false) +}) + +it('returns false given a non-object instance', () => { + expect(isObject(null)).toBe(false) + expect(isObject(undefined)).toBe(false) + expect(isObject(false)).toBe(false) + expect(isObject(123)).toBe(false) + expect(isObject(Symbol('object Object'))).toBe(false) +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/isObject.ts b/node_modules/@mswjs/interceptors/src/utils/isObject.ts new file mode 100644 index 0000000000..096e12ea52 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/isObject.ts @@ -0,0 +1,8 @@ +/** + * Determines if a given value is an instance of object. + */ +export function isObject(value: any, loose = false): value is T { + return loose + ? Object.prototype.toString.call(value).startsWith('[object ') + : Object.prototype.toString.call(value) === '[object Object]' +} diff --git a/node_modules/@mswjs/interceptors/src/utils/isPropertyAccessible.ts b/node_modules/@mswjs/interceptors/src/utils/isPropertyAccessible.ts new file mode 100644 index 0000000000..4a80a75bc4 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/isPropertyAccessible.ts @@ -0,0 +1,19 @@ +/** + * A function that validates if property access is possible on an object + * without throwing. It returns `true` if the property access is possible + * and `false` otherwise. + * + * Environments like miniflare will throw on property access on certain objects + * like Request and Response, for unimplemented properties. + */ +export function isPropertyAccessible>( + obj: Obj, + key: keyof Obj +) { + try { + obj[key] + return true + } catch { + return false + } +} diff --git a/node_modules/@mswjs/interceptors/src/utils/nextTick.ts b/node_modules/@mswjs/interceptors/src/utils/nextTick.ts new file mode 100644 index 0000000000..a080ca1e1f --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/nextTick.ts @@ -0,0 +1,11 @@ +export function nextTick(callback: () => void) { + setTimeout(callback, 0) +} + +export function nextTickAsync(callback: () => void) { + return new Promise((resolve) => { + setTimeout(() => { + resolve(callback()) + }, 0) + }) +} diff --git a/node_modules/@mswjs/interceptors/src/utils/parseJson.test.ts b/node_modules/@mswjs/interceptors/src/utils/parseJson.test.ts new file mode 100644 index 0000000000..b021034816 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/parseJson.test.ts @@ -0,0 +1,10 @@ +import { it, expect } from 'vitest' +import { parseJson } from './parseJson' + +it('parses a given string into JSON', () => { + expect(parseJson('{"id":1}')).toEqual({ id: 1 }) +}) + +it('returns null given invalid JSON string', () => { + expect(parseJson('{"o:2\'')).toBeNull() +}) diff --git a/node_modules/@mswjs/interceptors/src/utils/parseJson.ts b/node_modules/@mswjs/interceptors/src/utils/parseJson.ts new file mode 100644 index 0000000000..af8d2e6da6 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/parseJson.ts @@ -0,0 +1,12 @@ +/** + * Parses a given string into JSON. + * Gracefully handles invalid JSON by returning `null`. + */ +export function parseJson(data: string): Record | null { + try { + const json = JSON.parse(data) + return json + } catch (_) { + return null + } +} diff --git a/node_modules/@mswjs/interceptors/src/utils/responseUtils.ts b/node_modules/@mswjs/interceptors/src/utils/responseUtils.ts new file mode 100644 index 0000000000..68cafbaf10 --- /dev/null +++ b/node_modules/@mswjs/interceptors/src/utils/responseUtils.ts @@ -0,0 +1,39 @@ +import { isPropertyAccessible } from './isPropertyAccessible' + +/** + * Creates a generic 500 Unhandled Exception response. + */ +export function createServerErrorResponse(body: unknown): Response { + return new Response( + JSON.stringify( + body instanceof Error + ? { + name: body.name, + message: body.message, + stack: body.stack, + } + : body + ), + { + status: 500, + statusText: 'Unhandled Exception', + headers: { + 'Content-Type': 'application/json', + }, + } + ) +} + +export type ResponseError = Response & { type: 'error' } + +/** + * Check if the given response is a `Response.error()`. + * + * @note Some environments, like Miniflare (Cloudflare) do not + * implement the "Response.type" property and throw on its access. + * Safely check if we can access "type" on "Response" before continuing. + * @see https://github.com/mswjs/msw/issues/1834 + */ +export function isResponseError(response: Response): response is ResponseError { + return isPropertyAccessible(response, 'type') && response.type === 'error' +} diff --git a/node_modules/@open-draft/deferred-promise/README.md b/node_modules/@open-draft/deferred-promise/README.md new file mode 100644 index 0000000000..e19d242ab6 --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/README.md @@ -0,0 +1,191 @@ +# Deferred Promise + +The `DeferredPromise` class is a Promise-compatible abstraction that defers resolving/rejecting promises to another closure. This class is primarily useful when one part of your system establishes as promise but another part of your system fulfills it. + +> This class is conceptually inspired by the [`createDeferredPromise()`](https://github.com/nodejs/node/blob/696fd4b14fc34cc2d01497a3abd9bb441b89be50/lib/internal/util.js#L468-L477) internal utility in Node.js. Unlike the Node.js implementation, however, `DeferredProimse` _extends_ a native `Promise`, allowing the consumer to handle deferred promises like regular promises (no `.promise` instance nesting). + +## Getting started + +```sh +npm install @open-draft/deferred-promise +``` + +## Documentation + +- [**`createDeferredExecutor()`**](#createdeferredexecutor) + - [`DeferredExecutor.state`](#deferredexecutorstate) + - [`DeferredExecutor.resolve()`](#deferredexecutorresolve) + - [`DeferredExecutor.reject()`](#deferredexecutorreject) + - [`DeferredExecutor.rejectionReason`](#deferredexecutorrejectionreason) +- [**Class: `DeferredPromise`**](#class-deferredpromise) + - [`new DeferredPromise()`](#new-defferedpromise) + - [`deferredPromise.state`](#deferredpromisestate) + - [`deferredPromise.resolve()`](#deferredpromiseresolve) + - [`deferredPromise.reject()`](#deferredpromisereject) + - [`deferredPromise.rejectionReason`](#deferredpromiserejectionreason) + +--- + +## `createDeferredExecutor()` + +Creates a Promise executor function that delegates its resolution to the current scope. + +```js +import { createDeferredExecutor } from '@open-draft/deferred-promise' + +const executor = createDeferredExecutor() +const promise = new Promise(executor) + +executor.resolve('hello') +// executor.reject(new Error('Reason')) +``` + +Deferred executor allows you to control any promise remotely and doesn't affect the Promise instance in any way. Similar to the [`DeferredPromise`](#class-deferredpromise) instance, the deferred executor exposes additional promise properties like `state`, `rejectionReason`, `resolve`, and `reject`. In fact, the `DeferredPromise` class is implemented on top of the deferred executor. + +```js +const executor = createDeferredExecutor() +const promise = new Promise(executor) + +executor.reject('reason') + +nextTick(() => { + console.log(executor.rejectionReason) // "reason" +}) +``` + +### `DeferredExecutor.state` + +- `<"pending" | "fulfilled" | "rejected">` **Default:** `"pending"` + +```js +const executor = createDeferredExecutor() +const promise = new Promise(executor) + +console.log(executor.state) // "pending" +``` + +Calling [`resolve()`](#deferredexecutorresolve) and [`reject()`](#deferredexecutorreject) methods of the executor transitions the state to "fulfilled" and "rejected" respectively. + +### `DeferredExecutor.resolve()` + +Resolves the promise with a given value. + +```js +const executor = createDeferredExecutor() +const promise = new Promise(executor) + +console.log(executor.state) // "pending" + +executor.resolve() + +// The promise state is still "pending" +// because promises are settled in the next microtask. +console.log(executor.state) // "pending" + +nextTick(() => { + // In the next microtask, the promise's state is resolved. + console.log(executor.state) // "fulfilled" +}) +``` + +### `DeferredExecutor.reject()` + +Rejects the promise with a given reason. + +```js +const executor = createDeferredExecutor() +const promise = new Promise(executor) + +executor.reject(new Error('Failed to fetch')) + +nextTick(() => { + console.log(executor.state) // "rejected" + console.log(executor.rejectionReason) // Error("Failed to fetch") +}) +``` + +You can access the rejection reason of the promise at any time by the [`rejectionReason`](#deferredexecutorrejectionreason) property of the deferred executor. + +### `DeferredExecutor.rejectionReason` + +Returns the reason of the promise rejection. If no reason has been provided to the `reject()` call, `undefined` is returned instead. + +```js +const executor = createDeferredExecutor() +const promise = new Promise(executor) + +promise.reject(new Error('Internal Server Error')) + +nextTick(() => { + console.log(promise.rejectionReason) // Error("Internal Server Error") +}) +``` + +--- + +## Class: `DeferredPromise` + +### `new DefferedPromise()` + +Creates a new instance of a deferred promise. + +```js +import { DeferredPromise } from '@open-draft/deferred-promise' + +const promise = new DeferredPromise() +``` + +A deferred promise is a Promise-compatible class that constructs a regular Promise instance under the hood, controlling it via the [deferred executor](#createdeferredexecutor). + +A deferred promise is fully compatible with the regular Promise, both type- and runtime-wise, e.g. a deferred promise can be chained and awaited normally. + +```js +const promise = new DefferredPromise() + .then((value) => value.toUpperCase()) + .then((value) => value.substring(0, 2)) + .catch((error) => console.error(error)) + +await promise +``` + +Unlike the regular Promise, however, a deferred promise doesn't accept the `executor` function as the constructor argument. Instead, the resolution of the deferred promise is deferred to the current scope (thus the name). + +```js +function getPort() { + // Notice that you don't provide any executor function + // when constructing a deferred promise. + const portPromise = new DeferredPromise() + + port.on('open', (port) => { + // Resolve the deferred promise whenever necessary. + portPromise.resolve(port) + }) + + // Return the deferred promise immediately. + return portPromise +} +``` + +Use the [`resolve()`](#deferredpromiseresolve) and [`reject()`](#deferredpromisereject) methods of the deferred promise instance to resolve and reject that promise respectively. + +### `deferredPromise.state` + +See [`DeferredExecutor.state`](#deferredexecutorstate) + +### `deferredPromise.resolve()` + +See [`DeferredExecutor.resolve()`](#deferredexecutorresolve) + +### `deferredPromise.reject()` + +See [`DeferredExecutor.reject()`](#deferredexecutorreject) + +### `deferredPromise.rejectionReason` + +See [`DeferredExecutor.rejectionReason`](#deferredexecutorrejectionreason) + +--- + +## Mentions + +- [Jonas Kuske](https://github.com/jonaskuske) for the phenomenal work around improving Promise-compliance. diff --git a/node_modules/@open-draft/deferred-promise/build/index.d.mts b/node_modules/@open-draft/deferred-promise/build/index.d.mts new file mode 100644 index 0000000000..f4206473c4 --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/build/index.d.mts @@ -0,0 +1,27 @@ +declare type PromiseState = 'pending' | 'fulfilled' | 'rejected'; +declare type Executor = ConstructorParameters>[0]; +declare type ResolveFunction = Parameters>[0]; +declare type RejectFunction = Parameters>[1]; +declare type DeferredPromiseExecutor = { + (resolve?: ResolveFunction, reject?: RejectFunction): void; + resolve: ResolveFunction; + reject: RejectFunction; + result?: Output; + state: PromiseState; + rejectionReason?: unknown; +}; +declare function createDeferredExecutor(): DeferredPromiseExecutor; + +declare class DeferredPromise extends Promise { + #private; + resolve: ResolveFunction; + reject: RejectFunction; + constructor(executor?: Executor | null); + get state(): PromiseState; + get rejectionReason(): unknown; + then(onFulfilled?: (value: Input) => ThenResult | PromiseLike, onRejected?: (reason: any) => CatchResult | PromiseLike): DeferredPromise; + catch(onRejected?: (reason: any) => CatchResult | PromiseLike): DeferredPromise; + finally(onfinally?: () => void | Promise): DeferredPromise; +} + +export { DeferredPromise, DeferredPromiseExecutor, Executor, PromiseState, RejectFunction, ResolveFunction, createDeferredExecutor }; diff --git a/node_modules/@open-draft/deferred-promise/build/index.d.ts b/node_modules/@open-draft/deferred-promise/build/index.d.ts new file mode 100644 index 0000000000..f4206473c4 --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/build/index.d.ts @@ -0,0 +1,27 @@ +declare type PromiseState = 'pending' | 'fulfilled' | 'rejected'; +declare type Executor = ConstructorParameters>[0]; +declare type ResolveFunction = Parameters>[0]; +declare type RejectFunction = Parameters>[1]; +declare type DeferredPromiseExecutor = { + (resolve?: ResolveFunction, reject?: RejectFunction): void; + resolve: ResolveFunction; + reject: RejectFunction; + result?: Output; + state: PromiseState; + rejectionReason?: unknown; +}; +declare function createDeferredExecutor(): DeferredPromiseExecutor; + +declare class DeferredPromise extends Promise { + #private; + resolve: ResolveFunction; + reject: RejectFunction; + constructor(executor?: Executor | null); + get state(): PromiseState; + get rejectionReason(): unknown; + then(onFulfilled?: (value: Input) => ThenResult | PromiseLike, onRejected?: (reason: any) => CatchResult | PromiseLike): DeferredPromise; + catch(onRejected?: (reason: any) => CatchResult | PromiseLike): DeferredPromise; + finally(onfinally?: () => void | Promise): DeferredPromise; +} + +export { DeferredPromise, DeferredPromiseExecutor, Executor, PromiseState, RejectFunction, ResolveFunction, createDeferredExecutor }; diff --git a/node_modules/@open-draft/deferred-promise/build/index.js b/node_modules/@open-draft/deferred-promise/build/index.js new file mode 100644 index 0000000000..8612d834cc --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/build/index.js @@ -0,0 +1,99 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + DeferredPromise: () => DeferredPromise, + createDeferredExecutor: () => createDeferredExecutor +}); +module.exports = __toCommonJS(src_exports); + +// src/createDeferredExecutor.ts +function createDeferredExecutor() { + const executor = (resolve, reject) => { + executor.state = "pending"; + executor.resolve = (data) => { + if (executor.state !== "pending") { + return; + } + executor.result = data; + const onFulfilled = (value) => { + executor.state = "fulfilled"; + return value; + }; + return resolve( + data instanceof Promise ? data : Promise.resolve(data).then(onFulfilled) + ); + }; + executor.reject = (reason) => { + if (executor.state !== "pending") { + return; + } + queueMicrotask(() => { + executor.state = "rejected"; + }); + return reject(executor.rejectionReason = reason); + }; + }; + return executor; +} + +// src/DeferredPromise.ts +var DeferredPromise = class extends Promise { + #executor; + resolve; + reject; + constructor(executor = null) { + const deferredExecutor = createDeferredExecutor(); + super((originalResolve, originalReject) => { + deferredExecutor(originalResolve, originalReject); + executor?.(deferredExecutor.resolve, deferredExecutor.reject); + }); + this.#executor = deferredExecutor; + this.resolve = this.#executor.resolve; + this.reject = this.#executor.reject; + } + get state() { + return this.#executor.state; + } + get rejectionReason() { + return this.#executor.rejectionReason; + } + then(onFulfilled, onRejected) { + return this.#decorate(super.then(onFulfilled, onRejected)); + } + catch(onRejected) { + return this.#decorate(super.catch(onRejected)); + } + finally(onfinally) { + return this.#decorate(super.finally(onfinally)); + } + #decorate(promise) { + return Object.defineProperties(promise, { + resolve: { configurable: true, value: this.resolve }, + reject: { configurable: true, value: this.reject } + }); + } +}; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + DeferredPromise, + createDeferredExecutor +}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@open-draft/deferred-promise/build/index.js.map b/node_modules/@open-draft/deferred-promise/build/index.js.map new file mode 100644 index 0000000000..55123c69bf --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/build/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts","../src/createDeferredExecutor.ts","../src/DeferredPromise.ts"],"sourcesContent":["export * from './createDeferredExecutor'\nexport * from './DeferredPromise'\n","export type PromiseState = 'pending' | 'fulfilled' | 'rejected'\n\nexport type Executor = ConstructorParameters>[0]\nexport type ResolveFunction = Parameters>[0]\nexport type RejectFunction = Parameters>[1]\n\nexport type DeferredPromiseExecutor = {\n (resolve?: ResolveFunction, reject?: RejectFunction): void\n\n resolve: ResolveFunction\n reject: RejectFunction\n result?: Output\n state: PromiseState\n rejectionReason?: unknown\n}\nexport function createDeferredExecutor<\n Input = never,\n Output = Input\n>(): DeferredPromiseExecutor {\n const executor = >((\n resolve,\n reject\n ) => {\n executor.state = 'pending'\n\n executor.resolve = (data) => {\n if (executor.state !== 'pending') {\n return\n }\n\n executor.result = data as Output\n\n const onFulfilled = (value: Value) => {\n executor.state = 'fulfilled'\n return value\n }\n\n return resolve(\n data instanceof Promise ? data : Promise.resolve(data).then(onFulfilled)\n )\n }\n\n executor.reject = (reason) => {\n if (executor.state !== 'pending') {\n return\n }\n\n queueMicrotask(() => {\n executor.state = 'rejected'\n })\n\n return reject((executor.rejectionReason = reason))\n }\n })\n\n return executor\n}\n","import {\n type Executor,\n type RejectFunction,\n type ResolveFunction,\n type DeferredPromiseExecutor,\n createDeferredExecutor,\n} from './createDeferredExecutor'\n\nexport class DeferredPromise extends Promise {\n #executor: DeferredPromiseExecutor\n\n public resolve: ResolveFunction\n public reject: RejectFunction\n\n constructor(executor: Executor | null = null) {\n const deferredExecutor = createDeferredExecutor()\n super((originalResolve, originalReject) => {\n deferredExecutor(originalResolve, originalReject)\n executor?.(deferredExecutor.resolve, deferredExecutor.reject)\n })\n\n this.#executor = deferredExecutor\n this.resolve = this.#executor.resolve\n this.reject = this.#executor.reject\n }\n\n public get state() {\n return this.#executor.state\n }\n\n public get rejectionReason() {\n return this.#executor.rejectionReason\n }\n\n public then(\n onFulfilled?: (value: Input) => ThenResult | PromiseLike,\n onRejected?: (reason: any) => CatchResult | PromiseLike\n ) {\n return this.#decorate(super.then(onFulfilled, onRejected))\n }\n\n public catch(\n onRejected?: (reason: any) => CatchResult | PromiseLike\n ) {\n return this.#decorate(super.catch(onRejected))\n }\n\n public finally(onfinally?: () => void | Promise) {\n return this.#decorate(super.finally(onfinally))\n }\n\n #decorate(\n promise: Promise\n ): DeferredPromise {\n return Object.defineProperties(promise, {\n resolve: { configurable: true, value: this.resolve },\n reject: { configurable: true, value: this.reject },\n }) as DeferredPromise\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACeO,SAAS,yBAG4B;AAC1C,QAAM,WAAoD,CACxD,SACA,WACG;AACH,aAAS,QAAQ;AAEjB,aAAS,UAAU,CAAC,SAAS;AAC3B,UAAI,SAAS,UAAU,WAAW;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SAAS,EAAE,cAAc,MAAM,OAAO,KAAK,QAAQ;AAAA,MACnD,QAAQ,EAAE,cAAc,MAAM,OAAO,KAAK,OAAO;AAAA,IACnD,CAAC;AAAA,EACH;AACF;","names":[]} \ No newline at end of file diff --git a/node_modules/@open-draft/deferred-promise/build/index.mjs b/node_modules/@open-draft/deferred-promise/build/index.mjs new file mode 100644 index 0000000000..a1a05c6cd2 --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/build/index.mjs @@ -0,0 +1,72 @@ +// src/createDeferredExecutor.ts +function createDeferredExecutor() { + const executor = (resolve, reject) => { + executor.state = "pending"; + executor.resolve = (data) => { + if (executor.state !== "pending") { + return; + } + executor.result = data; + const onFulfilled = (value) => { + executor.state = "fulfilled"; + return value; + }; + return resolve( + data instanceof Promise ? data : Promise.resolve(data).then(onFulfilled) + ); + }; + executor.reject = (reason) => { + if (executor.state !== "pending") { + return; + } + queueMicrotask(() => { + executor.state = "rejected"; + }); + return reject(executor.rejectionReason = reason); + }; + }; + return executor; +} + +// src/DeferredPromise.ts +var DeferredPromise = class extends Promise { + #executor; + resolve; + reject; + constructor(executor = null) { + const deferredExecutor = createDeferredExecutor(); + super((originalResolve, originalReject) => { + deferredExecutor(originalResolve, originalReject); + executor?.(deferredExecutor.resolve, deferredExecutor.reject); + }); + this.#executor = deferredExecutor; + this.resolve = this.#executor.resolve; + this.reject = this.#executor.reject; + } + get state() { + return this.#executor.state; + } + get rejectionReason() { + return this.#executor.rejectionReason; + } + then(onFulfilled, onRejected) { + return this.#decorate(super.then(onFulfilled, onRejected)); + } + catch(onRejected) { + return this.#decorate(super.catch(onRejected)); + } + finally(onfinally) { + return this.#decorate(super.finally(onfinally)); + } + #decorate(promise) { + return Object.defineProperties(promise, { + resolve: { configurable: true, value: this.resolve }, + reject: { configurable: true, value: this.reject } + }); + } +}; +export { + DeferredPromise, + createDeferredExecutor +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@open-draft/deferred-promise/build/index.mjs.map b/node_modules/@open-draft/deferred-promise/build/index.mjs.map new file mode 100644 index 0000000000..b2340f4a1f --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/build/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/createDeferredExecutor.ts","../src/DeferredPromise.ts"],"sourcesContent":["export type PromiseState = 'pending' | 'fulfilled' | 'rejected'\n\nexport type Executor = ConstructorParameters>[0]\nexport type ResolveFunction = Parameters>[0]\nexport type RejectFunction = Parameters>[1]\n\nexport type DeferredPromiseExecutor = {\n (resolve?: ResolveFunction, reject?: RejectFunction): void\n\n resolve: ResolveFunction\n reject: RejectFunction\n result?: Output\n state: PromiseState\n rejectionReason?: unknown\n}\nexport function createDeferredExecutor<\n Input = never,\n Output = Input\n>(): DeferredPromiseExecutor {\n const executor = >((\n resolve,\n reject\n ) => {\n executor.state = 'pending'\n\n executor.resolve = (data) => {\n if (executor.state !== 'pending') {\n return\n }\n\n executor.result = data as Output\n\n const onFulfilled = (value: Value) => {\n executor.state = 'fulfilled'\n return value\n }\n\n return resolve(\n data instanceof Promise ? data : Promise.resolve(data).then(onFulfilled)\n )\n }\n\n executor.reject = (reason) => {\n if (executor.state !== 'pending') {\n return\n }\n\n queueMicrotask(() => {\n executor.state = 'rejected'\n })\n\n return reject((executor.rejectionReason = reason))\n }\n })\n\n return executor\n}\n","import {\n type Executor,\n type RejectFunction,\n type ResolveFunction,\n type DeferredPromiseExecutor,\n createDeferredExecutor,\n} from './createDeferredExecutor'\n\nexport class DeferredPromise extends Promise {\n #executor: DeferredPromiseExecutor\n\n public resolve: ResolveFunction\n public reject: RejectFunction\n\n constructor(executor: Executor | null = null) {\n const deferredExecutor = createDeferredExecutor()\n super((originalResolve, originalReject) => {\n deferredExecutor(originalResolve, originalReject)\n executor?.(deferredExecutor.resolve, deferredExecutor.reject)\n })\n\n this.#executor = deferredExecutor\n this.resolve = this.#executor.resolve\n this.reject = this.#executor.reject\n }\n\n public get state() {\n return this.#executor.state\n }\n\n public get rejectionReason() {\n return this.#executor.rejectionReason\n }\n\n public then(\n onFulfilled?: (value: Input) => ThenResult | PromiseLike,\n onRejected?: (reason: any) => CatchResult | PromiseLike\n ) {\n return this.#decorate(super.then(onFulfilled, onRejected))\n }\n\n public catch(\n onRejected?: (reason: any) => CatchResult | PromiseLike\n ) {\n return this.#decorate(super.catch(onRejected))\n }\n\n public finally(onfinally?: () => void | Promise) {\n return this.#decorate(super.finally(onfinally))\n }\n\n #decorate(\n promise: Promise\n ): DeferredPromise {\n return Object.defineProperties(promise, {\n resolve: { configurable: true, value: this.resolve },\n reject: { configurable: true, value: this.reject },\n }) as DeferredPromise\n }\n}\n"],"mappings":";AAeO,SAAS,yBAG4B;AAC1C,QAAM,WAAoD,CACxD,SACA,WACG;AACH,aAAS,QAAQ;AAEjB,aAAS,UAAU,CAAC,SAAS;AAC3B,UAAI,SAAS,UAAU,WAAW;AAChC;AAAA,MACF;AAEA,eAAS,SAAS;AAElB,YAAM,cAAc,CAAQ,UAAiB;AAC3C,iBAAS,QAAQ;AACjB,eAAO;AAAA,MACT;AAEA,aAAO;AAAA,QACL,gBAAgB,UAAU,OAAO,QAAQ,QAAQ,IAAI,EAAE,KAAK,WAAW;AAAA,MACzE;AAAA,IACF;AAEA,aAAS,SAAS,CAAC,WAAW;AAC5B,UAAI,SAAS,UAAU,WAAW;AAChC;AAAA,MACF;AAEA,qBAAe,MAAM;AACnB,iBAAS,QAAQ;AAAA,MACnB,CAAC;AAED,aAAO,OAAQ,SAAS,kBAAkB,MAAO;AAAA,IACnD;AAAA,EACF;AAEA,SAAO;AACT;;;AChDO,IAAM,kBAAN,cAAqD,QAAe;AAAA,EACzE;AAAA,EAEO;AAAA,EACA;AAAA,EAEP,YAAY,WAAmC,MAAM;AACnD,UAAM,mBAAmB,uBAAuB;AAChD,UAAM,CAAC,iBAAiB,mBAAmB;AACzC,uBAAiB,iBAAiB,cAAc;AAChD,iBAAW,iBAAiB,SAAS,iBAAiB,MAAM;AAAA,IAC9D,CAAC;AAED,SAAK,YAAY;AACjB,SAAK,UAAU,KAAK,UAAU;AAC9B,SAAK,SAAS,KAAK,UAAU;AAAA,EAC/B;AAAA,EAEA,IAAW,QAAQ;AACjB,WAAO,KAAK,UAAU;AAAA,EACxB;AAAA,EAEA,IAAW,kBAAkB;AAC3B,WAAO,KAAK,UAAU;AAAA,EACxB;AAAA,EAEO,KACL,aACA,YACA;AACA,WAAO,KAAK,UAAU,MAAM,KAAK,aAAa,UAAU,CAAC;AAAA,EAC3D;AAAA,EAEO,MACL,YACA;AACA,WAAO,KAAK,UAAU,MAAM,MAAM,UAAU,CAAC;AAAA,EAC/C;AAAA,EAEO,QAAQ,WAAuC;AACpD,WAAO,KAAK,UAAU,MAAM,QAAQ,SAAS,CAAC;AAAA,EAChD;AAAA,EAEA,UACE,SACqC;AACrC,WAAO,OAAO,iBAAiB,SAAS;AAAA,MACtC,SAAS,EAAE,cAAc,MAAM,OAAO,KAAK,QAAQ;AAAA,MACnD,QAAQ,EAAE,cAAc,MAAM,OAAO,KAAK,OAAO;AAAA,IACnD,CAAC;AAAA,EACH;AACF;","names":[]} \ No newline at end of file diff --git a/node_modules/@open-draft/deferred-promise/package.json b/node_modules/@open-draft/deferred-promise/package.json new file mode 100644 index 0000000000..201c1c56cc --- /dev/null +++ b/node_modules/@open-draft/deferred-promise/package.json @@ -0,0 +1,49 @@ +{ + "name": "@open-draft/deferred-promise", + "version": "2.2.0", + "description": "A Promise-compatible abstraction that defers resolving/rejecting promises to another closure.", + "main": "./build/index.js", + "types": "./build/index.d.ts", + "module": "./build/index.mjs", + "exports": { + ".": { + "types": "./build/index.d.ts", + "require": "./build/index.js", + "default": "./build/index.mjs" + } + }, + "scripts": { + "test": "jest", + "test:compliance": "export NODE_OPTIONS=--loader=tsx || set NODE_OPTIONS=--loader=tsx&& npx -y promises-aplus-tests ./test/aplus-tests-adapter.ts", + "prebuild": "rimraf ./build", + "build": "tsup", + "release": "release publish" + }, + "files": [ + "./build" + ], + "keywords": [ + "promise", + "defer", + "deferred", + "resolve", + "reject", + "executor" + ], + "author": "Artem Zakharchenko", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/open-draft/deferred-promise" + }, + "devDependencies": { + "@ossjs/release": "^0.7.2", + "@types/jest": "^29.0.1", + "jest": "^29.0.3", + "rimraf": "^3.0.2", + "ts-jest": "^29.0.0", + "tsup": "^7.2.0", + "tsx": "^3.12.1", + "typescript": "^4.8.3" + } +} \ No newline at end of file diff --git a/node_modules/@open-draft/logger/LICENSE b/node_modules/@open-draft/logger/LICENSE new file mode 100644 index 0000000000..7868ade175 --- /dev/null +++ b/node_modules/@open-draft/logger/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2023—present Artem Zakharchenko + +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/@open-draft/logger/README.md b/node_modules/@open-draft/logger/README.md new file mode 100644 index 0000000000..2da7455957 --- /dev/null +++ b/node_modules/@open-draft/logger/README.md @@ -0,0 +1,225 @@ +# Logger + +Environment-agnostic, ESM-friendly logger for simple needs. + +## Why does this exist? + +I've been using `debug` for quite some time but wanted to migrate my projects to better ESM support. Alas, `debug` doesn't ship as ESM so I went and wrote this little logger just for my needs. You will likely see it printing useful data in Mock Service Worker and beyond. + +## Installation + +```sh +npm install @open-draft/logger +``` + +## Usage + +This package has the same API for both browser and Node.js and can run in those environments out of the box. + +```js +// app.js +import { Logger } from '@open-draft/logger' + +const logger = new Logger('parser') + +logger.info('starting parsing...') +logger.warning('found legacy document format') +logger.success('parsed 120 documents!') +``` + +Logging is disabled by default. To enable logging, provide the `DEBUG` environment variable: + +```sh +DEBUG=1 node ./app.js +``` + +> You can also use `true` instead of `1`. You can also use a specific logger's name to enable [logger filtering](#logger-filtering). + +## API + +- Class: `Logger` + - [`new Logger(name)`](#new-loggername) + - [`logger.debug(message, ...positionals)`](#loggerdebugmessage-positionals) + - [`logger.info(message, ...positionals)`](#loggerinfomessage-positionals) + - [`logger.success(message, ...positionals)`](#loggersuccessmessage-positionals) + - [`logger.warning(message, ...positionals)`](#loggerwarningmessage-positionals) + - [`logger.error(message, ...positionals)`](#loggererrormessage-positionals) + - [`logger.extend(name)`](#loggerextendprefix) + - [`logger.only(callback)`](#loggeronlycallback) + +### `new Logger(name)` + +- `name` `string` the name of the logger. + +Creates a new instance of the logger. Each message printed by the logger will be prefixed with the given `name`. You can have multiple loggers with different names for different areas of your system. + +```js +const logger = new Logger('parser') +``` + +> You can nest loggers via [`logger.extend()`](#loggerextendprefix). + +### `logger.debug(message, ...positionals)` + +- `message` `string` +- `positionals` `unknown[]` + +Prints a debug message. + +```js +logger.debug('no duplicates found, skipping...') +``` + +``` +12:34:56:789 [parser] no duplicates found, skipping... +``` + +### `logger.info(message, ...positionals)` + +- `message` `string` +- `positionals` `unknown[]` + +Prints an info message. + +```js +logger.info('new parse request') +``` + +``` +12:34:56:789 [parser] new parse request +``` + +### `logger.success(message, ...positionals)` + +- `message` `string` +- `positionals` `unknown[]` + +Prints a success message. + +```js +logger.success('prased 123 documents!') +``` + +``` +12:34:56:789 ✔ [parser] prased 123 documents! +``` + +### `logger.warning(message, ...positionals)` + +- `message` `string` +- `positionals` `unknown[]` + +Prints a warning. In Node.js, prints it to `process.stderr`. + +```js +logger.warning('found legacy document format') +``` + +``` +12:34:56:789 ⚠ [parser] found legacy document format +``` + +### `logger.error(message, ...positionals)` + +- `message` `string` +- `positionals` `unknown[]` + +Prints an error. In Node.js, prints it to `process.stderr`. + +```js +logger.error('failed to parse document') +``` + +``` +12:34:56:789 ✖ [parser] failed to parse document +``` + +### `logger.extend(prefix)` + +- `prefix` `string` Additional prefix to append to the logger's name. + +Creates a new logger out of the current one. + +```js +const logger = new Logger('parser') + +function parseRequest(request) { + const requestLogger = logger.extend(`${request.method} ${request.url}`) + requestLogger.info('start parsing...') +} +``` + +``` +12:34:56:789 [parser] [GET https://example.com] start parsing... +``` + +### `logger.only(callback)` + +Executes a given callback only when the logging is activated. Useful for computing additional information for logs. + +```js +logger.only(() => { + const documentSize = getSizeBytes(document) + logger.debug(`document size: ${documentSize}`) +}) +``` + +> You can nest `logger.*` methods in the callback to `logger.only()`. + +## Log levels + +You can specify the log levels to print using the `LOG_LEVEL` environment variable. + +There are the following log levels: + +- `debug` +- `info` +- `success` +- `warning` +- `error` + +> Providing no log level will print all the messages. + +Here's an example of how to print only warnings: + +```js +// app.js +import { Logger } from '@open-draft/logger' + +const logger = new Logger('parser') + +logger.info('some info') +logger.warning('some warning') +logger.error('some error') +``` + +```js +LOG_LEVEL=warning node ./app.js +``` + +``` +12:34:56:789 ⚠ [parser] some warning +``` + +## Logger filtering + +You can only print a specific logger by providing its name as the `DEBUG` environment variable. + +```js +// app.js +import { Logger } from '@open-draft/logger' + +const appLogger = new Logger('app') +const parserLogger = new Logger('parser') + +appLogger.info('starting app...') +parserLogger.info('creating a new parser...') +``` + +```sh +DEBUG=app node ./app.js +``` + +``` +12:34:56:789 [app] starting app... +``` diff --git a/node_modules/@open-draft/logger/lib/index.d.ts b/node_modules/@open-draft/logger/lib/index.d.ts new file mode 100644 index 0000000000..547acfcd0c --- /dev/null +++ b/node_modules/@open-draft/logger/lib/index.d.ts @@ -0,0 +1,83 @@ +type ColorFunction = (text: string) => void; +declare function yellow(text: string): string; +declare function blue(text: string): string; +declare function gray(text: string): string; +declare function red(text: string): string; +declare function green(text: string): string; + +type colors_ColorFunction = ColorFunction; +declare const colors_blue: typeof blue; +declare const colors_gray: typeof gray; +declare const colors_green: typeof green; +declare const colors_red: typeof red; +declare const colors_yellow: typeof yellow; +declare namespace colors { + export { + colors_ColorFunction as ColorFunction, + colors_blue as blue, + colors_gray as gray, + colors_green as green, + colors_red as red, + colors_yellow as yellow, + }; +} + +type LogLevel = 'debug' | 'info' | 'success' | 'warning' | 'error'; +type LogColors = keyof typeof colors; +interface LogEntry { + timestamp: Date; + level: LogLevel; + message: any; +} +declare class Logger { + private readonly name; + private prefix; + constructor(name: string); + extend(domain: string): Logger; + /** + * Print a debug message. + * @example + * logger.debug('no duplicates found, creating a document...') + */ + debug(message: any, ...positionals: Array): void; + /** + * Print an info message. + * @example + * logger.info('start parsing...') + */ + info(message: any, ...positionals: Array): (message: any, ...positionals: Array) => void; + /** + * Print a success message. + * @example + * logger.success('successfully created document') + */ + success(message: any, ...positionals: Array): void; + /** + * Print a warning. + * @example + * logger.warning('found legacy document format') + */ + warning(message: any, ...positionals: Array): void; + /** + * Print an error message. + * @example + * logger.error('something went wrong') + */ + error(message: any, ...positionals: Array): void; + /** + * Execute the given callback only when the logging is enabled. + * This is skipped in its entirety and has no runtime cost otherwise. + * This executes regardless of the log level. + * @example + * logger.only(() => { + * logger.info('additional info') + * }) + */ + only(callback: () => void): void; + private createEntry; + private logEntry; + private formatTimestamp; + private getWriter; +} + +export { LogColors, LogEntry, LogLevel, Logger }; diff --git a/node_modules/@open-draft/logger/lib/index.js b/node_modules/@open-draft/logger/lib/index.js new file mode 100644 index 0000000000..ac101aec65 --- /dev/null +++ b/node_modules/@open-draft/logger/lib/index.js @@ -0,0 +1,295 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + Logger: () => Logger +}); +module.exports = __toCommonJS(src_exports); +var import_is_node_process = require("is-node-process"); +var import_outvariant = require("outvariant"); + +// src/colors.ts +var colors_exports = {}; +__export(colors_exports, { + blue: () => blue, + gray: () => gray, + green: () => green, + red: () => red, + yellow: () => yellow +}); +function yellow(text) { + return `\x1B[33m${text}\x1B[0m`; +} +function blue(text) { + return `\x1B[34m${text}\x1B[0m`; +} +function gray(text) { + return `\x1B[90m${text}\x1B[0m`; +} +function red(text) { + return `\x1B[31m${text}\x1B[0m`; +} +function green(text) { + return `\x1B[32m${text}\x1B[0m`; +} + +// src/index.ts +var IS_NODE = (0, import_is_node_process.isNodeProcess)(); +var Logger = class { + constructor(name) { + this.name = name; + this.prefix = `[${this.name}]`; + const LOGGER_NAME = getVariable("DEBUG"); + const LOGGER_LEVEL = getVariable("LOG_LEVEL"); + const isLoggingEnabled = LOGGER_NAME === "1" || LOGGER_NAME === "true" || typeof LOGGER_NAME !== "undefined" && this.name.startsWith(LOGGER_NAME); + if (isLoggingEnabled) { + this.debug = isDefinedAndNotEquals(LOGGER_LEVEL, "debug") ? noop : this.debug; + this.info = isDefinedAndNotEquals(LOGGER_LEVEL, "info") ? noop : this.info; + this.success = isDefinedAndNotEquals(LOGGER_LEVEL, "success") ? noop : this.success; + this.warning = isDefinedAndNotEquals(LOGGER_LEVEL, "warning") ? noop : this.warning; + this.error = isDefinedAndNotEquals(LOGGER_LEVEL, "error") ? noop : this.error; + } else { + this.info = noop; + this.success = noop; + this.warning = noop; + this.error = noop; + this.only = noop; + } + } + prefix; + extend(domain) { + return new Logger(`${this.name}:${domain}`); + } + /** + * Print a debug message. + * @example + * logger.debug('no duplicates found, creating a document...') + */ + debug(message, ...positionals) { + this.logEntry({ + level: "debug", + message: gray(message), + positionals, + prefix: this.prefix, + colors: { + prefix: "gray" + } + }); + } + /** + * Print an info message. + * @example + * logger.info('start parsing...') + */ + info(message, ...positionals) { + this.logEntry({ + level: "info", + message, + positionals, + prefix: this.prefix, + colors: { + prefix: "blue" + } + }); + const performance2 = new PerformanceEntry(); + return (message2, ...positionals2) => { + performance2.measure(); + this.logEntry({ + level: "info", + message: `${message2} ${gray(`${performance2.deltaTime}ms`)}`, + positionals: positionals2, + prefix: this.prefix, + colors: { + prefix: "blue" + } + }); + }; + } + /** + * Print a success message. + * @example + * logger.success('successfully created document') + */ + success(message, ...positionals) { + this.logEntry({ + level: "info", + message, + positionals, + prefix: `\u2714 ${this.prefix}`, + colors: { + timestamp: "green", + prefix: "green" + } + }); + } + /** + * Print a warning. + * @example + * logger.warning('found legacy document format') + */ + warning(message, ...positionals) { + this.logEntry({ + level: "warning", + message, + positionals, + prefix: `\u26A0 ${this.prefix}`, + colors: { + timestamp: "yellow", + prefix: "yellow" + } + }); + } + /** + * Print an error message. + * @example + * logger.error('something went wrong') + */ + error(message, ...positionals) { + this.logEntry({ + level: "error", + message, + positionals, + prefix: `\u2716 ${this.prefix}`, + colors: { + timestamp: "red", + prefix: "red" + } + }); + } + /** + * Execute the given callback only when the logging is enabled. + * This is skipped in its entirety and has no runtime cost otherwise. + * This executes regardless of the log level. + * @example + * logger.only(() => { + * logger.info('additional info') + * }) + */ + only(callback) { + callback(); + } + createEntry(level, message) { + return { + timestamp: /* @__PURE__ */ new Date(), + level, + message + }; + } + logEntry(args) { + const { + level, + message, + prefix, + colors: customColors, + positionals = [] + } = args; + const entry = this.createEntry(level, message); + const timestampColor = customColors?.timestamp || "gray"; + const prefixColor = customColors?.prefix || "gray"; + const colorize = { + timestamp: colors_exports[timestampColor], + prefix: colors_exports[prefixColor] + }; + const write = this.getWriter(level); + write( + [colorize.timestamp(this.formatTimestamp(entry.timestamp))].concat(prefix != null ? colorize.prefix(prefix) : []).concat(serializeInput(message)).join(" "), + ...positionals.map(serializeInput) + ); + } + formatTimestamp(timestamp) { + return `${timestamp.toLocaleTimeString( + "en-GB" + )}:${timestamp.getMilliseconds()}`; + } + getWriter(level) { + switch (level) { + case "debug": + case "success": + case "info": { + return log; + } + case "warning": { + return warn; + } + case "error": { + return error; + } + } + } +}; +var PerformanceEntry = class { + startTime; + endTime; + deltaTime; + constructor() { + this.startTime = performance.now(); + } + measure() { + this.endTime = performance.now(); + const deltaTime = this.endTime - this.startTime; + this.deltaTime = deltaTime.toFixed(2); + } +}; +var noop = () => void 0; +function log(message, ...positionals) { + if (IS_NODE) { + process.stdout.write((0, import_outvariant.format)(message, ...positionals) + "\n"); + return; + } + console.log(message, ...positionals); +} +function warn(message, ...positionals) { + if (IS_NODE) { + process.stderr.write((0, import_outvariant.format)(message, ...positionals) + "\n"); + return; + } + console.warn(message, ...positionals); +} +function error(message, ...positionals) { + if (IS_NODE) { + process.stderr.write((0, import_outvariant.format)(message, ...positionals) + "\n"); + return; + } + console.error(message, ...positionals); +} +function getVariable(variableName) { + if (IS_NODE) { + return process.env[variableName]; + } + return globalThis[variableName]?.toString(); +} +function isDefinedAndNotEquals(value, expected) { + return value !== void 0 && value !== expected; +} +function serializeInput(message) { + if (typeof message === "undefined") { + return "undefined"; + } + if (message === null) { + return "null"; + } + if (typeof message === "string") { + return message; + } + if (typeof message === "object") { + return JSON.stringify(message); + } + return message.toString(); +} diff --git a/node_modules/@open-draft/logger/lib/index.mjs b/node_modules/@open-draft/logger/lib/index.mjs new file mode 100644 index 0000000000..ffb0b88b7a --- /dev/null +++ b/node_modules/@open-draft/logger/lib/index.mjs @@ -0,0 +1,281 @@ +var __defProp = Object.defineProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; + +// src/index.ts +import { isNodeProcess } from "is-node-process"; +import { format } from "outvariant"; + +// src/colors.ts +var colors_exports = {}; +__export(colors_exports, { + blue: () => blue, + gray: () => gray, + green: () => green, + red: () => red, + yellow: () => yellow +}); +function yellow(text) { + return `\x1B[33m${text}\x1B[0m`; +} +function blue(text) { + return `\x1B[34m${text}\x1B[0m`; +} +function gray(text) { + return `\x1B[90m${text}\x1B[0m`; +} +function red(text) { + return `\x1B[31m${text}\x1B[0m`; +} +function green(text) { + return `\x1B[32m${text}\x1B[0m`; +} + +// src/index.ts +var IS_NODE = isNodeProcess(); +var Logger = class { + constructor(name) { + this.name = name; + this.prefix = `[${this.name}]`; + const LOGGER_NAME = getVariable("DEBUG"); + const LOGGER_LEVEL = getVariable("LOG_LEVEL"); + const isLoggingEnabled = LOGGER_NAME === "1" || LOGGER_NAME === "true" || typeof LOGGER_NAME !== "undefined" && this.name.startsWith(LOGGER_NAME); + if (isLoggingEnabled) { + this.debug = isDefinedAndNotEquals(LOGGER_LEVEL, "debug") ? noop : this.debug; + this.info = isDefinedAndNotEquals(LOGGER_LEVEL, "info") ? noop : this.info; + this.success = isDefinedAndNotEquals(LOGGER_LEVEL, "success") ? noop : this.success; + this.warning = isDefinedAndNotEquals(LOGGER_LEVEL, "warning") ? noop : this.warning; + this.error = isDefinedAndNotEquals(LOGGER_LEVEL, "error") ? noop : this.error; + } else { + this.info = noop; + this.success = noop; + this.warning = noop; + this.error = noop; + this.only = noop; + } + } + prefix; + extend(domain) { + return new Logger(`${this.name}:${domain}`); + } + /** + * Print a debug message. + * @example + * logger.debug('no duplicates found, creating a document...') + */ + debug(message, ...positionals) { + this.logEntry({ + level: "debug", + message: gray(message), + positionals, + prefix: this.prefix, + colors: { + prefix: "gray" + } + }); + } + /** + * Print an info message. + * @example + * logger.info('start parsing...') + */ + info(message, ...positionals) { + this.logEntry({ + level: "info", + message, + positionals, + prefix: this.prefix, + colors: { + prefix: "blue" + } + }); + const performance2 = new PerformanceEntry(); + return (message2, ...positionals2) => { + performance2.measure(); + this.logEntry({ + level: "info", + message: `${message2} ${gray(`${performance2.deltaTime}ms`)}`, + positionals: positionals2, + prefix: this.prefix, + colors: { + prefix: "blue" + } + }); + }; + } + /** + * Print a success message. + * @example + * logger.success('successfully created document') + */ + success(message, ...positionals) { + this.logEntry({ + level: "info", + message, + positionals, + prefix: `\u2714 ${this.prefix}`, + colors: { + timestamp: "green", + prefix: "green" + } + }); + } + /** + * Print a warning. + * @example + * logger.warning('found legacy document format') + */ + warning(message, ...positionals) { + this.logEntry({ + level: "warning", + message, + positionals, + prefix: `\u26A0 ${this.prefix}`, + colors: { + timestamp: "yellow", + prefix: "yellow" + } + }); + } + /** + * Print an error message. + * @example + * logger.error('something went wrong') + */ + error(message, ...positionals) { + this.logEntry({ + level: "error", + message, + positionals, + prefix: `\u2716 ${this.prefix}`, + colors: { + timestamp: "red", + prefix: "red" + } + }); + } + /** + * Execute the given callback only when the logging is enabled. + * This is skipped in its entirety and has no runtime cost otherwise. + * This executes regardless of the log level. + * @example + * logger.only(() => { + * logger.info('additional info') + * }) + */ + only(callback) { + callback(); + } + createEntry(level, message) { + return { + timestamp: /* @__PURE__ */ new Date(), + level, + message + }; + } + logEntry(args) { + const { + level, + message, + prefix, + colors: customColors, + positionals = [] + } = args; + const entry = this.createEntry(level, message); + const timestampColor = customColors?.timestamp || "gray"; + const prefixColor = customColors?.prefix || "gray"; + const colorize = { + timestamp: colors_exports[timestampColor], + prefix: colors_exports[prefixColor] + }; + const write = this.getWriter(level); + write( + [colorize.timestamp(this.formatTimestamp(entry.timestamp))].concat(prefix != null ? colorize.prefix(prefix) : []).concat(serializeInput(message)).join(" "), + ...positionals.map(serializeInput) + ); + } + formatTimestamp(timestamp) { + return `${timestamp.toLocaleTimeString( + "en-GB" + )}:${timestamp.getMilliseconds()}`; + } + getWriter(level) { + switch (level) { + case "debug": + case "success": + case "info": { + return log; + } + case "warning": { + return warn; + } + case "error": { + return error; + } + } + } +}; +var PerformanceEntry = class { + startTime; + endTime; + deltaTime; + constructor() { + this.startTime = performance.now(); + } + measure() { + this.endTime = performance.now(); + const deltaTime = this.endTime - this.startTime; + this.deltaTime = deltaTime.toFixed(2); + } +}; +var noop = () => void 0; +function log(message, ...positionals) { + if (IS_NODE) { + process.stdout.write(format(message, ...positionals) + "\n"); + return; + } + console.log(message, ...positionals); +} +function warn(message, ...positionals) { + if (IS_NODE) { + process.stderr.write(format(message, ...positionals) + "\n"); + return; + } + console.warn(message, ...positionals); +} +function error(message, ...positionals) { + if (IS_NODE) { + process.stderr.write(format(message, ...positionals) + "\n"); + return; + } + console.error(message, ...positionals); +} +function getVariable(variableName) { + if (IS_NODE) { + return process.env[variableName]; + } + return globalThis[variableName]?.toString(); +} +function isDefinedAndNotEquals(value, expected) { + return value !== void 0 && value !== expected; +} +function serializeInput(message) { + if (typeof message === "undefined") { + return "undefined"; + } + if (message === null) { + return "null"; + } + if (typeof message === "string") { + return message; + } + if (typeof message === "object") { + return JSON.stringify(message); + } + return message.toString(); +} +export { + Logger +}; diff --git a/node_modules/@open-draft/logger/package.json b/node_modules/@open-draft/logger/package.json new file mode 100644 index 0000000000..796aafc8d7 --- /dev/null +++ b/node_modules/@open-draft/logger/package.json @@ -0,0 +1,56 @@ +{ + "name": "@open-draft/logger", + "version": "0.3.0", + "description": "Environment-agnostic, ESM-friendly logger for simple needs.", + "main": "./lib/index.js", + "module": "./lib/index.mjs", + "types": "./lib/index.d.ts", + "exports": { + ".": { + "types": "./lib/index.d.ts", + "require": "./lib/index.js", + "import": "./lib/index.mjs", + "default": "./lib/index.js" + }, + "./package.json": "./package.json" + }, + "keywords": [ + "log", + "logger", + "logging", + "universal", + "tiny" + ], + "files": [ + "lib", + "LICENSE", + "README.md" + ], + "author": "Artem Zakharchenko", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/open-draft/logger" + }, + "devDependencies": { + "@ossjs/release": "^0.5.1", + "@playwright/test": "^1.32.3", + "@types/node": "^18.15.11", + "playwright": "^1.32.3", + "tsup": "^6.7.0", + "typescript": "^5.0.3", + "vitest": "^0.29.8", + "webpack-http-server": "^0.5.0" + }, + "dependencies": { + "is-node-process": "^1.2.0", + "outvariant": "^1.4.0" + }, + "scripts": { + "build": "tsup", + "test": "pnpm test:node && pnpm test:browser", + "test:node": "vitest run", + "test:browser": "playwright test", + "release": "release publish" + } +} \ No newline at end of file diff --git a/node_modules/@open-draft/until/LICENSE b/node_modules/@open-draft/until/LICENSE new file mode 100644 index 0000000000..8a1c628e51 --- /dev/null +++ b/node_modules/@open-draft/until/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Artem Zakharchenko + +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/@open-draft/until/README.md b/node_modules/@open-draft/until/README.md new file mode 100644 index 0000000000..be49a5049f --- /dev/null +++ b/node_modules/@open-draft/until/README.md @@ -0,0 +1,150 @@ +[![Latest release](https://img.shields.io/npm/v/@open-draft/until.svg)](https://www.npmjs.com/package/@open-draft/until) + +# `until` + +Gracefully handle a Promise using `async`/`await`. + +## Why? + +With the addition of `async`/`await` keywords in ECMAScript 2017 the handling of Promises became much easier. However, one must keep in mind that the `await` keyword provides no standard error handling API. Consider this usage: + +```js +function getUser(id) { + const data = await fetchUser(id) + // Work with "data"... +} +``` + +In case `fetchUser()` throws an error, the entire `getUser()` function's scope will terminate. Because of this, it's recommended to implement error handling using `try`/`catch` block wrapping `await` expressions: + +```js +function getUser(id) + let data = null + + try { + data = await asyncAction() + } catch (error) { + console.error(error) + } + + // Work with "data"... +} +``` + +While this is a semantically valid approach, constructing `try`/`catch` around each awaited operation may be tedious and get overlooked at times. Such error handling also introduces separate closures for execution and error scenarios of an asynchronous operation. + +This library encapsulates the `try`/`catch` error handling in a utility function that does not create a separate closure and exposes a NodeJS-friendly API to work with errors and resolved data. + +## Getting started + +### Install + +```bash +npm install @open-draft/until +``` + +### Usage + +```js +import { until } from '@open-draft/until' + +async function(id) { + const { error, data } = await until(() => fetchUser(id)) + + if (error) { + return handleError(error) + } + + return data +} +``` + +### Usage with TypeScript + +```ts +import { until } from '@open-draft/until' + +interface User { + firstName: string + age: number +} + +interface UserFetchError { + type: 'FORBIDDEN' | 'NOT_FOUND' + message?: string +} + +async function(id: string) { + const { error, data } = await until(() => fetchUser(id)) + + if (error) { + handleError(error.type, error.message) + } + + return data.firstName +} +``` + +## Frequently asked questions + +### Why does `until` accept a function and not a `Promise` directly? + +This has been intentionally introduced to await a single logical unit as opposed to a single `Promise`. + +```js +// Notice how a single "until" invocation can handle +// a rather complex piece of logic. This way any rejections +// or exceptions happening within the given function +// can be handled via the same "error". +const { error, data } = until(async () => { + const user = await fetchUser() + const nextUser = normalizeUser(user) + const transaction = await saveModel('user', user) + + invariant(transaction.status === 'OK', 'Saving user failed') + + return transaction.result +}) + +if (error) { + // Handle any exceptions happened within the function. +} +``` + +### Why does `until` return an object and not an array? + +The `until` function used to return an array of shape `[error, data]` prior to `2.0.0`. That has been changed, however, to get proper type-safety using discriminated union type. + +Compare these two examples: + +```ts +const [error, data] = await until(() => action()) + +if (error) { + return null +} + +// Data still has ambiguous "DataType | null" type here +// even after you've checked and handled the "error" above. +console.log(data) +``` + +```ts +const result = await until(() => action()) + +// At this point, "data" is ambiguous "DataType | null" +// which is correct, as you haven't checked nor handled the "error". + +if (result.error) { + return null +} + +// Data is strict "DataType" since you've handled the "error" above. +console.log(result.data) +``` + +> It's crucial to keep the entire result of the `Promise` in a single variable and not destructure it. TypeScript will always keep the type of `error` and `data` as it was upon destructuring, ignoring any type guards you may perform later on. + +## Special thanks + +- [giuseppegurgone](https://twitter.com/giuseppegurgone) for the discussion about the original `until` API. diff --git a/node_modules/@open-draft/until/lib/index.d.ts b/node_modules/@open-draft/until/lib/index.d.ts new file mode 100644 index 0000000000..19544f40af --- /dev/null +++ b/node_modules/@open-draft/until/lib/index.d.ts @@ -0,0 +1,15 @@ +type AsyncTuple = { + error: ErrorType; + data: null; +} | { + error: null; + data: DataType; +}; +/** + * Gracefully handles a given Promise factory. + * @example + * const { error, data } = await until(() => asyncAction()) + */ +declare const until: (promise: () => Promise) => Promise>; + +export { until }; diff --git a/node_modules/@open-draft/until/lib/index.js b/node_modules/@open-draft/until/lib/index.js new file mode 100644 index 0000000000..3944d95acf --- /dev/null +++ b/node_modules/@open-draft/until/lib/index.js @@ -0,0 +1,41 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + until: () => until +}); +module.exports = __toCommonJS(src_exports); + +// src/until.ts +var until = async (promise) => { + try { + const data = await promise().catch((error) => { + throw error; + }); + return { error: null, data }; + } catch (error) { + return { error, data: null }; + } +}; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + until +}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@open-draft/until/lib/index.js.map b/node_modules/@open-draft/until/lib/index.js.map new file mode 100644 index 0000000000..71429109f0 --- /dev/null +++ b/node_modules/@open-draft/until/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts","../src/until.ts"],"sourcesContent":["export { until } from './until'","export type AsyncTuple<\n ErrorType extends any = Error,\n DataType extends any = unknown,\n> =\n | {\n error: ErrorType\n data: null\n }\n | { error: null; data: DataType }\n\n/**\n * Gracefully handles a given Promise factory.\n * @example\n * const { error, data } = await until(() => asyncAction())\n */\nexport const until = async <\n ErrorType extends any = Error,\n DataType extends any = unknown,\n>(\n promise: () => Promise,\n): Promise> => {\n try {\n const data = await promise().catch((error) => {\n throw error\n })\n return { error: null, data }\n } catch (error) {\n return { error, data: null }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACeO,IAAM,QAAQ,OAInB,YAC6C;AAC7C,MAAI;AACF,UAAM,OAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,UAAU;AAC5C,YAAM;AAAA,IACR,CAAC;AACD,WAAO,EAAE,OAAO,MAAM,KAAK;AAAA,EAC7B,SAAS,OAAP;AACA,WAAO,EAAE,OAAO,MAAM,KAAK;AAAA,EAC7B;AACF;","names":[]} \ No newline at end of file diff --git a/node_modules/@open-draft/until/lib/index.mjs b/node_modules/@open-draft/until/lib/index.mjs new file mode 100644 index 0000000000..12be84c8d1 --- /dev/null +++ b/node_modules/@open-draft/until/lib/index.mjs @@ -0,0 +1,15 @@ +// src/until.ts +var until = async (promise) => { + try { + const data = await promise().catch((error) => { + throw error; + }); + return { error: null, data }; + } catch (error) { + return { error, data: null }; + } +}; +export { + until +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@open-draft/until/lib/index.mjs.map b/node_modules/@open-draft/until/lib/index.mjs.map new file mode 100644 index 0000000000..6c246974fc --- /dev/null +++ b/node_modules/@open-draft/until/lib/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/until.ts"],"sourcesContent":["export type AsyncTuple<\n ErrorType extends any = Error,\n DataType extends any = unknown,\n> =\n | {\n error: ErrorType\n data: null\n }\n | { error: null; data: DataType }\n\n/**\n * Gracefully handles a given Promise factory.\n * @example\n * const { error, data } = await until(() => asyncAction())\n */\nexport const until = async <\n ErrorType extends any = Error,\n DataType extends any = unknown,\n>(\n promise: () => Promise,\n): Promise> => {\n try {\n const data = await promise().catch((error) => {\n throw error\n })\n return { error: null, data }\n } catch (error) {\n return { error, data: null }\n }\n}\n"],"mappings":";AAeO,IAAM,QAAQ,OAInB,YAC6C;AAC7C,MAAI;AACF,UAAM,OAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,UAAU;AAC5C,YAAM;AAAA,IACR,CAAC;AACD,WAAO,EAAE,OAAO,MAAM,KAAK;AAAA,EAC7B,SAAS,OAAP;AACA,WAAO,EAAE,OAAO,MAAM,KAAK;AAAA,EAC7B;AACF;","names":[]} \ No newline at end of file diff --git a/node_modules/@open-draft/until/package.json b/node_modules/@open-draft/until/package.json new file mode 100644 index 0000000000..a640d6031c --- /dev/null +++ b/node_modules/@open-draft/until/package.json @@ -0,0 +1,37 @@ +{ + "name": "@open-draft/until", + "version": "2.1.0", + "description": "Gracefully handle a Promise using async/await.", + "main": "./lib/index.js", + "module": "./lib/index.mjs", + "types": "./lib/index.d.ts", + "exports": { + ".": { + "types": "./lib/index.d.ts", + "require": "./lib/index.js", + "import": "./lib/index.mjs", + "default": "./lib/index.mjs" + } + }, + "repository": "open-draft/until", + "author": "Artem Zakharchenko ", + "license": "MIT", + "files": [ + "README.md", + "lib" + ], + "devDependencies": { + "@ossjs/release": "^0.5.1", + "@types/jest": "^26.0.22", + "jest": "^26.6.3", + "ts-jest": "^26.5.4", + "tsup": "^6.2.3", + "typescript": "^4.2.4" + }, + "scripts": { + "start": "tsc -w", + "test": "jest", + "build": "tsup", + "release": "release publish" + } +} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js index 7fc9deadcf..8b275fd224 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js @@ -107,86 +107,112 @@ exports.default = (0, util_1.createRule)({ create(context, [{ ignoreIntersections, ignoreUnions }]) { const parserServices = (0, util_1.getParserServices)(context); const { sourceCode } = context; + function report(messageId, constituentNode, data) { + const getUnionOrIntersectionToken = (where, at) => sourceCode[`getTokens${where}`](constituentNode, { + filter: token => ['&', '|'].includes(token.value) && + constituentNode.parent.range[0] <= token.range[0] && + token.range[1] <= constituentNode.parent.range[1], + }).at(at); + const beforeUnionOrIntersectionToken = getUnionOrIntersectionToken('Before', -1); + let afterUnionOrIntersectionToken; + let bracketBeforeTokens; + let bracketAfterTokens; + if (beforeUnionOrIntersectionToken) { + bracketBeforeTokens = sourceCode.getTokensBetween(beforeUnionOrIntersectionToken, constituentNode); + bracketAfterTokens = sourceCode.getTokensAfter(constituentNode, { + count: bracketBeforeTokens.length, + }); + } + else { + afterUnionOrIntersectionToken = (0, util_1.nullThrows)(getUnionOrIntersectionToken('After', 0), util_1.NullThrowsReasons.MissingToken('union or intersection token', 'duplicate type constituent')); + bracketAfterTokens = sourceCode.getTokensBetween(constituentNode, afterUnionOrIntersectionToken); + bracketBeforeTokens = sourceCode.getTokensBefore(constituentNode, { + count: bracketAfterTokens.length, + }); + } + context.report({ + loc: { + start: constituentNode.loc.start, + end: (bracketAfterTokens.at(-1) ?? constituentNode).loc.end, + }, + node: constituentNode, + messageId, + data, + fix: fixer => [ + beforeUnionOrIntersectionToken, + ...bracketBeforeTokens, + constituentNode, + ...bracketAfterTokens, + afterUnionOrIntersectionToken, + ].flatMap(token => (token ? fixer.remove(token) : [])), + }); + } + function checkDuplicateRecursively(unionOrIntersection, constituentNode, uniqueConstituents, cachedTypeMap, forEachNodeType) { + const type = parserServices.getTypeAtLocation(constituentNode); + if (tsutils.isIntrinsicErrorType(type)) { + return; + } + const duplicatedPrevious = uniqueConstituents.find(ele => isSameAstNode(ele, constituentNode)) ?? + cachedTypeMap.get(type); + if (duplicatedPrevious) { + report('duplicate', constituentNode, { + type: unionOrIntersection, + previous: sourceCode.getText(duplicatedPrevious), + }); + return; + } + forEachNodeType?.(type, constituentNode); + cachedTypeMap.set(type, constituentNode); + uniqueConstituents.push(constituentNode); + if ((unionOrIntersection === 'Union' && + constituentNode.type === utils_1.AST_NODE_TYPES.TSUnionType) || + (unionOrIntersection === 'Intersection' && + constituentNode.type === utils_1.AST_NODE_TYPES.TSIntersectionType)) { + for (const constituent of constituentNode.types) { + checkDuplicateRecursively(unionOrIntersection, constituent, uniqueConstituents, cachedTypeMap, forEachNodeType); + } + } + } function checkDuplicate(node, forEachNodeType) { const cachedTypeMap = new Map(); - node.types.reduce((uniqueConstituents, constituentNode) => { - const constituentNodeType = parserServices.getTypeAtLocation(constituentNode); - if (tsutils.isIntrinsicErrorType(constituentNodeType)) { - return uniqueConstituents; - } - const report = (messageId, data) => { - const getUnionOrIntersectionToken = (where, at) => sourceCode[`getTokens${where}`](constituentNode, { - filter: token => ['&', '|'].includes(token.value), - }).at(at); - const beforeUnionOrIntersectionToken = getUnionOrIntersectionToken('Before', -1); - let afterUnionOrIntersectionToken; - let bracketBeforeTokens; - let bracketAfterTokens; - if (beforeUnionOrIntersectionToken) { - bracketBeforeTokens = sourceCode.getTokensBetween(beforeUnionOrIntersectionToken, constituentNode); - bracketAfterTokens = sourceCode.getTokensAfter(constituentNode, { - count: bracketBeforeTokens.length, - }); - } - else { - afterUnionOrIntersectionToken = (0, util_1.nullThrows)(getUnionOrIntersectionToken('After', 0), util_1.NullThrowsReasons.MissingToken('union or intersection token', 'duplicate type constituent')); - bracketAfterTokens = sourceCode.getTokensBetween(constituentNode, afterUnionOrIntersectionToken); - bracketBeforeTokens = sourceCode.getTokensBefore(constituentNode, { - count: bracketAfterTokens.length, - }); - } - context.report({ - loc: { - start: constituentNode.loc.start, - end: (bracketAfterTokens.at(-1) ?? constituentNode).loc.end, - }, - node: constituentNode, - messageId, - data, - fix: fixer => [ - beforeUnionOrIntersectionToken, - ...bracketBeforeTokens, - constituentNode, - ...bracketAfterTokens, - afterUnionOrIntersectionToken, - ].flatMap(token => (token ? fixer.remove(token) : [])), - }); - }; - const duplicatePrevious = uniqueConstituents.find(ele => isSameAstNode(ele, constituentNode)) ?? cachedTypeMap.get(constituentNodeType); - if (duplicatePrevious) { - report('duplicate', { - type: node.type === utils_1.AST_NODE_TYPES.TSIntersectionType - ? 'Intersection' - : 'Union', - previous: sourceCode.getText(duplicatePrevious), - }); - return uniqueConstituents; - } - forEachNodeType?.(constituentNodeType, report); - cachedTypeMap.set(constituentNodeType, constituentNode); - return [...uniqueConstituents, constituentNode]; - }, []); + const uniqueConstituents = []; + const unionOrIntersection = node.type === utils_1.AST_NODE_TYPES.TSIntersectionType + ? 'Intersection' + : 'Union'; + for (const type of node.types) { + checkDuplicateRecursively(unionOrIntersection, type, uniqueConstituents, cachedTypeMap, forEachNodeType); + } } return { ...(!ignoreIntersections && { - TSIntersectionType: checkDuplicate, + TSIntersectionType(node) { + if (node.parent.type === utils_1.AST_NODE_TYPES.TSIntersectionType) { + return; + } + checkDuplicate(node); + }, }), ...(!ignoreUnions && { - TSUnionType: (node) => checkDuplicate(node, (constituentNodeType, report) => { - const maybeTypeAnnotation = node.parent; - if (maybeTypeAnnotation.type === utils_1.AST_NODE_TYPES.TSTypeAnnotation) { - const maybeIdentifier = maybeTypeAnnotation.parent; - if (maybeIdentifier.type === utils_1.AST_NODE_TYPES.Identifier && - maybeIdentifier.optional) { - const maybeFunction = maybeIdentifier.parent; - if ((0, util_1.isFunctionOrFunctionType)(maybeFunction) && - maybeFunction.params.includes(maybeIdentifier) && - tsutils.isTypeFlagSet(constituentNodeType, ts.TypeFlags.Undefined)) { - report('unnecessary'); + TSUnionType: (node) => { + if (node.parent.type === utils_1.AST_NODE_TYPES.TSUnionType) { + return; + } + checkDuplicate(node, (constituentNodeType, constituentNode) => { + const maybeTypeAnnotation = node.parent; + if (maybeTypeAnnotation.type === utils_1.AST_NODE_TYPES.TSTypeAnnotation) { + const maybeIdentifier = maybeTypeAnnotation.parent; + if (maybeIdentifier.type === utils_1.AST_NODE_TYPES.Identifier && + maybeIdentifier.optional) { + const maybeFunction = maybeIdentifier.parent; + if ((0, util_1.isFunctionOrFunctionType)(maybeFunction) && + maybeFunction.params.includes(maybeIdentifier) && + tsutils.isTypeFlagSet(constituentNodeType, ts.TypeFlags.Undefined)) { + report('unnecessary', constituentNode); + } } } - } - }), + }); + }, }), }; }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map index 7b2a2bdd28..ae60695660 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map @@ -1 +1 @@ -{"version":3,"file":"no-duplicate-type-constituents.js","sourceRoot":"","sources":["../../src/rules/no-duplicate-type-constituents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,oDAA0D;AAC1D,s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,KAAK,sBAAc,CAAC,kBAAkB,EAAE,CAAC;wBAC3D,OAAO;oBACT,CAAC;oBACD,cAAc,CAAC,IAAI,CAAC,CAAC;gBACvB,CAAC;aACF,CAAC;YACF,GAAG,CAAC,CAAC,YAAY,IAAI;gBACnB,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE;oBAC1B,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW,EAAE,CAAC;wBACpD,OAAO;oBACT,CAAC;oBACD,cAAc,CAAC,IAAI,EAAE,CAAC,mBAAmB,EAAE,eAAe,EAAE,EAAE;wBAC5D,MAAM,mBAAmB,GAAG,IAAI,CAAC,MAAM,CAAC;wBACxC,IAAI,mBAAmB,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,EAAE,CAAC;4BACjE,MAAM,eAAe,GAAG,mBAAmB,CAAC,MAAM,CAAC;4BACnD,IACE,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gCAClD,eAAe,CAAC,QAAQ,EACxB,CAAC;gCACD,MAAM,aAAa,GAAG,eAAe,CAAC,MAAM,CAAC;gCAC7C,IACE,IAAA,+BAAwB,EAAC,aAAa,CAAC;oCACvC,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;oCAC9C,OAAO,CAAC,aAAa,CACnB,mBAAmB,EACnB,EAAE,CAAC,SAAS,CAAC,SAAS,CACvB,EACD,CAAC;oCACD,MAAM,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;gCACzC,CAAC;4BACH,CAAC;wBACH,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js index e300fd3e1b..b45bf650d3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js @@ -86,11 +86,12 @@ exports.default = (0, util_1.createRule)({ else { onlyConstructor = false; if (((prop.type === utils_1.AST_NODE_TYPES.PropertyDefinition || - prop.type === utils_1.AST_NODE_TYPES.MethodDefinition) && + prop.type === utils_1.AST_NODE_TYPES.MethodDefinition || + prop.type === utils_1.AST_NODE_TYPES.AccessorProperty) && !prop.static) || prop.type === utils_1.AST_NODE_TYPES.TSAbstractPropertyDefinition || - prop.type === utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition // `static abstract` methods and properties are currently not supported. See: https://github.com/microsoft/TypeScript/issues/34516 - ) { + prop.type === utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition || // `static abstract` methods and properties are currently not supported. See: https://github.com/microsoft/TypeScript/issues/34516 + prop.type === utils_1.AST_NODE_TYPES.TSAbstractAccessorProperty) { onlyStatic = false; } } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map index 0c7adb74d9..366639ee7c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map @@ -1 +1 @@ -{"version":3,"file":"no-extraneous-class.js","sourceRoot":"","sources":["../../src/rules/no-extraneous-class.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAqC;AAYrC,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,qCAAqC;YAClD,WAAW,EAAE,QAAQ;SACtB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,yBAAyB;YAChC,eAAe,EAAE,2CAA2C;YAC5D,UAAU,EAA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AE,CAAC;oBACpB,IAAI,CAAC,oBAAoB,EAAE,CAAC;wBAC1B,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,UAAU;4BAChB,SAAS,EAAE,iBAAiB;yBAC7B,CAAC,CAAC;oBACL,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,IAAI,UAAU,IAAI,CAAC,eAAe,EAAE,CAAC;oBACnC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,YAAY;qBACxB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-extraneous-class.js","sourceRoot":"","sources":["../../src/rules/no-extraneous-class.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAAqC;AAYrC,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,qCAAqC;YAClD,WAAW,EAAE,QAAQ;SACtB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,yBAAyB;YAChC,eAAe,EAAE,2CAA2C;YAC5D,UAAU,EAAE,+CAA+C;SAC5D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,sEAAsE;qBACzE;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yEAAyE;qBAC5E;oBACD,eAAe,EAAE;wBACf,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uEAAuE;qBAC1E;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,+DAA+D;qBAClE;iBACF;aACF;SACF;KACF;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AC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js index 78d799c9ad..67a839e6a5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js @@ -190,9 +190,8 @@ exports.default = (0, util_1.createRule)({ return ((0, isTypeImport_1.isTypeImport)(firstDefinition) && isImportDeclaration(firstDefinition.parent) && isExternalModuleDeclarationWithName(scope, firstDefinition.parent.source.value) && - secondDefinition.node.type === utils_1.AST_NODE_TYPES.TSInterfaceDeclaration && - secondDefinition.node.parent.type === - utils_1.AST_NODE_TYPES.ExportNamedDeclaration); + (secondDefinition.node.type === utils_1.AST_NODE_TYPES.TSInterfaceDeclaration || + secondDefinition.node.type === utils_1.AST_NODE_TYPES.TSTypeAliasDeclaration)); } /** * Check if variable name is allowed. diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map index 969823b245..0446576418 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map @@ -1 +1 @@ -{"version":3,"file":"no-shadow.js","sourceRoot":"","sources":["../../src/rules/no-shadow.ts"],"names":[],"mappings":";;AAEA,oEAA6E;AAC7E,oDAAoE;AAEpE,kCAAqC;AACrC,uDAAoD;AAcpD,MAAM,+BAA+B,GAAG,IAAI,GAAG,CAAC;IAC9C,sBAAc,CAAC,0BAA0B;IACzC,sBAAc,CAAC,cAAc;IAC7B,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,6BAA6B;IAC5C,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,+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C,OAAO,KAAK,CAAC,MAAM,EAAE,CAAC;oBACpB,oEAAoE;oBACpE,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,EAAG,CAAC;oBAE3B,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;oBACjC,eAAe,CAAC,KAAK,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-shadow.js","sourceRoot":"","sources":["../../src/rules/no-shadow.ts"],"names":[],"mappings":";;AAEA,oEAA6E;AAC7E,oDAAoE;AAEpE,kCAAqC;AACrC,uDAAoD;AAcpD,MAAM,+BAA+B,GAAG,IAAI,GAAG,CAAC;IAC9C,sBAAc,CAAC,0BAA0B;IACzC,sBAAc,CAAC,cAAc;IAC7B,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,6BAA6B;IAC5C,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,+BAA+B;IAC9C,sBAAc,CAAC,iBAAiB;CACjC,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC,CAAC,sBAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAE5E,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,sBAAc,CAAC,sBAAsB;IACrC,sBAAc,CAAC,sBAAsB;CACtC,CAAC,CAAC;AAEH,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,qFAAqF;YACvF,eAAe,EAAE,IAAI;SACtB;QACD,QAAQ,EAAE;YACR,QAAQ,EACN,uGAAuG;YACzG,cAAc,EAAE,0CAA0C;SAC3D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU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,CAAC,WAAW,CAAC,CAAC,CAAC;wBAC7B,GAAG,CAAC,QAAQ,CAAC,MAAM;4BACjB,CAAC,CAAC;gCACE,SAAS,EAAE,gBAAgB;gCAC3B,IAAI,EAAE;oCACJ,IAAI,EAAE,QAAQ,CAAC,IAAI;iCACpB;6BACF;4BACH,CAAC,CAAC;gCACE,SAAS,EAAE,UAAU;gCACrB,IAAI,EAAE;oCACJ,IAAI,EAAE,QAAQ,CAAC,IAAI;oCACnB,cAAc,EAAE,QAAQ,CAAC,MAAM;oCAC/B,YAAY,EAAE,QAAQ,CAAC,IAAI;iCAC5B;6BACF,CAAC;qBACP,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;gBACtD,MAAM,KAAK,GAAG,CAAC,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;gBAE3C,OAAO,KAAK,CAAC,MAAM,EAAE,CAAC;oBACpB,oEAAoE;oBACpE,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,EAAG,CAAC;oBAE3B,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;oBACjC,eAAe,CAAC,KAAK,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js index 6ee51a756b..bc23886ffb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js @@ -38,40 +38,7 @@ const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); const util_1 = require("../util"); const assertionFunctionUtils_1 = require("../util/assertionFunctionUtils"); -// Truthiness utilities // #region -const valueIsPseudoBigInt = (value) => { - return typeof value === 'object'; -}; -const getValueOfLiteralType = (type) => { - if (valueIsPseudoBigInt(type.value)) { - return pseudoBigIntToBigInt(type.value); - } - return type.value; -}; -const isTruthyLiteral = (type) => tsutils.isTrueLiteralType(type) || - (type.isLiteral() && !!getValueOfLiteralType(type)); -const isPossiblyFalsy = (type) => tsutils - .unionTypeParts(type) - // Intersections like `string & {}` can also be possibly falsy, - // requiring us to look into the intersection. - .flatMap(type => tsutils.intersectionTypeParts(type)) - // PossiblyFalsy flag includes literal values, so exclude ones that - // are definitely truthy - .filter(t => !isTruthyLiteral(t)) - .some(type => (0, util_1.isTypeFlagSet)(type, ts.TypeFlags.PossiblyFalsy)); -const isPossiblyTruthy = (type) => tsutils - .unionTypeParts(type) - .map(type => tsutils.intersectionTypeParts(type)) - .some(intersectionParts => -// It is possible to define intersections that are always falsy, -// like `"" & { __brand: string }`. -intersectionParts.every(type => !tsutils.isFalsyType(type))); -// Nullish utilities -const nullishFlag = ts.TypeFlags.Undefined | ts.TypeFlags.Null; -const isNullishType = (type) => (0, util_1.isTypeFlagSet)(type, nullishFlag); -const isPossiblyNullish = (type) => tsutils.unionTypeParts(type).some(isNullishType); -const isAlwaysNullish = (type) => tsutils.unionTypeParts(type).every(isNullishType); function toStaticValue(type) { // type.isLiteral() only covers numbers/bigints and strings, hence the rest of the branches. if (tsutils.isBooleanLiteralType(type)) { @@ -84,13 +51,10 @@ function toStaticValue(type) { return { value: null }; } if (type.isLiteral()) { - return { value: getValueOfLiteralType(type) }; + return { value: (0, util_1.getValueOfLiteralType)(type) }; } return undefined; } -function pseudoBigIntToBigInt(value) { - return BigInt((value.negative ? '-' : '') + value.base10Value); -} const BOOL_OPERATORS = new Set([ '<', '>', @@ -283,10 +247,10 @@ exports.default = (0, util_1.createRule)({ if ((0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Never)) { messageId = 'never'; } - else if (!isPossiblyTruthy(type)) { + else if (!(0, util_1.isPossiblyTruthy)(type)) { messageId = !isUnaryNotArgument ? 'alwaysFalsy' : 'alwaysTruthy'; } - else if (!isPossiblyFalsy(type)) { + else if (!(0, util_1.isPossiblyFalsy)(type)) { messageId = !isUnaryNotArgument ? 'alwaysTruthy' : 'alwaysFalsy'; } if (messageId) { @@ -306,7 +270,7 @@ exports.default = (0, util_1.createRule)({ if ((0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Never)) { messageId = 'never'; } - else if (!isPossiblyNullish(type) && + else if (!(0, util_1.isPossiblyNullish)(type) && !(node.type === utils_1.AST_NODE_TYPES.MemberExpression && isNullableMemberExpression(node))) { // Since typescript array index signature types don't represent the @@ -319,7 +283,7 @@ exports.default = (0, util_1.createRule)({ messageId = 'neverNullish'; } } - else if (isAlwaysNullish(type)) { + else if ((0, util_1.isAlwaysNullish)(type)) { messageId = 'alwaysNullish'; } if (messageId) { @@ -479,10 +443,10 @@ exports.default = (0, util_1.createRule)({ (0, util_1.isTypeUnknownType)(constraintType)) { return; } - if (isPossiblyFalsy(constraintType)) { + if ((0, util_1.isPossiblyFalsy)(constraintType)) { hasFalsyReturnTypes = true; } - if (isPossiblyTruthy(constraintType)) { + if ((0, util_1.isPossiblyTruthy)(constraintType)) { hasTruthyReturnTypes = true; } // bail early if both a possibly-truthy and a possibly-falsy have been detected diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map index 89e70a1061..2075595c96 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;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E,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAoBiB;AACjB,2EAGwC;AAExC,UAAU;AACV,SAAS,aAAa,CACpB,IAAa;IAIb,4FAA4F;IAC5F,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;IACpD,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;QAC1C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAC9B,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACrC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzB,CAAC;IACD,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;QACrB,OAAO,EAAE,KAAK,EAAE,IAAA,4BAAqB,EAAC,IAAI,CAAC,EAAE,CAAC;IAChD,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC;IAC7B,GAAG;IACH,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IAC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,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvB,CAAC;iBAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,KAAK,EAAE,CAAC;gBACnC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;QACH,CAAC;QAED,OAAO;YACL,oBAAoB,EAAE,yBAAyB;YAC/C,gBAAgB,CAAC,IAAI;gBACnB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;gBAC1B,IAAI,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC7B,2CAA2C,CACzC,IAAI,EACJ,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,KAAK,EACV,QAAQ,CACT,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,mBAAmB;YACnC,iCAAiC,EAAE,2BAA2B;YAC9D,qBAAqB,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3D,gBAAgB,EAAE,iCAAiC;YACnD,YAAY,EAAE,iCAAiC;YAC/C,WAAW,EAAE,CAAC,IAAI,EAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,iBAAiB,EAAE,gDAAgD;YACnE,mCAAmC,EAAE,6BAA6B;YAClE,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;gBACzB,yCAAyC;gBACzC,IAAI,IAAI,EAAE,CAAC;oBACT,2CAA2C,CACzC,IAAI,EACJ,MAAM,CAAC,YAAY,EACnB,IAAI,EACJ,KAAK,CACN,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,cAAc,EAAE,iCAAiC;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js index d21571a9fb..6367f2b0a4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js @@ -62,200 +62,284 @@ exports.default = (0, util_1.createRule)({ defaultOptions: [], create(context) { const services = (0, util_1.getParserServices)(context); - function isUnderlyingTypeString(expression) { - const checker = services.program.getTypeChecker(); - const { constraintType } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(expression)); - if (constraintType == null) { - return false; - } - const isString = (t) => { - return (0, util_1.isTypeFlagSet)(t, ts.TypeFlags.StringLike); - }; - if (constraintType.isUnion()) { - return constraintType.types.every(isString); + const checker = services.program.getTypeChecker(); + function isStringLike(type) { + return (0, util_1.isTypeFlagSet)(type, ts.TypeFlags.StringLike); + } + function isUnderlyingTypeString(type) { + if (type.isUnion()) { + return type.types.every(isStringLike); } - if (constraintType.isIntersection()) { - return constraintType.types.some(isString); + if (type.isIntersection()) { + return type.types.some(isStringLike); } - return isString(constraintType); + return isStringLike(type); } - function isLiteral(expression) { - return expression.type === utils_1.AST_NODE_TYPES.Literal; + /** + * Checks for whole enum types, i.e. `MyEnum`, and not their values, i.e. `MyEnum.A` + */ + function isEnumType(type) { + const symbol = type.getSymbol(); + return !!(symbol?.valueDeclaration && + ts.isEnumDeclaration(symbol.valueDeclaration)); } - function isTemplateLiteral(expression) { - return expression.type === utils_1.AST_NODE_TYPES.TemplateLiteral; + const isLiteral = (0, util_1.isNodeOfType)(utils_1.TSESTree.AST_NODE_TYPES.Literal); + function isTemplateLiteral(node) { + return node.type === utils_1.AST_NODE_TYPES.TemplateLiteral; } - function isInfinityIdentifier(expression) { - return (expression.type === utils_1.AST_NODE_TYPES.Identifier && - expression.name === 'Infinity'); + function isInfinityIdentifier(node) { + return (node.type === utils_1.AST_NODE_TYPES.Identifier && node.name === 'Infinity'); } - function isNaNIdentifier(expression) { - return (expression.type === utils_1.AST_NODE_TYPES.Identifier && - expression.name === 'NaN'); + function isNaNIdentifier(node) { + return node.type === utils_1.AST_NODE_TYPES.Identifier && node.name === 'NaN'; + } + function isFixableIdentifier(node) { + return ((0, util_1.isUndefinedIdentifier)(node) || + isInfinityIdentifier(node) || + isNaNIdentifier(node)); } function hasCommentsBetweenQuasi(startQuasi, endQuasi) { const startToken = (0, util_1.nullThrows)(context.sourceCode.getTokenByRangeStart(startQuasi.range[0]), util_1.NullThrowsReasons.MissingToken('`${', 'opening template literal')); const endToken = (0, util_1.nullThrows)(context.sourceCode.getTokenByRangeStart(endQuasi.range[0]), util_1.NullThrowsReasons.MissingToken('}', 'closing template literal')); return context.sourceCode.commentsExistBetween(startToken, endToken); } - return { - TemplateLiteral(node) { - if (node.parent.type === utils_1.AST_NODE_TYPES.TaggedTemplateExpression) { - return; - } - const hasSingleStringVariable = node.quasis.length === 2 && - node.quasis[0].value.raw === '' && - node.quasis[1].value.raw === '' && - node.expressions.length === 1 && - isUnderlyingTypeString(node.expressions[0]); - if (hasSingleStringVariable) { - if (hasCommentsBetweenQuasi(node.quasis[0], node.quasis[1])) { - return; - } - context.report({ - loc: (0, rangeToLoc_1.rangeToLoc)(context.sourceCode, [ - node.expressions[0].range[0] - 2, - node.expressions[0].range[1] + 1, - ]), - messageId: 'noUnnecessaryTemplateExpression', - fix(fixer) { - const wrappingCode = (0, util_1.getMovedNodeCode)({ - destinationNode: node, - nodeToMove: node.expressions[0], - sourceCode: context.sourceCode, - }); - return fixer.replaceText(node, wrappingCode); - }, + function isTrivialInterpolation(node) { + return (node.quasis.length === 2 && + node.quasis[0].value.raw === '' && + node.quasis[1].value.raw === ''); + } + function getInterpolations(node) { + if (node.type === utils_1.AST_NODE_TYPES.TemplateLiteral) { + return node.expressions; + } + return node.types; + } + function getInterpolationInfos(node) { + return getInterpolations(node).map((interpolation, index) => ({ + interpolation, + nextQuasi: node.quasis[index + 1], + prevQuasi: node.quasis[index], + })); + } + function getLiteral(node) { + const maybeLiteral = node.type === utils_1.AST_NODE_TYPES.TSLiteralType ? node.literal : node; + return isLiteral(maybeLiteral) ? maybeLiteral : null; + } + function getTemplateLiteral(node) { + const maybeTemplateLiteral = node.type === utils_1.AST_NODE_TYPES.TSLiteralType ? node.literal : node; + return isTemplateLiteral(maybeTemplateLiteral) + ? maybeTemplateLiteral + : null; + } + function reportSingleInterpolation(node) { + const interpolations = getInterpolations(node); + context.report({ + loc: (0, rangeToLoc_1.rangeToLoc)(context.sourceCode, [ + interpolations[0].range[0] - 2, + interpolations[0].range[1] + 1, + ]), + messageId: 'noUnnecessaryTemplateExpression', + fix(fixer) { + const wrappingCode = (0, util_1.getMovedNodeCode)({ + destinationNode: node, + nodeToMove: interpolations[0], + sourceCode: context.sourceCode, }); - return; + return fixer.replaceText(node, wrappingCode); + }, + }); + } + function isUnncessaryValueInterpolation({ interpolation, nextQuasi, prevQuasi, }) { + if (hasCommentsBetweenQuasi(prevQuasi, nextQuasi)) { + return false; + } + if (isFixableIdentifier(interpolation)) { + return true; + } + if (isLiteral(interpolation)) { + // allow trailing whitespace literal + if (startsWithNewLine(nextQuasi.value.raw)) { + return !(typeof interpolation.value === 'string' && + isWhitespace(interpolation.value)); } - const fixableExpressionsReversed = node.expressions - .map((expression, index) => ({ - expression, - nextQuasi: node.quasis[index + 1], - prevQuasi: node.quasis[index], - })) - .filter(({ expression, nextQuasi, prevQuasi }) => { - if ((0, util_1.isUndefinedIdentifier)(expression) || - isInfinityIdentifier(expression) || - isNaNIdentifier(expression)) { - return true; - } - // allow expressions that include comments - if (hasCommentsBetweenQuasi(prevQuasi, nextQuasi)) { - return false; - } - if (isLiteral(expression)) { - // allow trailing whitespace literal - if (startsWithNewLine(nextQuasi.value.raw)) { - return !(typeof expression.value === 'string' && - isWhitespace(expression.value)); - } - return true; - } - if (isTemplateLiteral(expression)) { - // allow trailing whitespace literal - if (startsWithNewLine(nextQuasi.value.raw)) { - return !(expression.quasis.length === 1 && - isWhitespace(expression.quasis[0].value.raw)); - } - return true; - } - return false; - }) - .reverse(); - let nextCharacterIsOpeningCurlyBrace = false; - for (const { expression, nextQuasi, prevQuasi, } of fixableExpressionsReversed) { - const fixers = []; - if (nextQuasi.value.raw !== '') { - nextCharacterIsOpeningCurlyBrace = - nextQuasi.value.raw.startsWith('{'); - } - if (isLiteral(expression)) { - let escapedValue = (typeof expression.value === 'string' - ? // The value is already a string, so we're removing quotes: - // "'va`lue'" -> "va`lue" - expression.raw.slice(1, -1) - : // The value may be one of number | bigint | boolean | RegExp | null. - // In regular expressions, we escape every backslash - String(expression.value).replaceAll('\\', '\\\\')) - // The string or RegExp may contain ` or ${. - // We want both of these to be escaped in the final template expression. - // - // A pair of backslashes means "escaped backslash", so backslashes - // from this pair won't escape ` or ${. Therefore, to escape these - // sequences in the resulting template expression, we need to escape - // all sequences that are preceded by an even number of backslashes. - // - // This RegExp does the following transformations: - // \` -> \` - // \\` -> \\\` - // \${ -> \${ - // \\${ -> \\\${ - .replaceAll(new RegExp(`${String(evenNumOfBackslashesRegExp.source)}(\`|\\\${)`, 'g'), '\\$1'); - // `...${'...$'}{...` - // ^^^^ - if (nextCharacterIsOpeningCurlyBrace && - endsWithUnescapedDollarSign(escapedValue)) { - escapedValue = escapedValue.replaceAll(/\$$/g, '\\$'); - } - if (escapedValue.length !== 0) { - nextCharacterIsOpeningCurlyBrace = escapedValue.startsWith('{'); - } - fixers.push(fixer => [fixer.replaceText(expression, escapedValue)]); - } - else if (isTemplateLiteral(expression)) { - // Since we iterate from the last expression to the first, - // a subsequent expression can tell the current expression - // that it starts with {. + return true; + } + if (isTemplateLiteral(interpolation)) { + // allow trailing whitespace literal + if (startsWithNewLine(nextQuasi.value.raw)) { + return !(interpolation.quasis.length === 1 && + isWhitespace(interpolation.quasis[0].value.raw)); + } + return true; + } + return false; + } + function isUnncessaryTypeInterpolation({ interpolation, nextQuasi, prevQuasi, }) { + if (hasCommentsBetweenQuasi(prevQuasi, nextQuasi)) { + return false; + } + const literal = getLiteral(interpolation); + if (literal) { + // allow trailing whitespace literal + if (startsWithNewLine(nextQuasi.value.raw)) { + return !(typeof literal.value === 'string' && isWhitespace(literal.value)); + } + return true; + } + if (interpolation.type === utils_1.AST_NODE_TYPES.TSNullKeyword || + interpolation.type === utils_1.AST_NODE_TYPES.TSUndefinedKeyword) { + return true; + } + const templateLiteral = getTemplateLiteral(interpolation); + if (templateLiteral) { + // allow trailing whitespace literal + if (startsWithNewLine(nextQuasi.value.raw)) { + return !(templateLiteral.quasis.length === 1 && + isWhitespace(templateLiteral.quasis[0].value.raw)); + } + return true; + } + return false; + } + function getReportDescriptors(infos) { + let nextCharacterIsOpeningCurlyBrace = false; + const reportDescriptors = []; + const reversedInfos = [...infos].reverse(); + for (const { interpolation, nextQuasi, prevQuasi } of reversedInfos) { + const fixers = []; + if (nextQuasi.value.raw !== '') { + nextCharacterIsOpeningCurlyBrace = + nextQuasi.value.raw.startsWith('{'); + } + const literal = getLiteral(interpolation); + const templateLiteral = getTemplateLiteral(interpolation); + if (literal) { + let escapedValue = (typeof literal.value === 'string' + ? // The value is already a string, so we're removing quotes: + // "'va`lue'" -> "va`lue" + literal.raw.slice(1, -1) + : // The value may be one of number | bigint | boolean | RegExp | null. + // In regular expressions, we escape every backslash + String(literal.value).replaceAll('\\', '\\\\')) + // The string or RegExp may contain ` or ${. + // We want both of these to be escaped in the final template expression. // - // `... ${`... $`}${'{...'} ...` - // ^ ^ subsequent expression starts with { - // current expression ends with a dollar sign, - // so '$' + '{' === '${' (bad news for us). - // Let's escape the dollar sign at the end. - if (nextCharacterIsOpeningCurlyBrace && - endsWithUnescapedDollarSign(expression.quasis[expression.quasis.length - 1].value.raw)) { - fixers.push(fixer => [ - fixer.replaceTextRange([expression.range[1] - 2, expression.range[1] - 2], '\\'), - ]); - } - if (expression.quasis.length === 1 && - expression.quasis[0].value.raw.length !== 0) { - nextCharacterIsOpeningCurlyBrace = - expression.quasis[0].value.raw.startsWith('{'); - } - // Remove the beginning and trailing backtick characters. - fixers.push(fixer => [ - fixer.removeRange([expression.range[0], expression.range[0] + 1]), - fixer.removeRange([expression.range[1] - 1, expression.range[1]]), - ]); + // A pair of backslashes means "escaped backslash", so backslashes + // from this pair won't escape ` or ${. Therefore, to escape these + // sequences in the resulting template expression, we need to escape + // all sequences that are preceded by an even number of backslashes. + // + // This RegExp does the following transformations: + // \` -> \` + // \\` -> \\\` + // \${ -> \${ + // \\${ -> \\\${ + .replaceAll(new RegExp(`${String(evenNumOfBackslashesRegExp.source)}(\`|\\\${)`, 'g'), '\\$1'); + // `...${'...$'}{...` + // ^^^^ + if (nextCharacterIsOpeningCurlyBrace && + endsWithUnescapedDollarSign(escapedValue)) { + escapedValue = escapedValue.replaceAll(/\$$/g, '\\$'); } - else { - nextCharacterIsOpeningCurlyBrace = false; + if (escapedValue.length !== 0) { + nextCharacterIsOpeningCurlyBrace = escapedValue.startsWith('{'); } - // `... $${'{...'} ...` - // ^^^^^ + fixers.push(fixer => [fixer.replaceText(literal, escapedValue)]); + } + else if (templateLiteral) { + // Since we iterate from the last expression to the first, + // a subsequent expression can tell the current expression + // that it starts with {. + // + // `... ${`... $`}${'{...'} ...` + // ^ ^ subsequent expression starts with { + // current expression ends with a dollar sign, + // so '$' + '{' === '${' (bad news for us). + // Let's escape the dollar sign at the end. if (nextCharacterIsOpeningCurlyBrace && - endsWithUnescapedDollarSign(prevQuasi.value.raw)) { + endsWithUnescapedDollarSign(templateLiteral.quasis[templateLiteral.quasis.length - 1].value + .raw)) { fixers.push(fixer => [ - fixer.replaceTextRange([prevQuasi.range[1] - 3, prevQuasi.range[1] - 2], '\\$'), + fixer.replaceTextRange([templateLiteral.range[1] - 2, templateLiteral.range[1] - 2], '\\'), ]); } - const warnLocStart = prevQuasi.range[1] - 2; - const warnLocEnd = nextQuasi.range[0] + 1; - context.report({ - loc: (0, rangeToLoc_1.rangeToLoc)(context.sourceCode, [warnLocStart, warnLocEnd]), - messageId: 'noUnnecessaryTemplateExpression', - fix(fixer) { - return [ - // Remove the quasis' parts that are related to the current expression. - fixer.removeRange([warnLocStart, expression.range[0]]), - fixer.removeRange([expression.range[1], warnLocEnd]), - ...fixers.flatMap(cb => cb(fixer)), - ]; - }, - }); + if (templateLiteral.quasis.length === 1 && + templateLiteral.quasis[0].value.raw.length !== 0) { + nextCharacterIsOpeningCurlyBrace = + templateLiteral.quasis[0].value.raw.startsWith('{'); + } + // Remove the beginning and trailing backtick characters. + fixers.push(fixer => [ + fixer.removeRange([ + templateLiteral.range[0], + templateLiteral.range[0] + 1, + ]), + fixer.removeRange([ + templateLiteral.range[1] - 1, + templateLiteral.range[1], + ]), + ]); + } + else { + nextCharacterIsOpeningCurlyBrace = false; + } + // `... $${'{...'} ...` + // ^^^^^ + if (nextCharacterIsOpeningCurlyBrace && + endsWithUnescapedDollarSign(prevQuasi.value.raw)) { + fixers.push(fixer => [ + fixer.replaceTextRange([prevQuasi.range[1] - 3, prevQuasi.range[1] - 2], '\\$'), + ]); + } + const warnLocStart = prevQuasi.range[1] - 2; + const warnLocEnd = nextQuasi.range[0] + 1; + reportDescriptors.push({ + loc: (0, rangeToLoc_1.rangeToLoc)(context.sourceCode, [warnLocStart, warnLocEnd]), + messageId: 'noUnnecessaryTemplateExpression', + fix(fixer) { + return [ + // Remove the quasis' parts that are related to the current expression. + fixer.removeRange([warnLocStart, interpolation.range[0]]), + fixer.removeRange([interpolation.range[1], warnLocEnd]), + ...fixers.flatMap(cb => cb(fixer)), + ]; + }, + }); + } + return reportDescriptors; + } + return { + TemplateLiteral(node) { + if (node.parent.type === utils_1.AST_NODE_TYPES.TaggedTemplateExpression) { + return; + } + if (isTrivialInterpolation(node) && + !hasCommentsBetweenQuasi(node.quasis[0], node.quasis[1])) { + const { constraintType } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(node.expressions[0])); + if (constraintType && isUnderlyingTypeString(constraintType)) { + reportSingleInterpolation(node); + return; + } + } + const infos = getInterpolationInfos(node).filter(isUnncessaryValueInterpolation); + for (const reportDescriptor of getReportDescriptors(infos)) { + context.report(reportDescriptor); + } + }, + TSTemplateLiteralType(node) { + if (isTrivialInterpolation(node) && + !hasCommentsBetweenQuasi(node.quasis[0], node.quasis[1])) { + const { constraintType } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(node.types[0])); + if (constraintType && + isUnderlyingTypeString(constraintType) && + !isEnumType(constraintType)) { + reportSingleInterpolation(node); + return; + } + } + const infos = getInterpolationInfos(node).filter(isUnncessaryTypeInterpolation); + for (const reportDescriptor of getReportDescriptors(infos)) { + context.report(reportDescriptor); } }, }; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map index 463ad7d18a..f42b625769 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCASiB;AACjB,mDAAgD;AAIhD,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AAEjE,iBAAiB;AACjB,kBAAkB;AAClB,qBAAqB;AACrB,SAAS,2BAA2B,CAAC,GAAW;IAC9C,OAAO,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,GAAG,CACJ,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,oCAAoC;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD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,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,YAAY,CAAC,CAAS;IAC7B,gDAAgD;IAChD,eAAe;IACf,KAAK;IACL,EAAE;IACF,iBAAiB;IACjB,iBAAiB;IACjB,KAAK;IACL,EAAE;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAS;IAClC,OAAO,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AACpE,+CAAiC;AAEjC,kCAUiB;AACjB,mDAAgD;AAchD,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AAEjE,iBAAiB;AACjB,kBAAkB;AAClB,qBAAqB;AACrB,SAAS,2BAA2B,CAAC,GAAW;IAC9C,OAAO,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,GAAG,CACJ,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,oCAAoC;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,+BAA+B,EAC7B,mEAAmE;SACtE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAA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,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EACxD,CAAC;oBACD,MAAM,EAAE,cAAc,EAAE,GAAG,IAAA,wBAAiB,EAC1C,OAAO,EACP,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAC1C,CAAC;oBAEF,IACE,cAAc;wBACd,sBAAsB,CAAC,cAAc,CAAC;wBACtC,CAAC,UAAU,CAAC,cAAc,CAAC,EAC3B,CAAC;wBACD,yBAAyB,CAAC,IAAI,CAAC,CAAC;wBAChC,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,MAAM,KAAK,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC,MAAM,CAC9C,6BAA6B,CAC9B,CAAC;gBAEF,KAAK,MAAM,gBAAgB,IAAI,oBAAoB,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC3D,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;gBACnC,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,YAAY,CAAC,CAAS;IAC7B,gDAAgD;IAChD,eAAe;IACf,KAAK;IACL,EAAE;IACF,iBAAiB;IACjB,iBAAiB;IACjB,KAAK;IACL,EAAE;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAS;IAClC,OAAO,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js index 9a43492826..345e284047 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js @@ -37,6 +37,10 @@ const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); const util_1 = require("../util"); +const isIdentifierOrMemberExpression = (0, util_1.isNodeOfTypes)([ + utils_1.AST_NODE_TYPES.Identifier, + utils_1.AST_NODE_TYPES.MemberExpression, +]); exports.default = (0, util_1.createRule)({ name: 'prefer-nullish-coalescing', meta: { @@ -144,23 +148,16 @@ exports.default = (0, util_1.createRule)({ messageId: 'noStrictNullCheck', }); } - // todo: rename to something more specific? - function checkAssignmentOrLogicalExpression(node, description, equals) { - const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node); - const type = checker.getTypeAtLocation(tsNode.left); - if (!(0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Null | ts.TypeFlags.Undefined)) { - return; + /** + * Checks whether a type tested for truthiness is eligible for conversion to + * a nullishness check, taking into account the rule's configuration. + */ + function isTypeEligibleForPreferNullish(type) { + if (!(0, util_1.isPossiblyNullish)(type)) { + return false; } - if (ignoreConditionalTests === true && isConditionalTest(node)) { - return; - } - if (ignoreMixedLogicalExpressions === true && - isMixedLogicalExpression(node)) { - return; - } - // https://github.com/typescript-eslint/typescript-eslint/issues/5439 - /* eslint-disable @typescript-eslint/no-non-null-assertion */ const ignorableFlags = [ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ (ignorePrimitives === true || ignorePrimitives.bigint) && ts.TypeFlags.BigIntLike, (ignorePrimitives === true || ignorePrimitives.boolean) && @@ -169,6 +166,7 @@ exports.default = (0, util_1.createRule)({ ts.TypeFlags.NumberLike, (ignorePrimitives === true || ignorePrimitives.string) && ts.TypeFlags.StringLike, + /* eslint-enable @typescript-eslint/no-non-null-assertion */ ] .filter((flag) => typeof flag === 'number') .reduce((previous, flag) => previous | flag, 0); @@ -177,9 +175,46 @@ exports.default = (0, util_1.createRule)({ type.types.some(t => tsutils .intersectionTypeParts(t) .some(t => tsutils.isTypeFlagSet(t, ignorableFlags)))) { + return false; + } + return true; + } + /** + * Determines whether a control flow construct that uses the truthiness of + * a test expression is eligible for conversion to the nullish coalescing + * operator, taking into account (both dependent on the rule's configuration): + * 1. Whether the construct is in a permitted syntactic context + * 2. Whether the type of the test expression is deemed eligible for + * conversion + * + * @param node The overall node to be converted (e.g. `a || b` or `a ? a : b`) + * @param testNode The node being tested (i.e. `a`) + */ + function isTruthinessCheckEligibleForPreferNullish({ node, testNode, }) { + const testType = parserServices.getTypeAtLocation(testNode); + if (!isTypeEligibleForPreferNullish(testType)) { + return false; + } + if (ignoreConditionalTests === true && isConditionalTest(node)) { + return false; + } + if (ignoreBooleanCoercion === true && + isBooleanConstructorContext(node, context)) { + return false; + } + return true; + } + function checkAndFixWithPreferNullishOverOr(node, description, equals) { + if (!isTruthinessCheckEligibleForPreferNullish({ + node, + testNode: node.left, + })) { + return; + } + if (ignoreMixedLogicalExpressions === true && + isMixedLogicalExpression(node)) { return; } - /* eslint-enable @typescript-eslint/no-non-null-assertion */ const barBarOperator = (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(node.left, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator && token.value === node.operator), util_1.NullThrowsReasons.MissingToken('operator', node.type)); function* fix(fixer) { @@ -211,7 +246,7 @@ exports.default = (0, util_1.createRule)({ } return { 'AssignmentExpression[operator = "||="]'(node) { - checkAssignmentOrLogicalExpression(node, 'assignment', '='); + checkAndFixWithPreferNullishOverOr(node, 'assignment', '='); }, ConditionalExpression(node) { if (ignoreTernaryTests) { @@ -266,60 +301,79 @@ exports.default = (0, util_1.createRule)({ } } } + let identifierOrMemberExpression; + let hasTruthinessCheck = false; + let hasNullCheckWithoutTruthinessCheck = false; + let hasUndefinedCheckWithoutTruthinessCheck = false; if (!operator) { - return; - } - let identifier; - let hasUndefinedCheck = false; - let hasNullCheck = false; - // we check that the test only contains null, undefined and the identifier - for (const testNode of nodesInsideTestExpression) { - if ((0, util_1.isNullLiteral)(testNode)) { - hasNullCheck = true; - } - else if ((0, util_1.isUndefinedIdentifier)(testNode)) { - hasUndefinedCheck = true; - } - else if ((operator === '!==' || operator === '!=') && - (0, util_1.isNodeEqual)(testNode, node.consequent)) { - identifier = testNode; + hasTruthinessCheck = true; + if (isIdentifierOrMemberExpression(node.test) && + (0, util_1.isNodeEqual)(node.test, node.consequent)) { + identifierOrMemberExpression = node.test; } - else if ((operator === '===' || operator === '==') && - (0, util_1.isNodeEqual)(testNode, node.alternate)) { - identifier = testNode; + else if (node.test.type === utils_1.AST_NODE_TYPES.UnaryExpression && + node.test.operator === '!' && + isIdentifierOrMemberExpression(node.test.argument) && + (0, util_1.isNodeEqual)(node.test.argument, node.alternate)) { + identifierOrMemberExpression = node.test.argument; + operator = '!'; } - else { - return; + } + else { + // we check that the test only contains null, undefined and the identifier + for (const testNode of nodesInsideTestExpression) { + if ((0, util_1.isNullLiteral)(testNode)) { + hasNullCheckWithoutTruthinessCheck = true; + } + else if ((0, util_1.isUndefinedIdentifier)(testNode)) { + hasUndefinedCheckWithoutTruthinessCheck = true; + } + else if ((operator === '!==' || operator === '!=') && + (0, util_1.isNodeEqual)(testNode, node.consequent)) { + identifierOrMemberExpression = testNode; + } + else if ((operator === '===' || operator === '==') && + (0, util_1.isNodeEqual)(testNode, node.alternate)) { + identifierOrMemberExpression = testNode; + } } } - if (!identifier) { + if (!identifierOrMemberExpression) { return; } - const isFixable = (() => { + const isFixableWithPreferNullishOverTernary = (() => { + // x ? x : y and !x ? y : x patterns + if (hasTruthinessCheck) { + return isTruthinessCheckEligibleForPreferNullish({ + node, + testNode: identifierOrMemberExpression, + }); + } + const tsNode = parserServices.esTreeNodeToTSNodeMap.get(identifierOrMemberExpression); + const type = checker.getTypeAtLocation(tsNode); + const flags = (0, util_1.getTypeFlags)(type); // it is fixable if we check for both null and undefined, or not if neither - if (hasUndefinedCheck === hasNullCheck) { - return hasUndefinedCheck; + if (hasUndefinedCheckWithoutTruthinessCheck === + hasNullCheckWithoutTruthinessCheck) { + return hasUndefinedCheckWithoutTruthinessCheck; } // it is fixable if we loosely check for either null or undefined if (operator === '==' || operator === '!=') { return true; } - const tsNode = parserServices.esTreeNodeToTSNodeMap.get(identifier); - const type = checker.getTypeAtLocation(tsNode); - const flags = (0, util_1.getTypeFlags)(type); if (flags & (ts.TypeFlags.Any | ts.TypeFlags.Unknown)) { return false; } const hasNullType = (flags & ts.TypeFlags.Null) !== 0; // it is fixable if we check for undefined and the type is not nullable - if (hasUndefinedCheck && !hasNullType) { + if (hasUndefinedCheckWithoutTruthinessCheck && !hasNullType) { return true; } const hasUndefinedType = (flags & ts.TypeFlags.Undefined) !== 0; // it is fixable if we check for null and the type can't be undefined - return hasNullCheck && !hasUndefinedType; + return hasNullCheckWithoutTruthinessCheck && !hasUndefinedType; })(); - if (isFixable) { + if (isFixableWithPreferNullishOverTernary) { context.report({ node, messageId: 'preferNullishOverTernary', @@ -330,9 +384,9 @@ exports.default = (0, util_1.createRule)({ messageId: 'suggestNullish', data: { equals: '' }, fix(fixer) { - const [left, right] = operator === '===' || operator === '==' - ? [node.alternate, node.consequent] - : [node.consequent, node.alternate]; + const [left, right] = operator === '===' || operator === '==' || operator === '!' + ? [identifierOrMemberExpression, node.consequent] + : [identifierOrMemberExpression, node.alternate]; return fixer.replaceText(node, `${(0, util_1.getTextWithParentheses)(context.sourceCode, left)} ?? ${(0, util_1.getTextWithParentheses)(context.sourceCode, right)}`); }, }, @@ -341,11 +395,7 @@ exports.default = (0, util_1.createRule)({ } }, 'LogicalExpression[operator = "||"]'(node) { - if (ignoreBooleanCoercion === true && - isBooleanConstructorContext(node, context)) { - return; - } - checkAssignmentOrLogicalExpression(node, 'or', ''); + checkAndFixWithPreferNullishOverOr(node, 'or', ''); }, }; }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map index d37329c2d8..c4dad6ff28 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-nullish-coalescing.js","sourceRoot":"","sources":["../../src/rules/prefer-nullish-coalescing.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAYiB;AA0BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0FAA0F;YAC5F,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,kGAAkG;YACpG,mBAAmB,EACjB,mJAAmJ;YACrJ,wBAAwB,EACtB,wHAAwH;YAC1H,cAAc,EAAE,wDAAwD;SACzE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,qEAAqE;qBACxE;oBACD,6BAA6B,EAAE;wBAC7B,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,uGAAuG;qBAC1G;oBACD,gBAAgB,EAAE;wBAChB,WAAW,EACT,qFAAqF;wBACvF,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;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C,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC7C,sEAAsE;gBACtE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-nullish-coalescing.js","sourceRoot":"","sources":["../../src/rules/prefer-nullish-coalescing.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAaiB;AAEjB,MAAM,8BAA8B,GAAG,IAAA,oBAAa,EAAC;IACnD,sBAAc,CAAC,UAAU;IACzB,sBAAc,CAAC,gBAAgB;CACvB,CAAC,CAAC;AA0BZ,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,0FAA0F;YAC5F,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,iBAAiB,EACf,kGAAkG;YACpG,mBAAmB,EACjB,mJAAmJ;YACrJ,wBAAwB,EACtB,wHAAwH;YAC1H,cAAc,EAAE,wDAAwD;SACzE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,sDAAsD,EAAE;wBACtD,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,2KAA2K;qBAC9K;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,0DAA0D;qBAC7D;oBACD,sBAA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I,OAAO,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;gBAC9B,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC7C,sEAAsE;gBACtE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js index 6c28dca17a..9749fb038c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js @@ -138,6 +138,26 @@ exports.default = (0, util_1.createRule)({ nameNode: services.tsNodeToESTreeNodeMap.get(violatingNode.name), }; } + function getTypeAnnotationForViolatingNode(node, type, initializerType) { + const annotation = checker.typeToString(type); + // verify the about-to-be-added type annotation is in-scope + if (tsutils.isTypeFlagSet(initializerType, ts.TypeFlags.EnumLiteral)) { + const scope = context.sourceCode.getScope(node); + const variable = utils_1.ASTUtils.findVariable(scope, annotation); + if (variable == null) { + return null; + } + const definition = variable.defs.find(def => def.isTypeDefinition); + if (definition == null) { + return null; + } + const definitionType = services.getTypeAtLocation(definition.node); + if (definitionType !== type) { + return null; + } + } + return annotation; + } return { [`${functionScopeBoundaries}:exit`](node) { if (utils_1.ASTUtils.isConstructor(node)) { @@ -168,13 +188,45 @@ exports.default = (0, util_1.createRule)({ return { node: esNode }; } })(); + const typeAnnotation = (() => { + if (esNode.type !== utils_1.AST_NODE_TYPES.PropertyDefinition) { + return null; + } + if (esNode.typeAnnotation || !esNode.value) { + return null; + } + if (nameNode.type !== utils_1.AST_NODE_TYPES.Identifier) { + return null; + } + const hasConstructorModifications = finalizedClassScope.memberHasConstructorModifications(nameNode.name); + if (!hasConstructorModifications) { + return null; + } + const violatingType = services.getTypeAtLocation(esNode); + const initializerType = services.getTypeAtLocation(esNode.value); + // if the RHS is a literal, its type would be narrowed, while the + // type of the initializer (which isn't `readonly`) would be the + // widened type + if (initializerType === violatingType) { + return null; + } + if (!tsutils.isLiteralType(initializerType)) { + return null; + } + return getTypeAnnotationForViolatingNode(esNode, violatingType, initializerType); + })(); context.report({ ...reportNodeOrLoc, messageId: 'preferReadonly', data: { name: context.sourceCode.getText(nameNode), }, - fix: fixer => fixer.insertTextBefore(nameNode, 'readonly '), + *fix(fixer) { + yield fixer.insertTextBefore(nameNode, 'readonly '); + if (typeAnnotation) { + yield fixer.insertTextAfter(nameNode, `: ${typeAnnotation}`); + } + }, }); } }, @@ -210,6 +262,7 @@ class ClassScope { classType; constructorScopeDepth = OUTSIDE_CONSTRUCTOR; memberVariableModifications = new Set(); + memberVariableWithConstructorModifications = new Set(); privateModifiableMembers = new Map(); privateModifiableStatics = new Map(); staticVariableModifications = new Set(); @@ -250,6 +303,7 @@ class ClassScope { const relationOfModifierTypeToClass = this.getTypeToClassRelation(modifierType); if (relationOfModifierTypeToClass === TypeToClassRelation.Instance && this.constructorScopeDepth === DIRECTLY_INSIDE_CONSTRUCTOR) { + this.memberVariableWithConstructorModifications.add(node.name.text); return; } if (relationOfModifierTypeToClass === TypeToClassRelation.Instance || @@ -332,5 +386,8 @@ class ClassScope { } return TypeToClassRelation.Instance; } + memberHasConstructorModifications(name) { + return this.memberVariableWithConstructorModifications.has(name); + } } //# sourceMappingURL=prefer-readonly.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map index 1e2541c01e..e8f0813fc0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-readonly.js","sourceRoot":"","sources":["../../src/rules/prefer-readonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AACjB,+DAGkC;AASlC,MAAM,uBAAuB,GAAG;IAC9B,sBAAc,CAAC,uBAAuB;IACtC,sBAAc,CAAC,mBAAmB;IAClC,sBAAc,CAAC,kBAAkB;IACjC,sBAAc,CAAC,gBAAgB;CAChC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,yGAAyG;YAC3G,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EACZ,+DAA+D;SAClE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,iBAAiB,EAAE;wBACjB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,mFAAmF;qBACtF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC;QACrC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAiB,EAAE,CAAC;QAEzC,SAAS,8BAA8B,CACrC,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AAE,CAAC;YACpE,OAAO,mBAAmB,CAAC,IAAI,CAAC;QAClC,CAAC;QAED,MAAM,WAAW,GACf,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;YAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAE1D,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,mBAAmB,CAAC,KAAK,CAAC;QACnC,CAAC;QAED,OAAO,mBAAmB,CAAC,QAAQ,CAAC;IACtC,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"prefer-readonly.js","sourceRoot":"","sources":["../../src/rules/prefer-readonly.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AACjB,+DAGkC;AASlC,MAAM,uBAAuB,GAAG;IAC9B,sBAAc,CAAC,uBAAuB;IACtC,sBAAc,CAAC,mBAAmB;IAClC,sBAAc,CAAC,kBAAkB;IACjC,sBAAc,CAAC,gBAAgB;CAChC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,yGAAyG;YAC3G,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EACZ,+DAA+D;SAClE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,iBAAiB,EAAE;wBACjB,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,mFAAmF;qBACtF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC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mBAAmB,CAAC,IAAI,CAAC;QAClC,CAAC;QAED,MAAM,WAAW,GACf,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;YAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAE1D,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,mBAAmB,CAAC,KAAK,CAAC;QACnC,CAAC;QAED,OAAO,mBAAmB,CAAC,QAAQ,CAAC;IACtC,CAAC;IAEM,iCAAiC,CAAC,IAAY;QACnD,OAAO,IAAI,CAAC,0CAA0C,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;CACF"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js new file mode 100644 index 0000000000..0c96475dd0 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js @@ -0,0 +1,17 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getValueOfLiteralType = void 0; +const valueIsPseudoBigInt = (value) => { + return typeof value === 'object'; +}; +const pseudoBigIntToBigInt = (value) => { + return BigInt((value.negative ? '-' : '') + value.base10Value); +}; +const getValueOfLiteralType = (type) => { + if (valueIsPseudoBigInt(type.value)) { + return pseudoBigIntToBigInt(type.value); + } + return type.value; +}; +exports.getValueOfLiteralType = getValueOfLiteralType; +//# sourceMappingURL=getValueOfLiteralType.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js.map new file mode 100644 index 0000000000..a00c40abb7 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getValueOfLiteralType.js","sourceRoot":"","sources":["../../src/util/getValueOfLiteralType.ts"],"names":[],"mappings":";;;AAEA,MAAM,mBAAmB,GAAG,CAC1B,KAAwC,EACd,EAAE;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,KAAsB,EAAU,EAAE;IAC9D,OAAO,MAAM,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;AACjE,CAAC,CAAC;AAEK,MAAM,qBAAqB,GAAG,CACnC,IAAoB,EACM,EAAE;IAC5B,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAPW,QAAA,qBAAqB,yBAOhC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js index 42a74159ad..8214b47cd2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js @@ -40,6 +40,8 @@ __exportStar(require("./needsToBeAwaited"), exports); __exportStar(require("./scopeUtils"), exports); __exportStar(require("./types"), exports); __exportStar(require("./getConstraintInfo"), exports); +__exportStar(require("./getValueOfLiteralType"), exports); +__exportStar(require("./truthinessAndNullishUtils"), exports); // this is done for convenience - saves migrating all of the old rules __exportStar(require("@typescript-eslint/type-utils"), exports); exports.applyDefault = utils_1.ESLintUtils.applyDefault, exports.deepMerge = utils_1.ESLintUtils.deepMerge, exports.getParserServices = utils_1.ESLintUtils.getParserServices, exports.isObjectNotArray = utils_1.ESLintUtils.isObjectNotArray, exports.nullThrows = utils_1.ESLintUtils.nullThrows, exports.NullThrowsReasons = utils_1.ESLintUtils.NullThrowsReasons; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map index 5f9fe1914e..7acefad5e3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,mEAAiD;AACjD,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,oDAAkC;AAClC,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB;AACxB,sDAAoC;AAEpC,sEAAsE;AACtE,gEAA8C;AAG5C,oBAAY,GAMV,mBAAW,eALb,iBAAS,GAKP,mBAAW,YAJb,yBAAiB,GAIf,mBAAW,oBAHb,wBAAgB,GAGd,mBAAW,mBAFb,kBAAU,GAER,mBAAW,aADb,yBAAiB,GACf,mBAAW,mBAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,mEAAiD;AACjD,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,oDAAkC;AAClC,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB;AACxB,sDAAoC;AACpC,0DAAwC;AACxC,8DAA4C;AAE5C,sEAAsE;AACtE,gEAA8C;AAG5C,oBAAY,GAMV,mBAAW,eALb,iBAAS,GAKP,mBAAW,YAJb,yBAAiB,GAIf,mBAAW,oBAHb,wBAAgB,GAGd,mBAAW,mBAFb,kBAAU,GAER,mBAAW,aADb,yBAAiB,GACf,mBAAW,mBAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js new file mode 100644 index 0000000000..a4bf84ff8c --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js @@ -0,0 +1,68 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (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 () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isAlwaysNullish = exports.isPossiblyNullish = exports.isPossiblyTruthy = exports.isPossiblyFalsy = void 0; +const tsutils = __importStar(require("ts-api-utils")); +const ts = __importStar(require("typescript")); +const getValueOfLiteralType_1 = require("./getValueOfLiteralType"); +// Truthiness utilities +const isTruthyLiteral = (type) => tsutils.isTrueLiteralType(type) || + (type.isLiteral() && !!(0, getValueOfLiteralType_1.getValueOfLiteralType)(type)); +const isPossiblyFalsy = (type) => tsutils + .unionTypeParts(type) + // Intersections like `string & {}` can also be possibly falsy, + // requiring us to look into the intersection. + .flatMap(type => tsutils.intersectionTypeParts(type)) + // PossiblyFalsy flag includes literal values, so exclude ones that + // are definitely truthy + .filter(t => !isTruthyLiteral(t)) + .some(type => tsutils.isTypeFlagSet(type, ts.TypeFlags.PossiblyFalsy)); +exports.isPossiblyFalsy = isPossiblyFalsy; +const isPossiblyTruthy = (type) => tsutils + .unionTypeParts(type) + .map(type => tsutils.intersectionTypeParts(type)) + .some(intersectionParts => +// It is possible to define intersections that are always falsy, +// like `"" & { __brand: string }`. +intersectionParts.every(type => !tsutils.isFalsyType(type))); +exports.isPossiblyTruthy = isPossiblyTruthy; +// Nullish utilities +const nullishFlag = ts.TypeFlags.Undefined | ts.TypeFlags.Null; +const isNullishType = (type) => tsutils.isTypeFlagSet(type, nullishFlag); +const isPossiblyNullish = (type) => tsutils.unionTypeParts(type).some(isNullishType); +exports.isPossiblyNullish = isPossiblyNullish; +const isAlwaysNullish = (type) => tsutils.unionTypeParts(type).every(isNullishType); +exports.isAlwaysNullish = isAlwaysNullish; +//# sourceMappingURL=truthinessAndNullishUtils.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js.map new file mode 100644 index 0000000000..edf93ccad6 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessAndNullishUtils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"truthinessAndNullishUtils.js","sourceRoot":"","sources":["../../src/util/truthinessAndNullishUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,+CAAiC;AAEjC,mEAAgE;AAEhE,uBAAuB;AACvB,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC/B,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,IAAA,6CAAqB,EAAC,IAAI,CAAC,CAAC,CAAC;AAE/C,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACxD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;IACrB,+DAA+D;IAC/D,8CAA8C;KAC7C,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,wBAAwB;KACvB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;KAChC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;AAT9D,QAAA,eAAe,mBAS+C;AAEpE,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAW,EAAE,CACzD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;KACpB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;KAChD,IAAI,CAAC,iBAAiB,CAAC,EAAE;AACxB,gEAAgE;AAChE,mCAAmC;AACnC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAC5D,CAAC;AARO,QAAA,gBAAgB,oBAQvB;AAEN,oBAAoB;AACpB,MAAM,WAAW,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;AAC/D,MAAM,aAAa,GAAG,CAAC,IAAa,EAAW,EAAE,CAC/C,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAEpC,MAAM,iBAAiB,GAAG,CAAC,IAAa,EAAW,EAAE,CAC1D,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AADtC,QAAA,iBAAiB,qBACqB;AAE5C,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACxD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AADvC,QAAA,eAAe,mBACwB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx index 3f7dc32004..4ff5054917 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx @@ -107,8 +107,8 @@ The rule will **_not_** report any errors in files _that contain decorators_ whe > See [Blog > Changes to consistent-type-imports when used with legacy decorators and decorator metadata](/blog/changes-to-consistent-type-imports-with-decorators) for more details. -If you are using [type-aware linting](https://typescript-eslint.io/linting/typed-linting) then we will automatically infer your setup from your tsconfig and you should not need to configure anything. -Otherwise you can explicitly tell our tooling to analyze your code as if the compiler option was turned on by setting both [`parserOptions.emitDecoratorMetadata = true`](https://typescript-eslint.io/packages/parser/#emitdecoratormetadata) and [`parserOptions.experimentalDecorators = true`](https://typescript-eslint.io/packages/parser/#experimentaldecorators). +If you are using [type-aware linting](/getting-started/typed-linting) then we will automatically infer your setup from your tsconfig and you should not need to configure anything. +Otherwise you can explicitly tell our tooling to analyze your code as if the compiler option was turned on by setting both [`parserOptions.emitDecoratorMetadata = true`](/packages/parser/#emitdecoratormetadata) and [`parserOptions.experimentalDecorators = true`](/packages/parser/#experimentaldecorators). ## Comparison with `importsNotUsedAsValues` / `verbatimModuleSyntax` diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.mdx index 33b382920b..f0c8c20c6d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.mdx @@ -162,6 +162,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates ## Related To +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) - [`no-unsafe-argument`](./no-unsafe-argument.mdx) - [`no-unsafe-assignment`](./no-unsafe-assignment.mdx) - [`no-unsafe-call`](./no-unsafe-call.mdx) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.mdx index 8e7ca864a8..7a4928f491 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.mdx @@ -135,8 +135,15 @@ declare module 'foo' {} ## When Not To Use It -If your project was architected before modern modules and namespaces, it may be difficult to migrate off of namespaces. +If your project uses TypeScript's CommonJS export syntax (`export = ...`), you may need to use namespaces in order to export types from your module. +You can learn more about this at: + +- [TypeScript#52203](https://github.com/microsoft/TypeScript/pull/52203), the pull request introducing [`verbatimModuleSyntax`](https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax) +- [TypeScript#60852](https://github.com/microsoft/TypeScript/issues/60852), an issue requesting syntax to export types from a CommonJS module. + +If your project uses this syntax, either because it was architected before modern modules and namespaces, or because a module option such as `verbatimModuleSyntax` requires it, it may be difficult to migrate off of namespaces. In that case you may not be able to use this rule for parts of your project. + You might consider using [ESLint disable comments](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) for those specific situations instead of completely disabling this rule. ## Further Reading @@ -144,6 +151,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates {/* cspell:disable-next-line */} - [FAQ: I get errors from the `@typescript-eslint/no-namespace` and/or `no-var` rules about declaring global variables](/troubleshooting/faqs/eslint#i-get-errors-from-the-typescript-eslintno-namespace-andor-no-var-rules-about-declaring-global-variables) -- [Modules](https://www.typescriptlang.org/docs/handbook/modules.html) -- [Namespaces](https://www.typescriptlang.org/docs/handbook/namespaces.html) -- [Namespaces and Modules](https://www.typescriptlang.org/docs/handbook/namespaces-and-modules.html) +- [FAQ: How should I handle reports that conflict with verbatimModuleSyntax?](/troubleshooting/faqs/typescript#how-should-i-handle-reports-that-conflict-with-verbatimmodulesyntax) +- [TypeScript handbook entry on Modules](https://www.typescriptlang.org/docs/handbook/modules.html) +- [TypeScript handbook entry on Namespaces](https://www.typescriptlang.org/docs/handbook/namespaces.html) +- [TypeScript handbook entry on Namespaces and Modules](https://www.typescriptlang.org/docs/handbook/namespaces-and-modules.html) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.mdx index 1d4fd9ea7b..1d82851b1e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.mdx @@ -9,7 +9,9 @@ import TabItem from '@theme/TabItem'; > > See **https://typescript-eslint.io/rules/no-require-imports** for documentation. -Prefer the newer ES6-style imports over `require()`. +Depending on your TSConfig settings and whether you're authoring ES Modules or CommonJS, TS may allow both `import` and `require()` to be used, even within a single file. + +This rule enforces that you use the newer ES Module `import` syntax over CommonJS `require()`. ## Examples @@ -42,7 +44,7 @@ import * as lib3 from 'lib3'; These strings will be compiled into regular expressions with the `u` flag and be used to test against the imported path. A common use case is to allow importing `package.json`. This is because `package.json` commonly lives outside of the TS root directory, so statically importing it would lead to root directory conflicts, especially with `resolveJsonModule` enabled. You can also use it to allow importing any JSON if your environment doesn't support JSON modules, or use it for other cases where `import` statements cannot work. -With `{allow: ['/package\\.json$']}`: +With `{ allow: ['/package\\.json$'] }`: @@ -66,9 +68,9 @@ console.log(require('../package.json').version); {/* insert option description */} When set to `true`, `import ... = require(...)` declarations won't be reported. -This is useful if you use certain module options that require strict CommonJS interop semantics. +This is beneficial if you use certain module options that require strict CommonJS interop semantics, such as [verbatimModuleSyntax](https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax). -With `{allowAsImport: true}`: +With `{ allowAsImport: true }`: @@ -90,10 +92,22 @@ import foo from 'foo'; +## Usage with CommonJS + +While this rule is primarily intended to promote ES Module syntax, it still makes sense to enable this rule when authoring CommonJS modules. + +If you prefer to use TypeScript's built-in `import ... from ...` ES Module syntax, which is transformed to `require()` calls during transpilation when outputting CommonJS, you can use the rule's default behavior. + +If, instead, you prefer to use `require()` syntax, we recommend you use this rule with [`allowAsImport`](#allowAsImport) enabled. +That way, you still enforce usage of `import ... = require(...)` rather than bare `require()` calls, which are not statically analyzed by TypeScript. +We don't directly a way to _prohibit_ ES Module syntax from being used; consider instead using TypeScript's [`verbatimModuleSyntax`](https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax) option if you find yourself in a situation where you would want this. + ## When Not To Use It -If your project frequently uses older CommonJS `require`s, then this rule might not be applicable to you. -If only a subset of your project uses `require`s then you might consider using [ESLint disable comments](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) for those specific situations instead of completely disabling this rule. +If you are authoring CommonJS modules _and_ your project frequently uses dynamic `require`s, then this rule might not be applicable to you. +Otherwise the `allowAsImport` option probably suits your needs. + +If only a subset of your project uses dynamic `require`s then you might consider using [ESLint disable comments](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) for those specific situations instead of completely disabling this rule. ## Related To diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx index 1fe39d412d..c720652ebf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx @@ -28,6 +28,8 @@ The new name is a drop-in replacement with identical functionality. const ab1 = `${'a'}${'b'}`; const ab2 = `a${'b'}`; +type AB1 = `${'A'}${'B'}`; +type AB2 = `A${'B'}`; const stringWithNumber = `${'1 + 1 = '}${2}`; @@ -38,9 +40,13 @@ const stringWithBoolean = `${'true is '}${true}`; const text = 'a'; const wrappedText = `${text}`; +type Text = 'A'; +type WrappedText = `${Text}`; declare const intersectionWithString: string & { _brand: 'test-brand' }; const wrappedIntersection = `${intersectionWithString}`; +type IntersectionWithString = string & { _brand: 'test-brand' }; +type WrappedIntersection = `${IntersectionWithString}`; ``` @@ -51,6 +57,15 @@ const wrappedIntersection = `${intersectionWithString}`; const ab1 = `ab`; const ab2 = `ab`; +type AB = `AB`; + +// Transforming enum members into string unions using template literals is allowed. +enum ABC { + A = 'A', + B = 'B', + C = 'C', +} +type ABCUnion = `${ABC}`; const stringWithNumber = `1 + 1 = 2`; @@ -61,9 +76,13 @@ const stringWithBoolean = `true is true`; const text = 'a'; const wrappedText = text; +type Text = 'A'; +type WrappedText = Text; declare const intersectionWithString: string & { _brand: 'test-brand' }; const wrappedIntersection = intersectionWithString; +type IntersectionWithString = string & { _brand: 'test-brand' }; +type WrappedIntersection = IntersectionWithString; ``` diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.mdx index 696bc4c551..09b98cb29e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.mdx @@ -90,6 +90,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates ## Related To +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) - [`no-explicit-any`](./no-explicit-any.mdx) - [`no-unsafe-assignment`](./no-unsafe-assignment.mdx) - [`no-unsafe-call`](./no-unsafe-call.mdx) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.mdx index 84a1d0ee47..dceab88bb8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.mdx @@ -93,6 +93,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates ## Related To +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) - [`no-explicit-any`](./no-explicit-any.mdx) - [`no-unsafe-argument`](./no-unsafe-argument.mdx) - [`no-unsafe-call`](./no-unsafe-call.mdx) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.mdx index 540d464de8..961749b62e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.mdx @@ -112,6 +112,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates ## Related To +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) - [`no-explicit-any`](./no-explicit-any.mdx) - [`no-unsafe-argument`](./no-unsafe-argument.mdx) - [`no-unsafe-assignment`](./no-unsafe-assignment.mdx) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-function-type.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-function-type.mdx index ee1a84395d..e6cd3a03c1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-function-type.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-function-type.mdx @@ -58,6 +58,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates ## Related To +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) - [`no-empty-object-type`](./no-empty-object-type.mdx) - [`no-restricted-types`](./no-restricted-types.mdx) - [`no-unsafe-call`](./no-unsafe-call.mdx) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.mdx index 4b41fb56ba..2f1eb0edbf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.mdx @@ -73,6 +73,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates ## Related To +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) - [`no-explicit-any`](./no-explicit-any.mdx) - [`no-unsafe-argument`](./no-unsafe-argument.mdx) - [`no-unsafe-assignment`](./no-unsafe-assignment.mdx) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx index 74e86e07e1..013c14b31d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx @@ -118,6 +118,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates ## Related To +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) - [`no-explicit-any`](./no-explicit-any.mdx) - [`no-unsafe-argument`](./no-unsafe-argument.mdx) - [`no-unsafe-assignment`](./no-unsafe-assignment.mdx) diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.mdx index 0e4fab226a..01a8a62012 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.mdx @@ -12,7 +12,11 @@ import TabItem from '@theme/TabItem'; This rule extends the base [`eslint/no-unused-vars`](https://eslint.org/docs/rules/no-unused-vars) rule. It adds support for TypeScript features, such as types. -## Benefits Over TypeScript +## Options + +## FAQs + +### What benefits does this rule have over TypeScript? TypeScript provides [`noUnusedLocals`](https://www.typescriptlang.org/tsconfig#noUnusedLocals) and [`noUnusedParameters`](https://www.typescriptlang.org/tsconfig#noUnusedParameters) compiler options that can report errors on unused local variables or parameters, respectively. Those compiler options can be convenient to use if you don't want to set up ESLint and typescript-eslint. @@ -52,3 +56,66 @@ Also see similar rules provided by ESLint: - [`no-unused-private-class-members`](https://eslint.org/docs/latest/rules/no-unused-private-class-members) - [`no-unused-labels`](https://eslint.org/docs/latest/rules/no-unused-labels) + +### Why does this rule report variables used only for types? + +This rule does not count type-only uses when determining whether a variable is used. +Declaring variables only to use them for types adds code and runtime complexity. +The variables are never actually used at runtime. +They can be misleading to readers of the code. + + + + + +For example, if a variable is only used for `typeof`, this rule will report: + +```ts +const box = { + // ~~~ + // 'box' is assigned a value but only used as a type. + value: 123, +}; + +export type Box = typeof box; +``` + +Instead, it's often cleaner and less code to write out the types directly: + +```ts +export interface Box { + value: number; +} +``` + + + + + +For example, if a Zod schema variable is only used for `typeof`, this rule will report: + +```ts +import { z } from 'zod'; + +const schema = z.object({ + // ~~~~~~ + // 'schema' is assigned a value but only used as a type. + value: z.number(), +}); + +export type Box = z.infer; +``` + +Instead, it's often cleaner and less code to write out the types directly: + +```ts +export interface Box { + value: number; +} +``` + + + + + +If you find yourself writing runtime values only for types, consider refactoring your code to declare types directly. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx index d5742e1a87..be44bfe11d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx @@ -16,6 +16,7 @@ This rule reports when you may consider replacing: - An `||` operator with `??` - An `||=` operator with `??=` +- Ternary expressions (`?:`) that are equivalent to `||` or `??` with `??` :::caution This rule will not work as expected if [`strictNullChecks`](https://www.typescriptlang.org/tsconfig#strictNullChecks) is not enabled. @@ -42,7 +43,9 @@ foo === undefined ? 'a string' : foo; const foo: string | null = 'bar'; foo !== null ? foo : 'a string'; +foo ? foo : 'a string'; foo === null ? 'a string' : foo; +!foo ? 'a string' : foo; ``` Correct code for `ignoreTernaryTests: false`: @@ -61,6 +64,8 @@ foo ?? 'a string'; const foo: string | null = 'bar'; foo ?? 'a string'; foo ?? 'a string'; +foo ?? 'a string'; +foo ?? 'a string'; ``` ### `ignoreConditionalTests` diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx index b7423b2d1d..72a1fd8665 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx @@ -91,3 +91,7 @@ For further reading on this, you may also want to look into If your codebase is not yet able to enable `useUnknownInCatchVariables`, it likely would be similarly difficult to enable this rule. If you have modified the global type declarations in order to make `then()` and `catch()` callbacks use the `unknown` type without an explicit type annotation, you do not need this rule. + +## Related To + +- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys) diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json index 451de1fb7b..c957046031 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.21.0", + "version": "8.22.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/typescript-estree": "8.22.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts index cb2f5eb3a0..98c88337c7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts @@ -51,6 +51,7 @@ export interface ParserOptions { experimentalDecorators?: boolean; extraFileExtensions?: string[]; filePath?: string; + isolatedDeclarations?: boolean; jsDocParsingMode?: JSDocParsingMode; jsxFragmentName?: string | null; jsxPragma?: string | null; diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map index 2c9b2b945a..b049b68e67 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH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E,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C"} \ No newline at end of file +{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO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AE,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json index 703d1f50b7..c6c8359d15 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.21.0", + "version": "8.22.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map index 69157f2614..2cdc2b585f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createParserServices.d.ts","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,IAAI,GACzB,cAAc,CA2BhB"} \ No newline at end of file +{"version":3,"file":"createParserServices.d.ts","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,IAAI,GACzB,cAAc,CA6BhB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js index 2c5e60c8d2..028cfc78f9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js @@ -6,6 +6,7 @@ function createParserServices(astMaps, program) { return { emitDecoratorMetadata: undefined, experimentalDecorators: undefined, + isolatedDeclarations: undefined, program, // we always return the node maps because // (a) they don't require type info and @@ -20,6 +21,7 @@ function createParserServices(astMaps, program) { // not set in the config is the same as off emitDecoratorMetadata: compilerOptions.emitDecoratorMetadata ?? false, experimentalDecorators: compilerOptions.experimentalDecorators ?? false, + isolatedDeclarations: compilerOptions.isolatedDeclarations ?? false, ...astMaps, getSymbolAtLocation: node => checker.getSymbolAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)), getTypeAtLocation: node => checker.getTypeAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)), diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map index 54a84fefd4..b2e440f068 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map @@ -1 +1 @@ -{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;AAKA,oDA8BC;AA9BD,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,qBAAqB,EAAE,SAAS;YAChC,sBAAsB,EAAE,SAAS;YACjC,OAAO;YACP,yCAAyC;YACzC,uCAAuC;YACvC,mFAAmF;YACnF,GAAG,OAAO;SACX,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAErD,OAAO;QACL,OAAO;QACP,2CAA2C;QAC3C,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,IAAI,KAAK;QACrE,sBAAsB,EAAE,eAAe,CAAC,sBAAsB,IAAI,KAAK;QACvE,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;AAKA,oDAgCC;AAhCD,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,qBAAqB,EAAE,SAAS;YAChC,sBAAsB,EAAE,SAAS;YACjC,oBAAoB,EAAE,SAAS;YAC/B,OAAO;YACP,yCAAyC;YACzC,uCAAuC;YACvC,mFAAmF;YACnF,GAAG,OAAO;SACX,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAErD,OAAO;QACL,OAAO;QACP,2CAA2C;QAC3C,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,IAAI,KAAK;QACrE,sBAAsB,EAAE,eAAe,CAAC,sBAAsB,IAAI,KAAK;QACvE,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,IAAI,KAAK;QACnE,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts index 307ab20bce..3136639bf0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts @@ -189,6 +189,7 @@ export interface ParserWeakMapESTreeToTSNode checker.getSymbolAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)), getTypeAtLocation: node => checker.getTypeAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)), diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map index 54a84fefd4..b2e440f068 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map @@ -1 +1 @@ -{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;AAKA,oDA8BC;AA9BD,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,qBAAqB,EAAE,SAAS;YAChC,sBAAsB,EAAE,SAAS;YACjC,OAAO;YACP,yCAAyC;YACzC,uCAAuC;YACvC,mFAAmF;YACnF,GAAG,OAAO;SACX,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAErD,OAAO;QACL,OAAO;QACP,2CAA2C;QAC3C,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,IAAI,KAAK;QACrE,sBAAsB,EAAE,eAAe,CAAC,sBAAsB,IAAI,KAAK;QACvE,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;AAKA,oDAgCC;AAhCD,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,qBAAqB,EAAE,SAAS;YAChC,sBAAsB,EAAE,SAAS;YACjC,oBAAoB,EAAE,SAAS;YAC/B,OAAO;YACP,yCAAyC;YACzC,uCAAuC;YACvC,mFAAmF;YACnF,GAAG,OAAO;SACX,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAErD,OAAO;QACL,OAAO;QACP,2CAA2C;QAC3C,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,IAAI,KAAK;QACrE,sBAAsB,EAAE,eAAe,CAAC,sBAAsB,IAAI,KAAK;QACvE,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,IAAI,KAAK;QACnE,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts index 307ab20bce..3136639bf0 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts @@ -189,6 +189,7 @@ export interface ParserWeakMapESTreeToTSNode=4.8.4 <5.8.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.21.0", - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/typescript-estree": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts.map b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts.map index 2a0a12a52a..79548e164d 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TypeOrValueSpecifier.d.ts","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAStC;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,KAAK,CAAC;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAC5B,MAAM,GACN,aAAa,GACb,YAAY,GACZ,gBAAgB,CAAC;AAErB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6FR,CAAC;AAEjC,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,oBAAoB,EAC/B,OAAO,EAAE,EAAE,CAAC,OAAO,GAClB,OAAO,CA4BT;AAED,eAAO,MAAM,wBAAwB,SAC7B,EAAE,CAAC,IAAI,cACD,oBAAoB,EAAE,uBACzB,EAAE,CAAC,OAAO,KAClB,OAC2E,CAAC"} \ No newline at end of file +{"version":3,"file":"TypeOrValueSpecifier.d.ts","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAStC;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,KAAK,CAAC;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAC5B,MAAM,GACN,aAAa,GACb,YAAY,GACZ,gBAAgB,CAAC;AAErB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6FR,CAAC;AAEjC,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,SAAS,EAAE,oBAAoB,EAC/B,OAAO,EAAE,EAAE,CAAC,OAAO,GAClB,OAAO,CA6CT;AAED,eAAO,MAAM,wBAAwB,SAC7B,EAAE,CAAC,IAAI,cACD,oBAAoB,EAAE,uBACzB,EAAE,CAAC,OAAO,KAClB,OAC2E,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js index a504970875..15f604bf8c 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +++ b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js @@ -135,26 +135,38 @@ exports.typeOrValueSpecifiersSchema = { type: 'array', }; function typeMatchesSpecifier(type, specifier, program) { - if (tsutils.isIntrinsicErrorType(type)) { - return false; + const wholeTypeMatches = (() => { + if (tsutils.isIntrinsicErrorType(type)) { + return false; + } + if (typeof specifier === 'string') { + return (0, specifierNameMatches_1.specifierNameMatches)(type, specifier); + } + if (!(0, specifierNameMatches_1.specifierNameMatches)(type, specifier.name)) { + return false; + } + const symbol = type.getSymbol() ?? type.aliasSymbol; + const declarations = symbol?.getDeclarations() ?? []; + const declarationFiles = declarations.map(declaration => declaration.getSourceFile()); + switch (specifier.from) { + case 'file': + return (0, typeDeclaredInFile_1.typeDeclaredInFile)(specifier.path, declarationFiles, program); + case 'lib': + return (0, typeDeclaredInLib_1.typeDeclaredInLib)(declarationFiles, program); + case 'package': + return (0, typeDeclaredInPackageDeclarationFile_1.typeDeclaredInPackageDeclarationFile)(specifier.package, declarations, declarationFiles, program); + } + })(); + if (wholeTypeMatches) { + return true; } - if (typeof specifier === 'string') { - return (0, specifierNameMatches_1.specifierNameMatches)(type, specifier); - } - if (!(0, specifierNameMatches_1.specifierNameMatches)(type, specifier.name)) { - return false; - } - const symbol = type.getSymbol() ?? type.aliasSymbol; - const declarations = symbol?.getDeclarations() ?? []; - const declarationFiles = declarations.map(declaration => declaration.getSourceFile()); - switch (specifier.from) { - case 'file': - return (0, typeDeclaredInFile_1.typeDeclaredInFile)(specifier.path, declarationFiles, program); - case 'lib': - return (0, typeDeclaredInLib_1.typeDeclaredInLib)(declarationFiles, program); - case 'package': - return (0, typeDeclaredInPackageDeclarationFile_1.typeDeclaredInPackageDeclarationFile)(specifier.package, declarations, declarationFiles, program); + if (tsutils.isIntersectionType(type) && + tsutils + .intersectionTypeParts(type) + .some(part => typeMatchesSpecifier(part, specifier, program))) { + return true; } + return false; } const typeMatchesSomeSpecifier = (type, specifiers = [], program) => specifiers.some(specifier => typeMatchesSpecifier(type, specifier, program)); exports.typeMatchesSomeSpecifier = typeMatchesSomeSpecifier; diff --git a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map index 3b64aecbd2..aca400f704 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map @@ -1 +1 @@ -{"version":3,"file":"TypeOrValueSpecifier.js","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoKA,oDAgCC;AAjMD,sDAAwC;AAExC,uFAAoF;AACpF,mFAAgF;AAChF,iFAA8E;AAC9E,uHAAoH;AA6DvG,QAAA,2BAA2B,GAAG;IACzC,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC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CACtC,IAAa,EACb,aAAqC,EAAE,EACvC,OAAmB,EACV,EAAE,CACX,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AALlE,QAAA,wBAAwB,4BAK0C"} \ No newline at end of file +{"version":3,"file":"TypeOrValueSpecifier.js","sourceRoot":"","sources":["../src/TypeOrValueSpecifier.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoKA,oDAiDC;AAlND,sDAAwC;AAExC,uFAAoF;AACpF,mFAAgF;AAChF,iFAA8E;AAC9E,uHAAoH;AA6DvG,QAAA,2BAA2B,GAAG;IACzC,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,MAAM,CAAC;wBACd,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,KAAK,EAAE;oCACL,IAAI,EAAE,QAAQ;iCACf;gCACD,QAAQ,EAAE,CAAC;gCACX,IAAI,EAAE,OAAO;gCACb,WAAW,EAAE,IAAI;6BAClB;yBACF;qBACF;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC1B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,KAAK,CAAC;wBACb,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;6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end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.d.ts.map b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.d.ts.map index b206a4d23e..271cfb7ad0 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"specifierNameMatches.d.ts","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/specifierNameMatches.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GACvB,OAAO,CAmBT"} \ No newline at end of file +{"version":3,"file":"specifierNameMatches.d.ts","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/specifierNameMatches.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GACvB,OAAO,CAeT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js index ec3730035b..0d305a2583 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js @@ -1,40 +1,6 @@ "use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (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 () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.specifierNameMatches = specifierNameMatches; -const tsutils = __importStar(require("ts-api-utils")); function specifierNameMatches(type, names) { if (typeof names === 'string') { names = [names]; @@ -46,9 +12,6 @@ function specifierNameMatches(type, names) { if (names.some(item => candidateNames.includes(item))) { return true; } - if (tsutils.isIntersectionType(type)) { - return type.types.some(subType => specifierNameMatches(subType, names)); - } return false; } //# sourceMappingURL=specifierNameMatches.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map index 37726a7a2c..1351dedce4 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js.map @@ -1 +1 @@ -{"version":3,"file":"specifierNameMatches.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/specifierNameMatches.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAsBC;AAxBD,sDAAwC;AAExC,SAAgB,oBAAoB,CAClC,IAAa,EACb,KAAwB;IAExB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;IACpD,MAAM,cAAc,GAAG,MAAM;QAC3B,CAAC,CAAC,CAAC,MAAM,CAAC,WAAqB,EAAE,IAAI,CAAC,aAAa,CAAC;QACpD,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAEzB,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,oBAAoB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"specifierNameMatches.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/specifierNameMatches.ts"],"names":[],"mappings":";;AAEA,oDAkBC;AAlBD,SAAgB,oBAAoB,CAClC,IAAa,EACb,KAAwB;IAExB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;IACpD,MAAM,cAAc,GAAG,MAAM;QAC3B,CAAC,CAAC,CAAC,MAAM,CAAC,WAAqB,EAAE,IAAI,CAAC,aAAa,CAAC;QACpD,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAEzB,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json index 451de1fb7b..c957046031 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.21.0", + "version": "8.22.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.21.0", - "@typescript-eslint/visitor-keys": "8.21.0" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/typescript-estree": "8.22.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts index cb2f5eb3a0..98c88337c7 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts @@ -51,6 +51,7 @@ export interface ParserOptions { experimentalDecorators?: boolean; extraFileExtensions?: string[]; filePath?: string; + isolatedDeclarations?: boolean; jsDocParsingMode?: JSDocParsingMode; jsxFragmentName?: string | null; jsxPragma?: string | null; diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map index 2c9b2b945a..b049b68e67 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,iBAAi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5B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C"} \ No newline at end of file +{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,CAAC,QAAQ,GAAG,YAAY,GAAG,mBAAmB,CAAC,EAAE,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,CAA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AAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json index 703d1f50b7..c6c8359d15 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.21.0", + "version": "8.22.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map index 69157f2614..2cdc2b585f 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createParserServices.d.ts","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,IAAI,GACzB,cAAc,CA2BhB"} \ No newline at end of file +{"version":3,"file":"createParserServices.d.ts","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,IAAI,GACzB,cAAc,CA6BhB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js index 2c5e60c8d2..028cfc78f9 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js @@ -6,6 +6,7 @@ function createParserServices(astMaps, program) { return { emitDecoratorMetadata: undefined, experimentalDecorators: undefined, + isolatedDeclarations: undefined, program, // we always return the node maps because // (a) they don't require type info and @@ -20,6 +21,7 @@ function createParserServices(astMaps, program) { // not set in the config is the same as off emitDecoratorMetadata: compilerOptions.emitDecoratorMetadata ?? false, experimentalDecorators: compilerOptions.experimentalDecorators ?? false, + isolatedDeclarations: compilerOptions.isolatedDeclarations ?? false, ...astMaps, getSymbolAtLocation: node => checker.getSymbolAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)), getTypeAtLocation: node => checker.getTypeAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)), diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map index 54a84fefd4..b2e440f068 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map @@ -1 +1 @@ -{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;AAKA,oDA8BC;AA9BD,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,qBAAqB,EAAE,SAAS;YAChC,sBAAsB,EAAE,SAAS;YACjC,OAAO;YACP,yCAAyC;YACzC,uCAAuC;YACvC,mFAAmF;YACnF,GAAG,OAAO;SACX,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAErD,OAAO;QACL,OAAO;QACP,2CAA2C;QAC3C,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,IAAI,KAAK;QACrE,sBAAsB,EAAE,eAAe,CAAC,sBAAsB,IAAI,KAAK;QACvE,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;AAKA,oDAgCC;AAhCD,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,qBAAqB,EAAE,SAAS;YAChC,sBAAsB,EAAE,SAAS;YACjC,oBAAoB,EAAE,SAAS;YAC/B,OAAO;YACP,yCAAyC;YACzC,uCAAuC;YACvC,mFAAmF;YACnF,GAAG,OAAO;SACX,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAErD,OAAO;QACL,OAAO;QACP,2CAA2C;QAC3C,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,IAAI,KAAK;QACrE,sBAAsB,EAAE,eAAe,CAAC,sBAAsB,IAAI,KAAK;QACvE,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,IAAI,KAAK;QACnE,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts index 307ab20bce..3136639bf0 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts @@ -189,6 +189,7 @@ export interface ParserWeakMapESTreeToTSNode { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + isNodeProcess: () => isNodeProcess +}); +module.exports = __toCommonJS(src_exports); +function isNodeProcess() { + if (typeof navigator !== "undefined" && navigator.product === "ReactNative") { + return true; + } + if (typeof process !== "undefined") { + const type = process.type; + if (type === "renderer" || type === "worker") { + return false; + } + return !!(process.versions && process.versions.node); + } + return false; +} +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + isNodeProcess +}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/is-node-process/lib/index.js.map b/node_modules/is-node-process/lib/index.js.map new file mode 100644 index 0000000000..d821ec24e5 --- /dev/null +++ b/node_modules/is-node-process/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Determines if the current process is a Node.js process.\n */\nexport function isNodeProcess(): boolean {\n if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n return true\n }\n\n if (typeof process !== 'undefined') {\n // Electron (https://www.electronjs.org/docs/latest/api/process#processtype-readonly)\n const type = (process as any).type\n if (type === 'renderer' || type === 'worker') {\n return false\n }\n\n\n return !!(\n process.versions &&\n process.versions.node\n )\n }\n\n return false\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,SAAS,gBAAyB;AACvC,MAAI,OAAO,cAAc,eAAe,UAAU,YAAY,eAAe;AAC3E,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,YAAY,aAAa;AAElC,UAAM,OAAQ,QAAgB;AAC9B,QAAI,SAAS,cAAc,SAAS,UAAU;AAC5C,aAAO;AAAA,IACT;AAGA,WAAO,CAAC,EACN,QAAQ,YACR,QAAQ,SAAS;AAAA,EAErB;AAEA,SAAO;AACT;","names":[]} \ No newline at end of file diff --git a/node_modules/is-node-process/lib/index.mjs b/node_modules/is-node-process/lib/index.mjs new file mode 100644 index 0000000000..b52bb5bea1 --- /dev/null +++ b/node_modules/is-node-process/lib/index.mjs @@ -0,0 +1,18 @@ +// src/index.ts +function isNodeProcess() { + if (typeof navigator !== "undefined" && navigator.product === "ReactNative") { + return true; + } + if (typeof process !== "undefined") { + const type = process.type; + if (type === "renderer" || type === "worker") { + return false; + } + return !!(process.versions && process.versions.node); + } + return false; +} +export { + isNodeProcess +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/is-node-process/lib/index.mjs.map b/node_modules/is-node-process/lib/index.mjs.map new file mode 100644 index 0000000000..bfdab80740 --- /dev/null +++ b/node_modules/is-node-process/lib/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Determines if the current process is a Node.js process.\n */\nexport function isNodeProcess(): boolean {\n if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n return true\n }\n\n if (typeof process !== 'undefined') {\n // Electron (https://www.electronjs.org/docs/latest/api/process#processtype-readonly)\n const type = (process as any).type\n if (type === 'renderer' || type === 'worker') {\n return false\n }\n\n\n return !!(\n process.versions &&\n process.versions.node\n )\n }\n\n return false\n}\n"],"mappings":";AAGO,SAAS,gBAAyB;AACvC,MAAI,OAAO,cAAc,eAAe,UAAU,YAAY,eAAe;AAC3E,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,YAAY,aAAa;AAElC,UAAM,OAAQ,QAAgB;AAC9B,QAAI,SAAS,cAAc,SAAS,UAAU;AAC5C,aAAO;AAAA,IACT;AAGA,WAAO,CAAC,EACN,QAAQ,YACR,QAAQ,SAAS;AAAA,EAErB;AAEA,SAAO;AACT;","names":[]} \ No newline at end of file diff --git a/node_modules/is-node-process/package.json b/node_modules/is-node-process/package.json new file mode 100644 index 0000000000..bdb262ffaf --- /dev/null +++ b/node_modules/is-node-process/package.json @@ -0,0 +1,43 @@ +{ + "name": "is-node-process", + "description": "Reliably determines if the code is running in Node.js", + "version": "1.2.0", + "main": "lib/index.js", + "module": "lib/index.mjs", + "typings": "lib/index.d.ts", + "exports": { + ".": { + "types": "./lib/index.d.ts", + "require": "./lib/index.js", + "default": "./lib/index.mjs" + } + }, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/mswjs/is-node-process" + }, + "files": [ + "lib" + ], + "devDependencies": { + "@ossjs/release": "^0.5.1", + "@types/jest": "^27.0.0", + "@types/node": "^18.14.0", + "electron": "^19.0.6", + "jest": "^27.0.6", + "playwright": "^1.22.2", + "spectron": "^15.0.0", + "ts-jest": "^27.0.3", + "tsup": "^6.2.3", + "typescript": "^4.3.5" + }, + "scripts": { + "browser": "open test/browser.html", + "electron": "electron test/fixtures/electron.js", + "test": "jest --testPathIgnorePatterns electron.test.ts", + "test:react-native": "cd test/fixtures/react-native && pnpm test", + "build": "tsup", + "release": "release publish" + } +} \ No newline at end of file diff --git a/node_modules/nock/README.md b/node_modules/nock/README.md index 43f1eaaaf4..457dd95c61 100644 --- a/node_modules/nock/README.md +++ b/node_modules/nock/README.md @@ -1,21 +1,11 @@ # Nock [![npm](https://img.shields.io/npm/v/nock.svg)][npmjs] -[![Build Status](https://travis-ci.org/nock/nock.svg)][build] ![Coverage Status](http://img.shields.io/badge/coverage-100%25-brightgreen.svg) [![Backers on Open Collective](https://opencollective.com/nock/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/nock/sponsors/badge.svg)](#sponsors) [npmjs]: https://www.npmjs.com/package/nock -[build]: https://travis-ci.org/nock/nock - -> **Notice** -> -> We have introduced experimental support for fetch. Please share your feedback with us. You can install it by: -> -> ``` -> npm install --save-dev nock@beta -> ``` HTTP server mocking and expectations library for Node.js @@ -694,46 +684,17 @@ You are able to specify the number of milliseconds that your reply should be del ```js nock('http://my.server.com') .get('/') - .delay(2000) // 2 seconds delay will be applied to the response header. + .delay(2000) // 2 seconds delay will be applied to the response body. .reply(200, '') ``` -`delay(1000)` is an alias for `delayConnection(1000).delayBody(0)` -`delay({ head: 1000, body: 2000 })` is an alias for `delayConnection(1000).delayBody(2000)` -Both of which are covered in detail below. - #### Delay the connection -You are able to specify the number of milliseconds that your connection should be idle before it starts to receive the response. - -To simulate a socket timeout, provide a larger value than the timeout setting on the request. - -```js -nock('http://my.server.com') - .get('/') - .delayConnection(2000) // 2 seconds - .reply(200, '') - -req = http.request('http://my.server.com', { timeout: 1000 }) -``` - -Nock emits timeout events almost immediately by comparing the requested connection delay to the timeout parameter passed to `http.request()` or `http.ClientRequest#setTimeout()`. -This allows you to test timeouts without using fake timers or slowing down your tests. -If the client chooses to _not_ take an action (e.g. abort the request), the request and response will continue on as normal, after real clock time has passed. - -##### Technical Details - -Following the `'finish'` event being emitted by `ClientRequest`, Nock will wait for the next event loop iteration before checking if the request has been aborted. -At this point, any connection delay value is compared against any request timeout setting and a [`'timeout'`](https://nodejs.org/api/http.html#http_event_timeout) is emitted when appropriate from the socket and the request objects. -A Node timeout timer is then registered with any connection delay value to delay real time before checking again if the request has been aborted and the [`'response'`](http://nodejs.org/api/http.html#http_event_response) is emitted by the request. - -A similar method, `.socketDelay()` was removed in version 13. It was thought that having two methods so subtlety similar was confusing. -The discussion can be found at https://github.com/nock/nock/pull/1974. +The `delayConnection` method’s behavior of emitting quick timeout events when the connection delay exceeds the request timeout is now deprecated. Please use the `delay` function instead. #### Delay the response body -You are able to specify the number of milliseconds that the response body should be delayed. -This is the time between the headers being received and the body starting to be received. +The `delayBody` is now deprecated. Please use the `delay` function instead. ```js nock('http://my.server.com') @@ -1643,10 +1604,10 @@ It does this by manipulating the modules cache of Node in a way that conflicts w ## Debugging -Nock uses [`debug`](https://github.com/visionmedia/debug), so just run with environmental variable `DEBUG` set to `nock.*`. +Nock uses node internals [`debuglog`](https://nodejs.org/api/util.html#utildebuglogsection-callbackg), so just run with environmental variable `NODE_DEBUG` set to `nock:*`. ```console -user@local$ DEBUG=nock.* node my_test.js +user@local$ NODE_DEBUG=nock:* node my_test.js ``` Each step in the matching process is logged this way and can be useful when determining why a request was not intercepted by Nock. @@ -1660,11 +1621,11 @@ await got('http://example.com/?foo=bar&baz=foz') ``` ```console -user@local$ DEBUG=nock.scope:example.com node my_test.js +user@local$ DEBUG=nock:scope:example.com node my_test.js ... -nock.scope:example.com Interceptor queries: {"foo":"bar"} +1ms -nock.scope:example.com Request queries: {"foo":"bar","baz":"foz"} +0ms -nock.scope:example.com query matching failed +0ms +NOCK:SCOPE:EXAMPLE.COM 103514: Interceptor queries: {"foo":"bar"} +NOCK:SCOPE:EXAMPLE.COM 103514: Request queries: {"foo":"bar","baz":"foz"} +NOCK:SCOPE:EXAMPLE.COM 103514: query matching failed ``` ## Contributing diff --git a/node_modules/nock/lib/back.js b/node_modules/nock/lib/back.js index 4128c0d25e..44aabb2558 100644 --- a/node_modules/nock/lib/back.js +++ b/node_modules/nock/lib/back.js @@ -9,10 +9,9 @@ const { removeAll: cleanAll, } = require('./intercept') const { loadDefs, define } = require('./scope') - +const { back: debug } = require('./debug') const { format } = require('util') const path = require('path') -const debug = require('debug')('nock.back') let _mode = null @@ -78,7 +77,6 @@ function Back(fixtureName, options, nockedFn) { } debug('context:', context) - // If nockedFn is a function then invoke it, otherwise return a promise resolving to nockDone. if (typeof nockedFn === 'function') { nockedFn.call(context, nockDone) diff --git a/node_modules/nock/lib/common.js b/node_modules/nock/lib/common.js index a6f7f766d0..312bf1c260 100644 --- a/node_modules/nock/lib/common.js +++ b/node_modules/nock/lib/common.js @@ -1,9 +1,10 @@ 'use strict' -const debug = require('debug')('nock.common') +const { common: debug } = require('./debug') const timers = require('timers') const url = require('url') const util = require('util') +const http = require('http') /** * Normalizes the request options so that it always has `host` property. @@ -50,82 +51,6 @@ function isUtf8Representable(buffer) { return reconstructedBuffer.equals(buffer) } -// Array where all information about all the overridden requests are held. -let requestOverrides = {} - -/** - * Overrides the current `request` function of `http` and `https` modules with - * our own version which intercepts issues HTTP/HTTPS requests and forwards them - * to the given `newRequest` function. - * - * @param {Function} newRequest - a function handling requests; it accepts four arguments: - * - proto - a string with the overridden module's protocol name (either `http` or `https`) - * - overriddenRequest - the overridden module's request function already bound to module's object - * - options - the options of the issued request - * - callback - the callback of the issued request - */ -function overrideRequests(newRequest) { - debug('overriding requests') - ;['http', 'https'].forEach(function (proto) { - debug('- overriding request for', proto) - - const moduleName = proto // 1 to 1 match of protocol and module is fortunate :) - const module = require(proto) - const overriddenRequest = module.request - const overriddenGet = module.get - - if (requestOverrides[moduleName]) { - throw new Error( - `Module's request already overridden for ${moduleName} protocol.`, - ) - } - - // Store the properties of the overridden request so that it can be restored later on. - requestOverrides[moduleName] = { - module, - request: overriddenRequest, - get: overriddenGet, - } - // https://nodejs.org/api/http.html#http_http_request_url_options_callback - module.request = function (input, options, callback) { - return newRequest(proto, overriddenRequest.bind(module), [ - input, - options, - callback, - ]) - } - // https://nodejs.org/api/http.html#http_http_get_options_callback - module.get = function (input, options, callback) { - const req = newRequest(proto, overriddenGet.bind(module), [ - input, - options, - callback, - ]) - req.end() - return req - } - - debug('- overridden request for', proto) - }) -} - -/** - * Restores `request` function of `http` and `https` modules to values they - * held before they were overridden by us. - */ -function restoreOverriddenRequests() { - debug('restoring requests') - Object.entries(requestOverrides).forEach( - ([proto, { module, request, get }]) => { - debug('- restoring request for', proto) - module.request = request - module.get = get - debug('- restored request for', proto) - }, - ) - requestOverrides = {} -} - /** * In WHATWG URL vernacular, this returns the origin portion of a URL. * However, the port is not included if it's standard and not already present on the host. @@ -621,6 +546,7 @@ function clearTimer(clear, ids) { } function removeAllTimers() { + debug('remove all timers') clearTimer(clearTimeout, timeouts) clearTimer(clearImmediate, immediates) } @@ -653,6 +579,31 @@ function isRequestDestroyed(req) { ) } +/** + * @param {Request} request + */ +function convertFetchRequestToClientRequest(request) { + const url = new URL(request.url) + const options = { + ...urlToOptions(url), + method: request.method, + host: url.hostname, + port: url.port || (url.protocol === 'https:' ? 443 : 80), + path: url.pathname + url.search, + proto: url.protocol.slice(0, -1), + headers: Object.fromEntries(request.headers.entries()), + } + + // By default, Node adds a host header, but for maximum backward compatibility, we are now removing it. + // However, we need to consider leaving the header and fixing the tests. + if (options.headers.host === options.host) { + const { host, ...restHeaders } = options.headers + options.headers = restHeaders + } + + return new http.ClientRequest(options) +} + /** * Returns true if the given value is a plain object and not an Array. * @param {*} value @@ -760,12 +711,11 @@ module.exports = { normalizeClientRequestArgs, normalizeOrigin, normalizeRequestOptions, - overrideRequests, percentDecode, percentEncode, removeAllTimers, - restoreOverriddenRequests, setImmediate, setTimeout, stringifyRequest, + convertFetchRequestToClientRequest, } diff --git a/node_modules/nock/lib/create_response.js b/node_modules/nock/lib/create_response.js new file mode 100644 index 0000000000..fd953ee6ac --- /dev/null +++ b/node_modules/nock/lib/create_response.js @@ -0,0 +1,53 @@ +'use strict' + +const { STATUS_CODES } = require('http') + +/** + * Creates a Fetch API `Response` instance from the given + * `http.IncomingMessage` instance. + * Inspired by: https://github.com/mswjs/interceptors/blob/04152ed914f8041272b6e92ed374216b8177e1b2/src/interceptors/ClientRequest/utils/createResponse.ts#L8 + */ + +/** + * Response status codes for responses that cannot have body. + * @see https://fetch.spec.whatwg.org/#statuses + */ +const responseStatusCodesWithoutBody = [204, 205, 304] + +/** + * @param {import('http').IncomingMessage} message + * @param {AbortSignal} signal + */ +function createResponse(message, signal) { + const responseBodyOrNull = responseStatusCodesWithoutBody.includes( + message.statusCode || 200, + ) + ? null + : new ReadableStream({ + start(controller) { + message.on('data', chunk => controller.enqueue(chunk)) + message.on('end', () => controller.close()) + message.on('error', error => controller.error(error)) + signal.addEventListener('abort', () => message.destroy(signal.reason)) + }, + cancel() { + message.destroy() + }, + }) + + const rawHeaders = new Headers() + for (let i = 0; i < message.rawHeaders.length; i += 2) { + rawHeaders.append(message.rawHeaders[i], message.rawHeaders[i + 1]) + } + + // @mswjs/interceptors supports rawHeaders. https://github.com/mswjs/interceptors/pull/598 + const response = new Response(responseBodyOrNull, { + status: message.statusCode, + statusText: message.statusMessage || STATUS_CODES[message.statusCode], + headers: rawHeaders, + }) + + return response +} + +module.exports = { createResponse } diff --git a/node_modules/nock/lib/debug.js b/node_modules/nock/lib/debug.js new file mode 100644 index 0000000000..080a6f8cb9 --- /dev/null +++ b/node_modules/nock/lib/debug.js @@ -0,0 +1,12 @@ +'use strict' + +const { debuglog } = require('util') + +module.exports.back = debuglog('nock:back') +module.exports.common = debuglog('nock:common') +module.exports.intercept = debuglog('nock:intercept') +module.exports.request_overrider = debuglog('nock:request_overrider') +module.exports.playback_interceptor = debuglog('nock:playback_interceptor') +module.exports.recorder = debuglog('nock:recorder') +module.exports.socket = debuglog('nock:socket') +module.exports.scopeDebuglog = namespace => debuglog(`nock:scope:${namespace}`) diff --git a/node_modules/nock/lib/intercept.js b/node_modules/nock/lib/intercept.js index bcc1319ce9..7c84f8ef85 100644 --- a/node_modules/nock/lib/intercept.js +++ b/node_modules/nock/lib/intercept.js @@ -8,8 +8,20 @@ const { InterceptedRequestRouter } = require('./intercepted_request_router') const common = require('./common') const { inherits } = require('util') const http = require('http') -const debug = require('debug')('nock.intercept') +const { intercept: debug } = require('./debug') const globalEmitter = require('./global_emitter') +const { BatchInterceptor } = require('@mswjs/interceptors') +const { + default: nodeInterceptors, +} = require('@mswjs/interceptors/presets/node') +const { createResponse } = require('./create_response') +const { once } = require('events') + +const interceptor = new BatchInterceptor({ + name: 'nock-interceptor', + interceptors: nodeInterceptors, +}) +let isNockActive = false /** * @name NetConnectNotAllowedError @@ -238,17 +250,6 @@ function removeInterceptor(options) { // (which might or might not be node's original http.ClientRequest) let originalClientRequest -function ErroringClientRequest(error) { - http.OutgoingMessage.call(this) - process.nextTick( - function () { - this.emit('error', error) - }.bind(this), - ) -} - -inherits(ErroringClientRequest, http.ClientRequest) - function overrideClientRequest() { // Here's some background discussion about overriding ClientRequest: // - https://github.com/nodejitsu/mock-request/issues/4 @@ -333,6 +334,8 @@ function restoreOverriddenClientRequest() { if (!originalClientRequest) { debug('- ClientRequest was not overridden') } else { + isNockActive = false + interceptor.dispose() http.ClientRequest = originalClientRequest originalClientRequest = undefined @@ -341,9 +344,7 @@ function restoreOverriddenClientRequest() { } function isActive() { - // If ClientRequest has been overwritten by Nock then originalClientRequest is not undefined. - // This means that Nock has been activated. - return originalClientRequest !== undefined + return isNockActive } function interceptorScopes() { @@ -367,75 +368,61 @@ function activeMocks() { } function activate() { - if (originalClientRequest) { + if (isNockActive) { throw new Error('Nock already active') } - // ----- Overriding http.request and https.request: - - common.overrideRequests(function (proto, overriddenRequest, args) { - // NOTE: overriddenRequest is already bound to its module. - - const { options, callback } = common.normalizeClientRequestArgs(...args) - - if (Object.keys(options).length === 0) { - // As weird as it is, it's possible to call `http.request` without - // options, and it makes a request to localhost or somesuch. We should - // support it too, for parity. However it doesn't work today, and fixing - // it seems low priority. Giving an explicit error is nicer than - // crashing with a weird stack trace. `new ClientRequest()`, nock's - // other client-facing entry point, makes a similar check. - // https://github.com/nock/nock/pull/1386 - // https://github.com/nock/nock/pull/1440 - throw Error( - 'Making a request with empty `options` is not supported in Nock', - ) - } - - // The option per the docs is `protocol`. Its unclear if this line is meant to override that and is misspelled or if - // the intend is to explicitly keep track of which module was called using a separate name. - // Either way, `proto` is used as the source of truth from here on out. - options.proto = proto - - const interceptors = interceptorsFor(options) - - if (isOn() && interceptors) { - const matches = interceptors.some(interceptor => - interceptor.matchOrigin(options), - ) - const allowUnmocked = interceptors.some( - interceptor => interceptor.options.allowUnmocked, - ) + overrideClientRequest() + interceptor.apply() + // Force msw to forward Nock's error instead of coerce it into 500 error + interceptor.on('unhandledException', ({ controller, error }) => { + controller.errorWith(error) + }) + interceptor.on( + 'request', + async function ({ request: mswRequest, controller }) { + const request = mswRequest.clone() + const { options } = common.normalizeClientRequestArgs(request.url) + options.proto = options.protocol.slice(0, -1) + options.method = request.method + const interceptors = interceptorsFor(options) + if (isOn() && interceptors) { + const matches = interceptors.some(interceptor => + interceptor.matchOrigin(options), + ) + const allowUnmocked = interceptors.some( + interceptor => interceptor.options.allowUnmocked, + ) - if (!matches && allowUnmocked) { - let req - if (proto === 'https') { - const { ClientRequest } = http - http.ClientRequest = originalClientRequest - req = overriddenRequest(options, callback) - http.ClientRequest = ClientRequest + const nockRequest = common.convertFetchRequestToClientRequest(request) + if (!matches && allowUnmocked) { + globalEmitter.emit('no match', nockRequest) } else { - req = overriddenRequest(options, callback) + nockRequest.on('response', nockResponse => { + const response = createResponse(nockResponse, mswRequest.signal) + controller.respondWith(response) + }) + + const promise = Promise.race([ + // TODO: temp hacky way to handle allowUnmocked in startPlayback + once(nockRequest, 'real-request'), + once(nockRequest, 'error'), + once(nockRequest, 'response'), + ]) + const buffer = await request.arrayBuffer() + nockRequest.write(buffer) + nockRequest.end() + await promise } - globalEmitter.emit('no match', req) - return req - } - - // NOTE: Since we already overrode the http.ClientRequest we are in fact constructing - // our own OverriddenClientRequest. - return new http.ClientRequest(options, callback) - } else { - globalEmitter.emit('no match', options) - if (isOff() || isEnabledForNetConnect(options)) { - return overriddenRequest(options, callback) } else { - const error = new NetConnectNotAllowedError(options.host, options.path) - return new ErroringClientRequest(error) + globalEmitter.emit('no match', options) + if (!(isOff() || isEnabledForNetConnect(options))) { + throw new NetConnectNotAllowedError(options.host, options.path) + } } - } - }) - - overrideClientRequest() + }, + ) + isNockActive = true } module.exports = { diff --git a/node_modules/nock/lib/intercepted_request_router.js b/node_modules/nock/lib/intercepted_request_router.js index d82c2446b5..76a7c312c1 100644 --- a/node_modules/nock/lib/intercepted_request_router.js +++ b/node_modules/nock/lib/intercepted_request_router.js @@ -1,12 +1,7 @@ 'use strict' -const debug = require('debug')('nock.request_overrider') -const { - IncomingMessage, - ClientRequest, - request: originalHttpRequest, -} = require('http') -const { request: originalHttpsRequest } = require('https') +const { request_overrider: debug } = require('./debug') +const { IncomingMessage, ClientRequest } = require('http') const propagate = require('propagate') const common = require('./common') const globalEmitter = require('./global_emitter') @@ -333,14 +328,7 @@ class InterceptedRequestRouter { ) if (allowUnmocked && req instanceof ClientRequest) { - const newReq = - options.proto === 'https' - ? originalHttpsRequest(options) - : originalHttpRequest(options) - - propagate(newReq, req) - // We send the raw buffer as we received it, not as we interpreted it. - newReq.end(requestBodyBuffer) + req.emit('real-request') } else { const reqStr = common.stringifyRequest(options, requestBodyString) const err = new Error(`Nock: No match for request ${reqStr}`) diff --git a/node_modules/nock/lib/interceptor.js b/node_modules/nock/lib/interceptor.js index 00c4522f6f..1ffe05b648 100644 --- a/node_modules/nock/lib/interceptor.js +++ b/node_modules/nock/lib/interceptor.js @@ -248,14 +248,7 @@ module.exports = class Interceptor { } match(req, options, body) { - // check if the logger is enabled because the stringifies can be expensive. - if (this.scope.logger.enabled) { - this.scope.logger( - 'attempting match %s, body = %s', - stringify(options), - stringify(body), - ) - } + this.scope.logger('attempting match %j, body = %j', options, body) const method = (options.method || 'GET').toUpperCase() let { path = '/' } = options diff --git a/node_modules/nock/lib/match_body.js b/node_modules/nock/lib/match_body.js index 436b7b53a0..3d568ecbd7 100644 --- a/node_modules/nock/lib/match_body.js +++ b/node_modules/nock/lib/match_body.js @@ -63,10 +63,11 @@ module.exports = function matchBody(options, spec, body) { function mapValues(object, cb) { const keys = Object.keys(object) + const clonedObject = { ...object } for (const key of keys) { - object[key] = cb(object[key], key, object) + clonedObject[key] = cb(clonedObject[key], key, clonedObject) } - return object + return clonedObject } /** diff --git a/node_modules/nock/lib/playback_interceptor.js b/node_modules/nock/lib/playback_interceptor.js index a0bae8e8a3..0d3bd6f40f 100644 --- a/node_modules/nock/lib/playback_interceptor.js +++ b/node_modules/nock/lib/playback_interceptor.js @@ -3,7 +3,7 @@ const stream = require('stream') const util = require('util') const zlib = require('zlib') -const debug = require('debug')('nock.playback_interceptor') +const { playback_interceptor: debug } = require('./debug') const common = require('./common') function parseJSONRequestBody(req, requestBody) { diff --git a/node_modules/nock/lib/recorder.js b/node_modules/nock/lib/recorder.js index 91b3e3ff36..4d70ac3bbd 100644 --- a/node_modules/nock/lib/recorder.js +++ b/node_modules/nock/lib/recorder.js @@ -1,16 +1,24 @@ 'use strict' -const debug = require('debug')('nock.recorder') +const { recorder: debug } = require('./debug') const querystring = require('querystring') const { inspect } = require('util') const common = require('./common') const { restoreOverriddenClientRequest } = require('./intercept') - +const { EventEmitter } = require('stream') +const { gzipSync, brotliCompressSync, deflateSync } = require('zlib') +const { + default: nodeInterceptors, +} = require('@mswjs/interceptors/presets/node') const SEPARATOR = '\n<<<<<<-- cut here -->>>>>>\n' let recordingInProgress = false let outputs = [] +// TODO: don't reuse the nodeInterceptors, create new ones. +const clientRequestInterceptor = nodeInterceptors[0] +const fetchRequestInterceptor = nodeInterceptors[2] + function getScope(options) { const { proto, host, port } = common.normalizeRequestOptions(options) return common.normalizeOrigin(proto, host, port) @@ -210,28 +218,67 @@ function record(recOptions) { // we restore any requests that may have been overridden by other parts of nock (e.g. intercept) // NOTE: This is hacky as hell but it keeps the backward compatibility *and* allows correct // behavior in the face of other modules also overriding ClientRequest. - common.restoreOverriddenRequests() + // common.restoreOverriddenRequests() // We restore ClientRequest as it messes with recording of modules that also override ClientRequest (e.g. xhr2) restoreOverriddenClientRequest() // We override the requests so that we can save information on them before executing. - common.overrideRequests(function (proto, overriddenRequest, rawArgs) { - const { options, callback } = common.normalizeClientRequestArgs(...rawArgs) - const bodyChunks = [] + clientRequestInterceptor.apply() + fetchRequestInterceptor.apply() + clientRequestInterceptor.on('request', async function ({ request }) { + await recordRequest(request) + }) + fetchRequestInterceptor.on('request', async function ({ request }) { + await recordRequest(request) + }) + + async function recordRequest(mswRequest) { + const request = mswRequest.clone() + const { options } = common.normalizeClientRequestArgs(request.url) + options.method = request.method + const proto = options.protocol.slice(0, -1) // Node 0.11 https.request calls http.request -- don't want to record things // twice. /* istanbul ignore if */ if (options._recording) { - return overriddenRequest(options, callback) + return } options._recording = true - const req = overriddenRequest(options, function (res) { + const req = new EventEmitter() + req.on('response', function () { debug(thisRecordingId, 'intercepting', proto, 'request to record') - // We put our 'end' listener to the front of the listener array. - res.once('end', function () { + clientRequestInterceptor.once('response', async function ({ response }) { + await recordResponse(response) + }) + fetchRequestInterceptor.once('response', async function ({ response }) { + // fetch decompresses the body automatically, so we need to recompress it + const codings = + response.headers + .get('content-encoding') + ?.toLowerCase() + .split(',') + .map(c => c.trim()) || [] + + let body = await response.arrayBuffer() + for (const coding of codings) { + if (coding === 'gzip') { + body = gzipSync(body) + } else if (coding === 'deflate') { + body = deflateSync(body) + } else if (coding === 'br') { + body = brotliCompressSync(body) + } + } + + await recordResponse(new Response(body, response)) + }) + + // Intercept "res.once('end', ...)"-like event + async function recordResponse(mswResponse) { + const response = mswResponse.clone() debug(thisRecordingId, proto, 'intercepted request ended') let reqheaders @@ -239,19 +286,26 @@ function record(recOptions) { if (enableReqHeadersRecording) { // We never record user-agent headers as they are worse than useless - // they actually make testing more difficult without providing any benefit (see README) - reqheaders = req.getHeaders() + reqheaders = Object.fromEntries(request.headers.entries()) common.deleteHeadersField(reqheaders, 'user-agent') } + const headers = Object.fromEntries(response.headers.entries()) + const res = { + statusCode: response.status, + headers, + rawHeaders: headers, + } + const generateFn = outputObjects ? generateRequestAndResponseObject : generateRequestAndResponse let out = generateFn({ - req, - bodyChunks, + req: options, + bodyChunks: [Buffer.from(await request.arrayBuffer())], options, res, - dataChunks, + dataChunks: [Buffer.from(await response.arrayBuffer())], reqheaders, }) @@ -282,33 +336,6 @@ function record(recOptions) { logging(out) } } - }) - - let encoding - // We need to be aware of changes to the stream's encoding so that we - // don't accidentally mangle the data. - const { setEncoding } = res - res.setEncoding = function (newEncoding) { - encoding = newEncoding - return setEncoding.apply(this, arguments) - } - - const dataChunks = [] - // Replace res.push with our own implementation that stores chunks - const origResPush = res.push - res.push = function (data) { - if (data) { - if (encoding) { - data = Buffer.from(data, encoding) - } - dataChunks.push(data) - } - - return origResPush.call(res, data) - } - - if (callback) { - callback(res, options, callback) } debug('finished setting up intercepting') @@ -322,46 +349,11 @@ function record(recOptions) { } }) - const recordChunk = (chunk, encoding) => { - debug(thisRecordingId, 'new', proto, 'body chunk') - if (!Buffer.isBuffer(chunk)) { - chunk = Buffer.from(chunk, encoding) - } - bodyChunks.push(chunk) - } - - const oldWrite = req.write - req.write = function (chunk, encoding) { - if (typeof chunk !== 'undefined') { - recordChunk(chunk, encoding) - oldWrite.apply(req, arguments) - } else { - throw new Error('Data was undefined.') - } - } - - // Starting in Node 8, `OutgoingMessage.end()` directly calls an internal - // `write_` function instead of proxying to the public - // `OutgoingMessage.write()` method, so we have to wrap `end` too. - const oldEnd = req.end - req.end = function (chunk, encoding, callback) { - debug('req.end') - if (typeof chunk === 'function') { - callback = chunk - chunk = null - } else if (typeof encoding === 'function') { - callback = encoding - encoding = null - } - - if (chunk) { - recordChunk(chunk, encoding) - } - oldEnd.call(req, chunk, encoding, callback) - } - - return req - }) + // This is a massive change, we are trying to change minimum code, so we emit end event here + // because mswjs take care for these events + // TODO: refactor the recorder, we no longer need all the listeners and can just record the request we get from MSW + req.emit('response') + } } // Restore *all* the overridden http/https modules' properties. @@ -371,7 +363,8 @@ function restore() { 'restoring all the overridden http/https properties', ) - common.restoreOverriddenRequests() + clientRequestInterceptor.dispose() + fetchRequestInterceptor.dispose() restoreOverriddenClientRequest() recordingInProgress = false } diff --git a/node_modules/nock/lib/scope.js b/node_modules/nock/lib/scope.js index eb51e80d63..2d29a56d1d 100644 --- a/node_modules/nock/lib/scope.js +++ b/node_modules/nock/lib/scope.js @@ -3,11 +3,11 @@ /** * @module nock/scope */ +const { scopeDebuglog } = require('./debug') const { addInterceptor, isOn } = require('./intercept') const common = require('./common') const assert = require('assert') const url = require('url') -const debug = require('debug')('nock.scope') const { EventEmitter } = require('events') const Interceptor = require('./interceptor') @@ -99,7 +99,7 @@ class Scope extends EventEmitter { logNamespace = this.urlParts.host } - this.logger = debug.extend(logNamespace) + this.logger = scopeDebuglog(logNamespace) } add(key, interceptor) { diff --git a/node_modules/nock/lib/socket.js b/node_modules/nock/lib/socket.js index 4651aa79f9..69fc6cc510 100644 --- a/node_modules/nock/lib/socket.js +++ b/node_modules/nock/lib/socket.js @@ -1,7 +1,7 @@ 'use strict' const { EventEmitter } = require('events') -const debug = require('debug')('nock.socket') +const { socket: debug } = require('./debug') module.exports = class Socket extends EventEmitter { constructor(options) { diff --git a/node_modules/nock/package.json b/node_modules/nock/package.json index 02c28b9bb5..3f1bfdf0ca 100644 --- a/node_modules/nock/package.json +++ b/node_modules/nock/package.json @@ -7,7 +7,7 @@ "testing", "isolation" ], - "version": "13.5.6", + "version": "14.0.0", "author": "Pedro Teixeira ", "repository": { "type": "git", @@ -17,12 +17,12 @@ "url": "https://github.com/nock/nock/issues" }, "engines": { - "node": ">= 10.13" + "node": ">= 18" }, "main": "./index.js", "types": "types", "dependencies": { - "debug": "^4.1.0", + "@mswjs/interceptors": "^0.37.3", "json-stringify-safe": "^5.0.1", "propagate": "^2.0.0" }, @@ -49,7 +49,7 @@ "proxyquire": "^2.1.0", "rimraf": "^3.0.0", "semantic-release": "^24.1.0", - "sinon": "^15.0.1", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "typescript": "^5.0.4" }, diff --git a/node_modules/nock/types/index.d.ts b/node_modules/nock/types/index.d.ts index 9c0ec385c0..435022c587 100644 --- a/node_modules/nock/types/index.d.ts +++ b/node_modules/nock/types/index.d.ts @@ -205,8 +205,13 @@ declare namespace nock { thrice(): this optionally(flag?: boolean): this + delay(opts: number): this + /** @deprecated use delay(number) instead */ + delay(opts: { head?: number; body?: number }): this delay(opts: number | { head?: number; body?: number }): this + /** @deprecated use delay function instead */ delayBody(timeMs: number): this + /** @deprecated use delay function instead */ delayConnection(timeMs: number): this } diff --git a/node_modules/outvariant/LICENSE b/node_modules/outvariant/LICENSE new file mode 100644 index 0000000000..6df95d64e7 --- /dev/null +++ b/node_modules/outvariant/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2021–present Artem Zakharchenko + +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/outvariant/README.md b/node_modules/outvariant/README.md new file mode 100644 index 0000000000..58d69edbe5 --- /dev/null +++ b/node_modules/outvariant/README.md @@ -0,0 +1,146 @@ +# `outvariant` + +Type-safe implementation of invariant with positionals. + +## Motivation + +### Type-safely + +This implementation asserts the given predicate expression so it's treated as non-nullable after the `invariant` call: + +```ts +// Regular invariant: +invariant(user, 'Failed to fetch') +user?.firstName // "user" is possibly undefined + +// Outvariant: +invariant(user, 'Failed to fetch') +user.firstName // OK, "invariant" ensured the "user" exists +``` + +### Positionals support + +This implementation uses [rest parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters) to support dynamic number of positionals: + +```js +invariant(predicate, 'Expected %s but got %s', 'one', false) +``` + +## What is this for? + +Invariant is a shorthand function that asserts a given predicate and throws an error if that predicate is false. + +Compare these two pieces of code identical in behavior: + +```js +if (!token) { + throw new Error(`Expected a token to be set but got ${typeof token}`) +} +``` + +```js +import { invariant } from 'outvariant' + +invariant(token, 'Expected a token to be set but got %s', typeof token) +``` + +Using `invariant` reduces the visual nesting of the code and leads to cleaner error messages thanks to formatted positionals (i.e. the `%s` (string) positional above). + +## Usage + +### Install + +```sh +npm install outvariant +# or +yarn add outvariant +``` + +> You may want to install this library as a dev dependency (`-D`) based on your usage. + +### Write an assertion + +```js +import { invariant } from 'outvariant' + +invariant(user, 'Failed to load: expected user, but got %o', user) +``` + +## Positionals + +The following positional tokens are supported: + +| Token | Expected value type | +| --------- | ------------------------------------------------------- | +| `%s` | String | +| `%d`/`%i` | Number | +| `%j` | JSON (non-stringified) | +| `%o` | Arbitrary object or object-like (i.e. a class instance) | + +Whenever present in the error message, a positional token will look up the value to insert in its place from the arguments given to `invariant`. + +```js +invariant( + false, + 'Expected the "%s" property but got %j', + // Note that positionals are sensitive to order: + // - "firstName" replaces "%s" because it's first. + // - {"id":1} replaces "%j" because it's second. + 'firstName', + { + id: 1, + } +) +``` + +## Polymorphic errors + +It is possible to throw a custom `Error` instance using `invariant.as`: + +```js +import { invariant } from 'outvariant' + +class NetworkError extends Error { + constructor(message) { + super(message) + } +} + +invariant.as(NetworkError, res.fulfilled, 'Failed to handle response') +``` + +Note that providing a custom error constructor as the argument to `invariant.as` requires the custom constructor's signature to be compatible with the `Error` class constructor. + +If your error constructor has a different signature, you can pass a function as the first argument to `invariant.as` that creates a new custom error instance. + +```js +import { invariant } from 'outvariant' + +class NetworkError extends Error { + constructor(statusCode, message) { + super(message) + this.statusCode = statusCode + } +} + +invariant.as( + (message) => new NetworkError(500, message), + res.fulfilled, + 'Failed to handle response' +) +``` + +Abstract the error into helper functions for flexibility: + +```js +function toNetworkError(statusCode) { + return (message) => new NetworkError(statusCode, message) +} + +invariant.as(toNetworkError(404), res?.user?.id, 'User Not Found') +invariant.as(toNetworkError(500), res.fulfilled, 'Internal Server Error') +``` + +## Contributing + +Please [open an issue](https://github.com/open-draft/outvariant/issues) or [submit a pull request](https://github.com/open-draft/outvariant/pulls) if you wish to contribute. Thank you. diff --git a/node_modules/outvariant/lib/index.d.ts b/node_modules/outvariant/lib/index.d.ts new file mode 100644 index 0000000000..b6ecc90bbb --- /dev/null +++ b/node_modules/outvariant/lib/index.d.ts @@ -0,0 +1,21 @@ +declare class InvariantError extends Error { + readonly message: string; + name: string; + constructor(message: string, ...positionals: any[]); +} +interface CustomErrorConstructor { + new (message: string): Error; +} +interface CustomErrorFactory { + (message: string): Error; +} +declare type CustomError = CustomErrorConstructor | CustomErrorFactory; +declare type Invariant = { + (predicate: unknown, message: string, ...positionals: any[]): asserts predicate; + as(ErrorConstructor: CustomError, predicate: unknown, message: string, ...positionals: unknown[]): asserts predicate; +}; +declare const invariant: Invariant; + +declare function format(message: string, ...positionals: any[]): string; + +export { CustomError, CustomErrorConstructor, CustomErrorFactory, InvariantError, format, invariant }; diff --git a/node_modules/outvariant/lib/index.js b/node_modules/outvariant/lib/index.js new file mode 100644 index 0000000000..19c973d230 --- /dev/null +++ b/node_modules/outvariant/lib/index.js @@ -0,0 +1,120 @@ +"use strict"; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + InvariantError: () => InvariantError, + format: () => format, + invariant: () => invariant +}); +module.exports = __toCommonJS(src_exports); + +// src/format.ts +var POSITIONALS_EXP = /(%?)(%([sdijo]))/g; +function serializePositional(positional, flag) { + switch (flag) { + case "s": + return positional; + case "d": + case "i": + return Number(positional); + case "j": + return JSON.stringify(positional); + case "o": { + if (typeof positional === "string") { + return positional; + } + const json = JSON.stringify(positional); + if (json === "{}" || json === "[]" || /^\[object .+?\]$/.test(json)) { + return positional; + } + return json; + } + } +} +function format(message, ...positionals) { + if (positionals.length === 0) { + return message; + } + let positionalIndex = 0; + let formattedMessage = message.replace( + POSITIONALS_EXP, + (match, isEscaped, _, flag) => { + const positional = positionals[positionalIndex]; + const value = serializePositional(positional, flag); + if (!isEscaped) { + positionalIndex++; + return value; + } + return match; + } + ); + if (positionalIndex < positionals.length) { + formattedMessage += ` ${positionals.slice(positionalIndex).join(" ")}`; + } + formattedMessage = formattedMessage.replace(/%{2,2}/g, "%"); + return formattedMessage; +} + +// src/invariant.ts +var STACK_FRAMES_TO_IGNORE = 2; +function cleanErrorStack(error) { + if (!error.stack) { + return; + } + const nextStack = error.stack.split("\n"); + nextStack.splice(1, STACK_FRAMES_TO_IGNORE); + error.stack = nextStack.join("\n"); +} +var InvariantError = class extends Error { + constructor(message, ...positionals) { + super(message); + this.message = message; + this.name = "Invariant Violation"; + this.message = format(message, ...positionals); + cleanErrorStack(this); + } +}; +var invariant = (predicate, message, ...positionals) => { + if (!predicate) { + throw new InvariantError(message, ...positionals); + } +}; +invariant.as = (ErrorConstructor, predicate, message, ...positionals) => { + if (!predicate) { + const formatMessage = positionals.length === 0 ? message : format(message, ...positionals); + let error; + try { + error = Reflect.construct(ErrorConstructor, [ + formatMessage + ]); + } catch (err) { + error = ErrorConstructor(formatMessage); + } + throw error; + } +}; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + InvariantError, + format, + invariant +}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/outvariant/lib/index.js.map b/node_modules/outvariant/lib/index.js.map new file mode 100644 index 0000000000..ba5bf07175 --- /dev/null +++ b/node_modules/outvariant/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts","../src/format.ts","../src/invariant.ts"],"sourcesContent":["export * from './invariant'\nexport * from './format'\n","const POSITIONALS_EXP = /(%?)(%([sdijo]))/g\n\nfunction serializePositional(positional: any, flag: string): any {\n switch (flag) {\n // Strings.\n case 's':\n return positional\n\n // Digits.\n case 'd':\n case 'i':\n return Number(positional)\n\n // JSON.\n case 'j':\n return JSON.stringify(positional)\n\n // Objects.\n case 'o': {\n // Preserve stings to prevent extra quotes around them.\n if (typeof positional === 'string') {\n return positional\n }\n\n const json = JSON.stringify(positional)\n\n // If the positional isn't serializable, return it as-is.\n if (json === '{}' || json === '[]' || /^\\[object .+?\\]$/.test(json)) {\n return positional\n }\n\n return json\n }\n }\n}\n\nexport function format(message: string, ...positionals: any[]): string {\n if (positionals.length === 0) {\n return message\n }\n\n let positionalIndex = 0\n let formattedMessage = message.replace(\n POSITIONALS_EXP,\n (match, isEscaped, _, flag) => {\n const positional = positionals[positionalIndex]\n const value = serializePositional(positional, flag)\n\n if (!isEscaped) {\n positionalIndex++\n return value\n }\n\n return match\n }\n )\n\n // Append unresolved positionals to string as-is.\n if (positionalIndex < positionals.length) {\n formattedMessage += ` ${positionals.slice(positionalIndex).join(' ')}`\n }\n\n formattedMessage = formattedMessage.replace(/%{2,2}/g, '%')\n\n return formattedMessage\n}\n","import { format } from './format'\n\nconst STACK_FRAMES_TO_IGNORE = 2\n\n/**\n * Remove the \"outvariant\" package trace from the given error.\n * This scopes down the error stack to the relevant parts\n * when used in other applications.\n */\nfunction cleanErrorStack(error: Error): void {\n if (!error.stack) {\n return\n }\n\n const nextStack = error.stack.split('\\n')\n nextStack.splice(1, STACK_FRAMES_TO_IGNORE)\n error.stack = nextStack.join('\\n')\n}\n\nexport class InvariantError extends Error {\n name = 'Invariant Violation'\n\n constructor(public readonly message: string, ...positionals: any[]) {\n super(message)\n this.message = format(message, ...positionals)\n cleanErrorStack(this)\n }\n}\n\nexport interface CustomErrorConstructor {\n new (message: string): Error\n}\n\nexport interface CustomErrorFactory {\n (message: string): Error\n}\n\nexport type CustomError = CustomErrorConstructor | CustomErrorFactory\n\ntype Invariant = {\n (\n predicate: unknown,\n message: string,\n ...positionals: any[]\n ): asserts predicate\n\n as(\n ErrorConstructor: CustomError,\n predicate: unknown,\n message: string,\n ...positionals: unknown[]\n ): asserts predicate\n}\n\nexport const invariant: Invariant = (\n predicate,\n message,\n ...positionals\n): asserts predicate => {\n if (!predicate) {\n throw new InvariantError(message, ...positionals)\n }\n}\n\ninvariant.as = (ErrorConstructor, predicate, message, ...positionals) => {\n if (!predicate) {\n const formatMessage =\n positionals.length === 0 ? message : format(message, ...positionals)\n let error: Error\n\n try {\n error = Reflect.construct(ErrorConstructor as CustomErrorConstructor, [\n formatMessage,\n ])\n } catch (err) {\n error = (ErrorConstructor as CustomErrorFactory)(formatMessage)\n }\n\n throw error\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAM,kBAAkB;AAExB,SAAS,oBAAoB,YAAiB,MAAmB;AAC/D,UAAQ,MAAM;AAAA,IAEZ,KAAK;AACH,aAAO;AAAA,IAGT,KAAK;AAAA,IACL,KAAK;AACH,aAAO,OAAO,UAAU;AAAA,IAG1B,KAAK;AACH,aAAO,KAAK,UAAU,UAAU;AAAA,IAGlC,KAAK,KAAK;AAER,UAAI,OAAO,eAAe,UAAU;AAClC,eAAO;AAAA,MACT;AAEA,YAAM,OAAO,KAAK,UAAU,UAAU;AAGtC,UAAI,SAAS,QAAQ,SAAS,QAAQ,mBAAmB,KAAK,IAAI,GAAG;AACnE,eAAO;AAAA,MACT;AAEA,aAAO;AAAA,IACT;AAAA,EACF;AACF;AAEO,SAAS,OAAO,YAAoB,aAA4B;AACrE,MAAI,YAAY,WAAW,GAAG;AAC5B,WAAO;AAAA,EACT;AAEA,MAAI,kBAAkB;AACtB,MAAI,mBAAmB,QAAQ;AAAA,IAC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node_modules/outvariant/lib/index.mjs b/node_modules/outvariant/lib/index.mjs new file mode 100644 index 0000000000..6e81f9953d --- /dev/null +++ b/node_modules/outvariant/lib/index.mjs @@ -0,0 +1,91 @@ +// src/format.ts +var POSITIONALS_EXP = /(%?)(%([sdijo]))/g; +function serializePositional(positional, flag) { + switch (flag) { + case "s": + return positional; + case "d": + case "i": + return Number(positional); + case "j": + return JSON.stringify(positional); + case "o": { + if (typeof positional === "string") { + return positional; + } + const json = JSON.stringify(positional); + if (json === "{}" || json === "[]" || /^\[object .+?\]$/.test(json)) { + return positional; + } + return json; + } + } +} +function format(message, ...positionals) { + if (positionals.length === 0) { + return message; + } + let positionalIndex = 0; + let formattedMessage = message.replace( + POSITIONALS_EXP, + (match, isEscaped, _, flag) => { + const positional = positionals[positionalIndex]; + const value = serializePositional(positional, flag); + if (!isEscaped) { + positionalIndex++; + return value; + } + return match; + } + ); + if (positionalIndex < positionals.length) { + formattedMessage += ` ${positionals.slice(positionalIndex).join(" ")}`; + } + formattedMessage = formattedMessage.replace(/%{2,2}/g, "%"); + return formattedMessage; +} + +// src/invariant.ts +var STACK_FRAMES_TO_IGNORE = 2; +function cleanErrorStack(error) { + if (!error.stack) { + return; + } + const nextStack = error.stack.split("\n"); + nextStack.splice(1, STACK_FRAMES_TO_IGNORE); + error.stack = nextStack.join("\n"); +} +var InvariantError = class extends Error { + constructor(message, ...positionals) { + super(message); + this.message = message; + this.name = "Invariant Violation"; + this.message = format(message, ...positionals); + cleanErrorStack(this); + } +}; +var invariant = (predicate, message, ...positionals) => { + if (!predicate) { + throw new InvariantError(message, ...positionals); + } +}; +invariant.as = (ErrorConstructor, predicate, message, ...positionals) => { + if (!predicate) { + const formatMessage = positionals.length === 0 ? message : format(message, ...positionals); + let error; + try { + error = Reflect.construct(ErrorConstructor, [ + formatMessage + ]); + } catch (err) { + error = ErrorConstructor(formatMessage); + } + throw error; + } +}; +export { + InvariantError, + format, + invariant +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/outvariant/lib/index.mjs.map b/node_modules/outvariant/lib/index.mjs.map new file mode 100644 index 0000000000..b08695db36 --- /dev/null +++ b/node_modules/outvariant/lib/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/format.ts","../src/invariant.ts"],"sourcesContent":["const POSITIONALS_EXP = /(%?)(%([sdijo]))/g\n\nfunction serializePositional(positional: any, flag: string): any {\n switch (flag) {\n // Strings.\n case 's':\n return positional\n\n // Digits.\n case 'd':\n case 'i':\n return Number(positional)\n\n // JSON.\n case 'j':\n return JSON.stringify(positional)\n\n // Objects.\n case 'o': {\n // Preserve stings to prevent extra quotes around them.\n if (typeof positional === 'string') {\n return positional\n }\n\n const json = JSON.stringify(positional)\n\n // If the positional isn't serializable, return it as-is.\n if (json === '{}' || json === '[]' || /^\\[object .+?\\]$/.test(json)) {\n return positional\n }\n\n return json\n }\n }\n}\n\nexport function format(message: string, ...positionals: any[]): string {\n if (positionals.length === 0) {\n return message\n }\n\n let positionalIndex = 0\n let formattedMessage = message.replace(\n POSITIONALS_EXP,\n (match, isEscaped, _, flag) => {\n const positional = positionals[positionalIndex]\n const value = serializePositional(positional, flag)\n\n if (!isEscaped) {\n positionalIndex++\n return value\n }\n\n return match\n }\n )\n\n // Append unresolved positionals to string as-is.\n if (positionalIndex < positionals.length) {\n formattedMessage += ` ${positionals.slice(positionalIndex).join(' ')}`\n }\n\n formattedMessage = formattedMessage.replace(/%{2,2}/g, '%')\n\n return formattedMessage\n}\n","import { format } from './format'\n\nconst STACK_FRAMES_TO_IGNORE = 2\n\n/**\n * Remove the \"outvariant\" package trace from the given error.\n * This scopes down the error stack to the relevant parts\n * when used in other applications.\n */\nfunction cleanErrorStack(error: Error): void {\n if (!error.stack) {\n return\n }\n\n const nextStack = error.stack.split('\\n')\n nextStack.splice(1, STACK_FRAMES_TO_IGNORE)\n error.stack = nextStack.join('\\n')\n}\n\nexport class InvariantError extends Error {\n name = 'Invariant Violation'\n\n constructor(public readonly message: string, ...positionals: any[]) {\n super(message)\n this.message = format(message, ...positionals)\n cleanErrorStack(this)\n }\n}\n\nexport interface CustomErrorConstructor {\n new (message: string): Error\n}\n\nexport interface CustomErrorFactory {\n (message: string): Error\n}\n\nexport type CustomError = CustomErrorConstructor | CustomErrorFactory\n\ntype Invariant = {\n (\n predicate: unknown,\n message: string,\n ...positionals: any[]\n ): asserts predicate\n\n as(\n ErrorConstructor: CustomError,\n predicate: unknown,\n message: string,\n ...positionals: unknown[]\n ): asserts predicate\n}\n\nexport const invariant: Invariant = (\n predicate,\n message,\n ...positionals\n): asserts predicate => {\n if (!predicate) {\n throw new InvariantError(message, ...positionals)\n }\n}\n\ninvariant.as = (ErrorConstructor, predicate, message, ...positionals) => {\n if (!predicate) {\n const formatMessage =\n positionals.length === 0 ? message : format(message, ...positionals)\n let error: Error\n\n try {\n error = Reflect.construct(ErrorConstructor as CustomErrorConstructor, [\n formatMessage,\n ])\n } catch (err) {\n error = (ErrorConstructor as CustomErrorFactory)(formatMessage)\n }\n\n throw error\n }\n}\n"],"mappings":";AAAA,IAAM,kBAAkB;AAExB,SAAS,oBAAoB,YAAiB,MAAmB;AAC/D,UAAQ,MAAM;AAAA,IAEZ,KAAK;AACH,aAAO;AAAA,IAGT,KAAK;AAAA,IACL,KAAK;AACH,aAAO,OAAO,UAAU;AAAA,IAG1B,KAAK;AACH,aAAO,KAAK,UAAU,UAAU;AAAA,IAGlC,KAAK,KAAK;AAER,UAAI,OAAO,eAAe,UAAU;AAClC,eAAO;AAAA,MACT;AAEA,YAAM,OAAO,KAAK,UAAU,UAAU;AAGtC,UAAI,SAAS,QAAQ,SAAS,QAAQ,mBAAmB,KAAK,IAAI,GAAG;AACnE,eAAO;AAAA,MACT;AAEA,aAAO;AAAA,IACT;AAAA,EACF;AACF;AAEO,SAAS,OAAO,YAAoB,aAA4B;AACrE,MAAI,YAAY,WAAW,GAAG;AAC5B,WAAO;AAAA,EACT;AAEA,MAAI,kBAAkB;AACtB,MAAI,m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names":[]} \ No newline at end of file diff --git a/node_modules/outvariant/package.json b/node_modules/outvariant/package.json new file mode 100644 index 0000000000..31bc82cd69 --- /dev/null +++ b/node_modules/outvariant/package.json @@ -0,0 +1,47 @@ +{ + "name": "outvariant", + "version": "1.4.3", + "description": "Type-safe implementation of invariant with positionals.", + "main": "lib/index.js", + "module": "lib/index.mjs", + "typings": "lib/index.d.ts", + "exports": { + ".": { + "types": "./lib/index.d.ts", + "require": "./lib/index.js", + "default": "./lib/index.mjs" + } + }, + "author": "Artem Zakharchenko", + "license": "MIT", + "scripts": { + "test": "jest", + "clean": "rimraf ./lib", + "build": "yarn clean && tsup", + "prepublishOnly": "yarn test && yarn build", + "release": "release publish" + }, + "files": [ + "lib" + ], + "keywords": [ + "invariant", + "outvariant", + "exception", + "positional" + ], + "devDependencies": { + "@ossjs/release": "^0.8.0", + "@types/jest": "^26.0.23", + "jest": "^27.0.6", + "rimraf": "^3.0.2", + "ts-jest": "^27.0.3", + "ts-node": "^10.0.0", + "tsup": "^6.2.3", + "typescript": "^4.3.4" + }, + "repository": { + "type": "git", + "url": "https://github.com/open-draft/outvariant" + } +} \ No newline at end of file diff --git a/node_modules/strict-event-emitter/README.md b/node_modules/strict-event-emitter/README.md new file mode 100644 index 0000000000..c972baacd4 --- /dev/null +++ b/node_modules/strict-event-emitter/README.md @@ -0,0 +1,79 @@ +# Strict Event Emitter + +A type-safe implementation of `EventEmitter` for browser and Node.js. + +## Motivation + +Despite event emitters potentially accepting any runtime value, defining a strict event contract is crucial when developing complex event-driven architectures. Unfortunately, the native type definitions for Node's `EventEmitter` annotate event names as `string`, which forbids any stricter type validation. + +```js +// index.js +const emitter = new EventEmitter() + +// Let's say our application expects a "ping" +// event with the number payload. +emitter.on('ping', (n: number) => {}) + +// We can, however, emit a different event by mistake. +emitter.emit('pong', 1) + +// Or even the correct event with the wrong data. +emitter.emit('ping', 'wait, not a number') +``` + +The purpose of this library is to provide an `EventEmitter` instance that can accept a generic describing the expected events contract. + +```ts +import { Emitter } from 'strict-event-emitter' + +// Define a strict events contract where keys +// represent event names and values represent +// the list of arguments expected in ".emit()". +type Events = { + ping: [number] +} + +const emitter = new Emitter() +emitter.addListener('ping', (n) => { + // "n" argument type is inferred as "number'. +}) + +emitter.emit('ping', 10) // OK +emitter.emit('unknown', 10) // TypeError (invalid event name) +emitter.emit('ping', 'wait, not a number') // TypeError (invalid data) +``` + +This library is also a custom `EventEmitter` implementation, which makes it compatible with other environments, like browsers or React Native. + +## Getting started + +### Install + +```bash +npm install strict-event-emitter +``` + +### Use + +```ts +import { Emitter } from 'strict-event-emitter' + +// 1. Define an interface that describes your events. +// Set event names as the keys, and their expected payloads as values. +interface Events { + connect: [id: string] + disconnect: [id: string] +} + +// 2. Create a strict emitter and pass the previously defined "Events" +// as its first generic argument. +const emitter = new Emitter() + +// 3. Use the "emitter" the same way you'd use the regular "EventEmitter" instance. +emitter.addListener('connect', (id) => {}) +emitter.emit('connect', 'abc-123') +``` + +## License + +MIT diff --git a/node_modules/strict-event-emitter/lib/index.d.ts b/node_modules/strict-event-emitter/lib/index.d.ts new file mode 100644 index 0000000000..7068ce7ba1 --- /dev/null +++ b/node_modules/strict-event-emitter/lib/index.d.ts @@ -0,0 +1,81 @@ +declare type EventMap = { + [eventName: string]: Array; +}; +declare type InternalEventNames = 'newListener' | 'removeListener'; +declare type InternalListener = Listener<[ + eventName: keyof Events, + listener: Listener> +]>; +declare type Listener> = (...data: Data) => void; +/** + * Node.js-compatible implementation of `EventEmitter`. + * + * @example + * const emitter = new Emitter<{ hello: [string] }>() + * emitter.on('hello', (name) => console.log(name)) + * emitter.emit('hello', 'John') + */ +declare class Emitter { + private events; + private maxListeners; + private hasWarnedAboutPotentialMemoryLeak; + static defaultMaxListeners: number; + static listenerCount(emitter: Emitter, eventName: keyof Events): number; + constructor(); + private _emitInternalEvent; + private _getListeners; + private _removeListener; + private _wrapOnceListener; + setMaxListeners(maxListeners: number): this; + /** + * Returns the current max listener value for the `Emitter` which is + * either set by `emitter.setMaxListeners(n)` or defaults to + * `Emitter.defaultMaxListeners`. + */ + getMaxListeners(): number; + /** + * Returns an array listing the events for which the emitter has registered listeners. + * The values in the array will be strings or Symbols. + */ + eventNames(): Array; + /** + * Synchronously calls each of the listeners registered for the event named `eventName`, + * in the order they were registered, passing the supplied arguments to each. + * Returns `true` if the event has listeners, `false` otherwise. + * + * @example + * const emitter = new Emitter<{ hello: [string] }>() + * emitter.emit('hello', 'John') + */ + emit(eventName: EventName, ...data: Events[EventName]): boolean; + addListener(eventName: InternalEventNames, listener: InternalListener): this; + addListener(eventName: EventName, listener: Listener): this; + on(eventName: InternalEventNames, listener: InternalListener): this; + on(eventName: EventName, listener: Listener): this; + once(eventName: InternalEventNames, listener: InternalListener): this; + once(eventName: EventName, listener: Listener): this; + prependListener(eventName: InternalEventNames, listener: InternalListener): this; + prependListener(eventName: EventName, listener: Listener): this; + prependOnceListener(eventName: InternalEventNames, listener: InternalListener): this; + prependOnceListener(eventName: EventName, listener: Listener): this; + removeListener(eventName: InternalEventNames, listener: InternalListener): this; + removeListener(eventName: EventName, listener: Listener): this; + off(eventName: InternalEventNames, listener: InternalListener): this; + off(eventName: EventName, listener: Listener): this; + removeAllListeners(eventName?: InternalEventNames): this; + removeAllListeners(eventName?: EventName): this; + listeners(eventName: InternalEventNames): Array>; + listeners(eventName: EventName): Array>; + listenerCount(eventName: InternalEventNames): number; + listenerCount(eventName: EventName): number; + rawListeners(eventName: EventName): Array>; +} + +declare class MemoryLeakError extends Error { + readonly emitter: Emitter; + readonly type: string | number | symbol; + readonly count: number; + constructor(emitter: Emitter, type: string | number | symbol, count: number); +} + +export { Emitter, EventMap, InternalEventNames, InternalListener, Listener, MemoryLeakError }; diff --git a/node_modules/strict-event-emitter/lib/index.js b/node_modules/strict-event-emitter/lib/index.js new file mode 100644 index 0000000000..1d4bc820d2 --- /dev/null +++ b/node_modules/strict-event-emitter/lib/index.js @@ -0,0 +1,198 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + Emitter: () => Emitter, + MemoryLeakError: () => MemoryLeakError +}); +module.exports = __toCommonJS(src_exports); + +// src/MemoryLeakError.ts +var MemoryLeakError = class extends Error { + constructor(emitter, type, count) { + super( + `Possible EventEmitter memory leak detected. ${count} ${type.toString()} listeners added. Use emitter.setMaxListeners() to increase limit` + ); + this.emitter = emitter; + this.type = type; + this.count = count; + this.name = "MaxListenersExceededWarning"; + } +}; + +// src/Emitter.ts +var _Emitter = class { + static listenerCount(emitter, eventName) { + return emitter.listenerCount(eventName); + } + constructor() { + this.events = /* @__PURE__ */ new Map(); + this.maxListeners = _Emitter.defaultMaxListeners; + this.hasWarnedAboutPotentialMemoryLeak = false; + } + _emitInternalEvent(internalEventName, eventName, listener) { + this.emit( + internalEventName, + ...[eventName, listener] + ); + } + _getListeners(eventName) { + return Array.prototype.concat.apply([], this.events.get(eventName)) || []; + } + _removeListener(listeners, listener) { + const index = listeners.indexOf(listener); + if (index > -1) { + listeners.splice(index, 1); + } + return []; + } + _wrapOnceListener(eventName, listener) { + const onceListener = (...data) => { + this.removeListener(eventName, onceListener); + return listener.apply(this, data); + }; + Object.defineProperty(onceListener, "name", { value: listener.name }); + return onceListener; + } + setMaxListeners(maxListeners) { + this.maxListeners = maxListeners; + return this; + } + /** + * Returns the current max listener value for the `Emitter` which is + * either set by `emitter.setMaxListeners(n)` or defaults to + * `Emitter.defaultMaxListeners`. + */ + getMaxListeners() { + return this.maxListeners; + } + /** + * Returns an array listing the events for which the emitter has registered listeners. + * The values in the array will be strings or Symbols. + */ + eventNames() { + return Array.from(this.events.keys()); + } + /** + * Synchronously calls each of the listeners registered for the event named `eventName`, + * in the order they were registered, passing the supplied arguments to each. + * Returns `true` if the event has listeners, `false` otherwise. + * + * @example + * const emitter = new Emitter<{ hello: [string] }>() + * emitter.emit('hello', 'John') + */ + emit(eventName, ...data) { + const listeners = this._getListeners(eventName); + listeners.forEach((listener) => { + listener.apply(this, data); + }); + return listeners.length > 0; + } + addListener(eventName, listener) { + this._emitInternalEvent("newListener", eventName, listener); + const nextListeners = this._getListeners(eventName).concat(listener); + this.events.set(eventName, nextListeners); + if (this.maxListeners > 0 && this.listenerCount(eventName) > this.maxListeners && !this.hasWarnedAboutPotentialMemoryLeak) { + this.hasWarnedAboutPotentialMemoryLeak = true; + const memoryLeakWarning = new MemoryLeakError( + this, + eventName, + this.listenerCount(eventName) + ); + console.warn(memoryLeakWarning); + } + return this; + } + on(eventName, listener) { + return this.addListener(eventName, listener); + } + once(eventName, listener) { + return this.addListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + prependListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + const nextListeners = [listener].concat(listeners); + this.events.set(eventName, nextListeners); + } else { + this.events.set(eventName, listeners.concat(listener)); + } + return this; + } + prependOnceListener(eventName, listener) { + return this.prependListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + removeListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + this._removeListener(listeners, listener); + this.events.set(eventName, listeners); + this._emitInternalEvent("removeListener", eventName, listener); + } + return this; + } + /** + * Alias for `emitter.removeListener()`. + * + * @example + * emitter.off('hello', listener) + */ + off(eventName, listener) { + return this.removeListener(eventName, listener); + } + removeAllListeners(eventName) { + if (eventName) { + this.events.delete(eventName); + } else { + this.events.clear(); + } + return this; + } + /** + * Returns a copy of the array of listeners for the event named `eventName`. + */ + listeners(eventName) { + return Array.from(this._getListeners(eventName)); + } + /** + * Returns the number of listeners listening to the event named `eventName`. + */ + listenerCount(eventName) { + return this._getListeners(eventName).length; + } + rawListeners(eventName) { + return this.listeners(eventName); + } +}; +var Emitter = _Emitter; +Emitter.defaultMaxListeners = 10; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + Emitter, + MemoryLeakError +}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/strict-event-emitter/lib/index.js.map b/node_modules/strict-event-emitter/lib/index.js.map new file mode 100644 index 0000000000..6dd965299d --- /dev/null +++ b/node_modules/strict-event-emitter/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts","../src/MemoryLeakError.ts","../src/Emitter.ts"],"sourcesContent":["export * from './Emitter'\nexport * from './MemoryLeakError'\n","import type { Emitter } from './Emitter'\n\nexport class MemoryLeakError extends Error {\n constructor(\n public readonly emitter: Emitter,\n public readonly type: string | number | symbol,\n public readonly count: number\n ) {\n super(\n `Possible EventEmitter memory leak detected. ${count} ${type.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`\n )\n this.name = 'MaxListenersExceededWarning'\n }\n}\n","import { MemoryLeakError } from './MemoryLeakError'\n\nexport type EventMap = {\n [eventName: string]: Array\n}\n\nexport type InternalEventNames = 'newListener' | 'removeListener'\n\nexport type InternalListener = Listener<\n [eventName: keyof Events, listener: Listener>]\n>\n\nexport type Listener> = (...data: Data) => void\n\n/**\n * Node.js-compatible implementation of `EventEmitter`.\n *\n * @example\n * const emitter = new Emitter<{ hello: [string] }>()\n * emitter.on('hello', (name) => console.log(name))\n * emitter.emit('hello', 'John')\n */\nexport class Emitter {\n private events: Map>>\n private maxListeners: number\n private hasWarnedAboutPotentialMemoryLeak: boolean\n\n static defaultMaxListeners = 10\n\n static listenerCount(\n emitter: Emitter,\n eventName: keyof Events\n ): number {\n return emitter.listenerCount(eventName)\n }\n\n constructor() {\n this.events = new Map()\n this.maxListeners = Emitter.defaultMaxListeners\n this.hasWarnedAboutPotentialMemoryLeak = false\n }\n\n private _emitInternalEvent(\n internalEventName: InternalEventNames,\n eventName: keyof Events,\n listener: Listener>\n ): void {\n this.emit(\n internalEventName,\n // Anything to make TypeScript happy.\n ...([eventName, listener] as Events['newListener'] &\n Events['removeListener'])\n )\n }\n\n private _getListeners(\n eventName: EventName\n ): Array>> {\n // Always return a copy of the listeners array\n // so they are fixed at the time of the \"_getListeners\" call.\n return Array.prototype.concat.apply([], this.events.get(eventName)) || []\n }\n\n private _removeListener(\n listeners: Array>,\n listener: Listener\n ): Array> {\n const index = listeners.indexOf(listener)\n\n if (index > -1) {\n listeners.splice(index, 1)\n }\n\n return []\n }\n\n private _wrapOnceListener(\n eventName: EventName,\n listener: Listener\n ): Listener {\n const onceListener = (...data: Events[keyof Events]) => {\n this.removeListener(eventName, onceListener)\n\n /**\n * @note Return the result of the original listener.\n * This way this wrapped preserves listeners that are async.\n */\n return listener.apply(this, data)\n }\n\n // Inherit the name of the original listener.\n Object.defineProperty(onceListener, 'name', { value: listener.name })\n\n return onceListener\n }\n\n public setMaxListeners(maxListeners: number): this {\n this.maxListeners = maxListeners\n return this\n }\n\n /**\n * Returns the current max listener value for the `Emitter` which is\n * either set by `emitter.setMaxListeners(n)` or defaults to\n * `Emitter.defaultMaxListeners`.\n */\n public getMaxListeners(): number {\n return this.maxListeners\n }\n\n /**\n * Returns an array listing the events for which the emitter has registered listeners.\n * The values in the array will be strings or Symbols.\n */\n public eventNames(): Array {\n return Array.from(this.events.keys())\n }\n\n /**\n * Synchronously calls each of the listeners registered for the event named `eventName`,\n * in the order they were registered, passing the supplied arguments to each.\n * Returns `true` if the event has listeners, `false` otherwise.\n *\n * @example\n * const emitter = new Emitter<{ hello: [string] }>()\n * emitter.emit('hello', 'John')\n */\n public emit(\n eventName: EventName,\n ...data: Events[EventName]\n ): boolean {\n const listeners = this._getListeners(eventName)\n listeners.forEach((listener) => {\n listener.apply(this, data)\n })\n\n return listeners.length > 0\n }\n\n public addListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public addListener(\n eventName: EventName,\n listener: Listener\n ): this\n public addListener(\n eventName: InternalEventNames | keyof Events,\n listener: InternalListener | Listener\n ): this {\n // Emit the `newListener` event before adding the listener.\n this._emitInternalEvent('newListener', eventName, listener)\n\n const nextListeners = this._getListeners(eventName).concat(listener)\n this.events.set(eventName, nextListeners)\n\n if (\n this.maxListeners > 0 &&\n this.listenerCount(eventName) > this.maxListeners &&\n !this.hasWarnedAboutPotentialMemoryLeak\n ) {\n this.hasWarnedAboutPotentialMemoryLeak = true\n\n const memoryLeakWarning = new MemoryLeakError(\n this,\n eventName,\n this.listenerCount(eventName)\n )\n console.warn(memoryLeakWarning)\n }\n\n return this\n }\n\n public on(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public on(\n eventName: EventName,\n listener: Listener\n ): this\n public on(\n eventName: 'removeListener' | EventName,\n listener: Listener\n ): this {\n return this.addListener(eventName, listener)\n }\n\n public once(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public once(\n eventName: EventName,\n listener: Listener\n ): this\n public once(\n eventName: InternalEventNames | EventName,\n listener: Listener\n ): this {\n return this.addListener(\n eventName,\n this._wrapOnceListener(eventName, listener)\n )\n }\n\n public prependListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public prependListener(\n eventName: EventName,\n listener: Listener\n ): this\n public prependListener(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n const listeners = this._getListeners(eventName)\n\n if (listeners.length > 0) {\n const nextListeners = [listener].concat(listeners)\n this.events.set(eventName, nextListeners)\n } else {\n this.events.set(eventName, listeners.concat(listener))\n }\n\n return this\n }\n\n public prependOnceListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public prependOnceListener(\n eventName: EventName,\n listener: Listener\n ): this\n public prependOnceListener(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n return this.prependListener(\n eventName,\n this._wrapOnceListener(eventName, listener)\n )\n }\n\n public removeListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public removeListener(\n eventName: EventName,\n listener: Listener\n ): this\n public removeListener(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n const listeners = this._getListeners(eventName)\n\n if (listeners.length > 0) {\n this._removeListener(listeners, listener)\n this.events.set(eventName, listeners)\n\n // Emit the `removeListener` event after removing the listener.\n this._emitInternalEvent('removeListener', eventName, listener)\n }\n\n return this\n }\n\n public off(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public off(\n eventName: EventName,\n listener: Listener\n ): this\n /**\n * Alias for `emitter.removeListener()`.\n *\n * @example\n * emitter.off('hello', listener)\n */\n public off(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n return this.removeListener(eventName, listener)\n }\n\n public removeAllListeners(eventName?: InternalEventNames): this\n public removeAllListeners(\n eventName?: EventName\n ): this\n public removeAllListeners(\n eventName?: InternalEventNames | keyof Events\n ): this {\n if (eventName) {\n this.events.delete(eventName)\n } else {\n this.events.clear()\n }\n\n return this\n }\n\n public listeners(eventName: InternalEventNames): Array>\n public listeners(\n eventName: EventName\n ): Array>\n /**\n * Returns a copy of the array of listeners for the event named `eventName`.\n */\n public listeners(eventName: InternalEventNames | keyof Events) {\n return Array.from(this._getListeners(eventName))\n }\n\n public listenerCount(eventName: InternalEventNames): number\n public listenerCount(\n eventName: EventName\n ): number\n /**\n * Returns the number of listeners listening to the event named `eventName`.\n */\n public listenerCount(eventName: InternalEventNames | keyof Events): number {\n return this._getListeners(eventName).length\n }\n\n public rawListeners(\n eventName: EventName\n ): Array> {\n return this.listeners(eventName)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,kBAAN,cAA8B,MAAM;AAAA,EACzC,YACkB,SACA,MACA,O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;AAAA,EACF;AAAA,EAUO,eACL,WACA,UACM;AACN,UAAM,YAAY,KAAK,cAAc,SAAS;AAE9C,QAAI,UAAU,SAAS,GAAG;AACxB,WAAK,gBAAgB,WAAW,QAAQ;AACxC,WAAK,OAAO,IAAI,WAAW,SAAS;AAGpC,WAAK,mBAAmB,kBAAkB,WAAW,QAAQ;AAAA,IAC/D;AAEA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBO,IACL,WACA,UACM;AACN,WAAO,KAAK,eAAe,WAAW,QAAQ;AAAA,EAChD;AAAA,EAMO,mBACL,WACM;AACN,QAAI,WAAW;AACb,WAAK,OAAO,OAAO,SAAS;AAAA,IAC9B,OAAO;AACL,WAAK,OAAO,MAAM;AAAA,IACpB;AAEA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA,EASO,UAAU,WAA8C;AAC7D,WAAO,MAAM,KAAK,KAAK,cAAc,SAAS,CAAC;AAAA,EACjD;AAAA;AAAA;AAAA;AAAA,EASO,cAAc,WAAsD;AACzE,WAAO,KAAK,cAAc,SAAS,EAAE;AAAA,EACvC;AAAA,EAEO,aACL,WACoC;AACpC,WAAO,KAAK,UAAU,SAAS;AAAA,EACjC;AACF;AA7TO,IAAM,UAAN;AAAM,QAKJ,sBAAsB;","names":[]} \ No newline at end of file diff --git a/node_modules/strict-event-emitter/lib/index.mjs b/node_modules/strict-event-emitter/lib/index.mjs new file mode 100644 index 0000000000..d68faf8261 --- /dev/null +++ b/node_modules/strict-event-emitter/lib/index.mjs @@ -0,0 +1,171 @@ +// src/MemoryLeakError.ts +var MemoryLeakError = class extends Error { + constructor(emitter, type, count) { + super( + `Possible EventEmitter memory leak detected. ${count} ${type.toString()} listeners added. Use emitter.setMaxListeners() to increase limit` + ); + this.emitter = emitter; + this.type = type; + this.count = count; + this.name = "MaxListenersExceededWarning"; + } +}; + +// src/Emitter.ts +var _Emitter = class { + static listenerCount(emitter, eventName) { + return emitter.listenerCount(eventName); + } + constructor() { + this.events = /* @__PURE__ */ new Map(); + this.maxListeners = _Emitter.defaultMaxListeners; + this.hasWarnedAboutPotentialMemoryLeak = false; + } + _emitInternalEvent(internalEventName, eventName, listener) { + this.emit( + internalEventName, + ...[eventName, listener] + ); + } + _getListeners(eventName) { + return Array.prototype.concat.apply([], this.events.get(eventName)) || []; + } + _removeListener(listeners, listener) { + const index = listeners.indexOf(listener); + if (index > -1) { + listeners.splice(index, 1); + } + return []; + } + _wrapOnceListener(eventName, listener) { + const onceListener = (...data) => { + this.removeListener(eventName, onceListener); + return listener.apply(this, data); + }; + Object.defineProperty(onceListener, "name", { value: listener.name }); + return onceListener; + } + setMaxListeners(maxListeners) { + this.maxListeners = maxListeners; + return this; + } + /** + * Returns the current max listener value for the `Emitter` which is + * either set by `emitter.setMaxListeners(n)` or defaults to + * `Emitter.defaultMaxListeners`. + */ + getMaxListeners() { + return this.maxListeners; + } + /** + * Returns an array listing the events for which the emitter has registered listeners. + * The values in the array will be strings or Symbols. + */ + eventNames() { + return Array.from(this.events.keys()); + } + /** + * Synchronously calls each of the listeners registered for the event named `eventName`, + * in the order they were registered, passing the supplied arguments to each. + * Returns `true` if the event has listeners, `false` otherwise. + * + * @example + * const emitter = new Emitter<{ hello: [string] }>() + * emitter.emit('hello', 'John') + */ + emit(eventName, ...data) { + const listeners = this._getListeners(eventName); + listeners.forEach((listener) => { + listener.apply(this, data); + }); + return listeners.length > 0; + } + addListener(eventName, listener) { + this._emitInternalEvent("newListener", eventName, listener); + const nextListeners = this._getListeners(eventName).concat(listener); + this.events.set(eventName, nextListeners); + if (this.maxListeners > 0 && this.listenerCount(eventName) > this.maxListeners && !this.hasWarnedAboutPotentialMemoryLeak) { + this.hasWarnedAboutPotentialMemoryLeak = true; + const memoryLeakWarning = new MemoryLeakError( + this, + eventName, + this.listenerCount(eventName) + ); + console.warn(memoryLeakWarning); + } + return this; + } + on(eventName, listener) { + return this.addListener(eventName, listener); + } + once(eventName, listener) { + return this.addListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + prependListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + const nextListeners = [listener].concat(listeners); + this.events.set(eventName, nextListeners); + } else { + this.events.set(eventName, listeners.concat(listener)); + } + return this; + } + prependOnceListener(eventName, listener) { + return this.prependListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + removeListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + this._removeListener(listeners, listener); + this.events.set(eventName, listeners); + this._emitInternalEvent("removeListener", eventName, listener); + } + return this; + } + /** + * Alias for `emitter.removeListener()`. + * + * @example + * emitter.off('hello', listener) + */ + off(eventName, listener) { + return this.removeListener(eventName, listener); + } + removeAllListeners(eventName) { + if (eventName) { + this.events.delete(eventName); + } else { + this.events.clear(); + } + return this; + } + /** + * Returns a copy of the array of listeners for the event named `eventName`. + */ + listeners(eventName) { + return Array.from(this._getListeners(eventName)); + } + /** + * Returns the number of listeners listening to the event named `eventName`. + */ + listenerCount(eventName) { + return this._getListeners(eventName).length; + } + rawListeners(eventName) { + return this.listeners(eventName); + } +}; +var Emitter = _Emitter; +Emitter.defaultMaxListeners = 10; +export { + Emitter, + MemoryLeakError +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/strict-event-emitter/lib/index.mjs.map b/node_modules/strict-event-emitter/lib/index.mjs.map new file mode 100644 index 0000000000..26936046f3 --- /dev/null +++ b/node_modules/strict-event-emitter/lib/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/MemoryLeakError.ts","../src/Emitter.ts"],"sourcesContent":["import type { Emitter } from './Emitter'\n\nexport class MemoryLeakError extends Error {\n constructor(\n public readonly emitter: Emitter,\n public readonly type: string | number | symbol,\n public readonly count: number\n ) {\n super(\n `Possible EventEmitter memory leak detected. ${count} ${type.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`\n )\n this.name = 'MaxListenersExceededWarning'\n }\n}\n","import { MemoryLeakError } from './MemoryLeakError'\n\nexport type EventMap = {\n [eventName: string]: Array\n}\n\nexport type InternalEventNames = 'newListener' | 'removeListener'\n\nexport type InternalListener = Listener<\n [eventName: keyof Events, listener: Listener>]\n>\n\nexport type Listener> = (...data: Data) => void\n\n/**\n * Node.js-compatible implementation of `EventEmitter`.\n *\n * @example\n * const emitter = new Emitter<{ hello: [string] }>()\n * emitter.on('hello', (name) => console.log(name))\n * emitter.emit('hello', 'John')\n */\nexport class Emitter {\n private events: Map>>\n private maxListeners: number\n private hasWarnedAboutPotentialMemoryLeak: boolean\n\n static defaultMaxListeners = 10\n\n static listenerCount(\n emitter: Emitter,\n eventName: keyof Events\n ): number {\n return emitter.listenerCount(eventName)\n }\n\n constructor() {\n this.events = new Map()\n this.maxListeners = Emitter.defaultMaxListeners\n this.hasWarnedAboutPotentialMemoryLeak = false\n }\n\n private _emitInternalEvent(\n internalEventName: InternalEventNames,\n eventName: keyof Events,\n listener: Listener>\n ): void {\n this.emit(\n internalEventName,\n // Anything to make TypeScript happy.\n ...([eventName, listener] as Events['newListener'] &\n Events['removeListener'])\n )\n }\n\n private _getListeners(\n eventName: EventName\n ): Array>> {\n // Always return a copy of the listeners array\n // so they are fixed at the time of the \"_getListeners\" call.\n return Array.prototype.concat.apply([], this.events.get(eventName)) || []\n }\n\n private _removeListener(\n listeners: Array>,\n listener: Listener\n ): Array> {\n const index = listeners.indexOf(listener)\n\n if (index > -1) {\n listeners.splice(index, 1)\n }\n\n return []\n }\n\n private _wrapOnceListener(\n eventName: EventName,\n listener: Listener\n ): Listener {\n const onceListener = (...data: Events[keyof Events]) => {\n this.removeListener(eventName, onceListener)\n\n /**\n * @note Return the result of the original listener.\n * This way this wrapped preserves listeners that are async.\n */\n return listener.apply(this, data)\n }\n\n // Inherit the name of the original listener.\n Object.defineProperty(onceListener, 'name', { value: listener.name })\n\n return onceListener\n }\n\n public setMaxListeners(maxListeners: number): this {\n this.maxListeners = maxListeners\n return this\n }\n\n /**\n * Returns the current max listener value for the `Emitter` which is\n * either set by `emitter.setMaxListeners(n)` or defaults to\n * `Emitter.defaultMaxListeners`.\n */\n public getMaxListeners(): number {\n return this.maxListeners\n }\n\n /**\n * Returns an array listing the events for which the emitter has registered listeners.\n * The values in the array will be strings or Symbols.\n */\n public eventNames(): Array {\n return Array.from(this.events.keys())\n }\n\n /**\n * Synchronously calls each of the listeners registered for the event named `eventName`,\n * in the order they were registered, passing the supplied arguments to each.\n * Returns `true` if the event has listeners, `false` otherwise.\n *\n * @example\n * const emitter = new Emitter<{ hello: [string] }>()\n * emitter.emit('hello', 'John')\n */\n public emit(\n eventName: EventName,\n ...data: Events[EventName]\n ): boolean {\n const listeners = this._getListeners(eventName)\n listeners.forEach((listener) => {\n listener.apply(this, data)\n })\n\n return listeners.length > 0\n }\n\n public addListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public addListener(\n eventName: EventName,\n listener: Listener\n ): this\n public addListener(\n eventName: InternalEventNames | keyof Events,\n listener: InternalListener | Listener\n ): this {\n // Emit the `newListener` event before adding the listener.\n this._emitInternalEvent('newListener', eventName, listener)\n\n const nextListeners = this._getListeners(eventName).concat(listener)\n this.events.set(eventName, nextListeners)\n\n if (\n this.maxListeners > 0 &&\n this.listenerCount(eventName) > this.maxListeners &&\n !this.hasWarnedAboutPotentialMemoryLeak\n ) {\n this.hasWarnedAboutPotentialMemoryLeak = true\n\n const memoryLeakWarning = new MemoryLeakError(\n this,\n eventName,\n this.listenerCount(eventName)\n )\n console.warn(memoryLeakWarning)\n }\n\n return this\n }\n\n public on(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public on(\n eventName: EventName,\n listener: Listener\n ): this\n public on(\n eventName: 'removeListener' | EventName,\n listener: Listener\n ): this {\n return this.addListener(eventName, listener)\n }\n\n public once(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public once(\n eventName: EventName,\n listener: Listener\n ): this\n public once(\n eventName: InternalEventNames | EventName,\n listener: Listener\n ): this {\n return this.addListener(\n eventName,\n this._wrapOnceListener(eventName, listener)\n )\n }\n\n public prependListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public prependListener(\n eventName: EventName,\n listener: Listener\n ): this\n public prependListener(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n const listeners = this._getListeners(eventName)\n\n if (listeners.length > 0) {\n const nextListeners = [listener].concat(listeners)\n this.events.set(eventName, nextListeners)\n } else {\n this.events.set(eventName, listeners.concat(listener))\n }\n\n return this\n }\n\n public prependOnceListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public prependOnceListener(\n eventName: EventName,\n listener: Listener\n ): this\n public prependOnceListener(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n return this.prependListener(\n eventName,\n this._wrapOnceListener(eventName, listener)\n )\n }\n\n public removeListener(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public removeListener(\n eventName: EventName,\n listener: Listener\n ): this\n public removeListener(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n const listeners = this._getListeners(eventName)\n\n if (listeners.length > 0) {\n this._removeListener(listeners, listener)\n this.events.set(eventName, listeners)\n\n // Emit the `removeListener` event after removing the listener.\n this._emitInternalEvent('removeListener', eventName, listener)\n }\n\n return this\n }\n\n public off(\n eventName: InternalEventNames,\n listener: InternalListener\n ): this\n public off(\n eventName: EventName,\n listener: Listener\n ): this\n /**\n * Alias for `emitter.removeListener()`.\n *\n * @example\n * emitter.off('hello', listener)\n */\n public off(\n eventName: InternalEventNames | keyof Events,\n listener: Listener\n ): this {\n return this.removeListener(eventName, listener)\n }\n\n public removeAllListeners(eventName?: InternalEventNames): this\n public removeAllListeners(\n eventName?: EventName\n ): this\n public removeAllListeners(\n eventName?: InternalEventNames | keyof Events\n ): this {\n if (eventName) {\n this.events.delete(eventName)\n } else {\n this.events.clear()\n }\n\n return this\n }\n\n public listeners(eventName: InternalEventNames): Array>\n public listeners(\n eventName: EventName\n ): Array>\n /**\n * Returns a copy of the array of listeners for the event named `eventName`.\n */\n public listeners(eventName: InternalEventNames | keyof Events) {\n return Array.from(this._getListeners(eventName))\n }\n\n public listenerCount(eventName: InternalEventNames): number\n public listenerCount(\n eventName: EventName\n ): number\n /**\n * Returns the number of listeners listening to the event named `eventName`.\n */\n public listenerCount(eventName: InternalEventNames | keyof Events): number {\n return this._getListeners(eventName).length\n }\n\n public rawListeners(\n eventName: EventName\n ): Array> {\n return this.listeners(eventName)\n }\n}\n"],"mappings":";AAEO,IAAM,kBAAN,cAA8B,MAAM;AAAA,EACzC,YACkB,SACA,MACA,OAChB;AACA;AAAA,MACE,+CAA+C,SAAS,KAAK,SAAS;AAAA,IACxE;AANgB;AACA;AACA;AAKhB,SAAK,OAAO;AAAA,EACd;AACF;;;ACSO,IAAM,WAAN,MAAuC;AAAA,EAO5C,OAAO,cACL,SACA,WACQ;AACR,WAAO,QAAQ,cAAmB,SAAS;AAAA,EAC7C;AAAA,EAEA,cAAc;AACZ,SAAK,SAAS,oBAAI,IAAI;AACtB,SAAK,eAAe,SAAQ;AAC5B,SAAK,oCAAoC;AAAA,EAC3C;AAAA,EAEQ,mBACN,mBACA,WACA,UACM;AACN,SAAK;AAAA,MACH;AAAA,MAEA,GAAI,CAAC,WAAW,QAAQ;AAAA,IAE1B;AAAA,EACF;AAAA,EAEQ,cACN,WACiC;AAGjC,WAAO,MAAM,UAAU,OAAO,MAAM,CAAC,GAAG,KAAK,OAAO,IAAI,SAAS,CAAC,KAAK,CAAC;AAAA,EAC1E;AAAA,EAEQ,gBACN,WACA,UACoC;AACpC,UAAM,QAAQ,UAAU,QAAQ,QAAQ;AAExC,QAAI,QAAQ,IAAI;AACd,gBAAU,OAAO,OAAO,CAAC;AAAA,IAC3B;AAEA,WAAO,CAAC;AAAA,EACV;AAAA,EAEQ,kBACN,WACA,UAC6B;AAC7B,UAAM,eAAe,IAAI,SAA+B;AACtD,WAAK,eAAe,WAAW,YAAY;AAM3C,aAAO,SAAS,MAAM,MAAM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node_modules/strict-event-emitter/package.json new file mode 100644 index 0000000000..54a40577dd --- /dev/null +++ b/node_modules/strict-event-emitter/package.json @@ -0,0 +1,41 @@ +{ + "name": "strict-event-emitter", + "version": "0.5.1", + "description": "Type-safe implementation of EventEmitter for browser and Node.js", + "main": "lib/index.js", + "module": "lib/index.mjs", + "typings": "lib/index.d.ts", + "exports": { + ".": { + "types": "./lib/index.d.ts", + "require": "./lib/index.js", + "default": "./lib/index.mjs" + } + }, + "repository": "git@github.com:open-draft/strict-event-emitter.git", + "author": "Artem Zakharchenko ", + "license": "MIT", + "files": [ + "lib" + ], + "devDependencies": { + "@ossjs/release": "^0.8.0", + "@types/events": "^3.0.0", + "@types/jest": "^29.2.4", + "jest": "^29.3.1", + "jest-extended": "^3.2.0", + "rimraf": "^3.0.2", + "ts-jest": "^29.0.3", + "ts-node": "^9.1.1", + "tsup": "^6.2.3", + "typescript": "4.8" + }, + "scripts": { + "dev": "tsc -w", + "test": "jest", + "test:ts": "tsc -p test/typings.tsconfig.json", + "clean": "rimraf ./lib", + "build": "pnpm clean && tsup", + "release": "release publish" + } +} \ No newline at end of file From 9ba5bca2ab328393b351a618339ad6f4b552e583 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 27 Jan 2025 09:29:49 -0800 Subject: [PATCH 097/132] Update Python version to 3.13 in workflow --- .../workflows/update-supported-enterprise-server-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index 04a08fd00e..a4313e0f72 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.13" - name: Checkout CodeQL Action uses: actions/checkout@v4 - name: Checkout Enterprise Releases From 62c322fad9e33d39a2f7517e621a0e07516f5b48 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 27 Jan 2025 10:18:03 -0800 Subject: [PATCH 098/132] Add better comments around artifact upload tests --- lib/debug-artifacts.test.js | 23 +++++++++++++++++------ lib/debug-artifacts.test.js.map | 2 +- src/debug-artifacts.test.ts | 18 ++++++++++++++---- 3 files changed, 32 insertions(+), 11 deletions(-) diff --git a/lib/debug-artifacts.test.js b/lib/debug-artifacts.test.js index f938837149..bebf46441b 100644 --- a/lib/debug-artifacts.test.js +++ b/lib/debug-artifacts.test.js @@ -46,7 +46,14 @@ const util_1 = require("./util"); t.deepEqual(debugArtifacts.sanitizeArtifactName("hello===123"), "hello123"); t.deepEqual(debugArtifacts.sanitizeArtifactName("*m)a&n^y%i££n+v!a:l[i]d"), "manyinvalid"); }); -(0, ava_1.default)("uploadDebugArtifacts when artifacts empty", async (t) => { +// These next tests check the correctness of the logic to determine whether or not +// artifacts are uploaded in debug mode. Since it's not easy to mock the actual +// call to upload an artifact, we just check that we get an "upload-failed" result, +// instead of actually uploading the artifact. +// +// For tests where we expect artifact upload to be blocked, we check for a different +// response from the function. +(0, ava_1.default)("uploadDebugArtifacts when artifacts empty should emit 'no-artifacts-to-upload'", async (t) => { // Test that no error is thrown if artifacts list is empty. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { @@ -54,23 +61,27 @@ const util_1 = require("./util"); t.is(uploaded, "no-artifacts-to-upload", "Should not have uploaded any artifacts"); }); }); -(0, ava_1.default)("uploadDebugArtifacts when no codeql version is used", async (t) => { +(0, ava_1.default)("uploadDebugArtifacts when no codeql version is used should invoke artifact upload", async (t) => { // Test that the artifact is uploaded. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, undefined); - t.is(uploaded, "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); + t.is(uploaded, + // The failure is expected since we don't want to actually upload any artifacts in unit tests. + "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); }); }); -(0, ava_1.default)("uploadDebugArtifacts when new codeql version is used", async (t) => { +(0, ava_1.default)("uploadDebugArtifacts when new codeql version is used should invoke artifact upload", async (t) => { // Test that the artifact is uploaded. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, "2.20.3"); - t.is(uploaded, "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); + t.is(uploaded, + // The failure is expected since we don't want to actually upload any artifacts in unit tests. + "upload-failed", "Expect failure to upload artifacts since root dir does not exist"); }); }); -(0, ava_1.default)("uploadDebugArtifacts when old codeql is used", async (t) => { +(0, ava_1.default)("uploadDebugArtifacts when old codeql is used should avoid trying to upload artifacts", async (t) => { // Test that the artifact is not uploaded. const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { diff --git a/lib/debug-artifacts.test.js.map b/lib/debug-artifacts.test.js.map index e26b09ffaa..f24c1fa15e 100644 --- a/lib/debug-artifacts.test.js.map +++ b/lib/debug-artifacts.test.js.map @@ -1 +1 @@ -{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,kEAAoD;AACpD,uCAA6C;AAC7C,iCAAuC;AAEvC,IAAA,aAAI,EAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,cAAc,CACf,CAAC;IACF,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,YAAY,CACb,CAAC;IACF,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,o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AC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ,EACR,eAAe,EACf,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,8CAA8C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC/D,0CAA0C;IAC1C,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ,EACR,sBAAsB,EACtB,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,kEAAoD;AACpD,uCAA6C;AAC7C,iCAAuC;AAEvC,IAAA,aAAI,EAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,cAAc,CACf,CAAC;IACF,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,YAAY,CACb,CAAC;IACF,CAAC,CA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H,IAAA,aAAI,EAAC,oFAAoF,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACrG,sCAAsC;IACtC,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ;QACR,8FAA8F;QAC9F,eAAe,EACf,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sFAAsF,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvG,0CAA0C;IAC1C,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ,EACR,sBAAsB,EACtB,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/debug-artifacts.test.ts b/src/debug-artifacts.test.ts index 51566cb311..28c66fe307 100644 --- a/src/debug-artifacts.test.ts +++ b/src/debug-artifacts.test.ts @@ -20,7 +20,15 @@ test("sanitizeArtifactName", (t) => { ); }); -test("uploadDebugArtifacts when artifacts empty", async (t) => { +// These next tests check the correctness of the logic to determine whether or not +// artifacts are uploaded in debug mode. Since it's not easy to mock the actual +// call to upload an artifact, we just check that we get an "upload-failed" result, +// instead of actually uploading the artifact. +// +// For tests where we expect artifact upload to be blocked, we check for a different +// response from the function. + +test("uploadDebugArtifacts when artifacts empty should emit 'no-artifacts-to-upload'", async (t) => { // Test that no error is thrown if artifacts list is empty. const logger = getActionsLogger(); await t.notThrowsAsync(async () => { @@ -40,7 +48,7 @@ test("uploadDebugArtifacts when artifacts empty", async (t) => { }); }); -test("uploadDebugArtifacts when no codeql version is used", async (t) => { +test("uploadDebugArtifacts when no codeql version is used should invoke artifact upload", async (t) => { // Test that the artifact is uploaded. const logger = getActionsLogger(); await t.notThrowsAsync(async () => { @@ -54,13 +62,14 @@ test("uploadDebugArtifacts when no codeql version is used", async (t) => { ); t.is( uploaded, + // The failure is expected since we don't want to actually upload any artifacts in unit tests. "upload-failed", "Expect failure to upload artifacts since root dir does not exist", ); }); }); -test("uploadDebugArtifacts when new codeql version is used", async (t) => { +test("uploadDebugArtifacts when new codeql version is used should invoke artifact upload", async (t) => { // Test that the artifact is uploaded. const logger = getActionsLogger(); await t.notThrowsAsync(async () => { @@ -74,13 +83,14 @@ test("uploadDebugArtifacts when new codeql version is used", async (t) => { ); t.is( uploaded, + // The failure is expected since we don't want to actually upload any artifacts in unit tests. "upload-failed", "Expect failure to upload artifacts since root dir does not exist", ); }); }); -test("uploadDebugArtifacts when old codeql is used", async (t) => { +test("uploadDebugArtifacts when old codeql is used should avoid trying to upload artifacts", async (t) => { // Test that the artifact is not uploaded. const logger = getActionsLogger(); await t.notThrowsAsync(async () => { From a8797048056402d6b6e8d3b3b5e67bb0ba32a6a1 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 27 Jan 2025 10:51:01 -0800 Subject: [PATCH 099/132] Clarify test fail;ure message --- lib/debug-artifacts.test.js | 2 +- lib/debug-artifacts.test.js.map | 2 +- src/debug-artifacts.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/debug-artifacts.test.js b/lib/debug-artifacts.test.js index bebf46441b..4df433b6c7 100644 --- a/lib/debug-artifacts.test.js +++ b/lib/debug-artifacts.test.js @@ -86,7 +86,7 @@ const util_1 = require("./util"); const logger = (0, logging_1.getActionsLogger)(); await t.notThrowsAsync(async () => { const uploaded = await debugArtifacts.uploadDebugArtifacts(logger, ["hucairz"], "i-dont-exist", "artifactName", util_1.GitHubVariant.DOTCOM, "2.20.2"); - t.is(uploaded, "upload-not-supported", "Expect failure to upload artifacts since root dir does not exist"); + t.is(uploaded, "upload-not-supported", "Expected artifact upload to be blocked because of old CodeQL version"); }); }); //# sourceMappingURL=debug-artifacts.test.js.map \ No newline at end of file diff --git a/lib/debug-artifacts.test.js.map b/lib/debug-artifacts.test.js.map index f24c1fa15e..0facecaa66 100644 --- a/lib/debug-artifacts.test.js.map +++ b/lib/debug-artifacts.test.js.map @@ -1 +1 @@ -{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,kEAAoD;AACpD,uCAA6C;AAC7C,iCAAuC;AAEvC,IAAA,aAAI,EAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,cAAc,CACf,CAAC;IACF,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,YAAY,CACb,CAAC;IACF,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,EAC9D,aAAa,CACd,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,kFAAkF;AAClF,+EAA+E;AAC/E,mFAAmF;AACnF,8CAA8C;AAC9C,EAAE;AACF,oFAAoF;AACpF,8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c,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ;QACR,8FAA8F;QAC9F,eAAe,EACf,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sFAAsF,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvG,0CAA0C;IAC1C,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ,EACR,sBAAsB,EACtB,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"debug-artifacts.test.js","sourceRoot":"","sources":["../src/debug-artifacts.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AAEvB,kEAAoD;AACpD,uCAA6C;AAC7C,iCAAuC;AAEvC,IAAA,aAAI,EAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,cAAc,CACf,CAAC;IACF,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,EACnD,YAAY,CACb,CAAC;IACF,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,oBAAoB,CA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AClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ;QACR,8FAA8F;QAC9F,eAAe,EACf,kEAAkE,CACnE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sFAAsF,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvG,0CAA0C;IAC1C,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,EAAE;QAChC,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,oBAAoB,CACxD,MAAM,EACN,CAAC,SAAS,CAAC,EACX,cAAc,EACd,cAAc,EACd,oBAAa,CAAC,MAAM,EACpB,QAAQ,CACT,CAAC;QACF,CAAC,CAAC,EAAE,CACF,QAAQ,EACR,sBAAsB,EACtB,sEAAsE,CACvE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/debug-artifacts.test.ts b/src/debug-artifacts.test.ts index 28c66fe307..08f9a1d3e8 100644 --- a/src/debug-artifacts.test.ts +++ b/src/debug-artifacts.test.ts @@ -105,7 +105,7 @@ test("uploadDebugArtifacts when old codeql is used should avoid trying to upload t.is( uploaded, "upload-not-supported", - "Expect failure to upload artifacts since root dir does not exist", + "Expected artifact upload to be blocked because of old CodeQL version", ); }); }); From 64ad47c7c184c89d0665bab67b8bd53e42425e85 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 20:04:40 +0000 Subject: [PATCH 100/132] Update changelog for v3.28.6 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 134e822793..e2f33bc2ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.6 - 27 Jan 2025 - Re-enable debug artifact upload for CLI versions 2.20.3 or greater. [#2726](https://github.com/github/codeql-action/pull/2726) From e2f043dee40f3315d9b340e054ad5f829b4d5870 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Mon, 27 Jan 2025 20:10:59 +0000 Subject: [PATCH 101/132] Remove unusued proxy_password input --- lib/start-proxy-action.js | 14 -------------- lib/start-proxy-action.js.map | 2 +- src/start-proxy-action.ts | 15 --------------- start-proxy/action.yml | 3 --- 4 files changed, 1 insertion(+), 33 deletions(-) diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index deb61dc07c..7c08d318b2 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -45,7 +45,6 @@ const util = __importStar(require("./util")); const UPDATEJOB_PROXY = "update-job-proxy"; const UPDATEJOB_PROXY_VERSION = "v2.0.20241023203727"; const UPDATEJOB_PROXY_URL_PREFIX = "https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.18.1/"; -const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; const CERT_SUBJECT = [ @@ -104,11 +103,9 @@ async function runWrapper() { .map((c) => credentialToStr(c)) .join("\n")}`); const ca = generateCertificateAuthority(); - const proxyAuth = getProxyAuth(); const proxyConfig = { all_credentials: credentials, ca, - proxy_auth: proxyAuth, }; // Start the Proxy const proxyBin = await getProxyBinaryPath(); @@ -165,17 +162,6 @@ async function startProxy(binPath, config, logFilePath, logger) { core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`); } } -// getProxyAuth returns the authentication information for the proxy itself. -function getProxyAuth() { - const proxy_password = actionsUtil.getOptionalInput("proxy_password"); - if (proxy_password) { - return { - username: PROXY_USER, - password: proxy_password, - }; - } - return; -} async function getProxyBinaryPath() { const proxyFileName = process.platform === "win32" ? `${UPDATEJOB_PROXY}.exe` : UPDATEJOB_PROXY; const platform = process.platform === "win32" diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index c58df44d37..2f3b20e6ed 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,+CAA2D;AAC3D,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAkB3B,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,eAAe;KACvB;CACF,CAAC;AAEF,SAAS,4BAA4B;IACnC,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EAAE,CAAC"} \ No newline at end of file diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 013b237bad..470f5e6d85 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -14,7 +14,6 @@ const UPDATEJOB_PROXY = "update-job-proxy"; const UPDATEJOB_PROXY_VERSION = "v2.0.20241023203727"; const UPDATEJOB_PROXY_URL_PREFIX = "https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.18.1/"; -const PROXY_USER = "proxy_user"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; @@ -107,12 +106,10 @@ async function runWrapper() { ); const ca = generateCertificateAuthority(); - const proxyAuth = getProxyAuth(); const proxyConfig: ProxyConfig = { all_credentials: credentials, ca, - proxy_auth: proxyAuth, }; // Start the Proxy @@ -181,18 +178,6 @@ async function startProxy( } } -// getProxyAuth returns the authentication information for the proxy itself. -function getProxyAuth(): BasicAuthCredentials | undefined { - const proxy_password = actionsUtil.getOptionalInput("proxy_password"); - if (proxy_password) { - return { - username: PROXY_USER, - password: proxy_password, - }; - } - return; -} - async function getProxyBinaryPath(): Promise { const proxyFileName = process.platform === "win32" ? `${UPDATEJOB_PROXY}.exe` : UPDATEJOB_PROXY; diff --git a/start-proxy/action.yml b/start-proxy/action.yml index cf52125dd7..a5bb5fc5f4 100644 --- a/start-proxy/action.yml +++ b/start-proxy/action.yml @@ -9,9 +9,6 @@ inputs: registries_credentials: description: Base64 encoded JSON configuration for the URLs and credentials of the package registries required: false - proxy_password: - required: false - description: The password of the proxy token: description: GitHub token to use for authenticating with this instance of GitHub, used to upload debug artifacts. default: ${{ github.token }} From 3a4eae00ff23d411ccf7ed58d680071d84b6f8b7 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 27 Jan 2025 12:45:34 -0800 Subject: [PATCH 102/132] Add extra permission to mergeback workflow --- .github/workflows/post-release-mergeback.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/post-release-mergeback.yml b/.github/workflows/post-release-mergeback.yml index 9b0b35118a..251d17c4b5 100644 --- a/.github/workflows/post-release-mergeback.yml +++ b/.github/workflows/post-release-mergeback.yml @@ -29,6 +29,7 @@ jobs: permissions: contents: write # needed to create tags and push commits + pull-requests: write steps: - name: Dump environment From c386dcd486d0a3646eb636fad4c015635c09e488 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:04:21 +0000 Subject: [PATCH 103/132] Update changelog and version after v3.28.6 --- 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 e2f33bc2ba..941fe13ff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.6 - 27 Jan 2025 - Re-enable debug artifact upload for CLI versions 2.20.3 or greater. [#2726](https://github.com/github/codeql-action/pull/2726) diff --git a/package-lock.json b/package-lock.json index b34e41be0d..426e158c61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.6", + "version": "3.28.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.6", + "version": "3.28.7", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index df627fc4eb..8b2faf1a60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.6", + "version": "3.28.7", "private": true, "description": "CodeQL action", "scripts": { From a5f217b8121979adfa75e2f4b65aaf0d16883c5f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:06:23 +0000 Subject: [PATCH 104/132] 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 1f1c8a4a58..7d51a675c2 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.6", + "version": "3.28.7", "lockfileVersion": 3, "requires": true, "packages": { From 7fdc1b8d67d77336151fe037c8c1f4d98db428d3 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Wed, 29 Jan 2025 09:33:23 +0100 Subject: [PATCH 105/132] Revert "start-proxy: Skip proxy setup if no credentials are available" --- lib/start-proxy-action.js | 4 ---- lib/start-proxy-action.js.map | 2 +- src/start-proxy-action.ts | 6 ------ 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 8e7ad825d6..7c08d318b2 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -99,10 +99,6 @@ async function runWrapper() { core.saveState("proxy-log-file", proxyLogFilePath); // Get the configuration options const credentials = (0, start_proxy_1.getCredentials)(logger, actionsUtil.getOptionalInput("registry_secrets"), actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language")); - if (credentials.length === 0) { - logger.info("No credentials found, skipping proxy setup."); - return; - } logger.info(`Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) .join("\n")}`); diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index ab67cea0dc..2f3b20e6ed 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;A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CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,+CAA2D;AAC3D,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAkB3B,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ;IACD;QACE,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,YAAY;KACpB;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,eAAe;KACvB;CACF,CAAC;AAEF,SAAS,4BAA4B;IACnC,MAAM,IAAI,GAAG,gBAAG,CAAC,GAAG,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,IAAI,GAAG,gBAAG,CAAC,iBAAiB,EAAE,CAAC;IACrC,IAAI,CAAC,SAAS,GAAG,IAAI,C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,QAAQ,GAAG,MAAM,SAAS,CAAC,QAAQ,CACjC,SAAS,EACT,aAAa,EACb,uBAAuB,CACxB,CAAC;IACJ,CAAC;IACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,eAAe,CAAC,CAAa;IACpC,OAAO,SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index a6da812e64..470f5e6d85 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -99,12 +99,6 @@ async function runWrapper() { actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language"), ); - - if (credentials.length === 0) { - logger.info("No credentials found, skipping proxy setup."); - return; - } - logger.info( `Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) From f98f14dd827ea03a993cc310f66ab4d4441a3e78 Mon Sep 17 00:00:00 2001 From: Marco Gario Date: Wed, 29 Jan 2025 11:04:28 +0000 Subject: [PATCH 106/132] Unset proxy env --- lib/analyze-action.js | 8 ++++++++ lib/analyze-action.js.map | 2 +- lib/start-proxy-action.js | 4 ++++ lib/start-proxy-action.js.map | 2 +- src/analyze-action.ts | 9 +++++++++ src/start-proxy-action.ts | 6 ++++++ 6 files changed, 29 insertions(+), 2 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 350d0530cc..489db548b4 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -160,6 +160,14 @@ async function run() { let dbCreationTimings = undefined; let didUploadTrapCaches = false; util.initializeEnvironment(actionsUtil.getActionVersion()); + // Unset the CODEQL_PROXY_* environment variables, as they are not needed + // and can cause issues with the CodeQL CLI + // Check for CODEQL_PROXY_HOST: and if it is empty but set, unset it + if (process.env.CODEQL_PROXY_HOST === "") { + delete process.env.CODEQL_PROXY_HOST; + delete process.env.CODEQL_PROXY_PORT; + delete process.env.CODEQL_PROXY_CA_CERTIFICATE; + } // Make inputs accessible in the `post` step, details at // https://github.com/github/codeql-action/issues/2553 actionsUtil.persistInputs(); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 7aa46488dd..ee73a45bda 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,2CAAyC;AAEzC,oDAAsC;AACtC,wDAA0C;AAE1C,4DAA8C;AAC9C,uCASmB;AACnB,6CAA+D;AAC/D,2CAA2C;AAC3C,mDAAsE;AACtE,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,6DAA8D;AAC9D,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mDAMyB;AACzB,iDAIwB;AACxB,wDAA0C;AAE1C,6CAA+B;AAkB/B,KAAK,UAAU,gBAAgB,CAC7B,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,gBAA0D,EAC1D,MAAc;IAEd,MAAM,MAAM,GAAG,IAAA,gCAAgB,EAAC,KAAK,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAAC;IACxE,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,OAAO,EAClB,MAAM,EACN,SAAS,EACT,MA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BAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,EAAE,CAAC;QACpB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,kBAAU,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,0BAA0B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,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,2CAAyC;AAEzC,oDAAsC;AACtC,wDAA0C;AAE1C,4DAA8C;AAC9C,uCASmB;AACnB,6CAA+D;AAC/D,2CAA2C;AAC3C,mDAAsE;AACtE,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,6DAA8D;AAC9D,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;A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C;QACH,MAAM,kBAAU,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,0BAA0B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 7c08d318b2..8e7ad825d6 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -99,6 +99,10 @@ async function runWrapper() { core.saveState("proxy-log-file", proxyLogFilePath); // Get the configuration options const credentials = (0, start_proxy_1.getCredentials)(logger, actionsUtil.getOptionalInput("registry_secrets"), actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language")); + if (credentials.length === 0) { + logger.info("No credentials found, skipping proxy setup."); + return; + } logger.info(`Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) .join("\n")}`); diff --git a/lib/start-proxy-action.js.map b/lib/start-proxy-action.js.map index 2f3b20e6ed..ab67cea0dc 100644 --- a/lib/start-proxy-action.js.map +++ b/lib/start-proxy-action.js.map @@ -1 +1 @@ -{"version":3,"file":"start-proxy-action.js","sourceRoot":"","sources":["../src/start-proxy-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAoD;AACpD,2CAA6B;AAE7B,oDAAsC;AACtC,+DAAiD;AACjD,2CAAiC;AAEjC,4DAA8C;AAC9C,uCAAqD;AACrD,+CAA2D;AAC3D,6CAA+B;AAE/B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAC3C,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,0BAA0B,GAC9B,kFAAkF,CAAC;AACrF,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB,MAAM,gBAAgB,GAAG,CAAC,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eAAe,CAAC,CAAa;IACpC,OAAO,SAAS,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,GAAG,cACpD,CAAC,CAAC,QACJ,eAAe,CAAC,CAAC,QAAQ,KAAK,SAAS,YAAY,CAAC,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;AAC7E,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 ff678b964a..5c2ab3cb98 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -202,6 +202,15 @@ async function run() { let didUploadTrapCaches = false; util.initializeEnvironment(actionsUtil.getActionVersion()); + // Unset the CODEQL_PROXY_* environment variables, as they are not needed + // and can cause issues with the CodeQL CLI + // Check for CODEQL_PROXY_HOST: and if it is empty but set, unset it + if (process.env.CODEQL_PROXY_HOST === "") { + delete process.env.CODEQL_PROXY_HOST; + delete process.env.CODEQL_PROXY_PORT; + delete process.env.CODEQL_PROXY_CA_CERTIFICATE; + } + // Make inputs accessible in the `post` step, details at // https://github.com/github/codeql-action/issues/2553 actionsUtil.persistInputs(); diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 470f5e6d85..a6da812e64 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -99,6 +99,12 @@ async function runWrapper() { actionsUtil.getOptionalInput("registries_credentials"), actionsUtil.getOptionalInput("language"), ); + + if (credentials.length === 0) { + logger.info("No credentials found, skipping proxy setup."); + return; + } + logger.info( `Credentials loaded for the following registries:\n ${credentials .map((c) => credentialToStr(c)) From 1b7bc4888bf570fc8cfe6202c897a0e0dbbf491f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20San=20Jos=C3=A9?= Date: Wed, 29 Jan 2025 12:34:35 +0100 Subject: [PATCH 107/132] Rename token to clarify scope --- .../workflows/update-supported-enterprise-server-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index a4313e0f72..501163a63d 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 with: repository: github/enterprise-releases - token: ${{ secrets.CODEQL_CI_TOKEN }} + token: ${{ secrets.ENTERPRISE_RELEASE_TOKEN }} path: ${{ github.workspace }}/enterprise-releases/ - name: Update Supported Enterprise Server Versions run: | From cd346029a4e6adf27c6e1e145557f6cae50432f2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 12:45:09 +0000 Subject: [PATCH 108/132] Update changelog for v3.28.7 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 941fe13ff0..0fe3f580ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.7 - 29 Jan 2025 No user facing changes. From bcf5cecbc6b147de017e1841778fa8d8644bf8a2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 13:04:01 +0000 Subject: [PATCH 109/132] Update changelog and version after v3.28.7 --- 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 0fe3f580ba..53222f6215 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.7 - 29 Jan 2025 No user facing changes. diff --git a/package-lock.json b/package-lock.json index 426e158c61..51594c2bc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.7", + "version": "3.28.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.7", + "version": "3.28.8", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index 8b2faf1a60..e82788525f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.7", + "version": "3.28.8", "private": true, "description": "CodeQL action", "scripts": { From 163d1195df65a0e49551cd9b4fa0383e68d64a39 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 13:05:13 +0000 Subject: [PATCH 110/132] 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 7d51a675c2..773e78c589 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.7", + "version": "3.28.8", "lockfileVersion": 3, "requires": true, "packages": { From 5a61bf07fab8324ecda8ebb1d817463b17b717d9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 29 Jan 2025 12:52:06 +0000 Subject: [PATCH 111/132] Kotlin: The 2.20.3 release supports Kotlin 2.1.10. --- src/init-action.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/init-action.ts b/src/init-action.ts index f733681854..4b48d4061a 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -539,6 +539,15 @@ async function run() { core.exportVariable("CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN", "true"); } + const kotlinLimitVar = + "CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT"; + if ( + (await codeQlVersionAtLeast(codeql, "2.20.3")) && + !(await codeQlVersionAtLeast(codeql, "2.20.4")) + ) { + core.exportVariable(kotlinLimitVar, "2.1.20"); + } + if (config.languages.includes(Language.cpp)) { const envVar = "CODEQL_EXTRACTOR_CPP_TRAP_CACHING"; if (process.env[envVar]) { From 0c2193725f360a9b0adcad3a71ce0d9cd4acb219 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 29 Jan 2025 12:56:09 +0000 Subject: [PATCH 112/132] Run "npm run build" --- lib/init-action.js | 5 +++++ lib/init-action.js.map | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/init-action.js b/lib/init-action.js index 22c217c1df..93679cdbfd 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -317,6 +317,11 @@ async function run() { if (await features.getValue(feature_flags_1.Feature.DisableKotlinAnalysisEnabled)) { core.exportVariable("CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN", "true"); } + const kotlinLimitVar = "CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT"; + if ((await (0, util_1.codeQlVersionAtLeast)(codeql, "2.20.3")) && + !(await (0, util_1.codeQlVersionAtLeast)(codeql, "2.20.4"))) { + core.exportVariable(kotlinLimitVar, "2.1.20"); + } if (config.languages.includes(languages_1.Language.cpp)) { const envVar = "CODEQL_EXTRACTOR_CPP_TRAP_CACHING"; if (process.env[envVar]) { diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 9927c9962c..5a10cd1c10 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,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,gDAAkC;AAClC,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAChD,mDAIyB;AAEzB,4DA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B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,sBAAsB,CACnC,MAA0B,EAC1B,gBAAkC;IAElC,IAAA,2BAAa,EACX,MAAM;IACN,sFAAsF;IACtF,kDAAkD;IAClD,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EACnB,IAAA,4BAAc,EACZ,iCAAiC,EACjC,wBAAwB,EACxB;QACE,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,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,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,gDAAkC;AAClC,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAChD,mDAIyB;AAEzB,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD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59:28 +0000 Subject: [PATCH 113/132] Add changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 941fe13ff0..9519fac302 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -No user facing changes. +- Enable support for Kotlin 2.1.20 when running with CodeQL CLI v2.20.3. [#2744](https://github.com/github/codeql-action/pull/2744) ## 3.28.6 - 27 Jan 2025 From 72f9d0296b7b9c91564f67ddf9def81c815ce0c6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 18:02:09 +0000 Subject: [PATCH 114/132] Update changelog for v3.28.8 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a227322782..ce3e7b446f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. -## [UNRELEASED] +## 3.28.8 - 29 Jan 2025 - Enable support for Kotlin 2.1.20 when running with CodeQL CLI v2.20.3. [#2744](https://github.com/github/codeql-action/pull/2744) From 3210a3cda6446234a897a079af1b684aa4c73326 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 29 Jan 2025 18:33:39 +0000 Subject: [PATCH 115/132] Fix Kotlin version in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce3e7b446f..dffe6040c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## 3.28.8 - 29 Jan 2025 -- Enable support for Kotlin 2.1.20 when running with CodeQL CLI v2.20.3. [#2744](https://github.com/github/codeql-action/pull/2744) +- Enable support for Kotlin 2.1.10 when running with CodeQL CLI v2.20.3. [#2744](https://github.com/github/codeql-action/pull/2744) ## 3.28.7 - 29 Jan 2025 From 44dfd8f99128ce76afe4b96c653756c8155ac7c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 18:58:44 +0000 Subject: [PATCH 116/132] Update changelog and version after v3.28.8 --- 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 dffe6040c6..7c0c1808ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. +## [UNRELEASED] + +No user facing changes. + ## 3.28.8 - 29 Jan 2025 - Enable support for Kotlin 2.1.10 when running with CodeQL CLI v2.20.3. [#2744](https://github.com/github/codeql-action/pull/2744) diff --git a/package-lock.json b/package-lock.json index 51594c2bc9..b647177d2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.28.8", + "version": "3.28.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.28.8", + "version": "3.28.9", "license": "MIT", "dependencies": { "@actions/artifact": "^2.1.9", diff --git a/package.json b/package.json index e82788525f..492d4de4b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.8", + "version": "3.28.9", "private": true, "description": "CodeQL action", "scripts": { From 30ac3f3555f5dde0a6fe8e2063dfd09066b4c127 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 19:00:06 +0000 Subject: [PATCH 117/132] 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 773e78c589..7cfc2516e4 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.28.8", + "version": "3.28.9", "lockfileVersion": 3, "requires": true, "packages": { From 50954e7f006013661fd40f27dc2cc84ed9af3134 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 29 Jan 2025 12:25:34 -0800 Subject: [PATCH 118/132] Use a separate config file for actions queries --- .github/codeql/codeql-actions-config.yml | 4 ++++ .github/workflows/codeql.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .github/codeql/codeql-actions-config.yml diff --git a/.github/codeql/codeql-actions-config.yml b/.github/codeql/codeql-actions-config.yml new file mode 100644 index 0000000000..7f3b3f3a84 --- /dev/null +++ b/.github/codeql/codeql-actions-config.yml @@ -0,0 +1,4 @@ +# Configuration for the CodeQL Actions Queries +name: "CodeQL Actions Queries config" +queries: + - uses: security-and-quality diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ad5b502f68..a51a6b870e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -119,7 +119,7 @@ jobs: uses: ./init with: languages: actions - config-file: ./.github/codeql/codeql-config.yml + config-file: ./.github/codeql/codeql-actions-config.yml - name: Perform CodeQL Analysis uses: ./analyze with: From 5be1eb0d46de331c1afd5e497223e96628518105 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 30 Jan 2025 11:09:54 +0000 Subject: [PATCH 119/132] Pin `ruby/setup-ruby` Action to v1.215.0 --- .github/workflows/__rubocop-multi-language.yml | 2 +- pr-checks/checks/rubocop-multi-language.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index dca3140bd5..ed88090aba 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -46,7 +46,7 @@ jobs: use-all-platform-bundle: 'false' setup-kotlin: 'true' - name: Set up Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@2654679fe7f7c29875c669398a8ec0791b8a64a1 # v1.215.0 with: ruby-version: 2.6 - name: Install Code Scanning integration diff --git a/pr-checks/checks/rubocop-multi-language.yml b/pr-checks/checks/rubocop-multi-language.yml index 90b41b6fa7..e456ce84ea 100644 --- a/pr-checks/checks/rubocop-multi-language.yml +++ b/pr-checks/checks/rubocop-multi-language.yml @@ -5,7 +5,7 @@ operatingSystems: ["ubuntu"] versions: ["default"] steps: - name: Set up Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@2654679fe7f7c29875c669398a8ec0791b8a64a1 # v1.215.0 with: ruby-version: 2.6 - name: Install Code Scanning integration From e456c535787a44a8e9259136e5b40d874449bfb1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:10:22 +0000 Subject: [PATCH 120/132] build(deps): bump actions/create-github-app-token in the actions group Bumps the actions group with 1 update: [actions/create-github-app-token](https://github.com/actions/create-github-app-token). Updates `actions/create-github-app-token` from 1.11.1 to 1.11.2 - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/c1a285145b9d317df6ced56c09f525b5c2b6f755...136412a57a7081aa63c935a2cc2918f76c34f514) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/post-release-mergeback.yml | 2 +- .github/workflows/update-release-branch.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-release-mergeback.yml b/.github/workflows/post-release-mergeback.yml index 251d17c4b5..b45ae24dbd 100644 --- a/.github/workflows/post-release-mergeback.yml +++ b/.github/workflows/post-release-mergeback.yml @@ -168,7 +168,7 @@ jobs: --draft - name: Generate token - uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 + uses: actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 id: app-token with: app-id: ${{ vars.AUTOMATION_APP_ID }} diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index 71bd817a79..5b33ccd6a6 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -124,7 +124,7 @@ jobs: pull-requests: write # needed to create pull request steps: - name: Generate token - uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 + uses: actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 id: app-token with: app-id: ${{ vars.AUTOMATION_APP_ID }} From 3e913ef09d4686df502c382e4ab3fa832fbdc92f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:19:36 +0000 Subject: [PATCH 121/132] build(deps): bump the npm group with 5 updates Bumps the npm group with 5 updates: | Package | From | To | | --- | --- | --- | | [@octokit/types](https://github.com/octokit/types.ts) | `13.7.0` | `13.8.0` | | [semver](https://github.com/npm/node-semver) | `7.6.3` | `7.7.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.22.0` | `8.23.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.22.0` | `8.23.0` | | [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | `5.1.5` | `5.1.7` | Updates `@octokit/types` from 13.7.0 to 13.8.0 - [Release notes](https://github.com/octokit/types.ts/releases) - [Commits](https://github.com/octokit/types.ts/compare/v13.7.0...v13.8.0) Updates `semver` from 7.6.3 to 7.7.0 - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.6.3...v7.7.0) Updates `@typescript-eslint/eslint-plugin` from 8.22.0 to 8.23.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.23.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.22.0 to 8.23.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.23.0/packages/parser) Updates `eslint-plugin-github` from 5.1.5 to 5.1.7 - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](https://github.com/github/eslint-plugin-github/compare/v5.1.5...v5.1.7) --- updated-dependencies: - dependency-name: "@octokit/types" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm - dependency-name: semver dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: eslint-plugin-github dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm ... Signed-off-by: dependabot[bot] --- package-lock.json | 575 +++++++++++++++++++--------------------------- package.json | 10 +- 2 files changed, 242 insertions(+), 343 deletions(-) diff --git a/package-lock.json b/package-lock.json index b647177d2c..fc29e3aa36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.2", "@octokit/plugin-retry": "^5.0.2", - "@octokit/types": "^13.7.0", + "@octokit/types": "^13.8.0", "@schemastore/package": "0.0.10", "@types/node-forge": "^1.3.11", "@types/uuid": "^10.0.0", @@ -38,7 +38,7 @@ "long": "^5.2.4", "node-forge": "^1.3.1", "path": "^0.12.7", - "semver": "^7.6.3", + "semver": "^7.7.0", "uuid": "^11.0.5", "zlib": "^1.0.5" }, @@ -56,13 +56,13 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.22.0", - "@typescript-eslint/parser": "^8.22.0", + "@typescript-eslint/eslint-plugin": "^8.23.0", + "@typescript-eslint/parser": "^8.23.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^5.1.5", + "eslint-plugin-github": "^5.1.7", "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", @@ -599,17 +599,6 @@ "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, - "node_modules/@babel/runtime": { - "version": "7.20.7", - "dev": true, - "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.13.11" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "dev": true, @@ -1133,9 +1122,9 @@ } }, "node_modules/@octokit/types": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.7.0.tgz", - "integrity": "sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==", + "version": "13.8.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.8.0.tgz", + "integrity": "sha512-x7DjTIbEpEWXK99DMd01QfWy0hd5h4EN+Q7shkdKds3otGQP+oWE/y0A76i1OvH9fygo4ddvNf7ZvF0t78P98A==", "license": "MIT", "dependencies": { "@octokit/openapi-types": "^23.0.1" @@ -1272,6 +1261,13 @@ "@protobuf-ts/runtime": "^2.9.4" } }, + "node_modules/@rtsao/scc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "dev": true, + "license": "MIT" + }, "node_modules/@schemastore/package": { "version": "0.0.10", "license": "MIT" @@ -1403,21 +1399,21 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.22.0.tgz", - "integrity": "sha512-4Uta6REnz/xEJMvwf72wdUnC3rr4jAQf5jnTkeRQ9b6soxLxhDEbS/pfMPoJLDfFPNVRdryqWUIV/2GZzDJFZw==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.23.0.tgz", + "integrity": "sha512-vBz65tJgRrA1Q5gWlRfvoH+w943dq9K1p1yDBY2pc+a1nbBLZp7fB9+Hk8DaALUbzjqlMfgaqlVPT1REJdkt/w==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/type-utils": "8.22.0", - "@typescript-eslint/utils": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/type-utils": "8.23.0", + "@typescript-eslint/utils": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1433,14 +1429,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", - "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1451,9 +1447,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", - "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", "dev": true, "license": "MIT", "engines": { @@ -1465,20 +1461,20 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", - "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1492,16 +1488,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", - "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz", + "integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0" + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1516,13 +1512,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", - "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1573,9 +1569,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", - "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", "dev": true, "license": "MIT", "engines": { @@ -1586,16 +1582,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.22.0.tgz", - "integrity": "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz", + "integrity": "sha512-h2lUByouOXFAlMec2mILeELUbME5SZRN/7R9Cw2RD2lRQQY08MWMM+PmVVKKJNK1aIwqTo9t/0CvOxwPbRIE2Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4" }, "engines": { @@ -1611,14 +1607,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", - "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1629,9 +1625,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", - "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", "dev": true, "license": "MIT", "engines": { @@ -1643,20 +1639,20 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", - "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1670,13 +1666,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", - "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1727,9 +1723,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/ts-api-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", - "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", "dev": true, "license": "MIT", "engines": { @@ -1758,16 +1754,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.22.0.tgz", - "integrity": "sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz", + "integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.22.0", - "@typescript-eslint/utils": "8.22.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/utils": "8.23.0", "debug": "^4.3.4", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1782,14 +1778,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", - "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1800,9 +1796,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", - "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", "dev": true, "license": "MIT", "engines": { @@ -1814,20 +1810,20 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", - "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1841,16 +1837,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", - "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz", + "integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0" + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1865,13 +1861,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", - "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1922,9 +1918,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", - "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", "dev": true, "license": "MIT", "engines": { @@ -2237,11 +2233,13 @@ "license": "Python-2.0" }, "node_modules/aria-query": { - "version": "5.3.0", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", + "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==", "dev": true, "license": "Apache-2.0", - "dependencies": { - "dequal": "^2.0.3" + "engines": { + "node": ">= 0.4" } }, "node_modules/array-buffer-byte-length": { @@ -2380,9 +2378,11 @@ } }, "node_modules/ast-types-flow": { - "version": "0.0.7", + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz", + "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==", "dev": true, - "license": "ISC" + "license": "MIT" }, "node_modules/async": { "version": "3.2.6", @@ -2550,7 +2550,9 @@ } }, "node_modules/axe-core": { - "version": "4.6.2", + "version": "4.10.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.2.tgz", + "integrity": "sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==", "dev": true, "license": "MPL-2.0", "engines": { @@ -2558,11 +2560,13 @@ } }, "node_modules/axobject-query": { - "version": "3.1.1", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", + "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==", "dev": true, "license": "Apache-2.0", - "dependencies": { - "deep-equal": "^2.0.5" + "engines": { + "node": ">= 0.4" } }, "node_modules/b4a": { @@ -3165,6 +3169,8 @@ }, "node_modules/damerau-levenshtein": { "version": "1.0.8", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", + "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", "dev": true, "license": "BSD-2-Clause" }, @@ -3247,33 +3253,6 @@ } } }, - "node_modules/deep-equal": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "es-get-iterator": "^1.1.2", - "get-intrinsic": "^1.1.3", - "is-arguments": "^1.1.1", - "is-array-buffer": "^3.0.1", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "isarray": "^2.0.5", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "side-channel": "^1.0.4", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.9" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-is": { "version": "0.1.4", "dev": true, @@ -3382,14 +3361,6 @@ "version": "2.3.1", "license": "ISC" }, - "node_modules/dequal": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/diff": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", @@ -3574,25 +3545,6 @@ "node": ">= 0.4" } }, - "node_modules/es-get-iterator": { - "version": "1.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "is-arguments": "^1.1.1", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.7", - "isarray": "^2.0.5", - "stop-iteration-iterator": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/es-object-atoms": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", @@ -3783,10 +3735,11 @@ } }, "node_modules/eslint-module-utils": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.11.0.tgz", - "integrity": "sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz", + "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -3853,9 +3806,9 @@ } }, "node_modules/eslint-plugin-github": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.5.tgz", - "integrity": "sha512-vRgIVJ88FfESAGGYsJlf7SQhQlFEJaa7/I9z/5K5vKbWEQ3DnRkg8cvoj8LZA30MFb2uW1SltOcEj+Q8UR8LxA==", + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.7.tgz", + "integrity": "sha512-P3S5TwvHy8u1QadfcI/tZ2uNFMTHv+mT/YmEdLEgEzp08mA3iK02kg/IhoWOz0SnbTyUi1qrq0a6SwC3uQSkpQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3871,8 +3824,8 @@ "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-i18n-text": "^1.0.1", - "eslint-plugin-import": "^2.25.2", - "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-no-only-tests": "^3.0.0", "eslint-plugin-prettier": "^5.2.1", "eslint-rule-documentation": ">=1.0.0", @@ -3907,6 +3860,50 @@ } } }, + "node_modules/eslint-plugin-github/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-github/node_modules/eslint-plugin-import": { + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz", + "integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rtsao/scc": "^1.1.0", + "array-includes": "^3.1.8", + "array.prototype.findlastindex": "^1.2.5", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.12.0", + "hasown": "^2.0.2", + "is-core-module": "^2.15.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.8", + "object.groupby": "^1.0.3", + "object.values": "^1.2.0", + "semver": "^6.3.1", + "string.prototype.trimend": "^1.0.8", + "tsconfig-paths": "^3.15.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9" + } + }, "node_modules/eslint-plugin-github/node_modules/globals": { "version": "15.13.0", "resolved": "https://registry.npmjs.org/globals/-/globals-15.13.0.tgz", @@ -3968,47 +3965,42 @@ } }, "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.7.1", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz", + "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.20.7", - "aria-query": "^5.1.3", - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "ast-types-flow": "^0.0.7", - "axe-core": "^4.6.2", - "axobject-query": "^3.1.1", + "aria-query": "^5.3.2", + "array-includes": "^3.1.8", + "array.prototype.flatmap": "^1.3.2", + "ast-types-flow": "^0.0.8", + "axe-core": "^4.10.0", + "axobject-query": "^4.1.0", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", - "has": "^1.0.3", - "jsx-ast-utils": "^3.3.3", - "language-tags": "=1.0.5", + "hasown": "^2.0.2", + "jsx-ast-utils": "^3.3.5", + "language-tags": "^1.0.9", "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "semver": "^6.3.0" + "object.fromentries": "^2.0.8", + "safe-regex-test": "^1.0.3", + "string.prototype.includes": "^2.0.1" }, "engines": { "node": ">=4.0" }, "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" } }, "node_modules/eslint-plugin-jsx-a11y/node_modules/emoji-regex": { "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true, "license": "MIT" }, - "node_modules/eslint-plugin-jsx-a11y/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/eslint-plugin-no-async-foreach": { "version": "0.1.1", "dev": true, @@ -4864,17 +4856,6 @@ "dev": true, "license": "MIT" }, - "node_modules/has": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-bigints": { "version": "1.0.2", "dev": true, @@ -5090,21 +5071,6 @@ "node": ">=8" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-array-buffer": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", @@ -5251,14 +5217,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-map": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-negative-zero": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", @@ -5340,14 +5298,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-set": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-shared-array-buffer": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", @@ -5428,14 +5378,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-weakmap": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-weakref": { "version": "1.0.2", "dev": true, @@ -5447,18 +5389,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-weakset": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", @@ -5545,12 +5475,16 @@ } }, "node_modules/jsx-ast-utils": { - "version": "3.3.3", + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", "dev": true, "license": "MIT", "dependencies": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" }, "engines": { "node": ">=4.0" @@ -5569,16 +5503,23 @@ "license": "MIT" }, "node_modules/language-subtag-registry": { - "version": "0.3.22", + "version": "0.3.23", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz", + "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==", "dev": true, "license": "CC0-1.0" }, "node_modules/language-tags": { - "version": "1.0.5", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz", + "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==", "dev": true, "license": "MIT", "dependencies": { - "language-subtag-registry": "~0.3.2" + "language-subtag-registry": "^0.3.20" + }, + "engines": { + "node": ">=0.10" } }, "node_modules/lazystream": { @@ -6020,21 +5961,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-keys": { "version": "1.1.1", "dev": true, @@ -6061,19 +5987,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.entries": { - "version": "1.1.6", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/object.fromentries": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", @@ -6569,11 +6482,6 @@ "node": ">=8.10.0" } }, - "node_modules/regenerator-runtime": { - "version": "0.13.11", - "dev": true, - "license": "MIT" - }, "node_modules/regexp.prototype.flags": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", @@ -6783,9 +6691,10 @@ "license": "ISC" }, "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", + "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -6986,17 +6895,6 @@ "node": ">=8" } }, - "node_modules/stop-iteration-iterator": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "internal-slot": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/streamx": { "version": "2.20.1", "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz", @@ -7054,6 +6952,21 @@ "node": ">=8" } }, + "node_modules/string.prototype.includes": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz", + "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/string.prototype.trim": { "version": "1.2.9", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", @@ -7849,20 +7762,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/which-collection": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-map": "^2.0.1", - "is-set": "^2.0.1", - "is-weakmap": "^2.0.1", - "is-weakset": "^2.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/which-typed-array": { "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", diff --git a/package.json b/package.json index 492d4de4b7..6b2eda9a3d 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.2", "@octokit/plugin-retry": "^5.0.2", - "@octokit/types": "^13.7.0", + "@octokit/types": "^13.8.0", "@schemastore/package": "0.0.10", "@types/node-forge": "^1.3.11", "@types/uuid": "^10.0.0", @@ -51,7 +51,7 @@ "long": "^5.2.4", "node-forge": "^1.3.1", "path": "^0.12.7", - "semver": "^7.6.3", + "semver": "^7.7.0", "uuid": "^11.0.5", "zlib": "^1.0.5" }, @@ -72,13 +72,13 @@ "@types/node": "20.9.0", "@types/semver": "^7.5.8", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^8.22.0", - "@typescript-eslint/parser": "^8.22.0", + "@typescript-eslint/eslint-plugin": "^8.23.0", + "@typescript-eslint/parser": "^8.23.0", "ava": "^5.3.1", "eslint": "^8.57.1", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^5.1.5", + "eslint-plugin-github": "^5.1.7", "eslint-plugin-import": "2.29.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.8", From 9660df3fccdf5b20ab86e041325c17a2204cc1ae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:20:53 +0000 Subject: [PATCH 122/132] Update checked-in dependencies --- node_modules/.package-lock.json | 565 +- node_modules/@babel/runtime/README.md | 19 - .../@babel/runtime/helpers/AsyncGenerator.js | 64 - .../@babel/runtime/helpers/AwaitValue.js | 4 - .../@babel/runtime/helpers/OverloadYield.js | 4 - .../helpers/applyDecoratedDescriptor.js | 24 - .../@babel/runtime/helpers/applyDecs.js | 236 - .../@babel/runtime/helpers/applyDecs2203.js | 184 - .../runtime/helpers/arrayLikeToArray.js | 6 - .../@babel/runtime/helpers/arrayWithHoles.js | 4 - .../runtime/helpers/arrayWithoutHoles.js | 5 - .../runtime/helpers/assertThisInitialized.js | 7 - .../runtime/helpers/asyncGeneratorDelegate.js | 24 - .../@babel/runtime/helpers/asyncIterator.js | 45 - .../runtime/helpers/asyncToGenerator.js | 31 - .../runtime/helpers/awaitAsyncGenerator.js | 5 - .../@babel/runtime/helpers/checkInRHS.js | 6 - .../helpers/checkPrivateRedeclaration.js | 6 - .../classApplyDescriptorDestructureSet.js | 18 - .../helpers/classApplyDescriptorGet.js | 7 - .../helpers/classApplyDescriptorSet.js | 11 - .../@babel/runtime/helpers/classCallCheck.js | 6 - .../helpers/classCheckPrivateStaticAccess.js | 6 - .../classCheckPrivateStaticFieldDescriptor.js | 6 - .../helpers/classExtractFieldDescriptor.js | 7 - .../runtime/helpers/classNameTDZError.js | 4 - .../classPrivateFieldDestructureSet.js | 7 - .../runtime/helpers/classPrivateFieldGet.js | 7 - .../helpers/classPrivateFieldInitSpec.js | 6 - .../helpers/classPrivateFieldLooseBase.js | 7 - .../helpers/classPrivateFieldLooseKey.js | 5 - .../runtime/helpers/classPrivateFieldSet.js | 8 - .../runtime/helpers/classPrivateMethodGet.js | 7 - .../helpers/classPrivateMethodInitSpec.js | 6 - .../runtime/helpers/classPrivateMethodSet.js | 4 - .../classStaticPrivateFieldDestructureSet.js | 9 - .../helpers/classStaticPrivateFieldSpecGet.js | 9 - .../helpers/classStaticPrivateFieldSpecSet.js | 10 - .../helpers/classStaticPrivateMethodGet.js | 6 - .../helpers/classStaticPrivateMethodSet.js | 4 - .../@babel/runtime/helpers/construct.js | 18 - .../@babel/runtime/helpers/createClass.js | 19 - .../helpers/createForOfIteratorHelper.js | 53 - .../helpers/createForOfIteratorHelperLoose.js | 20 - .../@babel/runtime/helpers/createSuper.js | 18 - .../@babel/runtime/helpers/decorate.js | 343 - .../@babel/runtime/helpers/defaults.js | 12 - .../@babel/runtime/helpers/defineAccessor.js | 8 - .../helpers/defineEnumerableProperties.js | 20 - .../@babel/runtime/helpers/defineProperty.js | 16 - .../runtime/helpers/esm/AsyncGenerator.js | 63 - .../@babel/runtime/helpers/esm/AwaitValue.js | 3 - .../runtime/helpers/esm/OverloadYield.js | 3 - .../helpers/esm/applyDecoratedDescriptor.js | 23 - .../@babel/runtime/helpers/esm/applyDecs.js | 235 - .../runtime/helpers/esm/applyDecs2203.js | 183 - .../runtime/helpers/esm/arrayLikeToArray.js | 5 - .../runtime/helpers/esm/arrayWithHoles.js | 3 - .../runtime/helpers/esm/arrayWithoutHoles.js | 4 - .../helpers/esm/assertThisInitialized.js | 6 - .../helpers/esm/asyncGeneratorDelegate.js | 23 - .../runtime/helpers/esm/asyncIterator.js | 44 - .../runtime/helpers/esm/asyncToGenerator.js | 30 - .../helpers/esm/awaitAsyncGenerator.js | 4 - .../@babel/runtime/helpers/esm/checkInRHS.js | 5 - .../helpers/esm/checkPrivateRedeclaration.js | 5 - .../esm/classApplyDescriptorDestructureSet.js | 17 - .../helpers/esm/classApplyDescriptorGet.js | 6 - .../helpers/esm/classApplyDescriptorSet.js | 10 - .../runtime/helpers/esm/classCallCheck.js | 5 - .../esm/classCheckPrivateStaticAccess.js | 5 - .../classCheckPrivateStaticFieldDescriptor.js | 5 - .../esm/classExtractFieldDescriptor.js | 6 - .../runtime/helpers/esm/classNameTDZError.js | 3 - .../esm/classPrivateFieldDestructureSet.js | 6 - .../helpers/esm/classPrivateFieldGet.js | 6 - .../helpers/esm/classPrivateFieldInitSpec.js | 5 - .../helpers/esm/classPrivateFieldLooseBase.js | 6 - .../helpers/esm/classPrivateFieldLooseKey.js | 4 - .../helpers/esm/classPrivateFieldSet.js | 7 - .../helpers/esm/classPrivateMethodGet.js | 6 - .../helpers/esm/classPrivateMethodInitSpec.js | 5 - .../helpers/esm/classPrivateMethodSet.js | 3 - .../classStaticPrivateFieldDestructureSet.js | 8 - .../esm/classStaticPrivateFieldSpecGet.js | 8 - .../esm/classStaticPrivateFieldSpecSet.js | 9 - .../esm/classStaticPrivateMethodGet.js | 5 - .../esm/classStaticPrivateMethodSet.js | 3 - .../@babel/runtime/helpers/esm/construct.js | 17 - .../@babel/runtime/helpers/esm/createClass.js | 18 - .../helpers/esm/createForOfIteratorHelper.js | 52 - .../esm/createForOfIteratorHelperLoose.js | 19 - .../@babel/runtime/helpers/esm/createSuper.js | 17 - .../@babel/runtime/helpers/esm/decorate.js | 342 - .../@babel/runtime/helpers/esm/defaults.js | 11 - .../runtime/helpers/esm/defineAccessor.js | 7 - .../helpers/esm/defineEnumerableProperties.js | 19 - .../runtime/helpers/esm/defineProperty.js | 15 - .../@babel/runtime/helpers/esm/extends.js | 14 - .../@babel/runtime/helpers/esm/get.js | 17 - .../runtime/helpers/esm/getPrototypeOf.js | 6 - .../@babel/runtime/helpers/esm/identity.js | 3 - .../@babel/runtime/helpers/esm/inherits.js | 17 - .../runtime/helpers/esm/inheritsLoose.js | 6 - .../helpers/esm/initializerDefineProperty.js | 9 - .../helpers/esm/initializerWarningHelper.js | 3 - .../@babel/runtime/helpers/esm/instanceof.js | 7 - .../helpers/esm/interopRequireDefault.js | 5 - .../helpers/esm/interopRequireWildcard.js | 40 - .../runtime/helpers/esm/isNativeFunction.js | 3 - .../helpers/esm/isNativeReflectConstruct.js | 11 - .../runtime/helpers/esm/iterableToArray.js | 3 - .../helpers/esm/iterableToArrayLimit.js | 27 - .../helpers/esm/iterableToArrayLimitLoose.js | 9 - .../@babel/runtime/helpers/esm/jsx.js | 21 - .../runtime/helpers/esm/maybeArrayLike.js | 8 - .../runtime/helpers/esm/newArrowCheck.js | 5 - .../runtime/helpers/esm/nonIterableRest.js | 3 - .../runtime/helpers/esm/nonIterableSpread.js | 3 - .../helpers/esm/objectDestructuringEmpty.js | 3 - .../runtime/helpers/esm/objectSpread.js | 16 - .../runtime/helpers/esm/objectSpread2.js | 22 - .../helpers/esm/objectWithoutProperties.js | 16 - .../esm/objectWithoutPropertiesLoose.js | 12 - .../@babel/runtime/helpers/esm/package.json | 3 - .../helpers/esm/possibleConstructorReturn.js | 10 - .../runtime/helpers/esm/readOnlyError.js | 3 - .../runtime/helpers/esm/regeneratorRuntime.js | 303 - .../@babel/runtime/helpers/esm/set.js | 40 - .../runtime/helpers/esm/setPrototypeOf.js | 7 - .../helpers/esm/skipFirstGeneratorNext.js | 7 - .../runtime/helpers/esm/slicedToArray.js | 7 - .../runtime/helpers/esm/slicedToArrayLoose.js | 7 - .../runtime/helpers/esm/superPropBase.js | 8 - .../helpers/esm/taggedTemplateLiteral.js | 10 - .../helpers/esm/taggedTemplateLiteralLoose.js | 7 - .../@babel/runtime/helpers/esm/tdz.js | 3 - .../@babel/runtime/helpers/esm/temporalRef.js | 5 - .../runtime/helpers/esm/temporalUndefined.js | 1 - .../@babel/runtime/helpers/esm/toArray.js | 7 - .../runtime/helpers/esm/toConsumableArray.js | 7 - .../@babel/runtime/helpers/esm/toPrimitive.js | 11 - .../runtime/helpers/esm/toPropertyKey.js | 6 - .../@babel/runtime/helpers/esm/typeof.js | 9 - .../helpers/esm/unsupportedIterableToArray.js | 9 - .../runtime/helpers/esm/wrapAsyncGenerator.js | 6 - .../runtime/helpers/esm/wrapNativeSuper.js | 30 - .../@babel/runtime/helpers/esm/wrapRegExp.js | 50 - .../runtime/helpers/esm/writeOnlyError.js | 3 - .../@babel/runtime/helpers/extends.js | 15 - node_modules/@babel/runtime/helpers/get.js | 18 - .../@babel/runtime/helpers/getPrototypeOf.js | 7 - .../@babel/runtime/helpers/identity.js | 4 - .../@babel/runtime/helpers/inherits.js | 18 - .../@babel/runtime/helpers/inheritsLoose.js | 7 - .../helpers/initializerDefineProperty.js | 10 - .../helpers/initializerWarningHelper.js | 4 - .../@babel/runtime/helpers/instanceof.js | 8 - .../runtime/helpers/interopRequireDefault.js | 6 - .../runtime/helpers/interopRequireWildcard.js | 41 - .../runtime/helpers/isNativeFunction.js | 4 - .../helpers/isNativeReflectConstruct.js | 12 - .../@babel/runtime/helpers/iterableToArray.js | 4 - .../runtime/helpers/iterableToArrayLimit.js | 28 - .../helpers/iterableToArrayLimitLoose.js | 10 - node_modules/@babel/runtime/helpers/jsx.js | 22 - .../@babel/runtime/helpers/maybeArrayLike.js | 9 - .../@babel/runtime/helpers/newArrowCheck.js | 6 - .../@babel/runtime/helpers/nonIterableRest.js | 4 - .../runtime/helpers/nonIterableSpread.js | 4 - .../helpers/objectDestructuringEmpty.js | 4 - .../@babel/runtime/helpers/objectSpread.js | 17 - .../@babel/runtime/helpers/objectSpread2.js | 23 - .../helpers/objectWithoutProperties.js | 17 - .../helpers/objectWithoutPropertiesLoose.js | 13 - .../helpers/possibleConstructorReturn.js | 11 - .../@babel/runtime/helpers/readOnlyError.js | 4 - .../runtime/helpers/regeneratorRuntime.js | 304 - node_modules/@babel/runtime/helpers/set.js | 41 - .../@babel/runtime/helpers/setPrototypeOf.js | 8 - .../runtime/helpers/skipFirstGeneratorNext.js | 8 - .../@babel/runtime/helpers/slicedToArray.js | 8 - .../runtime/helpers/slicedToArrayLoose.js | 8 - .../@babel/runtime/helpers/superPropBase.js | 9 - .../runtime/helpers/taggedTemplateLiteral.js | 11 - .../helpers/taggedTemplateLiteralLoose.js | 8 - node_modules/@babel/runtime/helpers/tdz.js | 4 - .../@babel/runtime/helpers/temporalRef.js | 6 - .../runtime/helpers/temporalUndefined.js | 2 - .../@babel/runtime/helpers/toArray.js | 8 - .../runtime/helpers/toConsumableArray.js | 8 - .../@babel/runtime/helpers/toPrimitive.js | 12 - .../@babel/runtime/helpers/toPropertyKey.js | 7 - node_modules/@babel/runtime/helpers/typeof.js | 10 - .../helpers/unsupportedIterableToArray.js | 10 - .../runtime/helpers/wrapAsyncGenerator.js | 7 - .../@babel/runtime/helpers/wrapNativeSuper.js | 31 - .../@babel/runtime/helpers/wrapRegExp.js | 51 - .../@babel/runtime/helpers/writeOnlyError.js | 4 - node_modules/@babel/runtime/package.json | 912 - .../@babel/runtime/regenerator/index.js | 15 - .../types/dist-types/RequestParameters.d.ts | 10 + .../@octokit/types/dist-types/VERSION.d.ts | 2 +- node_modules/@octokit/types/package.json | 2 +- node_modules/{is-map => @rtsao/scc}/LICENSE | 2 +- node_modules/@rtsao/scc/README.md | 49 + node_modules/@rtsao/scc/index.d.ts | 1 + node_modules/@rtsao/scc/index.js | 51 + node_modules/@rtsao/scc/index.js.flow | 5 + node_modules/@rtsao/scc/package.json | 7 + .../dist/rules/class-methods-use-this.js | 4 +- .../dist/rules/class-methods-use-this.js.map | 2 +- .../eslint-plugin/dist/rules/dot-notation.js | 11 +- .../dist/rules/dot-notation.js.map | 2 +- .../dist/rules/no-restricted-imports.js | 17 +- .../dist/rules/no-restricted-imports.js.map | 2 +- .../eslint-plugin/dist/rules/no-shadow.js | 20 + .../eslint-plugin/dist/rules/no-shadow.js.map | 2 +- .../no-unnecessary-boolean-literal-compare.js | 18 + ...unnecessary-boolean-literal-compare.js.map | 2 +- .../no-unnecessary-template-expression.js | 3 +- .../no-unnecessary-template-expression.js.map | 2 +- .../rules/no-unnecessary-type-assertion.js | 27 +- .../no-unnecessary-type-assertion.js.map | 2 +- .../dist/rules/prefer-nullish-coalescing.js | 3 + .../rules/prefer-nullish-coalescing.js.map | 2 +- .../dist/rules/switch-exhaustiveness-check.js | 9 +- .../rules/switch-exhaustiveness-check.js.map | 2 +- .../docs/rules/class-methods-use-this.mdx | 57 +- .../docs/rules/consistent-type-assertions.mdx | 2 +- .../rules/no-confusing-void-expression.mdx | 6 - ...no-unnecessary-boolean-literal-compare.mdx | 16 + .../no-unnecessary-template-expression.mdx | 3 + .../docs/rules/prefer-nullish-coalescing.mdx | 2 - .../rules/restrict-template-expressions.mdx | 2 - .../scope-manager/package.json | 8 +- .../types/dist/ts-estree.d.ts | 18 + .../types/dist/ts-estree.d.ts.map | 2 +- .../types/dist/ts-estree.js.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/package.json | 8 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../node_modules/ts-api-utils/lib/index.cjs | 122 +- .../node_modules/ts-api-utils/lib/index.js | 122 +- .../node_modules/ts-api-utils/package.json | 58 +- .../eslint-plugin/package.json | 16 +- .../scope-manager/package.json | 8 +- .../types/dist/ts-estree.d.ts | 18 + .../types/dist/ts-estree.d.ts.map | 2 +- .../types/dist/ts-estree.js.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../node_modules/ts-api-utils/lib/index.cjs | 122 +- .../node_modules/ts-api-utils/lib/index.js | 122 +- .../node_modules/ts-api-utils/package.json | 58 +- .../@typescript-eslint/parser/package.json | 10 +- .../scope-manager/package.json | 8 +- .../types/dist/ts-estree.d.ts | 18 + .../types/dist/ts-estree.d.ts.map | 2 +- .../types/dist/ts-estree.js.map | 2 +- .../@typescript-eslint/types/package.json | 2 +- .../typescript-estree/package.json | 8 +- .../@typescript-eslint/utils/package.json | 8 +- .../visitor-keys/package.json | 4 +- .../node_modules/ts-api-utils/lib/index.cjs | 122 +- .../node_modules/ts-api-utils/lib/index.js | 122 +- .../node_modules/ts-api-utils/package.json | 58 +- .../type-utils/package.json | 10 +- node_modules/aria-query/CHANGELOG.md | 258 - node_modules/aria-query/lib/ariaPropsMap.js | 38 +- node_modules/aria-query/lib/domMap.js | 38 +- node_modules/aria-query/lib/elementRoleMap.js | 147 +- .../lib/etc/roles/abstract/commandRole.js | 3 +- .../lib/etc/roles/abstract/compositeRole.js | 3 +- .../lib/etc/roles/abstract/inputRole.js | 3 +- .../lib/etc/roles/abstract/landmarkRole.js | 3 +- .../lib/etc/roles/abstract/rangeRole.js | 3 +- .../lib/etc/roles/abstract/roletypeRole.js | 3 +- .../lib/etc/roles/abstract/sectionRole.js | 3 +- .../lib/etc/roles/abstract/sectionheadRole.js | 3 +- .../lib/etc/roles/abstract/selectRole.js | 3 +- .../lib/etc/roles/abstract/structureRole.js | 3 +- .../lib/etc/roles/abstract/widgetRole.js | 3 +- .../lib/etc/roles/abstract/windowRole.js | 3 +- .../lib/etc/roles/ariaAbstractRoles.js | 6 +- .../aria-query/lib/etc/roles/ariaDpubRoles.js | 10 +- .../lib/etc/roles/ariaGraphicsRoles.js | 6 +- .../lib/etc/roles/ariaLiteralRoles.js | 6 +- .../lib/etc/roles/dpub/docAbstractRole.js | 3 +- .../etc/roles/dpub/docAcknowledgmentsRole.js | 3 +- .../lib/etc/roles/dpub/docAfterwordRole.js | 3 +- .../lib/etc/roles/dpub/docAppendixRole.js | 3 +- .../lib/etc/roles/dpub/docBacklinkRole.js | 3 +- .../lib/etc/roles/dpub/docBiblioentryRole.js | 3 +- .../lib/etc/roles/dpub/docBibliographyRole.js | 3 +- .../lib/etc/roles/dpub/docBibliorefRole.js | 3 +- .../lib/etc/roles/dpub/docChapterRole.js | 3 +- .../lib/etc/roles/dpub/docColophonRole.js | 3 +- .../lib/etc/roles/dpub/docConclusionRole.js | 3 +- .../lib/etc/roles/dpub/docCoverRole.js | 3 +- .../lib/etc/roles/dpub/docCreditRole.js | 3 +- .../lib/etc/roles/dpub/docCreditsRole.js | 3 +- .../lib/etc/roles/dpub/docDedicationRole.js | 3 +- .../lib/etc/roles/dpub/docEndnoteRole.js | 3 +- .../lib/etc/roles/dpub/docEndnotesRole.js | 3 +- .../lib/etc/roles/dpub/docEpigraphRole.js | 3 +- .../lib/etc/roles/dpub/docEpilogueRole.js | 3 +- .../lib/etc/roles/dpub/docErrataRole.js | 3 +- .../lib/etc/roles/dpub/docExampleRole.js | 3 +- .../lib/etc/roles/dpub/docFootnoteRole.js | 3 +- .../lib/etc/roles/dpub/docForewordRole.js | 3 +- .../lib/etc/roles/dpub/docGlossaryRole.js | 3 +- .../lib/etc/roles/dpub/docGlossrefRole.js | 3 +- .../lib/etc/roles/dpub/docIndexRole.js | 3 +- .../lib/etc/roles/dpub/docIntroductionRole.js | 3 +- .../lib/etc/roles/dpub/docNoterefRole.js | 3 +- .../lib/etc/roles/dpub/docNoticeRole.js | 3 +- .../lib/etc/roles/dpub/docPagebreakRole.js | 3 +- .../lib/etc/roles/dpub/docPagefooterRole.js | 30 + .../lib/etc/roles/dpub/docPageheaderRole.js | 30 + .../lib/etc/roles/dpub/docPagelistRole.js | 3 +- .../lib/etc/roles/dpub/docPartRole.js | 3 +- .../lib/etc/roles/dpub/docPrefaceRole.js | 3 +- .../lib/etc/roles/dpub/docPrologueRole.js | 3 +- .../lib/etc/roles/dpub/docPullquoteRole.js | 3 +- .../lib/etc/roles/dpub/docQnaRole.js | 3 +- .../lib/etc/roles/dpub/docSubtitleRole.js | 3 +- .../lib/etc/roles/dpub/docTipRole.js | 3 +- .../lib/etc/roles/dpub/docTocRole.js | 3 +- .../roles/graphics/graphicsDocumentRole.js | 3 +- .../etc/roles/graphics/graphicsObjectRole.js | 3 +- .../etc/roles/graphics/graphicsSymbolRole.js | 3 +- .../lib/etc/roles/literal/alertRole.js | 3 +- .../lib/etc/roles/literal/alertdialogRole.js | 3 +- .../lib/etc/roles/literal/applicationRole.js | 3 +- .../lib/etc/roles/literal/articleRole.js | 3 +- .../lib/etc/roles/literal/bannerRole.js | 3 +- .../lib/etc/roles/literal/blockquoteRole.js | 3 +- .../lib/etc/roles/literal/buttonRole.js | 3 +- .../lib/etc/roles/literal/captionRole.js | 3 +- .../lib/etc/roles/literal/cellRole.js | 3 +- .../lib/etc/roles/literal/checkboxRole.js | 3 +- .../lib/etc/roles/literal/codeRole.js | 3 +- .../lib/etc/roles/literal/columnheaderRole.js | 3 +- .../lib/etc/roles/literal/comboboxRole.js | 3 +- .../etc/roles/literal/complementaryRole.js | 4 +- .../lib/etc/roles/literal/contentinfoRole.js | 3 +- .../lib/etc/roles/literal/definitionRole.js | 3 +- .../lib/etc/roles/literal/deletionRole.js | 3 +- .../lib/etc/roles/literal/dialogRole.js | 3 +- .../lib/etc/roles/literal/directoryRole.js | 3 +- .../lib/etc/roles/literal/documentRole.js | 3 +- .../lib/etc/roles/literal/emphasisRole.js | 3 +- .../lib/etc/roles/literal/feedRole.js | 3 +- .../lib/etc/roles/literal/figureRole.js | 3 +- .../lib/etc/roles/literal/formRole.js | 3 +- .../lib/etc/roles/literal/genericRole.js | 3 +- .../etc/roles/literal/graphicsDocumentRole.js | 3 +- .../etc/roles/literal/graphicsObjectRole.js | 3 +- .../etc/roles/literal/graphicsSymbolRole.js | 3 +- .../lib/etc/roles/literal/gridRole.js | 3 +- .../lib/etc/roles/literal/gridcellRole.js | 3 +- .../lib/etc/roles/literal/groupRole.js | 3 +- .../lib/etc/roles/literal/headingRole.js | 3 +- .../lib/etc/roles/literal/imgRole.js | 3 +- .../lib/etc/roles/literal/insertionRole.js | 3 +- .../lib/etc/roles/literal/linkRole.js | 3 +- .../lib/etc/roles/literal/listRole.js | 3 +- .../lib/etc/roles/literal/listboxRole.js | 3 +- .../lib/etc/roles/literal/listitemRole.js | 3 +- .../lib/etc/roles/literal/logRole.js | 3 +- .../lib/etc/roles/literal/mainRole.js | 3 +- .../lib/etc/roles/literal/markRole.js | 3 +- .../lib/etc/roles/literal/marqueeRole.js | 3 +- .../lib/etc/roles/literal/mathRole.js | 3 +- .../lib/etc/roles/literal/menuRole.js | 3 +- .../lib/etc/roles/literal/menubarRole.js | 3 +- .../lib/etc/roles/literal/menuitemRole.js | 3 +- .../etc/roles/literal/menuitemcheckboxRole.js | 3 +- .../etc/roles/literal/menuitemradioRole.js | 3 +- .../lib/etc/roles/literal/meterRole.js | 3 +- .../lib/etc/roles/literal/navigationRole.js | 3 +- .../lib/etc/roles/literal/noneRole.js | 3 +- .../lib/etc/roles/literal/noteRole.js | 3 +- .../lib/etc/roles/literal/optionRole.js | 3 +- .../lib/etc/roles/literal/paragraphRole.js | 3 +- .../lib/etc/roles/literal/presentationRole.js | 3 +- .../lib/etc/roles/literal/progressbarRole.js | 3 +- .../lib/etc/roles/literal/radioRole.js | 3 +- .../lib/etc/roles/literal/radiogroupRole.js | 3 +- .../lib/etc/roles/literal/regionRole.js | 3 +- .../lib/etc/roles/literal/rowRole.js | 3 +- .../lib/etc/roles/literal/rowgroupRole.js | 3 +- .../lib/etc/roles/literal/rowheaderRole.js | 3 +- .../lib/etc/roles/literal/scrollbarRole.js | 3 +- .../lib/etc/roles/literal/searchRole.js | 3 +- .../lib/etc/roles/literal/searchboxRole.js | 3 +- .../lib/etc/roles/literal/separatorRole.js | 3 +- .../lib/etc/roles/literal/sliderRole.js | 3 +- .../lib/etc/roles/literal/spinbuttonRole.js | 3 +- .../lib/etc/roles/literal/statusRole.js | 3 +- .../lib/etc/roles/literal/strongRole.js | 3 +- .../lib/etc/roles/literal/subscriptRole.js | 3 +- .../lib/etc/roles/literal/superscriptRole.js | 3 +- .../lib/etc/roles/literal/switchRole.js | 3 +- .../lib/etc/roles/literal/tabRole.js | 3 +- .../lib/etc/roles/literal/tableRole.js | 3 +- .../lib/etc/roles/literal/tablistRole.js | 3 +- .../lib/etc/roles/literal/tabpanelRole.js | 3 +- .../lib/etc/roles/literal/termRole.js | 3 +- .../lib/etc/roles/literal/textboxRole.js | 3 +- .../lib/etc/roles/literal/timeRole.js | 3 +- .../lib/etc/roles/literal/timerRole.js | 3 +- .../lib/etc/roles/literal/toolbarRole.js | 3 +- .../lib/etc/roles/literal/tooltipRole.js | 3 +- .../lib/etc/roles/literal/treeRole.js | 3 +- .../lib/etc/roles/literal/treegridRole.js | 3 +- .../lib/etc/roles/literal/treeitemRole.js | 3 +- node_modules/aria-query/lib/index.js | 18 +- node_modules/aria-query/lib/roleElementMap.js | 38 +- node_modules/aria-query/lib/rolesMap.js | 33 +- .../aria-query/lib/util/iterationDecorator.js | 4 +- .../aria-query/lib/util/iteratorProxy.js | 4 +- node_modules/aria-query/package.json | 67 +- .../{is-weakset => ast-types-flow}/LICENSE | 2 +- node_modules/ast-types-flow/lib/types.js | 6830 ++-- node_modules/ast-types-flow/package.json | 4 +- node_modules/axe-core/LICENSE-3RD-PARTY.txt | 66 + node_modules/axe-core/README.md | 32 +- node_modules/axe-core/axe.d.ts | 206 +- node_modules/axe-core/axe.js | 26229 ++++++++++------ node_modules/axe-core/axe.min.js | 6 +- node_modules/axe-core/locales/README.md | 9 + node_modules/axe-core/locales/_template.json | 296 +- node_modules/axe-core/locales/da.json | 4 +- node_modules/axe-core/locales/de.json | 249 +- node_modules/axe-core/locales/el.json | 1069 + node_modules/axe-core/locales/es.json | 4 +- node_modules/axe-core/locales/eu.json | 4 +- node_modules/axe-core/locales/fr.json | 24 +- node_modules/axe-core/locales/he.json | 4 +- node_modules/axe-core/locales/it.json | 1108 + node_modules/axe-core/locales/ja.json | 540 +- node_modules/axe-core/locales/ko.json | 4 +- node_modules/axe-core/locales/no_NB.json | 4 +- node_modules/axe-core/locales/pl.json | 422 +- node_modules/axe-core/locales/pt_BR.json | 4 +- node_modules/axe-core/locales/zh_CN.json | 1116 + node_modules/axe-core/locales/zh_TW.json | 1108 + node_modules/axe-core/package.json | 106 +- node_modules/axe-core/sri-history.json | 56 + node_modules/axobject-query/README.md | 2 - .../axobject-query/lib/AXObjectElementMap.js | 60 +- .../axobject-query/lib/AXObjectRoleMap.js | 60 +- .../axobject-query/lib/AXObjectsMap.js | 172 +- .../axobject-query/lib/elementAXObjectMap.js | 85 +- .../lib/etc/objects/DisclosureTriangleRole.js | 1 + .../lib/etc/objects/TextAreaRole.js | 26 + node_modules/axobject-query/lib/index.js | 6 - .../lib/util/iterationDecorator.js | 5 - .../axobject-query/lib/util/iteratorProxy.js | 3 +- node_modules/axobject-query/package.json | 41 +- node_modules/deep-equal/.editorconfig | 20 - node_modules/deep-equal/.eslintrc | 40 - node_modules/deep-equal/.nycrc | 17 - node_modules/deep-equal/CHANGELOG.md | 279 - node_modules/deep-equal/LICENSE | 21 - node_modules/deep-equal/assert.js | 3 - node_modules/deep-equal/example/cmp.js | 13 - node_modules/deep-equal/index.js | 386 - node_modules/deep-equal/package.json | 137 - node_modules/deep-equal/readme.markdown | 77 - node_modules/deep-equal/test/_tape.js | 42 - node_modules/deep-equal/test/cmp.js | 1301 - node_modules/dequal/dist/index.js | 86 - node_modules/dequal/dist/index.min.js | 1 - node_modules/dequal/dist/index.mjs | 84 - node_modules/dequal/index.d.ts | 1 - node_modules/dequal/license | 21 - node_modules/dequal/lite/index.d.ts | 1 - node_modules/dequal/lite/index.js | 31 - node_modules/dequal/lite/index.min.js | 1 - node_modules/dequal/lite/index.mjs | 29 - node_modules/dequal/package.json | 57 - node_modules/dequal/readme.md | 112 - node_modules/es-get-iterator/.eslintrc | 32 - .../es-get-iterator/.github/FUNDING.yml | 12 - node_modules/es-get-iterator/.nycrc | 9 - node_modules/es-get-iterator/CHANGELOG.md | 105 - node_modules/es-get-iterator/LICENSE | 21 - node_modules/es-get-iterator/README.md | 89 - node_modules/es-get-iterator/index.js | 189 - node_modules/es-get-iterator/node.js | 12 - node_modules/es-get-iterator/node.mjs | 11 - node_modules/es-get-iterator/package.json | 102 - node_modules/es-get-iterator/test/core-js.js | 5 - node_modules/es-get-iterator/test/es6-shim.js | 11 - node_modules/es-get-iterator/test/index.js | 178 - node_modules/es-get-iterator/test/node.js | 3 - node_modules/es-get-iterator/test/node.mjs | 10 - node_modules/eslint-module-utils/CHANGELOG.md | 16 + node_modules/eslint-module-utils/hash.js | 2 + node_modules/eslint-module-utils/package.json | 2 +- node_modules/eslint-module-utils/parse.js | 28 +- .../lib/configs/flat/browser.js | 10 +- .../lib/configs/flat/react.js | 14 +- .../lib/configs/flat/recommended.js | 64 +- .../lib/configs/flat/typescript.js | 7 +- .../node_modules/debug/CHANGELOG.md | 395 + .../node_modules/debug/LICENSE | 19 + .../node_modules/debug/README.md | 437 + .../node_modules/debug/node.js | 1 + .../node_modules/debug/package.json | 51 + .../node_modules/debug/src/browser.js | 180 + .../node_modules/debug/src/common.js | 249 + .../node_modules/debug/src/index.js | 12 + .../node_modules/debug/src/node.js | 177 + .../eslint-plugin-import/CHANGELOG.md | 2024 ++ .../eslint-plugin-import}/LICENSE | 2 +- .../eslint-plugin-import/README.md | 577 + .../eslint-plugin-import/SECURITY.md | 11 + .../eslint-plugin-import/config/electron.js | 8 + .../eslint-plugin-import/config/errors.js | 14 + .../config/flat/errors.js | 14 + .../eslint-plugin-import/config/flat/react.js | 19 + .../config/flat/recommended.js | 26 + .../config/flat/warnings.js | 11 + .../config/react-native.js | 13 + .../eslint-plugin-import/config/react.js | 16 + .../config/recommended.js | 28 + .../eslint-plugin-import/config/stage-0.js | 12 + .../eslint-plugin-import/config/typescript.js | 34 + .../eslint-plugin-import/config/warnings.js | 12 + .../rules/consistent-type-specifier-style.md | 91 + .../docs/rules/default.md | 72 + .../docs/rules/dynamic-import-chunkname.md | 134 + .../eslint-plugin-import/docs/rules/export.md | 37 + .../docs/rules/exports-last.md | 51 + .../docs/rules/extensions.md | 192 + .../eslint-plugin-import/docs/rules/first.md | 75 + .../docs/rules/group-exports.md | 118 + .../docs/rules/imports-first.md | 9 + .../docs/rules/max-dependencies.md | 70 + .../eslint-plugin-import/docs/rules/named.md | 102 + .../docs/rules/namespace.md | 106 + .../docs/rules/newline-after-import.md | 167 + .../docs/rules/no-absolute-path.md | 54 + .../eslint-plugin-import/docs/rules/no-amd.md | 37 + .../docs/rules/no-anonymous-default-export.md | 83 + .../docs/rules/no-commonjs.md | 96 + .../docs/rules/no-cycle.md | 119 + .../docs/rules/no-default-export.md | 65 + .../docs/rules/no-deprecated.md | 62 + .../docs/rules/no-duplicates.md | 109 + .../docs/rules/no-dynamic-require.md | 25 + .../docs/rules/no-empty-named-blocks.md | 49 + .../docs/rules/no-extraneous-dependencies.md | 139 + .../docs/rules/no-import-module-exports.md | 81 + .../docs/rules/no-internal-modules.md | 136 + .../docs/rules/no-mutable-exports.md | 54 + .../docs/rules/no-named-as-default-member.md | 52 + .../docs/rules/no-named-as-default.md | 53 + .../docs/rules/no-named-default.md | 36 + .../docs/rules/no-named-export.md | 79 + .../docs/rules/no-namespace.md | 44 + .../docs/rules/no-nodejs-modules.md | 42 + .../docs/rules/no-relative-packages.md | 69 + .../docs/rules/no-relative-parent-imports.md | 123 + .../docs/rules/no-restricted-paths.md | 198 + .../docs/rules/no-self-import.md | 32 + .../docs/rules/no-unassigned-import.md | 60 + .../docs/rules/no-unresolved.md | 110 + .../docs/rules/no-unused-modules.md | 136 + .../docs/rules/no-useless-path-segments.md | 85 + .../docs/rules/no-webpack-loader-syntax.md | 39 + .../eslint-plugin-import/docs/rules/order.md | 434 + .../docs/rules/prefer-default-export.md | 185 + .../docs/rules/unambiguous.md | 57 + .../eslint-plugin-import/lib/core/fsWalk.js | 49 + .../lib/core/importType.js | 128 + .../lib/core/packagePath.js | 23 + .../lib/core/sourceType.js | 13 + .../lib/core/staticRequire.js | 11 + .../eslint-plugin-import/lib/docsUrl.js | 8 + .../lib/exportMap/builder.js | 210 + .../lib/exportMap/captureDependency.js | 61 + .../lib/exportMap/childContext.js | 57 + .../eslint-plugin-import/lib/exportMap/doc.js | 90 + .../lib/exportMap/index.js | 180 + .../lib/exportMap/namespace.js | 39 + .../lib/exportMap/patternCapture.js | 41 + .../lib/exportMap/remotePath.js | 12 + .../lib/exportMap/specifier.js | 33 + .../lib/exportMap/typescript.js | 44 + .../lib/exportMap/visitor.js | 171 + .../lib/importDeclaration.js | 7 + .../eslint-plugin-import/lib/index.js | 102 + .../rules/consistent-type-specifier-style.js | 238 + .../eslint-plugin-import/lib/rules/default.js | 40 + .../lib/rules/dynamic-import-chunkname.js | 172 + .../eslint-plugin-import/lib/rules/export.js | 235 + .../lib/rules/exports-last.js | 40 + .../lib/rules/extensions.js | 198 + .../eslint-plugin-import/lib/rules/first.js | 146 + .../lib/rules/group-exports.js | 155 + .../lib/rules/imports-first.js | 16 + .../lib/rules/max-dependencies.js | 60 + .../eslint-plugin-import/lib/rules/named.js | 145 + .../lib/rules/namespace.js | 219 + .../lib/rules/newline-after-import.js | 249 + .../lib/rules/no-absolute-path.js | 41 + .../eslint-plugin-import/lib/rules/no-amd.js | 46 + .../lib/rules/no-anonymous-default-export.js | 103 + .../lib/rules/no-commonjs.js | 143 + .../lib/rules/no-cycle.js | 180 + .../lib/rules/no-default-export.js | 46 + .../lib/rules/no-deprecated.js | 139 + .../lib/rules/no-duplicates.js | 379 + .../lib/rules/no-dynamic-require.js | 77 + .../lib/rules/no-empty-named-blocks.js | 107 + .../lib/rules/no-extraneous-dependencies.js | 308 + .../lib/rules/no-import-module-exports.js | 86 + .../lib/rules/no-internal-modules.js | 144 + .../lib/rules/no-mutable-exports.js | 62 + .../lib/rules/no-named-as-default-member.js | 96 + .../lib/rules/no-named-as-default.js | 88 + .../lib/rules/no-named-default.js | 31 + .../lib/rules/no-named-export.js | 40 + .../lib/rules/no-namespace.js | 172 + .../lib/rules/no-nodejs-modules.js | 44 + .../lib/rules/no-relative-packages.js | 72 + .../lib/rules/no-relative-parent-imports.js | 49 + .../lib/rules/no-restricted-paths.js | 246 + .../lib/rules/no-self-import.js | 41 + .../lib/rules/no-unassigned-import.js | 80 + .../lib/rules/no-unresolved.js | 60 + .../lib/rules/no-unused-modules.js | 1088 + .../lib/rules/no-useless-path-segments.js | 148 + .../lib/rules/no-webpack-loader-syntax.js | 26 + .../eslint-plugin-import/lib/rules/order.js | 1118 + .../lib/rules/prefer-default-export.js | 116 + .../lib/rules/unambiguous.js | 42 + .../eslint-plugin-import/lib/scc.js | 92 + .../eslint-plugin-import/memo-parser}/LICENSE | 5 +- .../memo-parser/README.md | 21 + .../eslint-plugin-import/memo-parser/index.js | 41 + .../eslint-plugin-import/package.json | 132 + .../eslint-plugin-github/package.json | 6 +- node_modules/eslint-plugin-jsx-a11y/.babelrc | 3 +- node_modules/eslint-plugin-jsx-a11y/.eslintrc | 1 + .../eslint-plugin-jsx-a11y/CHANGELOG.md | 191 +- node_modules/eslint-plugin-jsx-a11y/README.md | 212 +- .../__mocks__/genInteractives.js | 25 +- .../__util__/helpers/getESLintCoreRule.js | 9 + .../__tests__/__util__/helpers/parsers.js | 186 + .../__tests__/__util__/parserOptionsMapper.js | 53 +- .../__tests__/index-test.js | 39 +- .../src/rules/accessible-emoji-test.js | 18 +- .../__tests__/src/rules/alt-text-test.js | 32 +- .../src/rules/anchor-ambiguous-text-test.js | 12 +- .../src/rules/anchor-has-content-test.js | 12 +- .../src/rules/anchor-is-valid-test.js | 152 +- ...aria-activedescendant-has-tabindex-test.js | 9 +- .../__tests__/src/rules/aria-props-test.js | 11 +- .../src/rules/aria-proptypes-test.js | 43 +- .../__tests__/src/rules/aria-role-test.js | 22 +- .../rules/aria-unsupported-elements-test.js | 7 +- .../src/rules/autocomplete-valid-test.js | 9 +- .../click-events-have-key-events-test.js | 9 +- .../control-has-associated-label-test.js | 27 +- .../src/rules/heading-has-content-test.js | 9 +- .../__tests__/src/rules/html-has-lang-test.js | 9 +- .../src/rules/iframe-has-title-test.js | 9 +- .../src/rules/img-redundant-alt-test.js | 17 +- .../rules/interactive-supports-focus-test.js | 17 +- .../label-has-associated-control-test.js | 76 +- .../__tests__/src/rules/label-has-for-test.js | 21 +- .../__tests__/src/rules/lang-test.js | 12 +- .../src/rules/media-has-caption-test.js | 19 +- .../mouse-events-have-key-events-test.js | 89 +- .../__tests__/src/rules/no-access-key-test.js | 11 +- .../rules/no-aria-hidden-on-focusable-test.js | 10 +- .../__tests__/src/rules/no-autofocus-test.js | 9 +- .../src/rules/no-distracting-elements-test.js | 9 +- ...ive-element-to-noninteractive-role-test.js | 18 +- ...oninteractive-element-interactions-test.js | 43 +- ...active-element-to-interactive-role-test.js | 53 +- .../rules/no-noninteractive-tabindex-test.js | 17 +- .../__tests__/src/rules/no-onchange-test.js | 9 +- .../src/rules/no-redundant-roles-test.js | 31 +- .../no-static-element-interactions-test.js | 50 +- .../src/rules/prefer-tag-over-role-test.js | 17 +- .../role-has-required-aria-props-test.js | 14 +- .../rules/role-supports-aria-props-test.js | 40 +- .../__tests__/src/rules/scope-test.js | 9 +- .../src/rules/tabindex-no-positive-test.js | 9 +- .../src/util/attributesComparator-test.js | 196 +- .../src/util/getAccessibleChildText-test.js | 157 +- .../src/util/getComputedRole-test.js | 132 +- .../__tests__/src/util/getElementType-test.js | 149 +- .../src/util/getExplicitRole-test.js | 57 +- .../src/util/getImplicitRole-test.js | 40 +- .../__tests__/src/util/getSuggestion-test.js | 75 +- .../__tests__/src/util/getTabIndex-test.js | 158 +- .../src/util/hasAccessibleChild-test.js | 220 +- .../src/util/implicitRoles/input-test.js | 109 +- .../src/util/implicitRoles/menu-test.js | 24 +- .../src/util/implicitRoles/menuitem-test.js | 51 +- .../__tests__/src/util/isAbstractRole-test.js | 48 +- .../src/util/isContentEditable-test.js | 93 +- .../__tests__/src/util/isDOMElement-test.js | 38 +- .../src/util/isDisabledElement-test.js | 157 +- .../__tests__/src/util/isFocusable-test.js | 107 +- .../src/util/isInteractiveElement-test.js | 104 +- .../src/util/isInteractiveRole-test.js | 61 +- .../src/util/isNonInteractiveElement-test.js | 93 +- .../src/util/isNonInteractiveRole-test.js | 61 +- .../src/util/isNonLiteralProperty-test.js | 72 +- .../src/util/isSemanticRoleElement-test.js | 77 +- .../src/util/mayContainChildComponent-test.js | 225 +- .../src/util/mayHaveAccessibleLabel-test.js | 280 +- .../src/util/parserOptionsMapper-test.js | 83 +- .../__tests__/src/util/schemas-test.js | 44 +- .../docs/rules/accessible-emoji.md | 2 +- .../docs/rules/anchor-ambiguous-text.md | 2 +- .../docs/rules/anchor-has-content.md | 4 + .../aria-activedescendant-has-tabindex.md | 9 +- .../rules/click-events-have-key-events.md | 2 +- .../docs/rules/img-redundant-alt.md | 2 +- .../rules/label-has-associated-control.md | 4 + .../docs/rules/label-has-for.md | 2 +- .../rules/mouse-events-have-key-events.md | 34 +- .../docs/rules/no-access-key.md | 2 +- .../no-noninteractive-element-interactions.md | 2 +- .../docs/rules/no-redundant-roles.md | 1 + .../rules/no-static-element-interactions.md | 2 +- .../lib/configs/flat-config-base.js | 11 + .../lib/configs/legacy-config-base.js | 9 + .../eslint-plugin-jsx-a11y/lib/index.js | 373 +- .../lib/rules/accessible-emoji.js | 14 +- .../lib/rules/alt-text.js | 5 +- .../lib/rules/anchor-ambiguous-text.js | 7 +- .../lib/rules/anchor-has-content.js | 9 +- .../lib/rules/anchor-is-valid.js | 9 +- .../aria-activedescendant-has-tabindex.js | 9 +- .../lib/rules/aria-props.js | 10 +- .../lib/rules/aria-proptypes.js | 11 +- .../lib/rules/aria-role.js | 8 +- .../lib/rules/aria-unsupported-elements.js | 10 +- .../lib/rules/autocomplete-valid.js | 5 +- .../lib/rules/click-events-have-key-events.js | 10 +- .../lib/rules/control-has-associated-label.js | 7 +- .../lib/rules/heading-has-content.js | 5 +- .../lib/rules/html-has-lang.js | 5 +- .../lib/rules/iframe-has-title.js | 5 +- .../lib/rules/img-redundant-alt.js | 24 +- .../lib/rules/interactive-supports-focus.js | 11 +- .../lib/rules/label-has-associated-control.js | 84 +- .../lib/rules/label-has-for.js | 45 +- .../eslint-plugin-jsx-a11y/lib/rules/lang.js | 5 +- .../lib/rules/media-has-caption.js | 5 +- .../lib/rules/mouse-events-have-key-events.js | 63 +- .../lib/rules/no-access-key.js | 7 +- .../lib/rules/no-aria-hidden-on-focusable.js | 5 +- .../lib/rules/no-autofocus.js | 5 +- .../lib/rules/no-distracting-elements.js | 5 +- ...eractive-element-to-noninteractive-role.js | 13 +- .../no-noninteractive-element-interactions.js | 25 +- ...interactive-element-to-interactive-role.js | 13 +- .../lib/rules/no-noninteractive-tabindex.js | 31 +- .../lib/rules/no-onchange.js | 5 +- .../lib/rules/no-redundant-roles.js | 21 +- .../rules/no-static-element-interactions.js | 22 +- .../lib/rules/prefer-tag-over-role.js | 14 +- .../lib/rules/role-has-required-aria-props.js | 9 +- .../lib/rules/role-supports-aria-props.js | 14 +- .../eslint-plugin-jsx-a11y/lib/rules/scope.js | 5 +- .../lib/rules/tabindex-no-positive.js | 3 +- .../lib/util/attributesComparator.js | 3 +- .../lib/util/getAccessibleChildText.js | 2 +- .../lib/util/getComputedRole.js | 2 +- .../lib/util/getElementType.js | 26 +- .../lib/util/getImplicitRole.js | 2 +- .../lib/util/getSuggestion.js | 2 +- .../lib/util/hasAccessibleChild.js | 2 +- .../lib/util/implicitRoles/img.js | 13 + .../lib/util/implicitRoles/index.js | 5 +- .../lib/util/isAbstractRole.js | 11 +- .../lib/util/isDOMElement.js | 10 +- .../lib/util/isDisabledElement.js | 3 +- .../lib/util/isFocusable.js | 5 +- .../lib/util/isHiddenFromScreenReader.js | 3 +- .../lib/util/isInteractiveElement.js | 55 +- .../lib/util/isInteractiveRole.js | 8 +- .../lib/util/isNonInteractiveElement.js | 54 +- .../lib/util/isNonInteractiveRole.js | 11 +- .../lib/util/isNonLiteralProperty.js | 3 +- .../lib/util/isPresentationRole.js | 3 +- .../lib/util/isSemanticRoleElement.js | 3 +- .../lib/util/mayContainChildComponent.js | 4 +- .../lib/util/mayHaveAccessibleLabel.js | 25 +- .../lib/util/schemas.js | 20 +- .../node_modules/.bin/semver | 1 - .../node_modules/semver/LICENSE | 15 - .../node_modules/semver/README.md | 443 - .../node_modules/semver/bin/semver.js | 174 - .../node_modules/semver/package.json | 38 - .../node_modules/semver/range.bnf | 16 - .../node_modules/semver/semver.js | 1643 - .../eslint-plugin-jsx-a11y/package.json | 100 +- node_modules/has/LICENSE-MIT | 22 - node_modules/has/README.md | 18 - node_modules/has/package.json | 48 - node_modules/has/src/index.js | 5 - node_modules/has/test/index.js | 10 - node_modules/is-arguments/.editorconfig | 20 - node_modules/is-arguments/.eslintignore | 1 - node_modules/is-arguments/.eslintrc | 10 - node_modules/is-arguments/.github/FUNDING.yml | 12 - node_modules/is-arguments/.nycrc | 9 - node_modules/is-arguments/CHANGELOG.md | 179 - node_modules/is-arguments/LICENSE | 20 - node_modules/is-arguments/README.md | 47 - node_modules/is-arguments/index.js | 33 - node_modules/is-arguments/package.json | 91 - node_modules/is-arguments/test/index.js | 44 - node_modules/is-map/.editorconfig | 15 - node_modules/is-map/.eslintignore | 1 - node_modules/is-map/.eslintrc | 15 - node_modules/is-map/.gitattributes | 1 - node_modules/is-map/.github/FUNDING.yml | 12 - node_modules/is-map/.nycrc | 13 - node_modules/is-map/CHANGELOG.md | 65 - node_modules/is-map/README.md | 46 - node_modules/is-map/index.js | 42 - node_modules/is-map/package.json | 60 - node_modules/is-map/test/index.js | 59 - node_modules/is-set/.editorconfig | 15 - node_modules/is-set/.eslintignore | 1 - node_modules/is-set/.eslintrc | 15 - node_modules/is-set/.gitattributes | 1 - node_modules/is-set/.github/FUNDING.yml | 12 - node_modules/is-set/.nycrc | 13 - node_modules/is-set/CHANGELOG.md | 58 - node_modules/is-set/README.md | 46 - node_modules/is-set/index.js | 42 - node_modules/is-set/package.json | 60 - node_modules/is-set/test/index.js | 59 - node_modules/is-weakmap/.eslintrc | 10 - node_modules/is-weakmap/.github/FUNDING.yml | 12 - .../is-weakmap/.github/workflows/rebase.yml | 15 - node_modules/is-weakmap/CHANGELOG.md | 35 - node_modules/is-weakmap/LICENSE | 21 - node_modules/is-weakmap/README.md | 49 - node_modules/is-weakmap/index.js | 42 - node_modules/is-weakmap/package.json | 57 - node_modules/is-weakmap/test/index.js | 59 - node_modules/is-weakset/.editorconfig | 15 - node_modules/is-weakset/.eslintignore | 1 - node_modules/is-weakset/.eslintrc | 13 - node_modules/is-weakset/.gitattributes | 1 - node_modules/is-weakset/.github/FUNDING.yml | 12 - node_modules/is-weakset/.nycrc | 9 - node_modules/is-weakset/CHANGELOG.md | 76 - node_modules/is-weakset/README.md | 52 - node_modules/is-weakset/index.js | 36 - node_modules/is-weakset/package.json | 67 - node_modules/is-weakset/test/index.js | 59 - node_modules/jsx-ast-utils/CHANGELOG.md | 36 +- .../jsx-ast-utils/__tests__/helper.js | 8 +- .../__tests__/src/elementType-test.js | 22 + .../getPropLiteralValue-babelparser-test.js | 18 +- .../src/getPropValue-babelparser-test.js | 29 + .../jsx-ast-utils/lib/eventHandlers.js | 18 +- .../values/expressions/ObjectExpression.js | 12 +- .../values/expressions/TSNonNullExpression.js | 5 + .../lib/values/expressions/TemplateLiteral.js | 18 +- .../jsx-ast-utils/lib/values/index.js | 8 +- node_modules/jsx-ast-utils/package.json | 42 +- .../jsx-ast-utils/src/eventHandlers.js | 10 +- .../values/expressions/ObjectExpression.js | 7 +- .../values/expressions/TSNonNullExpression.js | 5 + .../src/values/expressions/TemplateLiteral.js | 15 +- .../jsx-ast-utils/src/values/index.js | 3 + .../data/json/collection.json | 176 +- .../data/json/extlang.json | 505 +- .../data/json/grandfathered.json | 52 +- .../data/json/index.json | 15510 ++++----- .../data/json/language.json | 13455 ++++---- .../data/json/macrolanguage.json | 47 +- .../data/json/meta.json | 2 +- .../data/json/private-use.json | 2 +- .../data/json/redundant.json | 134 +- .../data/json/region.json | 609 +- .../data/json/registry.json | 526 +- .../data/json/script.json | 434 +- .../data/json/special.json | 8 +- .../data/json/variant.json | 229 +- .../language-subtag-registry/package.json | 2 +- node_modules/language-tags/.npmignore | 4 - node_modules/language-tags/.travis.yml | 12 - node_modules/language-tags/Makefile | 32 - node_modules/language-tags/README.md | 2 +- node_modules/language-tags/lib/Subtag.js | 242 +- node_modules/language-tags/lib/Tag.js | 790 +- node_modules/language-tags/lib/index.js | 222 +- node_modules/language-tags/package.json | 52 +- .../language-tags/test/lib/SubtagTest.js | 121 - .../language-tags/test/lib/TagTest.js | 539 - .../language-tags/test/lib/index-test.js | 126 - node_modules/object-is/.eslintignore | 1 - node_modules/object-is/.eslintrc | 5 - node_modules/object-is/.nycrc | 13 - node_modules/object-is/CHANGELOG.md | 150 - node_modules/object-is/LICENSE | 20 - node_modules/object-is/README.md | 60 - node_modules/object-is/auto.js | 3 - node_modules/object-is/implementation.js | 19 - node_modules/object-is/package.json | 87 - node_modules/object-is/shim.js | 14 - node_modules/object-is/test/implementation.js | 12 - node_modules/object-is/test/tests.js | 57 - node_modules/object.entries/.editorconfig | 20 - node_modules/object.entries/.eslintrc | 11 - node_modules/object.entries/.nycrc | 9 - node_modules/object.entries/CHANGELOG.md | 177 - node_modules/object.entries/README.md | 58 - node_modules/object.entries/auto.js | 3 - node_modules/object.entries/implementation.js | 17 - node_modules/object.entries/index.js | 18 - node_modules/object.entries/package.json | 94 - node_modules/object.entries/polyfill.js | 7 - node_modules/object.entries/shim.js | 14 - node_modules/object.entries/test/.eslintrc | 11 - .../object.entries/test/implementation.js | 20 - node_modules/object.entries/test/index.js | 17 - node_modules/object.entries/test/shimmed.js | 35 - node_modules/object.entries/test/tests.js | 82 - node_modules/regenerator-runtime/LICENSE | 21 - node_modules/regenerator-runtime/README.md | 31 - node_modules/regenerator-runtime/package.json | 19 - node_modules/regenerator-runtime/path.js | 11 - node_modules/regenerator-runtime/runtime.js | 761 - node_modules/semver/README.md | 18 +- node_modules/semver/bin/semver.js | 3 +- node_modules/semver/classes/semver.js | 25 +- node_modules/semver/functions/diff.js | 17 +- node_modules/semver/package.json | 15 +- .../stop-iteration-iterator/.eslintrc | 14 - .../.github/FUNDING.yml | 12 - node_modules/stop-iteration-iterator/.nycrc | 13 - .../stop-iteration-iterator/CHANGELOG.md | 17 - node_modules/stop-iteration-iterator/LICENSE | 21 - .../stop-iteration-iterator/README.md | 42 - node_modules/stop-iteration-iterator/index.js | 40 - .../stop-iteration-iterator/package.json | 68 - .../stop-iteration-iterator/test/index.js | 48 - .../string.prototype.includes/.editorconfig | 6 + .../string.prototype.includes/.eslintrc | 30 + .../string.prototype.includes/.gitattributes | 2 + .../.github/workflows/node-aught.yml | 11 + .../.github/workflows/node-pretest.yml | 7 + .../.github/workflows/node-tens.yml | 11 + .../.github/workflows/publish-on-tag.yml | 28 + .../.github/workflows/rebase.yml | 9 + .../.github/workflows/require-allow-edits.yml | 12 + .../.travis.yml | 1 - .../LICENSE | 4 +- .../string.prototype.includes/README.md | 48 + .../string.prototype.includes/auto.js | 5 + .../implementation.js | 32 + .../index.js | 10 +- .../string.prototype.includes/package.json | 61 + .../polyfill.js | 4 +- .../string.prototype.includes/shim.js | 17 + .../tests}/index.js | 4 +- .../tests}/shimmed.js | 20 +- .../string.prototype.includes/tests/tests.js | 137 + node_modules/which-collection/.eslintrc | 15 - .../which-collection/.github/FUNDING.yml | 12 - .../.github/workflows/rebase.yml | 15 - node_modules/which-collection/.travis.yml | 8 - node_modules/which-collection/CHANGELOG.md | 33 - node_modules/which-collection/LICENSE | 21 - node_modules/which-collection/README.md | 64 - node_modules/which-collection/index.js | 24 - node_modules/which-collection/package.json | 69 - node_modules/which-collection/test/index.js | 59 - 990 files changed, 65760 insertions(+), 51104 deletions(-) delete mode 100644 node_modules/@babel/runtime/README.md delete mode 100644 node_modules/@babel/runtime/helpers/AsyncGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/AwaitValue.js delete mode 100644 node_modules/@babel/runtime/helpers/OverloadYield.js delete mode 100644 node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js delete mode 100644 node_modules/@babel/runtime/helpers/applyDecs.js delete mode 100644 node_modules/@babel/runtime/helpers/applyDecs2203.js delete mode 100644 node_modules/@babel/runtime/helpers/arrayLikeToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/arrayWithHoles.js delete mode 100644 node_modules/@babel/runtime/helpers/arrayWithoutHoles.js delete mode 100644 node_modules/@babel/runtime/helpers/assertThisInitialized.js delete mode 100644 node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js delete mode 100644 node_modules/@babel/runtime/helpers/asyncIterator.js delete mode 100644 node_modules/@babel/runtime/helpers/asyncToGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/checkInRHS.js delete mode 100644 node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js delete mode 100644 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js delete mode 100644 node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js delete mode 100644 node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js delete mode 100644 node_modules/@babel/runtime/helpers/classCallCheck.js delete mode 100644 node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js delete mode 100644 node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js delete mode 100644 node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js delete mode 100644 node_modules/@babel/runtime/helpers/classNameTDZError.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldGet.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldSet.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateMethodGet.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js delete mode 100644 node_modules/@babel/runtime/helpers/classPrivateMethodSet.js delete mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js delete mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js delete mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js delete mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js delete mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js delete mode 100644 node_modules/@babel/runtime/helpers/construct.js delete mode 100644 node_modules/@babel/runtime/helpers/createClass.js delete mode 100644 node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js delete mode 100644 node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/createSuper.js delete mode 100644 node_modules/@babel/runtime/helpers/decorate.js delete mode 100644 node_modules/@babel/runtime/helpers/defaults.js delete mode 100644 node_modules/@babel/runtime/helpers/defineAccessor.js delete mode 100644 node_modules/@babel/runtime/helpers/defineEnumerableProperties.js delete mode 100644 node_modules/@babel/runtime/helpers/defineProperty.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/AwaitValue.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/OverloadYield.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/applyDecs.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/applyDecs2203.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/asyncIterator.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/checkInRHS.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classCallCheck.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classNameTDZError.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/construct.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/createClass.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/createSuper.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/decorate.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/defaults.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/defineAccessor.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/defineProperty.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/extends.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/get.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/identity.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/inherits.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/inheritsLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/instanceof.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/isNativeFunction.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/iterableToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/jsx.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/newArrowCheck.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/nonIterableRest.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/objectSpread.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/objectSpread2.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/package.json delete mode 100644 node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/readOnlyError.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/set.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/slicedToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/superPropBase.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/tdz.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/temporalRef.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/temporalUndefined.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/toArray.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/toConsumableArray.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/toPrimitive.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/toPropertyKey.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/typeof.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/wrapRegExp.js delete mode 100644 node_modules/@babel/runtime/helpers/esm/writeOnlyError.js delete mode 100644 node_modules/@babel/runtime/helpers/extends.js delete mode 100644 node_modules/@babel/runtime/helpers/get.js delete mode 100644 node_modules/@babel/runtime/helpers/getPrototypeOf.js delete mode 100644 node_modules/@babel/runtime/helpers/identity.js delete mode 100644 node_modules/@babel/runtime/helpers/inherits.js delete mode 100644 node_modules/@babel/runtime/helpers/inheritsLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/initializerDefineProperty.js delete mode 100644 node_modules/@babel/runtime/helpers/initializerWarningHelper.js delete mode 100644 node_modules/@babel/runtime/helpers/instanceof.js delete mode 100644 node_modules/@babel/runtime/helpers/interopRequireDefault.js delete mode 100644 node_modules/@babel/runtime/helpers/interopRequireWildcard.js delete mode 100644 node_modules/@babel/runtime/helpers/isNativeFunction.js delete mode 100644 node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js delete mode 100644 node_modules/@babel/runtime/helpers/iterableToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/iterableToArrayLimit.js delete mode 100644 node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/jsx.js delete mode 100644 node_modules/@babel/runtime/helpers/maybeArrayLike.js delete mode 100644 node_modules/@babel/runtime/helpers/newArrowCheck.js delete mode 100644 node_modules/@babel/runtime/helpers/nonIterableRest.js delete mode 100644 node_modules/@babel/runtime/helpers/nonIterableSpread.js delete mode 100644 node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js delete mode 100644 node_modules/@babel/runtime/helpers/objectSpread.js delete mode 100644 node_modules/@babel/runtime/helpers/objectSpread2.js delete mode 100644 node_modules/@babel/runtime/helpers/objectWithoutProperties.js delete mode 100644 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/possibleConstructorReturn.js delete mode 100644 node_modules/@babel/runtime/helpers/readOnlyError.js delete mode 100644 node_modules/@babel/runtime/helpers/regeneratorRuntime.js delete mode 100644 node_modules/@babel/runtime/helpers/set.js delete mode 100644 node_modules/@babel/runtime/helpers/setPrototypeOf.js delete mode 100644 node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js delete mode 100644 node_modules/@babel/runtime/helpers/slicedToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/slicedToArrayLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/superPropBase.js delete mode 100644 node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js delete mode 100644 node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js delete mode 100644 node_modules/@babel/runtime/helpers/tdz.js delete mode 100644 node_modules/@babel/runtime/helpers/temporalRef.js delete mode 100644 node_modules/@babel/runtime/helpers/temporalUndefined.js delete mode 100644 node_modules/@babel/runtime/helpers/toArray.js delete mode 100644 node_modules/@babel/runtime/helpers/toConsumableArray.js delete mode 100644 node_modules/@babel/runtime/helpers/toPrimitive.js delete mode 100644 node_modules/@babel/runtime/helpers/toPropertyKey.js delete mode 100644 node_modules/@babel/runtime/helpers/typeof.js delete mode 100644 node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js delete mode 100644 node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js delete mode 100644 node_modules/@babel/runtime/helpers/wrapNativeSuper.js delete mode 100644 node_modules/@babel/runtime/helpers/wrapRegExp.js delete mode 100644 node_modules/@babel/runtime/helpers/writeOnlyError.js delete mode 100644 node_modules/@babel/runtime/package.json delete mode 100644 node_modules/@babel/runtime/regenerator/index.js rename node_modules/{is-map => @rtsao/scc}/LICENSE (97%) create mode 100644 node_modules/@rtsao/scc/README.md create mode 100644 node_modules/@rtsao/scc/index.d.ts create mode 100644 node_modules/@rtsao/scc/index.js create mode 100644 node_modules/@rtsao/scc/index.js.flow create mode 100644 node_modules/@rtsao/scc/package.json delete mode 100644 node_modules/aria-query/CHANGELOG.md create mode 100644 node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js create mode 100644 node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js rename node_modules/{is-weakset => ast-types-flow}/LICENSE (97%) create mode 100644 node_modules/axe-core/LICENSE-3RD-PARTY.txt create mode 100644 node_modules/axe-core/locales/README.md create mode 100644 node_modules/axe-core/locales/el.json create mode 100644 node_modules/axe-core/locales/it.json create mode 100644 node_modules/axe-core/locales/zh_CN.json create mode 100644 node_modules/axe-core/locales/zh_TW.json create mode 100644 node_modules/axobject-query/lib/etc/objects/TextAreaRole.js delete mode 100755 node_modules/deep-equal/.editorconfig delete mode 100755 node_modules/deep-equal/.eslintrc delete mode 100644 node_modules/deep-equal/.nycrc delete mode 100644 node_modules/deep-equal/CHANGELOG.md delete mode 100644 node_modules/deep-equal/LICENSE delete mode 100644 node_modules/deep-equal/assert.js delete mode 100644 node_modules/deep-equal/example/cmp.js delete mode 100644 node_modules/deep-equal/index.js delete mode 100755 node_modules/deep-equal/package.json delete mode 100644 node_modules/deep-equal/readme.markdown delete mode 100644 node_modules/deep-equal/test/_tape.js delete mode 100644 node_modules/deep-equal/test/cmp.js delete mode 100644 node_modules/dequal/dist/index.js delete mode 100644 node_modules/dequal/dist/index.min.js delete mode 100644 node_modules/dequal/dist/index.mjs delete mode 100644 node_modules/dequal/index.d.ts delete mode 100644 node_modules/dequal/license delete mode 100644 node_modules/dequal/lite/index.d.ts delete mode 100644 node_modules/dequal/lite/index.js delete mode 100644 node_modules/dequal/lite/index.min.js delete mode 100644 node_modules/dequal/lite/index.mjs delete mode 100644 node_modules/dequal/package.json delete mode 100644 node_modules/dequal/readme.md delete mode 100644 node_modules/es-get-iterator/.eslintrc delete mode 100644 node_modules/es-get-iterator/.github/FUNDING.yml delete mode 100644 node_modules/es-get-iterator/.nycrc delete mode 100644 node_modules/es-get-iterator/CHANGELOG.md delete mode 100644 node_modules/es-get-iterator/LICENSE delete mode 100644 node_modules/es-get-iterator/README.md delete mode 100644 node_modules/es-get-iterator/index.js delete mode 100644 node_modules/es-get-iterator/node.js delete mode 100644 node_modules/es-get-iterator/node.mjs delete mode 100644 node_modules/es-get-iterator/package.json delete mode 100644 node_modules/es-get-iterator/test/core-js.js delete mode 100644 node_modules/es-get-iterator/test/es6-shim.js delete mode 100644 node_modules/es-get-iterator/test/index.js delete mode 100644 node_modules/es-get-iterator/test/node.js delete mode 100644 node_modules/es-get-iterator/test/node.mjs create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/CHANGELOG.md create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/LICENSE create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/README.md create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/node.js create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/package.json create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/src/browser.js create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/src/common.js create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/src/index.js create mode 100644 node_modules/eslint-plugin-github/node_modules/debug/src/node.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/CHANGELOG.md rename node_modules/{object.entries => eslint-plugin-github/node_modules/eslint-plugin-import}/LICENSE (96%) create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/README.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/SECURITY.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/electron.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/errors.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/flat/errors.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/flat/react.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/flat/recommended.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/flat/warnings.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/react-native.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/react.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/recommended.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/stage-0.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/typescript.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/config/warnings.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/default.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/export.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/exports-last.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/extensions.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/first.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/group-exports.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/imports-first.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/named.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/namespace.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-amd.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-cycle.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-default-export.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-named-default.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-named-export.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-namespace.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-self-import.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/order.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/docs/rules/unambiguous.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/core/fsWalk.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/core/importType.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/core/packagePath.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/core/sourceType.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/core/staticRequire.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/docsUrl.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/builder.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/captureDependency.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/childContext.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/doc.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/index.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/namespace.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/patternCapture.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/remotePath.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/specifier.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/typescript.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/exportMap/visitor.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/importDeclaration.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/index.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/default.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/export.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/exports-last.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/extensions.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/first.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/group-exports.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/imports-first.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/named.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/namespace.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-amd.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-cycle.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-default-export.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-named-default.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-named-export.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-namespace.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-self-import.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/order.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/rules/unambiguous.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/lib/scc.js rename node_modules/{is-set => eslint-plugin-github/node_modules/eslint-plugin-import/memo-parser}/LICENSE (95%) create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/memo-parser/README.md create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/memo-parser/index.js create mode 100644 node_modules/eslint-plugin-github/node_modules/eslint-plugin-import/package.json create mode 100644 node_modules/eslint-plugin-jsx-a11y/__tests__/__util__/helpers/getESLintCoreRule.js create mode 100644 node_modules/eslint-plugin-jsx-a11y/__tests__/__util__/helpers/parsers.js create mode 100644 node_modules/eslint-plugin-jsx-a11y/lib/configs/flat-config-base.js create mode 100644 node_modules/eslint-plugin-jsx-a11y/lib/configs/legacy-config-base.js delete mode 120000 node_modules/eslint-plugin-jsx-a11y/node_modules/.bin/semver delete mode 100644 node_modules/eslint-plugin-jsx-a11y/node_modules/semver/LICENSE delete mode 100644 node_modules/eslint-plugin-jsx-a11y/node_modules/semver/README.md delete mode 100755 node_modules/eslint-plugin-jsx-a11y/node_modules/semver/bin/semver.js delete mode 100644 node_modules/eslint-plugin-jsx-a11y/node_modules/semver/package.json delete mode 100644 node_modules/eslint-plugin-jsx-a11y/node_modules/semver/range.bnf delete mode 100644 node_modules/eslint-plugin-jsx-a11y/node_modules/semver/semver.js delete mode 100644 node_modules/has/LICENSE-MIT delete mode 100644 node_modules/has/README.md delete mode 100644 node_modules/has/package.json delete mode 100644 node_modules/has/src/index.js delete mode 100644 node_modules/has/test/index.js delete mode 100644 node_modules/is-arguments/.editorconfig delete mode 100644 node_modules/is-arguments/.eslintignore delete mode 100644 node_modules/is-arguments/.eslintrc delete mode 100644 node_modules/is-arguments/.github/FUNDING.yml delete mode 100644 node_modules/is-arguments/.nycrc delete mode 100644 node_modules/is-arguments/CHANGELOG.md delete mode 100644 node_modules/is-arguments/LICENSE delete mode 100644 node_modules/is-arguments/README.md delete mode 100644 node_modules/is-arguments/index.js delete mode 100644 node_modules/is-arguments/package.json delete mode 100644 node_modules/is-arguments/test/index.js delete mode 100644 node_modules/is-map/.editorconfig delete mode 100644 node_modules/is-map/.eslintignore delete mode 100644 node_modules/is-map/.eslintrc delete mode 100644 node_modules/is-map/.gitattributes delete mode 100644 node_modules/is-map/.github/FUNDING.yml delete mode 100644 node_modules/is-map/.nycrc delete mode 100644 node_modules/is-map/CHANGELOG.md delete mode 100644 node_modules/is-map/README.md delete mode 100644 node_modules/is-map/index.js delete mode 100644 node_modules/is-map/package.json delete mode 100644 node_modules/is-map/test/index.js delete mode 100644 node_modules/is-set/.editorconfig delete mode 100644 node_modules/is-set/.eslintignore delete mode 100644 node_modules/is-set/.eslintrc delete mode 100644 node_modules/is-set/.gitattributes delete mode 100644 node_modules/is-set/.github/FUNDING.yml delete mode 100644 node_modules/is-set/.nycrc delete mode 100644 node_modules/is-set/CHANGELOG.md delete mode 100644 node_modules/is-set/README.md delete mode 100644 node_modules/is-set/index.js delete mode 100644 node_modules/is-set/package.json delete mode 100644 node_modules/is-set/test/index.js delete mode 100644 node_modules/is-weakmap/.eslintrc delete mode 100644 node_modules/is-weakmap/.github/FUNDING.yml delete mode 100644 node_modules/is-weakmap/.github/workflows/rebase.yml delete mode 100644 node_modules/is-weakmap/CHANGELOG.md delete mode 100644 node_modules/is-weakmap/LICENSE delete mode 100644 node_modules/is-weakmap/README.md delete mode 100644 node_modules/is-weakmap/index.js delete mode 100644 node_modules/is-weakmap/package.json delete mode 100644 node_modules/is-weakmap/test/index.js delete mode 100644 node_modules/is-weakset/.editorconfig delete mode 100644 node_modules/is-weakset/.eslintignore delete mode 100644 node_modules/is-weakset/.eslintrc delete mode 100644 node_modules/is-weakset/.gitattributes delete mode 100644 node_modules/is-weakset/.github/FUNDING.yml delete mode 100644 node_modules/is-weakset/.nycrc delete mode 100644 node_modules/is-weakset/CHANGELOG.md delete mode 100644 node_modules/is-weakset/README.md delete mode 100644 node_modules/is-weakset/index.js delete mode 100644 node_modules/is-weakset/package.json delete mode 100644 node_modules/is-weakset/test/index.js delete mode 100644 node_modules/language-tags/.npmignore delete mode 100644 node_modules/language-tags/.travis.yml delete mode 100644 node_modules/language-tags/Makefile delete mode 100644 node_modules/language-tags/test/lib/SubtagTest.js delete mode 100644 node_modules/language-tags/test/lib/TagTest.js delete mode 100644 node_modules/language-tags/test/lib/index-test.js delete mode 100644 node_modules/object-is/.eslintignore delete mode 100644 node_modules/object-is/.eslintrc delete mode 100644 node_modules/object-is/.nycrc delete mode 100644 node_modules/object-is/CHANGELOG.md delete mode 100644 node_modules/object-is/LICENSE delete mode 100644 node_modules/object-is/README.md delete mode 100644 node_modules/object-is/auto.js delete mode 100644 node_modules/object-is/implementation.js delete mode 100644 node_modules/object-is/package.json delete mode 100644 node_modules/object-is/shim.js delete mode 100644 node_modules/object-is/test/implementation.js delete mode 100644 node_modules/object-is/test/tests.js delete mode 100644 node_modules/object.entries/.editorconfig delete mode 100644 node_modules/object.entries/.eslintrc delete mode 100644 node_modules/object.entries/.nycrc delete mode 100644 node_modules/object.entries/CHANGELOG.md delete mode 100644 node_modules/object.entries/README.md delete mode 100644 node_modules/object.entries/auto.js delete mode 100644 node_modules/object.entries/implementation.js delete mode 100644 node_modules/object.entries/index.js delete mode 100644 node_modules/object.entries/package.json delete mode 100644 node_modules/object.entries/polyfill.js delete mode 100644 node_modules/object.entries/shim.js delete mode 100644 node_modules/object.entries/test/.eslintrc delete mode 100644 node_modules/object.entries/test/implementation.js delete mode 100644 node_modules/object.entries/test/index.js delete mode 100644 node_modules/object.entries/test/shimmed.js delete mode 100644 node_modules/object.entries/test/tests.js delete mode 100644 node_modules/regenerator-runtime/LICENSE delete mode 100644 node_modules/regenerator-runtime/README.md delete mode 100644 node_modules/regenerator-runtime/package.json delete mode 100644 node_modules/regenerator-runtime/path.js delete mode 100644 node_modules/regenerator-runtime/runtime.js delete mode 100644 node_modules/stop-iteration-iterator/.eslintrc delete mode 100644 node_modules/stop-iteration-iterator/.github/FUNDING.yml delete mode 100644 node_modules/stop-iteration-iterator/.nycrc delete mode 100644 node_modules/stop-iteration-iterator/CHANGELOG.md delete mode 100644 node_modules/stop-iteration-iterator/LICENSE delete mode 100644 node_modules/stop-iteration-iterator/README.md delete mode 100644 node_modules/stop-iteration-iterator/index.js delete mode 100644 node_modules/stop-iteration-iterator/package.json delete mode 100644 node_modules/stop-iteration-iterator/test/index.js create mode 100644 node_modules/string.prototype.includes/.editorconfig create mode 100644 node_modules/string.prototype.includes/.eslintrc create mode 100644 node_modules/string.prototype.includes/.gitattributes create mode 100644 node_modules/string.prototype.includes/.github/workflows/node-aught.yml create mode 100644 node_modules/string.prototype.includes/.github/workflows/node-pretest.yml create mode 100644 node_modules/string.prototype.includes/.github/workflows/node-tens.yml create mode 100644 node_modules/string.prototype.includes/.github/workflows/publish-on-tag.yml create mode 100644 node_modules/string.prototype.includes/.github/workflows/rebase.yml create mode 100644 node_modules/string.prototype.includes/.github/workflows/require-allow-edits.yml rename node_modules/{is-weakmap => string.prototype.includes}/.travis.yml (76%) rename node_modules/{@babel/runtime => string.prototype.includes}/LICENSE (92%) create mode 100644 node_modules/string.prototype.includes/README.md create mode 100644 node_modules/string.prototype.includes/auto.js create mode 100644 node_modules/string.prototype.includes/implementation.js rename node_modules/{object-is => string.prototype.includes}/index.js (65%) create mode 100644 node_modules/string.prototype.includes/package.json rename node_modules/{object-is => string.prototype.includes}/polyfill.js (51%) create mode 100644 node_modules/string.prototype.includes/shim.js rename node_modules/{object-is/test => string.prototype.includes/tests}/index.js (70%) rename node_modules/{object-is/test => string.prototype.includes/tests}/shimmed.js (53%) create mode 100644 node_modules/string.prototype.includes/tests/tests.js delete mode 100644 node_modules/which-collection/.eslintrc delete mode 100644 node_modules/which-collection/.github/FUNDING.yml delete mode 100644 node_modules/which-collection/.github/workflows/rebase.yml delete mode 100644 node_modules/which-collection/.travis.yml delete mode 100644 node_modules/which-collection/CHANGELOG.md delete mode 100644 node_modules/which-collection/LICENSE delete mode 100644 node_modules/which-collection/README.md delete mode 100644 node_modules/which-collection/index.js delete mode 100644 node_modules/which-collection/package.json delete mode 100644 node_modules/which-collection/test/index.js diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 7cfc2516e4..e0418d13d9 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -531,17 +531,6 @@ "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, - "node_modules/@babel/runtime": { - "version": "7.20.7", - "dev": true, - "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.13.11" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "dev": true, @@ -1065,9 +1054,9 @@ } }, "node_modules/@octokit/types": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.7.0.tgz", - "integrity": "sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==", + "version": "13.8.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.8.0.tgz", + "integrity": "sha512-x7DjTIbEpEWXK99DMd01QfWy0hd5h4EN+Q7shkdKds3otGQP+oWE/y0A76i1OvH9fygo4ddvNf7ZvF0t78P98A==", "license": "MIT", "dependencies": { "@octokit/openapi-types": "^23.0.1" @@ -1204,6 +1193,13 @@ "@protobuf-ts/runtime": "^2.9.4" } }, + "node_modules/@rtsao/scc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "dev": true, + "license": "MIT" + }, "node_modules/@schemastore/package": { "version": "0.0.10", "license": "MIT" @@ -1335,21 +1331,21 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.22.0.tgz", - "integrity": "sha512-4Uta6REnz/xEJMvwf72wdUnC3rr4jAQf5jnTkeRQ9b6soxLxhDEbS/pfMPoJLDfFPNVRdryqWUIV/2GZzDJFZw==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.23.0.tgz", + "integrity": "sha512-vBz65tJgRrA1Q5gWlRfvoH+w943dq9K1p1yDBY2pc+a1nbBLZp7fB9+Hk8DaALUbzjqlMfgaqlVPT1REJdkt/w==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/type-utils": "8.22.0", - "@typescript-eslint/utils": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/type-utils": "8.23.0", + "@typescript-eslint/utils": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1365,14 +1361,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", - "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1383,9 +1379,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", - "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", "dev": true, "license": "MIT", "engines": { @@ -1397,20 +1393,20 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", - "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1424,16 +1420,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", - "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz", + "integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0" + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1448,13 +1444,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", - "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1505,9 +1501,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", - "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", "dev": true, "license": "MIT", "engines": { @@ -1518,16 +1514,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.22.0.tgz", - "integrity": "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz", + "integrity": "sha512-h2lUByouOXFAlMec2mILeELUbME5SZRN/7R9Cw2RD2lRQQY08MWMM+PmVVKKJNK1aIwqTo9t/0CvOxwPbRIE2Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4" }, "engines": { @@ -1543,14 +1539,14 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", - "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1561,9 +1557,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", - "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", "dev": true, "license": "MIT", "engines": { @@ -1575,20 +1571,20 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", - "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1602,13 +1598,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", - "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1659,9 +1655,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/ts-api-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", - "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", "dev": true, "license": "MIT", "engines": { @@ -1690,16 +1686,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.22.0.tgz", - "integrity": "sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz", + "integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.22.0", - "@typescript-eslint/utils": "8.22.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/utils": "8.23.0", "debug": "^4.3.4", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1714,14 +1710,14 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", - "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1732,9 +1728,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", - "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", "dev": true, "license": "MIT", "engines": { @@ -1746,20 +1742,20 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", - "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1773,16 +1769,16 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", - "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz", + "integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0" + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1797,13 +1793,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", - "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1854,9 +1850,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", - "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", "dev": true, "license": "MIT", "engines": { @@ -2169,11 +2165,13 @@ "license": "Python-2.0" }, "node_modules/aria-query": { - "version": "5.3.0", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", + "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==", "dev": true, "license": "Apache-2.0", - "dependencies": { - "dequal": "^2.0.3" + "engines": { + "node": ">= 0.4" } }, "node_modules/array-buffer-byte-length": { @@ -2312,9 +2310,11 @@ } }, "node_modules/ast-types-flow": { - "version": "0.0.7", + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz", + "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==", "dev": true, - "license": "ISC" + "license": "MIT" }, "node_modules/async": { "version": "3.2.6", @@ -2482,7 +2482,9 @@ } }, "node_modules/axe-core": { - "version": "4.6.2", + "version": "4.10.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.2.tgz", + "integrity": "sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==", "dev": true, "license": "MPL-2.0", "engines": { @@ -2490,11 +2492,13 @@ } }, "node_modules/axobject-query": { - "version": "3.1.1", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", + "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==", "dev": true, "license": "Apache-2.0", - "dependencies": { - "deep-equal": "^2.0.5" + "engines": { + "node": ">= 0.4" } }, "node_modules/b4a": { @@ -3097,6 +3101,8 @@ }, "node_modules/damerau-levenshtein": { "version": "1.0.8", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", + "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", "dev": true, "license": "BSD-2-Clause" }, @@ -3179,33 +3185,6 @@ } } }, - "node_modules/deep-equal": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "es-get-iterator": "^1.1.2", - "get-intrinsic": "^1.1.3", - "is-arguments": "^1.1.1", - "is-array-buffer": "^3.0.1", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "isarray": "^2.0.5", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "side-channel": "^1.0.4", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.9" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-is": { "version": "0.1.4", "dev": true, @@ -3314,14 +3293,6 @@ "version": "2.3.1", "license": "ISC" }, - "node_modules/dequal": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/diff": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", @@ -3506,25 +3477,6 @@ "node": ">= 0.4" } }, - "node_modules/es-get-iterator": { - "version": "1.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "is-arguments": "^1.1.1", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.7", - "isarray": "^2.0.5", - "stop-iteration-iterator": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/es-object-atoms": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", @@ -3715,10 +3667,11 @@ } }, "node_modules/eslint-module-utils": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.11.0.tgz", - "integrity": "sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz", + "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -3785,9 +3738,9 @@ } }, "node_modules/eslint-plugin-github": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.5.tgz", - "integrity": "sha512-vRgIVJ88FfESAGGYsJlf7SQhQlFEJaa7/I9z/5K5vKbWEQ3DnRkg8cvoj8LZA30MFb2uW1SltOcEj+Q8UR8LxA==", + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.7.tgz", + "integrity": "sha512-P3S5TwvHy8u1QadfcI/tZ2uNFMTHv+mT/YmEdLEgEzp08mA3iK02kg/IhoWOz0SnbTyUi1qrq0a6SwC3uQSkpQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3803,8 +3756,8 @@ "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-i18n-text": "^1.0.1", - "eslint-plugin-import": "^2.25.2", - "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-no-only-tests": "^3.0.0", "eslint-plugin-prettier": "^5.2.1", "eslint-rule-documentation": ">=1.0.0", @@ -3839,6 +3792,50 @@ } } }, + "node_modules/eslint-plugin-github/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-github/node_modules/eslint-plugin-import": { + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz", + "integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rtsao/scc": "^1.1.0", + "array-includes": "^3.1.8", + "array.prototype.findlastindex": "^1.2.5", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.12.0", + "hasown": "^2.0.2", + "is-core-module": "^2.15.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.8", + "object.groupby": "^1.0.3", + "object.values": "^1.2.0", + "semver": "^6.3.1", + "string.prototype.trimend": "^1.0.8", + "tsconfig-paths": "^3.15.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9" + } + }, "node_modules/eslint-plugin-github/node_modules/globals": { "version": "15.13.0", "resolved": "https://registry.npmjs.org/globals/-/globals-15.13.0.tgz", @@ -3900,47 +3897,42 @@ } }, "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.7.1", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz", + "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.20.7", - "aria-query": "^5.1.3", - "array-includes": "^3.1.6", - "array.prototype.flatmap": "^1.3.1", - "ast-types-flow": "^0.0.7", - "axe-core": "^4.6.2", - "axobject-query": "^3.1.1", + "aria-query": "^5.3.2", + "array-includes": "^3.1.8", + "array.prototype.flatmap": "^1.3.2", + "ast-types-flow": "^0.0.8", + "axe-core": "^4.10.0", + "axobject-query": "^4.1.0", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", - "has": "^1.0.3", - "jsx-ast-utils": "^3.3.3", - "language-tags": "=1.0.5", + "hasown": "^2.0.2", + "jsx-ast-utils": "^3.3.5", + "language-tags": "^1.0.9", "minimatch": "^3.1.2", - "object.entries": "^1.1.6", - "object.fromentries": "^2.0.6", - "semver": "^6.3.0" + "object.fromentries": "^2.0.8", + "safe-regex-test": "^1.0.3", + "string.prototype.includes": "^2.0.1" }, "engines": { "node": ">=4.0" }, "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" } }, "node_modules/eslint-plugin-jsx-a11y/node_modules/emoji-regex": { "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true, "license": "MIT" }, - "node_modules/eslint-plugin-jsx-a11y/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/eslint-plugin-no-async-foreach": { "version": "0.1.1", "dev": true, @@ -4796,17 +4788,6 @@ "dev": true, "license": "MIT" }, - "node_modules/has": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-bigints": { "version": "1.0.2", "dev": true, @@ -5022,21 +5003,6 @@ "node": ">=8" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-array-buffer": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", @@ -5183,14 +5149,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-map": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-negative-zero": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", @@ -5272,14 +5230,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-set": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-shared-array-buffer": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", @@ -5360,14 +5310,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-weakmap": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-weakref": { "version": "1.0.2", "dev": true, @@ -5379,18 +5321,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-weakset": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", @@ -5477,12 +5407,16 @@ } }, "node_modules/jsx-ast-utils": { - "version": "3.3.3", + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", "dev": true, "license": "MIT", "dependencies": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" }, "engines": { "node": ">=4.0" @@ -5501,16 +5435,23 @@ "license": "MIT" }, "node_modules/language-subtag-registry": { - "version": "0.3.22", + "version": "0.3.23", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz", + "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==", "dev": true, "license": "CC0-1.0" }, "node_modules/language-tags": { - "version": "1.0.5", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz", + "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==", "dev": true, "license": "MIT", "dependencies": { - "language-subtag-registry": "~0.3.2" + "language-subtag-registry": "^0.3.20" + }, + "engines": { + "node": ">=0.10" } }, "node_modules/lazystream": { @@ -5952,21 +5893,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-keys": { "version": "1.1.1", "dev": true, @@ -5993,19 +5919,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.entries": { - "version": "1.1.6", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/object.fromentries": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", @@ -6501,11 +6414,6 @@ "node": ">=8.10.0" } }, - "node_modules/regenerator-runtime": { - "version": "0.13.11", - "dev": true, - "license": "MIT" - }, "node_modules/regexp.prototype.flags": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", @@ -6715,9 +6623,10 @@ "license": "ISC" }, "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", + "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -6918,17 +6827,6 @@ "node": ">=8" } }, - "node_modules/stop-iteration-iterator": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "internal-slot": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/streamx": { "version": "2.20.1", "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz", @@ -6986,6 +6884,21 @@ "node": ">=8" } }, + "node_modules/string.prototype.includes": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz", + "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/string.prototype.trim": { "version": "1.2.9", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", @@ -7781,20 +7694,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/which-collection": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-map": "^2.0.1", - "is-set": "^2.0.1", - "is-weakmap": "^2.0.1", - "is-weakset": "^2.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/which-typed-array": { "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", diff --git a/node_modules/@babel/runtime/README.md b/node_modules/@babel/runtime/README.md deleted file mode 100644 index be27e83476..0000000000 --- a/node_modules/@babel/runtime/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/runtime - -> babel's modular runtime helpers - -See our website [@babel/runtime](https://babeljs.io/docs/en/babel-runtime) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/runtime -``` - -or using yarn: - -```sh -yarn add @babel/runtime -``` diff --git a/node_modules/@babel/runtime/helpers/AsyncGenerator.js b/node_modules/@babel/runtime/helpers/AsyncGenerator.js deleted file mode 100644 index c3379a9ccd..0000000000 --- a/node_modules/@babel/runtime/helpers/AsyncGenerator.js +++ /dev/null @@ -1,64 +0,0 @@ -var OverloadYield = require("./OverloadYield.js"); -function AsyncGenerator(gen) { - var front, back; - function resume(key, arg) { - try { - var result = gen[key](arg), - value = result.value, - overloaded = value instanceof OverloadYield; - Promise.resolve(overloaded ? value.v : value).then(function (arg) { - if (overloaded) { - var nextKey = "return" === key ? "return" : "next"; - if (!value.k || arg.done) return resume(nextKey, arg); - arg = gen[nextKey](arg).value; - } - settle(result.done ? "return" : "normal", arg); - }, function (err) { - resume("throw", err); - }); - } catch (err) { - settle("throw", err); - } - } - function settle(type, value) { - switch (type) { - case "return": - front.resolve({ - value: value, - done: !0 - }); - break; - case "throw": - front.reject(value); - break; - default: - front.resolve({ - value: value, - done: !1 - }); - } - (front = front.next) ? resume(front.key, front.arg) : back = null; - } - this._invoke = function (key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null - }; - back ? back = back.next = request : (front = back = request, resume(key, arg)); - }); - }, "function" != typeof gen["return"] && (this["return"] = void 0); -} -AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { - return this; -}, AsyncGenerator.prototype.next = function (arg) { - return this._invoke("next", arg); -}, AsyncGenerator.prototype["throw"] = function (arg) { - return this._invoke("throw", arg); -}, AsyncGenerator.prototype["return"] = function (arg) { - return this._invoke("return", arg); -}; -module.exports = AsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/AwaitValue.js b/node_modules/@babel/runtime/helpers/AwaitValue.js deleted file mode 100644 index 7681c2dfd3..0000000000 --- a/node_modules/@babel/runtime/helpers/AwaitValue.js +++ /dev/null @@ -1,4 +0,0 @@ -function _AwaitValue(value) { - this.wrapped = value; -} -module.exports = _AwaitValue, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/OverloadYield.js b/node_modules/@babel/runtime/helpers/OverloadYield.js deleted file mode 100644 index b1331134ee..0000000000 --- a/node_modules/@babel/runtime/helpers/OverloadYield.js +++ /dev/null @@ -1,4 +0,0 @@ -function _OverloadYield(value, kind) { - this.v = value, this.k = kind; -} -module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js b/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js deleted file mode 100644 index 98810d6177..0000000000 --- a/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +++ /dev/null @@ -1,24 +0,0 @@ -function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { - var desc = {}; - Object.keys(descriptor).forEach(function (key) { - desc[key] = descriptor[key]; - }); - desc.enumerable = !!desc.enumerable; - desc.configurable = !!desc.configurable; - if ('value' in desc || desc.initializer) { - desc.writable = true; - } - desc = decorators.slice().reverse().reduce(function (desc, decorator) { - return decorator(target, property, desc) || desc; - }, desc); - if (context && desc.initializer !== void 0) { - desc.value = desc.initializer ? desc.initializer.call(context) : void 0; - desc.initializer = undefined; - } - if (desc.initializer === void 0) { - Object.defineProperty(target, property, desc); - desc = null; - } - return desc; -} -module.exports = _applyDecoratedDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/applyDecs.js b/node_modules/@babel/runtime/helpers/applyDecs.js deleted file mode 100644 index 68a08c26bb..0000000000 --- a/node_modules/@babel/runtime/helpers/applyDecs.js +++ /dev/null @@ -1,236 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { - return { - getMetadata: function getMetadata(key) { - old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_assertMetadataKey(key); - var metadataForKey = metadataMap[key]; - if (void 0 !== metadataForKey) if (1 === kind) { - var pub = metadataForKey["public"]; - if (void 0 !== pub) return pub[property]; - } else if (2 === kind) { - var priv = metadataForKey["private"]; - if (void 0 !== priv) return priv.get(property); - } else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) return metadataForKey.constructor; - }, - setMetadata: function setMetadata(key, value) { - old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); - var metadataForKey = metadataMap[key]; - if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { - var pub = metadataForKey["public"]; - void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; - } else if (2 === kind) { - var priv = metadataForKey.priv; - void 0 === priv && (priv = metadataForKey["private"] = new Map()), priv.set(property, value); - } else metadataForKey.constructor = value; - } - }; -} -function old_convertMetadataMapToFinal(obj, metadataMap) { - var parentMetadataMap = obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")], - metadataKeys = Object.getOwnPropertySymbols(metadataMap); - if (0 !== metadataKeys.length) { - for (var i = 0; i < metadataKeys.length; i++) { - var key = metadataKeys[i], - metaForKey = metadataMap[key], - parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, - pub = metaForKey["public"], - parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; - pub && parentPub && Object.setPrototypeOf(pub, parentPub); - var priv = metaForKey["private"]; - if (priv) { - var privArr = Array.from(priv.values()), - parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; - parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; - } - parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); - } - parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")] = metadataMap; - } -} -function old_createAddInitializerMethod(initializers, decoratorFinishedRef) { - return function (initializer) { - old_assertNotFinished(decoratorFinishedRef, "addInitializer"), old_assertCallable(initializer, "An initializer"), initializers.push(initializer); - }; -} -function old_memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value) { - var kindStr; - switch (kind) { - case 1: - kindStr = "accessor"; - break; - case 2: - kindStr = "method"; - break; - case 3: - kindStr = "getter"; - break; - case 4: - kindStr = "setter"; - break; - default: - kindStr = "field"; - } - var metadataKind, - metadataName, - ctx = { - kind: kindStr, - name: isPrivate ? "#" + name : name, - isStatic: isStatic, - isPrivate: isPrivate - }, - decoratorFinishedRef = { - v: !1 - }; - if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { - metadataKind = 2, metadataName = Symbol(name); - var access = {}; - 0 === kind ? (access.get = desc.get, access.set = desc.set) : 2 === kind ? access.get = function () { - return desc.value; - } : (1 !== kind && 3 !== kind || (access.get = function () { - return desc.get.call(this); - }), 1 !== kind && 4 !== kind || (access.set = function (v) { - desc.set.call(this, v); - })), ctx.access = access; - } else metadataKind = 1, metadataName = name; - try { - return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); - } finally { - decoratorFinishedRef.v = !0; - } -} -function old_assertNotFinished(decoratorFinishedRef, fnName) { - if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); -} -function old_assertMetadataKey(key) { - if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); -} -function old_assertCallable(fn, hint) { - if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); -} -function old_assertValidReturnValue(kind, value) { - var type = _typeof(value); - if (1 === kind) { - if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); - void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); - } else if ("function" !== type) { - var hint; - throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); - } -} -function old_getInit(desc) { - var initializer; - return null == (initializer = desc.init) && (initializer = desc.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), initializer; -} -function old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { - var desc, - initializer, - value, - newValue, - get, - set, - decs = decInfo[0]; - if (isPrivate ? desc = 0 === kind || 1 === kind ? { - get: decInfo[3], - set: decInfo[4] - } : 3 === kind ? { - get: decInfo[3] - } : 4 === kind ? { - set: decInfo[3] - } : { - value: decInfo[3] - } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { - get: desc.get, - set: desc.set - } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = old_memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value)) && (old_assertValidReturnValue(kind, newValue), 0 === kind ? initializer = newValue : 1 === kind ? (initializer = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { - var newInit; - if (void 0 !== (newValue = old_memberDec(decs[i], name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value))) old_assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue, void 0 !== newInit && (void 0 === initializer ? initializer = newInit : "function" == typeof initializer ? initializer = [initializer, newInit] : initializer.push(newInit)); - } - if (0 === kind || 1 === kind) { - if (void 0 === initializer) initializer = function initializer(instance, init) { - return init; - };else if ("function" != typeof initializer) { - var ownInitializers = initializer; - initializer = function initializer(instance, init) { - for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); - return value; - }; - } else { - var originalInitializer = initializer; - initializer = function initializer(instance, init) { - return originalInitializer.call(instance, init); - }; - } - ret.push(initializer); - } - 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { - return value.get.call(instance, args); - }), ret.push(function (instance, args) { - return value.set.call(instance, args); - })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { - return value.call(instance, args); - }) : Object.defineProperty(base, name, desc)); -} -function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { - for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { - var decInfo = decInfos[i]; - if (Array.isArray(decInfo)) { - var base, - metadataMap, - initializers, - kind = decInfo[1], - name = decInfo[2], - isPrivate = decInfo.length > 3, - isStatic = kind >= 5; - if (isStatic ? (base = Class, metadataMap = staticMetadataMap, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, metadataMap = protoMetadataMap, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { - var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, - existingKind = existingNonFields.get(name) || 0; - if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); - !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); - } - old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); - } - } - old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); -} -function old_pushInitializers(ret, initializers) { - initializers && ret.push(function (instance) { - for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); - return instance; - }); -} -function old_applyClassDecs(ret, targetClass, metadataMap, classDecs) { - if (classDecs.length > 0) { - for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { - var decoratorFinishedRef = { - v: !1 - }; - try { - var ctx = Object.assign({ - kind: "class", - name: name, - addInitializer: old_createAddInitializerMethod(initializers, decoratorFinishedRef) - }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), - nextNewClass = classDecs[i](newClass, ctx); - } finally { - decoratorFinishedRef.v = !0; - } - void 0 !== nextNewClass && (old_assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); - } - ret.push(newClass, function () { - for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); - }); - } -} -function applyDecs(targetClass, memberDecs, classDecs) { - var ret = [], - staticMetadataMap = {}, - protoMetadataMap = {}; - return old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), old_convertMetadataMapToFinal(targetClass, staticMetadataMap), ret; -} -module.exports = applyDecs, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/applyDecs2203.js b/node_modules/@babel/runtime/helpers/applyDecs2203.js deleted file mode 100644 index 34419d52fa..0000000000 --- a/node_modules/@babel/runtime/helpers/applyDecs2203.js +++ /dev/null @@ -1,184 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -function createAddInitializerMethod(initializers, decoratorFinishedRef) { - return function (initializer) { - assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); - }; -} -function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) { - var kindStr; - switch (kind) { - case 1: - kindStr = "accessor"; - break; - case 2: - kindStr = "method"; - break; - case 3: - kindStr = "getter"; - break; - case 4: - kindStr = "setter"; - break; - default: - kindStr = "field"; - } - var get, - set, - ctx = { - kind: kindStr, - name: isPrivate ? "#" + name : name, - "static": isStatic, - "private": isPrivate - }, - decoratorFinishedRef = { - v: !1 - }; - 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { - return this[name]; - }, set = function set(v) { - this[name] = v; - }) : 2 === kind ? get = function get() { - return desc.value; - } : (1 !== kind && 3 !== kind || (get = function get() { - return desc.get.call(this); - }), 1 !== kind && 4 !== kind || (set = function set(v) { - desc.set.call(this, v); - })), ctx.access = get && set ? { - get: get, - set: set - } : get ? { - get: get - } : { - set: set - }; - try { - return dec(value, ctx); - } finally { - decoratorFinishedRef.v = !0; - } -} -function assertNotFinished(decoratorFinishedRef, fnName) { - if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); -} -function assertCallable(fn, hint) { - if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); -} -function assertValidReturnValue(kind, value) { - var type = _typeof(value); - if (1 === kind) { - if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); - void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); - } else if ("function" !== type) { - var hint; - throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); - } -} -function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { - var desc, - init, - value, - newValue, - get, - set, - decs = decInfo[0]; - if (isPrivate ? desc = 0 === kind || 1 === kind ? { - get: decInfo[3], - set: decInfo[4] - } : 3 === kind ? { - get: decInfo[3] - } : 4 === kind ? { - set: decInfo[3] - } : { - value: decInfo[3] - } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { - get: desc.get, - set: desc.set - } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { - var newInit; - if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); - } - if (0 === kind || 1 === kind) { - if (void 0 === init) init = function init(instance, _init) { - return _init; - };else if ("function" != typeof init) { - var ownInitializers = init; - init = function init(instance, _init2) { - for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); - return value; - }; - } else { - var originalInitializer = init; - init = function init(instance, _init3) { - return originalInitializer.call(instance, _init3); - }; - } - ret.push(init); - } - 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { - return value.get.call(instance, args); - }), ret.push(function (instance, args) { - return value.set.call(instance, args); - })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { - return value.call(instance, args); - }) : Object.defineProperty(base, name, desc)); -} -function applyMemberDecs(ret, Class, decInfos) { - for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { - var decInfo = decInfos[i]; - if (Array.isArray(decInfo)) { - var base, - initializers, - kind = decInfo[1], - name = decInfo[2], - isPrivate = decInfo.length > 3, - isStatic = kind >= 5; - if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { - var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, - existingKind = existingNonFields.get(name) || 0; - if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); - !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); - } - applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers); - } - } - pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers); -} -function pushInitializers(ret, initializers) { - initializers && ret.push(function (instance) { - for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); - return instance; - }); -} -function applyClassDecs(ret, targetClass, classDecs) { - if (classDecs.length > 0) { - for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { - var decoratorFinishedRef = { - v: !1 - }; - try { - var nextNewClass = classDecs[i](newClass, { - kind: "class", - name: name, - addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) - }); - } finally { - decoratorFinishedRef.v = !0; - } - void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); - } - ret.push(newClass, function () { - for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); - }); - } -} -function applyDecs2203(targetClass, memberDecs, classDecs) { - var ret = []; - return applyMemberDecs(ret, targetClass, memberDecs), applyClassDecs(ret, targetClass, classDecs), ret; -} -module.exports = applyDecs2203, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayLikeToArray.js b/node_modules/@babel/runtime/helpers/arrayLikeToArray.js deleted file mode 100644 index 3686540195..0000000000 --- a/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +++ /dev/null @@ -1,6 +0,0 @@ -function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; -} -module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayWithHoles.js b/node_modules/@babel/runtime/helpers/arrayWithHoles.js deleted file mode 100644 index ad0cc6b942..0000000000 --- a/node_modules/@babel/runtime/helpers/arrayWithHoles.js +++ /dev/null @@ -1,4 +0,0 @@ -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} -module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js b/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js deleted file mode 100644 index 6d4b76deba..0000000000 --- a/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +++ /dev/null @@ -1,5 +0,0 @@ -var arrayLikeToArray = require("./arrayLikeToArray.js"); -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return arrayLikeToArray(arr); -} -module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/assertThisInitialized.js b/node_modules/@babel/runtime/helpers/assertThisInitialized.js deleted file mode 100644 index 71487e574e..0000000000 --- a/node_modules/@babel/runtime/helpers/assertThisInitialized.js +++ /dev/null @@ -1,7 +0,0 @@ -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - return self; -} -module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js b/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js deleted file mode 100644 index c272bcdeed..0000000000 --- a/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +++ /dev/null @@ -1,24 +0,0 @@ -var OverloadYield = require("./OverloadYield.js"); -function _asyncGeneratorDelegate(inner) { - var iter = {}, - waiting = !1; - function pump(key, value) { - return waiting = !0, value = new Promise(function (resolve) { - resolve(inner[key](value)); - }), { - done: !1, - value: new OverloadYield(value, 1) - }; - } - return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { - return this; - }, iter.next = function (value) { - return waiting ? (waiting = !1, value) : pump("next", value); - }, "function" == typeof inner["throw"] && (iter["throw"] = function (value) { - if (waiting) throw waiting = !1, value; - return pump("throw", value); - }), "function" == typeof inner["return"] && (iter["return"] = function (value) { - return waiting ? (waiting = !1, value) : pump("return", value); - }), iter; -} -module.exports = _asyncGeneratorDelegate, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncIterator.js b/node_modules/@babel/runtime/helpers/asyncIterator.js deleted file mode 100644 index 420ef0807f..0000000000 --- a/node_modules/@babel/runtime/helpers/asyncIterator.js +++ /dev/null @@ -1,45 +0,0 @@ -function _asyncIterator(iterable) { - var method, - async, - sync, - retry = 2; - for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { - if (async && null != (method = iterable[async])) return method.call(iterable); - if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); - async = "@@asyncIterator", sync = "@@iterator"; - } - throw new TypeError("Object is not async iterable"); -} -function AsyncFromSyncIterator(s) { - function AsyncFromSyncIteratorContinuation(r) { - if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); - var done = r.done; - return Promise.resolve(r.value).then(function (value) { - return { - value: value, - done: done - }; - }); - } - return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { - this.s = s, this.n = s.next; - }, AsyncFromSyncIterator.prototype = { - s: null, - n: null, - next: function next() { - return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); - }, - "return": function _return(value) { - var ret = this.s["return"]; - return void 0 === ret ? Promise.resolve({ - value: value, - done: !0 - }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); - }, - "throw": function _throw(value) { - var thr = this.s["return"]; - return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); - } - }, new AsyncFromSyncIterator(s); -} -module.exports = _asyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncToGenerator.js b/node_modules/@babel/runtime/helpers/asyncToGenerator.js deleted file mode 100644 index 6b9697af17..0000000000 --- a/node_modules/@babel/runtime/helpers/asyncToGenerator.js +++ /dev/null @@ -1,31 +0,0 @@ -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} -function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - _next(undefined); - }); - }; -} -module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js b/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js deleted file mode 100644 index 7d4e951187..0000000000 --- a/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +++ /dev/null @@ -1,5 +0,0 @@ -var OverloadYield = require("./OverloadYield.js"); -function _awaitAsyncGenerator(value) { - return new OverloadYield(value, 0); -} -module.exports = _awaitAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/checkInRHS.js b/node_modules/@babel/runtime/helpers/checkInRHS.js deleted file mode 100644 index e6ba638944..0000000000 --- a/node_modules/@babel/runtime/helpers/checkInRHS.js +++ /dev/null @@ -1,6 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -function _checkInRHS(value) { - if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? _typeof(value) : "null")); - return value; -} -module.exports = _checkInRHS, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js b/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js deleted file mode 100644 index 1bbfd34658..0000000000 --- a/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +++ /dev/null @@ -1,6 +0,0 @@ -function _checkPrivateRedeclaration(obj, privateCollection) { - if (privateCollection.has(obj)) { - throw new TypeError("Cannot initialize the same private elements twice on an object"); - } -} -module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js b/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js deleted file mode 100644 index 3ebfed87c4..0000000000 --- a/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +++ /dev/null @@ -1,18 +0,0 @@ -function _classApplyDescriptorDestructureSet(receiver, descriptor) { - if (descriptor.set) { - if (!("__destrObj" in descriptor)) { - descriptor.__destrObj = { - set value(v) { - descriptor.set.call(receiver, v); - } - }; - } - return descriptor.__destrObj; - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - return descriptor; - } -} -module.exports = _classApplyDescriptorDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js b/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js deleted file mode 100644 index af3555da48..0000000000 --- a/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +++ /dev/null @@ -1,7 +0,0 @@ -function _classApplyDescriptorGet(receiver, descriptor) { - if (descriptor.get) { - return descriptor.get.call(receiver); - } - return descriptor.value; -} -module.exports = _classApplyDescriptorGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js b/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js deleted file mode 100644 index 71bbf1df41..0000000000 --- a/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +++ /dev/null @@ -1,11 +0,0 @@ -function _classApplyDescriptorSet(receiver, descriptor, value) { - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - descriptor.value = value; - } -} -module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classCallCheck.js b/node_modules/@babel/runtime/helpers/classCallCheck.js deleted file mode 100644 index eab7e5203c..0000000000 --- a/node_modules/@babel/runtime/helpers/classCallCheck.js +++ /dev/null @@ -1,6 +0,0 @@ -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} -module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js b/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js deleted file mode 100644 index 348768432a..0000000000 --- a/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +++ /dev/null @@ -1,6 +0,0 @@ -function _classCheckPrivateStaticAccess(receiver, classConstructor) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } -} -module.exports = _classCheckPrivateStaticAccess, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js b/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js deleted file mode 100644 index b937d15e6a..0000000000 --- a/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +++ /dev/null @@ -1,6 +0,0 @@ -function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { - if (descriptor === undefined) { - throw new TypeError("attempted to " + action + " private static field before its declaration"); - } -} -module.exports = _classCheckPrivateStaticFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js b/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js deleted file mode 100644 index e6f4725a2d..0000000000 --- a/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +++ /dev/null @@ -1,7 +0,0 @@ -function _classExtractFieldDescriptor(receiver, privateMap, action) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to " + action + " private field on non-instance"); - } - return privateMap.get(receiver); -} -module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classNameTDZError.js b/node_modules/@babel/runtime/helpers/classNameTDZError.js deleted file mode 100644 index 9f84697a8a..0000000000 --- a/node_modules/@babel/runtime/helpers/classNameTDZError.js +++ /dev/null @@ -1,4 +0,0 @@ -function _classNameTDZError(name) { - throw new ReferenceError("Class \"" + name + "\" cannot be referenced in computed property keys."); -} -module.exports = _classNameTDZError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js deleted file mode 100644 index 07f777df6b..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +++ /dev/null @@ -1,7 +0,0 @@ -var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); -var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); -function _classPrivateFieldDestructureSet(receiver, privateMap) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); - return classApplyDescriptorDestructureSet(receiver, descriptor); -} -module.exports = _classPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js deleted file mode 100644 index a67951e1a9..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +++ /dev/null @@ -1,7 +0,0 @@ -var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); -var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); -function _classPrivateFieldGet(receiver, privateMap) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); - return classApplyDescriptorGet(receiver, descriptor); -} -module.exports = _classPrivateFieldGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js b/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js deleted file mode 100644 index e55873a124..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +++ /dev/null @@ -1,6 +0,0 @@ -var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); -function _classPrivateFieldInitSpec(obj, privateMap, value) { - checkPrivateRedeclaration(obj, privateMap); - privateMap.set(obj, value); -} -module.exports = _classPrivateFieldInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js deleted file mode 100644 index bb16c0bcec..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +++ /dev/null @@ -1,7 +0,0 @@ -function _classPrivateFieldBase(receiver, privateKey) { - if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { - throw new TypeError("attempted to use private field on non-instance"); - } - return receiver; -} -module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js deleted file mode 100644 index b3d546f1ce..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +++ /dev/null @@ -1,5 +0,0 @@ -var id = 0; -function _classPrivateFieldKey(name) { - return "__private_" + id++ + "_" + name; -} -module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js deleted file mode 100644 index ffb73a1076..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +++ /dev/null @@ -1,8 +0,0 @@ -var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); -var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); -function _classPrivateFieldSet(receiver, privateMap, value) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); - classApplyDescriptorSet(receiver, descriptor, value); - return value; -} -module.exports = _classPrivateFieldSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js deleted file mode 100644 index 6a8436dabc..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +++ /dev/null @@ -1,7 +0,0 @@ -function _classPrivateMethodGet(receiver, privateSet, fn) { - if (!privateSet.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return fn; -} -module.exports = _classPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js b/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js deleted file mode 100644 index 31064767b2..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +++ /dev/null @@ -1,6 +0,0 @@ -var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); -function _classPrivateMethodInitSpec(obj, privateSet) { - checkPrivateRedeclaration(obj, privateSet); - privateSet.add(obj); -} -module.exports = _classPrivateMethodInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js deleted file mode 100644 index a44fd78536..0000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +++ /dev/null @@ -1,4 +0,0 @@ -function _classPrivateMethodSet() { - throw new TypeError("attempted to reassign private method"); -} -module.exports = _classPrivateMethodSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js deleted file mode 100644 index 734aaafa05..0000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +++ /dev/null @@ -1,9 +0,0 @@ -var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); -var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); -var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); -function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "set"); - return classApplyDescriptorDestructureSet(receiver, descriptor); -} -module.exports = _classStaticPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js deleted file mode 100644 index e8e295f439..0000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +++ /dev/null @@ -1,9 +0,0 @@ -var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); -var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); -var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); -function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "get"); - return classApplyDescriptorGet(receiver, descriptor); -} -module.exports = _classStaticPrivateFieldSpecGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js deleted file mode 100644 index b02e4c018c..0000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +++ /dev/null @@ -1,10 +0,0 @@ -var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); -var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); -var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); -function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "set"); - classApplyDescriptorSet(receiver, descriptor, value); - return value; -} -module.exports = _classStaticPrivateFieldSpecSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js deleted file mode 100644 index d3bb9968e5..0000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +++ /dev/null @@ -1,6 +0,0 @@ -var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); -function _classStaticPrivateMethodGet(receiver, classConstructor, method) { - classCheckPrivateStaticAccess(receiver, classConstructor); - return method; -} -module.exports = _classStaticPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js deleted file mode 100644 index 72560e6607..0000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +++ /dev/null @@ -1,4 +0,0 @@ -function _classStaticPrivateMethodSet() { - throw new TypeError("attempted to set read only static private field"); -} -module.exports = _classStaticPrivateMethodSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/construct.js b/node_modules/@babel/runtime/helpers/construct.js deleted file mode 100644 index 3d3c232dcb..0000000000 --- a/node_modules/@babel/runtime/helpers/construct.js +++ /dev/null @@ -1,18 +0,0 @@ -var setPrototypeOf = require("./setPrototypeOf.js"); -var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); -function _construct(Parent, args, Class) { - if (isNativeReflectConstruct()) { - module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; - } else { - module.exports = _construct = function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var Constructor = Function.bind.apply(Parent, a); - var instance = new Constructor(); - if (Class) setPrototypeOf(instance, Class.prototype); - return instance; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - } - return _construct.apply(null, arguments); -} -module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createClass.js b/node_modules/@babel/runtime/helpers/createClass.js deleted file mode 100644 index 201dcdf4f3..0000000000 --- a/node_modules/@babel/runtime/helpers/createClass.js +++ /dev/null @@ -1,19 +0,0 @@ -var toPropertyKey = require("./toPropertyKey.js"); -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); - } -} -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; -} -module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js b/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js deleted file mode 100644 index 19b6f141b1..0000000000 --- a/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +++ /dev/null @@ -1,53 +0,0 @@ -var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); -function _createForOfIteratorHelper(o, allowArrayLike) { - var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (!it) { - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - var F = function F() {}; - return { - s: F, - n: function n() { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }, - e: function e(_e) { - throw _e; - }, - f: F - }; - } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - var normalCompletion = true, - didErr = false, - err; - return { - s: function s() { - it = it.call(o); - }, - n: function n() { - var step = it.next(); - normalCompletion = step.done; - return step; - }, - e: function e(_e2) { - didErr = true; - err = _e2; - }, - f: function f() { - try { - if (!normalCompletion && it["return"] != null) it["return"](); - } finally { - if (didErr) throw err; - } - } - }; -} -module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js b/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js deleted file mode 100644 index b8eb550776..0000000000 --- a/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +++ /dev/null @@ -1,20 +0,0 @@ -var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); -function _createForOfIteratorHelperLoose(o, allowArrayLike) { - var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (it) return (it = it.call(o)).next.bind(it); - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - return function () { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }; - } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} -module.exports = _createForOfIteratorHelperLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createSuper.js b/node_modules/@babel/runtime/helpers/createSuper.js deleted file mode 100644 index bd72679c43..0000000000 --- a/node_modules/@babel/runtime/helpers/createSuper.js +++ /dev/null @@ -1,18 +0,0 @@ -var getPrototypeOf = require("./getPrototypeOf.js"); -var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); -var possibleConstructorReturn = require("./possibleConstructorReturn.js"); -function _createSuper(Derived) { - var hasNativeReflectConstruct = isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return possibleConstructorReturn(this, result); - }; -} -module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/decorate.js b/node_modules/@babel/runtime/helpers/decorate.js deleted file mode 100644 index 457741fba3..0000000000 --- a/node_modules/@babel/runtime/helpers/decorate.js +++ /dev/null @@ -1,343 +0,0 @@ -var toArray = require("./toArray.js"); -var toPropertyKey = require("./toPropertyKey.js"); -function _decorate(decorators, factory, superClass, mixins) { - var api = _getDecoratorsApi(); - if (mixins) { - for (var i = 0; i < mixins.length; i++) { - api = mixins[i](api); - } - } - var r = factory(function initialize(O) { - api.initializeInstanceElements(O, decorated.elements); - }, superClass); - var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators); - api.initializeClassElements(r.F, decorated.elements); - return api.runClassFinishers(r.F, decorated.finishers); -} -function _getDecoratorsApi() { - _getDecoratorsApi = function _getDecoratorsApi() { - return api; - }; - var api = { - elementsDefinitionOrder: [["method"], ["field"]], - initializeInstanceElements: function initializeInstanceElements(O, elements) { - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - if (element.kind === kind && element.placement === "own") { - this.defineClassElement(O, element); - } - }, this); - }, this); - }, - initializeClassElements: function initializeClassElements(F, elements) { - var proto = F.prototype; - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - var placement = element.placement; - if (element.kind === kind && (placement === "static" || placement === "prototype")) { - var receiver = placement === "static" ? F : proto; - this.defineClassElement(receiver, element); - } - }, this); - }, this); - }, - defineClassElement: function defineClassElement(receiver, element) { - var descriptor = element.descriptor; - if (element.kind === "field") { - var initializer = element.initializer; - descriptor = { - enumerable: descriptor.enumerable, - writable: descriptor.writable, - configurable: descriptor.configurable, - value: initializer === void 0 ? void 0 : initializer.call(receiver) - }; - } - Object.defineProperty(receiver, element.key, descriptor); - }, - decorateClass: function decorateClass(elements, decorators) { - var newElements = []; - var finishers = []; - var placements = { - "static": [], - prototype: [], - own: [] - }; - elements.forEach(function (element) { - this.addElementPlacement(element, placements); - }, this); - elements.forEach(function (element) { - if (!_hasDecorators(element)) return newElements.push(element); - var elementFinishersExtras = this.decorateElement(element, placements); - newElements.push(elementFinishersExtras.element); - newElements.push.apply(newElements, elementFinishersExtras.extras); - finishers.push.apply(finishers, elementFinishersExtras.finishers); - }, this); - if (!decorators) { - return { - elements: newElements, - finishers: finishers - }; - } - var result = this.decorateConstructor(newElements, decorators); - finishers.push.apply(finishers, result.finishers); - result.finishers = finishers; - return result; - }, - addElementPlacement: function addElementPlacement(element, placements, silent) { - var keys = placements[element.placement]; - if (!silent && keys.indexOf(element.key) !== -1) { - throw new TypeError("Duplicated element (" + element.key + ")"); - } - keys.push(element.key); - }, - decorateElement: function decorateElement(element, placements) { - var extras = []; - var finishers = []; - for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { - var keys = placements[element.placement]; - keys.splice(keys.indexOf(element.key), 1); - var elementObject = this.fromElementDescriptor(element); - var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); - element = elementFinisherExtras.element; - this.addElementPlacement(element, placements); - if (elementFinisherExtras.finisher) { - finishers.push(elementFinisherExtras.finisher); - } - var newExtras = elementFinisherExtras.extras; - if (newExtras) { - for (var j = 0; j < newExtras.length; j++) { - this.addElementPlacement(newExtras[j], placements); - } - extras.push.apply(extras, newExtras); - } - } - return { - element: element, - finishers: finishers, - extras: extras - }; - }, - decorateConstructor: function decorateConstructor(elements, decorators) { - var finishers = []; - for (var i = decorators.length - 1; i >= 0; i--) { - var obj = this.fromClassDescriptor(elements); - var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); - if (elementsAndFinisher.finisher !== undefined) { - finishers.push(elementsAndFinisher.finisher); - } - if (elementsAndFinisher.elements !== undefined) { - elements = elementsAndFinisher.elements; - for (var j = 0; j < elements.length - 1; j++) { - for (var k = j + 1; k < elements.length; k++) { - if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { - throw new TypeError("Duplicated element (" + elements[j].key + ")"); - } - } - } - } - } - return { - elements: elements, - finishers: finishers - }; - }, - fromElementDescriptor: function fromElementDescriptor(element) { - var obj = { - kind: element.kind, - key: element.key, - placement: element.placement, - descriptor: element.descriptor - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - if (element.kind === "field") obj.initializer = element.initializer; - return obj; - }, - toElementDescriptors: function toElementDescriptors(elementObjects) { - if (elementObjects === undefined) return; - return toArray(elementObjects).map(function (elementObject) { - var element = this.toElementDescriptor(elementObject); - this.disallowProperty(elementObject, "finisher", "An element descriptor"); - this.disallowProperty(elementObject, "extras", "An element descriptor"); - return element; - }, this); - }, - toElementDescriptor: function toElementDescriptor(elementObject) { - var kind = String(elementObject.kind); - if (kind !== "method" && kind !== "field") { - throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); - } - var key = toPropertyKey(elementObject.key); - var placement = String(elementObject.placement); - if (placement !== "static" && placement !== "prototype" && placement !== "own") { - throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); - } - var descriptor = elementObject.descriptor; - this.disallowProperty(elementObject, "elements", "An element descriptor"); - var element = { - kind: kind, - key: key, - placement: placement, - descriptor: Object.assign({}, descriptor) - }; - if (kind !== "field") { - this.disallowProperty(elementObject, "initializer", "A method descriptor"); - } else { - this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); - element.initializer = elementObject.initializer; - } - return element; - }, - toElementFinisherExtras: function toElementFinisherExtras(elementObject) { - var element = this.toElementDescriptor(elementObject); - var finisher = _optionalCallableProperty(elementObject, "finisher"); - var extras = this.toElementDescriptors(elementObject.extras); - return { - element: element, - finisher: finisher, - extras: extras - }; - }, - fromClassDescriptor: function fromClassDescriptor(elements) { - var obj = { - kind: "class", - elements: elements.map(this.fromElementDescriptor, this) - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - return obj; - }, - toClassDescriptor: function toClassDescriptor(obj) { - var kind = String(obj.kind); - if (kind !== "class") { - throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); - } - this.disallowProperty(obj, "key", "A class descriptor"); - this.disallowProperty(obj, "placement", "A class descriptor"); - this.disallowProperty(obj, "descriptor", "A class descriptor"); - this.disallowProperty(obj, "initializer", "A class descriptor"); - this.disallowProperty(obj, "extras", "A class descriptor"); - var finisher = _optionalCallableProperty(obj, "finisher"); - var elements = this.toElementDescriptors(obj.elements); - return { - elements: elements, - finisher: finisher - }; - }, - runClassFinishers: function runClassFinishers(constructor, finishers) { - for (var i = 0; i < finishers.length; i++) { - var newConstructor = (0, finishers[i])(constructor); - if (newConstructor !== undefined) { - if (typeof newConstructor !== "function") { - throw new TypeError("Finishers must return a constructor."); - } - constructor = newConstructor; - } - } - return constructor; - }, - disallowProperty: function disallowProperty(obj, name, objectType) { - if (obj[name] !== undefined) { - throw new TypeError(objectType + " can't have a ." + name + " property."); - } - } - }; - return api; -} -function _createElementDescriptor(def) { - var key = toPropertyKey(def.key); - var descriptor; - if (def.kind === "method") { - descriptor = { - value: def.value, - writable: true, - configurable: true, - enumerable: false - }; - } else if (def.kind === "get") { - descriptor = { - get: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "set") { - descriptor = { - set: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "field") { - descriptor = { - configurable: true, - writable: true, - enumerable: true - }; - } - var element = { - kind: def.kind === "field" ? "field" : "method", - key: key, - placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", - descriptor: descriptor - }; - if (def.decorators) element.decorators = def.decorators; - if (def.kind === "field") element.initializer = def.value; - return element; -} -function _coalesceGetterSetter(element, other) { - if (element.descriptor.get !== undefined) { - other.descriptor.get = element.descriptor.get; - } else { - other.descriptor.set = element.descriptor.set; - } -} -function _coalesceClassElements(elements) { - var newElements = []; - var isSameElement = function isSameElement(other) { - return other.kind === "method" && other.key === element.key && other.placement === element.placement; - }; - for (var i = 0; i < elements.length; i++) { - var element = elements[i]; - var other; - if (element.kind === "method" && (other = newElements.find(isSameElement))) { - if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { - if (_hasDecorators(element) || _hasDecorators(other)) { - throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); - } - other.descriptor = element.descriptor; - } else { - if (_hasDecorators(element)) { - if (_hasDecorators(other)) { - throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); - } - other.decorators = element.decorators; - } - _coalesceGetterSetter(element, other); - } - } else { - newElements.push(element); - } - } - return newElements; -} -function _hasDecorators(element) { - return element.decorators && element.decorators.length; -} -function _isDataDescriptor(desc) { - return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); -} -function _optionalCallableProperty(obj, name) { - var value = obj[name]; - if (value !== undefined && typeof value !== "function") { - throw new TypeError("Expected '" + name + "' to be a function"); - } - return value; -} -module.exports = _decorate, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defaults.js b/node_modules/@babel/runtime/helpers/defaults.js deleted file mode 100644 index 86641e9c08..0000000000 --- a/node_modules/@babel/runtime/helpers/defaults.js +++ /dev/null @@ -1,12 +0,0 @@ -function _defaults(obj, defaults) { - var keys = Object.getOwnPropertyNames(defaults); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var value = Object.getOwnPropertyDescriptor(defaults, key); - if (value && value.configurable && obj[key] === undefined) { - Object.defineProperty(obj, key, value); - } - } - return obj; -} -module.exports = _defaults, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defineAccessor.js b/node_modules/@babel/runtime/helpers/defineAccessor.js deleted file mode 100644 index c722427104..0000000000 --- a/node_modules/@babel/runtime/helpers/defineAccessor.js +++ /dev/null @@ -1,8 +0,0 @@ -function _defineAccessor(type, obj, key, fn) { - var desc = { - configurable: !0, - enumerable: !0 - }; - return desc[type] = fn, Object.defineProperty(obj, key, desc); -} -module.exports = _defineAccessor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js b/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js deleted file mode 100644 index a04e602877..0000000000 --- a/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +++ /dev/null @@ -1,20 +0,0 @@ -function _defineEnumerableProperties(obj, descs) { - for (var key in descs) { - var desc = descs[key]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, key, desc); - } - if (Object.getOwnPropertySymbols) { - var objectSymbols = Object.getOwnPropertySymbols(descs); - for (var i = 0; i < objectSymbols.length; i++) { - var sym = objectSymbols[i]; - var desc = descs[sym]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, sym, desc); - } - } - return obj; -} -module.exports = _defineEnumerableProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defineProperty.js b/node_modules/@babel/runtime/helpers/defineProperty.js deleted file mode 100644 index 8762046da3..0000000000 --- a/node_modules/@babel/runtime/helpers/defineProperty.js +++ /dev/null @@ -1,16 +0,0 @@ -var toPropertyKey = require("./toPropertyKey.js"); -function _defineProperty(obj, key, value) { - key = toPropertyKey(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; -} -module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js deleted file mode 100644 index 5df93d443f..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +++ /dev/null @@ -1,63 +0,0 @@ -import OverloadYield from "./OverloadYield.js"; -export default function AsyncGenerator(gen) { - var front, back; - function resume(key, arg) { - try { - var result = gen[key](arg), - value = result.value, - overloaded = value instanceof OverloadYield; - Promise.resolve(overloaded ? value.v : value).then(function (arg) { - if (overloaded) { - var nextKey = "return" === key ? "return" : "next"; - if (!value.k || arg.done) return resume(nextKey, arg); - arg = gen[nextKey](arg).value; - } - settle(result.done ? "return" : "normal", arg); - }, function (err) { - resume("throw", err); - }); - } catch (err) { - settle("throw", err); - } - } - function settle(type, value) { - switch (type) { - case "return": - front.resolve({ - value: value, - done: !0 - }); - break; - case "throw": - front.reject(value); - break; - default: - front.resolve({ - value: value, - done: !1 - }); - } - (front = front.next) ? resume(front.key, front.arg) : back = null; - } - this._invoke = function (key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null - }; - back ? back = back.next = request : (front = back = request, resume(key, arg)); - }); - }, "function" != typeof gen["return"] && (this["return"] = void 0); -} -AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { - return this; -}, AsyncGenerator.prototype.next = function (arg) { - return this._invoke("next", arg); -}, AsyncGenerator.prototype["throw"] = function (arg) { - return this._invoke("throw", arg); -}, AsyncGenerator.prototype["return"] = function (arg) { - return this._invoke("return", arg); -}; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/AwaitValue.js b/node_modules/@babel/runtime/helpers/esm/AwaitValue.js deleted file mode 100644 index 5237e18fdc..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _AwaitValue(value) { - this.wrapped = value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/OverloadYield.js b/node_modules/@babel/runtime/helpers/esm/OverloadYield.js deleted file mode 100644 index 0dd12e0124..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _OverloadYield(value, kind) { - this.v = value, this.k = kind; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js b/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js deleted file mode 100644 index 5137e85f2a..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +++ /dev/null @@ -1,23 +0,0 @@ -export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { - var desc = {}; - Object.keys(descriptor).forEach(function (key) { - desc[key] = descriptor[key]; - }); - desc.enumerable = !!desc.enumerable; - desc.configurable = !!desc.configurable; - if ('value' in desc || desc.initializer) { - desc.writable = true; - } - desc = decorators.slice().reverse().reduce(function (desc, decorator) { - return decorator(target, property, desc) || desc; - }, desc); - if (context && desc.initializer !== void 0) { - desc.value = desc.initializer ? desc.initializer.call(context) : void 0; - desc.initializer = undefined; - } - if (desc.initializer === void 0) { - Object.defineProperty(target, property, desc); - desc = null; - } - return desc; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs.js b/node_modules/@babel/runtime/helpers/esm/applyDecs.js deleted file mode 100644 index 84988df353..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/applyDecs.js +++ /dev/null @@ -1,235 +0,0 @@ -import _typeof from "./typeof.js"; -function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { - return { - getMetadata: function getMetadata(key) { - old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_assertMetadataKey(key); - var metadataForKey = metadataMap[key]; - if (void 0 !== metadataForKey) if (1 === kind) { - var pub = metadataForKey["public"]; - if (void 0 !== pub) return pub[property]; - } else if (2 === kind) { - var priv = metadataForKey["private"]; - if (void 0 !== priv) return priv.get(property); - } else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) return metadataForKey.constructor; - }, - setMetadata: function setMetadata(key, value) { - old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); - var metadataForKey = metadataMap[key]; - if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { - var pub = metadataForKey["public"]; - void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; - } else if (2 === kind) { - var priv = metadataForKey.priv; - void 0 === priv && (priv = metadataForKey["private"] = new Map()), priv.set(property, value); - } else metadataForKey.constructor = value; - } - }; -} -function old_convertMetadataMapToFinal(obj, metadataMap) { - var parentMetadataMap = obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")], - metadataKeys = Object.getOwnPropertySymbols(metadataMap); - if (0 !== metadataKeys.length) { - for (var i = 0; i < metadataKeys.length; i++) { - var key = metadataKeys[i], - metaForKey = metadataMap[key], - parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, - pub = metaForKey["public"], - parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; - pub && parentPub && Object.setPrototypeOf(pub, parentPub); - var priv = metaForKey["private"]; - if (priv) { - var privArr = Array.from(priv.values()), - parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; - parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; - } - parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); - } - parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")] = metadataMap; - } -} -function old_createAddInitializerMethod(initializers, decoratorFinishedRef) { - return function (initializer) { - old_assertNotFinished(decoratorFinishedRef, "addInitializer"), old_assertCallable(initializer, "An initializer"), initializers.push(initializer); - }; -} -function old_memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value) { - var kindStr; - switch (kind) { - case 1: - kindStr = "accessor"; - break; - case 2: - kindStr = "method"; - break; - case 3: - kindStr = "getter"; - break; - case 4: - kindStr = "setter"; - break; - default: - kindStr = "field"; - } - var metadataKind, - metadataName, - ctx = { - kind: kindStr, - name: isPrivate ? "#" + name : name, - isStatic: isStatic, - isPrivate: isPrivate - }, - decoratorFinishedRef = { - v: !1 - }; - if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { - metadataKind = 2, metadataName = Symbol(name); - var access = {}; - 0 === kind ? (access.get = desc.get, access.set = desc.set) : 2 === kind ? access.get = function () { - return desc.value; - } : (1 !== kind && 3 !== kind || (access.get = function () { - return desc.get.call(this); - }), 1 !== kind && 4 !== kind || (access.set = function (v) { - desc.set.call(this, v); - })), ctx.access = access; - } else metadataKind = 1, metadataName = name; - try { - return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); - } finally { - decoratorFinishedRef.v = !0; - } -} -function old_assertNotFinished(decoratorFinishedRef, fnName) { - if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); -} -function old_assertMetadataKey(key) { - if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); -} -function old_assertCallable(fn, hint) { - if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); -} -function old_assertValidReturnValue(kind, value) { - var type = _typeof(value); - if (1 === kind) { - if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); - void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); - } else if ("function" !== type) { - var hint; - throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); - } -} -function old_getInit(desc) { - var initializer; - return null == (initializer = desc.init) && (initializer = desc.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), initializer; -} -function old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { - var desc, - initializer, - value, - newValue, - get, - set, - decs = decInfo[0]; - if (isPrivate ? desc = 0 === kind || 1 === kind ? { - get: decInfo[3], - set: decInfo[4] - } : 3 === kind ? { - get: decInfo[3] - } : 4 === kind ? { - set: decInfo[3] - } : { - value: decInfo[3] - } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { - get: desc.get, - set: desc.set - } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = old_memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value)) && (old_assertValidReturnValue(kind, newValue), 0 === kind ? initializer = newValue : 1 === kind ? (initializer = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { - var newInit; - if (void 0 !== (newValue = old_memberDec(decs[i], name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value))) old_assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue, void 0 !== newInit && (void 0 === initializer ? initializer = newInit : "function" == typeof initializer ? initializer = [initializer, newInit] : initializer.push(newInit)); - } - if (0 === kind || 1 === kind) { - if (void 0 === initializer) initializer = function initializer(instance, init) { - return init; - };else if ("function" != typeof initializer) { - var ownInitializers = initializer; - initializer = function initializer(instance, init) { - for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); - return value; - }; - } else { - var originalInitializer = initializer; - initializer = function initializer(instance, init) { - return originalInitializer.call(instance, init); - }; - } - ret.push(initializer); - } - 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { - return value.get.call(instance, args); - }), ret.push(function (instance, args) { - return value.set.call(instance, args); - })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { - return value.call(instance, args); - }) : Object.defineProperty(base, name, desc)); -} -function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { - for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { - var decInfo = decInfos[i]; - if (Array.isArray(decInfo)) { - var base, - metadataMap, - initializers, - kind = decInfo[1], - name = decInfo[2], - isPrivate = decInfo.length > 3, - isStatic = kind >= 5; - if (isStatic ? (base = Class, metadataMap = staticMetadataMap, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, metadataMap = protoMetadataMap, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { - var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, - existingKind = existingNonFields.get(name) || 0; - if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); - !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); - } - old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); - } - } - old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); -} -function old_pushInitializers(ret, initializers) { - initializers && ret.push(function (instance) { - for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); - return instance; - }); -} -function old_applyClassDecs(ret, targetClass, metadataMap, classDecs) { - if (classDecs.length > 0) { - for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { - var decoratorFinishedRef = { - v: !1 - }; - try { - var ctx = Object.assign({ - kind: "class", - name: name, - addInitializer: old_createAddInitializerMethod(initializers, decoratorFinishedRef) - }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), - nextNewClass = classDecs[i](newClass, ctx); - } finally { - decoratorFinishedRef.v = !0; - } - void 0 !== nextNewClass && (old_assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); - } - ret.push(newClass, function () { - for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); - }); - } -} -export default function applyDecs(targetClass, memberDecs, classDecs) { - var ret = [], - staticMetadataMap = {}, - protoMetadataMap = {}; - return old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), old_convertMetadataMapToFinal(targetClass, staticMetadataMap), ret; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js b/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js deleted file mode 100644 index a9f9e80a09..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +++ /dev/null @@ -1,183 +0,0 @@ -import _typeof from "./typeof.js"; -function createAddInitializerMethod(initializers, decoratorFinishedRef) { - return function (initializer) { - assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); - }; -} -function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) { - var kindStr; - switch (kind) { - case 1: - kindStr = "accessor"; - break; - case 2: - kindStr = "method"; - break; - case 3: - kindStr = "getter"; - break; - case 4: - kindStr = "setter"; - break; - default: - kindStr = "field"; - } - var get, - set, - ctx = { - kind: kindStr, - name: isPrivate ? "#" + name : name, - "static": isStatic, - "private": isPrivate - }, - decoratorFinishedRef = { - v: !1 - }; - 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { - return this[name]; - }, set = function set(v) { - this[name] = v; - }) : 2 === kind ? get = function get() { - return desc.value; - } : (1 !== kind && 3 !== kind || (get = function get() { - return desc.get.call(this); - }), 1 !== kind && 4 !== kind || (set = function set(v) { - desc.set.call(this, v); - })), ctx.access = get && set ? { - get: get, - set: set - } : get ? { - get: get - } : { - set: set - }; - try { - return dec(value, ctx); - } finally { - decoratorFinishedRef.v = !0; - } -} -function assertNotFinished(decoratorFinishedRef, fnName) { - if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); -} -function assertCallable(fn, hint) { - if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); -} -function assertValidReturnValue(kind, value) { - var type = _typeof(value); - if (1 === kind) { - if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); - void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); - } else if ("function" !== type) { - var hint; - throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); - } -} -function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { - var desc, - init, - value, - newValue, - get, - set, - decs = decInfo[0]; - if (isPrivate ? desc = 0 === kind || 1 === kind ? { - get: decInfo[3], - set: decInfo[4] - } : 3 === kind ? { - get: decInfo[3] - } : 4 === kind ? { - set: decInfo[3] - } : { - value: decInfo[3] - } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { - get: desc.get, - set: desc.set - } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { - var newInit; - if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { - get: get, - set: set - }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); - } - if (0 === kind || 1 === kind) { - if (void 0 === init) init = function init(instance, _init) { - return _init; - };else if ("function" != typeof init) { - var ownInitializers = init; - init = function init(instance, _init2) { - for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); - return value; - }; - } else { - var originalInitializer = init; - init = function init(instance, _init3) { - return originalInitializer.call(instance, _init3); - }; - } - ret.push(init); - } - 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { - return value.get.call(instance, args); - }), ret.push(function (instance, args) { - return value.set.call(instance, args); - })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { - return value.call(instance, args); - }) : Object.defineProperty(base, name, desc)); -} -function applyMemberDecs(ret, Class, decInfos) { - for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { - var decInfo = decInfos[i]; - if (Array.isArray(decInfo)) { - var base, - initializers, - kind = decInfo[1], - name = decInfo[2], - isPrivate = decInfo.length > 3, - isStatic = kind >= 5; - if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { - var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, - existingKind = existingNonFields.get(name) || 0; - if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); - !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); - } - applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers); - } - } - pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers); -} -function pushInitializers(ret, initializers) { - initializers && ret.push(function (instance) { - for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); - return instance; - }); -} -function applyClassDecs(ret, targetClass, classDecs) { - if (classDecs.length > 0) { - for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { - var decoratorFinishedRef = { - v: !1 - }; - try { - var nextNewClass = classDecs[i](newClass, { - kind: "class", - name: name, - addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) - }); - } finally { - decoratorFinishedRef.v = !0; - } - void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); - } - ret.push(newClass, function () { - for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); - }); - } -} -export default function applyDecs2203(targetClass, memberDecs, classDecs) { - var ret = []; - return applyMemberDecs(ret, targetClass, memberDecs), applyClassDecs(ret, targetClass, classDecs), ret; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js b/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js deleted file mode 100644 index 8a9fad8ab1..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js b/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js deleted file mode 100644 index be734fc386..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js b/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js deleted file mode 100644 index f7d8dc7814..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +++ /dev/null @@ -1,4 +0,0 @@ -import arrayLikeToArray from "./arrayLikeToArray.js"; -export default function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return arrayLikeToArray(arr); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js b/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js deleted file mode 100644 index 1f8fcf4b5d..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +++ /dev/null @@ -1,6 +0,0 @@ -export default function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - return self; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js b/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js deleted file mode 100644 index d393d55bbd..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +++ /dev/null @@ -1,23 +0,0 @@ -import OverloadYield from "./OverloadYield.js"; -export default function _asyncGeneratorDelegate(inner) { - var iter = {}, - waiting = !1; - function pump(key, value) { - return waiting = !0, value = new Promise(function (resolve) { - resolve(inner[key](value)); - }), { - done: !1, - value: new OverloadYield(value, 1) - }; - } - return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { - return this; - }, iter.next = function (value) { - return waiting ? (waiting = !1, value) : pump("next", value); - }, "function" == typeof inner["throw"] && (iter["throw"] = function (value) { - if (waiting) throw waiting = !1, value; - return pump("throw", value); - }), "function" == typeof inner["return"] && (iter["return"] = function (value) { - return waiting ? (waiting = !1, value) : pump("return", value); - }), iter; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncIterator.js b/node_modules/@babel/runtime/helpers/esm/asyncIterator.js deleted file mode 100644 index ae8aa397e6..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +++ /dev/null @@ -1,44 +0,0 @@ -export default function _asyncIterator(iterable) { - var method, - async, - sync, - retry = 2; - for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { - if (async && null != (method = iterable[async])) return method.call(iterable); - if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); - async = "@@asyncIterator", sync = "@@iterator"; - } - throw new TypeError("Object is not async iterable"); -} -function AsyncFromSyncIterator(s) { - function AsyncFromSyncIteratorContinuation(r) { - if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); - var done = r.done; - return Promise.resolve(r.value).then(function (value) { - return { - value: value, - done: done - }; - }); - } - return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { - this.s = s, this.n = s.next; - }, AsyncFromSyncIterator.prototype = { - s: null, - n: null, - next: function next() { - return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); - }, - "return": function _return(value) { - var ret = this.s["return"]; - return void 0 === ret ? Promise.resolve({ - value: value, - done: !0 - }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); - }, - "throw": function _throw(value) { - var thr = this.s["return"]; - return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); - } - }, new AsyncFromSyncIterator(s); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js b/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js deleted file mode 100644 index c37aa2c7ac..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +++ /dev/null @@ -1,30 +0,0 @@ -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} -export default function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - _next(undefined); - }); - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js deleted file mode 100644 index cfa05220fd..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +++ /dev/null @@ -1,4 +0,0 @@ -import OverloadYield from "./OverloadYield.js"; -export default function _awaitAsyncGenerator(value) { - return new OverloadYield(value, 0); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/checkInRHS.js b/node_modules/@babel/runtime/helpers/esm/checkInRHS.js deleted file mode 100644 index 928d53d28f..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +++ /dev/null @@ -1,5 +0,0 @@ -import _typeof from "./typeof.js"; -export default function _checkInRHS(value) { - if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? _typeof(value) : "null")); - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js b/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js deleted file mode 100644 index 9901403666..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _checkPrivateRedeclaration(obj, privateCollection) { - if (privateCollection.has(obj)) { - throw new TypeError("Cannot initialize the same private elements twice on an object"); - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js deleted file mode 100644 index 68684f2385..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +++ /dev/null @@ -1,17 +0,0 @@ -export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { - if (descriptor.set) { - if (!("__destrObj" in descriptor)) { - descriptor.__destrObj = { - set value(v) { - descriptor.set.call(receiver, v); - } - }; - } - return descriptor.__destrObj; - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - return descriptor; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js b/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js deleted file mode 100644 index 727e9e9b8f..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +++ /dev/null @@ -1,6 +0,0 @@ -export default function _classApplyDescriptorGet(receiver, descriptor) { - if (descriptor.get) { - return descriptor.get.call(receiver); - } - return descriptor.value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js b/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js deleted file mode 100644 index b4df6d302f..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +++ /dev/null @@ -1,10 +0,0 @@ -export default function _classApplyDescriptorSet(receiver, descriptor, value) { - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - descriptor.value = value; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classCallCheck.js b/node_modules/@babel/runtime/helpers/esm/classCallCheck.js deleted file mode 100644 index 2f1738a3d6..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js b/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js deleted file mode 100644 index 098ed30900..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js b/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js deleted file mode 100644 index 0ef34b8d71..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { - if (descriptor === undefined) { - throw new TypeError("attempted to " + action + " private static field before its declaration"); - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js b/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js deleted file mode 100644 index 1a8d71bad4..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +++ /dev/null @@ -1,6 +0,0 @@ -export default function _classExtractFieldDescriptor(receiver, privateMap, action) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to " + action + " private field on non-instance"); - } - return privateMap.get(receiver); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js b/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js deleted file mode 100644 index 46eea93ac6..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _classNameTDZError(name) { - throw new ReferenceError("Class \"" + name + "\" cannot be referenced in computed property keys."); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js deleted file mode 100644 index fb5883369b..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +++ /dev/null @@ -1,6 +0,0 @@ -import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js"; -import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js"; -export default function _classPrivateFieldDestructureSet(receiver, privateMap) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); - return classApplyDescriptorDestructureSet(receiver, descriptor); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js deleted file mode 100644 index 53cd1379cb..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +++ /dev/null @@ -1,6 +0,0 @@ -import classApplyDescriptorGet from "./classApplyDescriptorGet.js"; -import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js"; -export default function _classPrivateFieldGet(receiver, privateMap) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); - return classApplyDescriptorGet(receiver, descriptor); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js deleted file mode 100644 index 2253dd84f0..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +++ /dev/null @@ -1,5 +0,0 @@ -import checkPrivateRedeclaration from "./checkPrivateRedeclaration.js"; -export default function _classPrivateFieldInitSpec(obj, privateMap, value) { - checkPrivateRedeclaration(obj, privateMap); - privateMap.set(obj, value); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js deleted file mode 100644 index 09e93304f9..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +++ /dev/null @@ -1,6 +0,0 @@ -export default function _classPrivateFieldBase(receiver, privateKey) { - if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { - throw new TypeError("attempted to use private field on non-instance"); - } - return receiver; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js deleted file mode 100644 index 5b7e5ac020..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +++ /dev/null @@ -1,4 +0,0 @@ -var id = 0; -export default function _classPrivateFieldKey(name) { - return "__private_" + id++ + "_" + name; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js deleted file mode 100644 index ad91be4408..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +++ /dev/null @@ -1,7 +0,0 @@ -import classApplyDescriptorSet from "./classApplyDescriptorSet.js"; -import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js"; -export default function _classPrivateFieldSet(receiver, privateMap, value) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); - classApplyDescriptorSet(receiver, descriptor, value); - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js deleted file mode 100644 index f32a3da81e..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +++ /dev/null @@ -1,6 +0,0 @@ -export default function _classPrivateMethodGet(receiver, privateSet, fn) { - if (!privateSet.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return fn; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js deleted file mode 100644 index 18d129159c..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +++ /dev/null @@ -1,5 +0,0 @@ -import checkPrivateRedeclaration from "./checkPrivateRedeclaration.js"; -export default function _classPrivateMethodInitSpec(obj, privateSet) { - checkPrivateRedeclaration(obj, privateSet); - privateSet.add(obj); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js deleted file mode 100644 index 2bbaf3a7a4..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _classPrivateMethodSet() { - throw new TypeError("attempted to reassign private method"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js deleted file mode 100644 index 77afcfb187..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +++ /dev/null @@ -1,8 +0,0 @@ -import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js"; -import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js"; -import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js"; -export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "set"); - return classApplyDescriptorDestructureSet(receiver, descriptor); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js deleted file mode 100644 index d253d31198..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +++ /dev/null @@ -1,8 +0,0 @@ -import classApplyDescriptorGet from "./classApplyDescriptorGet.js"; -import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js"; -import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js"; -export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "get"); - return classApplyDescriptorGet(receiver, descriptor); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js deleted file mode 100644 index b0b0cc6444..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +++ /dev/null @@ -1,9 +0,0 @@ -import classApplyDescriptorSet from "./classApplyDescriptorSet.js"; -import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js"; -import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js"; -export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "set"); - classApplyDescriptorSet(receiver, descriptor, value); - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js deleted file mode 100644 index fddc7b2d8c..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +++ /dev/null @@ -1,5 +0,0 @@ -import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js"; -export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { - classCheckPrivateStaticAccess(receiver, classConstructor); - return method; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js deleted file mode 100644 index d5ab60a970..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _classStaticPrivateMethodSet() { - throw new TypeError("attempted to set read only static private field"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/construct.js b/node_modules/@babel/runtime/helpers/esm/construct.js deleted file mode 100644 index 3860bdd07e..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/construct.js +++ /dev/null @@ -1,17 +0,0 @@ -import setPrototypeOf from "./setPrototypeOf.js"; -import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; -export default function _construct(Parent, args, Class) { - if (isNativeReflectConstruct()) { - _construct = Reflect.construct.bind(); - } else { - _construct = function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var Constructor = Function.bind.apply(Parent, a); - var instance = new Constructor(); - if (Class) setPrototypeOf(instance, Class.prototype); - return instance; - }; - } - return _construct.apply(null, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createClass.js b/node_modules/@babel/runtime/helpers/esm/createClass.js deleted file mode 100644 index bbacdfec2a..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/createClass.js +++ /dev/null @@ -1,18 +0,0 @@ -import toPropertyKey from "./toPropertyKey.js"; -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); - } -} -export default function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js deleted file mode 100644 index 5e0e0f1900..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +++ /dev/null @@ -1,52 +0,0 @@ -import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; -export default function _createForOfIteratorHelper(o, allowArrayLike) { - var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (!it) { - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - var F = function F() {}; - return { - s: F, - n: function n() { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }, - e: function e(_e) { - throw _e; - }, - f: F - }; - } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - var normalCompletion = true, - didErr = false, - err; - return { - s: function s() { - it = it.call(o); - }, - n: function n() { - var step = it.next(); - normalCompletion = step.done; - return step; - }, - e: function e(_e2) { - didErr = true; - err = _e2; - }, - f: function f() { - try { - if (!normalCompletion && it["return"] != null) it["return"](); - } finally { - if (didErr) throw err; - } - } - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js deleted file mode 100644 index 043857dc98..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +++ /dev/null @@ -1,19 +0,0 @@ -import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; -export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { - var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (it) return (it = it.call(o)).next.bind(it); - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - return function () { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }; - } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createSuper.js b/node_modules/@babel/runtime/helpers/esm/createSuper.js deleted file mode 100644 index 7c96297630..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/createSuper.js +++ /dev/null @@ -1,17 +0,0 @@ -import getPrototypeOf from "./getPrototypeOf.js"; -import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; -import possibleConstructorReturn from "./possibleConstructorReturn.js"; -export default function _createSuper(Derived) { - var hasNativeReflectConstruct = isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return possibleConstructorReturn(this, result); - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/decorate.js b/node_modules/@babel/runtime/helpers/esm/decorate.js deleted file mode 100644 index e511dfe6e4..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/decorate.js +++ /dev/null @@ -1,342 +0,0 @@ -import toArray from "./toArray.js"; -import toPropertyKey from "./toPropertyKey.js"; -export default function _decorate(decorators, factory, superClass, mixins) { - var api = _getDecoratorsApi(); - if (mixins) { - for (var i = 0; i < mixins.length; i++) { - api = mixins[i](api); - } - } - var r = factory(function initialize(O) { - api.initializeInstanceElements(O, decorated.elements); - }, superClass); - var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators); - api.initializeClassElements(r.F, decorated.elements); - return api.runClassFinishers(r.F, decorated.finishers); -} -function _getDecoratorsApi() { - _getDecoratorsApi = function _getDecoratorsApi() { - return api; - }; - var api = { - elementsDefinitionOrder: [["method"], ["field"]], - initializeInstanceElements: function initializeInstanceElements(O, elements) { - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - if (element.kind === kind && element.placement === "own") { - this.defineClassElement(O, element); - } - }, this); - }, this); - }, - initializeClassElements: function initializeClassElements(F, elements) { - var proto = F.prototype; - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - var placement = element.placement; - if (element.kind === kind && (placement === "static" || placement === "prototype")) { - var receiver = placement === "static" ? F : proto; - this.defineClassElement(receiver, element); - } - }, this); - }, this); - }, - defineClassElement: function defineClassElement(receiver, element) { - var descriptor = element.descriptor; - if (element.kind === "field") { - var initializer = element.initializer; - descriptor = { - enumerable: descriptor.enumerable, - writable: descriptor.writable, - configurable: descriptor.configurable, - value: initializer === void 0 ? void 0 : initializer.call(receiver) - }; - } - Object.defineProperty(receiver, element.key, descriptor); - }, - decorateClass: function decorateClass(elements, decorators) { - var newElements = []; - var finishers = []; - var placements = { - "static": [], - prototype: [], - own: [] - }; - elements.forEach(function (element) { - this.addElementPlacement(element, placements); - }, this); - elements.forEach(function (element) { - if (!_hasDecorators(element)) return newElements.push(element); - var elementFinishersExtras = this.decorateElement(element, placements); - newElements.push(elementFinishersExtras.element); - newElements.push.apply(newElements, elementFinishersExtras.extras); - finishers.push.apply(finishers, elementFinishersExtras.finishers); - }, this); - if (!decorators) { - return { - elements: newElements, - finishers: finishers - }; - } - var result = this.decorateConstructor(newElements, decorators); - finishers.push.apply(finishers, result.finishers); - result.finishers = finishers; - return result; - }, - addElementPlacement: function addElementPlacement(element, placements, silent) { - var keys = placements[element.placement]; - if (!silent && keys.indexOf(element.key) !== -1) { - throw new TypeError("Duplicated element (" + element.key + ")"); - } - keys.push(element.key); - }, - decorateElement: function decorateElement(element, placements) { - var extras = []; - var finishers = []; - for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { - var keys = placements[element.placement]; - keys.splice(keys.indexOf(element.key), 1); - var elementObject = this.fromElementDescriptor(element); - var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); - element = elementFinisherExtras.element; - this.addElementPlacement(element, placements); - if (elementFinisherExtras.finisher) { - finishers.push(elementFinisherExtras.finisher); - } - var newExtras = elementFinisherExtras.extras; - if (newExtras) { - for (var j = 0; j < newExtras.length; j++) { - this.addElementPlacement(newExtras[j], placements); - } - extras.push.apply(extras, newExtras); - } - } - return { - element: element, - finishers: finishers, - extras: extras - }; - }, - decorateConstructor: function decorateConstructor(elements, decorators) { - var finishers = []; - for (var i = decorators.length - 1; i >= 0; i--) { - var obj = this.fromClassDescriptor(elements); - var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); - if (elementsAndFinisher.finisher !== undefined) { - finishers.push(elementsAndFinisher.finisher); - } - if (elementsAndFinisher.elements !== undefined) { - elements = elementsAndFinisher.elements; - for (var j = 0; j < elements.length - 1; j++) { - for (var k = j + 1; k < elements.length; k++) { - if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { - throw new TypeError("Duplicated element (" + elements[j].key + ")"); - } - } - } - } - } - return { - elements: elements, - finishers: finishers - }; - }, - fromElementDescriptor: function fromElementDescriptor(element) { - var obj = { - kind: element.kind, - key: element.key, - placement: element.placement, - descriptor: element.descriptor - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - if (element.kind === "field") obj.initializer = element.initializer; - return obj; - }, - toElementDescriptors: function toElementDescriptors(elementObjects) { - if (elementObjects === undefined) return; - return toArray(elementObjects).map(function (elementObject) { - var element = this.toElementDescriptor(elementObject); - this.disallowProperty(elementObject, "finisher", "An element descriptor"); - this.disallowProperty(elementObject, "extras", "An element descriptor"); - return element; - }, this); - }, - toElementDescriptor: function toElementDescriptor(elementObject) { - var kind = String(elementObject.kind); - if (kind !== "method" && kind !== "field") { - throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); - } - var key = toPropertyKey(elementObject.key); - var placement = String(elementObject.placement); - if (placement !== "static" && placement !== "prototype" && placement !== "own") { - throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); - } - var descriptor = elementObject.descriptor; - this.disallowProperty(elementObject, "elements", "An element descriptor"); - var element = { - kind: kind, - key: key, - placement: placement, - descriptor: Object.assign({}, descriptor) - }; - if (kind !== "field") { - this.disallowProperty(elementObject, "initializer", "A method descriptor"); - } else { - this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); - element.initializer = elementObject.initializer; - } - return element; - }, - toElementFinisherExtras: function toElementFinisherExtras(elementObject) { - var element = this.toElementDescriptor(elementObject); - var finisher = _optionalCallableProperty(elementObject, "finisher"); - var extras = this.toElementDescriptors(elementObject.extras); - return { - element: element, - finisher: finisher, - extras: extras - }; - }, - fromClassDescriptor: function fromClassDescriptor(elements) { - var obj = { - kind: "class", - elements: elements.map(this.fromElementDescriptor, this) - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - return obj; - }, - toClassDescriptor: function toClassDescriptor(obj) { - var kind = String(obj.kind); - if (kind !== "class") { - throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); - } - this.disallowProperty(obj, "key", "A class descriptor"); - this.disallowProperty(obj, "placement", "A class descriptor"); - this.disallowProperty(obj, "descriptor", "A class descriptor"); - this.disallowProperty(obj, "initializer", "A class descriptor"); - this.disallowProperty(obj, "extras", "A class descriptor"); - var finisher = _optionalCallableProperty(obj, "finisher"); - var elements = this.toElementDescriptors(obj.elements); - return { - elements: elements, - finisher: finisher - }; - }, - runClassFinishers: function runClassFinishers(constructor, finishers) { - for (var i = 0; i < finishers.length; i++) { - var newConstructor = (0, finishers[i])(constructor); - if (newConstructor !== undefined) { - if (typeof newConstructor !== "function") { - throw new TypeError("Finishers must return a constructor."); - } - constructor = newConstructor; - } - } - return constructor; - }, - disallowProperty: function disallowProperty(obj, name, objectType) { - if (obj[name] !== undefined) { - throw new TypeError(objectType + " can't have a ." + name + " property."); - } - } - }; - return api; -} -function _createElementDescriptor(def) { - var key = toPropertyKey(def.key); - var descriptor; - if (def.kind === "method") { - descriptor = { - value: def.value, - writable: true, - configurable: true, - enumerable: false - }; - } else if (def.kind === "get") { - descriptor = { - get: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "set") { - descriptor = { - set: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "field") { - descriptor = { - configurable: true, - writable: true, - enumerable: true - }; - } - var element = { - kind: def.kind === "field" ? "field" : "method", - key: key, - placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", - descriptor: descriptor - }; - if (def.decorators) element.decorators = def.decorators; - if (def.kind === "field") element.initializer = def.value; - return element; -} -function _coalesceGetterSetter(element, other) { - if (element.descriptor.get !== undefined) { - other.descriptor.get = element.descriptor.get; - } else { - other.descriptor.set = element.descriptor.set; - } -} -function _coalesceClassElements(elements) { - var newElements = []; - var isSameElement = function isSameElement(other) { - return other.kind === "method" && other.key === element.key && other.placement === element.placement; - }; - for (var i = 0; i < elements.length; i++) { - var element = elements[i]; - var other; - if (element.kind === "method" && (other = newElements.find(isSameElement))) { - if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { - if (_hasDecorators(element) || _hasDecorators(other)) { - throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); - } - other.descriptor = element.descriptor; - } else { - if (_hasDecorators(element)) { - if (_hasDecorators(other)) { - throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); - } - other.decorators = element.decorators; - } - _coalesceGetterSetter(element, other); - } - } else { - newElements.push(element); - } - } - return newElements; -} -function _hasDecorators(element) { - return element.decorators && element.decorators.length; -} -function _isDataDescriptor(desc) { - return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); -} -function _optionalCallableProperty(obj, name) { - var value = obj[name]; - if (value !== undefined && typeof value !== "function") { - throw new TypeError("Expected '" + name + "' to be a function"); - } - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defaults.js b/node_modules/@babel/runtime/helpers/esm/defaults.js deleted file mode 100644 index 9e59e9a884..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/defaults.js +++ /dev/null @@ -1,11 +0,0 @@ -export default function _defaults(obj, defaults) { - var keys = Object.getOwnPropertyNames(defaults); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var value = Object.getOwnPropertyDescriptor(defaults, key); - if (value && value.configurable && obj[key] === undefined) { - Object.defineProperty(obj, key, value); - } - } - return obj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defineAccessor.js b/node_modules/@babel/runtime/helpers/esm/defineAccessor.js deleted file mode 100644 index 154271d152..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _defineAccessor(type, obj, key, fn) { - var desc = { - configurable: !0, - enumerable: !0 - }; - return desc[type] = fn, Object.defineProperty(obj, key, desc); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js b/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js deleted file mode 100644 index 0c04128a60..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +++ /dev/null @@ -1,19 +0,0 @@ -export default function _defineEnumerableProperties(obj, descs) { - for (var key in descs) { - var desc = descs[key]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, key, desc); - } - if (Object.getOwnPropertySymbols) { - var objectSymbols = Object.getOwnPropertySymbols(descs); - for (var i = 0; i < objectSymbols.length; i++) { - var sym = objectSymbols[i]; - var desc = descs[sym]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, sym, desc); - } - } - return obj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defineProperty.js b/node_modules/@babel/runtime/helpers/esm/defineProperty.js deleted file mode 100644 index 56c06a2508..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/defineProperty.js +++ /dev/null @@ -1,15 +0,0 @@ -import toPropertyKey from "./toPropertyKey.js"; -export default function _defineProperty(obj, key, value) { - key = toPropertyKey(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/extends.js b/node_modules/@babel/runtime/helpers/esm/extends.js deleted file mode 100644 index ab17131f66..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/extends.js +++ /dev/null @@ -1,14 +0,0 @@ -export default function _extends() { - _extends = Object.assign ? Object.assign.bind() : function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - return target; - }; - return _extends.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/get.js b/node_modules/@babel/runtime/helpers/esm/get.js deleted file mode 100644 index 0705d5fc46..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/get.js +++ /dev/null @@ -1,17 +0,0 @@ -import superPropBase from "./superPropBase.js"; -export default function _get() { - if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get.bind(); - } else { - _get = function _get(target, property, receiver) { - var base = superPropBase(target, property); - if (!base) return; - var desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.get) { - return desc.get.call(arguments.length < 3 ? target : receiver); - } - return desc.value; - }; - } - return _get.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js deleted file mode 100644 index e9bb1d54f7..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +++ /dev/null @@ -1,6 +0,0 @@ -export default function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/identity.js b/node_modules/@babel/runtime/helpers/esm/identity.js deleted file mode 100644 index a1e7e4cda8..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/identity.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _identity(x) { - return x; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/inherits.js b/node_modules/@babel/runtime/helpers/esm/inherits.js deleted file mode 100644 index 0b0a0eacf5..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/inherits.js +++ /dev/null @@ -1,17 +0,0 @@ -import setPrototypeOf from "./setPrototypeOf.js"; -export default function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - Object.defineProperty(subClass, "prototype", { - writable: false - }); - if (superClass) setPrototypeOf(subClass, superClass); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js b/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js deleted file mode 100644 index 90bb796576..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +++ /dev/null @@ -1,6 +0,0 @@ -import setPrototypeOf from "./setPrototypeOf.js"; -export default function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - setPrototypeOf(subClass, superClass); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js b/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js deleted file mode 100644 index 26fdea084d..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +++ /dev/null @@ -1,9 +0,0 @@ -export default function _initializerDefineProperty(target, property, descriptor, context) { - if (!descriptor) return; - Object.defineProperty(target, property, { - enumerable: descriptor.enumerable, - configurable: descriptor.configurable, - writable: descriptor.writable, - value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 - }); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js b/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js deleted file mode 100644 index 30d518cfd6..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _initializerWarningHelper(descriptor, context) { - throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/instanceof.js b/node_modules/@babel/runtime/helpers/esm/instanceof.js deleted file mode 100644 index 8c43b71787..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/instanceof.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _instanceof(left, right) { - if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { - return !!right[Symbol.hasInstance](left); - } else { - return left instanceof right; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js b/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js deleted file mode 100644 index c2df7b6414..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { - "default": obj - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js deleted file mode 100644 index 6ec63091e3..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +++ /dev/null @@ -1,40 +0,0 @@ -import _typeof from "./typeof.js"; -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== "function") return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} -export default function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { - return { - "default": obj - }; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { - var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - if (desc && (desc.get || desc.set)) { - Object.defineProperty(newObj, key, desc); - } else { - newObj[key] = obj[key]; - } - } - } - newObj["default"] = obj; - if (cache) { - cache.set(obj, newObj); - } - return newObj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js b/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js deleted file mode 100644 index 7b1bc821f7..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _isNativeFunction(fn) { - return Function.toString.call(fn).indexOf("[native code]") !== -1; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js b/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js deleted file mode 100644 index 6184080708..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +++ /dev/null @@ -1,11 +0,0 @@ -export default function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArray.js b/node_modules/@babel/runtime/helpers/esm/iterableToArray.js deleted file mode 100644 index cfe9fbd3bf..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js deleted file mode 100644 index 5c31a59351..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +++ /dev/null @@ -1,27 +0,0 @@ -export default function _iterableToArrayLimit(arr, i) { - var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; - if (null != _i) { - var _s, - _e, - _x, - _r, - _arr = [], - _n = !0, - _d = !1; - try { - if (_x = (_i = _i.call(arr)).next, 0 === i) { - if (Object(_i) !== _i) return; - _n = !1; - } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); - } catch (err) { - _d = !0, _e = err; - } finally { - try { - if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; - } finally { - if (_d) throw _e; - } - } - return _arr; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js deleted file mode 100644 index 9237c30773..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +++ /dev/null @@ -1,9 +0,0 @@ -export default function _iterableToArrayLimitLoose(arr, i) { - var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); - if (null != _i) { - var _s, - _arr = []; - for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value); - return _arr; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/jsx.js b/node_modules/@babel/runtime/helpers/esm/jsx.js deleted file mode 100644 index 742afd5c28..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/jsx.js +++ /dev/null @@ -1,21 +0,0 @@ -var REACT_ELEMENT_TYPE; -export default function _createRawReactElement(type, props, key, children) { - REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103); - var defaultProps = type && type.defaultProps, - childrenLength = arguments.length - 3; - if (props || 0 === childrenLength || (props = { - children: void 0 - }), 1 === childrenLength) props.children = children;else if (childrenLength > 1) { - for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 3]; - props.children = childArray; - } - if (props && defaultProps) for (var propName in defaultProps) void 0 === props[propName] && (props[propName] = defaultProps[propName]);else props || (props = defaultProps || {}); - return { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: void 0 === key ? null : "" + key, - ref: null, - props: props, - _owner: null - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js b/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js deleted file mode 100644 index 38fd78fb1a..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +++ /dev/null @@ -1,8 +0,0 @@ -import arrayLikeToArray from "./arrayLikeToArray.js"; -export default function _maybeArrayLike(next, arr, i) { - if (arr && !Array.isArray(arr) && typeof arr.length === "number") { - var len = arr.length; - return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); - } - return next(arr, i); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js b/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js deleted file mode 100644 index d6cd864377..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _newArrowCheck(innerThis, boundThis) { - if (innerThis !== boundThis) { - throw new TypeError("Cannot instantiate an arrow function"); - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js b/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js deleted file mode 100644 index b349d006cd..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js b/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js deleted file mode 100644 index 82d8296142..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js deleted file mode 100644 index 251b859584..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure " + obj); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectSpread.js b/node_modules/@babel/runtime/helpers/esm/objectSpread.js deleted file mode 100644 index a4e05e5694..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectSpread.js +++ /dev/null @@ -1,16 +0,0 @@ -import defineProperty from "./defineProperty.js"; -export default function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? Object(arguments[i]) : {}; - var ownKeys = Object.keys(source); - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - ownKeys.forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectSpread2.js b/node_modules/@babel/runtime/helpers/esm/objectSpread2.js deleted file mode 100644 index 7d69accd7c..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +++ /dev/null @@ -1,22 +0,0 @@ -import defineProperty from "./defineProperty.js"; -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - enumerableOnly && (symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - })), keys.push.apply(keys, symbols); - } - return keys; -} -export default function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = null != arguments[i] ? arguments[i] : {}; - i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { - defineProperty(target, key, source[key]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js b/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js deleted file mode 100644 index 36804a39ba..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +++ /dev/null @@ -1,16 +0,0 @@ -import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js"; -export default function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - var target = objectWithoutPropertiesLoose(source, excluded); - var key, i; - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js deleted file mode 100644 index 4b308bde5e..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +++ /dev/null @@ -1,12 +0,0 @@ -export default function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/package.json b/node_modules/@babel/runtime/helpers/esm/package.json deleted file mode 100644 index aead43de36..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js b/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js deleted file mode 100644 index 877882442b..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +++ /dev/null @@ -1,10 +0,0 @@ -import _typeof from "./typeof.js"; -import assertThisInitialized from "./assertThisInitialized.js"; -export default function _possibleConstructorReturn(self, call) { - if (call && (_typeof(call) === "object" || typeof call === "function")) { - return call; - } else if (call !== void 0) { - throw new TypeError("Derived constructors may only return object or undefined"); - } - return assertThisInitialized(self); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/readOnlyError.js b/node_modules/@babel/runtime/helpers/esm/readOnlyError.js deleted file mode 100644 index 166e40e5e7..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _readOnlyError(name) { - throw new TypeError("\"" + name + "\" is read-only"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js b/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js deleted file mode 100644 index 562d81193b..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +++ /dev/null @@ -1,303 +0,0 @@ -import _typeof from "./typeof.js"; -export default function _regeneratorRuntime() { - "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - _regeneratorRuntime = function _regeneratorRuntime() { - return exports; - }; - var exports = {}, - Op = Object.prototype, - hasOwn = Op.hasOwnProperty, - defineProperty = Object.defineProperty || function (obj, key, desc) { - obj[key] = desc.value; - }, - $Symbol = "function" == typeof Symbol ? Symbol : {}, - iteratorSymbol = $Symbol.iterator || "@@iterator", - asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", - toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - function define(obj, key, value) { - return Object.defineProperty(obj, key, { - value: value, - enumerable: !0, - configurable: !0, - writable: !0 - }), obj[key]; - } - try { - define({}, ""); - } catch (err) { - define = function define(obj, key, value) { - return obj[key] = value; - }; - } - function wrap(innerFn, outerFn, self, tryLocsList) { - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, - generator = Object.create(protoGenerator.prototype), - context = new Context(tryLocsList || []); - return defineProperty(generator, "_invoke", { - value: makeInvokeMethod(innerFn, self, context) - }), generator; - } - function tryCatch(fn, obj, arg) { - try { - return { - type: "normal", - arg: fn.call(obj, arg) - }; - } catch (err) { - return { - type: "throw", - arg: err - }; - } - } - exports.wrap = wrap; - var ContinueSentinel = {}; - function Generator() {} - function GeneratorFunction() {} - function GeneratorFunctionPrototype() {} - var IteratorPrototype = {}; - define(IteratorPrototype, iteratorSymbol, function () { - return this; - }); - var getProto = Object.getPrototypeOf, - NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); - var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function (method) { - define(prototype, method, function (arg) { - return this._invoke(method, arg); - }); - }); - } - function AsyncIterator(generator, PromiseImpl) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - if ("throw" !== record.type) { - var result = record.arg, - value = result.value; - return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { - invoke("next", value, resolve, reject); - }, function (err) { - invoke("throw", err, resolve, reject); - }) : PromiseImpl.resolve(value).then(function (unwrapped) { - result.value = unwrapped, resolve(result); - }, function (error) { - return invoke("throw", error, resolve, reject); - }); - } - reject(record.arg); - } - var previousPromise; - defineProperty(this, "_invoke", { - value: function value(method, arg) { - function callInvokeWithMethodAndArg() { - return new PromiseImpl(function (resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); - } - }); - } - function makeInvokeMethod(innerFn, self, context) { - var state = "suspendedStart"; - return function (method, arg) { - if ("executing" === state) throw new Error("Generator is already running"); - if ("completed" === state) { - if ("throw" === method) throw arg; - return doneResult(); - } - for (context.method = method, context.arg = arg;;) { - var delegate = context.delegate; - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { - if ("suspendedStart" === state) throw state = "completed", context.arg; - context.dispatchException(context.arg); - } else "return" === context.method && context.abrupt("return", context.arg); - state = "executing"; - var record = tryCatch(innerFn, self, context); - if ("normal" === record.type) { - if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; - return { - value: record.arg, - done: context.done - }; - } - "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); - } - }; - } - function maybeInvokeDelegate(delegate, context) { - var methodName = context.method, - method = delegate.iterator[methodName]; - if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; - var record = tryCatch(method, delegate.iterator, context.arg); - if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; - var info = record.arg; - return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); - } - function pushTryEntry(locs) { - var entry = { - tryLoc: locs[0] - }; - 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); - } - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal", delete record.arg, entry.completion = record; - } - function Context(tryLocsList) { - this.tryEntries = [{ - tryLoc: "root" - }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); - } - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - if (iteratorMethod) return iteratorMethod.call(iterable); - if ("function" == typeof iterable.next) return iterable; - if (!isNaN(iterable.length)) { - var i = -1, - next = function next() { - for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; - return next.value = undefined, next.done = !0, next; - }; - return next.next = next; - } - } - return { - next: doneResult - }; - } - function doneResult() { - return { - value: undefined, - done: !0 - }; - } - return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { - value: GeneratorFunctionPrototype, - configurable: !0 - }), defineProperty(GeneratorFunctionPrototype, "constructor", { - value: GeneratorFunction, - configurable: !0 - }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { - var ctor = "function" == typeof genFun && genFun.constructor; - return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); - }, exports.mark = function (genFun) { - return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; - }, exports.awrap = function (arg) { - return { - __await: arg - }; - }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { - return this; - }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { - void 0 === PromiseImpl && (PromiseImpl = Promise); - var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); - return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { - return result.done ? result.value : iter.next(); - }); - }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { - return this; - }), define(Gp, "toString", function () { - return "[object Generator]"; - }), exports.keys = function (val) { - var object = Object(val), - keys = []; - for (var key in object) keys.push(key); - return keys.reverse(), function next() { - for (; keys.length;) { - var key = keys.pop(); - if (key in object) return next.value = key, next.done = !1, next; - } - return next.done = !0, next; - }; - }, exports.values = values, Context.prototype = { - constructor: Context, - reset: function reset(skipTempReset) { - if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); - }, - stop: function stop() { - this.done = !0; - var rootRecord = this.tryEntries[0].completion; - if ("throw" === rootRecord.type) throw rootRecord.arg; - return this.rval; - }, - dispatchException: function dispatchException(exception) { - if (this.done) throw exception; - var context = this; - function handle(loc, caught) { - return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; - } - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i], - record = entry.completion; - if ("root" === entry.tryLoc) return handle("end"); - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"), - hasFinally = hasOwn.call(entry, "finallyLoc"); - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } else if (hasCatch) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - } else { - if (!hasFinally) throw new Error("try statement without catch or finally"); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } - } - } - }, - abrupt: function abrupt(type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); - var record = finallyEntry ? finallyEntry.completion : {}; - return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); - }, - complete: function complete(record, afterLoc) { - if ("throw" === record.type) throw record.arg; - return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; - }, - finish: function finish(finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; - } - }, - "catch": function _catch(tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - if ("throw" === record.type) { - var thrown = record.arg; - resetTryEntry(entry); - } - return thrown; - } - } - throw new Error("illegal catch attempt"); - }, - delegateYield: function delegateYield(iterable, resultName, nextLoc) { - return this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }, "next" === this.method && (this.arg = undefined), ContinueSentinel; - } - }, exports; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/set.js b/node_modules/@babel/runtime/helpers/esm/set.js deleted file mode 100644 index c9ee6c724e..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/set.js +++ /dev/null @@ -1,40 +0,0 @@ -import superPropBase from "./superPropBase.js"; -import defineProperty from "./defineProperty.js"; -function set(target, property, value, receiver) { - if (typeof Reflect !== "undefined" && Reflect.set) { - set = Reflect.set; - } else { - set = function set(target, property, value, receiver) { - var base = superPropBase(target, property); - var desc; - if (base) { - desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.set) { - desc.set.call(receiver, value); - return true; - } else if (!desc.writable) { - return false; - } - } - desc = Object.getOwnPropertyDescriptor(receiver, property); - if (desc) { - if (!desc.writable) { - return false; - } - desc.value = value; - Object.defineProperty(receiver, property, desc); - } else { - defineProperty(receiver, property, value); - } - return true; - }; - } - return set(target, property, value, receiver); -} -export default function _set(target, property, value, receiver, isStrict) { - var s = set(target, property, value, receiver || target); - if (!s && isStrict) { - throw new TypeError('failed to set property'); - } - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js deleted file mode 100644 index 905e13c0d3..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - return _setPrototypeOf(o, p); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js b/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js deleted file mode 100644 index cadd9bb5bf..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _skipFirstGeneratorNext(fn) { - return function () { - var it = fn.apply(this, arguments); - it.next(); - return it; - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/slicedToArray.js b/node_modules/@babel/runtime/helpers/esm/slicedToArray.js deleted file mode 100644 index 618200b92b..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithHoles from "./arrayWithHoles.js"; -import iterableToArrayLimit from "./iterableToArrayLimit.js"; -import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; -import nonIterableRest from "./nonIterableRest.js"; -export default function _slicedToArray(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js b/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js deleted file mode 100644 index efc7429ef6..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithHoles from "./arrayWithHoles.js"; -import iterableToArrayLimitLoose from "./iterableToArrayLimitLoose.js"; -import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; -import nonIterableRest from "./nonIterableRest.js"; -export default function _slicedToArrayLoose(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/superPropBase.js b/node_modules/@babel/runtime/helpers/esm/superPropBase.js deleted file mode 100644 index 605724d78a..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/superPropBase.js +++ /dev/null @@ -1,8 +0,0 @@ -import getPrototypeOf from "./getPrototypeOf.js"; -export default function _superPropBase(object, property) { - while (!Object.prototype.hasOwnProperty.call(object, property)) { - object = getPrototypeOf(object); - if (object === null) break; - } - return object; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js deleted file mode 100644 index 990d5e438e..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +++ /dev/null @@ -1,10 +0,0 @@ -export default function _taggedTemplateLiteral(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - return Object.freeze(Object.defineProperties(strings, { - raw: { - value: Object.freeze(raw) - } - })); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js deleted file mode 100644 index 9fcba323fe..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _taggedTemplateLiteralLoose(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - strings.raw = raw; - return strings; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/tdz.js b/node_modules/@babel/runtime/helpers/esm/tdz.js deleted file mode 100644 index d5d0adc8a6..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/tdz.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _tdzError(name) { - throw new ReferenceError(name + " is not defined - temporal dead zone"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/temporalRef.js b/node_modules/@babel/runtime/helpers/esm/temporalRef.js deleted file mode 100644 index b25f7c44f4..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/temporalRef.js +++ /dev/null @@ -1,5 +0,0 @@ -import undef from "./temporalUndefined.js"; -import err from "./tdz.js"; -export default function _temporalRef(val, name) { - return val === undef ? err(name) : val; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js b/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js deleted file mode 100644 index 1a35717342..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +++ /dev/null @@ -1 +0,0 @@ -export default function _temporalUndefined() {} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toArray.js b/node_modules/@babel/runtime/helpers/esm/toArray.js deleted file mode 100644 index ad7c871a54..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/toArray.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithHoles from "./arrayWithHoles.js"; -import iterableToArray from "./iterableToArray.js"; -import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; -import nonIterableRest from "./nonIterableRest.js"; -export default function _toArray(arr) { - return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js b/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js deleted file mode 100644 index bd91285592..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithoutHoles from "./arrayWithoutHoles.js"; -import iterableToArray from "./iterableToArray.js"; -import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; -import nonIterableSpread from "./nonIterableSpread.js"; -export default function _toConsumableArray(arr) { - return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toPrimitive.js b/node_modules/@babel/runtime/helpers/esm/toPrimitive.js deleted file mode 100644 index cbfabb7fbe..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +++ /dev/null @@ -1,11 +0,0 @@ -import _typeof from "./typeof.js"; -export default function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js deleted file mode 100644 index 0fcc93b3ee..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +++ /dev/null @@ -1,6 +0,0 @@ -import _typeof from "./typeof.js"; -import toPrimitive from "./toPrimitive.js"; -export default function _toPropertyKey(arg) { - var key = toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/typeof.js b/node_modules/@babel/runtime/helpers/esm/typeof.js deleted file mode 100644 index 92100c66f9..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/typeof.js +++ /dev/null @@ -1,9 +0,0 @@ -export default function _typeof(obj) { - "@babel/helpers - typeof"; - - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { - return typeof obj; - } : function (obj) { - return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }, _typeof(obj); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js b/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js deleted file mode 100644 index c0f63bd5a8..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +++ /dev/null @@ -1,9 +0,0 @@ -import arrayLikeToArray from "./arrayLikeToArray.js"; -export default function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js deleted file mode 100644 index 723b2ddacd..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +++ /dev/null @@ -1,6 +0,0 @@ -import AsyncGenerator from "./AsyncGenerator.js"; -export default function _wrapAsyncGenerator(fn) { - return function () { - return new AsyncGenerator(fn.apply(this, arguments)); - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js b/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js deleted file mode 100644 index 43d0ded7a3..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +++ /dev/null @@ -1,30 +0,0 @@ -import getPrototypeOf from "./getPrototypeOf.js"; -import setPrototypeOf from "./setPrototypeOf.js"; -import isNativeFunction from "./isNativeFunction.js"; -import construct from "./construct.js"; -export default function _wrapNativeSuper(Class) { - var _cache = typeof Map === "function" ? new Map() : undefined; - _wrapNativeSuper = function _wrapNativeSuper(Class) { - if (Class === null || !isNativeFunction(Class)) return Class; - if (typeof Class !== "function") { - throw new TypeError("Super expression must either be null or a function"); - } - if (typeof _cache !== "undefined") { - if (_cache.has(Class)) return _cache.get(Class); - _cache.set(Class, Wrapper); - } - function Wrapper() { - return construct(Class, arguments, getPrototypeOf(this).constructor); - } - Wrapper.prototype = Object.create(Class.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true - } - }); - return setPrototypeOf(Wrapper, Class); - }; - return _wrapNativeSuper(Class); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js b/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js deleted file mode 100644 index 620d84c794..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +++ /dev/null @@ -1,50 +0,0 @@ -import _typeof from "./typeof.js"; -import setPrototypeOf from "./setPrototypeOf.js"; -import inherits from "./inherits.js"; -export default function _wrapRegExp() { - _wrapRegExp = function _wrapRegExp(re, groups) { - return new BabelRegExp(re, void 0, groups); - }; - var _super = RegExp.prototype, - _groups = new WeakMap(); - function BabelRegExp(re, flags, groups) { - var _this = new RegExp(re, flags); - return _groups.set(_this, groups || _groups.get(re)), setPrototypeOf(_this, BabelRegExp.prototype); - } - function buildGroups(result, re) { - var g = _groups.get(re); - return Object.keys(g).reduce(function (groups, name) { - var i = g[name]; - if ("number" == typeof i) groups[name] = result[i];else { - for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) k++; - groups[name] = result[i[k]]; - } - return groups; - }, Object.create(null)); - } - return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { - var result = _super.exec.call(this, str); - if (result) { - result.groups = buildGroups(result, this); - var indices = result.indices; - indices && (indices.groups = buildGroups(indices, this)); - } - return result; - }, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { - if ("string" == typeof substitution) { - var groups = _groups.get(this); - return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { - var group = groups[name]; - return "$" + (Array.isArray(group) ? group.join("$") : group); - })); - } - if ("function" == typeof substitution) { - var _this = this; - return _super[Symbol.replace].call(this, str, function () { - var args = arguments; - return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); - }); - } - return _super[Symbol.replace].call(this, str, substitution); - }, _wrapRegExp.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js b/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js deleted file mode 100644 index 9170bd45d8..0000000000 --- a/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _writeOnlyError(name) { - throw new TypeError("\"" + name + "\" is write-only"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/extends.js b/node_modules/@babel/runtime/helpers/extends.js deleted file mode 100644 index bb11160779..0000000000 --- a/node_modules/@babel/runtime/helpers/extends.js +++ /dev/null @@ -1,15 +0,0 @@ -function _extends() { - module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - return target; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - return _extends.apply(this, arguments); -} -module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/get.js b/node_modules/@babel/runtime/helpers/get.js deleted file mode 100644 index 9b44d2fbcb..0000000000 --- a/node_modules/@babel/runtime/helpers/get.js +++ /dev/null @@ -1,18 +0,0 @@ -var superPropBase = require("./superPropBase.js"); -function _get() { - if (typeof Reflect !== "undefined" && Reflect.get) { - module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; - } else { - module.exports = _get = function _get(target, property, receiver) { - var base = superPropBase(target, property); - if (!base) return; - var desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.get) { - return desc.get.call(arguments.length < 3 ? target : receiver); - } - return desc.value; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - } - return _get.apply(this, arguments); -} -module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/getPrototypeOf.js deleted file mode 100644 index 0639a65504..0000000000 --- a/node_modules/@babel/runtime/helpers/getPrototypeOf.js +++ /dev/null @@ -1,7 +0,0 @@ -function _getPrototypeOf(o) { - module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - return _getPrototypeOf(o); -} -module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/identity.js b/node_modules/@babel/runtime/helpers/identity.js deleted file mode 100644 index 7dd82dc79a..0000000000 --- a/node_modules/@babel/runtime/helpers/identity.js +++ /dev/null @@ -1,4 +0,0 @@ -function _identity(x) { - return x; -} -module.exports = _identity, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/inherits.js b/node_modules/@babel/runtime/helpers/inherits.js deleted file mode 100644 index 6521cce38b..0000000000 --- a/node_modules/@babel/runtime/helpers/inherits.js +++ /dev/null @@ -1,18 +0,0 @@ -var setPrototypeOf = require("./setPrototypeOf.js"); -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - Object.defineProperty(subClass, "prototype", { - writable: false - }); - if (superClass) setPrototypeOf(subClass, superClass); -} -module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/inheritsLoose.js b/node_modules/@babel/runtime/helpers/inheritsLoose.js deleted file mode 100644 index 19a60c938c..0000000000 --- a/node_modules/@babel/runtime/helpers/inheritsLoose.js +++ /dev/null @@ -1,7 +0,0 @@ -var setPrototypeOf = require("./setPrototypeOf.js"); -function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - setPrototypeOf(subClass, superClass); -} -module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/initializerDefineProperty.js b/node_modules/@babel/runtime/helpers/initializerDefineProperty.js deleted file mode 100644 index 7f35d5038e..0000000000 --- a/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +++ /dev/null @@ -1,10 +0,0 @@ -function _initializerDefineProperty(target, property, descriptor, context) { - if (!descriptor) return; - Object.defineProperty(target, property, { - enumerable: descriptor.enumerable, - configurable: descriptor.configurable, - writable: descriptor.writable, - value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 - }); -} -module.exports = _initializerDefineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/initializerWarningHelper.js b/node_modules/@babel/runtime/helpers/initializerWarningHelper.js deleted file mode 100644 index c58b04ee93..0000000000 --- a/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +++ /dev/null @@ -1,4 +0,0 @@ -function _initializerWarningHelper(descriptor, context) { - throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); -} -module.exports = _initializerWarningHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/instanceof.js b/node_modules/@babel/runtime/helpers/instanceof.js deleted file mode 100644 index bc3d9e7f9b..0000000000 --- a/node_modules/@babel/runtime/helpers/instanceof.js +++ /dev/null @@ -1,8 +0,0 @@ -function _instanceof(left, right) { - if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { - return !!right[Symbol.hasInstance](left); - } else { - return left instanceof right; - } -} -module.exports = _instanceof, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/interopRequireDefault.js b/node_modules/@babel/runtime/helpers/interopRequireDefault.js deleted file mode 100644 index 429b270d63..0000000000 --- a/node_modules/@babel/runtime/helpers/interopRequireDefault.js +++ /dev/null @@ -1,6 +0,0 @@ -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { - "default": obj - }; -} -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/interopRequireWildcard.js deleted file mode 100644 index 3765dcc72d..0000000000 --- a/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +++ /dev/null @@ -1,41 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== "function") return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { - return { - "default": obj - }; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { - var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - if (desc && (desc.get || desc.set)) { - Object.defineProperty(newObj, key, desc); - } else { - newObj[key] = obj[key]; - } - } - } - newObj["default"] = obj; - if (cache) { - cache.set(obj, newObj); - } - return newObj; -} -module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/isNativeFunction.js b/node_modules/@babel/runtime/helpers/isNativeFunction.js deleted file mode 100644 index ea595353b4..0000000000 --- a/node_modules/@babel/runtime/helpers/isNativeFunction.js +++ /dev/null @@ -1,4 +0,0 @@ -function _isNativeFunction(fn) { - return Function.toString.call(fn).indexOf("[native code]") !== -1; -} -module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js b/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js deleted file mode 100644 index 6b4e73f02d..0000000000 --- a/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +++ /dev/null @@ -1,12 +0,0 @@ -function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } -} -module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArray.js b/node_modules/@babel/runtime/helpers/iterableToArray.js deleted file mode 100644 index 89607526d4..0000000000 --- a/node_modules/@babel/runtime/helpers/iterableToArray.js +++ /dev/null @@ -1,4 +0,0 @@ -function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); -} -module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js b/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js deleted file mode 100644 index 20a18351c6..0000000000 --- a/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +++ /dev/null @@ -1,28 +0,0 @@ -function _iterableToArrayLimit(arr, i) { - var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; - if (null != _i) { - var _s, - _e, - _x, - _r, - _arr = [], - _n = !0, - _d = !1; - try { - if (_x = (_i = _i.call(arr)).next, 0 === i) { - if (Object(_i) !== _i) return; - _n = !1; - } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); - } catch (err) { - _d = !0, _e = err; - } finally { - try { - if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; - } finally { - if (_d) throw _e; - } - } - return _arr; - } -} -module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js b/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js deleted file mode 100644 index c56bebdb18..0000000000 --- a/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +++ /dev/null @@ -1,10 +0,0 @@ -function _iterableToArrayLimitLoose(arr, i) { - var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); - if (null != _i) { - var _s, - _arr = []; - for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value); - return _arr; - } -} -module.exports = _iterableToArrayLimitLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/jsx.js b/node_modules/@babel/runtime/helpers/jsx.js deleted file mode 100644 index 8c6de76579..0000000000 --- a/node_modules/@babel/runtime/helpers/jsx.js +++ /dev/null @@ -1,22 +0,0 @@ -var REACT_ELEMENT_TYPE; -function _createRawReactElement(type, props, key, children) { - REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103); - var defaultProps = type && type.defaultProps, - childrenLength = arguments.length - 3; - if (props || 0 === childrenLength || (props = { - children: void 0 - }), 1 === childrenLength) props.children = children;else if (childrenLength > 1) { - for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 3]; - props.children = childArray; - } - if (props && defaultProps) for (var propName in defaultProps) void 0 === props[propName] && (props[propName] = defaultProps[propName]);else props || (props = defaultProps || {}); - return { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: void 0 === key ? null : "" + key, - ref: null, - props: props, - _owner: null - }; -} -module.exports = _createRawReactElement, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/maybeArrayLike.js b/node_modules/@babel/runtime/helpers/maybeArrayLike.js deleted file mode 100644 index 5d0009759b..0000000000 --- a/node_modules/@babel/runtime/helpers/maybeArrayLike.js +++ /dev/null @@ -1,9 +0,0 @@ -var arrayLikeToArray = require("./arrayLikeToArray.js"); -function _maybeArrayLike(next, arr, i) { - if (arr && !Array.isArray(arr) && typeof arr.length === "number") { - var len = arr.length; - return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); - } - return next(arr, i); -} -module.exports = _maybeArrayLike, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/newArrowCheck.js b/node_modules/@babel/runtime/helpers/newArrowCheck.js deleted file mode 100644 index 9c680c8d49..0000000000 --- a/node_modules/@babel/runtime/helpers/newArrowCheck.js +++ /dev/null @@ -1,6 +0,0 @@ -function _newArrowCheck(innerThis, boundThis) { - if (innerThis !== boundThis) { - throw new TypeError("Cannot instantiate an arrow function"); - } -} -module.exports = _newArrowCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/nonIterableRest.js b/node_modules/@babel/runtime/helpers/nonIterableRest.js deleted file mode 100644 index 95265ba32f..0000000000 --- a/node_modules/@babel/runtime/helpers/nonIterableRest.js +++ /dev/null @@ -1,4 +0,0 @@ -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} -module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/nonIterableSpread.js b/node_modules/@babel/runtime/helpers/nonIterableSpread.js deleted file mode 100644 index 3fcf23f043..0000000000 --- a/node_modules/@babel/runtime/helpers/nonIterableSpread.js +++ /dev/null @@ -1,4 +0,0 @@ -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} -module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js deleted file mode 100644 index 5b405e00a7..0000000000 --- a/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +++ /dev/null @@ -1,4 +0,0 @@ -function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure " + obj); -} -module.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectSpread.js b/node_modules/@babel/runtime/helpers/objectSpread.js deleted file mode 100644 index f393403170..0000000000 --- a/node_modules/@babel/runtime/helpers/objectSpread.js +++ /dev/null @@ -1,17 +0,0 @@ -var defineProperty = require("./defineProperty.js"); -function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? Object(arguments[i]) : {}; - var ownKeys = Object.keys(source); - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - ownKeys.forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } - return target; -} -module.exports = _objectSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectSpread2.js b/node_modules/@babel/runtime/helpers/objectSpread2.js deleted file mode 100644 index 214f9e044e..0000000000 --- a/node_modules/@babel/runtime/helpers/objectSpread2.js +++ /dev/null @@ -1,23 +0,0 @@ -var defineProperty = require("./defineProperty.js"); -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - enumerableOnly && (symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - })), keys.push.apply(keys, symbols); - } - return keys; -} -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = null != arguments[i] ? arguments[i] : {}; - i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { - defineProperty(target, key, source[key]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - return target; -} -module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectWithoutProperties.js b/node_modules/@babel/runtime/helpers/objectWithoutProperties.js deleted file mode 100644 index cf526bc894..0000000000 --- a/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +++ /dev/null @@ -1,17 +0,0 @@ -var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose.js"); -function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - var target = objectWithoutPropertiesLoose(source, excluded); - var key, i; - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - return target; -} -module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js deleted file mode 100644 index 3c65a9db60..0000000000 --- a/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +++ /dev/null @@ -1,13 +0,0 @@ -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - return target; -} -module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js b/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js deleted file mode 100644 index b2424b0004..0000000000 --- a/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +++ /dev/null @@ -1,11 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -var assertThisInitialized = require("./assertThisInitialized.js"); -function _possibleConstructorReturn(self, call) { - if (call && (_typeof(call) === "object" || typeof call === "function")) { - return call; - } else if (call !== void 0) { - throw new TypeError("Derived constructors may only return object or undefined"); - } - return assertThisInitialized(self); -} -module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/readOnlyError.js b/node_modules/@babel/runtime/helpers/readOnlyError.js deleted file mode 100644 index 6637a0e08b..0000000000 --- a/node_modules/@babel/runtime/helpers/readOnlyError.js +++ /dev/null @@ -1,4 +0,0 @@ -function _readOnlyError(name) { - throw new TypeError("\"" + name + "\" is read-only"); -} -module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js b/node_modules/@babel/runtime/helpers/regeneratorRuntime.js deleted file mode 100644 index 98db5918d7..0000000000 --- a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +++ /dev/null @@ -1,304 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -function _regeneratorRuntime() { - "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - module.exports = _regeneratorRuntime = function _regeneratorRuntime() { - return exports; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - var exports = {}, - Op = Object.prototype, - hasOwn = Op.hasOwnProperty, - defineProperty = Object.defineProperty || function (obj, key, desc) { - obj[key] = desc.value; - }, - $Symbol = "function" == typeof Symbol ? Symbol : {}, - iteratorSymbol = $Symbol.iterator || "@@iterator", - asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", - toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - function define(obj, key, value) { - return Object.defineProperty(obj, key, { - value: value, - enumerable: !0, - configurable: !0, - writable: !0 - }), obj[key]; - } - try { - define({}, ""); - } catch (err) { - define = function define(obj, key, value) { - return obj[key] = value; - }; - } - function wrap(innerFn, outerFn, self, tryLocsList) { - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, - generator = Object.create(protoGenerator.prototype), - context = new Context(tryLocsList || []); - return defineProperty(generator, "_invoke", { - value: makeInvokeMethod(innerFn, self, context) - }), generator; - } - function tryCatch(fn, obj, arg) { - try { - return { - type: "normal", - arg: fn.call(obj, arg) - }; - } catch (err) { - return { - type: "throw", - arg: err - }; - } - } - exports.wrap = wrap; - var ContinueSentinel = {}; - function Generator() {} - function GeneratorFunction() {} - function GeneratorFunctionPrototype() {} - var IteratorPrototype = {}; - define(IteratorPrototype, iteratorSymbol, function () { - return this; - }); - var getProto = Object.getPrototypeOf, - NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); - var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function (method) { - define(prototype, method, function (arg) { - return this._invoke(method, arg); - }); - }); - } - function AsyncIterator(generator, PromiseImpl) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - if ("throw" !== record.type) { - var result = record.arg, - value = result.value; - return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { - invoke("next", value, resolve, reject); - }, function (err) { - invoke("throw", err, resolve, reject); - }) : PromiseImpl.resolve(value).then(function (unwrapped) { - result.value = unwrapped, resolve(result); - }, function (error) { - return invoke("throw", error, resolve, reject); - }); - } - reject(record.arg); - } - var previousPromise; - defineProperty(this, "_invoke", { - value: function value(method, arg) { - function callInvokeWithMethodAndArg() { - return new PromiseImpl(function (resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); - } - }); - } - function makeInvokeMethod(innerFn, self, context) { - var state = "suspendedStart"; - return function (method, arg) { - if ("executing" === state) throw new Error("Generator is already running"); - if ("completed" === state) { - if ("throw" === method) throw arg; - return doneResult(); - } - for (context.method = method, context.arg = arg;;) { - var delegate = context.delegate; - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { - if ("suspendedStart" === state) throw state = "completed", context.arg; - context.dispatchException(context.arg); - } else "return" === context.method && context.abrupt("return", context.arg); - state = "executing"; - var record = tryCatch(innerFn, self, context); - if ("normal" === record.type) { - if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; - return { - value: record.arg, - done: context.done - }; - } - "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); - } - }; - } - function maybeInvokeDelegate(delegate, context) { - var methodName = context.method, - method = delegate.iterator[methodName]; - if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; - var record = tryCatch(method, delegate.iterator, context.arg); - if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; - var info = record.arg; - return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); - } - function pushTryEntry(locs) { - var entry = { - tryLoc: locs[0] - }; - 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); - } - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal", delete record.arg, entry.completion = record; - } - function Context(tryLocsList) { - this.tryEntries = [{ - tryLoc: "root" - }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); - } - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - if (iteratorMethod) return iteratorMethod.call(iterable); - if ("function" == typeof iterable.next) return iterable; - if (!isNaN(iterable.length)) { - var i = -1, - next = function next() { - for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; - return next.value = undefined, next.done = !0, next; - }; - return next.next = next; - } - } - return { - next: doneResult - }; - } - function doneResult() { - return { - value: undefined, - done: !0 - }; - } - return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { - value: GeneratorFunctionPrototype, - configurable: !0 - }), defineProperty(GeneratorFunctionPrototype, "constructor", { - value: GeneratorFunction, - configurable: !0 - }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { - var ctor = "function" == typeof genFun && genFun.constructor; - return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); - }, exports.mark = function (genFun) { - return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; - }, exports.awrap = function (arg) { - return { - __await: arg - }; - }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { - return this; - }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { - void 0 === PromiseImpl && (PromiseImpl = Promise); - var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); - return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { - return result.done ? result.value : iter.next(); - }); - }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { - return this; - }), define(Gp, "toString", function () { - return "[object Generator]"; - }), exports.keys = function (val) { - var object = Object(val), - keys = []; - for (var key in object) keys.push(key); - return keys.reverse(), function next() { - for (; keys.length;) { - var key = keys.pop(); - if (key in object) return next.value = key, next.done = !1, next; - } - return next.done = !0, next; - }; - }, exports.values = values, Context.prototype = { - constructor: Context, - reset: function reset(skipTempReset) { - if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); - }, - stop: function stop() { - this.done = !0; - var rootRecord = this.tryEntries[0].completion; - if ("throw" === rootRecord.type) throw rootRecord.arg; - return this.rval; - }, - dispatchException: function dispatchException(exception) { - if (this.done) throw exception; - var context = this; - function handle(loc, caught) { - return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; - } - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i], - record = entry.completion; - if ("root" === entry.tryLoc) return handle("end"); - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"), - hasFinally = hasOwn.call(entry, "finallyLoc"); - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } else if (hasCatch) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - } else { - if (!hasFinally) throw new Error("try statement without catch or finally"); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } - } - } - }, - abrupt: function abrupt(type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); - var record = finallyEntry ? finallyEntry.completion : {}; - return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); - }, - complete: function complete(record, afterLoc) { - if ("throw" === record.type) throw record.arg; - return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; - }, - finish: function finish(finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; - } - }, - "catch": function _catch(tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - if ("throw" === record.type) { - var thrown = record.arg; - resetTryEntry(entry); - } - return thrown; - } - } - throw new Error("illegal catch attempt"); - }, - delegateYield: function delegateYield(iterable, resultName, nextLoc) { - return this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }, "next" === this.method && (this.arg = undefined), ContinueSentinel; - } - }, exports; -} -module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/set.js b/node_modules/@babel/runtime/helpers/set.js deleted file mode 100644 index e1356241b8..0000000000 --- a/node_modules/@babel/runtime/helpers/set.js +++ /dev/null @@ -1,41 +0,0 @@ -var superPropBase = require("./superPropBase.js"); -var defineProperty = require("./defineProperty.js"); -function set(target, property, value, receiver) { - if (typeof Reflect !== "undefined" && Reflect.set) { - set = Reflect.set; - } else { - set = function set(target, property, value, receiver) { - var base = superPropBase(target, property); - var desc; - if (base) { - desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.set) { - desc.set.call(receiver, value); - return true; - } else if (!desc.writable) { - return false; - } - } - desc = Object.getOwnPropertyDescriptor(receiver, property); - if (desc) { - if (!desc.writable) { - return false; - } - desc.value = value; - Object.defineProperty(receiver, property, desc); - } else { - defineProperty(receiver, property, value); - } - return true; - }; - } - return set(target, property, value, receiver); -} -function _set(target, property, value, receiver, isStrict) { - var s = set(target, property, value, receiver || target); - if (!s && isStrict) { - throw new TypeError('failed to set property'); - } - return value; -} -module.exports = _set, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/setPrototypeOf.js deleted file mode 100644 index e0d8b5183b..0000000000 --- a/node_modules/@babel/runtime/helpers/setPrototypeOf.js +++ /dev/null @@ -1,8 +0,0 @@ -function _setPrototypeOf(o, p) { - module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - return _setPrototypeOf(o, p); -} -module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js b/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js deleted file mode 100644 index ca269aad3b..0000000000 --- a/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +++ /dev/null @@ -1,8 +0,0 @@ -function _skipFirstGeneratorNext(fn) { - return function () { - var it = fn.apply(this, arguments); - it.next(); - return it; - }; -} -module.exports = _skipFirstGeneratorNext, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/slicedToArray.js b/node_modules/@babel/runtime/helpers/slicedToArray.js deleted file mode 100644 index 534b61aac1..0000000000 --- a/node_modules/@babel/runtime/helpers/slicedToArray.js +++ /dev/null @@ -1,8 +0,0 @@ -var arrayWithHoles = require("./arrayWithHoles.js"); -var iterableToArrayLimit = require("./iterableToArrayLimit.js"); -var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); -var nonIterableRest = require("./nonIterableRest.js"); -function _slicedToArray(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} -module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js b/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js deleted file mode 100644 index b1989b4897..0000000000 --- a/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +++ /dev/null @@ -1,8 +0,0 @@ -var arrayWithHoles = require("./arrayWithHoles.js"); -var iterableToArrayLimitLoose = require("./iterableToArrayLimitLoose.js"); -var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); -var nonIterableRest = require("./nonIterableRest.js"); -function _slicedToArrayLoose(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} -module.exports = _slicedToArrayLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/superPropBase.js b/node_modules/@babel/runtime/helpers/superPropBase.js deleted file mode 100644 index e43a029389..0000000000 --- a/node_modules/@babel/runtime/helpers/superPropBase.js +++ /dev/null @@ -1,9 +0,0 @@ -var getPrototypeOf = require("./getPrototypeOf.js"); -function _superPropBase(object, property) { - while (!Object.prototype.hasOwnProperty.call(object, property)) { - object = getPrototypeOf(object); - if (object === null) break; - } - return object; -} -module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js b/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js deleted file mode 100644 index 1ab0e7a21a..0000000000 --- a/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +++ /dev/null @@ -1,11 +0,0 @@ -function _taggedTemplateLiteral(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - return Object.freeze(Object.defineProperties(strings, { - raw: { - value: Object.freeze(raw) - } - })); -} -module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js b/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js deleted file mode 100644 index 904e1a7d09..0000000000 --- a/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +++ /dev/null @@ -1,8 +0,0 @@ -function _taggedTemplateLiteralLoose(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - strings.raw = raw; - return strings; -} -module.exports = _taggedTemplateLiteralLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/tdz.js b/node_modules/@babel/runtime/helpers/tdz.js deleted file mode 100644 index 0641c76da0..0000000000 --- a/node_modules/@babel/runtime/helpers/tdz.js +++ /dev/null @@ -1,4 +0,0 @@ -function _tdzError(name) { - throw new ReferenceError(name + " is not defined - temporal dead zone"); -} -module.exports = _tdzError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/temporalRef.js b/node_modules/@babel/runtime/helpers/temporalRef.js deleted file mode 100644 index a9be53d283..0000000000 --- a/node_modules/@babel/runtime/helpers/temporalRef.js +++ /dev/null @@ -1,6 +0,0 @@ -var temporalUndefined = require("./temporalUndefined.js"); -var tdz = require("./tdz.js"); -function _temporalRef(val, name) { - return val === temporalUndefined ? tdz(name) : val; -} -module.exports = _temporalRef, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/temporalUndefined.js b/node_modules/@babel/runtime/helpers/temporalUndefined.js deleted file mode 100644 index f8def80021..0000000000 --- a/node_modules/@babel/runtime/helpers/temporalUndefined.js +++ /dev/null @@ -1,2 +0,0 @@ -function _temporalUndefined() {} -module.exports = _temporalUndefined, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toArray.js b/node_modules/@babel/runtime/helpers/toArray.js deleted file mode 100644 index 5c808c2e8a..0000000000 --- a/node_modules/@babel/runtime/helpers/toArray.js +++ /dev/null @@ -1,8 +0,0 @@ -var arrayWithHoles = require("./arrayWithHoles.js"); -var iterableToArray = require("./iterableToArray.js"); -var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); -var nonIterableRest = require("./nonIterableRest.js"); -function _toArray(arr) { - return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); -} -module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toConsumableArray.js b/node_modules/@babel/runtime/helpers/toConsumableArray.js deleted file mode 100644 index 547c6c444d..0000000000 --- a/node_modules/@babel/runtime/helpers/toConsumableArray.js +++ /dev/null @@ -1,8 +0,0 @@ -var arrayWithoutHoles = require("./arrayWithoutHoles.js"); -var iterableToArray = require("./iterableToArray.js"); -var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); -var nonIterableSpread = require("./nonIterableSpread.js"); -function _toConsumableArray(arr) { - return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); -} -module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toPrimitive.js b/node_modules/@babel/runtime/helpers/toPrimitive.js deleted file mode 100644 index adf63bb5f1..0000000000 --- a/node_modules/@babel/runtime/helpers/toPrimitive.js +++ /dev/null @@ -1,12 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); -} -module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toPropertyKey.js b/node_modules/@babel/runtime/helpers/toPropertyKey.js deleted file mode 100644 index 320bb2b9d7..0000000000 --- a/node_modules/@babel/runtime/helpers/toPropertyKey.js +++ /dev/null @@ -1,7 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -var toPrimitive = require("./toPrimitive.js"); -function _toPropertyKey(arg) { - var key = toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); -} -module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/typeof.js b/node_modules/@babel/runtime/helpers/typeof.js deleted file mode 100644 index aa88477c91..0000000000 --- a/node_modules/@babel/runtime/helpers/typeof.js +++ /dev/null @@ -1,10 +0,0 @@ -function _typeof(obj) { - "@babel/helpers - typeof"; - - return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { - return typeof obj; - } : function (obj) { - return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj); -} -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js b/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js deleted file mode 100644 index b7d18c6a25..0000000000 --- a/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +++ /dev/null @@ -1,10 +0,0 @@ -var arrayLikeToArray = require("./arrayLikeToArray.js"); -function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); -} -module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js b/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js deleted file mode 100644 index a62dcf0282..0000000000 --- a/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +++ /dev/null @@ -1,7 +0,0 @@ -var AsyncGenerator = require("./AsyncGenerator.js"); -function _wrapAsyncGenerator(fn) { - return function () { - return new AsyncGenerator(fn.apply(this, arguments)); - }; -} -module.exports = _wrapAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapNativeSuper.js b/node_modules/@babel/runtime/helpers/wrapNativeSuper.js deleted file mode 100644 index b6ea60c64d..0000000000 --- a/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +++ /dev/null @@ -1,31 +0,0 @@ -var getPrototypeOf = require("./getPrototypeOf.js"); -var setPrototypeOf = require("./setPrototypeOf.js"); -var isNativeFunction = require("./isNativeFunction.js"); -var construct = require("./construct.js"); -function _wrapNativeSuper(Class) { - var _cache = typeof Map === "function" ? new Map() : undefined; - module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { - if (Class === null || !isNativeFunction(Class)) return Class; - if (typeof Class !== "function") { - throw new TypeError("Super expression must either be null or a function"); - } - if (typeof _cache !== "undefined") { - if (_cache.has(Class)) return _cache.get(Class); - _cache.set(Class, Wrapper); - } - function Wrapper() { - return construct(Class, arguments, getPrototypeOf(this).constructor); - } - Wrapper.prototype = Object.create(Class.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true - } - }); - return setPrototypeOf(Wrapper, Class); - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - return _wrapNativeSuper(Class); -} -module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapRegExp.js b/node_modules/@babel/runtime/helpers/wrapRegExp.js deleted file mode 100644 index da710f8353..0000000000 --- a/node_modules/@babel/runtime/helpers/wrapRegExp.js +++ /dev/null @@ -1,51 +0,0 @@ -var _typeof = require("./typeof.js")["default"]; -var setPrototypeOf = require("./setPrototypeOf.js"); -var inherits = require("./inherits.js"); -function _wrapRegExp() { - module.exports = _wrapRegExp = function _wrapRegExp(re, groups) { - return new BabelRegExp(re, void 0, groups); - }, module.exports.__esModule = true, module.exports["default"] = module.exports; - var _super = RegExp.prototype, - _groups = new WeakMap(); - function BabelRegExp(re, flags, groups) { - var _this = new RegExp(re, flags); - return _groups.set(_this, groups || _groups.get(re)), setPrototypeOf(_this, BabelRegExp.prototype); - } - function buildGroups(result, re) { - var g = _groups.get(re); - return Object.keys(g).reduce(function (groups, name) { - var i = g[name]; - if ("number" == typeof i) groups[name] = result[i];else { - for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) k++; - groups[name] = result[i[k]]; - } - return groups; - }, Object.create(null)); - } - return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { - var result = _super.exec.call(this, str); - if (result) { - result.groups = buildGroups(result, this); - var indices = result.indices; - indices && (indices.groups = buildGroups(indices, this)); - } - return result; - }, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { - if ("string" == typeof substitution) { - var groups = _groups.get(this); - return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { - var group = groups[name]; - return "$" + (Array.isArray(group) ? group.join("$") : group); - })); - } - if ("function" == typeof substitution) { - var _this = this; - return _super[Symbol.replace].call(this, str, function () { - var args = arguments; - return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); - }); - } - return _super[Symbol.replace].call(this, str, substitution); - }, _wrapRegExp.apply(this, arguments); -} -module.exports = _wrapRegExp, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/writeOnlyError.js b/node_modules/@babel/runtime/helpers/writeOnlyError.js deleted file mode 100644 index c66c6f29d5..0000000000 --- a/node_modules/@babel/runtime/helpers/writeOnlyError.js +++ /dev/null @@ -1,4 +0,0 @@ -function _writeOnlyError(name) { - throw new TypeError("\"" + name + "\" is write-only"); -} -module.exports = _writeOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/node_modules/@babel/runtime/package.json b/node_modules/@babel/runtime/package.json deleted file mode 100644 index 85b2ccedef..0000000000 --- a/node_modules/@babel/runtime/package.json +++ /dev/null @@ -1,912 +0,0 @@ -{ - "name": "@babel/runtime", - "version": "7.20.7", - "description": "babel's modular runtime helpers", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-runtime" - }, - "homepage": "https://babel.dev/docs/en/next/babel-runtime", - "author": "The Babel Team (https://babel.dev/team)", - "dependencies": { - "regenerator-runtime": "^0.13.11" - }, - "exports": { - "./helpers/AsyncGenerator": [ - { - "node": "./helpers/AsyncGenerator.js", - "import": "./helpers/esm/AsyncGenerator.js", - "default": "./helpers/AsyncGenerator.js" - }, - "./helpers/AsyncGenerator.js" - ], - "./helpers/esm/AsyncGenerator": "./helpers/esm/AsyncGenerator.js", - "./helpers/OverloadYield": [ - { - "node": "./helpers/OverloadYield.js", - "import": "./helpers/esm/OverloadYield.js", - "default": "./helpers/OverloadYield.js" - }, - "./helpers/OverloadYield.js" - ], - "./helpers/esm/OverloadYield": "./helpers/esm/OverloadYield.js", - "./helpers/applyDecs": [ - { - "node": "./helpers/applyDecs.js", - "import": "./helpers/esm/applyDecs.js", - "default": "./helpers/applyDecs.js" - }, - "./helpers/applyDecs.js" - ], - "./helpers/esm/applyDecs": "./helpers/esm/applyDecs.js", - "./helpers/applyDecs2203": [ - { - "node": "./helpers/applyDecs2203.js", - "import": "./helpers/esm/applyDecs2203.js", - "default": "./helpers/applyDecs2203.js" - }, - "./helpers/applyDecs2203.js" - ], - "./helpers/esm/applyDecs2203": "./helpers/esm/applyDecs2203.js", - "./helpers/asyncGeneratorDelegate": [ - { - "node": "./helpers/asyncGeneratorDelegate.js", - "import": "./helpers/esm/asyncGeneratorDelegate.js", - "default": "./helpers/asyncGeneratorDelegate.js" - }, - "./helpers/asyncGeneratorDelegate.js" - ], - "./helpers/esm/asyncGeneratorDelegate": "./helpers/esm/asyncGeneratorDelegate.js", - "./helpers/asyncIterator": [ - { - "node": "./helpers/asyncIterator.js", - "import": "./helpers/esm/asyncIterator.js", - "default": "./helpers/asyncIterator.js" - }, - "./helpers/asyncIterator.js" - ], - "./helpers/esm/asyncIterator": "./helpers/esm/asyncIterator.js", - "./helpers/awaitAsyncGenerator": [ - { - "node": "./helpers/awaitAsyncGenerator.js", - "import": "./helpers/esm/awaitAsyncGenerator.js", - "default": "./helpers/awaitAsyncGenerator.js" - }, - "./helpers/awaitAsyncGenerator.js" - ], - "./helpers/esm/awaitAsyncGenerator": "./helpers/esm/awaitAsyncGenerator.js", - "./helpers/checkInRHS": [ - { - "node": "./helpers/checkInRHS.js", - "import": "./helpers/esm/checkInRHS.js", - "default": "./helpers/checkInRHS.js" - }, - "./helpers/checkInRHS.js" - ], - "./helpers/esm/checkInRHS": "./helpers/esm/checkInRHS.js", - "./helpers/defineAccessor": [ - { - "node": "./helpers/defineAccessor.js", - "import": "./helpers/esm/defineAccessor.js", - "default": "./helpers/defineAccessor.js" - }, - "./helpers/defineAccessor.js" - ], - "./helpers/esm/defineAccessor": "./helpers/esm/defineAccessor.js", - "./helpers/iterableToArrayLimit": [ - { - "node": "./helpers/iterableToArrayLimit.js", - "import": "./helpers/esm/iterableToArrayLimit.js", - "default": "./helpers/iterableToArrayLimit.js" - }, - "./helpers/iterableToArrayLimit.js" - ], - "./helpers/esm/iterableToArrayLimit": "./helpers/esm/iterableToArrayLimit.js", - "./helpers/iterableToArrayLimitLoose": [ - { - "node": "./helpers/iterableToArrayLimitLoose.js", - "import": "./helpers/esm/iterableToArrayLimitLoose.js", - "default": "./helpers/iterableToArrayLimitLoose.js" - }, - "./helpers/iterableToArrayLimitLoose.js" - ], - "./helpers/esm/iterableToArrayLimitLoose": "./helpers/esm/iterableToArrayLimitLoose.js", - "./helpers/jsx": [ - { - "node": "./helpers/jsx.js", - "import": "./helpers/esm/jsx.js", - "default": "./helpers/jsx.js" - }, - "./helpers/jsx.js" - ], - "./helpers/esm/jsx": "./helpers/esm/jsx.js", - "./helpers/objectSpread2": [ - { - "node": "./helpers/objectSpread2.js", - "import": "./helpers/esm/objectSpread2.js", - "default": "./helpers/objectSpread2.js" - }, - "./helpers/objectSpread2.js" - ], - "./helpers/esm/objectSpread2": "./helpers/esm/objectSpread2.js", - "./helpers/regeneratorRuntime": [ - { - "node": "./helpers/regeneratorRuntime.js", - "import": "./helpers/esm/regeneratorRuntime.js", - "default": "./helpers/regeneratorRuntime.js" - }, - "./helpers/regeneratorRuntime.js" - ], - "./helpers/esm/regeneratorRuntime": "./helpers/esm/regeneratorRuntime.js", - "./helpers/typeof": [ - { - "node": "./helpers/typeof.js", - "import": "./helpers/esm/typeof.js", - "default": "./helpers/typeof.js" - }, - "./helpers/typeof.js" - ], - "./helpers/esm/typeof": "./helpers/esm/typeof.js", - "./helpers/wrapRegExp": [ - { - "node": "./helpers/wrapRegExp.js", - "import": "./helpers/esm/wrapRegExp.js", - "default": "./helpers/wrapRegExp.js" - }, - "./helpers/wrapRegExp.js" - ], - "./helpers/esm/wrapRegExp": "./helpers/esm/wrapRegExp.js", - "./helpers/AwaitValue": [ - { - "node": "./helpers/AwaitValue.js", - "import": "./helpers/esm/AwaitValue.js", - "default": "./helpers/AwaitValue.js" - }, - "./helpers/AwaitValue.js" - ], - "./helpers/esm/AwaitValue": "./helpers/esm/AwaitValue.js", - "./helpers/wrapAsyncGenerator": [ - { - "node": "./helpers/wrapAsyncGenerator.js", - "import": "./helpers/esm/wrapAsyncGenerator.js", - "default": "./helpers/wrapAsyncGenerator.js" - }, - "./helpers/wrapAsyncGenerator.js" - ], - "./helpers/esm/wrapAsyncGenerator": "./helpers/esm/wrapAsyncGenerator.js", - "./helpers/asyncToGenerator": [ - { - "node": "./helpers/asyncToGenerator.js", - "import": "./helpers/esm/asyncToGenerator.js", - "default": "./helpers/asyncToGenerator.js" - }, - "./helpers/asyncToGenerator.js" - ], - "./helpers/esm/asyncToGenerator": "./helpers/esm/asyncToGenerator.js", - "./helpers/classCallCheck": [ - { - "node": "./helpers/classCallCheck.js", - "import": "./helpers/esm/classCallCheck.js", - "default": "./helpers/classCallCheck.js" - }, - "./helpers/classCallCheck.js" - ], - "./helpers/esm/classCallCheck": "./helpers/esm/classCallCheck.js", - "./helpers/createClass": [ - { - "node": "./helpers/createClass.js", - "import": "./helpers/esm/createClass.js", - "default": "./helpers/createClass.js" - }, - "./helpers/createClass.js" - ], - "./helpers/esm/createClass": "./helpers/esm/createClass.js", - "./helpers/defineEnumerableProperties": [ - { - "node": "./helpers/defineEnumerableProperties.js", - "import": "./helpers/esm/defineEnumerableProperties.js", - "default": "./helpers/defineEnumerableProperties.js" - }, - "./helpers/defineEnumerableProperties.js" - ], - "./helpers/esm/defineEnumerableProperties": "./helpers/esm/defineEnumerableProperties.js", - "./helpers/defaults": [ - { - "node": "./helpers/defaults.js", - "import": "./helpers/esm/defaults.js", - "default": "./helpers/defaults.js" - }, - "./helpers/defaults.js" - ], - "./helpers/esm/defaults": "./helpers/esm/defaults.js", - "./helpers/defineProperty": [ - { - "node": "./helpers/defineProperty.js", - "import": "./helpers/esm/defineProperty.js", - "default": "./helpers/defineProperty.js" - }, - "./helpers/defineProperty.js" - ], - "./helpers/esm/defineProperty": "./helpers/esm/defineProperty.js", - "./helpers/extends": [ - { - "node": "./helpers/extends.js", - "import": "./helpers/esm/extends.js", - "default": "./helpers/extends.js" - }, - "./helpers/extends.js" - ], - "./helpers/esm/extends": "./helpers/esm/extends.js", - "./helpers/objectSpread": [ - { - "node": "./helpers/objectSpread.js", - "import": "./helpers/esm/objectSpread.js", - "default": "./helpers/objectSpread.js" - }, - "./helpers/objectSpread.js" - ], - "./helpers/esm/objectSpread": "./helpers/esm/objectSpread.js", - "./helpers/inherits": [ - { - "node": "./helpers/inherits.js", - "import": "./helpers/esm/inherits.js", - "default": "./helpers/inherits.js" - }, - "./helpers/inherits.js" - ], - "./helpers/esm/inherits": "./helpers/esm/inherits.js", - "./helpers/inheritsLoose": [ - { - "node": "./helpers/inheritsLoose.js", - "import": "./helpers/esm/inheritsLoose.js", - "default": "./helpers/inheritsLoose.js" - }, - "./helpers/inheritsLoose.js" - ], - "./helpers/esm/inheritsLoose": "./helpers/esm/inheritsLoose.js", - "./helpers/getPrototypeOf": [ - { - "node": "./helpers/getPrototypeOf.js", - "import": "./helpers/esm/getPrototypeOf.js", - "default": "./helpers/getPrototypeOf.js" - }, - "./helpers/getPrototypeOf.js" - ], - "./helpers/esm/getPrototypeOf": "./helpers/esm/getPrototypeOf.js", - "./helpers/setPrototypeOf": [ - { - "node": "./helpers/setPrototypeOf.js", - "import": "./helpers/esm/setPrototypeOf.js", - "default": "./helpers/setPrototypeOf.js" - }, - "./helpers/setPrototypeOf.js" - ], - "./helpers/esm/setPrototypeOf": "./helpers/esm/setPrototypeOf.js", - "./helpers/isNativeReflectConstruct": [ - { - "node": "./helpers/isNativeReflectConstruct.js", - "import": "./helpers/esm/isNativeReflectConstruct.js", - "default": "./helpers/isNativeReflectConstruct.js" - }, - "./helpers/isNativeReflectConstruct.js" - ], - "./helpers/esm/isNativeReflectConstruct": "./helpers/esm/isNativeReflectConstruct.js", - "./helpers/construct": [ - { - "node": "./helpers/construct.js", - "import": "./helpers/esm/construct.js", - "default": "./helpers/construct.js" - }, - "./helpers/construct.js" - ], - "./helpers/esm/construct": "./helpers/esm/construct.js", - "./helpers/isNativeFunction": [ - { - "node": "./helpers/isNativeFunction.js", - "import": "./helpers/esm/isNativeFunction.js", - "default": "./helpers/isNativeFunction.js" - }, - "./helpers/isNativeFunction.js" - ], - "./helpers/esm/isNativeFunction": "./helpers/esm/isNativeFunction.js", - "./helpers/wrapNativeSuper": [ - { - "node": "./helpers/wrapNativeSuper.js", - "import": "./helpers/esm/wrapNativeSuper.js", - "default": "./helpers/wrapNativeSuper.js" - }, - "./helpers/wrapNativeSuper.js" - ], - "./helpers/esm/wrapNativeSuper": "./helpers/esm/wrapNativeSuper.js", - "./helpers/instanceof": [ - { - "node": "./helpers/instanceof.js", - "import": "./helpers/esm/instanceof.js", - "default": "./helpers/instanceof.js" - }, - "./helpers/instanceof.js" - ], - "./helpers/esm/instanceof": "./helpers/esm/instanceof.js", - "./helpers/interopRequireDefault": [ - { - "node": "./helpers/interopRequireDefault.js", - "import": "./helpers/esm/interopRequireDefault.js", - "default": "./helpers/interopRequireDefault.js" - }, - "./helpers/interopRequireDefault.js" - ], - "./helpers/esm/interopRequireDefault": "./helpers/esm/interopRequireDefault.js", - "./helpers/interopRequireWildcard": [ - { - "node": "./helpers/interopRequireWildcard.js", - "import": "./helpers/esm/interopRequireWildcard.js", - "default": "./helpers/interopRequireWildcard.js" - }, - "./helpers/interopRequireWildcard.js" - ], - "./helpers/esm/interopRequireWildcard": "./helpers/esm/interopRequireWildcard.js", - "./helpers/newArrowCheck": [ - { - "node": "./helpers/newArrowCheck.js", - "import": "./helpers/esm/newArrowCheck.js", - "default": "./helpers/newArrowCheck.js" - }, - "./helpers/newArrowCheck.js" - ], - "./helpers/esm/newArrowCheck": "./helpers/esm/newArrowCheck.js", - "./helpers/objectDestructuringEmpty": [ - { - "node": "./helpers/objectDestructuringEmpty.js", - "import": "./helpers/esm/objectDestructuringEmpty.js", - "default": "./helpers/objectDestructuringEmpty.js" - }, - "./helpers/objectDestructuringEmpty.js" - ], - "./helpers/esm/objectDestructuringEmpty": "./helpers/esm/objectDestructuringEmpty.js", - "./helpers/objectWithoutPropertiesLoose": [ - { - "node": "./helpers/objectWithoutPropertiesLoose.js", - "import": "./helpers/esm/objectWithoutPropertiesLoose.js", - "default": "./helpers/objectWithoutPropertiesLoose.js" - }, - "./helpers/objectWithoutPropertiesLoose.js" - ], - "./helpers/esm/objectWithoutPropertiesLoose": "./helpers/esm/objectWithoutPropertiesLoose.js", - "./helpers/objectWithoutProperties": [ - { - "node": "./helpers/objectWithoutProperties.js", - "import": "./helpers/esm/objectWithoutProperties.js", - "default": "./helpers/objectWithoutProperties.js" - }, - "./helpers/objectWithoutProperties.js" - ], - "./helpers/esm/objectWithoutProperties": "./helpers/esm/objectWithoutProperties.js", - "./helpers/assertThisInitialized": [ - { - "node": "./helpers/assertThisInitialized.js", - "import": "./helpers/esm/assertThisInitialized.js", - "default": "./helpers/assertThisInitialized.js" - }, - "./helpers/assertThisInitialized.js" - ], - "./helpers/esm/assertThisInitialized": "./helpers/esm/assertThisInitialized.js", - "./helpers/possibleConstructorReturn": [ - { - "node": "./helpers/possibleConstructorReturn.js", - "import": "./helpers/esm/possibleConstructorReturn.js", - "default": "./helpers/possibleConstructorReturn.js" - }, - "./helpers/possibleConstructorReturn.js" - ], - "./helpers/esm/possibleConstructorReturn": "./helpers/esm/possibleConstructorReturn.js", - "./helpers/createSuper": [ - { - "node": "./helpers/createSuper.js", - "import": "./helpers/esm/createSuper.js", - "default": "./helpers/createSuper.js" - }, - "./helpers/createSuper.js" - ], - "./helpers/esm/createSuper": "./helpers/esm/createSuper.js", - "./helpers/superPropBase": [ - { - "node": "./helpers/superPropBase.js", - "import": "./helpers/esm/superPropBase.js", - "default": "./helpers/superPropBase.js" - }, - "./helpers/superPropBase.js" - ], - "./helpers/esm/superPropBase": "./helpers/esm/superPropBase.js", - "./helpers/get": [ - { - "node": "./helpers/get.js", - "import": "./helpers/esm/get.js", - "default": "./helpers/get.js" - }, - "./helpers/get.js" - ], - "./helpers/esm/get": "./helpers/esm/get.js", - "./helpers/set": [ - { - "node": "./helpers/set.js", - "import": "./helpers/esm/set.js", - "default": "./helpers/set.js" - }, - "./helpers/set.js" - ], - "./helpers/esm/set": "./helpers/esm/set.js", - "./helpers/taggedTemplateLiteral": [ - { - "node": "./helpers/taggedTemplateLiteral.js", - "import": "./helpers/esm/taggedTemplateLiteral.js", - "default": "./helpers/taggedTemplateLiteral.js" - }, - "./helpers/taggedTemplateLiteral.js" - ], - "./helpers/esm/taggedTemplateLiteral": "./helpers/esm/taggedTemplateLiteral.js", - "./helpers/taggedTemplateLiteralLoose": [ - { - "node": "./helpers/taggedTemplateLiteralLoose.js", - "import": "./helpers/esm/taggedTemplateLiteralLoose.js", - "default": "./helpers/taggedTemplateLiteralLoose.js" - }, - "./helpers/taggedTemplateLiteralLoose.js" - ], - "./helpers/esm/taggedTemplateLiteralLoose": "./helpers/esm/taggedTemplateLiteralLoose.js", - "./helpers/readOnlyError": [ - { - "node": "./helpers/readOnlyError.js", - "import": "./helpers/esm/readOnlyError.js", - "default": "./helpers/readOnlyError.js" - }, - "./helpers/readOnlyError.js" - ], - "./helpers/esm/readOnlyError": "./helpers/esm/readOnlyError.js", - "./helpers/writeOnlyError": [ - { - "node": "./helpers/writeOnlyError.js", - "import": "./helpers/esm/writeOnlyError.js", - "default": "./helpers/writeOnlyError.js" - }, - "./helpers/writeOnlyError.js" - ], - "./helpers/esm/writeOnlyError": "./helpers/esm/writeOnlyError.js", - "./helpers/classNameTDZError": [ - { - "node": "./helpers/classNameTDZError.js", - "import": "./helpers/esm/classNameTDZError.js", - "default": "./helpers/classNameTDZError.js" - }, - "./helpers/classNameTDZError.js" - ], - "./helpers/esm/classNameTDZError": "./helpers/esm/classNameTDZError.js", - "./helpers/temporalUndefined": [ - { - "node": "./helpers/temporalUndefined.js", - "import": "./helpers/esm/temporalUndefined.js", - "default": "./helpers/temporalUndefined.js" - }, - "./helpers/temporalUndefined.js" - ], - "./helpers/esm/temporalUndefined": "./helpers/esm/temporalUndefined.js", - "./helpers/tdz": [ - { - "node": "./helpers/tdz.js", - "import": "./helpers/esm/tdz.js", - "default": "./helpers/tdz.js" - }, - "./helpers/tdz.js" - ], - "./helpers/esm/tdz": "./helpers/esm/tdz.js", - "./helpers/temporalRef": [ - { - "node": "./helpers/temporalRef.js", - "import": "./helpers/esm/temporalRef.js", - "default": "./helpers/temporalRef.js" - }, - "./helpers/temporalRef.js" - ], - "./helpers/esm/temporalRef": "./helpers/esm/temporalRef.js", - "./helpers/slicedToArray": [ - { - "node": "./helpers/slicedToArray.js", - "import": "./helpers/esm/slicedToArray.js", - "default": "./helpers/slicedToArray.js" - }, - "./helpers/slicedToArray.js" - ], - "./helpers/esm/slicedToArray": "./helpers/esm/slicedToArray.js", - "./helpers/slicedToArrayLoose": [ - { - "node": "./helpers/slicedToArrayLoose.js", - "import": "./helpers/esm/slicedToArrayLoose.js", - "default": "./helpers/slicedToArrayLoose.js" - }, - "./helpers/slicedToArrayLoose.js" - ], - "./helpers/esm/slicedToArrayLoose": "./helpers/esm/slicedToArrayLoose.js", - "./helpers/toArray": [ - { - "node": "./helpers/toArray.js", - "import": "./helpers/esm/toArray.js", - "default": "./helpers/toArray.js" - }, - "./helpers/toArray.js" - ], - "./helpers/esm/toArray": "./helpers/esm/toArray.js", - "./helpers/toConsumableArray": [ - { - "node": "./helpers/toConsumableArray.js", - "import": "./helpers/esm/toConsumableArray.js", - "default": "./helpers/toConsumableArray.js" - }, - "./helpers/toConsumableArray.js" - ], - "./helpers/esm/toConsumableArray": "./helpers/esm/toConsumableArray.js", - "./helpers/arrayWithoutHoles": [ - { - "node": "./helpers/arrayWithoutHoles.js", - "import": "./helpers/esm/arrayWithoutHoles.js", - "default": "./helpers/arrayWithoutHoles.js" - }, - "./helpers/arrayWithoutHoles.js" - ], - "./helpers/esm/arrayWithoutHoles": "./helpers/esm/arrayWithoutHoles.js", - "./helpers/arrayWithHoles": [ - { - "node": "./helpers/arrayWithHoles.js", - "import": "./helpers/esm/arrayWithHoles.js", - "default": "./helpers/arrayWithHoles.js" - }, - "./helpers/arrayWithHoles.js" - ], - "./helpers/esm/arrayWithHoles": "./helpers/esm/arrayWithHoles.js", - "./helpers/maybeArrayLike": [ - { - "node": "./helpers/maybeArrayLike.js", - "import": "./helpers/esm/maybeArrayLike.js", - "default": "./helpers/maybeArrayLike.js" - }, - "./helpers/maybeArrayLike.js" - ], - "./helpers/esm/maybeArrayLike": "./helpers/esm/maybeArrayLike.js", - "./helpers/iterableToArray": [ - { - "node": "./helpers/iterableToArray.js", - "import": "./helpers/esm/iterableToArray.js", - "default": "./helpers/iterableToArray.js" - }, - "./helpers/iterableToArray.js" - ], - "./helpers/esm/iterableToArray": "./helpers/esm/iterableToArray.js", - "./helpers/unsupportedIterableToArray": [ - { - "node": "./helpers/unsupportedIterableToArray.js", - "import": "./helpers/esm/unsupportedIterableToArray.js", - "default": "./helpers/unsupportedIterableToArray.js" - }, - "./helpers/unsupportedIterableToArray.js" - ], - "./helpers/esm/unsupportedIterableToArray": "./helpers/esm/unsupportedIterableToArray.js", - "./helpers/arrayLikeToArray": [ - { - "node": "./helpers/arrayLikeToArray.js", - "import": "./helpers/esm/arrayLikeToArray.js", - "default": "./helpers/arrayLikeToArray.js" - }, - "./helpers/arrayLikeToArray.js" - ], - "./helpers/esm/arrayLikeToArray": "./helpers/esm/arrayLikeToArray.js", - "./helpers/nonIterableSpread": [ - { - "node": "./helpers/nonIterableSpread.js", - "import": "./helpers/esm/nonIterableSpread.js", - "default": "./helpers/nonIterableSpread.js" - }, - "./helpers/nonIterableSpread.js" - ], - "./helpers/esm/nonIterableSpread": "./helpers/esm/nonIterableSpread.js", - "./helpers/nonIterableRest": [ - { - "node": "./helpers/nonIterableRest.js", - "import": "./helpers/esm/nonIterableRest.js", - "default": "./helpers/nonIterableRest.js" - }, - "./helpers/nonIterableRest.js" - ], - "./helpers/esm/nonIterableRest": "./helpers/esm/nonIterableRest.js", - "./helpers/createForOfIteratorHelper": [ - { - "node": "./helpers/createForOfIteratorHelper.js", - "import": "./helpers/esm/createForOfIteratorHelper.js", - "default": "./helpers/createForOfIteratorHelper.js" - }, - "./helpers/createForOfIteratorHelper.js" - ], - "./helpers/esm/createForOfIteratorHelper": "./helpers/esm/createForOfIteratorHelper.js", - "./helpers/createForOfIteratorHelperLoose": [ - { - "node": "./helpers/createForOfIteratorHelperLoose.js", - "import": "./helpers/esm/createForOfIteratorHelperLoose.js", - "default": "./helpers/createForOfIteratorHelperLoose.js" - }, - "./helpers/createForOfIteratorHelperLoose.js" - ], - "./helpers/esm/createForOfIteratorHelperLoose": "./helpers/esm/createForOfIteratorHelperLoose.js", - "./helpers/skipFirstGeneratorNext": [ - { - "node": "./helpers/skipFirstGeneratorNext.js", - "import": "./helpers/esm/skipFirstGeneratorNext.js", - "default": "./helpers/skipFirstGeneratorNext.js" - }, - "./helpers/skipFirstGeneratorNext.js" - ], - "./helpers/esm/skipFirstGeneratorNext": "./helpers/esm/skipFirstGeneratorNext.js", - "./helpers/toPrimitive": [ - { - "node": "./helpers/toPrimitive.js", - "import": "./helpers/esm/toPrimitive.js", - "default": "./helpers/toPrimitive.js" - }, - "./helpers/toPrimitive.js" - ], - "./helpers/esm/toPrimitive": "./helpers/esm/toPrimitive.js", - "./helpers/toPropertyKey": [ - { - "node": "./helpers/toPropertyKey.js", - "import": "./helpers/esm/toPropertyKey.js", - "default": "./helpers/toPropertyKey.js" - }, - "./helpers/toPropertyKey.js" - ], - "./helpers/esm/toPropertyKey": "./helpers/esm/toPropertyKey.js", - "./helpers/initializerWarningHelper": [ - { - "node": "./helpers/initializerWarningHelper.js", - "import": "./helpers/esm/initializerWarningHelper.js", - "default": "./helpers/initializerWarningHelper.js" - }, - "./helpers/initializerWarningHelper.js" - ], - "./helpers/esm/initializerWarningHelper": "./helpers/esm/initializerWarningHelper.js", - "./helpers/initializerDefineProperty": [ - { - "node": "./helpers/initializerDefineProperty.js", - "import": "./helpers/esm/initializerDefineProperty.js", - "default": "./helpers/initializerDefineProperty.js" - }, - "./helpers/initializerDefineProperty.js" - ], - "./helpers/esm/initializerDefineProperty": "./helpers/esm/initializerDefineProperty.js", - "./helpers/applyDecoratedDescriptor": [ - { - "node": "./helpers/applyDecoratedDescriptor.js", - "import": "./helpers/esm/applyDecoratedDescriptor.js", - "default": "./helpers/applyDecoratedDescriptor.js" - }, - "./helpers/applyDecoratedDescriptor.js" - ], - "./helpers/esm/applyDecoratedDescriptor": "./helpers/esm/applyDecoratedDescriptor.js", - "./helpers/classPrivateFieldLooseKey": [ - { - "node": "./helpers/classPrivateFieldLooseKey.js", - "import": "./helpers/esm/classPrivateFieldLooseKey.js", - "default": "./helpers/classPrivateFieldLooseKey.js" - }, - "./helpers/classPrivateFieldLooseKey.js" - ], - "./helpers/esm/classPrivateFieldLooseKey": "./helpers/esm/classPrivateFieldLooseKey.js", - "./helpers/classPrivateFieldLooseBase": [ - { - "node": "./helpers/classPrivateFieldLooseBase.js", - "import": "./helpers/esm/classPrivateFieldLooseBase.js", - "default": "./helpers/classPrivateFieldLooseBase.js" - }, - "./helpers/classPrivateFieldLooseBase.js" - ], - "./helpers/esm/classPrivateFieldLooseBase": "./helpers/esm/classPrivateFieldLooseBase.js", - "./helpers/classPrivateFieldGet": [ - { - "node": "./helpers/classPrivateFieldGet.js", - "import": "./helpers/esm/classPrivateFieldGet.js", - "default": "./helpers/classPrivateFieldGet.js" - }, - "./helpers/classPrivateFieldGet.js" - ], - "./helpers/esm/classPrivateFieldGet": "./helpers/esm/classPrivateFieldGet.js", - "./helpers/classPrivateFieldSet": [ - { - "node": "./helpers/classPrivateFieldSet.js", - "import": "./helpers/esm/classPrivateFieldSet.js", - "default": "./helpers/classPrivateFieldSet.js" - }, - "./helpers/classPrivateFieldSet.js" - ], - "./helpers/esm/classPrivateFieldSet": "./helpers/esm/classPrivateFieldSet.js", - "./helpers/classPrivateFieldDestructureSet": [ - { - "node": "./helpers/classPrivateFieldDestructureSet.js", - "import": "./helpers/esm/classPrivateFieldDestructureSet.js", - "default": "./helpers/classPrivateFieldDestructureSet.js" - }, - "./helpers/classPrivateFieldDestructureSet.js" - ], - "./helpers/esm/classPrivateFieldDestructureSet": "./helpers/esm/classPrivateFieldDestructureSet.js", - "./helpers/classExtractFieldDescriptor": [ - { - "node": "./helpers/classExtractFieldDescriptor.js", - "import": "./helpers/esm/classExtractFieldDescriptor.js", - "default": "./helpers/classExtractFieldDescriptor.js" - }, - "./helpers/classExtractFieldDescriptor.js" - ], - "./helpers/esm/classExtractFieldDescriptor": "./helpers/esm/classExtractFieldDescriptor.js", - "./helpers/classStaticPrivateFieldSpecGet": [ - { - "node": "./helpers/classStaticPrivateFieldSpecGet.js", - "import": "./helpers/esm/classStaticPrivateFieldSpecGet.js", - "default": "./helpers/classStaticPrivateFieldSpecGet.js" - }, - "./helpers/classStaticPrivateFieldSpecGet.js" - ], - "./helpers/esm/classStaticPrivateFieldSpecGet": "./helpers/esm/classStaticPrivateFieldSpecGet.js", - "./helpers/classStaticPrivateFieldSpecSet": [ - { - "node": "./helpers/classStaticPrivateFieldSpecSet.js", - "import": "./helpers/esm/classStaticPrivateFieldSpecSet.js", - "default": "./helpers/classStaticPrivateFieldSpecSet.js" - }, - "./helpers/classStaticPrivateFieldSpecSet.js" - ], - "./helpers/esm/classStaticPrivateFieldSpecSet": "./helpers/esm/classStaticPrivateFieldSpecSet.js", - "./helpers/classStaticPrivateMethodGet": [ - { - "node": "./helpers/classStaticPrivateMethodGet.js", - "import": "./helpers/esm/classStaticPrivateMethodGet.js", - "default": "./helpers/classStaticPrivateMethodGet.js" - }, - "./helpers/classStaticPrivateMethodGet.js" - ], - "./helpers/esm/classStaticPrivateMethodGet": "./helpers/esm/classStaticPrivateMethodGet.js", - "./helpers/classStaticPrivateMethodSet": [ - { - "node": "./helpers/classStaticPrivateMethodSet.js", - "import": "./helpers/esm/classStaticPrivateMethodSet.js", - "default": "./helpers/classStaticPrivateMethodSet.js" - }, - "./helpers/classStaticPrivateMethodSet.js" - ], - "./helpers/esm/classStaticPrivateMethodSet": "./helpers/esm/classStaticPrivateMethodSet.js", - "./helpers/classApplyDescriptorGet": [ - { - "node": "./helpers/classApplyDescriptorGet.js", - "import": "./helpers/esm/classApplyDescriptorGet.js", - "default": "./helpers/classApplyDescriptorGet.js" - }, - "./helpers/classApplyDescriptorGet.js" - ], - "./helpers/esm/classApplyDescriptorGet": "./helpers/esm/classApplyDescriptorGet.js", - "./helpers/classApplyDescriptorSet": [ - { - "node": "./helpers/classApplyDescriptorSet.js", - "import": "./helpers/esm/classApplyDescriptorSet.js", - "default": "./helpers/classApplyDescriptorSet.js" - }, - "./helpers/classApplyDescriptorSet.js" - ], - "./helpers/esm/classApplyDescriptorSet": "./helpers/esm/classApplyDescriptorSet.js", - "./helpers/classApplyDescriptorDestructureSet": [ - { - "node": "./helpers/classApplyDescriptorDestructureSet.js", - "import": "./helpers/esm/classApplyDescriptorDestructureSet.js", - "default": "./helpers/classApplyDescriptorDestructureSet.js" - }, - "./helpers/classApplyDescriptorDestructureSet.js" - ], - "./helpers/esm/classApplyDescriptorDestructureSet": "./helpers/esm/classApplyDescriptorDestructureSet.js", - "./helpers/classStaticPrivateFieldDestructureSet": [ - { - "node": "./helpers/classStaticPrivateFieldDestructureSet.js", - "import": "./helpers/esm/classStaticPrivateFieldDestructureSet.js", - "default": "./helpers/classStaticPrivateFieldDestructureSet.js" - }, - "./helpers/classStaticPrivateFieldDestructureSet.js" - ], - "./helpers/esm/classStaticPrivateFieldDestructureSet": "./helpers/esm/classStaticPrivateFieldDestructureSet.js", - "./helpers/classCheckPrivateStaticAccess": [ - { - "node": "./helpers/classCheckPrivateStaticAccess.js", - "import": "./helpers/esm/classCheckPrivateStaticAccess.js", - "default": "./helpers/classCheckPrivateStaticAccess.js" - }, - "./helpers/classCheckPrivateStaticAccess.js" - ], - "./helpers/esm/classCheckPrivateStaticAccess": "./helpers/esm/classCheckPrivateStaticAccess.js", - "./helpers/classCheckPrivateStaticFieldDescriptor": [ - { - "node": "./helpers/classCheckPrivateStaticFieldDescriptor.js", - "import": "./helpers/esm/classCheckPrivateStaticFieldDescriptor.js", - "default": "./helpers/classCheckPrivateStaticFieldDescriptor.js" - }, - "./helpers/classCheckPrivateStaticFieldDescriptor.js" - ], - "./helpers/esm/classCheckPrivateStaticFieldDescriptor": "./helpers/esm/classCheckPrivateStaticFieldDescriptor.js", - "./helpers/decorate": [ - { - "node": "./helpers/decorate.js", - "import": "./helpers/esm/decorate.js", - "default": "./helpers/decorate.js" - }, - "./helpers/decorate.js" - ], - "./helpers/esm/decorate": "./helpers/esm/decorate.js", - "./helpers/classPrivateMethodGet": [ - { - "node": "./helpers/classPrivateMethodGet.js", - "import": "./helpers/esm/classPrivateMethodGet.js", - "default": "./helpers/classPrivateMethodGet.js" - }, - "./helpers/classPrivateMethodGet.js" - ], - "./helpers/esm/classPrivateMethodGet": "./helpers/esm/classPrivateMethodGet.js", - "./helpers/checkPrivateRedeclaration": [ - { - "node": "./helpers/checkPrivateRedeclaration.js", - "import": "./helpers/esm/checkPrivateRedeclaration.js", - "default": "./helpers/checkPrivateRedeclaration.js" - }, - "./helpers/checkPrivateRedeclaration.js" - ], - "./helpers/esm/checkPrivateRedeclaration": "./helpers/esm/checkPrivateRedeclaration.js", - "./helpers/classPrivateFieldInitSpec": [ - { - "node": "./helpers/classPrivateFieldInitSpec.js", - "import": "./helpers/esm/classPrivateFieldInitSpec.js", - "default": "./helpers/classPrivateFieldInitSpec.js" - }, - "./helpers/classPrivateFieldInitSpec.js" - ], - "./helpers/esm/classPrivateFieldInitSpec": "./helpers/esm/classPrivateFieldInitSpec.js", - "./helpers/classPrivateMethodInitSpec": [ - { - "node": "./helpers/classPrivateMethodInitSpec.js", - "import": "./helpers/esm/classPrivateMethodInitSpec.js", - "default": "./helpers/classPrivateMethodInitSpec.js" - }, - "./helpers/classPrivateMethodInitSpec.js" - ], - "./helpers/esm/classPrivateMethodInitSpec": "./helpers/esm/classPrivateMethodInitSpec.js", - "./helpers/classPrivateMethodSet": [ - { - "node": "./helpers/classPrivateMethodSet.js", - "import": "./helpers/esm/classPrivateMethodSet.js", - "default": "./helpers/classPrivateMethodSet.js" - }, - "./helpers/classPrivateMethodSet.js" - ], - "./helpers/esm/classPrivateMethodSet": "./helpers/esm/classPrivateMethodSet.js", - "./helpers/identity": [ - { - "node": "./helpers/identity.js", - "import": "./helpers/esm/identity.js", - "default": "./helpers/identity.js" - }, - "./helpers/identity.js" - ], - "./helpers/esm/identity": "./helpers/esm/identity.js", - "./package": "./package.json", - "./package.json": "./package.json", - "./regenerator": "./regenerator/index.js", - "./regenerator/*.js": "./regenerator/*.js", - "./regenerator/": "./regenerator/" - }, - "engines": { - "node": ">=6.9.0" - }, - "type": "commonjs" -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/regenerator/index.js b/node_modules/@babel/runtime/regenerator/index.js deleted file mode 100644 index 5881357364..0000000000 --- a/node_modules/@babel/runtime/regenerator/index.js +++ /dev/null @@ -1,15 +0,0 @@ -// TODO(Babel 8): Remove this file. - -var runtime = require("../helpers/regeneratorRuntime")(); -module.exports = runtime; - -// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= -try { - regeneratorRuntime = runtime; -} catch (accidentalStrictMode) { - if (typeof globalThis === "object") { - globalThis.regeneratorRuntime = runtime; - } else { - Function("r", "regeneratorRuntime = r")(runtime); - } -} diff --git a/node_modules/@octokit/types/dist-types/RequestParameters.d.ts b/node_modules/@octokit/types/dist-types/RequestParameters.d.ts index e3ef2ccc12..8032acc2e6 100644 --- a/node_modules/@octokit/types/dist-types/RequestParameters.d.ts +++ b/node_modules/@octokit/types/dist-types/RequestParameters.d.ts @@ -30,6 +30,16 @@ export type RequestParameters = { */ previews?: string[]; }; + /** + * The name of the operation to execute. + * Required only if multiple operations are present in the query document. + */ + operationName?: string; + /** + * The GraphQL query string to be sent in the request. + * This is required and must contain a valid GraphQL document. + */ + query?: string; /** * Pass custom meta information for the request. The `request` object will be returned as is. */ diff --git a/node_modules/@octokit/types/dist-types/VERSION.d.ts b/node_modules/@octokit/types/dist-types/VERSION.d.ts index 9d5f7d513b..db3f511e40 100644 --- a/node_modules/@octokit/types/dist-types/VERSION.d.ts +++ b/node_modules/@octokit/types/dist-types/VERSION.d.ts @@ -1 +1 @@ -export declare const VERSION = "13.7.0"; +export declare const VERSION = "13.8.0"; diff --git a/node_modules/@octokit/types/package.json b/node_modules/@octokit/types/package.json index b99f7a4f3d..cfc5e54178 100644 --- a/node_modules/@octokit/types/package.json +++ b/node_modules/@octokit/types/package.json @@ -1,6 +1,6 @@ { "name": "@octokit/types", - "version": "13.7.0", + "version": "13.8.0", "publishConfig": { "access": "public", "provenance": true diff --git a/node_modules/is-map/LICENSE b/node_modules/@rtsao/scc/LICENSE similarity index 97% rename from node_modules/is-map/LICENSE rename to node_modules/@rtsao/scc/LICENSE index c05eb206bd..a7cb450bed 100644 --- a/node_modules/is-map/LICENSE +++ b/node_modules/@rtsao/scc/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Inspect JS +Copyright (c) 2019 Ryan Tsao 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/@rtsao/scc/README.md b/node_modules/@rtsao/scc/README.md new file mode 100644 index 0000000000..4697edd2ef --- /dev/null +++ b/node_modules/@rtsao/scc/README.md @@ -0,0 +1,49 @@ +# `@rtsao/scc` + +Find strongly connected components of a directed graph using [Tarjan's algorithm](https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm). + +This algorithm efficiently yields both a topological order and list of any cycles. + +## Installation + +``` +yarn add @rtsao/scc +``` + +``` +npm install @rtsao/scc +``` + +## Usage + +```js +const scc = require("@rtsao/scc"); + +const digraph = new Map([ + ["a", new Set(["c", "d"])], + ["b", new Set(["a"])], + ["c", new Set(["b"])], + ["d", new Set(["e"])], + ["e", new Set()] +]); + +const components = scc(digraph); +// [ Set { 'e' }, Set { 'd' }, Set { 'b', 'c', 'a' } ] +``` + +#### Illustration of example input digraph +``` +┌───┐ ┌───┐ +│ d │ ◀── │ a │ ◀┐ +└───┘ └───┘ │ + │ │ │ + ▼ ▼ │ +┌───┐ ┌───┐ │ +│ e │ │ c │ │ +└───┘ └───┘ │ + │ │ + ▼ │ + ┌───┐ │ + │ b │ ─┘ + └───┘ +``` diff --git a/node_modules/@rtsao/scc/index.d.ts b/node_modules/@rtsao/scc/index.d.ts new file mode 100644 index 0000000000..ed46b8bc09 --- /dev/null +++ b/node_modules/@rtsao/scc/index.d.ts @@ -0,0 +1 @@ +export default function tarjan(graph: Map>): Array> diff --git a/node_modules/@rtsao/scc/index.js b/node_modules/@rtsao/scc/index.js new file mode 100644 index 0000000000..b7dd5bb479 --- /dev/null +++ b/node_modules/@rtsao/scc/index.js @@ -0,0 +1,51 @@ +"use strict"; + +module.exports = tarjan; + +// Adapted from https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm#The_algorithm_in_pseudocode + +function tarjan(graph) { + const indices = new Map(); + const lowlinks = new Map(); + const onStack = new Set(); + const stack = []; + const scc = []; + let idx = 0; + + function strongConnect(v) { + indices.set(v, idx); + lowlinks.set(v, idx); + idx++; + stack.push(v); + onStack.add(v); + + const deps = graph.get(v); + for (const dep of deps) { + if (!indices.has(dep)) { + strongConnect(dep); + lowlinks.set(v, Math.min(lowlinks.get(v), lowlinks.get(dep))); + } else if (onStack.has(dep)) { + lowlinks.set(v, Math.min(lowlinks.get(v), indices.get(dep))); + } + } + + if (lowlinks.get(v) === indices.get(v)) { + const vertices = new Set(); + let w = null; + while (v !== w) { + w = stack.pop(); + onStack.delete(w); + vertices.add(w); + } + scc.push(vertices); + } + } + + for (const v of graph.keys()) { + if (!indices.has(v)) { + strongConnect(v); + } + } + + return scc; +} diff --git a/node_modules/@rtsao/scc/index.js.flow b/node_modules/@rtsao/scc/index.js.flow new file mode 100644 index 0000000000..479ff4ff6a --- /dev/null +++ b/node_modules/@rtsao/scc/index.js.flow @@ -0,0 +1,5 @@ +// @flow + +declare function tarjan(graph: Map>): Array>; + +declare module.exports: typeof tarjan; diff --git a/node_modules/@rtsao/scc/package.json b/node_modules/@rtsao/scc/package.json new file mode 100644 index 0000000000..67f67ccd99 --- /dev/null +++ b/node_modules/@rtsao/scc/package.json @@ -0,0 +1,7 @@ +{ + "name": "@rtsao/scc", + "version": "1.1.0", + "repository": "rtsao/scc", + "main": "index.js", + "license": "MIT" +} diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js index 74fec111c5..ca37cd6fcb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js @@ -32,7 +32,7 @@ exports.default = (0, util_1.createRule)({ }, }, ignoreClassesThatImplementAnInterface: { - description: 'Makes the rule ignore class members that are defined within a class that `implements` a type', + description: 'Whether to ignore class members that are defined within a class that `implements` a type.', oneOf: [ { type: 'boolean', @@ -47,7 +47,7 @@ exports.default = (0, util_1.createRule)({ }, ignoreOverrideMethods: { type: 'boolean', - description: 'Ignore members marked with the `override` modifier', + description: 'Whether to ignore members marked with the `override` modifier.', }, }, }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js.map index a3d356954b..fc8fd62417 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js.map @@ -1 +1 @@ -{"version":3,"file":"class-methods-use-this.js","sourceRoot":"","sources":["../../src/rules/class-methods-use-this.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAKiB;AAYjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,eAAe,EAAE,IAAI;YACrB,oBAAoB,EAAE,KAAK;SAC5B;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,+CAA+C;SAC7D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,qBAAqB,EAAE;wBACrB,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,IAAI;wBACb,WAAW,EACT,6EAA6E;qBAChF;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,6DAA6D;wBAC/D,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,qCAAqC,EAAE;wBACrC,WAAW,EACT,8FAA8F;wBAChG,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,SAAS;gCACf,WAAW,EAAE,gDAAgD;6BAC9D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CAAC,EAAE,CAAC;YAEP;;eAEG;YACH,yBAAyB;gBACvB,UAAU,EAAE,CAAC;YACf,CAAC;YACD,iCAAiC;gBAC/B,WAAW,EAAE,CAAC;YAChB,CAAC;YAED;;;;;eAKG;YACH,WAAW;gBACT,WAAW,EAAE,CAAC;YAChB,CAAC;YACD,kBAAkB;gBAChB,UAAU,EAAE,CAAC;YACf,CAAC;YAED,uBAAuB;gBACrB,IAAI,KAAK,EAAE,CAAC;oBACV,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACxB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"class-methods-use-this.js","sourceRoot":"","sources":["../../src/rules/class-methods-use-this.ts"],"names":[],"mappings":";;AAEA,oDAA0D;AAE1D,kCAKiB;AAYjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,eAAe,EAAE,IAAI;YACrB,oBAAoB,EAAE,KAAK;SAC5B;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,+CAA+C;SAC7D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,qBAAqB,EAAE;wBACrB,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,IAAI;wBACb,WAAW,EACT,6EAA6E;qBAChF;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EACT,6DAA6D;wBAC/D,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,qCAAqC,EAAE;wBACrC,WAAW,EACT,2FAA2F;wBAC7F,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,SAAS;gCACf,WAAW,EAAE,gDAAgD;6BAC9D;4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C,EAAE,CAAC;YAEP;;eAEG;YACH,yBAAyB;gBACvB,UAAU,EAAE,CAAC;YACf,CAAC;YACD,iCAAiC;gBAC/B,WAAW,EAAE,CAAC;YAChB,CAAC;YAED;;;;;eAKG;YACH,WAAW;gBACT,WAAW,EAAE,CAAC;YAChB,CAAC;YACD,kBAAkB;gBAChB,UAAU,EAAE,CAAC;YACf,CAAC;YAED,uBAAuB;gBACrB,IAAI,KAAK,EAAE,CAAC;oBACV,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACxB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js index 05f5ce6a36..ba4d042e14 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js @@ -100,6 +100,7 @@ exports.default = (0, util_1.createRule)({ create(context, [options]) { const rules = baseRule.create(context); const services = (0, util_1.getParserServices)(context); + const checker = services.program.getTypeChecker(); const allowPrivateClassPropertyAccess = options.allowPrivateClassPropertyAccess; const allowProtectedClassPropertyAccess = options.allowProtectedClassPropertyAccess; const allowIndexSignaturePropertyAccess = (options.allowIndexSignaturePropertyAccess ?? false) || @@ -126,11 +127,11 @@ exports.default = (0, util_1.createRule)({ return; } if (propertySymbol == null && allowIndexSignaturePropertyAccess) { - const objectType = services.getTypeAtLocation(node.object); - const indexType = objectType - .getNonNullableType() - .getStringIndexType(); - if (indexType != null) { + const objectType = services + .getTypeAtLocation(node.object) + .getNonNullableType(); + const indexInfos = checker.getIndexInfosOfType(objectType); + if (indexInfos.some(info => info.keyType.flags & ts.TypeFlags.StringLike)) { return; } } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map index f49b3eb9e9..17269767ef 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map @@ -1 +1 @@ -{"version":3,"file":"dot-notation.js","sourceRoot":"","sources":["../../src/rules/dot-notation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAOjC,kCAAsE;AACtE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,cAAc,CAAC,CAAC;AAKnD,MAAM,cAAc,GAAY;IAC9B;QACE,iCAAiC,EAAE,KAAK;QACxC,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,EAAE;QAChB,+BAA+B,EAAE,KAAK;QACtC,iCAAiC,EAAE,KAAK;KACzC;CACF,CAAC;AAEF,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,cAAc;QACd,IAAI,EAAE;YACJ,WAAW,EAAE,wCAAwC;YACrD,eAAe,EAAE,IAAI;YACrB,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO;QAC9B,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,iCAAiC,EAAE;wBACjC,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,KAAK;wBACd,WAAW,EACT,wFAAwF;qBAC3F;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,IAAI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AAC,IAAI,KAAK,sBAAc,CAAC,OAAO;4BAC7C,cAAc,CAAC,WAAW,KAAK,IAAI,CAAC,QAAQ,CAAC,KAAK,CACrD,CAAC;oBACN,MAAM,YAAY,GAAG,IAAA,mBAAY,EAC/B,cAAc,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,CACvC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;oBACZ,IACE,CAAC,+BAA+B;wBAC9B,YAAY,KAAK,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC;wBAChD,CAAC,iCAAiC;4BAChC,YAAY,KAAK,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAClD,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IAAI,cAAc,IAAI,IAAI,IAAI,iCAAiC,EAAE,CAAC;wBAChE,MAAM,UAAU,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;wBAC3D,MAAM,SAAS,GAAG,UAAU;6BACzB,kBAAkB,EAAE;6BACpB,kBAAkB,EAAE,CAAC;wBACxB,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;4BACtB,OAAO;wBACT,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;YAC/B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"dot-notation.js","sourceRoot":"","sources":["../../src/rules/dot-notation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAOjC,kCAAsE;AACtE,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,cAAc,CAAC,CAAC;AAKnD,MAAM,cAAc,GAAY;IAC9B;QACE,iCAAiC,EAAE,KAAK;QACxC,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE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AAO;oBACT,CAAC;oBACD,IAAI,cAAc,IAAI,IAAI,IAAI,iCAAiC,EAAE,CAAC;wBAChE,MAAM,UAAU,GAAG,QAAQ;6BACxB,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC;6BAC9B,kBAAkB,EAAE,CAAC;wBACxB,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;wBAC3D,IACE,UAAU,CAAC,IAAI,CACb,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CACrD,EACD,CAAC;4BACD,OAAO;wBACT,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;YAC/B,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js index ed76b45712..cf89e3c1a3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js @@ -163,20 +163,27 @@ exports.default = (0, util_1.createRule)({ } const restrictedPatterns = getRestrictedPatterns(options); const allowedImportTypeMatchers = []; + const allowedImportTypeRegexMatchers = []; for (const restrictedPattern of restrictedPatterns) { if (typeof restrictedPattern === 'object' && restrictedPattern.allowTypeImports) { // Following how ignore is configured in the base rule - allowedImportTypeMatchers.push((0, ignore_1.default)({ - allowRelativePaths: true, - ignoreCase: !restrictedPattern.caseSensitive, - }).add(restrictedPattern.group)); + if (restrictedPattern.group) { + allowedImportTypeMatchers.push((0, ignore_1.default)({ + allowRelativePaths: true, + ignoreCase: !restrictedPattern.caseSensitive, + }).add(restrictedPattern.group)); + } + if (restrictedPattern.regex) { + allowedImportTypeRegexMatchers.push(new RegExp(restrictedPattern.regex, restrictedPattern.caseSensitive ? 'u' : 'iu')); + } } } function isAllowedTypeImportPattern(importSource) { return ( // As long as there's one matching pattern that allows type import - allowedImportTypeMatchers.some(matcher => matcher.ignores(importSource))); + allowedImportTypeMatchers.some(matcher => matcher.ignores(importSource)) || + allowedImportTypeRegexMatchers.some(regex => regex.test(importSource))); } function checkImportNode(node) { if (node.importKind === 'type' || diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map index c8a9b7367b..a5ebbce59a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map @@ -1 +1 @@ -{"version":3,"file":"no-restricted-imports.js","sourceRoot":"","sources":["../../src/rules/no-restricted-imports.ts"],"names":[],"mappings":";;;;;AAaA,oDAA0D;AAC1D,oDAA4B;AAO5B,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,uBAAuB,CAAC,CAAC;AAK5D,iFAAiF;AACjF,gFAAgF;AAChF,kDAAkD;AAClD,MAAM,SAAS,GAAG,CAAI,MAAe,EAAE,QAAW,EAAK,EAAE;IACvD,IAAI,CAAC;QACH,OAAO,MAAM,EAAE,CAAC;IAClB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,MAwChC,CAAC;AAEF,MAAM,4BAA4B,GAA0C;IAC1E,gBAAgB,EAAE;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,gDAAgD;KAC9D;CACF,CAAC;AAEF,MAAM,uBAAuB,GAA2B;IACtD,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,KAAK,EAAE;YACL,EA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CAAC,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,yBAAyB,EACtE,CAAC;oBACD,MAAM,iBAAiB,GAA+B;wBACpD,GAAG,IAAI;wBACP,IAAI,EAAE,sBAAc,CAAC,iBAAiB;wBACtC,UAAU,EAAE,EAAE;wBACd,UAAU,EAAE,EAAE;wBACd,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,UAAU;wBACvC,UAAU,EAAE;4BACV;gCACE,GAAG,IAAI,CAAC,EAAE;gCACV,IAAI,EAAE,sBAAc,CAAC,sBAAsB;gCAC3C,KAAK,EAAE,IAAI,CAAC,EAAE;gCACd,qGAAqG;gCACrG,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,MAAM;6BACvB;yBACF;qBACF,CAAC;oBACF,OAAO,eAAe,CAAC,iBAAiB,CAAC,CAAC;gBAC5C,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-restricted-imports.js","sourceRoot":"","sources":["../../src/rules/no-restricted-imports.ts"],"names":[],"mappings":";;;;;AAaA,oDAA0D;AAC1D,oDAA4B;AAO5B,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,uBAAuB,CAAC,CAAC;AAK5D,iFAAiF;AACjF,gFAAgF;AAChF,kDAAkD;AAClD,MAAM,SAAS,GAAG,CAAI,MAAe,EAAE,QAAW,EAAK,EAAE;IACvD,IAAI,CAAC;QACH,OAAO,MAAM,EAAE,CAAC;IAClB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,MAwChC,CAAC;AAEF,MAAM,4BAA4B,GAA0C;IAC1E,gBAAgB,EAAE;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,gDAAgD;KAC9D;CACF,CAAC;AAEF,MAAM,uB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,CAAC,EAAE,CAAC,SAAS,CAAC,UAAU,KAAK,MAAM,CAAC,CAAC,EACtE,CAAC;oBACD,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;oBAC9C,IACE,CAAC,uBAAuB,CAAC,YAAY,CAAC;wBACtC,CAAC,0BAA0B,CAAC,YAAY,CAAC,EACzC,CAAC;wBACD,OAAO,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;oBAC5C,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,OAAO,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC;YACH,CAAC;YACD,iBAAiB,EAAE,eAAe;YAClC,yBAAyB,CACvB,IAAwC;gBAExC,IACE,IAAI,CAAC,eAAe,CAAC,IAAI,KAAK,sBAAc,CAAC,yBAAyB,EACtE,CAAC;oBACD,MAAM,iBAAiB,GAA+B;wBACpD,GAAG,IAAI;wBACP,IAAI,EAAE,sBAAc,CAAC,iBAAiB;wBACtC,UAAU,EAAE,EAAE;wBACd,UAAU,EAAE,EAAE;wBACd,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,UAAU;wBACvC,UAAU,EAAE;4BACV;gCACE,GAAG,IAAI,CAAC,EAAE;gCACV,IAAI,EAAE,sBAAc,CAAC,sBAAsB;gCAC3C,KAAK,EAAE,IAAI,CAAC,EAAE;gCACd,qGAAqG;gCACrG,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,MAAM;6BACvB;yBACF;qBACF,CAAC;oBACF,OAAO,eAAe,CAAC,iBAAiB,CAAC,CAAC;gBAC5C,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js index 67a839e6a5..2771c92725 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js @@ -401,6 +401,22 @@ exports.default = (0, util_1.createRule)({ global: true, }; } + /** + * Checks if the initialization of a variable has the declare modifier in a + * definition file. + */ + function isDeclareInDTSFile(variable) { + const fileName = context.filename; + if (!(0, util_1.isDefinitionFile)(fileName)) { + return false; + } + return variable.defs.some(def => { + return ((def.type === scope_manager_1.DefinitionType.Variable && def.parent.declare) || + (def.type === scope_manager_1.DefinitionType.ClassName && def.node.declare) || + (def.type === scope_manager_1.DefinitionType.TSEnumName && def.node.declare) || + (def.type === scope_manager_1.DefinitionType.TSModuleName && def.node.declare)); + }); + } /** * Checks the current context for shadowed variables. * @param scope Fixme @@ -432,6 +448,10 @@ exports.default = (0, util_1.createRule)({ if (isAllowed(variable)) { continue; } + // ignore variables with the declare keyword in .d.ts files + if (isDeclareInDTSFile(variable)) { + continue; + } // Gets shadowed variable. const shadowed = scope.upper ? utils_1.ASTUtils.findVariable(scope.upper, variable.name) diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map index 0446576418..f6ec119847 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map @@ -1 +1 @@ -{"version":3,"file":"no-shadow.js","sourceRoot":"","sources":["../../src/rules/no-shadow.ts"],"names":[],"mappings":";;AAEA,oEAA6E;AAC7E,oDAAoE;AAEpE,kCAAqC;AACrC,uDAAoD;AAcpD,MAAM,+BAA+B,GAAG,IAAI,GAAG,CAAC;IAC9C,sBAAc,CAAC,0BAA0B;IACzC,sBAAc,CAAC,cAAc;IAC7B,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,6BAA6B;IAC5C,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,+BAA+B;IAC9C,sBAA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AAM,EAAE,CAAC;oBACpB,oEAAoE;oBACpE,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,EAAG,CAAC;oBAE3B,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;oBACjC,eAAe,CAAC,KAAK,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-shadow.js","sourceRoot":"","sources":["../../src/rules/no-shadow.ts"],"names":[],"mappings":";;AAEA,oEAA6E;AAC7E,oDAAoE;AAEpE,kCAAuD;AACvD,uDAAoD;AAcpD,MAAM,+BAA+B,GAAG,IAAI,GAAG,CAAC;IAC9C,sBAAc,CAAC,0BAA0B;IACzC,sBAAc,CAAC,cAAc;IAC7B,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,6BAA6B;IAC5C,sBAAc,CAAC,iBAAiB;IAChC,sBAAc,CAAC,+BAA+B;IAC9C,sBAAc,CAAC,iBAAiB;CACjC,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC,CAAC,sBAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAE5E,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,sBAAc,CAAC,sBAAsB;IACrC,sBAAc,CAAC,sBAAsB;CACtC,CAAC,CAAC;AAEH,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,qFAAqF;YACvF,eAAe,EAAE,IAAI;SACtB;QACD,QAAQ,EAAE;YACR,QAAQ,EACN,uGAAuG;YACzG,cAAc,EAAE,0CAA0C;SAC3D;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,KAAK,EA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AC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;gBACtD,MAAM,KAAK,GAAG,CAAC,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;gBAE3C,OAAO,KAAK,CAAC,MAAM,EAAE,CAAC;oBACpB,oEAAoE;oBACpE,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,EAAG,CAAC;oBAE3B,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;oBACjC,eAAe,CAAC,KAAK,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js index 8902d501a2..3cdd1e9988 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js @@ -53,6 +53,7 @@ exports.default = (0, util_1.createRule)({ comparingNullableToTrueNegated: 'This expression unnecessarily compares a nullable boolean value to true instead of negating it.', direct: 'This expression unnecessarily compares a boolean value to a boolean instead of using it directly.', negated: 'This expression unnecessarily compares a boolean value to a boolean instead of negating it.', + noStrictNullCheck: 'This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.', }, schema: [ { @@ -67,6 +68,10 @@ exports.default = (0, util_1.createRule)({ type: 'boolean', description: 'Whether to allow comparisons between nullable boolean variables and `true`.', }, + allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: { + type: 'boolean', + description: 'Unless this is set to `true`, the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`.', + }, }, }, ], @@ -75,11 +80,24 @@ exports.default = (0, util_1.createRule)({ { allowComparingNullableBooleansToFalse: true, allowComparingNullableBooleansToTrue: true, + allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false, }, ], create(context, [options]) { const services = (0, util_1.getParserServices)(context); const checker = services.program.getTypeChecker(); + const compilerOptions = services.program.getCompilerOptions(); + const isStrictNullChecks = tsutils.isStrictCompilerOptionEnabled(compilerOptions, 'strictNullChecks'); + if (!isStrictNullChecks && + options.allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing !== true) { + context.report({ + loc: { + start: { column: 0, line: 0 }, + end: { column: 0, line: 0 }, + }, + messageId: 'noStrictNullCheck', + }); + } function getBooleanComparison(node) { const comparison = deconstructComparison(node); if (!comparison) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map index ff3033adc0..66c6b21981 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-boolean-literal-compare.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-boolean-literal-compare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AA0BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,oEAAoE;YACtE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EAC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BACtC,CAAC,UAAU,CAAC,0BAA0B,EACtC,CAAC;4BACD,6BAA6B;4BAC7B,MAAM,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;4BAC/C,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;wBACxD,CAAC;oBACH,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAOH,SAAS,aAAa,CAAC,QAAgB;IACrC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ,KAAK,IAAI;YACP,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-boolean-literal-compare.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-boolean-literal-compare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AA4BjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,oEAAoE;YACtE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ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AAE,IAAI;gBAChB,QAAQ,EAAE,KAAK;aAChB,CAAC;QAEJ,KAAK,KAAK;YACR,OAAO;gBACL,UAAU,EAAE,IAAI;gBAChB,QAAQ,EAAE,IAAI;aACf,CAAC;QAEJ;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js index 6367f2b0a4..6ddaa8cd02 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js @@ -329,8 +329,9 @@ exports.default = (0, util_1.createRule)({ TSTemplateLiteralType(node) { if (isTrivialInterpolation(node) && !hasCommentsBetweenQuasi(node.quasis[0], node.quasis[1])) { - const { constraintType } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(node.types[0])); + const { constraintType, isTypeParameter } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(node.types[0])); if (constraintType && + !isTypeParameter && isUnderlyingTypeString(constraintType) && !isEnumType(constraintType)) { reportSingleInterpolation(node); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map index f42b625769..8e5086973f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AACpE,+CAAiC;AAEjC,kCAUiB;AACjB,mDAAgD;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AoB,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC3D,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;gBACnC,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,YAAY,CAAC,CAAS;IAC7B,gDAAgD;IAChD,eAAe;IACf,KAAK;IACL,EAAE;IACF,iBAAiB;IACjB,iBAAiB;IACjB,KAAK;IACL,EAAE;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAS;IAClC,OAAO,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-template-expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAAoE;AACpE,+CAAiC;AAEjC,kCAUiB;AACjB,mDAAgD;AAchD,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AAEjE,iBAAiB;AACjB,kBAAkB;AAClB,qBAAqB;AACrB,SAAS,2BAA2B,CAAC,GAAW;IAC9C,OAAO,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,GAAG,CACJ,CAAC;AACJ,CAAC;AAED,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,oCAAoC;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,2CAA2C;YACxD,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,+BAA+B,EAC7B,mEAAmE;SACtE;QACD,MAAM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escript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js index 2555447ad0..b3a7a07979 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js @@ -141,18 +141,23 @@ exports.default = (0, util_1.createRule)({ node.typeName.type === utils_1.AST_NODE_TYPES.Identifier && node.typeName.name === 'const'); } - function isImplicitlyNarrowedConstDeclaration({ expression, parent, }) { + function isTemplateLiteralWithExpressions(expression) { + return (expression.type === utils_1.AST_NODE_TYPES.TemplateLiteral && + expression.expressions.length !== 0); + } + function isImplicitlyNarrowedLiteralDeclaration({ expression, parent, }) { + /** + * Even on `const` variable declarations, template literals with expressions can sometimes be widened without a type assertion. + * @see https://github.com/typescript-eslint/typescript-eslint/issues/8737 + */ + if (isTemplateLiteralWithExpressions(expression)) { + return false; + } // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const maybeDeclarationNode = parent.parent; - const isTemplateLiteralWithExpressions = expression.type === utils_1.AST_NODE_TYPES.TemplateLiteral && - expression.expressions.length !== 0; - return (maybeDeclarationNode.type === utils_1.AST_NODE_TYPES.VariableDeclaration && - maybeDeclarationNode.kind === 'const' && - /** - * Even on `const` variable declarations, template literals with expressions can sometimes be widened without a type assertion. - * @see https://github.com/typescript-eslint/typescript-eslint/issues/8737 - */ - !isTemplateLiteralWithExpressions); + return ((maybeDeclarationNode.type === utils_1.AST_NODE_TYPES.VariableDeclaration && + maybeDeclarationNode.kind === 'const') || + (parent.type === utils_1.AST_NODE_TYPES.PropertyDefinition && parent.readonly)); } function isTypeUnchanged(uncast, cast) { if (uncast === cast) { @@ -184,7 +189,7 @@ exports.default = (0, util_1.createRule)({ const uncastType = services.getTypeAtLocation(node.expression); const typeIsUnchanged = isTypeUnchanged(uncastType, castType); const wouldSameTypeBeInferred = castType.isLiteral() - ? isImplicitlyNarrowedConstDeclaration(node) + ? isImplicitlyNarrowedLiteralDeclaration(node) : !isConstAssertion(node.typeAnnotation); if (typeIsUnchanged && wouldSameTypeBeInferred) { context.report({ diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map index 77a6ec2326..6e21e361d3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAWiB;AASjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,uBAAuB,EACrB,+FAA+F;YACjG,oBAAoB,EAClB,oFAAoF;SACvF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,iCAAiC;wBAC9C,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,CAAC;IACpB,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB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C,CAAC,0BAA0B;4BAC5B,CAAC,CAAC,IAAI,CAAC;wBAET,IAAI,gBAAgB,IAAI,WAAW,IAAI,WAAW,EAAE,CAAC;4BACnD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,yBAAyB;gCACpC,GAAG,EAAE,oBAAoB;6BAC1B,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAWiB;AASjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,uBAAuB,EACrB,+FAA+F;YACjG,oBAAoB,EAClB,oFAAoF;SACvF;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,IAAI,EAAE,OAAO;wBACb,WAAW,EAAE,iCAAiC;wBAC9C,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE,CAAC,EAAE,CAAC;IACpB,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,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AM,WAAW,GAAG,gBAAgB;4BAClC,CAAC,CAAC,0BAA0B;4BAC5B,CAAC,CAAC,IAAI,CAAC;wBACT,MAAM,WAAW,GAAG,gBAAgB;4BAClC,CAAC,CAAC,0BAA0B;4BAC5B,CAAC,CAAC,IAAI,CAAC;wBAET,IAAI,gBAAgB,IAAI,WAAW,IAAI,WAAW,EAAE,CAAC;4BACnD,OAAO,CAAC,MAAM,CAAC;gCACb,IAAI;gCACJ,SAAS,EAAE,yBAAyB;gCACpC,GAAG,EAAE,oBAAoB;6BAC1B,CAAC,CAAC;wBACL,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js index 345e284047..e8b2c27a40 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js @@ -336,6 +336,9 @@ exports.default = (0, util_1.createRule)({ (0, util_1.isNodeEqual)(testNode, node.alternate)) { identifierOrMemberExpression = testNode; } + else { + return; + } } } if (!identifierOrMemberExpression) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map index c4dad6ff28..e54dd5e014 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-nullish-coalescing.js","sourceRoot":"","sources":["../../src/rules/prefer-nullish-coalescing.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,o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K,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js index 02cefb8cc7..251bf6df73 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js @@ -101,6 +101,11 @@ exports.default = (0, util_1.createRule)({ } return; } + function typeToString(type) { + return checker.typeToString(type, undefined, ts.TypeFormatFlags.AllowUniqueESSymbolType | + ts.TypeFormatFlags.UseAliasDefinedOutsideCurrentScope | + ts.TypeFormatFlags.UseFullyQualifiedType); + } function getSwitchMetadata(node) { const defaultCase = node.cases.find(switchCase => switchCase.test == null); const discriminantType = (0, util_1.getConstrainedTypeAtLocation)(services, node.discriminant); @@ -154,7 +159,7 @@ exports.default = (0, util_1.createRule)({ missingBranches: missingLiteralBranchTypes .map(missingType => tsutils.isTypeFlagSet(missingType, ts.TypeFlags.ESSymbolLike) ? `typeof ${missingType.getSymbol()?.escapedName}` - : checker.typeToString(missingType)) + : typeToString(missingType)) .join(' | '), }, suggest: [ @@ -186,7 +191,7 @@ exports.default = (0, util_1.createRule)({ let caseTest = tsutils.isTypeFlagSet(missingBranchType, ts.TypeFlags.ESSymbolLike) ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion missingBranchName - : checker.typeToString(missingBranchType); + : typeToString(missingBranchType); if (symbolName && (missingBranchName || missingBranchName === '') && (0, util_1.requiresQuoting)(missingBranchName.toString(), compilerOptions.target)) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map index 20a46d4cfb..c8600cdaa7 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map @@ -1 +1 @@ -{"version":3,"file":"switch-exhaustiveness-check.js","sourceRoot":"","sources":["../../src/rules/switch-exhaustiveness-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AAEjB,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AA6CjD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,iCAAiC;YAClD,oBAAoB,EAClB,yEAAyE;YAC3E,qBAAqB,EACnB,kEAAkE;SACrE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,mCAAmC,EAAE;wBACnC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,8EAA8E;qBAC5F;oBACD,kCAAkC,EAAE;wBAClC,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,gHAAgH;qBAC9H;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,2FAA2F;qBACzG;oBACD,yBAAyB,EAAE;wBACzB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,wEAAwE;qBACtF;iBACF;aACF;SACF;KACF;IACD,cAAc,EAAE;QACd;YACE,mCAAmC,EAAE,IAAI;YACzC,kCAAkC,EAAE,KAAK;YACzC,yBAAyB,EAAE,KAAK;SACjC;KACF;IACD,MAAM,CACJ,OAAO,EACP,CACE,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E,cAAc,CAAC,CAAC;YACtD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAC,IAAa;IAC1C,OAAO,OAAO,CAAC,aAAa,CAC1B,IAAI,EACJ,EAAE,CAAC,SAAS,CAAC,OAAO;QAClB,EAAE,CAAC,SAAS,CAAC,SAAS;QACtB,EAAE,CAAC,SAAS,CAAC,IAAI;QACjB,EAAE,CAAC,SAAS,CAAC,cAAc,CAC9B,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,6BAA6B,CAAC,IAAa;IAClD,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,IAAI,CAAC,IAAI,CAAC,EAAE,CACX,OAAO;SACJ,qBAAqB,CAAC,IAAI,CAAC;SAC3B,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CACrD,CAAC;AACN,CAAC"} \ No newline at end of file +{"version":3,"file":"switch-exhaustiveness-check.js","sourceRoot":"","sources":["../../src/rules/switch-exhaustiveness-check.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAEjC,kCASiB;AAEjB,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AA6CjD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,eAAe,EAAE,iCAAiC;YAClD,oBAAoB,EAClB,yEAAyE;YAC3E,qBAAqB,EACnB,kEAAkE;SACrE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU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,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CACrD,CAAC;AACN,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.mdx index 7023306a18..1cebdd15a0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.mdx @@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem'; > See **https://typescript-eslint.io/rules/class-methods-use-this** for documentation. This rule extends the base [`eslint/class-methods-use-this`](https://eslint.org/docs/rules/class-methods-use-this) rule. -It adds support for ignoring `override` methods or methods on classes that implement an interface. +It adds support for ignoring `override` methods and/or methods on classes that implement an interface. ## Options @@ -33,12 +33,15 @@ const defaultOptions: Options = { {/* insert option description */} -Makes the rule ignore any class member explicitly marked with `override`. - -Example of a correct code when `ignoreOverrideMethods` is set to `true`: +Example of correct code when `ignoreOverrideMethods` is set to `true`: ```ts option='{ "ignoreOverrideMethods": true }' showPlaygroundButton -class X { +abstract class Base { + abstract method(): void; + abstract property: () => void; +} + +class Derived extends Base { override method() {} override property = () => {}; } @@ -53,19 +56,39 @@ If specified, it can be either: - `true`: Ignore all classes that implement an interface - `'public-fields'`: Ignore only the public fields of classes that implement an interface -It's important to note that this option does not only apply to members defined in the interface as that would require type information. +Note that this option applies to all class members, not just those defined in the interface. #### `true` -Example of correct code when `ignoreClassesThatImplementAnInterface` is set to `true`: +Examples of code when `ignoreClassesThatImplementAnInterface` is set to `true`: + + + ```ts option='{ "ignoreClassesThatImplementAnInterface": true }' showPlaygroundButton -class X implements Y { +class Standalone { method() {} property = () => {}; } ``` + + + +```ts option='{ "ignoreClassesThatImplementAnInterface": true }' showPlaygroundButton +interface Base { + method(): void; +} + +class Derived implements Base { + method() {} + property = () => {}; +} +``` + + + + #### `'public-fields'` Example of incorrect code when `ignoreClassesThatImplementAnInterface` is set to `'public-fields'`: @@ -73,16 +96,20 @@ Example of incorrect code when `ignoreClassesThatImplementAnInterface` is set to -```ts option='{ "ignoreClassesThatImplementAnInterface": "public-fields" }' -class X implements Y { +```ts option='{ "ignoreClassesThatImplementAnInterface": "public-fields" }' showPlaygroundButton +interface Base { + method(): void; +} + +class Derived implements Base { method() {} property = () => {}; private privateMethod() {} private privateProperty = () => {}; - protected privateMethod() {} - protected privateProperty = () => {}; + protected protectedMethod() {} + protected protectedProperty = () => {}; } ``` @@ -90,7 +117,11 @@ class X implements Y { ```ts option='{ "ignoreClassesThatImplementAnInterface": "public-fields" }' -class X implements Y { +interface Base { + method(): void; +} + +class Derived implements Base { method() {} property = () => {}; } diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx index 9445bcf8b1..094e999de2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx @@ -119,7 +119,7 @@ const foo = ; {/* insert option description */} -Always prefer `const x: T[] = [ ... ];` to `const x = [ ... ] as T[];` (or similar with angle brackets). +For example, this would prefer `const x: T[] = [ ... ];` to `const x = [ ... ] as T[];` (or similar with angle brackets). The compiler will warn for excess properties of elements with this syntax, but not missing _required_ fields of those objects. For example: `const x: {foo: number}[] = [{}];` will fail to compile, but `const x = [{}] as [{ foo: number }]` will succeed. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.mdx index 7f1c1c95f9..5b9c8adfe0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.mdx @@ -79,8 +79,6 @@ cond ? console.log('true') : console.error('false'); {/* insert option description */} -Whether to ignore "shorthand" `() =>` arrow functions: those without `{ ... }` braces. - It might be undesirable to wrap every arrow function shorthand expression. Especially when using the Prettier formatter, which spreads such code across 3 lines instead of 1. @@ -94,8 +92,6 @@ promise.then(value => window.postMessage(value)); {/* insert option description */} -Whether to ignore returns that start with the `void` operator. - It might be preferable to only use some distinct syntax to explicitly mark the confusing but valid usage of void expressions. This option allows void expressions which are explicitly wrapped in the `void` operator. @@ -127,8 +123,6 @@ console.log(void alert('Hello, world!')); {/* insert option description */} -Whether to ignore returns from functions with `void` return types when inside a function with a `void` return type. - Some projects prefer allowing functions that explicitly return `void` to return `void` expressions. Doing so allows more writing more succinct functions. :::note diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.mdx index 16462771e7..3562b8d09c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.mdx @@ -129,6 +129,22 @@ if (someNullCondition ?? true) { +### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing` + +:::danger Deprecated + +This option will be removed in the next major version of typescript-eslint. + +::: + +{/* insert option description */} + +Without `strictNullChecks`, TypeScript essentially erases `undefined` and `null` from the types. This means when this rule inspects the types from a variable, **it will not be able to tell that the variable might be `null` or `undefined`**, which essentially makes this rule useless. + +You should be using `strictNullChecks` to ensure complete type-safety in your codebase. + +If for some reason you cannot turn on `strictNullChecks`, but still want to use this rule - you can use this option to allow it - but know that the behavior of this rule is _undefined_ with the compiler option turned off. We will not accept bug reports if you are using this option. + ## Fixer | Comparison | Fixer Output | Notes | diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx index c720652ebf..9262d9fea9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx @@ -67,6 +67,9 @@ enum ABC { } type ABCUnion = `${ABC}`; +// Interpolating type parameters is allowed. +type TextUtil = `${T}`; + const stringWithNumber = `1 + 1 = 2`; const stringWithBoolean = `true is true`; diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx index be44bfe11d..2de5f81c71 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx @@ -181,8 +181,6 @@ Also, if you would like to ignore all primitives types, you can set `ignorePrimi {/* insert option description */} -Whether to ignore expressions that coerce a value into a boolean: `Boolean(...)`. - Incorrect code for `ignoreBooleanCoercion: false`, and correct code for `ignoreBooleanCoercion: true`: ```ts option='{ "ignoreBooleanCoercion": true }' showPlaygroundButton diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx index 9ea40aa8c1..75bee9384c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx @@ -148,8 +148,6 @@ const msg1 = `arg = ${arg}`; {/* insert option description */} -Whether to allow additional types in template expressions. - This option takes the shared [`TypeOrValueSpecifier` format](/packages/type-utils/type-or-value-specifier). Examples of additional **correct** code for this rule with the default option `{ allow: [{ from: 'lib', name: 'Error' }, { from: 'lib', name: 'URL' }, { from: 'lib', name: 'URLSearchParams' }] }`: diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json index c957046031..c96aa2fbfb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.22.0", + "version": "8.23.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/typescript-estree": "8.23.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts index 6342feaa21..49753fa585 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts @@ -54,6 +54,24 @@ declare module './generated/ast-spec' { interface ImportSpecifier { parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration; } + interface ExportDefaultDeclaration { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithoutSourceWithMultiple { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithoutSourceWithSingle { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithSource { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface FunctionDeclarationWithName { + parent: TSESTree.BlockStatement | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.Program; + } + interface FunctionDeclarationWithOptionalName { + parent: TSESTree.ExportDefaultDeclaration; + } interface JSXAttribute { parent: TSESTree.JSXOpeningElement; } diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map index 7c84c962a4..2f9f374dad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.d.ts","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAGtD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC;KACvB;IAED,UAAU,OAAO;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB;IAED,UAAU,4BAA4B;QACpC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,sCAAsC;QAC9C,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,yCAAyC;QACjD,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IAED,UAAU,oCAAoC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AM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IACD,UAAU,gCAAgC;QACxC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,aAAa;QACrB,MAAM,EAAE,QAAQ,CAAC,mBAAmB,CAAC;KACtC;IAED,UAAU,mBAAmB;QAC3B,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;KAC/B;IAED,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IACD,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,eAAe;QACvB,MAAM,EACF,QAAQ,CAAC,WAAW,GACpB,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,0BAA0B,CAAC;KACzC;IAED,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;IACD,UAAU,uCAAuC;QAC/C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;CACF;AAED,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map index 521de1b968..115feda1e8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/dist/ts-estree.js.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmOA,iEAAiD"} \ No newline at end of file +{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+PA,iEAAiD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json index c6c8359d15..40f3315398 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.22.0", + "version": "8.23.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json index 01488c0ed9..a1f5572675 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.22.0", + "version": "8.23.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,14 +54,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "devDependencies": { "@jest/types": "29.6.3", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json index 003f086192..4e6c78fc31 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.22.0", + "version": "8.23.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0" + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json index 3568a5d9e9..bd58b26c24 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.22.0", + "version": "8.23.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs index fffa147ccc..4b7427ebdb 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs @@ -88,9 +88,9 @@ function isJsxElementOrFragment(node) { function isCompilerOptionEnabled(options, option) { switch (option) { case "allowJs": - return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + return options.allowJs === undefined ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; case "allowSyntheticDefaultImports": - return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; + return options.allowSyntheticDefaultImports !== undefined ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; case "alwaysStrict": case "noImplicitAny": case "noImplicitThis": @@ -109,7 +109,7 @@ function isCompilerOptionEnabled(options, option) { case "stripInternal": return options[option] === true && isCompilerOptionEnabled(options, "declaration"); case "incremental": - return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + return options.incremental === undefined ? isCompilerOptionEnabled(options, "composite") : options.incremental; case "noUncheckedIndexedAccess": return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); case "skipDefaultLibCheck": @@ -146,7 +146,7 @@ var isTypeFlagSet = isFlagSetOnObject; // src/modifiers.ts function includesModifier(modifiers, ...kinds) { - if (modifiers === void 0) { + if (modifiers === undefined) { return false; } for (const modifier of modifiers) { @@ -269,7 +269,7 @@ function getAccessKind(node) { function isInDestructuringAssignment(node) { switch (node.kind) { case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: - if (node.objectAssignmentInitializer !== void 0) { + if (node.objectAssignmentInitializer !== undefined) { return true; } // falls through @@ -692,17 +692,17 @@ function isIterationStatement(node) { } } function isJSDocNamespaceDeclaration(node) { - return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === undefined || isJSDocNamespaceBody(node.body)); } function isJsxTagNamePropertyAccess(node) { return ts9__default.default.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 isJsxTagNameExpression(node.expression); } function isNamedDeclarationWithName(node) { - return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); + return "name" in node && node.name !== undefined && node.name !== null && isDeclarationName(node.name); } function isNamespaceDeclaration(node) { - return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== undefined && isNamespaceBody(node.body); } function isNumericOrStringLikeLiteral(node) { switch (node.kind) { @@ -894,13 +894,13 @@ function getCallSignaturesOfType(type) { for (const subType of type.types) { const sig = getCallSignaturesOfType(subType); if (sig.length !== 0) { - if (signatures !== void 0) { + if (signatures !== undefined) { return []; } signatures = sig; } } - return signatures === void 0 ? [] : signatures; + return signatures === undefined ? [] : signatures; } return type.getCallSignatures(); } @@ -916,8 +916,8 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker if (!prop.name.startsWith(prefix)) { continue; } - const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; - if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9__default.default.isComputedPropertyName(declaration.name)) { + const declaration = prop.valueDeclaration ?? prop.getDeclarations()?.[0]; + if (!declaration || !isNamedDeclarationWithName(declaration) || declaration.name === undefined || !ts9__default.default.isComputedPropertyName(declaration.name)) { continue; } const globalSymbol = typeChecker.getApparentType( @@ -931,7 +931,7 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker return prop; } } - return void 0; + return undefined; } function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( @@ -973,7 +973,7 @@ function isInConstContext(node, typeChecker) { const functionSignature = typeChecker.getResolvedSignature( parent ); - if (functionSignature === void 0) { + if (functionSignature === undefined) { return false; } const argumentIndex = parent.arguments.indexOf( @@ -983,12 +983,12 @@ function isInConstContext(node, typeChecker) { return false; } const parameterSymbol = functionSignature.getParameters()[argumentIndex]; - if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + if (parameterSymbol === undefined || !("links" in parameterSymbol)) { return false; } const parameterSymbolLinks = parameterSymbol.links; const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; - if (propertySymbol === void 0 || !("links" in propertySymbol)) { + if (propertySymbol === undefined || !("links" in propertySymbol)) { return false; } return isTransientSymbolLinksFlagSet( @@ -1047,8 +1047,8 @@ function isPropertyReadonlyInType(type, name, typeChecker) { let seenProperty = false; let seenReadonlySignature = false; for (const subType of unionTypeParts(type)) { - if (getPropertyOfType(subType, name) === void 0) { - const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); + if (getPropertyOfType(subType, name) === undefined) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : undefined) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); if (index?.isReadonly) { if (seenProperty) { return true; @@ -1066,7 +1066,7 @@ function isPropertyReadonlyInType(type, name, typeChecker) { function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { const then = typePart.getProperty("then"); - if (then === void 0) { + if (then === undefined) { continue; } const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); @@ -1107,7 +1107,7 @@ function isCallback(typeChecker, param, node) { ); if (param.valueDeclaration.dotDotDotToken) { type = type.getNumberIndexType(); - if (type === void 0) { + if (type === undefined) { return false; } } @@ -1123,14 +1123,14 @@ function isReadonlyAssignmentDeclaration(node, typeChecker) { return false; } const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); - if (descriptorType.getProperty("value") === void 0) { - return descriptorType.getProperty("set") === void 0; + if (descriptorType.getProperty("value") === undefined) { + return descriptorType.getProperty("set") === undefined; } const writableProp = descriptorType.getProperty("writable"); - if (writableProp === void 0) { + if (writableProp === undefined) { return false; } - const writableType = writableProp.valueDeclaration !== void 0 && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + const writableType = writableProp.valueDeclaration !== undefined && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); return isFalseLiteralType(writableType); } function isReadonlyPropertyFromMappedType(type, name, typeChecker) { @@ -1138,7 +1138,7 @@ function isReadonlyPropertyFromMappedType(type, name, typeChecker) { return; } const declaration = type.symbol.declarations[0]; - if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + if (declaration.readonlyToken !== undefined && !/^__@[^@]+$/.test(name)) { return declaration.readonlyToken.kind !== ts9__default.default.SyntaxKind.MinusToken; } const { modifiersType } = type; @@ -1148,7 +1148,7 @@ function isReadonlyPropertyIntersection(type, name, typeChecker) { const typeParts2 = isIntersectionType(type) ? type.types : [type]; return typeParts2.some((subType) => { const prop = getPropertyOfType(subType, name); - if (prop === void 0) { + if (prop === undefined) { return false; } if (prop.flags & ts9__default.default.SymbolFlags.Transient) { @@ -1196,7 +1196,7 @@ function getDeclarationDomain(node) { // TODO handle type-only imports case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: case ts9__default.default.SyntaxKind.ImportSpecifier: - return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : undefined; case ts9__default.default.SyntaxKind.InterfaceDeclaration: case ts9__default.default.SyntaxKind.TypeAliasDeclaration: case ts9__default.default.SyntaxKind.TypeParameter: @@ -1210,7 +1210,7 @@ function getDeclarationDomain(node) { // falls through case ts9__default.default.SyntaxKind.BindingElement: case ts9__default.default.SyntaxKind.VariableDeclaration: - return node.parent.name === node ? 4 /* Value */ : void 0; + return node.parent.name === node ? 4 /* Value */ : undefined; } } function getPropertyName(propertyName) { @@ -1223,7 +1223,7 @@ function getPropertyName(propertyName) { negate = true; // falls through case ts9__default.default.SyntaxKind.PlusToken: - return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : undefined; default: return; } @@ -1236,7 +1236,7 @@ function getPropertyName(propertyName) { } return; } - return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; + return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? undefined : propertyName.text; } function unwrapParentheses(node) { while (node.kind === ts9__default.default.SyntaxKind.ParenthesizedExpression) { @@ -1302,7 +1302,7 @@ function getUsageDomain(node) { case ts9__default.default.SyntaxKind.ExportAssignment: return 7 /* Any */; case ts9__default.default.SyntaxKind.ExportSpecifier: - if (parent.propertyName === void 0 || parent.propertyName === node) { + if (parent.propertyName === undefined || parent.propertyName === node) { return 7 /* Any */; } break; @@ -1319,7 +1319,7 @@ function getUsageDomain(node) { case ts9__default.default.SyntaxKind.TypeQuery: return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; case ts9__default.default.SyntaxKind.TypeReference: - return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : undefined; default: return 5 /* ValueOrNamespace */; } @@ -1357,10 +1357,10 @@ var AbstractScope = class { constructor(global) { this.global = global; } - namespaceScopes = void 0; + namespaceScopes = undefined; uses = []; variables = /* @__PURE__ */ new Map(); - #enumScopes = void 0; + #enumScopes = undefined; addUse(use) { this.uses.push(use); } @@ -1372,7 +1372,7 @@ var AbstractScope = class { exported }; const variable = variables.get(identifier); - if (variable === void 0) { + if (variable === undefined) { variables.set(identifier, { declarations: [declaration], domain, @@ -1386,12 +1386,12 @@ var AbstractScope = class { // eslint-disable-next-line @typescript-eslint/no-unused-vars createOrReuseEnumScope(name, _exported) { let scope; - if (this.#enumScopes === void 0) { + if (this.#enumScopes === undefined) { this.#enumScopes = /* @__PURE__ */ new Map(); } else { scope = this.#enumScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new EnumScope(this); this.#enumScopes.set(name, scope); } @@ -1400,12 +1400,12 @@ var AbstractScope = class { // only relevant for the root scope createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { let scope; - if (this.namespaceScopes === void 0) { + if (this.namespaceScopes === undefined) { this.namespaceScopes = /* @__PURE__ */ new Map(); } else { scope = this.namespaceScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new NamespaceScope(ambient, hasExportStatement, this); this.namespaceScopes.set(name, scope); } else { @@ -1414,10 +1414,10 @@ var AbstractScope = class { return scope; } end(cb) { - if (this.namespaceScopes !== void 0) { + if (this.namespaceScopes !== undefined) { this.namespaceScopes.forEach((value) => value.finish(cb)); } - this.namespaceScopes = this.#enumScopes = void 0; + this.namespaceScopes = this.#enumScopes = undefined; this.applyUses(); this.variables.forEach((variable) => { for (const declaration of variable.declarations) { @@ -1456,7 +1456,7 @@ var AbstractScope = class { } applyUse(use, variables = this.variables) { const variable = variables.get(use.location.text); - if (variable === void 0 || (variable.domain & use.domain) === 0) { + if (variable === undefined || (variable.domain & use.domain) === 0) { return false; } variable.uses.push(use); @@ -1581,7 +1581,7 @@ var FunctionExpressionScope = class extends AbstractNamedExpressionScope { }; var NamespaceScope = class extends NonRootScope { #ambient; - #exports = void 0; + #exports = undefined; #hasExport; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(ambient, hasExport, parent) { @@ -1619,11 +1619,11 @@ var NamespaceScope = class extends NonRootScope { } end(cb) { this.#innerScope.end((variable, key, scope) => { - if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== undefined && !this.#exports.has(key.text))) { return cb(variable, key, scope); } const namespaceVar = this.variables.get(key.text); - if (namespaceVar === void 0) { + if (namespaceVar === undefined) { this.variables.set(key.text, { declarations: variable.declarations.map(mapDeclaration), domain: variable.domain, @@ -1657,7 +1657,7 @@ var NamespaceScope = class extends NonRootScope { return this.#innerScope; } markExported(name) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = /* @__PURE__ */ new Set(); } this.#exports.add(name.text); @@ -1669,7 +1669,7 @@ var NamespaceScope = class extends NonRootScope { }; var RootScope = class extends AbstractScope { #exportAll; - #exports = void 0; + #exports = undefined; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(exportAll, global) { super(global); @@ -1695,12 +1695,12 @@ var RootScope = class extends AbstractScope { } end(cb) { this.#innerScope.end((value, key) => { - value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= this.#exportAll || this.#exports !== undefined && this.#exports.includes(key.text); value.inGlobalScope = this.global; return cb(value, key, this); }); return super.end((value, key, scope) => { - value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= scope === this && this.#exports !== undefined && this.#exports.includes(key.text); return cb(value, key, scope); }); } @@ -1708,7 +1708,7 @@ var RootScope = class extends AbstractScope { return this; } markExported(id) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = [id.text]; } else { this.#exports.push(id.text); @@ -1775,7 +1775,7 @@ var UsageWalker = class { case ts9__default.default.SyntaxKind.ClassExpression: return continueWithScope( node, - node.name !== void 0 ? new ClassExpressionScope( + node.name !== undefined ? new ClassExpressionScope( node.name, this.#scope ) : new NonRootScope(this.#scope, 1 /* Function */) @@ -1819,7 +1819,7 @@ var UsageWalker = class { } break; case ts9__default.default.SyntaxKind.ExportSpecifier: - if (node.propertyName !== void 0) { + if (node.propertyName !== undefined) { return this.#scope.markExported( node.propertyName, node.name @@ -1828,7 +1828,7 @@ var UsageWalker = class { return this.#scope.markExported(node.name); case ts9__default.default.SyntaxKind.Identifier: { const domain = getUsageDomain(node); - if (domain !== void 0) { + if (domain !== undefined) { this.#scope.addUse({ domain, location: node }); } return; @@ -1899,7 +1899,7 @@ var UsageWalker = class { this.#scope = savedScope; }; const handleBlockScope = (node) => { - if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== undefined) { this.#handleBindingName( node.variableDeclaration.name, true, @@ -1949,7 +1949,7 @@ var UsageWalker = class { this.#scope = savedScope; } #handleDeclaration(node, blockScoped, domain) { - if (node.name !== void 0) { + if (node.name !== undefined) { this.#scope.addVariable( node.name.text, node.name, @@ -1970,18 +1970,18 @@ var UsageWalker = class { if (node.kind === ts9__default.default.SyntaxKind.FunctionDeclaration) { this.#handleDeclaration(node, false, 4 /* Value */); } - const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); - if (node.name !== void 0) { + const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== undefined ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== undefined) { cb(node.name); } - if (node.typeParameters !== void 0) { + if (node.typeParameters !== undefined) { node.typeParameters.forEach(cb); } node.parameters.forEach(cb); - if (node.type !== void 0) { + if (node.type !== undefined) { cb(node.type); } - if (node.body !== void 0) { + if (node.body !== undefined) { scope.beginBody(); cb(node.body); } @@ -2070,7 +2070,7 @@ function isNamespaceExported(node) { return node.parent.kind === ts9__default.default.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9__default.default.SyntaxKind.ExportKeyword); } function namespaceHasExportStatement(ns) { - if (ns.body === void 0 || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { + if (ns.body === undefined || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { return false; } return containsExportStatement(ns.body); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js index 12c109acab..5db5012424 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js @@ -82,9 +82,9 @@ function isJsxElementOrFragment(node) { function isCompilerOptionEnabled(options, option) { switch (option) { case "allowJs": - return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + return options.allowJs === undefined ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; case "allowSyntheticDefaultImports": - return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; + return options.allowSyntheticDefaultImports !== undefined ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; case "alwaysStrict": case "noImplicitAny": case "noImplicitThis": @@ -103,7 +103,7 @@ function isCompilerOptionEnabled(options, option) { case "stripInternal": return options[option] === true && isCompilerOptionEnabled(options, "declaration"); case "incremental": - return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + return options.incremental === undefined ? isCompilerOptionEnabled(options, "composite") : options.incremental; case "noUncheckedIndexedAccess": return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); case "skipDefaultLibCheck": @@ -140,7 +140,7 @@ var isTypeFlagSet = isFlagSetOnObject; // src/modifiers.ts function includesModifier(modifiers, ...kinds) { - if (modifiers === void 0) { + if (modifiers === undefined) { return false; } for (const modifier of modifiers) { @@ -263,7 +263,7 @@ function getAccessKind(node) { function isInDestructuringAssignment(node) { switch (node.kind) { case ts9.SyntaxKind.ShorthandPropertyAssignment: - if (node.objectAssignmentInitializer !== void 0) { + if (node.objectAssignmentInitializer !== undefined) { return true; } // falls through @@ -686,17 +686,17 @@ function isIterationStatement(node) { } } function isJSDocNamespaceDeclaration(node) { - return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === undefined || isJSDocNamespaceBody(node.body)); } function isJsxTagNamePropertyAccess(node) { return ts9.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 isJsxTagNameExpression(node.expression); } function isNamedDeclarationWithName(node) { - return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); + return "name" in node && node.name !== undefined && node.name !== null && isDeclarationName(node.name); } function isNamespaceDeclaration(node) { - return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== undefined && isNamespaceBody(node.body); } function isNumericOrStringLikeLiteral(node) { switch (node.kind) { @@ -888,13 +888,13 @@ function getCallSignaturesOfType(type) { for (const subType of type.types) { const sig = getCallSignaturesOfType(subType); if (sig.length !== 0) { - if (signatures !== void 0) { + if (signatures !== undefined) { return []; } signatures = sig; } } - return signatures === void 0 ? [] : signatures; + return signatures === undefined ? [] : signatures; } return type.getCallSignatures(); } @@ -910,8 +910,8 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker if (!prop.name.startsWith(prefix)) { continue; } - const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; - if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9.isComputedPropertyName(declaration.name)) { + const declaration = prop.valueDeclaration ?? prop.getDeclarations()?.[0]; + if (!declaration || !isNamedDeclarationWithName(declaration) || declaration.name === undefined || !ts9.isComputedPropertyName(declaration.name)) { continue; } const globalSymbol = typeChecker.getApparentType( @@ -925,7 +925,7 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker return prop; } } - return void 0; + return undefined; } function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( @@ -967,7 +967,7 @@ function isInConstContext(node, typeChecker) { const functionSignature = typeChecker.getResolvedSignature( parent ); - if (functionSignature === void 0) { + if (functionSignature === undefined) { return false; } const argumentIndex = parent.arguments.indexOf( @@ -977,12 +977,12 @@ function isInConstContext(node, typeChecker) { return false; } const parameterSymbol = functionSignature.getParameters()[argumentIndex]; - if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + if (parameterSymbol === undefined || !("links" in parameterSymbol)) { return false; } const parameterSymbolLinks = parameterSymbol.links; const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; - if (propertySymbol === void 0 || !("links" in propertySymbol)) { + if (propertySymbol === undefined || !("links" in propertySymbol)) { return false; } return isTransientSymbolLinksFlagSet( @@ -1041,8 +1041,8 @@ function isPropertyReadonlyInType(type, name, typeChecker) { let seenProperty = false; let seenReadonlySignature = false; for (const subType of unionTypeParts(type)) { - if (getPropertyOfType(subType, name) === void 0) { - const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); + if (getPropertyOfType(subType, name) === undefined) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : undefined) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); if (index?.isReadonly) { if (seenProperty) { return true; @@ -1060,7 +1060,7 @@ function isPropertyReadonlyInType(type, name, typeChecker) { function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { const then = typePart.getProperty("then"); - if (then === void 0) { + if (then === undefined) { continue; } const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); @@ -1101,7 +1101,7 @@ function isCallback(typeChecker, param, node) { ); if (param.valueDeclaration.dotDotDotToken) { type = type.getNumberIndexType(); - if (type === void 0) { + if (type === undefined) { return false; } } @@ -1117,14 +1117,14 @@ function isReadonlyAssignmentDeclaration(node, typeChecker) { return false; } const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); - if (descriptorType.getProperty("value") === void 0) { - return descriptorType.getProperty("set") === void 0; + if (descriptorType.getProperty("value") === undefined) { + return descriptorType.getProperty("set") === undefined; } const writableProp = descriptorType.getProperty("writable"); - if (writableProp === void 0) { + if (writableProp === undefined) { return false; } - const writableType = writableProp.valueDeclaration !== void 0 && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + const writableType = writableProp.valueDeclaration !== undefined && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); return isFalseLiteralType(writableType); } function isReadonlyPropertyFromMappedType(type, name, typeChecker) { @@ -1132,7 +1132,7 @@ function isReadonlyPropertyFromMappedType(type, name, typeChecker) { return; } const declaration = type.symbol.declarations[0]; - if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + if (declaration.readonlyToken !== undefined && !/^__@[^@]+$/.test(name)) { return declaration.readonlyToken.kind !== ts9.SyntaxKind.MinusToken; } const { modifiersType } = type; @@ -1142,7 +1142,7 @@ function isReadonlyPropertyIntersection(type, name, typeChecker) { const typeParts2 = isIntersectionType(type) ? type.types : [type]; return typeParts2.some((subType) => { const prop = getPropertyOfType(subType, name); - if (prop === void 0) { + if (prop === undefined) { return false; } if (prop.flags & ts9.SymbolFlags.Transient) { @@ -1190,7 +1190,7 @@ function getDeclarationDomain(node) { // TODO handle type-only imports case ts9.SyntaxKind.ImportEqualsDeclaration: case ts9.SyntaxKind.ImportSpecifier: - return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : undefined; case ts9.SyntaxKind.InterfaceDeclaration: case ts9.SyntaxKind.TypeAliasDeclaration: case ts9.SyntaxKind.TypeParameter: @@ -1204,7 +1204,7 @@ function getDeclarationDomain(node) { // falls through case ts9.SyntaxKind.BindingElement: case ts9.SyntaxKind.VariableDeclaration: - return node.parent.name === node ? 4 /* Value */ : void 0; + return node.parent.name === node ? 4 /* Value */ : undefined; } } function getPropertyName(propertyName) { @@ -1217,7 +1217,7 @@ function getPropertyName(propertyName) { negate = true; // falls through case ts9.SyntaxKind.PlusToken: - return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : undefined; default: return; } @@ -1230,7 +1230,7 @@ function getPropertyName(propertyName) { } return; } - return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; + return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? undefined : propertyName.text; } function unwrapParentheses(node) { while (node.kind === ts9.SyntaxKind.ParenthesizedExpression) { @@ -1296,7 +1296,7 @@ function getUsageDomain(node) { case ts9.SyntaxKind.ExportAssignment: return 7 /* Any */; case ts9.SyntaxKind.ExportSpecifier: - if (parent.propertyName === void 0 || parent.propertyName === node) { + if (parent.propertyName === undefined || parent.propertyName === node) { return 7 /* Any */; } break; @@ -1313,7 +1313,7 @@ function getUsageDomain(node) { case ts9.SyntaxKind.TypeQuery: return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; case ts9.SyntaxKind.TypeReference: - return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : undefined; default: return 5 /* ValueOrNamespace */; } @@ -1351,10 +1351,10 @@ var AbstractScope = class { constructor(global) { this.global = global; } - namespaceScopes = void 0; + namespaceScopes = undefined; uses = []; variables = /* @__PURE__ */ new Map(); - #enumScopes = void 0; + #enumScopes = undefined; addUse(use) { this.uses.push(use); } @@ -1366,7 +1366,7 @@ var AbstractScope = class { exported }; const variable = variables.get(identifier); - if (variable === void 0) { + if (variable === undefined) { variables.set(identifier, { declarations: [declaration], domain, @@ -1380,12 +1380,12 @@ var AbstractScope = class { // eslint-disable-next-line @typescript-eslint/no-unused-vars createOrReuseEnumScope(name, _exported) { let scope; - if (this.#enumScopes === void 0) { + if (this.#enumScopes === undefined) { this.#enumScopes = /* @__PURE__ */ new Map(); } else { scope = this.#enumScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new EnumScope(this); this.#enumScopes.set(name, scope); } @@ -1394,12 +1394,12 @@ var AbstractScope = class { // only relevant for the root scope createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { let scope; - if (this.namespaceScopes === void 0) { + if (this.namespaceScopes === undefined) { this.namespaceScopes = /* @__PURE__ */ new Map(); } else { scope = this.namespaceScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new NamespaceScope(ambient, hasExportStatement, this); this.namespaceScopes.set(name, scope); } else { @@ -1408,10 +1408,10 @@ var AbstractScope = class { return scope; } end(cb) { - if (this.namespaceScopes !== void 0) { + if (this.namespaceScopes !== undefined) { this.namespaceScopes.forEach((value) => value.finish(cb)); } - this.namespaceScopes = this.#enumScopes = void 0; + this.namespaceScopes = this.#enumScopes = undefined; this.applyUses(); this.variables.forEach((variable) => { for (const declaration of variable.declarations) { @@ -1450,7 +1450,7 @@ var AbstractScope = class { } applyUse(use, variables = this.variables) { const variable = variables.get(use.location.text); - if (variable === void 0 || (variable.domain & use.domain) === 0) { + if (variable === undefined || (variable.domain & use.domain) === 0) { return false; } variable.uses.push(use); @@ -1575,7 +1575,7 @@ var FunctionExpressionScope = class extends AbstractNamedExpressionScope { }; var NamespaceScope = class extends NonRootScope { #ambient; - #exports = void 0; + #exports = undefined; #hasExport; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(ambient, hasExport, parent) { @@ -1613,11 +1613,11 @@ var NamespaceScope = class extends NonRootScope { } end(cb) { this.#innerScope.end((variable, key, scope) => { - if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== undefined && !this.#exports.has(key.text))) { return cb(variable, key, scope); } const namespaceVar = this.variables.get(key.text); - if (namespaceVar === void 0) { + if (namespaceVar === undefined) { this.variables.set(key.text, { declarations: variable.declarations.map(mapDeclaration), domain: variable.domain, @@ -1651,7 +1651,7 @@ var NamespaceScope = class extends NonRootScope { return this.#innerScope; } markExported(name) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = /* @__PURE__ */ new Set(); } this.#exports.add(name.text); @@ -1663,7 +1663,7 @@ var NamespaceScope = class extends NonRootScope { }; var RootScope = class extends AbstractScope { #exportAll; - #exports = void 0; + #exports = undefined; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(exportAll, global) { super(global); @@ -1689,12 +1689,12 @@ var RootScope = class extends AbstractScope { } end(cb) { this.#innerScope.end((value, key) => { - value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= this.#exportAll || this.#exports !== undefined && this.#exports.includes(key.text); value.inGlobalScope = this.global; return cb(value, key, this); }); return super.end((value, key, scope) => { - value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= scope === this && this.#exports !== undefined && this.#exports.includes(key.text); return cb(value, key, scope); }); } @@ -1702,7 +1702,7 @@ var RootScope = class extends AbstractScope { return this; } markExported(id) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = [id.text]; } else { this.#exports.push(id.text); @@ -1769,7 +1769,7 @@ var UsageWalker = class { case ts9.SyntaxKind.ClassExpression: return continueWithScope( node, - node.name !== void 0 ? new ClassExpressionScope( + node.name !== undefined ? new ClassExpressionScope( node.name, this.#scope ) : new NonRootScope(this.#scope, 1 /* Function */) @@ -1813,7 +1813,7 @@ var UsageWalker = class { } break; case ts9.SyntaxKind.ExportSpecifier: - if (node.propertyName !== void 0) { + if (node.propertyName !== undefined) { return this.#scope.markExported( node.propertyName, node.name @@ -1822,7 +1822,7 @@ var UsageWalker = class { return this.#scope.markExported(node.name); case ts9.SyntaxKind.Identifier: { const domain = getUsageDomain(node); - if (domain !== void 0) { + if (domain !== undefined) { this.#scope.addUse({ domain, location: node }); } return; @@ -1893,7 +1893,7 @@ var UsageWalker = class { this.#scope = savedScope; }; const handleBlockScope = (node) => { - if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== undefined) { this.#handleBindingName( node.variableDeclaration.name, true, @@ -1943,7 +1943,7 @@ var UsageWalker = class { this.#scope = savedScope; } #handleDeclaration(node, blockScoped, domain) { - if (node.name !== void 0) { + if (node.name !== undefined) { this.#scope.addVariable( node.name.text, node.name, @@ -1964,18 +1964,18 @@ var UsageWalker = class { if (node.kind === ts9.SyntaxKind.FunctionDeclaration) { this.#handleDeclaration(node, false, 4 /* Value */); } - const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); - if (node.name !== void 0) { + const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== undefined ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== undefined) { cb(node.name); } - if (node.typeParameters !== void 0) { + if (node.typeParameters !== undefined) { node.typeParameters.forEach(cb); } node.parameters.forEach(cb); - if (node.type !== void 0) { + if (node.type !== undefined) { cb(node.type); } - if (node.body !== void 0) { + if (node.body !== undefined) { scope.beginBody(); cb(node.body); } @@ -2064,7 +2064,7 @@ function isNamespaceExported(node) { return node.parent.kind === ts9.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9.SyntaxKind.ExportKeyword); } function namespaceHasExportStatement(ns) { - if (ns.body === void 0 || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { + if (ns.body === undefined || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { return false; } return containsExportStatement(ns.body); diff --git a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json index 78378ff3f8..3810c855d6 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json @@ -1,6 +1,6 @@ { "name": "ts-api-utils", - "version": "2.0.0", + "version": "2.0.1", "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️", "repository": { "type": "git", @@ -51,51 +51,51 @@ }, "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", - "@eslint/js": "^9.15.0", + "@eslint/js": "^9.19.0", "@phenomnomnominal/tsquery": "^6.1.3", - "@release-it/conventional-changelog": "^9.0.3", + "@release-it/conventional-changelog": "^10.0.0", "@types/eslint-plugin-markdown": "^2.0.2", - "@types/node": "^18.19.65", + "@types/node": "^18.19.74", "@typescript/vfs": "^1.6.0", - "@vitest/coverage-v8": "^2.1.5", - "@vitest/eslint-plugin": "^1.1.10", + "@vitest/coverage-v8": "^2.1.8", + "@vitest/eslint-plugin": "^1.1.25", "console-fail-test": "^0.5.0", - "cspell": "^8.16.0", - "eslint": "^9.15.0", - "eslint-plugin-jsdoc": "^50.5.0", - "eslint-plugin-jsonc": "^2.18.2", + "cspell": "^8.17.3", + "eslint": "^9.19.0", + "eslint-plugin-jsdoc": "^50.6.3", + "eslint-plugin-jsonc": "^2.19.1", "eslint-plugin-markdown": "^5.1.0", - "eslint-plugin-n": "^17.14.0", - "eslint-plugin-package-json": "^0.15.6", - "eslint-plugin-perfectionist": "^4.1.2", + "eslint-plugin-n": "^17.15.1", + "eslint-plugin-package-json": "^0.19.0", + "eslint-plugin-perfectionist": "^4.7.0", "eslint-plugin-regexp": "^2.7.0", - "eslint-plugin-yml": "^1.15.0", + "eslint-plugin-yml": "^1.16.0", "husky": "^9.1.7", "jsonc-eslint-parser": "^2.4.0", - "knip": "^5.37.2", - "lint-staged": "^15.2.10", - "markdownlint": "^0.36.1", + "knip": "^5.43.6", + "lint-staged": "^15.4.3", + "markdownlint": "^0.37.4", "markdownlint-cli": "^0.43.0", - "prettier": "^3.3.3", + "prettier": "^3.4.2", "prettier-plugin-curly": "^0.3.1", - "prettier-plugin-packagejson": "^2.5.6", - "release-it": "^17.10.0", - "sentences-per-line": "^0.2.1", + "prettier-plugin-packagejson": "^2.5.8", + "release-it": "^18.1.2", + "sentences-per-line": "^0.3.0", "should-semantic-release": "^0.3.0", - "tsup": "^8.3.5", - "typedoc": "^0.26.11", - "typedoc-plugin-coverage": "^3.4.0", + "tsup": "^8.3.6", + "typedoc": "^0.27.6", + "typedoc-plugin-coverage": "^3.4.1", "typedoc-plugin-custom-validation": "^2.0.2", "typedoc-plugin-konamimojisplosion": "^0.0.2", - "typedoc-plugin-mdn-links": "^4.0.1", - "typescript": "^5.7.2", - "typescript-eslint": "^8.16.0", - "vitest": "^2.1.5" + "typedoc-plugin-mdn-links": "^4.0.10", + "typescript": "^5.7.3", + "typescript-eslint": "^8.22.0", + "vitest": "^2.1.8" }, "peerDependencies": { "typescript": ">=4.8.4" }, - "packageManager": "pnpm@9.14.2", + "packageManager": "pnpm@9.15.3", "engines": { "node": ">=18.12" }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index 97bab57702..a3a3280f15 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "8.22.0", + "version": "8.23.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -61,22 +61,22 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/type-utils": "8.22.0", - "@typescript-eslint/utils": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/type-utils": "8.23.0", + "@typescript-eslint/utils": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "devDependencies": { "@jest/types": "29.6.3", "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "8.22.0", - "@typescript-eslint/rule-tester": "8.22.0", + "@typescript-eslint/rule-schema-to-typescript-types": "8.23.0", + "@typescript-eslint/rule-tester": "8.23.0", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json index c957046031..c96aa2fbfb 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.22.0", + "version": "8.23.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/typescript-estree": "8.23.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts index 6342feaa21..49753fa585 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts @@ -54,6 +54,24 @@ declare module './generated/ast-spec' { interface ImportSpecifier { parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration; } + interface ExportDefaultDeclaration { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithoutSourceWithMultiple { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithoutSourceWithSingle { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithSource { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface FunctionDeclarationWithName { + parent: TSESTree.BlockStatement | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.Program; + } + interface FunctionDeclarationWithOptionalName { + parent: TSESTree.ExportDefaultDeclaration; + } interface JSXAttribute { parent: TSESTree.JSXOpeningElement; } diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map index 7c84c962a4..2f9f374dad 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.d.ts","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAGtD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC;KACvB;IAED,UAAU,OAAO;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB;IAED,UAAU,4BAA4B;QACpC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,sCAAsC;QAC9C,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,yCAAyC;QACjD,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC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AAU,6BAA6B;QACrC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IACD,UAAU,gCAAgC;QACxC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,aAAa;QACrB,MAAM,EAAE,QAAQ,CAAC,mBAAmB,CAAC;KACtC;IAED,UAAU,mBAAmB;QAC3B,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;KAC/B;IAED,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IACD,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,eAAe;QACvB,MAAM,EACF,QAAQ,CAAC,WAAW,GACpB,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,0BAA0B,CAAC;KACzC;IAED,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;IACD,UAAU,uCAAuC;QAC/C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;CACF;AAED,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map index 521de1b968..115feda1e8 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/dist/ts-estree.js.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmOA,iEAAiD"} \ No newline at end of file +{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+PA,iEAAiD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json index c6c8359d15..40f3315398 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.22.0", + "version": "8.23.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json index 01488c0ed9..a1f5572675 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.22.0", + "version": "8.23.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,14 +54,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "devDependencies": { "@jest/types": "29.6.3", diff --git a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json index 3568a5d9e9..bd58b26c24 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.22.0", + "version": "8.23.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs index fffa147ccc..4b7427ebdb 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.cjs @@ -88,9 +88,9 @@ function isJsxElementOrFragment(node) { function isCompilerOptionEnabled(options, option) { switch (option) { case "allowJs": - return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + return options.allowJs === undefined ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; case "allowSyntheticDefaultImports": - return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; + return options.allowSyntheticDefaultImports !== undefined ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; case "alwaysStrict": case "noImplicitAny": case "noImplicitThis": @@ -109,7 +109,7 @@ function isCompilerOptionEnabled(options, option) { case "stripInternal": return options[option] === true && isCompilerOptionEnabled(options, "declaration"); case "incremental": - return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + return options.incremental === undefined ? isCompilerOptionEnabled(options, "composite") : options.incremental; case "noUncheckedIndexedAccess": return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); case "skipDefaultLibCheck": @@ -146,7 +146,7 @@ var isTypeFlagSet = isFlagSetOnObject; // src/modifiers.ts function includesModifier(modifiers, ...kinds) { - if (modifiers === void 0) { + if (modifiers === undefined) { return false; } for (const modifier of modifiers) { @@ -269,7 +269,7 @@ function getAccessKind(node) { function isInDestructuringAssignment(node) { switch (node.kind) { case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: - if (node.objectAssignmentInitializer !== void 0) { + if (node.objectAssignmentInitializer !== undefined) { return true; } // falls through @@ -692,17 +692,17 @@ function isIterationStatement(node) { } } function isJSDocNamespaceDeclaration(node) { - return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === undefined || isJSDocNamespaceBody(node.body)); } function isJsxTagNamePropertyAccess(node) { return ts9__default.default.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 isJsxTagNameExpression(node.expression); } function isNamedDeclarationWithName(node) { - return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); + return "name" in node && node.name !== undefined && node.name !== null && isDeclarationName(node.name); } function isNamespaceDeclaration(node) { - return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== undefined && isNamespaceBody(node.body); } function isNumericOrStringLikeLiteral(node) { switch (node.kind) { @@ -894,13 +894,13 @@ function getCallSignaturesOfType(type) { for (const subType of type.types) { const sig = getCallSignaturesOfType(subType); if (sig.length !== 0) { - if (signatures !== void 0) { + if (signatures !== undefined) { return []; } signatures = sig; } } - return signatures === void 0 ? [] : signatures; + return signatures === undefined ? [] : signatures; } return type.getCallSignatures(); } @@ -916,8 +916,8 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker if (!prop.name.startsWith(prefix)) { continue; } - const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; - if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9__default.default.isComputedPropertyName(declaration.name)) { + const declaration = prop.valueDeclaration ?? prop.getDeclarations()?.[0]; + if (!declaration || !isNamedDeclarationWithName(declaration) || declaration.name === undefined || !ts9__default.default.isComputedPropertyName(declaration.name)) { continue; } const globalSymbol = typeChecker.getApparentType( @@ -931,7 +931,7 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker return prop; } } - return void 0; + return undefined; } function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( @@ -973,7 +973,7 @@ function isInConstContext(node, typeChecker) { const functionSignature = typeChecker.getResolvedSignature( parent ); - if (functionSignature === void 0) { + if (functionSignature === undefined) { return false; } const argumentIndex = parent.arguments.indexOf( @@ -983,12 +983,12 @@ function isInConstContext(node, typeChecker) { return false; } const parameterSymbol = functionSignature.getParameters()[argumentIndex]; - if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + if (parameterSymbol === undefined || !("links" in parameterSymbol)) { return false; } const parameterSymbolLinks = parameterSymbol.links; const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; - if (propertySymbol === void 0 || !("links" in propertySymbol)) { + if (propertySymbol === undefined || !("links" in propertySymbol)) { return false; } return isTransientSymbolLinksFlagSet( @@ -1047,8 +1047,8 @@ function isPropertyReadonlyInType(type, name, typeChecker) { let seenProperty = false; let seenReadonlySignature = false; for (const subType of unionTypeParts(type)) { - if (getPropertyOfType(subType, name) === void 0) { - const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); + if (getPropertyOfType(subType, name) === undefined) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : undefined) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); if (index?.isReadonly) { if (seenProperty) { return true; @@ -1066,7 +1066,7 @@ function isPropertyReadonlyInType(type, name, typeChecker) { function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { const then = typePart.getProperty("then"); - if (then === void 0) { + if (then === undefined) { continue; } const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); @@ -1107,7 +1107,7 @@ function isCallback(typeChecker, param, node) { ); if (param.valueDeclaration.dotDotDotToken) { type = type.getNumberIndexType(); - if (type === void 0) { + if (type === undefined) { return false; } } @@ -1123,14 +1123,14 @@ function isReadonlyAssignmentDeclaration(node, typeChecker) { return false; } const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); - if (descriptorType.getProperty("value") === void 0) { - return descriptorType.getProperty("set") === void 0; + if (descriptorType.getProperty("value") === undefined) { + return descriptorType.getProperty("set") === undefined; } const writableProp = descriptorType.getProperty("writable"); - if (writableProp === void 0) { + if (writableProp === undefined) { return false; } - const writableType = writableProp.valueDeclaration !== void 0 && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + const writableType = writableProp.valueDeclaration !== undefined && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); return isFalseLiteralType(writableType); } function isReadonlyPropertyFromMappedType(type, name, typeChecker) { @@ -1138,7 +1138,7 @@ function isReadonlyPropertyFromMappedType(type, name, typeChecker) { return; } const declaration = type.symbol.declarations[0]; - if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + if (declaration.readonlyToken !== undefined && !/^__@[^@]+$/.test(name)) { return declaration.readonlyToken.kind !== ts9__default.default.SyntaxKind.MinusToken; } const { modifiersType } = type; @@ -1148,7 +1148,7 @@ function isReadonlyPropertyIntersection(type, name, typeChecker) { const typeParts2 = isIntersectionType(type) ? type.types : [type]; return typeParts2.some((subType) => { const prop = getPropertyOfType(subType, name); - if (prop === void 0) { + if (prop === undefined) { return false; } if (prop.flags & ts9__default.default.SymbolFlags.Transient) { @@ -1196,7 +1196,7 @@ function getDeclarationDomain(node) { // TODO handle type-only imports case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: case ts9__default.default.SyntaxKind.ImportSpecifier: - return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : undefined; case ts9__default.default.SyntaxKind.InterfaceDeclaration: case ts9__default.default.SyntaxKind.TypeAliasDeclaration: case ts9__default.default.SyntaxKind.TypeParameter: @@ -1210,7 +1210,7 @@ function getDeclarationDomain(node) { // falls through case ts9__default.default.SyntaxKind.BindingElement: case ts9__default.default.SyntaxKind.VariableDeclaration: - return node.parent.name === node ? 4 /* Value */ : void 0; + return node.parent.name === node ? 4 /* Value */ : undefined; } } function getPropertyName(propertyName) { @@ -1223,7 +1223,7 @@ function getPropertyName(propertyName) { negate = true; // falls through case ts9__default.default.SyntaxKind.PlusToken: - return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : undefined; default: return; } @@ -1236,7 +1236,7 @@ function getPropertyName(propertyName) { } return; } - return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; + return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? undefined : propertyName.text; } function unwrapParentheses(node) { while (node.kind === ts9__default.default.SyntaxKind.ParenthesizedExpression) { @@ -1302,7 +1302,7 @@ function getUsageDomain(node) { case ts9__default.default.SyntaxKind.ExportAssignment: return 7 /* Any */; case ts9__default.default.SyntaxKind.ExportSpecifier: - if (parent.propertyName === void 0 || parent.propertyName === node) { + if (parent.propertyName === undefined || parent.propertyName === node) { return 7 /* Any */; } break; @@ -1319,7 +1319,7 @@ function getUsageDomain(node) { case ts9__default.default.SyntaxKind.TypeQuery: return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; case ts9__default.default.SyntaxKind.TypeReference: - return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : undefined; default: return 5 /* ValueOrNamespace */; } @@ -1357,10 +1357,10 @@ var AbstractScope = class { constructor(global) { this.global = global; } - namespaceScopes = void 0; + namespaceScopes = undefined; uses = []; variables = /* @__PURE__ */ new Map(); - #enumScopes = void 0; + #enumScopes = undefined; addUse(use) { this.uses.push(use); } @@ -1372,7 +1372,7 @@ var AbstractScope = class { exported }; const variable = variables.get(identifier); - if (variable === void 0) { + if (variable === undefined) { variables.set(identifier, { declarations: [declaration], domain, @@ -1386,12 +1386,12 @@ var AbstractScope = class { // eslint-disable-next-line @typescript-eslint/no-unused-vars createOrReuseEnumScope(name, _exported) { let scope; - if (this.#enumScopes === void 0) { + if (this.#enumScopes === undefined) { this.#enumScopes = /* @__PURE__ */ new Map(); } else { scope = this.#enumScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new EnumScope(this); this.#enumScopes.set(name, scope); } @@ -1400,12 +1400,12 @@ var AbstractScope = class { // only relevant for the root scope createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { let scope; - if (this.namespaceScopes === void 0) { + if (this.namespaceScopes === undefined) { this.namespaceScopes = /* @__PURE__ */ new Map(); } else { scope = this.namespaceScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new NamespaceScope(ambient, hasExportStatement, this); this.namespaceScopes.set(name, scope); } else { @@ -1414,10 +1414,10 @@ var AbstractScope = class { return scope; } end(cb) { - if (this.namespaceScopes !== void 0) { + if (this.namespaceScopes !== undefined) { this.namespaceScopes.forEach((value) => value.finish(cb)); } - this.namespaceScopes = this.#enumScopes = void 0; + this.namespaceScopes = this.#enumScopes = undefined; this.applyUses(); this.variables.forEach((variable) => { for (const declaration of variable.declarations) { @@ -1456,7 +1456,7 @@ var AbstractScope = class { } applyUse(use, variables = this.variables) { const variable = variables.get(use.location.text); - if (variable === void 0 || (variable.domain & use.domain) === 0) { + if (variable === undefined || (variable.domain & use.domain) === 0) { return false; } variable.uses.push(use); @@ -1581,7 +1581,7 @@ var FunctionExpressionScope = class extends AbstractNamedExpressionScope { }; var NamespaceScope = class extends NonRootScope { #ambient; - #exports = void 0; + #exports = undefined; #hasExport; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(ambient, hasExport, parent) { @@ -1619,11 +1619,11 @@ var NamespaceScope = class extends NonRootScope { } end(cb) { this.#innerScope.end((variable, key, scope) => { - if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== undefined && !this.#exports.has(key.text))) { return cb(variable, key, scope); } const namespaceVar = this.variables.get(key.text); - if (namespaceVar === void 0) { + if (namespaceVar === undefined) { this.variables.set(key.text, { declarations: variable.declarations.map(mapDeclaration), domain: variable.domain, @@ -1657,7 +1657,7 @@ var NamespaceScope = class extends NonRootScope { return this.#innerScope; } markExported(name) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = /* @__PURE__ */ new Set(); } this.#exports.add(name.text); @@ -1669,7 +1669,7 @@ var NamespaceScope = class extends NonRootScope { }; var RootScope = class extends AbstractScope { #exportAll; - #exports = void 0; + #exports = undefined; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(exportAll, global) { super(global); @@ -1695,12 +1695,12 @@ var RootScope = class extends AbstractScope { } end(cb) { this.#innerScope.end((value, key) => { - value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= this.#exportAll || this.#exports !== undefined && this.#exports.includes(key.text); value.inGlobalScope = this.global; return cb(value, key, this); }); return super.end((value, key, scope) => { - value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= scope === this && this.#exports !== undefined && this.#exports.includes(key.text); return cb(value, key, scope); }); } @@ -1708,7 +1708,7 @@ var RootScope = class extends AbstractScope { return this; } markExported(id) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = [id.text]; } else { this.#exports.push(id.text); @@ -1775,7 +1775,7 @@ var UsageWalker = class { case ts9__default.default.SyntaxKind.ClassExpression: return continueWithScope( node, - node.name !== void 0 ? new ClassExpressionScope( + node.name !== undefined ? new ClassExpressionScope( node.name, this.#scope ) : new NonRootScope(this.#scope, 1 /* Function */) @@ -1819,7 +1819,7 @@ var UsageWalker = class { } break; case ts9__default.default.SyntaxKind.ExportSpecifier: - if (node.propertyName !== void 0) { + if (node.propertyName !== undefined) { return this.#scope.markExported( node.propertyName, node.name @@ -1828,7 +1828,7 @@ var UsageWalker = class { return this.#scope.markExported(node.name); case ts9__default.default.SyntaxKind.Identifier: { const domain = getUsageDomain(node); - if (domain !== void 0) { + if (domain !== undefined) { this.#scope.addUse({ domain, location: node }); } return; @@ -1899,7 +1899,7 @@ var UsageWalker = class { this.#scope = savedScope; }; const handleBlockScope = (node) => { - if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== undefined) { this.#handleBindingName( node.variableDeclaration.name, true, @@ -1949,7 +1949,7 @@ var UsageWalker = class { this.#scope = savedScope; } #handleDeclaration(node, blockScoped, domain) { - if (node.name !== void 0) { + if (node.name !== undefined) { this.#scope.addVariable( node.name.text, node.name, @@ -1970,18 +1970,18 @@ var UsageWalker = class { if (node.kind === ts9__default.default.SyntaxKind.FunctionDeclaration) { this.#handleDeclaration(node, false, 4 /* Value */); } - const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); - if (node.name !== void 0) { + const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== undefined ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== undefined) { cb(node.name); } - if (node.typeParameters !== void 0) { + if (node.typeParameters !== undefined) { node.typeParameters.forEach(cb); } node.parameters.forEach(cb); - if (node.type !== void 0) { + if (node.type !== undefined) { cb(node.type); } - if (node.body !== void 0) { + if (node.body !== undefined) { scope.beginBody(); cb(node.body); } @@ -2070,7 +2070,7 @@ function isNamespaceExported(node) { return node.parent.kind === ts9__default.default.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9__default.default.SyntaxKind.ExportKeyword); } function namespaceHasExportStatement(ns) { - if (ns.body === void 0 || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { + if (ns.body === undefined || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { return false; } return containsExportStatement(ns.body); diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js index 12c109acab..5db5012424 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/lib/index.js @@ -82,9 +82,9 @@ function isJsxElementOrFragment(node) { function isCompilerOptionEnabled(options, option) { switch (option) { case "allowJs": - return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + return options.allowJs === undefined ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; case "allowSyntheticDefaultImports": - return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; + return options.allowSyntheticDefaultImports !== undefined ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; case "alwaysStrict": case "noImplicitAny": case "noImplicitThis": @@ -103,7 +103,7 @@ function isCompilerOptionEnabled(options, option) { case "stripInternal": return options[option] === true && isCompilerOptionEnabled(options, "declaration"); case "incremental": - return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + return options.incremental === undefined ? isCompilerOptionEnabled(options, "composite") : options.incremental; case "noUncheckedIndexedAccess": return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); case "skipDefaultLibCheck": @@ -140,7 +140,7 @@ var isTypeFlagSet = isFlagSetOnObject; // src/modifiers.ts function includesModifier(modifiers, ...kinds) { - if (modifiers === void 0) { + if (modifiers === undefined) { return false; } for (const modifier of modifiers) { @@ -263,7 +263,7 @@ function getAccessKind(node) { function isInDestructuringAssignment(node) { switch (node.kind) { case ts9.SyntaxKind.ShorthandPropertyAssignment: - if (node.objectAssignmentInitializer !== void 0) { + if (node.objectAssignmentInitializer !== undefined) { return true; } // falls through @@ -686,17 +686,17 @@ function isIterationStatement(node) { } } function isJSDocNamespaceDeclaration(node) { - return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === undefined || isJSDocNamespaceBody(node.body)); } function isJsxTagNamePropertyAccess(node) { return ts9.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 isJsxTagNameExpression(node.expression); } function isNamedDeclarationWithName(node) { - return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); + return "name" in node && node.name !== undefined && node.name !== null && isDeclarationName(node.name); } function isNamespaceDeclaration(node) { - return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== undefined && isNamespaceBody(node.body); } function isNumericOrStringLikeLiteral(node) { switch (node.kind) { @@ -888,13 +888,13 @@ function getCallSignaturesOfType(type) { for (const subType of type.types) { const sig = getCallSignaturesOfType(subType); if (sig.length !== 0) { - if (signatures !== void 0) { + if (signatures !== undefined) { return []; } signatures = sig; } } - return signatures === void 0 ? [] : signatures; + return signatures === undefined ? [] : signatures; } return type.getCallSignatures(); } @@ -910,8 +910,8 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker if (!prop.name.startsWith(prefix)) { continue; } - const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; - if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9.isComputedPropertyName(declaration.name)) { + const declaration = prop.valueDeclaration ?? prop.getDeclarations()?.[0]; + if (!declaration || !isNamedDeclarationWithName(declaration) || declaration.name === undefined || !ts9.isComputedPropertyName(declaration.name)) { continue; } const globalSymbol = typeChecker.getApparentType( @@ -925,7 +925,7 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker return prop; } } - return void 0; + return undefined; } function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( @@ -967,7 +967,7 @@ function isInConstContext(node, typeChecker) { const functionSignature = typeChecker.getResolvedSignature( parent ); - if (functionSignature === void 0) { + if (functionSignature === undefined) { return false; } const argumentIndex = parent.arguments.indexOf( @@ -977,12 +977,12 @@ function isInConstContext(node, typeChecker) { return false; } const parameterSymbol = functionSignature.getParameters()[argumentIndex]; - if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + if (parameterSymbol === undefined || !("links" in parameterSymbol)) { return false; } const parameterSymbolLinks = parameterSymbol.links; const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; - if (propertySymbol === void 0 || !("links" in propertySymbol)) { + if (propertySymbol === undefined || !("links" in propertySymbol)) { return false; } return isTransientSymbolLinksFlagSet( @@ -1041,8 +1041,8 @@ function isPropertyReadonlyInType(type, name, typeChecker) { let seenProperty = false; let seenReadonlySignature = false; for (const subType of unionTypeParts(type)) { - if (getPropertyOfType(subType, name) === void 0) { - const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); + if (getPropertyOfType(subType, name) === undefined) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : undefined) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); if (index?.isReadonly) { if (seenProperty) { return true; @@ -1060,7 +1060,7 @@ function isPropertyReadonlyInType(type, name, typeChecker) { function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { const then = typePart.getProperty("then"); - if (then === void 0) { + if (then === undefined) { continue; } const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); @@ -1101,7 +1101,7 @@ function isCallback(typeChecker, param, node) { ); if (param.valueDeclaration.dotDotDotToken) { type = type.getNumberIndexType(); - if (type === void 0) { + if (type === undefined) { return false; } } @@ -1117,14 +1117,14 @@ function isReadonlyAssignmentDeclaration(node, typeChecker) { return false; } const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); - if (descriptorType.getProperty("value") === void 0) { - return descriptorType.getProperty("set") === void 0; + if (descriptorType.getProperty("value") === undefined) { + return descriptorType.getProperty("set") === undefined; } const writableProp = descriptorType.getProperty("writable"); - if (writableProp === void 0) { + if (writableProp === undefined) { return false; } - const writableType = writableProp.valueDeclaration !== void 0 && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + const writableType = writableProp.valueDeclaration !== undefined && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); return isFalseLiteralType(writableType); } function isReadonlyPropertyFromMappedType(type, name, typeChecker) { @@ -1132,7 +1132,7 @@ function isReadonlyPropertyFromMappedType(type, name, typeChecker) { return; } const declaration = type.symbol.declarations[0]; - if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + if (declaration.readonlyToken !== undefined && !/^__@[^@]+$/.test(name)) { return declaration.readonlyToken.kind !== ts9.SyntaxKind.MinusToken; } const { modifiersType } = type; @@ -1142,7 +1142,7 @@ function isReadonlyPropertyIntersection(type, name, typeChecker) { const typeParts2 = isIntersectionType(type) ? type.types : [type]; return typeParts2.some((subType) => { const prop = getPropertyOfType(subType, name); - if (prop === void 0) { + if (prop === undefined) { return false; } if (prop.flags & ts9.SymbolFlags.Transient) { @@ -1190,7 +1190,7 @@ function getDeclarationDomain(node) { // TODO handle type-only imports case ts9.SyntaxKind.ImportEqualsDeclaration: case ts9.SyntaxKind.ImportSpecifier: - return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : undefined; case ts9.SyntaxKind.InterfaceDeclaration: case ts9.SyntaxKind.TypeAliasDeclaration: case ts9.SyntaxKind.TypeParameter: @@ -1204,7 +1204,7 @@ function getDeclarationDomain(node) { // falls through case ts9.SyntaxKind.BindingElement: case ts9.SyntaxKind.VariableDeclaration: - return node.parent.name === node ? 4 /* Value */ : void 0; + return node.parent.name === node ? 4 /* Value */ : undefined; } } function getPropertyName(propertyName) { @@ -1217,7 +1217,7 @@ function getPropertyName(propertyName) { negate = true; // falls through case ts9.SyntaxKind.PlusToken: - return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : undefined; default: return; } @@ -1230,7 +1230,7 @@ function getPropertyName(propertyName) { } return; } - return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; + return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? undefined : propertyName.text; } function unwrapParentheses(node) { while (node.kind === ts9.SyntaxKind.ParenthesizedExpression) { @@ -1296,7 +1296,7 @@ function getUsageDomain(node) { case ts9.SyntaxKind.ExportAssignment: return 7 /* Any */; case ts9.SyntaxKind.ExportSpecifier: - if (parent.propertyName === void 0 || parent.propertyName === node) { + if (parent.propertyName === undefined || parent.propertyName === node) { return 7 /* Any */; } break; @@ -1313,7 +1313,7 @@ function getUsageDomain(node) { case ts9.SyntaxKind.TypeQuery: return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; case ts9.SyntaxKind.TypeReference: - return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : undefined; default: return 5 /* ValueOrNamespace */; } @@ -1351,10 +1351,10 @@ var AbstractScope = class { constructor(global) { this.global = global; } - namespaceScopes = void 0; + namespaceScopes = undefined; uses = []; variables = /* @__PURE__ */ new Map(); - #enumScopes = void 0; + #enumScopes = undefined; addUse(use) { this.uses.push(use); } @@ -1366,7 +1366,7 @@ var AbstractScope = class { exported }; const variable = variables.get(identifier); - if (variable === void 0) { + if (variable === undefined) { variables.set(identifier, { declarations: [declaration], domain, @@ -1380,12 +1380,12 @@ var AbstractScope = class { // eslint-disable-next-line @typescript-eslint/no-unused-vars createOrReuseEnumScope(name, _exported) { let scope; - if (this.#enumScopes === void 0) { + if (this.#enumScopes === undefined) { this.#enumScopes = /* @__PURE__ */ new Map(); } else { scope = this.#enumScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new EnumScope(this); this.#enumScopes.set(name, scope); } @@ -1394,12 +1394,12 @@ var AbstractScope = class { // only relevant for the root scope createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { let scope; - if (this.namespaceScopes === void 0) { + if (this.namespaceScopes === undefined) { this.namespaceScopes = /* @__PURE__ */ new Map(); } else { scope = this.namespaceScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new NamespaceScope(ambient, hasExportStatement, this); this.namespaceScopes.set(name, scope); } else { @@ -1408,10 +1408,10 @@ var AbstractScope = class { return scope; } end(cb) { - if (this.namespaceScopes !== void 0) { + if (this.namespaceScopes !== undefined) { this.namespaceScopes.forEach((value) => value.finish(cb)); } - this.namespaceScopes = this.#enumScopes = void 0; + this.namespaceScopes = this.#enumScopes = undefined; this.applyUses(); this.variables.forEach((variable) => { for (const declaration of variable.declarations) { @@ -1450,7 +1450,7 @@ var AbstractScope = class { } applyUse(use, variables = this.variables) { const variable = variables.get(use.location.text); - if (variable === void 0 || (variable.domain & use.domain) === 0) { + if (variable === undefined || (variable.domain & use.domain) === 0) { return false; } variable.uses.push(use); @@ -1575,7 +1575,7 @@ var FunctionExpressionScope = class extends AbstractNamedExpressionScope { }; var NamespaceScope = class extends NonRootScope { #ambient; - #exports = void 0; + #exports = undefined; #hasExport; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(ambient, hasExport, parent) { @@ -1613,11 +1613,11 @@ var NamespaceScope = class extends NonRootScope { } end(cb) { this.#innerScope.end((variable, key, scope) => { - if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== undefined && !this.#exports.has(key.text))) { return cb(variable, key, scope); } const namespaceVar = this.variables.get(key.text); - if (namespaceVar === void 0) { + if (namespaceVar === undefined) { this.variables.set(key.text, { declarations: variable.declarations.map(mapDeclaration), domain: variable.domain, @@ -1651,7 +1651,7 @@ var NamespaceScope = class extends NonRootScope { return this.#innerScope; } markExported(name) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = /* @__PURE__ */ new Set(); } this.#exports.add(name.text); @@ -1663,7 +1663,7 @@ var NamespaceScope = class extends NonRootScope { }; var RootScope = class extends AbstractScope { #exportAll; - #exports = void 0; + #exports = undefined; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(exportAll, global) { super(global); @@ -1689,12 +1689,12 @@ var RootScope = class extends AbstractScope { } end(cb) { this.#innerScope.end((value, key) => { - value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= this.#exportAll || this.#exports !== undefined && this.#exports.includes(key.text); value.inGlobalScope = this.global; return cb(value, key, this); }); return super.end((value, key, scope) => { - value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= scope === this && this.#exports !== undefined && this.#exports.includes(key.text); return cb(value, key, scope); }); } @@ -1702,7 +1702,7 @@ var RootScope = class extends AbstractScope { return this; } markExported(id) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = [id.text]; } else { this.#exports.push(id.text); @@ -1769,7 +1769,7 @@ var UsageWalker = class { case ts9.SyntaxKind.ClassExpression: return continueWithScope( node, - node.name !== void 0 ? new ClassExpressionScope( + node.name !== undefined ? new ClassExpressionScope( node.name, this.#scope ) : new NonRootScope(this.#scope, 1 /* Function */) @@ -1813,7 +1813,7 @@ var UsageWalker = class { } break; case ts9.SyntaxKind.ExportSpecifier: - if (node.propertyName !== void 0) { + if (node.propertyName !== undefined) { return this.#scope.markExported( node.propertyName, node.name @@ -1822,7 +1822,7 @@ var UsageWalker = class { return this.#scope.markExported(node.name); case ts9.SyntaxKind.Identifier: { const domain = getUsageDomain(node); - if (domain !== void 0) { + if (domain !== undefined) { this.#scope.addUse({ domain, location: node }); } return; @@ -1893,7 +1893,7 @@ var UsageWalker = class { this.#scope = savedScope; }; const handleBlockScope = (node) => { - if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== undefined) { this.#handleBindingName( node.variableDeclaration.name, true, @@ -1943,7 +1943,7 @@ var UsageWalker = class { this.#scope = savedScope; } #handleDeclaration(node, blockScoped, domain) { - if (node.name !== void 0) { + if (node.name !== undefined) { this.#scope.addVariable( node.name.text, node.name, @@ -1964,18 +1964,18 @@ var UsageWalker = class { if (node.kind === ts9.SyntaxKind.FunctionDeclaration) { this.#handleDeclaration(node, false, 4 /* Value */); } - const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); - if (node.name !== void 0) { + const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== undefined ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== undefined) { cb(node.name); } - if (node.typeParameters !== void 0) { + if (node.typeParameters !== undefined) { node.typeParameters.forEach(cb); } node.parameters.forEach(cb); - if (node.type !== void 0) { + if (node.type !== undefined) { cb(node.type); } - if (node.body !== void 0) { + if (node.body !== undefined) { scope.beginBody(); cb(node.body); } @@ -2064,7 +2064,7 @@ function isNamespaceExported(node) { return node.parent.kind === ts9.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9.SyntaxKind.ExportKeyword); } function namespaceHasExportStatement(ns) { - if (ns.body === void 0 || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { + if (ns.body === undefined || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { return false; } return containsExportStatement(ns.body); diff --git a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json index 78378ff3f8..3810c855d6 100644 --- a/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json +++ b/node_modules/@typescript-eslint/parser/node_modules/ts-api-utils/package.json @@ -1,6 +1,6 @@ { "name": "ts-api-utils", - "version": "2.0.0", + "version": "2.0.1", "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️", "repository": { "type": "git", @@ -51,51 +51,51 @@ }, "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", - "@eslint/js": "^9.15.0", + "@eslint/js": "^9.19.0", "@phenomnomnominal/tsquery": "^6.1.3", - "@release-it/conventional-changelog": "^9.0.3", + "@release-it/conventional-changelog": "^10.0.0", "@types/eslint-plugin-markdown": "^2.0.2", - "@types/node": "^18.19.65", + "@types/node": "^18.19.74", "@typescript/vfs": "^1.6.0", - "@vitest/coverage-v8": "^2.1.5", - "@vitest/eslint-plugin": "^1.1.10", + "@vitest/coverage-v8": "^2.1.8", + "@vitest/eslint-plugin": "^1.1.25", "console-fail-test": "^0.5.0", - "cspell": "^8.16.0", - "eslint": "^9.15.0", - "eslint-plugin-jsdoc": "^50.5.0", - "eslint-plugin-jsonc": "^2.18.2", + "cspell": "^8.17.3", + "eslint": "^9.19.0", + "eslint-plugin-jsdoc": "^50.6.3", + "eslint-plugin-jsonc": "^2.19.1", "eslint-plugin-markdown": "^5.1.0", - "eslint-plugin-n": "^17.14.0", - "eslint-plugin-package-json": "^0.15.6", - "eslint-plugin-perfectionist": "^4.1.2", + "eslint-plugin-n": "^17.15.1", + "eslint-plugin-package-json": "^0.19.0", + "eslint-plugin-perfectionist": "^4.7.0", "eslint-plugin-regexp": "^2.7.0", - "eslint-plugin-yml": "^1.15.0", + "eslint-plugin-yml": "^1.16.0", "husky": "^9.1.7", "jsonc-eslint-parser": "^2.4.0", - "knip": "^5.37.2", - "lint-staged": "^15.2.10", - "markdownlint": "^0.36.1", + "knip": "^5.43.6", + "lint-staged": "^15.4.3", + "markdownlint": "^0.37.4", "markdownlint-cli": "^0.43.0", - "prettier": "^3.3.3", + "prettier": "^3.4.2", "prettier-plugin-curly": "^0.3.1", - "prettier-plugin-packagejson": "^2.5.6", - "release-it": "^17.10.0", - "sentences-per-line": "^0.2.1", + "prettier-plugin-packagejson": "^2.5.8", + "release-it": "^18.1.2", + "sentences-per-line": "^0.3.0", "should-semantic-release": "^0.3.0", - "tsup": "^8.3.5", - "typedoc": "^0.26.11", - "typedoc-plugin-coverage": "^3.4.0", + "tsup": "^8.3.6", + "typedoc": "^0.27.6", + "typedoc-plugin-coverage": "^3.4.1", "typedoc-plugin-custom-validation": "^2.0.2", "typedoc-plugin-konamimojisplosion": "^0.0.2", - "typedoc-plugin-mdn-links": "^4.0.1", - "typescript": "^5.7.2", - "typescript-eslint": "^8.16.0", - "vitest": "^2.1.5" + "typedoc-plugin-mdn-links": "^4.0.10", + "typescript": "^5.7.3", + "typescript-eslint": "^8.22.0", + "vitest": "^2.1.8" }, "peerDependencies": { "typescript": ">=4.8.4" }, - "packageManager": "pnpm@9.14.2", + "packageManager": "pnpm@9.15.3", "engines": { "node": ">=18.12" }, diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index c46ed19ce0..d29e92297a 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "8.22.0", + "version": "8.23.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -53,10 +53,10 @@ "typescript": ">=4.8.4 <5.8.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json index c957046031..c96aa2fbfb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "8.22.0", + "version": "8.23.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0" + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/typescript-estree": "8.23.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts index 6342feaa21..49753fa585 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts @@ -54,6 +54,24 @@ declare module './generated/ast-spec' { interface ImportSpecifier { parent: TSESTree.ExportAllDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration; } + interface ExportDefaultDeclaration { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithoutSourceWithMultiple { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithoutSourceWithSingle { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface ExportNamedDeclarationWithSource { + parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock; + } + interface FunctionDeclarationWithName { + parent: TSESTree.BlockStatement | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.Program; + } + interface FunctionDeclarationWithOptionalName { + parent: TSESTree.ExportDefaultDeclaration; + } interface JSXAttribute { parent: TSESTree.JSXOpeningElement; } diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map index 7c84c962a4..2f9f374dad 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.d.ts","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAGtD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC;KACvB;IAED,UAAU,OAAO;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB;IAED,UAAU,4BAA4B;QACpC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC5B;IACD,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,S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AC;KAC5B;IAED,UAAU,eAAe;QACvB,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;IAED,UAAU,mBAAmB;QAC3B,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC;KAClC;IAED,UAAU,6BAA6B;QACrC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IACD,UAAU,gCAAgC;QACxC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,aAAa;QACrB,MAAM,EAAE,QAAQ,CAAC,mBAAmB,CAAC;KACtC;IAED,UAAU,mBAAmB;QAC3B,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;KAC/B;IAED,UAAU,+BAA+B;QACvC,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IACD,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC;KAC3D;IAED,UAAU,eAAe;QACvB,MAAM,EACF,QAAQ,CAAC,WAAW,GACpB,QAAQ,CAAC,YAAY,GACrB,QAAQ,CAAC,0BAA0B,CAAC;KACzC;IAED,UAAU,kCAAkC;QAC1C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;IACD,UAAU,uCAAuC;QAC/C,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC;KACzC;CACF;AAED,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map index 521de1b968..115feda1e8 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/dist/ts-estree.js.map @@ -1 +1 @@ -{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmOA,iEAAiD"} \ No newline at end of file +{"version":3,"file":"ts-estree.js","sourceRoot":"","sources":["../src/ts-estree.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+PA,iEAAiD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json index c6c8359d15..40f3315398 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "8.22.0", + "version": "8.23.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json index 01488c0ed9..a1f5572675 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "8.22.0", + "version": "8.23.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,14 +54,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/visitor-keys": "8.22.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "devDependencies": { "@jest/types": "29.6.3", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json index 003f086192..4e6c78fc31 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "8.22.0", + "version": "8.23.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.22.0", - "@typescript-eslint/types": "8.22.0", - "@typescript-eslint/typescript-estree": "8.22.0" + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json index 3568a5d9e9..bd58b26c24 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "8.22.0", + "version": "8.23.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/types": "8.23.0", "eslint-visitor-keys": "^4.2.0" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs index fffa147ccc..4b7427ebdb 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.cjs @@ -88,9 +88,9 @@ function isJsxElementOrFragment(node) { function isCompilerOptionEnabled(options, option) { switch (option) { case "allowJs": - return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + return options.allowJs === undefined ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; case "allowSyntheticDefaultImports": - return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; + return options.allowSyntheticDefaultImports !== undefined ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9__default.default.ModuleKind.System; case "alwaysStrict": case "noImplicitAny": case "noImplicitThis": @@ -109,7 +109,7 @@ function isCompilerOptionEnabled(options, option) { case "stripInternal": return options[option] === true && isCompilerOptionEnabled(options, "declaration"); case "incremental": - return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + return options.incremental === undefined ? isCompilerOptionEnabled(options, "composite") : options.incremental; case "noUncheckedIndexedAccess": return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); case "skipDefaultLibCheck": @@ -146,7 +146,7 @@ var isTypeFlagSet = isFlagSetOnObject; // src/modifiers.ts function includesModifier(modifiers, ...kinds) { - if (modifiers === void 0) { + if (modifiers === undefined) { return false; } for (const modifier of modifiers) { @@ -269,7 +269,7 @@ function getAccessKind(node) { function isInDestructuringAssignment(node) { switch (node.kind) { case ts9__default.default.SyntaxKind.ShorthandPropertyAssignment: - if (node.objectAssignmentInitializer !== void 0) { + if (node.objectAssignmentInitializer !== undefined) { return true; } // falls through @@ -692,17 +692,17 @@ function isIterationStatement(node) { } } function isJSDocNamespaceDeclaration(node) { - return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && (node.body === undefined || isJSDocNamespaceBody(node.body)); } function isJsxTagNamePropertyAccess(node) { return ts9__default.default.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 isJsxTagNameExpression(node.expression); } function isNamedDeclarationWithName(node) { - return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); + return "name" in node && node.name !== undefined && node.name !== null && isDeclarationName(node.name); } function isNamespaceDeclaration(node) { - return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); + return ts9__default.default.isModuleDeclaration(node) && ts9__default.default.isIdentifier(node.name) && node.body !== undefined && isNamespaceBody(node.body); } function isNumericOrStringLikeLiteral(node) { switch (node.kind) { @@ -894,13 +894,13 @@ function getCallSignaturesOfType(type) { for (const subType of type.types) { const sig = getCallSignaturesOfType(subType); if (sig.length !== 0) { - if (signatures !== void 0) { + if (signatures !== undefined) { return []; } signatures = sig; } } - return signatures === void 0 ? [] : signatures; + return signatures === undefined ? [] : signatures; } return type.getCallSignatures(); } @@ -916,8 +916,8 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker if (!prop.name.startsWith(prefix)) { continue; } - const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; - if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9__default.default.isComputedPropertyName(declaration.name)) { + const declaration = prop.valueDeclaration ?? prop.getDeclarations()?.[0]; + if (!declaration || !isNamedDeclarationWithName(declaration) || declaration.name === undefined || !ts9__default.default.isComputedPropertyName(declaration.name)) { continue; } const globalSymbol = typeChecker.getApparentType( @@ -931,7 +931,7 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker return prop; } } - return void 0; + return undefined; } function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( @@ -973,7 +973,7 @@ function isInConstContext(node, typeChecker) { const functionSignature = typeChecker.getResolvedSignature( parent ); - if (functionSignature === void 0) { + if (functionSignature === undefined) { return false; } const argumentIndex = parent.arguments.indexOf( @@ -983,12 +983,12 @@ function isInConstContext(node, typeChecker) { return false; } const parameterSymbol = functionSignature.getParameters()[argumentIndex]; - if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + if (parameterSymbol === undefined || !("links" in parameterSymbol)) { return false; } const parameterSymbolLinks = parameterSymbol.links; const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; - if (propertySymbol === void 0 || !("links" in propertySymbol)) { + if (propertySymbol === undefined || !("links" in propertySymbol)) { return false; } return isTransientSymbolLinksFlagSet( @@ -1047,8 +1047,8 @@ function isPropertyReadonlyInType(type, name, typeChecker) { let seenProperty = false; let seenReadonlySignature = false; for (const subType of unionTypeParts(type)) { - if (getPropertyOfType(subType, name) === void 0) { - const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); + if (getPropertyOfType(subType, name) === undefined) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.Number) : undefined) ?? typeChecker.getIndexInfoOfType(subType, ts9__default.default.IndexKind.String); if (index?.isReadonly) { if (seenProperty) { return true; @@ -1066,7 +1066,7 @@ function isPropertyReadonlyInType(type, name, typeChecker) { function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { const then = typePart.getProperty("then"); - if (then === void 0) { + if (then === undefined) { continue; } const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); @@ -1107,7 +1107,7 @@ function isCallback(typeChecker, param, node) { ); if (param.valueDeclaration.dotDotDotToken) { type = type.getNumberIndexType(); - if (type === void 0) { + if (type === undefined) { return false; } } @@ -1123,14 +1123,14 @@ function isReadonlyAssignmentDeclaration(node, typeChecker) { return false; } const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); - if (descriptorType.getProperty("value") === void 0) { - return descriptorType.getProperty("set") === void 0; + if (descriptorType.getProperty("value") === undefined) { + return descriptorType.getProperty("set") === undefined; } const writableProp = descriptorType.getProperty("writable"); - if (writableProp === void 0) { + if (writableProp === undefined) { return false; } - const writableType = writableProp.valueDeclaration !== void 0 && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + const writableType = writableProp.valueDeclaration !== undefined && ts9__default.default.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); return isFalseLiteralType(writableType); } function isReadonlyPropertyFromMappedType(type, name, typeChecker) { @@ -1138,7 +1138,7 @@ function isReadonlyPropertyFromMappedType(type, name, typeChecker) { return; } const declaration = type.symbol.declarations[0]; - if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + if (declaration.readonlyToken !== undefined && !/^__@[^@]+$/.test(name)) { return declaration.readonlyToken.kind !== ts9__default.default.SyntaxKind.MinusToken; } const { modifiersType } = type; @@ -1148,7 +1148,7 @@ function isReadonlyPropertyIntersection(type, name, typeChecker) { const typeParts2 = isIntersectionType(type) ? type.types : [type]; return typeParts2.some((subType) => { const prop = getPropertyOfType(subType, name); - if (prop === void 0) { + if (prop === undefined) { return false; } if (prop.flags & ts9__default.default.SymbolFlags.Transient) { @@ -1196,7 +1196,7 @@ function getDeclarationDomain(node) { // TODO handle type-only imports case ts9__default.default.SyntaxKind.ImportEqualsDeclaration: case ts9__default.default.SyntaxKind.ImportSpecifier: - return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : undefined; case ts9__default.default.SyntaxKind.InterfaceDeclaration: case ts9__default.default.SyntaxKind.TypeAliasDeclaration: case ts9__default.default.SyntaxKind.TypeParameter: @@ -1210,7 +1210,7 @@ function getDeclarationDomain(node) { // falls through case ts9__default.default.SyntaxKind.BindingElement: case ts9__default.default.SyntaxKind.VariableDeclaration: - return node.parent.name === node ? 4 /* Value */ : void 0; + return node.parent.name === node ? 4 /* Value */ : undefined; } } function getPropertyName(propertyName) { @@ -1223,7 +1223,7 @@ function getPropertyName(propertyName) { negate = true; // falls through case ts9__default.default.SyntaxKind.PlusToken: - return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + return ts9__default.default.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9__default.default.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : undefined; default: return; } @@ -1236,7 +1236,7 @@ function getPropertyName(propertyName) { } return; } - return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; + return propertyName.kind === ts9__default.default.SyntaxKind.PrivateIdentifier ? undefined : propertyName.text; } function unwrapParentheses(node) { while (node.kind === ts9__default.default.SyntaxKind.ParenthesizedExpression) { @@ -1302,7 +1302,7 @@ function getUsageDomain(node) { case ts9__default.default.SyntaxKind.ExportAssignment: return 7 /* Any */; case ts9__default.default.SyntaxKind.ExportSpecifier: - if (parent.propertyName === void 0 || parent.propertyName === node) { + if (parent.propertyName === undefined || parent.propertyName === node) { return 7 /* Any */; } break; @@ -1319,7 +1319,7 @@ function getUsageDomain(node) { case ts9__default.default.SyntaxKind.TypeQuery: return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; case ts9__default.default.SyntaxKind.TypeReference: - return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + return identifierToKeywordKind(node) !== ts9__default.default.SyntaxKind.ConstKeyword ? 2 /* Type */ : undefined; default: return 5 /* ValueOrNamespace */; } @@ -1357,10 +1357,10 @@ var AbstractScope = class { constructor(global) { this.global = global; } - namespaceScopes = void 0; + namespaceScopes = undefined; uses = []; variables = /* @__PURE__ */ new Map(); - #enumScopes = void 0; + #enumScopes = undefined; addUse(use) { this.uses.push(use); } @@ -1372,7 +1372,7 @@ var AbstractScope = class { exported }; const variable = variables.get(identifier); - if (variable === void 0) { + if (variable === undefined) { variables.set(identifier, { declarations: [declaration], domain, @@ -1386,12 +1386,12 @@ var AbstractScope = class { // eslint-disable-next-line @typescript-eslint/no-unused-vars createOrReuseEnumScope(name, _exported) { let scope; - if (this.#enumScopes === void 0) { + if (this.#enumScopes === undefined) { this.#enumScopes = /* @__PURE__ */ new Map(); } else { scope = this.#enumScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new EnumScope(this); this.#enumScopes.set(name, scope); } @@ -1400,12 +1400,12 @@ var AbstractScope = class { // only relevant for the root scope createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { let scope; - if (this.namespaceScopes === void 0) { + if (this.namespaceScopes === undefined) { this.namespaceScopes = /* @__PURE__ */ new Map(); } else { scope = this.namespaceScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new NamespaceScope(ambient, hasExportStatement, this); this.namespaceScopes.set(name, scope); } else { @@ -1414,10 +1414,10 @@ var AbstractScope = class { return scope; } end(cb) { - if (this.namespaceScopes !== void 0) { + if (this.namespaceScopes !== undefined) { this.namespaceScopes.forEach((value) => value.finish(cb)); } - this.namespaceScopes = this.#enumScopes = void 0; + this.namespaceScopes = this.#enumScopes = undefined; this.applyUses(); this.variables.forEach((variable) => { for (const declaration of variable.declarations) { @@ -1456,7 +1456,7 @@ var AbstractScope = class { } applyUse(use, variables = this.variables) { const variable = variables.get(use.location.text); - if (variable === void 0 || (variable.domain & use.domain) === 0) { + if (variable === undefined || (variable.domain & use.domain) === 0) { return false; } variable.uses.push(use); @@ -1581,7 +1581,7 @@ var FunctionExpressionScope = class extends AbstractNamedExpressionScope { }; var NamespaceScope = class extends NonRootScope { #ambient; - #exports = void 0; + #exports = undefined; #hasExport; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(ambient, hasExport, parent) { @@ -1619,11 +1619,11 @@ var NamespaceScope = class extends NonRootScope { } end(cb) { this.#innerScope.end((variable, key, scope) => { - if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== undefined && !this.#exports.has(key.text))) { return cb(variable, key, scope); } const namespaceVar = this.variables.get(key.text); - if (namespaceVar === void 0) { + if (namespaceVar === undefined) { this.variables.set(key.text, { declarations: variable.declarations.map(mapDeclaration), domain: variable.domain, @@ -1657,7 +1657,7 @@ var NamespaceScope = class extends NonRootScope { return this.#innerScope; } markExported(name) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = /* @__PURE__ */ new Set(); } this.#exports.add(name.text); @@ -1669,7 +1669,7 @@ var NamespaceScope = class extends NonRootScope { }; var RootScope = class extends AbstractScope { #exportAll; - #exports = void 0; + #exports = undefined; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(exportAll, global) { super(global); @@ -1695,12 +1695,12 @@ var RootScope = class extends AbstractScope { } end(cb) { this.#innerScope.end((value, key) => { - value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= this.#exportAll || this.#exports !== undefined && this.#exports.includes(key.text); value.inGlobalScope = this.global; return cb(value, key, this); }); return super.end((value, key, scope) => { - value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= scope === this && this.#exports !== undefined && this.#exports.includes(key.text); return cb(value, key, scope); }); } @@ -1708,7 +1708,7 @@ var RootScope = class extends AbstractScope { return this; } markExported(id) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = [id.text]; } else { this.#exports.push(id.text); @@ -1775,7 +1775,7 @@ var UsageWalker = class { case ts9__default.default.SyntaxKind.ClassExpression: return continueWithScope( node, - node.name !== void 0 ? new ClassExpressionScope( + node.name !== undefined ? new ClassExpressionScope( node.name, this.#scope ) : new NonRootScope(this.#scope, 1 /* Function */) @@ -1819,7 +1819,7 @@ var UsageWalker = class { } break; case ts9__default.default.SyntaxKind.ExportSpecifier: - if (node.propertyName !== void 0) { + if (node.propertyName !== undefined) { return this.#scope.markExported( node.propertyName, node.name @@ -1828,7 +1828,7 @@ var UsageWalker = class { return this.#scope.markExported(node.name); case ts9__default.default.SyntaxKind.Identifier: { const domain = getUsageDomain(node); - if (domain !== void 0) { + if (domain !== undefined) { this.#scope.addUse({ domain, location: node }); } return; @@ -1899,7 +1899,7 @@ var UsageWalker = class { this.#scope = savedScope; }; const handleBlockScope = (node) => { - if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + if (node.kind === ts9__default.default.SyntaxKind.CatchClause && node.variableDeclaration !== undefined) { this.#handleBindingName( node.variableDeclaration.name, true, @@ -1949,7 +1949,7 @@ var UsageWalker = class { this.#scope = savedScope; } #handleDeclaration(node, blockScoped, domain) { - if (node.name !== void 0) { + if (node.name !== undefined) { this.#scope.addVariable( node.name.text, node.name, @@ -1970,18 +1970,18 @@ var UsageWalker = class { if (node.kind === ts9__default.default.SyntaxKind.FunctionDeclaration) { this.#handleDeclaration(node, false, 4 /* Value */); } - const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); - if (node.name !== void 0) { + const scope = this.#scope = node.kind === ts9__default.default.SyntaxKind.FunctionExpression && node.name !== undefined ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== undefined) { cb(node.name); } - if (node.typeParameters !== void 0) { + if (node.typeParameters !== undefined) { node.typeParameters.forEach(cb); } node.parameters.forEach(cb); - if (node.type !== void 0) { + if (node.type !== undefined) { cb(node.type); } - if (node.body !== void 0) { + if (node.body !== undefined) { scope.beginBody(); cb(node.body); } @@ -2070,7 +2070,7 @@ function isNamespaceExported(node) { return node.parent.kind === ts9__default.default.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9__default.default.SyntaxKind.ExportKeyword); } function namespaceHasExportStatement(ns) { - if (ns.body === void 0 || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { + if (ns.body === undefined || ns.body.kind !== ts9__default.default.SyntaxKind.ModuleBlock) { return false; } return containsExportStatement(ns.body); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js index 12c109acab..5db5012424 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/lib/index.js @@ -82,9 +82,9 @@ function isJsxElementOrFragment(node) { function isCompilerOptionEnabled(options, option) { switch (option) { case "allowJs": - return options.allowJs === void 0 ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; + return options.allowJs === undefined ? isCompilerOptionEnabled(options, "checkJs") : options.allowJs; case "allowSyntheticDefaultImports": - return options.allowSyntheticDefaultImports !== void 0 ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; + return options.allowSyntheticDefaultImports !== undefined ? options.allowSyntheticDefaultImports : isCompilerOptionEnabled(options, "esModuleInterop") || options.module === ts9.ModuleKind.System; case "alwaysStrict": case "noImplicitAny": case "noImplicitThis": @@ -103,7 +103,7 @@ function isCompilerOptionEnabled(options, option) { case "stripInternal": return options[option] === true && isCompilerOptionEnabled(options, "declaration"); case "incremental": - return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental; + return options.incremental === undefined ? isCompilerOptionEnabled(options, "composite") : options.incremental; case "noUncheckedIndexedAccess": return options.noUncheckedIndexedAccess === true && isCompilerOptionEnabled(options, "strictNullChecks"); case "skipDefaultLibCheck": @@ -140,7 +140,7 @@ var isTypeFlagSet = isFlagSetOnObject; // src/modifiers.ts function includesModifier(modifiers, ...kinds) { - if (modifiers === void 0) { + if (modifiers === undefined) { return false; } for (const modifier of modifiers) { @@ -263,7 +263,7 @@ function getAccessKind(node) { function isInDestructuringAssignment(node) { switch (node.kind) { case ts9.SyntaxKind.ShorthandPropertyAssignment: - if (node.objectAssignmentInitializer !== void 0) { + if (node.objectAssignmentInitializer !== undefined) { return true; } // falls through @@ -686,17 +686,17 @@ function isIterationStatement(node) { } } function isJSDocNamespaceDeclaration(node) { - return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === void 0 || isJSDocNamespaceBody(node.body)); + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && (node.body === undefined || isJSDocNamespaceBody(node.body)); } function isJsxTagNamePropertyAccess(node) { return ts9.isPropertyAccessExpression(node) && // eslint-disable-next-line @typescript-eslint/no-deprecated -- Keep compatibility with ts < 5 isJsxTagNameExpression(node.expression); } function isNamedDeclarationWithName(node) { - return "name" in node && node.name !== void 0 && node.name !== null && isDeclarationName(node.name); + return "name" in node && node.name !== undefined && node.name !== null && isDeclarationName(node.name); } function isNamespaceDeclaration(node) { - return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== void 0 && isNamespaceBody(node.body); + return ts9.isModuleDeclaration(node) && ts9.isIdentifier(node.name) && node.body !== undefined && isNamespaceBody(node.body); } function isNumericOrStringLikeLiteral(node) { switch (node.kind) { @@ -888,13 +888,13 @@ function getCallSignaturesOfType(type) { for (const subType of type.types) { const sig = getCallSignaturesOfType(subType); if (sig.length !== 0) { - if (signatures !== void 0) { + if (signatures !== undefined) { return []; } signatures = sig; } } - return signatures === void 0 ? [] : signatures; + return signatures === undefined ? [] : signatures; } return type.getCallSignatures(); } @@ -910,8 +910,8 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker if (!prop.name.startsWith(prefix)) { continue; } - const declaration = prop.valueDeclaration ?? prop.getDeclarations()[0]; - if (!isNamedDeclarationWithName(declaration) || declaration.name === void 0 || !ts9.isComputedPropertyName(declaration.name)) { + const declaration = prop.valueDeclaration ?? prop.getDeclarations()?.[0]; + if (!declaration || !isNamedDeclarationWithName(declaration) || declaration.name === undefined || !ts9.isComputedPropertyName(declaration.name)) { continue; } const globalSymbol = typeChecker.getApparentType( @@ -925,7 +925,7 @@ function getWellKnownSymbolPropertyOfType(type, wellKnownSymbolName, typeChecker return prop; } } - return void 0; + return undefined; } function getPropertyNameOfWellKnownSymbol(typeChecker, symbolConstructor, symbolName) { const knownSymbol = symbolConstructor && typeChecker.getTypeOfSymbolAtLocation( @@ -967,7 +967,7 @@ function isInConstContext(node, typeChecker) { const functionSignature = typeChecker.getResolvedSignature( parent ); - if (functionSignature === void 0) { + if (functionSignature === undefined) { return false; } const argumentIndex = parent.arguments.indexOf( @@ -977,12 +977,12 @@ function isInConstContext(node, typeChecker) { return false; } const parameterSymbol = functionSignature.getParameters()[argumentIndex]; - if (parameterSymbol === void 0 || !("links" in parameterSymbol)) { + if (parameterSymbol === undefined || !("links" in parameterSymbol)) { return false; } const parameterSymbolLinks = parameterSymbol.links; const propertySymbol = parameterSymbolLinks.type?.getProperties()?.[argumentIndex]; - if (propertySymbol === void 0 || !("links" in propertySymbol)) { + if (propertySymbol === undefined || !("links" in propertySymbol)) { return false; } return isTransientSymbolLinksFlagSet( @@ -1041,8 +1041,8 @@ function isPropertyReadonlyInType(type, name, typeChecker) { let seenProperty = false; let seenReadonlySignature = false; for (const subType of unionTypeParts(type)) { - if (getPropertyOfType(subType, name) === void 0) { - const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : void 0) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); + if (getPropertyOfType(subType, name) === undefined) { + const index = (isNumericPropertyName(name) ? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.Number) : undefined) ?? typeChecker.getIndexInfoOfType(subType, ts9.IndexKind.String); if (index?.isReadonly) { if (seenProperty) { return true; @@ -1060,7 +1060,7 @@ function isPropertyReadonlyInType(type, name, typeChecker) { function isThenableType(typeChecker, node, type = typeChecker.getTypeAtLocation(node)) { for (const typePart of unionTypeParts(typeChecker.getApparentType(type))) { const then = typePart.getProperty("then"); - if (then === void 0) { + if (then === undefined) { continue; } const thenType = typeChecker.getTypeOfSymbolAtLocation(then, node); @@ -1101,7 +1101,7 @@ function isCallback(typeChecker, param, node) { ); if (param.valueDeclaration.dotDotDotToken) { type = type.getNumberIndexType(); - if (type === void 0) { + if (type === undefined) { return false; } } @@ -1117,14 +1117,14 @@ function isReadonlyAssignmentDeclaration(node, typeChecker) { return false; } const descriptorType = typeChecker.getTypeAtLocation(node.arguments[2]); - if (descriptorType.getProperty("value") === void 0) { - return descriptorType.getProperty("set") === void 0; + if (descriptorType.getProperty("value") === undefined) { + return descriptorType.getProperty("set") === undefined; } const writableProp = descriptorType.getProperty("writable"); - if (writableProp === void 0) { + if (writableProp === undefined) { return false; } - const writableType = writableProp.valueDeclaration !== void 0 && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); + const writableType = writableProp.valueDeclaration !== undefined && ts9.isPropertyAssignment(writableProp.valueDeclaration) ? typeChecker.getTypeAtLocation(writableProp.valueDeclaration.initializer) : typeChecker.getTypeOfSymbolAtLocation(writableProp, node.arguments[2]); return isFalseLiteralType(writableType); } function isReadonlyPropertyFromMappedType(type, name, typeChecker) { @@ -1132,7 +1132,7 @@ function isReadonlyPropertyFromMappedType(type, name, typeChecker) { return; } const declaration = type.symbol.declarations[0]; - if (declaration.readonlyToken !== void 0 && !/^__@[^@]+$/.test(name)) { + if (declaration.readonlyToken !== undefined && !/^__@[^@]+$/.test(name)) { return declaration.readonlyToken.kind !== ts9.SyntaxKind.MinusToken; } const { modifiersType } = type; @@ -1142,7 +1142,7 @@ function isReadonlyPropertyIntersection(type, name, typeChecker) { const typeParts2 = isIntersectionType(type) ? type.types : [type]; return typeParts2.some((subType) => { const prop = getPropertyOfType(subType, name); - if (prop === void 0) { + if (prop === undefined) { return false; } if (prop.flags & ts9.SymbolFlags.Transient) { @@ -1190,7 +1190,7 @@ function getDeclarationDomain(node) { // TODO handle type-only imports case ts9.SyntaxKind.ImportEqualsDeclaration: case ts9.SyntaxKind.ImportSpecifier: - return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : void 0; + return node.parent.name === node ? 7 /* Any */ | 8 /* Import */ : undefined; case ts9.SyntaxKind.InterfaceDeclaration: case ts9.SyntaxKind.TypeAliasDeclaration: case ts9.SyntaxKind.TypeParameter: @@ -1204,7 +1204,7 @@ function getDeclarationDomain(node) { // falls through case ts9.SyntaxKind.BindingElement: case ts9.SyntaxKind.VariableDeclaration: - return node.parent.name === node ? 4 /* Value */ : void 0; + return node.parent.name === node ? 4 /* Value */ : undefined; } } function getPropertyName(propertyName) { @@ -1217,7 +1217,7 @@ function getPropertyName(propertyName) { negate = true; // falls through case ts9.SyntaxKind.PlusToken: - return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : void 0; + return ts9.isNumericLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text}` : ts9.isBigIntLiteral(expression.operand) ? `${negate ? "-" : ""}${expression.operand.text.slice(0, -1)}` : undefined; default: return; } @@ -1230,7 +1230,7 @@ function getPropertyName(propertyName) { } return; } - return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? void 0 : propertyName.text; + return propertyName.kind === ts9.SyntaxKind.PrivateIdentifier ? undefined : propertyName.text; } function unwrapParentheses(node) { while (node.kind === ts9.SyntaxKind.ParenthesizedExpression) { @@ -1296,7 +1296,7 @@ function getUsageDomain(node) { case ts9.SyntaxKind.ExportAssignment: return 7 /* Any */; case ts9.SyntaxKind.ExportSpecifier: - if (parent.propertyName === void 0 || parent.propertyName === node) { + if (parent.propertyName === undefined || parent.propertyName === node) { return 7 /* Any */; } break; @@ -1313,7 +1313,7 @@ function getUsageDomain(node) { case ts9.SyntaxKind.TypeQuery: return 5 /* ValueOrNamespace */ | 8 /* TypeQuery */; case ts9.SyntaxKind.TypeReference: - return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : void 0; + return identifierToKeywordKind(node) !== ts9.SyntaxKind.ConstKeyword ? 2 /* Type */ : undefined; default: return 5 /* ValueOrNamespace */; } @@ -1351,10 +1351,10 @@ var AbstractScope = class { constructor(global) { this.global = global; } - namespaceScopes = void 0; + namespaceScopes = undefined; uses = []; variables = /* @__PURE__ */ new Map(); - #enumScopes = void 0; + #enumScopes = undefined; addUse(use) { this.uses.push(use); } @@ -1366,7 +1366,7 @@ var AbstractScope = class { exported }; const variable = variables.get(identifier); - if (variable === void 0) { + if (variable === undefined) { variables.set(identifier, { declarations: [declaration], domain, @@ -1380,12 +1380,12 @@ var AbstractScope = class { // eslint-disable-next-line @typescript-eslint/no-unused-vars createOrReuseEnumScope(name, _exported) { let scope; - if (this.#enumScopes === void 0) { + if (this.#enumScopes === undefined) { this.#enumScopes = /* @__PURE__ */ new Map(); } else { scope = this.#enumScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new EnumScope(this); this.#enumScopes.set(name, scope); } @@ -1394,12 +1394,12 @@ var AbstractScope = class { // only relevant for the root scope createOrReuseNamespaceScope(name, _exported, ambient, hasExportStatement) { let scope; - if (this.namespaceScopes === void 0) { + if (this.namespaceScopes === undefined) { this.namespaceScopes = /* @__PURE__ */ new Map(); } else { scope = this.namespaceScopes.get(name); } - if (scope === void 0) { + if (scope === undefined) { scope = new NamespaceScope(ambient, hasExportStatement, this); this.namespaceScopes.set(name, scope); } else { @@ -1408,10 +1408,10 @@ var AbstractScope = class { return scope; } end(cb) { - if (this.namespaceScopes !== void 0) { + if (this.namespaceScopes !== undefined) { this.namespaceScopes.forEach((value) => value.finish(cb)); } - this.namespaceScopes = this.#enumScopes = void 0; + this.namespaceScopes = this.#enumScopes = undefined; this.applyUses(); this.variables.forEach((variable) => { for (const declaration of variable.declarations) { @@ -1450,7 +1450,7 @@ var AbstractScope = class { } applyUse(use, variables = this.variables) { const variable = variables.get(use.location.text); - if (variable === void 0 || (variable.domain & use.domain) === 0) { + if (variable === undefined || (variable.domain & use.domain) === 0) { return false; } variable.uses.push(use); @@ -1575,7 +1575,7 @@ var FunctionExpressionScope = class extends AbstractNamedExpressionScope { }; var NamespaceScope = class extends NonRootScope { #ambient; - #exports = void 0; + #exports = undefined; #hasExport; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(ambient, hasExport, parent) { @@ -1613,11 +1613,11 @@ var NamespaceScope = class extends NonRootScope { } end(cb) { this.#innerScope.end((variable, key, scope) => { - if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== void 0 && !this.#exports.has(key.text))) { + if (scope !== this.#innerScope || !variable.exported && (!this.#ambient || this.#exports !== undefined && !this.#exports.has(key.text))) { return cb(variable, key, scope); } const namespaceVar = this.variables.get(key.text); - if (namespaceVar === void 0) { + if (namespaceVar === undefined) { this.variables.set(key.text, { declarations: variable.declarations.map(mapDeclaration), domain: variable.domain, @@ -1651,7 +1651,7 @@ var NamespaceScope = class extends NonRootScope { return this.#innerScope; } markExported(name) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = /* @__PURE__ */ new Set(); } this.#exports.add(name.text); @@ -1663,7 +1663,7 @@ var NamespaceScope = class extends NonRootScope { }; var RootScope = class extends AbstractScope { #exportAll; - #exports = void 0; + #exports = undefined; #innerScope = new NonRootScope(this, 1 /* Function */); constructor(exportAll, global) { super(global); @@ -1689,12 +1689,12 @@ var RootScope = class extends AbstractScope { } end(cb) { this.#innerScope.end((value, key) => { - value.exported ||= this.#exportAll || this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= this.#exportAll || this.#exports !== undefined && this.#exports.includes(key.text); value.inGlobalScope = this.global; return cb(value, key, this); }); return super.end((value, key, scope) => { - value.exported ||= scope === this && this.#exports !== void 0 && this.#exports.includes(key.text); + value.exported ||= scope === this && this.#exports !== undefined && this.#exports.includes(key.text); return cb(value, key, scope); }); } @@ -1702,7 +1702,7 @@ var RootScope = class extends AbstractScope { return this; } markExported(id) { - if (this.#exports === void 0) { + if (this.#exports === undefined) { this.#exports = [id.text]; } else { this.#exports.push(id.text); @@ -1769,7 +1769,7 @@ var UsageWalker = class { case ts9.SyntaxKind.ClassExpression: return continueWithScope( node, - node.name !== void 0 ? new ClassExpressionScope( + node.name !== undefined ? new ClassExpressionScope( node.name, this.#scope ) : new NonRootScope(this.#scope, 1 /* Function */) @@ -1813,7 +1813,7 @@ var UsageWalker = class { } break; case ts9.SyntaxKind.ExportSpecifier: - if (node.propertyName !== void 0) { + if (node.propertyName !== undefined) { return this.#scope.markExported( node.propertyName, node.name @@ -1822,7 +1822,7 @@ var UsageWalker = class { return this.#scope.markExported(node.name); case ts9.SyntaxKind.Identifier: { const domain = getUsageDomain(node); - if (domain !== void 0) { + if (domain !== undefined) { this.#scope.addUse({ domain, location: node }); } return; @@ -1893,7 +1893,7 @@ var UsageWalker = class { this.#scope = savedScope; }; const handleBlockScope = (node) => { - if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== void 0) { + if (node.kind === ts9.SyntaxKind.CatchClause && node.variableDeclaration !== undefined) { this.#handleBindingName( node.variableDeclaration.name, true, @@ -1943,7 +1943,7 @@ var UsageWalker = class { this.#scope = savedScope; } #handleDeclaration(node, blockScoped, domain) { - if (node.name !== void 0) { + if (node.name !== undefined) { this.#scope.addVariable( node.name.text, node.name, @@ -1964,18 +1964,18 @@ var UsageWalker = class { if (node.kind === ts9.SyntaxKind.FunctionDeclaration) { this.#handleDeclaration(node, false, 4 /* Value */); } - const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== void 0 ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); - if (node.name !== void 0) { + const scope = this.#scope = node.kind === ts9.SyntaxKind.FunctionExpression && node.name !== undefined ? new FunctionExpressionScope(node.name, savedScope) : new FunctionScope(savedScope); + if (node.name !== undefined) { cb(node.name); } - if (node.typeParameters !== void 0) { + if (node.typeParameters !== undefined) { node.typeParameters.forEach(cb); } node.parameters.forEach(cb); - if (node.type !== void 0) { + if (node.type !== undefined) { cb(node.type); } - if (node.body !== void 0) { + if (node.body !== undefined) { scope.beginBody(); cb(node.body); } @@ -2064,7 +2064,7 @@ function isNamespaceExported(node) { return node.parent.kind === ts9.SyntaxKind.ModuleDeclaration || includesModifier(node.modifiers, ts9.SyntaxKind.ExportKeyword); } function namespaceHasExportStatement(ns) { - if (ns.body === void 0 || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { + if (ns.body === undefined || ns.body.kind !== ts9.SyntaxKind.ModuleBlock) { return false; } return containsExportStatement(ns.body); diff --git a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json index 78378ff3f8..3810c855d6 100644 --- a/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils/package.json @@ -1,6 +1,6 @@ { "name": "ts-api-utils", - "version": "2.0.0", + "version": "2.0.1", "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️", "repository": { "type": "git", @@ -51,51 +51,51 @@ }, "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", - "@eslint/js": "^9.15.0", + "@eslint/js": "^9.19.0", "@phenomnomnominal/tsquery": "^6.1.3", - "@release-it/conventional-changelog": "^9.0.3", + "@release-it/conventional-changelog": "^10.0.0", "@types/eslint-plugin-markdown": "^2.0.2", - "@types/node": "^18.19.65", + "@types/node": "^18.19.74", "@typescript/vfs": "^1.6.0", - "@vitest/coverage-v8": "^2.1.5", - "@vitest/eslint-plugin": "^1.1.10", + "@vitest/coverage-v8": "^2.1.8", + "@vitest/eslint-plugin": "^1.1.25", "console-fail-test": "^0.5.0", - "cspell": "^8.16.0", - "eslint": "^9.15.0", - "eslint-plugin-jsdoc": "^50.5.0", - "eslint-plugin-jsonc": "^2.18.2", + "cspell": "^8.17.3", + "eslint": "^9.19.0", + "eslint-plugin-jsdoc": "^50.6.3", + "eslint-plugin-jsonc": "^2.19.1", "eslint-plugin-markdown": "^5.1.0", - "eslint-plugin-n": "^17.14.0", - "eslint-plugin-package-json": "^0.15.6", - "eslint-plugin-perfectionist": "^4.1.2", + "eslint-plugin-n": "^17.15.1", + "eslint-plugin-package-json": "^0.19.0", + "eslint-plugin-perfectionist": "^4.7.0", "eslint-plugin-regexp": "^2.7.0", - "eslint-plugin-yml": "^1.15.0", + "eslint-plugin-yml": "^1.16.0", "husky": "^9.1.7", "jsonc-eslint-parser": "^2.4.0", - "knip": "^5.37.2", - "lint-staged": "^15.2.10", - "markdownlint": "^0.36.1", + "knip": "^5.43.6", + "lint-staged": "^15.4.3", + "markdownlint": "^0.37.4", "markdownlint-cli": "^0.43.0", - "prettier": "^3.3.3", + "prettier": "^3.4.2", "prettier-plugin-curly": "^0.3.1", - "prettier-plugin-packagejson": "^2.5.6", - "release-it": "^17.10.0", - "sentences-per-line": "^0.2.1", + "prettier-plugin-packagejson": "^2.5.8", + "release-it": "^18.1.2", + "sentences-per-line": "^0.3.0", "should-semantic-release": "^0.3.0", - "tsup": "^8.3.5", - "typedoc": "^0.26.11", - "typedoc-plugin-coverage": "^3.4.0", + "tsup": "^8.3.6", + "typedoc": "^0.27.6", + "typedoc-plugin-coverage": "^3.4.1", "typedoc-plugin-custom-validation": "^2.0.2", "typedoc-plugin-konamimojisplosion": "^0.0.2", - "typedoc-plugin-mdn-links": "^4.0.1", - "typescript": "^5.7.2", - "typescript-eslint": "^8.16.0", - "vitest": "^2.1.5" + "typedoc-plugin-mdn-links": "^4.0.10", + "typescript": "^5.7.3", + "typescript-eslint": "^8.22.0", + "vitest": "^2.1.8" }, "peerDependencies": { "typescript": ">=4.8.4" }, - "packageManager": "pnpm@9.14.2", + "packageManager": "pnpm@9.15.3", "engines": { "node": ">=18.12" }, diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index a54a4baffb..68e1652993 100644 --- a/node_modules/@typescript-eslint/type-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "8.22.0", + "version": "8.23.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,10 +46,10 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "8.22.0", - "@typescript-eslint/utils": "8.22.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/utils": "8.23.0", "debug": "^4.3.4", - "ts-api-utils": "^2.0.0" + "ts-api-utils": "^2.0.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", @@ -57,7 +57,7 @@ }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "8.22.0", + "@typescript-eslint/parser": "8.23.0", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", diff --git a/node_modules/aria-query/CHANGELOG.md b/node_modules/aria-query/CHANGELOG.md deleted file mode 100644 index 3d70e28993..0000000000 --- a/node_modules/aria-query/CHANGELOG.md +++ /dev/null @@ -1,258 +0,0 @@ -# aria-query Change Log - -## 1.0.0 - -- Updated values of aria-haspopup to include ARIA 1.1 role values -- Added the CHANGELOG file - -## 2.0.0 - -- Remove package-lock file. -- Add Watchman config file. - -## 2.0.1 - -- Added aria-errormessage to the ARIA Props Map. - -## 3.0.0 - -- Bumping to a major version because of a previous breaking change. - -## 4.0.0 - -- 912e515 (origin/fix-travis, fix-travis) Move allowed failures to excludes in Travis. The current failures are simply version incompatibilities. -- 17f4203 (origin/fixe-all-roles-html-mappings, fixe-all-roles-html-mappings) Fix all inherent ARIA role to HTML mappings -- 4ce2a9e (origin/fix-textbox, fix-textbox) Fix HTML relatedConcepts for textbox and combobox -- 8cbdf1d (origin/fix-select-mapping, fix-select-mapping) Remove baseConcepts as a prop. -- c3c510d Fix mapping for the HTML select element -- 52f2535 (origin/deprecate-requireContextRole, deprecate-requireContextRole) Deprecate the mispelled requireContextRole. Replace with requiredContextRole. -- fff3783 (origin/kurosawa-takeshi-add-double-check-tests, kurosawa-takeshi-add-double-check-tests) Update package lock file -- b90a99b (origin/kurosawa-takeshi-update-dpub-aria, kurosawa-takeshi-update-dpub-aria) Update breakUpAriaJSON script to include MapOfRoleDefinitions type on roll-up role classes-takeshi-update-dpub-aria -- 59c3199 (origin/eps1lon-fix/ie11, eps1lon-fix/ie11) Undo the eslintrc changes -- 3152480 (origin/dependabot/npm_and_yarn/eslint-6.6.0, dependabot/npm_and_yarn/eslint-6.6.0) Fix duplicate peer dependencies -- 8a661f2 Updating allowed failures for odd versions of node -- 0c85fd6 Update Travis and eslint peer dependencies -- 99df7da Bump eslint from 3.19.0 to 6.6.0 - -## 4.0.1 - -- Fix the incorrect ARIA designation of the region role to an HTML designation - -## 4.0.2 - -- a3e2f1e Added the Copyright year (2020) for A11yance -- 3173a07 Remove Peer Dependency to ESLint - -## 4.2.0 - -Upgrade support of ARIA from 1.1 to 1.2 - -- f1b8f11 Add aria-level as a required prop for the heading role -- 5beb07b Fix babelrc and update package lock -- 32256c7 Update dependencies and babelrc -- 132ebca test: Verify that role.json is synced (#52) -- d2c7b1b test: Narrow test matrix -- f4d115c fix: manual add aria-valuetext to range -- fb8fcf8 fix: Update with latest parser script -- 7dae700 fix: Superclass of generic is structure -- 5ea8353 Adding a license line -- 48cc635 fix: input type is text by default -- b50587e Revert relatedConcepts changes -- 1aa562f fix flowtype of prohibitedProps -- 8b81b14 Run node scripts/breakUpAriaJSON -- f65c156 chore: sort roles.json keys alphanumerically -- 3c2f213 chore: format role.json -- 38694f3 fix: input type is text by default (#42) - -## 4.2.1 - -- bdd6082 Change master branch main in Travis -- 0b2d4ed Handle header element as banner role (#47) - -## 4.2.2 - -- 7819fe4 Fix the allowed props of the heading role (jsx-eslint/eslint-plugin-jsx-a11y#704) - -## 5.0.0 - -This major release removes the runtime Babel dependencies that were necessary because of Map and Set usage. Map and Set usages are now replaced with object and array literals. - -These are the changes in usage you might need to account for: - -- The module exports are no longer Maps, so you cannot spread them directly into an array to access their items. Use the `entries` method to get access to the items. -- Some values used to be Sets; these are now Arrays. -- The `keys` and `values` methods now return arrays, not iterators. -- There is no `forEach` method. One could be added in the future, but at present, it does not exist on the exports. - -### Commits of note - -- 92cecd2 chore(deps-dev): bump flow-bin from 0.160.2 to 0.161.0 (#261) -- b10e864 Remove the usage of Maps and Sets, along with the Babel Runtime - dependency (#250) -- 1953885 chore(deps-dev): bump jest from 27.2.1 to 27.2.2 (#252) -- 1dfb98f chore(deps): bump actions/setup-node from 2.4.0 to 2.4.1 (#254) -- f4fd458 chore(deps-dev): bump expect from 27.2.1 to 27.2.2 (#253) -- f85ecec chore(deps-dev): bump babel-jest from 27.2.1 to 27.2.2 (#251) -- b03b46a chore(deps-dev): bump flow-bin from 0.154.0 to 0.160.2 (#249) -- 4f9c5f0 Update Flow bin version (#248) -- cd57f86 Add aria-valuenow prop to the separator role -- 144aca0 Use block for instead of iterable for -- ef49ee8 Remove spread operator from roleElementMap -- bac9501 Update the test for roleElementMap to include specific items -- 8094edf Remove spread operator from elementRoleMap -- 980ceea Add a test for the specific items in elementRoleMap -- 5b477bc chore(deps-dev): bump eslint-plugin-flowtype from 5.10.0 to 6.1.0 (#246) -- d28d7c1 chore(deps-dev): bump commander from 8.0.0 to 8.2.0 (#245) -- 57b38d1 chore(deps-dev): bump @babel/plugin-transform-runtime (#237) -- 1519ec1 chore(deps): bump @babel/runtime-corejs3 from 7.14.7 to 7.15.4 (#241) -- 691e51b chore(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.24.2 (#243) -- 9e1711c chore(deps-dev): bump eslint from 7.28.0 to 7.32.0 (#244) -- 589d97a chore(deps-dev): bump @babel/preset-env from 7.14.7 to 7.15.6 (#239) -- 1c48278 chore(deps-dev): bump expect from 27.0.2 to 27.2.1 (#242) -- 71c2f61 chore(deps): bump @babel/runtime from 7.14.0 to 7.15.4 (#240) -- 73c2339 chore(deps-dev): bump eslint-plugin-flowtype from 5.7.2 to 5.10.0 (#238) -- 85d983c chore(deps-dev): bump babel-jest from 27.0.2 to 27.2.1 (#232) -- dc91b47 chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#235) -- 53fa58c chore(deps-dev): bump jest from 27.0.4 to 27.2.1 (#233) -- 8affde6 chore(deps-dev): bump @babel/cli from 7.14.3 to 7.15.7 (#231) -- 5f8369c chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#220) -- 7051091 chore(deps): bump actions/setup-node from 2.3.0 to 2.4.0 (#219) -- 4a1ac48 chore(deps): bump coverallsapp/github-action from 1.1.2 to 1.1.3 (#213) -- 5ebf3e7 chore(deps-dev): bump @babel/core from 7.14.3 to 7.15.5 (#225) -- e2be68b Account for nosync file paths in the ignore files (#236) -- 5adca2f chore(deps): bump actions/setup-node from 2.2.0 to 2.3.0 (#214) -- 2bf4afa Fixing the package-lock.json file -- a325a23 chore(deps-dev): bump @babel/core from 7.12.10 to 7.14.2 -- b6c7e7d chore(deps-dev): bump jest from 27.0.4 to 27.0.6 (#208) -- fe8255b chore(deps-dev): bump eslint-plugin-flowtype from 5.7.2 to 5.8.0 (#201) -- e005fa9 chore(deps-dev): bump @babel/core from 7.14.3 to 7.14.6 (#202) -- b7800bd chore(deps-dev): bump babel-jest from 27.0.2 to 27.0.6 (#207) -- 388fcf8 chore(deps-dev): bump eslint from 7.28.0 to 7.30.0 (#206) -- 9dc75ec chore(deps-dev): bump commander from 7.2.0 to 8.0.0 (#205) -- f808394 chore(deps-dev): bump expect from 27.0.2 to 27.0.6 (#204) -- fdbc963 chore(deps-dev): bump @babel/cli from 7.14.3 to 7.14.5 (#203) -- 823c292 Updating package-lock which only added an fsevents reference -- 61fe8b7 chore(deps-dev): bump @babel/plugin-transform-runtime (#200) -- 2ef3e93 chore(deps-dev): bump @babel/preset-flow from 7.13.13 to 7.14.5 (#188) -- d68a04a chore(deps): bump actions/setup-node from 2.1.5 to 2.2.0 -- b0f6437 chore(deps-dev): bump @babel/preset-env from 7.12.11 to 7.14.7 -- 18725dd chore(deps): bump @babel/runtime-corejs3 from 7.12.5 to 7.14.7 -- d7b6389 chore(deps-dev): bump eslint from 7.19.0 to 7.28.0 (#183) -- a4aa09b chore(deps-dev): bump expect from 26.6.2 to 27.0.2 (#184) -- b861ba8 chore(deps-dev): bump babel-jest from 26.6.3 to 27.0.2 (#176) -- 2fa3a72 chore(deps-dev): bump eslint-plugin-import from 2.22.1 to 2.23.4 (#177) -- 7e0d575 chore(deps-dev): bump eslint-plugin-flowtype from 5.2.0 to 5.7.2 (#179) -- 48e1737 chore(deps-dev): bump jest from 26.6.3 to 27.0.4 (#182) -- 925ed16 chore(deps-dev): bump commander from 7.0.0 to 7.2.0 (#174) -- c545b74 chore(deps-dev): bump @babel/* to 7.14.3 (#168) -- 4ed066b chore(deps): bump actions/cache from 2.1.5 to 2.1.6 (#172) -- ca72279 chore(deps): bump ws from 7.4.2 to 7.4.6 (#173) -- 638027d chore(deps): bump browserslist from 4.16.0 to 4.16.6 (#171) -- 9392447 test: Ignore build output when linting (#167) -- 38f1759 chore(deps): bump actions/cache from 2 to 2.1.5 (#161) -- 5ec0f9a chore(deps): bump actions/setup-node from 2 to 2.1.5 (#159) -- 687461f chore(deps): bump actions/checkout from 2 to 2.3.4 (#160) -- 80e4bd6 chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#157) -- e4e7114 chore(deps): bump lodash from 4.17.20 to 4.17.21 (#156) -- 87abf49 chore(deps-dev): bump eslint from 7.18.0 to 7.19.0 (#112) -- 24467e7 chore(deps-dev): bump commander from 6.2.1 to 7.0.0 (#108) -- afe23cb chore(deps-dev): bump flow-bin from 0.143.0 to 0.143.1 (#111) -- 2e6a301 chore(deps-dev): bump flow-bin from 0.142.0 to 0.143.0 (#110) -- 947cff3 chore(deps-dev): bump eslint from 7.17.0 to 7.18.0 (#109) -- 3c5399c chore(deps-dev): bump @babel/plugin-transform-runtime (#106) -- 633fc3c chore(deps-dev): bump @babel/cli from 7.10.1 to 7.12.10 (#107) -- ed738a3 chore(deps-dev): bump eslint from 7.16.0 to 7.17.0 (#104) -- 3e45d3c chore(deps-dev): bump commander from 2.20.3 to 6.2.1 (#105) -- f6b049d chore(deps): bump @babel/runtime from 7.10.2 to 7.12.5 (#98) -- 894ee58 chore(deps-dev): bump @babel/preset-flow from 7.10.1 to 7.12.1 (#97) -- a494ed1 chore(deps-dev): bump rimraf from 2.7.1 to 3.0.2 (#99) -- 7d3297d chore(deps-dev): bump flow-bin from 0.141.0 to 0.142.0 (#103) -- 9eed1f5 chore(deps-dev): bump @babel/core from 7.10.2 to 7.12.10 (#100) -- 5f20ae0 chore(deps): bump @babel/runtime-corejs3 from 7.10.2 to 7.12.5 (#101) -- e803d94 chore: Turn on eslint:recommended and address new rules (#96) -- 5a68aa1 fix: Remove bash-like command in flow NPM script (#95) -- a7506ad chore: Expand ESLint glob to all files (#93) -- cf56e0c chore: Cleanup README (#94) -- dd958db chore: Use NPM CI for CI (#90) -- e604a6e chore: Remove coveralls NPM config (#91) -- e4b6d28 Update coveralls, expect and flow-bin (#92) -- 0e7ccdf Bump babel-jest from 24.9.0 to 26.6.3 (#84) -- 76b7a41 chore: Remove Travis-CI config (#89) -- bc1a437 Only diff the src dir in the CI Diff check (#87) -- e466929 Bump lodash from 4.17.15 to 4.17.20 (#86) -- a7429ee Bump eslint from 6.8.0 to 7.16.0 (#85) -- 83ec474 fix: type sig for ARIAPropertyDefinition (#74) -- f3b4e83 chore: Remove npmrc (#78) -- 717d76c chore: Add Depependabot config (#79) -- 50e05b1 Update test.yml (#76) -- b9ee176 Update test.yml (#75) -- a8cd23a Create test.yml -- 25fbc40 fix: Sync with stable editor's draft (#69) -- 7df56ba docs: fix CDN url (#71) -- 74009cf fix: definition/term roles (#70) -- 2a5dafb feat: Sync with stable editor's draft -- 1241efe chore: Seal AriaPropertMap type (#67) -- 0b6fcc4 "that there is no maximum value" > no default value -- e6dd042 Keep required props in sync with props -- 995b6b9 Remove deprecated props -- d99d54e Update ariaPropsMap -- eb123ce Update types -- 1284970 Update roles.json -- 1d9840c docs(readme): Add tracked aria version -- 971679a fix: Normalize required props (#64) - -## 5.1.0 / 5.1.1 - -This minor release introduces iteration support to the primary objects of the module, through the `Symbol.iterator` property. This reintroduces a native-like `Map` iteration support that was lost in the v3 update. A `forEach` method is also introduced in this update. The common interface of all objects exposed by this module is now: - -``` -type TAriaQueryMap = { - entries: () => E, - forEach: ((V, K, E) => void) => void, - get: (key: K) => ?V, - has: (key: K) => boolean, - keys: () => Array, - values: () => Array, - @@iterator?: () => Iterator, -}; -``` - -### Commits of note - - - 6f3f54b Update dependencies to current minor releases (#437) - - 855eedc Introduce iteration support to the Maps in the module (#425) - - 38a2bbc Remove Node 12 as a target for Jest unit testing (#397) - - 8a0f588 Update out of date packages to latest major versions (#396) - - 8522117 Ran npm up --dev --save (#395) - - a21d1ed feat: Add graphics-* roles (#338) - - ## 5.1.2 - - - 8361a27 Plumb the graphics roles through to rolesMap (#444) - - ## 5.1.3 - - No changes, just trying to get the NPM build to reflect the changes in v5.1.2 - - ## 5.2.0 - - [Update] The 5.2.x minor version contains breaking changes and should be skipped. - - Commit f7f6120 contains a substantial audit and update of the project to match the ARIA spec. Testing coverage was substantially improved. It really locks down the project's output. - - - e2e3eff docs: update README to WAI-ARIA 1.2 spec (#499) - - 5ef740f Switch to dequal to remove 45 transitive dependencies (#497) - - 58da9d5 fix: install command for codesandbox ci (#500) - - 1160138 test: Publish canaries via CodeSandbox CI (#486) - - 2d04e29 Add test case to elementRoleMap-test for td element - - f7f6120 Audited and updated roles source of truth to HTML Accessibility API Mapping 1.0 (#447) - -## 5.2.1 - - - c995082 Run npm i to update package-lock.json - -## 5.3.0 - -Reverts some API data shape changes from 5.2.x. Also reverts some changes to the representation of the ARIA spec. - - - fda2c97 fix: amend breaking changes and reinstate constraints (#515) - - f9f9ea6 Add prepublishOnly step to package.json (#506) \ No newline at end of file diff --git a/node_modules/aria-query/lib/ariaPropsMap.js b/node_modules/aria-query/lib/ariaPropsMap.js index 7ab28134bb..b0b1709e23 100644 --- a/node_modules/aria-query/lib/ariaPropsMap.js +++ b/node_modules/aria-query/lib/ariaPropsMap.js @@ -5,14 +5,13 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; var _iterationDecorator = _interopRequireDefault(require("./util/iterationDecorator")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } +function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } +function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } var properties = [['aria-activedescendant', { 'type': 'id' }], ['aria-atomic', { @@ -135,25 +134,17 @@ var ariaPropsMap = { }, forEach: function forEach(fn) { var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var _iterator = _createForOfIteratorHelper(properties), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var _step$value = _slicedToArray(_step.value, 2), - key = _step$value[0], - values = _step$value[1]; - fn.call(thisArg, values, key, properties); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); + for (var _i = 0, _properties = properties; _i < _properties.length; _i++) { + var _properties$_i = _slicedToArray(_properties[_i], 2), + key = _properties$_i[0], + values = _properties$_i[1]; + fn.call(thisArg, values, key, properties); } }, get: function get(key) { - var item = properties.find(function (tuple) { + var item = properties.filter(function (tuple) { return tuple[0] === key ? true : false; - }); + })[0]; return item && item[1]; }, has: function has(key) { @@ -174,5 +165,4 @@ var ariaPropsMap = { }); } }; -var _default = (0, _iterationDecorator.default)(ariaPropsMap, ariaPropsMap.entries()); -exports.default = _default; \ No newline at end of file +var _default = exports.default = (0, _iterationDecorator.default)(ariaPropsMap, ariaPropsMap.entries()); \ No newline at end of file diff --git a/node_modules/aria-query/lib/domMap.js b/node_modules/aria-query/lib/domMap.js index 6fae5849f5..40a2e26c51 100644 --- a/node_modules/aria-query/lib/domMap.js +++ b/node_modules/aria-query/lib/domMap.js @@ -5,14 +5,13 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; var _iterationDecorator = _interopRequireDefault(require("./util/iterationDecorator")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } +function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } +function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } var dom = [['a', { reserved: false }], ['abbr', { @@ -278,25 +277,17 @@ var domMap = { }, forEach: function forEach(fn) { var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var _iterator = _createForOfIteratorHelper(dom), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var _step$value = _slicedToArray(_step.value, 2), - key = _step$value[0], - values = _step$value[1]; - fn.call(thisArg, values, key, dom); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); + for (var _i = 0, _dom = dom; _i < _dom.length; _i++) { + var _dom$_i = _slicedToArray(_dom[_i], 2), + key = _dom$_i[0], + values = _dom$_i[1]; + fn.call(thisArg, values, key, dom); } }, get: function get(key) { - var item = dom.find(function (tuple) { + var item = dom.filter(function (tuple) { return tuple[0] === key ? true : false; - }); + })[0]; return item && item[1]; }, has: function has(key) { @@ -317,5 +308,4 @@ var domMap = { }); } }; -var _default = (0, _iterationDecorator.default)(domMap, domMap.entries()); -exports.default = _default; \ No newline at end of file +var _default = exports.default = (0, _iterationDecorator.default)(domMap, domMap.entries()); \ No newline at end of file diff --git a/node_modules/aria-query/lib/elementRoleMap.js b/node_modules/aria-query/lib/elementRoleMap.js index 4ede6ae646..eec1a69f55 100644 --- a/node_modules/aria-query/lib/elementRoleMap.js +++ b/node_modules/aria-query/lib/elementRoleMap.js @@ -4,17 +4,15 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; -var _lite = require("dequal/lite"); var _iterationDecorator = _interopRequireDefault(require("./util/iterationDecorator")); var _rolesMap = _interopRequireDefault(require("./rolesMap")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } +function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } +function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } var elementRoles = []; var keys = _rolesMap.default.keys(); for (var i = 0; i < keys.length; i++) { @@ -22,35 +20,38 @@ for (var i = 0; i < keys.length; i++) { var role = _rolesMap.default.get(key); if (role) { var concepts = [].concat(role.baseConcepts, role.relatedConcepts); - for (var k = 0; k < concepts.length; k++) { + var _loop = function _loop() { var relation = concepts[k]; if (relation.module === 'HTML') { - (function () { - var concept = relation.concept; - if (concept) { - var elementRoleRelation = elementRoles.find(function (relation) { - return (0, _lite.dequal)(relation, concept); - }); - var roles; - if (elementRoleRelation) { - roles = elementRoleRelation[1]; - } else { - roles = []; - } - var isUnique = true; - for (var _i = 0; _i < roles.length; _i++) { - if (roles[_i] === key) { - isUnique = false; - break; - } - } - if (isUnique) { - roles.push(key); + var concept = relation.concept; + if (concept) { + var elementRoleRelation = elementRoles.filter(function (relation) { + return ariaRoleRelationConceptEquals(relation[0], concept); + })[0]; + var roles; + if (elementRoleRelation) { + roles = elementRoleRelation[1]; + } else { + roles = []; + } + var isUnique = true; + for (var _i = 0; _i < roles.length; _i++) { + if (roles[_i] === key) { + isUnique = false; + break; } + } + if (isUnique) { + roles.push(key); + } + if (!elementRoleRelation) { elementRoles.push([concept, roles]); } - })(); + } } + }; + for (var k = 0; k < concepts.length; k++) { + _loop(); } } } @@ -60,25 +61,17 @@ var elementRoleMap = { }, forEach: function forEach(fn) { var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var _iterator = _createForOfIteratorHelper(elementRoles), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var _step$value = _slicedToArray(_step.value, 2), - _key = _step$value[0], - values = _step$value[1]; - fn.call(thisArg, values, _key, elementRoles); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); + for (var _i2 = 0, _elementRoles = elementRoles; _i2 < _elementRoles.length; _i2++) { + var _elementRoles$_i = _slicedToArray(_elementRoles[_i2], 2), + _key = _elementRoles$_i[0], + values = _elementRoles$_i[1]; + fn.call(thisArg, values, _key, elementRoles); } }, get: function get(key) { - var item = elementRoles.find(function (tuple) { - return key.name === tuple[0].name && (0, _lite.dequal)(key.attributes, tuple[0].attributes); - }); + var item = elementRoles.filter(function (tuple) { + return key.name === tuple[0].name && ariaRoleRelationConceptAttributeEquals(key.attributes, tuple[0].attributes); + })[0]; return item && item[1]; }, has: function has(key) { @@ -99,5 +92,61 @@ var elementRoleMap = { }); } }; -var _default = (0, _iterationDecorator.default)(elementRoleMap, elementRoleMap.entries()); -exports.default = _default; \ No newline at end of file +function ariaRoleRelationConceptEquals(a, b) { + return a.name === b.name && ariaRoleRelationConstraintsEquals(a.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a.attributes, b.attributes); +} +function ariaRoleRelationConstraintsEquals(a, b) { + if (a === undefined && b !== undefined) { + return false; + } + if (a !== undefined && b === undefined) { + return false; + } + if (a !== undefined && b !== undefined) { + if (a.length !== b.length) { + return false; + } + for (var _i3 = 0; _i3 < a.length; _i3++) { + if (a[_i3] !== b[_i3]) { + return false; + } + } + } + return true; +} +function ariaRoleRelationConceptAttributeEquals(a, b) { + if (a === undefined && b !== undefined) { + return false; + } + if (a !== undefined && b === undefined) { + return false; + } + if (a !== undefined && b !== undefined) { + if (a.length !== b.length) { + return false; + } + for (var _i4 = 0; _i4 < a.length; _i4++) { + if (a[_i4].name !== b[_i4].name || a[_i4].value !== b[_i4].value) { + return false; + } + if (a[_i4].constraints === undefined && b[_i4].constraints !== undefined) { + return false; + } + if (a[_i4].constraints !== undefined && b[_i4].constraints === undefined) { + return false; + } + if (a[_i4].constraints !== undefined && b[_i4].constraints !== undefined) { + if (a[_i4].constraints.length !== b[_i4].constraints.length) { + return false; + } + for (var j = 0; j < a[_i4].constraints.length; j++) { + if (a[_i4].constraints[j] !== b[_i4].constraints[j]) { + return false; + } + } + } + } + } + return true; +} +var _default = exports.default = (0, _iterationDecorator.default)(elementRoleMap, elementRoleMap.entries()); \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js b/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js index 015315583e..31e94f6ae1 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js @@ -19,5 +19,4 @@ var commandRole = { requiredProps: {}, superClass: [['roletype', 'widget']] }; -var _default = commandRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = commandRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js b/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js index e53cc3c27d..c09875ab96 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js @@ -22,5 +22,4 @@ var compositeRole = { requiredProps: {}, superClass: [['roletype', 'widget']] }; -var _default = compositeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = compositeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js b/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js index a8249b9d47..ad18e40c94 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js @@ -26,5 +26,4 @@ var inputRole = { requiredProps: {}, superClass: [['roletype', 'widget']] }; -var _default = inputRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = inputRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js b/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js index 180ee6e12e..8d27252022 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js @@ -19,5 +19,4 @@ var landmarkRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = landmarkRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = landmarkRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js b/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js index 7e9e878fb1..800417cf66 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js @@ -23,5 +23,4 @@ var rangeRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = rangeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = rangeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js b/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js index 90af180a2d..080d8a24ea 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js @@ -47,5 +47,4 @@ var roletypeRole = { requiredProps: {}, superClass: [] }; -var _default = roletypeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = roletypeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js b/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js index 06643bf6a2..af1ca0eb49 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js @@ -34,5 +34,4 @@ var sectionRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = sectionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = sectionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js b/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js index 1ea8df00f8..dd2c988d04 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js @@ -19,5 +19,4 @@ var sectionheadRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = sectionheadRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = sectionheadRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js b/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js index e2a14c26b1..b4c9b59f29 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js @@ -21,5 +21,4 @@ var selectRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite'], ['roletype', 'structure', 'section', 'group']] }; -var _default = selectRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = selectRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js b/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js index 127859c507..839196c482 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js @@ -19,5 +19,4 @@ var structureRole = { requiredProps: {}, superClass: [['roletype']] }; -var _default = structureRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = structureRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js b/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js index ce504e5318..2d905a9de4 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js @@ -19,5 +19,4 @@ var widgetRole = { requiredProps: {}, superClass: [['roletype']] }; -var _default = widgetRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = widgetRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js b/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js index 6d98a45968..9b8137cec9 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js @@ -21,5 +21,4 @@ var windowRole = { requiredProps: {}, superClass: [['roletype']] }; -var _default = windowRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = windowRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js b/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js index 4714776e23..498aab07b0 100644 --- a/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js +++ b/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js @@ -16,8 +16,6 @@ var _selectRole = _interopRequireDefault(require("./abstract/selectRole")); var _structureRole = _interopRequireDefault(require("./abstract/structureRole")); var _widgetRole = _interopRequireDefault(require("./abstract/widgetRole")); var _windowRole = _interopRequireDefault(require("./abstract/windowRole")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } var ariaAbstractRoles = [['command', _commandRole.default], ['composite', _compositeRole.default], ['input', _inputRole.default], ['landmark', _landmarkRole.default], ['range', _rangeRole.default], ['roletype', _roletypeRole.default], ['section', _sectionRole.default], ['sectionhead', _sectionheadRole.default], ['select', _selectRole.default], ['structure', _structureRole.default], ['widget', _widgetRole.default], ['window', _windowRole.default]]; -var _default = ariaAbstractRoles; -exports.default = _default; \ No newline at end of file +var _default = exports.default = ariaAbstractRoles; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js b/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js index d873f40540..72ac5d30ac 100644 --- a/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js +++ b/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js @@ -34,6 +34,8 @@ var _docIntroductionRole = _interopRequireDefault(require("./dpub/docIntroductio var _docNoterefRole = _interopRequireDefault(require("./dpub/docNoterefRole")); var _docNoticeRole = _interopRequireDefault(require("./dpub/docNoticeRole")); var _docPagebreakRole = _interopRequireDefault(require("./dpub/docPagebreakRole")); +var _docPagefooterRole = _interopRequireDefault(require("./dpub/docPagefooterRole")); +var _docPageheaderRole = _interopRequireDefault(require("./dpub/docPageheaderRole")); var _docPagelistRole = _interopRequireDefault(require("./dpub/docPagelistRole")); var _docPartRole = _interopRequireDefault(require("./dpub/docPartRole")); var _docPrefaceRole = _interopRequireDefault(require("./dpub/docPrefaceRole")); @@ -43,8 +45,6 @@ var _docQnaRole = _interopRequireDefault(require("./dpub/docQnaRole")); var _docSubtitleRole = _interopRequireDefault(require("./dpub/docSubtitleRole")); var _docTipRole = _interopRequireDefault(require("./dpub/docTipRole")); var _docTocRole = _interopRequireDefault(require("./dpub/docTocRole")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -var ariaDpubRoles = [['doc-abstract', _docAbstractRole.default], ['doc-acknowledgments', _docAcknowledgmentsRole.default], ['doc-afterword', _docAfterwordRole.default], ['doc-appendix', _docAppendixRole.default], ['doc-backlink', _docBacklinkRole.default], ['doc-biblioentry', _docBiblioentryRole.default], ['doc-bibliography', _docBibliographyRole.default], ['doc-biblioref', _docBibliorefRole.default], ['doc-chapter', _docChapterRole.default], ['doc-colophon', _docColophonRole.default], ['doc-conclusion', _docConclusionRole.default], ['doc-cover', _docCoverRole.default], ['doc-credit', _docCreditRole.default], ['doc-credits', _docCreditsRole.default], ['doc-dedication', _docDedicationRole.default], ['doc-endnote', _docEndnoteRole.default], ['doc-endnotes', _docEndnotesRole.default], ['doc-epigraph', _docEpigraphRole.default], ['doc-epilogue', _docEpilogueRole.default], ['doc-errata', _docErrataRole.default], ['doc-example', _docExampleRole.default], ['doc-footnote', _docFootnoteRole.default], ['doc-foreword', _docForewordRole.default], ['doc-glossary', _docGlossaryRole.default], ['doc-glossref', _docGlossrefRole.default], ['doc-index', _docIndexRole.default], ['doc-introduction', _docIntroductionRole.default], ['doc-noteref', _docNoterefRole.default], ['doc-notice', _docNoticeRole.default], ['doc-pagebreak', _docPagebreakRole.default], ['doc-pagelist', _docPagelistRole.default], ['doc-part', _docPartRole.default], ['doc-preface', _docPrefaceRole.default], ['doc-prologue', _docPrologueRole.default], ['doc-pullquote', _docPullquoteRole.default], ['doc-qna', _docQnaRole.default], ['doc-subtitle', _docSubtitleRole.default], ['doc-tip', _docTipRole.default], ['doc-toc', _docTocRole.default]]; -var _default = ariaDpubRoles; -exports.default = _default; \ No newline at end of file +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +var ariaDpubRoles = [['doc-abstract', _docAbstractRole.default], ['doc-acknowledgments', _docAcknowledgmentsRole.default], ['doc-afterword', _docAfterwordRole.default], ['doc-appendix', _docAppendixRole.default], ['doc-backlink', _docBacklinkRole.default], ['doc-biblioentry', _docBiblioentryRole.default], ['doc-bibliography', _docBibliographyRole.default], ['doc-biblioref', _docBibliorefRole.default], ['doc-chapter', _docChapterRole.default], ['doc-colophon', _docColophonRole.default], ['doc-conclusion', _docConclusionRole.default], ['doc-cover', _docCoverRole.default], ['doc-credit', _docCreditRole.default], ['doc-credits', _docCreditsRole.default], ['doc-dedication', _docDedicationRole.default], ['doc-endnote', _docEndnoteRole.default], ['doc-endnotes', _docEndnotesRole.default], ['doc-epigraph', _docEpigraphRole.default], ['doc-epilogue', _docEpilogueRole.default], ['doc-errata', _docErrataRole.default], ['doc-example', _docExampleRole.default], ['doc-footnote', _docFootnoteRole.default], ['doc-foreword', _docForewordRole.default], ['doc-glossary', _docGlossaryRole.default], ['doc-glossref', _docGlossrefRole.default], ['doc-index', _docIndexRole.default], ['doc-introduction', _docIntroductionRole.default], ['doc-noteref', _docNoterefRole.default], ['doc-notice', _docNoticeRole.default], ['doc-pagebreak', _docPagebreakRole.default], ['doc-pagefooter', _docPagefooterRole.default], ['doc-pageheader', _docPageheaderRole.default], ['doc-pagelist', _docPagelistRole.default], ['doc-part', _docPartRole.default], ['doc-preface', _docPrefaceRole.default], ['doc-prologue', _docPrologueRole.default], ['doc-pullquote', _docPullquoteRole.default], ['doc-qna', _docQnaRole.default], ['doc-subtitle', _docSubtitleRole.default], ['doc-tip', _docTipRole.default], ['doc-toc', _docTocRole.default]]; +var _default = exports.default = ariaDpubRoles; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js b/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js index 891d42c046..bdc4b958a6 100644 --- a/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +++ b/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js @@ -7,8 +7,6 @@ exports.default = void 0; var _graphicsDocumentRole = _interopRequireDefault(require("./graphics/graphicsDocumentRole")); var _graphicsObjectRole = _interopRequireDefault(require("./graphics/graphicsObjectRole")); var _graphicsSymbolRole = _interopRequireDefault(require("./graphics/graphicsSymbolRole")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } var ariaGraphicsRoles = [['graphics-document', _graphicsDocumentRole.default], ['graphics-object', _graphicsObjectRole.default], ['graphics-symbol', _graphicsSymbolRole.default]]; -var _default = ariaGraphicsRoles; -exports.default = _default; \ No newline at end of file +var _default = exports.default = ariaGraphicsRoles; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js b/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js index 7e7d389761..6011392dbd 100644 --- a/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js +++ b/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js @@ -87,8 +87,6 @@ var _tooltipRole = _interopRequireDefault(require("./literal/tooltipRole")); var _treeRole = _interopRequireDefault(require("./literal/treeRole")); var _treegridRole = _interopRequireDefault(require("./literal/treegridRole")); var _treeitemRole = _interopRequireDefault(require("./literal/treeitemRole")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } var ariaLiteralRoles = [['alert', _alertRole.default], ['alertdialog', _alertdialogRole.default], ['application', _applicationRole.default], ['article', _articleRole.default], ['banner', _bannerRole.default], ['blockquote', _blockquoteRole.default], ['button', _buttonRole.default], ['caption', _captionRole.default], ['cell', _cellRole.default], ['checkbox', _checkboxRole.default], ['code', _codeRole.default], ['columnheader', _columnheaderRole.default], ['combobox', _comboboxRole.default], ['complementary', _complementaryRole.default], ['contentinfo', _contentinfoRole.default], ['definition', _definitionRole.default], ['deletion', _deletionRole.default], ['dialog', _dialogRole.default], ['directory', _directoryRole.default], ['document', _documentRole.default], ['emphasis', _emphasisRole.default], ['feed', _feedRole.default], ['figure', _figureRole.default], ['form', _formRole.default], ['generic', _genericRole.default], ['grid', _gridRole.default], ['gridcell', _gridcellRole.default], ['group', _groupRole.default], ['heading', _headingRole.default], ['img', _imgRole.default], ['insertion', _insertionRole.default], ['link', _linkRole.default], ['list', _listRole.default], ['listbox', _listboxRole.default], ['listitem', _listitemRole.default], ['log', _logRole.default], ['main', _mainRole.default], ['mark', _markRole.default], ['marquee', _marqueeRole.default], ['math', _mathRole.default], ['menu', _menuRole.default], ['menubar', _menubarRole.default], ['menuitem', _menuitemRole.default], ['menuitemcheckbox', _menuitemcheckboxRole.default], ['menuitemradio', _menuitemradioRole.default], ['meter', _meterRole.default], ['navigation', _navigationRole.default], ['none', _noneRole.default], ['note', _noteRole.default], ['option', _optionRole.default], ['paragraph', _paragraphRole.default], ['presentation', _presentationRole.default], ['progressbar', _progressbarRole.default], ['radio', _radioRole.default], ['radiogroup', _radiogroupRole.default], ['region', _regionRole.default], ['row', _rowRole.default], ['rowgroup', _rowgroupRole.default], ['rowheader', _rowheaderRole.default], ['scrollbar', _scrollbarRole.default], ['search', _searchRole.default], ['searchbox', _searchboxRole.default], ['separator', _separatorRole.default], ['slider', _sliderRole.default], ['spinbutton', _spinbuttonRole.default], ['status', _statusRole.default], ['strong', _strongRole.default], ['subscript', _subscriptRole.default], ['superscript', _superscriptRole.default], ['switch', _switchRole.default], ['tab', _tabRole.default], ['table', _tableRole.default], ['tablist', _tablistRole.default], ['tabpanel', _tabpanelRole.default], ['term', _termRole.default], ['textbox', _textboxRole.default], ['time', _timeRole.default], ['timer', _timerRole.default], ['toolbar', _toolbarRole.default], ['tooltip', _tooltipRole.default], ['tree', _treeRole.default], ['treegrid', _treegridRole.default], ['treeitem', _treeitemRole.default]]; -var _default = ariaLiteralRoles; -exports.default = _default; \ No newline at end of file +var _default = exports.default = ariaLiteralRoles; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js index 925a00a150..3aefca500e 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js @@ -30,5 +30,4 @@ var docAbstractRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docAbstractRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docAbstractRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js index 1f35b4bad5..5561ab5227 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js @@ -30,5 +30,4 @@ var docAcknowledgmentsRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docAcknowledgmentsRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docAcknowledgmentsRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js index f89cb45f10..6e8acbeca3 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js @@ -30,5 +30,4 @@ var docAfterwordRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docAfterwordRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docAfterwordRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js index b8b40bb565..5c3f022880 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js @@ -30,5 +30,4 @@ var docAppendixRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docAppendixRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docAppendixRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js index fb98734710..71f07c5784 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js @@ -27,5 +27,4 @@ var docBacklinkRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'command', 'link']] }; -var _default = docBacklinkRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docBacklinkRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js index caf881cc60..e96996189b 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js @@ -30,5 +30,4 @@ var docBiblioentryRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'listitem']] }; -var _default = docBiblioentryRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docBiblioentryRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js index d40c2426bf..2b8f3835ff 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js @@ -30,5 +30,4 @@ var docBibliographyRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docBibliographyRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docBibliographyRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js index 9d101ff088..4893956ed6 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js @@ -27,5 +27,4 @@ var docBibliorefRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'command', 'link']] }; -var _default = docBibliorefRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docBibliorefRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js index 969ed2b8f7..f8f2b0ccad 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js @@ -30,5 +30,4 @@ var docChapterRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docChapterRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docChapterRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js index 0e2f3a54bd..dc4e0e2c91 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js @@ -30,5 +30,4 @@ var docColophonRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docColophonRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docColophonRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js index d902350c5d..01a942e0fc 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js @@ -30,5 +30,4 @@ var docConclusionRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docConclusionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docConclusionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js index fd58fec148..1d51301448 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js @@ -30,5 +30,4 @@ var docCoverRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'img']] }; -var _default = docCoverRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docCoverRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js index 3e58a9e0a4..c321d99e79 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js @@ -30,5 +30,4 @@ var docCreditRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docCreditRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docCreditRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js index 17a197fa79..9b7f98836b 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js @@ -30,5 +30,4 @@ var docCreditsRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docCreditsRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docCreditsRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js index 797229e641..19ffdb3dee 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js @@ -30,5 +30,4 @@ var docDedicationRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docDedicationRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docDedicationRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js index 79b6885492..73652cabc1 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js @@ -30,5 +30,4 @@ var docEndnoteRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'listitem']] }; -var _default = docEndnoteRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docEndnoteRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js index 76e8a643f1..32c7d2f9f7 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js @@ -30,5 +30,4 @@ var docEndnotesRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docEndnotesRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docEndnotesRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js index 0199428fda..1a5ce567fb 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js @@ -30,5 +30,4 @@ var docEpigraphRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docEpigraphRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docEpigraphRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js index 3ba1f60922..d4638c3672 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js @@ -30,5 +30,4 @@ var docEpilogueRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docEpilogueRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docEpilogueRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js index 7677499437..ded11c64cd 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js @@ -30,5 +30,4 @@ var docErrataRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docErrataRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docErrataRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js index e0428c73ae..d6d356c1db 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js @@ -25,5 +25,4 @@ var docExampleRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docExampleRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docExampleRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js index de4045cb07..2e50d8f88a 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js @@ -30,5 +30,4 @@ var docFootnoteRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docFootnoteRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docFootnoteRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js index 7be3990b9b..77c4624540 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js @@ -30,5 +30,4 @@ var docForewordRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docForewordRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docForewordRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js index 657da230ce..46f7ccf0b3 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js @@ -30,5 +30,4 @@ var docGlossaryRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docGlossaryRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docGlossaryRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js index c66b0975f4..9f931f98eb 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js @@ -27,5 +27,4 @@ var docGlossrefRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'command', 'link']] }; -var _default = docGlossrefRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docGlossrefRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js index a579a39e5e..e32ebe5400 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js @@ -30,5 +30,4 @@ var docIndexRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark', 'navigation']] }; -var _default = docIndexRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docIndexRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js index 7a224ebc1e..8cb188ee55 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js @@ -30,5 +30,4 @@ var docIntroductionRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docIntroductionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docIntroductionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js index 3a39d1d9b9..b33965d9d7 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js @@ -27,5 +27,4 @@ var docNoterefRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'command', 'link']] }; -var _default = docNoterefRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docNoterefRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js index 817183d9d7..d92834b1ec 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js @@ -30,5 +30,4 @@ var docNoticeRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'note']] }; -var _default = docNoticeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docNoticeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js index 2468e7b224..46f35422b6 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js @@ -29,5 +29,4 @@ var docPagebreakRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'separator']] }; -var _default = docPagebreakRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docPagebreakRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js new file mode 100644 index 0000000000..e31ba34f10 --- /dev/null +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js @@ -0,0 +1,30 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var docPagefooterRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ['prohibited'], + prohibitedProps: [], + props: { + 'aria-braillelabel': null, + 'aria-brailleroledescription': null, + 'aria-description': null, + 'aria-disabled': null, + 'aria-errormessage': null, + 'aria-haspopup': null, + 'aria-invalid': null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [['roletype', 'structure', 'section']] +}; +var _default = exports.default = docPagefooterRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js new file mode 100644 index 0000000000..c7d5602feb --- /dev/null +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js @@ -0,0 +1,30 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var docPageheaderRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ['prohibited'], + prohibitedProps: [], + props: { + 'aria-braillelabel': null, + 'aria-brailleroledescription': null, + 'aria-description': null, + 'aria-disabled': null, + 'aria-errormessage': null, + 'aria-haspopup': null, + 'aria-invalid': null + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [['roletype', 'structure', 'section']] +}; +var _default = exports.default = docPageheaderRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js index 93dd6833f9..eaf41b8840 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js @@ -30,5 +30,4 @@ var docPagelistRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark', 'navigation']] }; -var _default = docPagelistRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docPagelistRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js index 0a1f96734d..5e444206b6 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js @@ -30,5 +30,4 @@ var docPartRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docPartRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docPartRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js index 4224228fcc..b71cf255bb 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js @@ -30,5 +30,4 @@ var docPrefaceRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docPrefaceRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docPrefaceRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js index 074b86eac1..e2d81877ff 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js @@ -30,5 +30,4 @@ var docPrologueRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = docPrologueRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docPrologueRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js index ee07800e7a..e5f31604be 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js @@ -24,5 +24,4 @@ var docPullquoteRole = { requiredProps: {}, superClass: [['none']] }; -var _default = docPullquoteRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docPullquoteRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js index 9a1b7625a9..2116f0b138 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js @@ -30,5 +30,4 @@ var docQnaRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = docQnaRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docQnaRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js index 32bdf25801..688ab963a8 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js @@ -30,5 +30,4 @@ var docSubtitleRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'sectionhead']] }; -var _default = docSubtitleRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docSubtitleRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js index 1179ff6434..51f79baedc 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js @@ -30,5 +30,4 @@ var docTipRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'note']] }; -var _default = docTipRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docTipRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js b/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js index 0a86bb1ee4..dc100c728e 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js @@ -30,5 +30,4 @@ var docTocRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark', 'navigation']] }; -var _default = docTocRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = docTocRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js b/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js index a115606102..fb146d0b19 100644 --- a/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +++ b/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js @@ -40,5 +40,4 @@ var graphicsDocumentRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'document']] }; -var _default = graphicsDocumentRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = graphicsDocumentRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js b/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js index 2d24a09f8f..5418a7fa4f 100644 --- a/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +++ b/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js @@ -44,5 +44,4 @@ var graphicsObjectRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'group']] }; -var _default = graphicsObjectRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = graphicsObjectRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js b/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js index 79d02b6894..34a61e9b60 100644 --- a/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +++ b/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js @@ -25,5 +25,4 @@ var graphicsSymbolRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'img']] }; -var _default = graphicsSymbolRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = graphicsSymbolRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/alertRole.js b/node_modules/aria-query/lib/etc/roles/literal/alertRole.js index 2fdcfd5268..d3e3f53638 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/alertRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/alertRole.js @@ -27,5 +27,4 @@ var alertRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = alertRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = alertRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js b/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js index dc046c4073..6406201c8e 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js @@ -24,5 +24,4 @@ var alertdialogRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'alert'], ['roletype', 'window', 'dialog']] }; -var _default = alertdialogRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = alertdialogRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js b/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js index d4a1f9f5ff..51a4ff1e96 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js @@ -30,5 +30,4 @@ var applicationRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = applicationRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = applicationRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/articleRole.js b/node_modules/aria-query/lib/etc/roles/literal/articleRole.js index 64aceb8b45..238c4fcbbe 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/articleRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/articleRole.js @@ -27,5 +27,4 @@ var articleRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'document']] }; -var _default = articleRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = articleRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js b/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js index c53c6b27b7..8fd96d35cd 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js @@ -25,5 +25,4 @@ var bannerRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = bannerRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = bannerRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js b/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js index bce1636080..838814fc18 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js @@ -24,5 +24,4 @@ var blockquoteRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = blockquoteRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = blockquoteRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js b/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js index e4f71aa13e..0ad385af60 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js @@ -70,5 +70,4 @@ var buttonRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'command']] }; -var _default = buttonRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = buttonRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/captionRole.js b/node_modules/aria-query/lib/etc/roles/literal/captionRole.js index a9e32b45b9..073c64cd0f 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/captionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/captionRole.js @@ -24,5 +24,4 @@ var captionRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = captionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = captionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/cellRole.js b/node_modules/aria-query/lib/etc/roles/literal/cellRole.js index 294ad6bdbd..178929382b 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/cellRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/cellRole.js @@ -30,5 +30,4 @@ var cellRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = cellRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = cellRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js b/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js index 5f152c7622..035cb93a69 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js @@ -42,5 +42,4 @@ var checkboxRole = { }, superClass: [['roletype', 'widget', 'input']] }; -var _default = checkboxRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = checkboxRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/codeRole.js b/node_modules/aria-query/lib/etc/roles/literal/codeRole.js index c78bd7a97a..ba9607f8af 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/codeRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/codeRole.js @@ -24,5 +24,4 @@ var codeRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = codeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = codeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js b/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js index 6c40199d82..9a862750a7 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js @@ -44,5 +44,4 @@ var columnheaderRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'cell'], ['roletype', 'structure', 'section', 'cell', 'gridcell'], ['roletype', 'widget', 'gridcell'], ['roletype', 'structure', 'sectionhead']] }; -var _default = columnheaderRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = columnheaderRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js b/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js index 2540905229..93b10d5749 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js @@ -121,5 +121,4 @@ var comboboxRole = { }, superClass: [['roletype', 'widget', 'input']] }; -var _default = comboboxRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = comboboxRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js b/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js index 4124e25d3a..3c24bf0cac 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js @@ -14,6 +14,7 @@ var complementaryRole = { props: {}, relatedConcepts: [{ concept: { + constraints: ['scoped to the body element', 'scoped to the main element'], name: 'aside' }, module: 'HTML' @@ -44,5 +45,4 @@ var complementaryRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = complementaryRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = complementaryRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js b/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js index babcd925b7..93d533130a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js @@ -25,5 +25,4 @@ var contentinfoRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = contentinfoRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = contentinfoRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js b/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js index 9165ccb280..62a8e964e9 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js @@ -24,5 +24,4 @@ var definitionRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = definitionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = definitionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js b/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js index 6343e1b0d5..bc6884ee86 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js @@ -24,5 +24,4 @@ var deletionRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = deletionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = deletionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js b/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js index c9391d9a7c..aafd966ea0 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js @@ -24,5 +24,4 @@ var dialogRole = { requiredProps: {}, superClass: [['roletype', 'window']] }; -var _default = dialogRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = dialogRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js b/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js index 061f8dafa5..0d3408bf2a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js @@ -21,5 +21,4 @@ var directoryRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'list']] }; -var _default = directoryRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = directoryRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/documentRole.js b/node_modules/aria-query/lib/etc/roles/literal/documentRole.js index 6602a417e2..98f29ec377 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/documentRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/documentRole.js @@ -28,5 +28,4 @@ var documentRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = documentRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = documentRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js b/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js index 08d8f9d12d..ef31532339 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js @@ -24,5 +24,4 @@ var emphasisRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = emphasisRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = emphasisRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/feedRole.js b/node_modules/aria-query/lib/etc/roles/literal/feedRole.js index 7cec9c5d9a..3e7c72f85b 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/feedRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/feedRole.js @@ -19,5 +19,4 @@ var feedRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'list']] }; -var _default = feedRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = feedRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/figureRole.js b/node_modules/aria-query/lib/etc/roles/literal/figureRole.js index 75ec37500c..ed465e7309 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/figureRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/figureRole.js @@ -24,5 +24,4 @@ var figureRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = figureRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = figureRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/formRole.js b/node_modules/aria-query/lib/etc/roles/literal/formRole.js index 76d0ff4fed..8c286224ad 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/formRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/formRole.js @@ -46,5 +46,4 @@ var formRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = formRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = formRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/genericRole.js b/node_modules/aria-query/lib/etc/roles/literal/genericRole.js index ca9997df33..328a3480bb 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/genericRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/genericRole.js @@ -116,5 +116,4 @@ var genericRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = genericRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = genericRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/graphicsDocumentRole.js b/node_modules/aria-query/lib/etc/roles/literal/graphicsDocumentRole.js index a115606102..fb146d0b19 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/graphicsDocumentRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/graphicsDocumentRole.js @@ -40,5 +40,4 @@ var graphicsDocumentRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'document']] }; -var _default = graphicsDocumentRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = graphicsDocumentRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/graphicsObjectRole.js b/node_modules/aria-query/lib/etc/roles/literal/graphicsObjectRole.js index 2d24a09f8f..5418a7fa4f 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/graphicsObjectRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/graphicsObjectRole.js @@ -44,5 +44,4 @@ var graphicsObjectRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'group']] }; -var _default = graphicsObjectRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = graphicsObjectRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/graphicsSymbolRole.js b/node_modules/aria-query/lib/etc/roles/literal/graphicsSymbolRole.js index 79d02b6894..34a61e9b60 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/graphicsSymbolRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/graphicsSymbolRole.js @@ -25,5 +25,4 @@ var graphicsSymbolRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'img']] }; -var _default = graphicsSymbolRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = graphicsSymbolRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/gridRole.js b/node_modules/aria-query/lib/etc/roles/literal/gridRole.js index 0a35cd5955..dd4873788b 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/gridRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/gridRole.js @@ -22,5 +22,4 @@ var gridRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite'], ['roletype', 'structure', 'section', 'table']] }; -var _default = gridRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = gridRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js b/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js index a4dea3c52d..c00cf57253 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js @@ -34,5 +34,4 @@ var gridcellRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'cell'], ['roletype', 'widget']] }; -var _default = gridcellRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = gridcellRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/groupRole.js b/node_modules/aria-query/lib/etc/roles/literal/groupRole.js index 08b137ce48..84b18b4d78 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/groupRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/groupRole.js @@ -42,5 +42,4 @@ var groupRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = groupRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = groupRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/headingRole.js b/node_modules/aria-query/lib/etc/roles/literal/headingRole.js index 9c53a4d10f..aca5b7f098 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/headingRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/headingRole.js @@ -53,5 +53,4 @@ var headingRole = { }, superClass: [['roletype', 'structure', 'sectionhead']] }; -var _default = headingRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = headingRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/imgRole.js b/node_modules/aria-query/lib/etc/roles/literal/imgRole.js index 6dcebd7c52..4e788d3a85 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/imgRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/imgRole.js @@ -42,5 +42,4 @@ var imgRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = imgRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = imgRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js b/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js index a0059a6e4a..0412c560ec 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js @@ -24,5 +24,4 @@ var insertionRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = insertionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = insertionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/linkRole.js b/node_modules/aria-query/lib/etc/roles/literal/linkRole.js index 52a06b5339..110f5a1f89 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/linkRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/linkRole.js @@ -41,5 +41,4 @@ var linkRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'command']] }; -var _default = linkRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = linkRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/listRole.js b/node_modules/aria-query/lib/etc/roles/literal/listRole.js index 0ac17d25b6..e0ae6dcbe1 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/listRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/listRole.js @@ -34,5 +34,4 @@ var listRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = listRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = listRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js b/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js index 372a653bcf..95746cd750 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js @@ -60,5 +60,4 @@ var listboxRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']] }; -var _default = listboxRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = listboxRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js b/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js index e50ab1d2c2..ab9cca8ec7 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js @@ -34,5 +34,4 @@ var listitemRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = listitemRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = listitemRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/logRole.js b/node_modules/aria-query/lib/etc/roles/literal/logRole.js index c1b8f82b92..8fbd3b2c5a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/logRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/logRole.js @@ -21,5 +21,4 @@ var logRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = logRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = logRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/mainRole.js b/node_modules/aria-query/lib/etc/roles/literal/mainRole.js index 9349503ea0..8735815b32 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/mainRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/mainRole.js @@ -24,5 +24,4 @@ var mainRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = mainRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = mainRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/markRole.js b/node_modules/aria-query/lib/etc/roles/literal/markRole.js index 9b00e7220b..2ec8d5c727 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/markRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/markRole.js @@ -28,5 +28,4 @@ var markRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = markRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = markRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js b/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js index 228c8e2562..73962ae45f 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js @@ -19,5 +19,4 @@ var marqueeRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = marqueeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = marqueeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/mathRole.js b/node_modules/aria-query/lib/etc/roles/literal/mathRole.js index bee382d1ba..6a4fee1b1a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/mathRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/mathRole.js @@ -24,5 +24,4 @@ var mathRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = mathRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = mathRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/menuRole.js b/node_modules/aria-query/lib/etc/roles/literal/menuRole.js index f69e87b0be..2189677f4f 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/menuRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/menuRole.js @@ -41,5 +41,4 @@ var menuRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']] }; -var _default = menuRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = menuRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js b/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js index 3c3d4d8d5e..8977f41cd6 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js @@ -26,5 +26,4 @@ var menubarRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite', 'select', 'menu'], ['roletype', 'structure', 'section', 'group', 'select', 'menu']] }; -var _default = menubarRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = menubarRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js b/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js index 17efd172ca..7a3afef141 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js @@ -40,5 +40,4 @@ var menuitemRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'command']] }; -var _default = menuitemRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = menuitemRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js b/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js index 326bfb9da5..a924e0c5d9 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js @@ -26,5 +26,4 @@ var menuitemcheckboxRole = { }, superClass: [['roletype', 'widget', 'input', 'checkbox'], ['roletype', 'widget', 'command', 'menuitem']] }; -var _default = menuitemcheckboxRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = menuitemcheckboxRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js b/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js index 30546c2890..e25d8761d8 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js @@ -26,5 +26,4 @@ var menuitemradioRole = { }, superClass: [['roletype', 'widget', 'input', 'checkbox', 'menuitemcheckbox'], ['roletype', 'widget', 'command', 'menuitem', 'menuitemcheckbox'], ['roletype', 'widget', 'input', 'radio']] }; -var _default = menuitemradioRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = menuitemradioRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/meterRole.js b/node_modules/aria-query/lib/etc/roles/literal/meterRole.js index baddbbaf56..95bca21a33 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/meterRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/meterRole.js @@ -30,5 +30,4 @@ var meterRole = { }, superClass: [['roletype', 'structure', 'range']] }; -var _default = meterRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = meterRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js b/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js index d1c1761094..71e50cf6e2 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js @@ -24,5 +24,4 @@ var navigationRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = navigationRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = navigationRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/noneRole.js b/node_modules/aria-query/lib/etc/roles/literal/noneRole.js index 735e486088..db67f39937 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/noneRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/noneRole.js @@ -19,5 +19,4 @@ var noneRole = { requiredProps: {}, superClass: [] }; -var _default = noneRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = noneRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/noteRole.js b/node_modules/aria-query/lib/etc/roles/literal/noteRole.js index bff25906b0..87941b63de 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/noteRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/noteRole.js @@ -19,5 +19,4 @@ var noteRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = noteRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = noteRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/optionRole.js b/node_modules/aria-query/lib/etc/roles/literal/optionRole.js index 47453253cf..41c45b068b 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/optionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/optionRole.js @@ -41,5 +41,4 @@ var optionRole = { }, superClass: [['roletype', 'widget', 'input']] }; -var _default = optionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = optionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js b/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js index 501b88b91f..4a4b4bd9d6 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js @@ -24,5 +24,4 @@ var paragraphRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = paragraphRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = paragraphRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js b/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js index 06def2c120..35bc5054ab 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js @@ -28,5 +28,4 @@ var presentationRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = presentationRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = presentationRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js b/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js index b5e5f702b1..6acddb9785 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js @@ -31,5 +31,4 @@ var progressbarRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'range'], ['roletype', 'widget']] }; -var _default = progressbarRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = progressbarRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/radioRole.js b/node_modules/aria-query/lib/etc/roles/literal/radioRole.js index 8dc4843398..3f764c8579 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/radioRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/radioRole.js @@ -34,5 +34,4 @@ var radioRole = { }, superClass: [['roletype', 'widget', 'input']] }; -var _default = radioRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = radioRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js b/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js index cc2d17875a..9c542039dd 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js @@ -29,5 +29,4 @@ var radiogroupRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']] }; -var _default = radiogroupRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = radiogroupRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/regionRole.js b/node_modules/aria-query/lib/etc/roles/literal/regionRole.js index 94d6ed4d09..b9ec6c2af2 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/regionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/regionRole.js @@ -41,5 +41,4 @@ var regionRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = regionRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = regionRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/rowRole.js b/node_modules/aria-query/lib/etc/roles/literal/rowRole.js index 57be030e6e..f234616bad 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/rowRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/rowRole.js @@ -32,5 +32,4 @@ var rowRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'group'], ['roletype', 'widget']] }; -var _default = rowRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = rowRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js b/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js index ef9c998ccd..82441a2f0c 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js @@ -34,5 +34,4 @@ var rowgroupRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = rowgroupRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = rowgroupRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js b/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js index c8b230b776..9009c4e6c9 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js @@ -39,5 +39,4 @@ var rowheaderRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'cell'], ['roletype', 'structure', 'section', 'cell', 'gridcell'], ['roletype', 'widget', 'gridcell'], ['roletype', 'structure', 'sectionhead']] }; -var _default = rowheaderRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = rowheaderRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js b/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js index dcd928fa97..54e78bce8b 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js @@ -28,5 +28,4 @@ var scrollbarRole = { }, superClass: [['roletype', 'structure', 'range'], ['roletype', 'widget']] }; -var _default = scrollbarRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = scrollbarRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/searchRole.js b/node_modules/aria-query/lib/etc/roles/literal/searchRole.js index 0c054a8670..df444189e0 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/searchRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/searchRole.js @@ -19,5 +19,4 @@ var searchRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'landmark']] }; -var _default = searchRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = searchRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js b/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js index 0ab1d0c23a..ac4ccefb3e 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js @@ -32,5 +32,4 @@ var searchboxRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'input', 'textbox']] }; -var _default = searchboxRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = searchboxRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js b/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js index a1ed892665..a4cc1306f3 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js @@ -31,5 +31,4 @@ var separatorRole = { requiredProps: {}, superClass: [['roletype', 'structure']] }; -var _default = separatorRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = separatorRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js b/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js index f2c9e0a1b1..1a7f0d6655 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js @@ -39,5 +39,4 @@ var sliderRole = { }, superClass: [['roletype', 'widget', 'input'], ['roletype', 'structure', 'range']] }; -var _default = sliderRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = sliderRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js b/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js index 838423c80a..c47cf08a7a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js @@ -35,5 +35,4 @@ var spinbuttonRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite'], ['roletype', 'widget', 'input'], ['roletype', 'structure', 'range']] }; -var _default = spinbuttonRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = spinbuttonRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/statusRole.js b/node_modules/aria-query/lib/etc/roles/literal/statusRole.js index b2bdbe8e6f..892890f5e3 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/statusRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/statusRole.js @@ -27,5 +27,4 @@ var statusRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = statusRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = statusRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/strongRole.js b/node_modules/aria-query/lib/etc/roles/literal/strongRole.js index 31660787da..54e9bc829c 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/strongRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/strongRole.js @@ -24,5 +24,4 @@ var strongRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = strongRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = strongRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js b/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js index 73a64a0860..22df2192ba 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js @@ -24,5 +24,4 @@ var subscriptRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = subscriptRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = subscriptRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js b/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js index 97bfe7d983..315f0b23e5 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js @@ -24,5 +24,4 @@ var superscriptRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = superscriptRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = superscriptRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/switchRole.js b/node_modules/aria-query/lib/etc/roles/literal/switchRole.js index 4e54c8ffb8..dbe5d183ed 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/switchRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/switchRole.js @@ -26,5 +26,4 @@ var switchRole = { }, superClass: [['roletype', 'widget', 'input', 'checkbox']] }; -var _default = switchRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = switchRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/tabRole.js b/node_modules/aria-query/lib/etc/roles/literal/tabRole.js index ebf013eb85..537031ea5b 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/tabRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/tabRole.js @@ -26,5 +26,4 @@ var tabRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'sectionhead'], ['roletype', 'widget']] }; -var _default = tabRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = tabRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/tableRole.js b/node_modules/aria-query/lib/etc/roles/literal/tableRole.js index f12f127693..bc65d875fc 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/tableRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/tableRole.js @@ -27,5 +27,4 @@ var tableRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = tableRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = tableRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js b/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js index 7ef083cdeb..a422bc59c4 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js @@ -28,5 +28,4 @@ var tablistRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite']] }; -var _default = tablistRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = tablistRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js b/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js index c75a9283a0..e276ff9b82 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js @@ -19,5 +19,4 @@ var tabpanelRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = tabpanelRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = tabpanelRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/termRole.js b/node_modules/aria-query/lib/etc/roles/literal/termRole.js index 1ea3b913a8..c934ef6237 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/termRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/termRole.js @@ -29,5 +29,4 @@ var termRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = termRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = termRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js b/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js index ef2d769a17..3bd26717d4 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js @@ -104,5 +104,4 @@ var textboxRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'input']] }; -var _default = textboxRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = textboxRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/timeRole.js b/node_modules/aria-query/lib/etc/roles/literal/timeRole.js index 9358d7f1f4..d07bafd9d0 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/timeRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/timeRole.js @@ -24,5 +24,4 @@ var timeRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = timeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = timeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/timerRole.js b/node_modules/aria-query/lib/etc/roles/literal/timerRole.js index 20ac0da8e3..89983c66a3 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/timerRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/timerRole.js @@ -19,5 +19,4 @@ var timerRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'status']] }; -var _default = timerRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = timerRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js b/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js index 4f67c7e778..53d55b8349 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js @@ -26,5 +26,4 @@ var toolbarRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section', 'group']] }; -var _default = toolbarRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = toolbarRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js b/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js index fa737ac6e1..78cc64c78d 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js @@ -19,5 +19,4 @@ var tooltipRole = { requiredProps: {}, superClass: [['roletype', 'structure', 'section']] }; -var _default = tooltipRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = tooltipRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/treeRole.js b/node_modules/aria-query/lib/etc/roles/literal/treeRole.js index e969e70df5..d0df6dbeb9 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/treeRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/treeRole.js @@ -25,5 +25,4 @@ var treeRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite', 'select'], ['roletype', 'structure', 'section', 'group', 'select']] }; -var _default = treeRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = treeRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js b/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js index d8d24a79eb..958f1305b1 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js @@ -19,5 +19,4 @@ var treegridRole = { requiredProps: {}, superClass: [['roletype', 'widget', 'composite', 'grid'], ['roletype', 'structure', 'section', 'table', 'grid'], ['roletype', 'widget', 'composite', 'select', 'tree'], ['roletype', 'structure', 'section', 'group', 'select', 'tree']] }; -var _default = treegridRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = treegridRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js b/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js index 488fcbebd8..c33b19cdfe 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js @@ -24,5 +24,4 @@ var treeitemRole = { }, superClass: [['roletype', 'structure', 'section', 'listitem'], ['roletype', 'widget', 'input', 'option']] }; -var _default = treeitemRole; -exports.default = _default; \ No newline at end of file +var _default = exports.default = treeitemRole; \ No newline at end of file diff --git a/node_modules/aria-query/lib/index.js b/node_modules/aria-query/lib/index.js index 1e562cad74..ef69707003 100644 --- a/node_modules/aria-query/lib/index.js +++ b/node_modules/aria-query/lib/index.js @@ -9,15 +9,9 @@ var _domMap = _interopRequireDefault(require("./domMap")); var _rolesMap = _interopRequireDefault(require("./rolesMap")); var _elementRoleMap = _interopRequireDefault(require("./elementRoleMap")); var _roleElementMap = _interopRequireDefault(require("./roleElementMap")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -var aria = _ariaPropsMap.default; -exports.aria = aria; -var dom = _domMap.default; -exports.dom = dom; -var roles = _rolesMap.default; -exports.roles = roles; -var elementRoles = _elementRoleMap.default; -exports.elementRoles = elementRoles; -var roleElements = _roleElementMap.default; -exports.roleElements = roleElements; \ No newline at end of file +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +var aria = exports.aria = _ariaPropsMap.default; +var dom = exports.dom = _domMap.default; +var roles = exports.roles = _rolesMap.default; +var elementRoles = exports.elementRoles = _elementRoleMap.default; +var roleElements = exports.roleElements = _roleElementMap.default; \ No newline at end of file diff --git a/node_modules/aria-query/lib/roleElementMap.js b/node_modules/aria-query/lib/roleElementMap.js index 9dbbde65f5..aaef7b8b77 100644 --- a/node_modules/aria-query/lib/roleElementMap.js +++ b/node_modules/aria-query/lib/roleElementMap.js @@ -6,14 +6,13 @@ Object.defineProperty(exports, "__esModule", { exports.default = void 0; var _iterationDecorator = _interopRequireDefault(require("./util/iterationDecorator")); var _rolesMap = _interopRequireDefault(require("./rolesMap")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } +function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } +function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } var roleElement = []; var keys = _rolesMap.default.keys(); for (var i = 0; i < keys.length; i++) { @@ -42,25 +41,17 @@ var roleElementMap = { }, forEach: function forEach(fn) { var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var _iterator = _createForOfIteratorHelper(roleElement), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var _step$value = _slicedToArray(_step.value, 2), - _key = _step$value[0], - values = _step$value[1]; - fn.call(thisArg, values, _key, roleElement); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); + for (var _i = 0, _roleElement = roleElement; _i < _roleElement.length; _i++) { + var _roleElement$_i = _slicedToArray(_roleElement[_i], 2), + _key = _roleElement$_i[0], + values = _roleElement$_i[1]; + fn.call(thisArg, values, _key, roleElement); } }, get: function get(key) { - var item = roleElement.find(function (tuple) { + var item = roleElement.filter(function (tuple) { return tuple[0] === key ? true : false; - }); + })[0]; return item && item[1]; }, has: function has(key) { @@ -81,5 +72,4 @@ var roleElementMap = { }); } }; -var _default = (0, _iterationDecorator.default)(roleElementMap, roleElementMap.entries()); -exports.default = _default; \ No newline at end of file +var _default = exports.default = (0, _iterationDecorator.default)(roleElementMap, roleElementMap.entries()); \ No newline at end of file diff --git a/node_modules/aria-query/lib/rolesMap.js b/node_modules/aria-query/lib/rolesMap.js index 6d2c4c55c8..9e2850e3f0 100644 --- a/node_modules/aria-query/lib/rolesMap.js +++ b/node_modules/aria-query/lib/rolesMap.js @@ -9,15 +9,14 @@ var _ariaLiteralRoles = _interopRequireDefault(require("./etc/roles/ariaLiteralR var _ariaDpubRoles = _interopRequireDefault(require("./etc/roles/ariaDpubRoles")); var _ariaGraphicsRoles = _interopRequireDefault(require("./etc/roles/ariaGraphicsRoles")); var _iterationDecorator = _interopRequireDefault(require("./util/iterationDecorator")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } -function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; } +function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } +function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } +function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } var roles = [].concat(_ariaAbstractRoles.default, _ariaLiteralRoles.default, _ariaDpubRoles.default, _ariaGraphicsRoles.default); roles.forEach(function (_ref) { var _ref2 = _slicedToArray(_ref, 2), @@ -33,19 +32,20 @@ roles.forEach(function (_ref) { try { var _loop = function _loop() { var superClassName = _step2.value; - var superClassRoleTuple = roles.find(function (_ref3) { + var superClassRoleTuple = roles.filter(function (_ref3) { var _ref4 = _slicedToArray(_ref3, 1), name = _ref4[0]; return name === superClassName; - }); + })[0]; if (superClassRoleTuple) { var superClassDefinition = superClassRoleTuple[1]; - for (var _i2 = 0, _Object$keys = Object.keys(superClassDefinition.props); _i2 < _Object$keys.length; _i2++) { - var prop = _Object$keys[_i2]; + for (var _i = 0, _Object$keys = Object.keys(superClassDefinition.props); _i < _Object$keys.length; _i++) { + var prop = _Object$keys[_i]; if ( // $FlowIssue Accessing the hasOwnProperty on the Object prototype is fine. !Object.prototype.hasOwnProperty.call(roleDefinition.props, prop)) { - Object.assign(roleDefinition.props, _defineProperty({}, prop, superClassDefinition.props[prop])); + // $FlowIgnore assigning without an index signature is fine + roleDefinition.props[prop] = superClassDefinition.props[prop]; } } } @@ -87,9 +87,9 @@ var rolesMap = { } }, get: function get(key) { - var item = roles.find(function (tuple) { + var item = roles.filter(function (tuple) { return tuple[0] === key ? true : false; - }); + })[0]; return item && item[1]; }, has: function has(key) { @@ -110,5 +110,4 @@ var rolesMap = { }); } }; -var _default = (0, _iterationDecorator.default)(rolesMap, rolesMap.entries()); -exports.default = _default; \ No newline at end of file +var _default = exports.default = (0, _iterationDecorator.default)(rolesMap, rolesMap.entries()); \ No newline at end of file diff --git a/node_modules/aria-query/lib/util/iterationDecorator.js b/node_modules/aria-query/lib/util/iterationDecorator.js index 50b1102bb4..779fa59ef9 100644 --- a/node_modules/aria-query/lib/util/iterationDecorator.js +++ b/node_modules/aria-query/lib/util/iterationDecorator.js @@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = iterationDecorator; var _iteratorProxy = _interopRequireDefault(require("./iteratorProxy")); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } +function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } function iterationDecorator(collection, entries) { if (typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'symbol') { Object.defineProperty(collection, Symbol.iterator, { diff --git a/node_modules/aria-query/lib/util/iteratorProxy.js b/node_modules/aria-query/lib/util/iteratorProxy.js index ae97950cf5..9e3d637b28 100644 --- a/node_modules/aria-query/lib/util/iteratorProxy.js +++ b/node_modules/aria-query/lib/util/iteratorProxy.js @@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; - // eslint-disable-next-line no-unused-vars function iteratorProxy() { var values = this; @@ -30,5 +29,4 @@ function iteratorProxy() { }; return iter; } -var _default = iteratorProxy; -exports.default = _default; \ No newline at end of file +var _default = exports.default = iteratorProxy; \ No newline at end of file diff --git a/node_modules/aria-query/package.json b/node_modules/aria-query/package.json index 00f04b8a7e..d523cce802 100644 --- a/node_modules/aria-query/package.json +++ b/node_modules/aria-query/package.json @@ -1,21 +1,23 @@ { "name": "aria-query", - "version": "5.3.0", + "version": "5.3.2", "description": "Programmatic access to the ARIA specification", "main": "lib/index.js", "files": [ "lib" ], "scripts": { - "build": "rimraf lib && babel src --out-dir lib", - "flow": "flow", - "lint": "eslint --config .eslintrc src __tests__ scripts", - "lint:fix": "npm run lint -- --fix", + "prepack": "npm run build", + "prebuild": "rimraf lib", + "build": "babel src --out-dir lib", + "lint": "eslint --ext=js,mjs .", "prepublishOnly": "npm run build", - "pretest": "npm run lint:fix && npm run flow", - "test": "npm run jest", - "test:ci": "npm run jest -- --ci --runInBand", - "jest": "jest --coverage __tests__/**/*", + "pretest": "npm run lint && flow", + "build:tests": "npm run build && rimraf __tests-built__ && BABEL_ENV=test babel __tests__ --out-dir __tests-built__", + "tests-built": "nyc tape --strict -r array.from/auto '__tests-built__/**/*.js'", + "tests-only": "nyc tape --strict -r @babel/register '__tests__/**/*.js'", + "test": "npm run tests-only", + "posttest": "npm audit --production", "output_as_hack": "babel-node ./scripts/output_as_hack.js" }, "repository": { @@ -33,33 +35,28 @@ }, "homepage": "https://github.com/A11yance/aria-query#readme", "devDependencies": { - "@babel/cli": "^7.19.3", - "@babel/core": "^7.19.6", - "@babel/eslint-parser": "^7.19.1", - "@babel/node": "^7.22.5", - "@babel/preset-env": "^7.19.4", - "@babel/preset-flow": "^7.18.6", - "babel-jest": "^29.2.1", + "@babel/cli": "^7.25.6", + "@babel/core": "^7.25.2", + "@babel/eslint-parser": "^7.25.1", + "@babel/node": "^7.25.0", + "@babel/plugin-transform-react-jsx": "^7.25.2", + "@babel/preset-env": "^7.25.4", + "@babel/preset-flow": "^7.24.7", + "@babel/register": "^7.24.6", + "array.from": "^1.1.6", + "array.prototype.some": "^1.1.6", + "babel-plugin-module-resolver": "^5.0.2", "commander": "^9.4.1", - "eslint": "^8.26.0", - "eslint-config-airbnb-base": "^15.0.0", + "deep-equal-json": "^1.0.0", + "eslint": "^8.57.0", "eslint-plugin-flowtype": "^8.0.3", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jest": "^27.1.3", - "expect": "^29.2.1", "flow-bin": "^0.191.0", - "jest": "^29.2.1", - "minimist": "^1.2.7", - "rimraf": "^3.0.2" - }, - "jest": { - "coverageReporters": [ - "lcov" - ], - "coverageDirectory": "reports", - "roots": [ - "/__tests__" - ] + "mock-property": "^1.1.0", + "nyc": "^10.3.2", + "object-inspect": "^1.13.2", + "object.values": "^1.2.0", + "rimraf": "^2.7.1", + "tape": "^5.9.0" }, "browserslist": [ ">0.2%", @@ -67,7 +64,7 @@ "not op_mini all", "ie 11" ], - "dependencies": { - "dequal": "^2.0.3" + "engines": { + "node": ">= 0.4" } } diff --git a/node_modules/is-weakset/LICENSE b/node_modules/ast-types-flow/LICENSE similarity index 97% rename from node_modules/is-weakset/LICENSE rename to node_modules/ast-types-flow/LICENSE index c05eb206bd..ee26480011 100644 --- a/node_modules/is-weakset/LICENSE +++ b/node_modules/ast-types-flow/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Inspect JS +Copyright (c) 2018 Kyle Davis 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/ast-types-flow/lib/types.js b/node_modules/ast-types-flow/lib/types.js index 4f7e499e4d..83af5c2775 100644 --- a/node_modules/ast-types-flow/lib/types.js +++ b/node_modules/ast-types-flow/lib/types.js @@ -11,3059 +11,3059 @@ // Abstract types. Something must extend these. export type Comment = { - type: 'CommentLine'; - _CommentLine: void; - value: string; - end: number; + type: 'CommentLine', + _CommentLine?: void, + value: string, + end: number, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; + }, + start: number, } | { - type: 'CommentBlock'; - _CommentBlock: void; - value: string; - end: number; + type: 'CommentBlock', + _CommentBlock?: void, + value: string, + end: number, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; + }, + start: number, }; export type Declaration = { - type: 'ClassBody'; - _ClassBody: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; -} | { - type: 'ClassDeclaration'; - _ClassDeclaration: void; - body: ClassBody; - id: ?Identifier; - superClass: ?Expression; - decorators: any; - superTypeParameters: any; - typeParameters: any; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; -} | { - type: 'FunctionDeclaration'; - _FunctionDeclaration: void; - body: BlockStatement; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; -} | { - type: 'MethodDefinition'; - _MethodDefinition: void; - computed: boolean; - key: Node; - kind: 'constructor' | 'method' | 'get' | 'set'; - static: boolean; - value: FunctionExpression; - decorators: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; -} | { - type: 'VariableDeclaration'; - _VariableDeclaration: void; - declarations: Array; - kind: 'var' | 'let' | 'const'; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; -} | { - type: 'ClassProperty'; - _ClassProperty: void; - computed: boolean; - key: Node; - static: boolean; - typeAnnotation: ?TypeAnnotation; - value: ?Expression; - decorators: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + type: 'ClassBody', + _ClassBody?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, +} | { + type: 'ClassDeclaration', + _ClassDeclaration?: void, + body: ClassBody, + id: ?Identifier, + superClass: ?Expression, + decorators: any, + superTypeParameters: any, + typeParameters: any, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, +} | { + type: 'FunctionDeclaration', + _FunctionDeclaration?: void, + body: BlockStatement, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, +} | { + type: 'MethodDefinition', + _MethodDefinition?: void, + computed: boolean, + key: Node, + kind: 'constructor' | 'method' | 'get' | 'set', + static: boolean, + value: FunctionExpression, + decorators: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, +} | { + type: 'VariableDeclaration', + _VariableDeclaration?: void, + declarations: Array, + kind: 'var' | 'let' | 'const', + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, +} | { + type: 'ClassProperty', + _ClassProperty?: void, + computed: boolean, + key: Node, + static: boolean, + typeAnnotation: ?TypeAnnotation, + value: ?Expression, + decorators: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, }; export type Expression = { - type: 'ArrayExpression'; - _ArrayExpression: void; - elements: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayExpression', + _ArrayExpression?: void, + elements: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'AssignmentExpression'; - _AssignmentExpression: void; - left: Pattern; - operator: AssignmentOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AssignmentExpression', + _AssignmentExpression?: void, + left: Pattern, + operator: AssignmentOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'AwaitExpression'; - _AwaitExpression: void; - all: boolean; - argument: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AwaitExpression', + _AwaitExpression?: void, + all: boolean, + argument: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BinaryExpression'; - _BinaryExpression: void; - left: Expression; - operator: BinaryOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BinaryExpression', + _BinaryExpression?: void, + left: Expression, + operator: BinaryOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BindExpression'; - _BindExpression: void; - callee: Node; - object: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BindExpression', + _BindExpression?: void, + callee: Node, + object: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'CallExpression'; - _CallExpression: void; - arguments: Array; - callee: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'CallExpression', + _CallExpression?: void, + arguments: Array, + callee: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ClassExpression'; - _ClassExpression: void; - body: ClassBody; - id: ?Identifier; - superClass: ?Expression; - decorators: any; - superTypeParameters: any; - typeParameters: any; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassExpression', + _ClassExpression?: void, + body: ClassBody, + id: ?Identifier, + superClass: ?Expression, + decorators: any, + superTypeParameters: any, + typeParameters: any, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ComprehensionExpression'; - _ComprehensionExpression: void; - body: Expression; - blocks: Array; - filter: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ComprehensionExpression', + _ComprehensionExpression?: void, + body: Expression, + blocks: Array, + filter: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ConditionalExpression'; - _ConditionalExpression: void; - alternate: Expression; - consequent: Expression; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ConditionalExpression', + _ConditionalExpression?: void, + alternate: Expression, + consequent: Expression, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DoExpression'; - _DoExpression: void; - body: Statement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DoExpression', + _DoExpression?: void, + body: Statement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'FunctionExpression'; - _FunctionExpression: void; - body: BlockStatement; - id: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionExpression', + _FunctionExpression?: void, + body: BlockStatement, + id: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, } | { - type: 'Identifier'; - _Identifier: void; - name: string; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Identifier', + _Identifier?: void, + name: string, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Literal'; - _Literal: void; - raw: string; - regex: ?{pattern: string, flags: string}; - value: ?(string | boolean | number | RegExp); - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Literal', + _Literal?: void, + raw: string, + regex: ?{pattern: string, flags: string}, + value: ?(string | boolean | number | RegExp), + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'LogicalExpression'; - _LogicalExpression: void; - left: Expression; - operator: LogicalOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'LogicalExpression', + _LogicalExpression?: void, + left: Expression, + operator: LogicalOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'MemberExpression'; - _MemberExpression: void; - computed: boolean; - object: Expression; - property: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MemberExpression', + _MemberExpression?: void, + computed: boolean, + object: Expression, + property: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NewExpression'; - _NewExpression: void; - arguments: Array; - callee: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NewExpression', + _NewExpression?: void, + arguments: Array, + callee: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectExpression'; - _ObjectExpression: void; - properties: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectExpression', + _ObjectExpression?: void, + properties: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'SequenceExpression'; - _SequenceExpression: void; - expression: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SequenceExpression', + _SequenceExpression?: void, + expression: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TaggedTemplateExpression'; - _TaggedTemplateExpression: void; - quasi: TemplateLiteral; - tag: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TaggedTemplateExpression', + _TaggedTemplateExpression?: void, + quasi: TemplateLiteral, + tag: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TemplateLiteral'; - _TemplateLiteral: void; - expressions: Array; - quasis: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TemplateLiteral', + _TemplateLiteral?: void, + expressions: Array, + quasis: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ThisExpression'; - _ThisExpression: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ThisExpression', + _ThisExpression?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'UnaryExpression'; - _UnaryExpression: void; - argument: Expression; - operator: UnaryOperator; - prefix: true; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UnaryExpression', + _UnaryExpression?: void, + argument: Expression, + operator: UnaryOperator, + prefix: true, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'UpdateExpression'; - _UpdateExpression: void; - argument: Expression; - operator: UpdateOperator; - prefix: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UpdateExpression', + _UpdateExpression?: void, + argument: Expression, + operator: UpdateOperator, + prefix: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'YieldExpression'; - _YieldExpression: void; - argument: ?Expression; - delegate: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'YieldExpression', + _YieldExpression?: void, + argument: ?Expression, + delegate: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeCastExpression'; - _TypeCastExpression: void; - expression: Expression; - typeAnnotation: TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeCastExpression', + _TypeCastExpression?: void, + expression: Expression, + typeAnnotation: TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXElement'; - _JSXElement: void; - children: Array; - closingElement: ?JSXClosingElement; - openingElement: JSXOpeningElement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXElement', + _JSXElement?: void, + children: Array, + closingElement: ?JSXClosingElement, + openingElement: JSXOpeningElement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXEmptyExpression'; - _JSXEmptyExpression: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXEmptyExpression', + _JSXEmptyExpression?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXExpressionContainer'; - _JSXExpressionContainer: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXExpressionContainer', + _JSXExpressionContainer?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXMemberExpression'; - _JSXMemberExpression: void; - computed: boolean; - object: Node; - property: JSXIdentifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXMemberExpression', + _JSXMemberExpression?: void, + computed: boolean, + object: Node, + property: JSXIdentifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Function = { - type: 'ArrowFunctionExpression'; - _ArrowFunctionExpression: void; - body: Node; - id: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; -} | { - type: 'FunctionDeclaration'; - _FunctionDeclaration: void; - body: BlockStatement; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; -} | { - type: 'FunctionExpression'; - _FunctionExpression: void; - body: BlockStatement; - id: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; - loc: { - end: {column: number, line: number}, - start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + type: 'ArrowFunctionExpression', + _ArrowFunctionExpression?: void, + body: Node, + id: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, +} | { + type: 'FunctionDeclaration', + _FunctionDeclaration?: void, + body: BlockStatement, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, +} | { + type: 'FunctionExpression', + _FunctionExpression?: void, + body: BlockStatement, + id: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, + loc: { + end: {column: number, line: number}, + start: {column: number, line: number}, + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, }; export type Node = { - type: 'ArrayExpression'; - _ArrayExpression: void; - elements: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayExpression', + _ArrayExpression?: void, + elements: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ArrayPattern'; - _ArrayPattern: void; - elements: Array; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayPattern', + _ArrayPattern?: void, + elements: Array, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ArrowFunctionExpression'; - _ArrowFunctionExpression: void; - body: Node; - id: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrowFunctionExpression', + _ArrowFunctionExpression?: void, + body: Node, + id: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, } | { - type: 'AssignmentExpression'; - _AssignmentExpression: void; - left: Pattern; - operator: AssignmentOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AssignmentExpression', + _AssignmentExpression?: void, + left: Pattern, + operator: AssignmentOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'AssignmentPattern'; - _AssignmentPattern: void; - left: Pattern; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AssignmentPattern', + _AssignmentPattern?: void, + left: Pattern, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'AwaitExpression'; - _AwaitExpression: void; - all: boolean; - argument: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AwaitExpression', + _AwaitExpression?: void, + all: boolean, + argument: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BinaryExpression'; - _BinaryExpression: void; - left: Expression; - operator: BinaryOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BinaryExpression', + _BinaryExpression?: void, + left: Expression, + operator: BinaryOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BindExpression'; - _BindExpression: void; - callee: Node; - object: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BindExpression', + _BindExpression?: void, + callee: Node, + object: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BlockStatement'; - _BlockStatement: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BlockStatement', + _BlockStatement?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BreakStatement'; - _BreakStatement: void; - label: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BreakStatement', + _BreakStatement?: void, + label: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'CallExpression'; - _CallExpression: void; - arguments: Array; - callee: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'CallExpression', + _CallExpression?: void, + arguments: Array, + callee: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'CatchClause'; - _CatchClause: void; - body: BlockStatement; - param: Pattern; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'CatchClause', + _CatchClause?: void, + body: BlockStatement, + param: Pattern, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ClassBody'; - _ClassBody: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassBody', + _ClassBody?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ClassDeclaration'; - _ClassDeclaration: void; - body: ClassBody; - id: ?Identifier; - superClass: ?Expression; - decorators: any; - superTypeParameters: any; - typeParameters: any; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassDeclaration', + _ClassDeclaration?: void, + body: ClassBody, + id: ?Identifier, + superClass: ?Expression, + decorators: any, + superTypeParameters: any, + typeParameters: any, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ClassExpression'; - _ClassExpression: void; - body: ClassBody; - id: ?Identifier; - superClass: ?Expression; - decorators: any; - superTypeParameters: any; - typeParameters: any; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassExpression', + _ClassExpression?: void, + body: ClassBody, + id: ?Identifier, + superClass: ?Expression, + decorators: any, + superTypeParameters: any, + typeParameters: any, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ComprehensionBlock'; - _ComprehensionBlock: void; - each: boolean; - left: Pattern; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ComprehensionBlock', + _ComprehensionBlock?: void, + each: boolean, + left: Pattern, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ComprehensionExpression'; - _ComprehensionExpression: void; - body: Expression; - blocks: Array; - filter: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ComprehensionExpression', + _ComprehensionExpression?: void, + body: Expression, + blocks: Array, + filter: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ConditionalExpression'; - _ConditionalExpression: void; - alternate: Expression; - consequent: Expression; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ConditionalExpression', + _ConditionalExpression?: void, + alternate: Expression, + consequent: Expression, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ContinueStatement'; - _ContinueStatement: void; - label: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ContinueStatement', + _ContinueStatement?: void, + label: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Decorator'; - _Decorator: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Decorator', + _Decorator?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DebuggerStatement'; - _DebuggerStatement: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DebuggerStatement', + _DebuggerStatement?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DoWhileStatement'; - _DoWhileStatement: void; - body: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DoWhileStatement', + _DoWhileStatement?: void, + body: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DoExpression'; - _DoExpression: void; - body: Statement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DoExpression', + _DoExpression?: void, + body: Statement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'EmptyStatement'; - _EmptyStatement: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'EmptyStatement', + _EmptyStatement?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExpressionStatement'; - _ExpressionStatement: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExpressionStatement', + _ExpressionStatement?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'File'; - _File: void; - program: Program; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'File', + _File?: void, + program: Program, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ForInStatement'; - _ForInStatement: void; - body: Statement; - left: Node; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForInStatement', + _ForInStatement?: void, + body: Statement, + left: Node, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ForOfStatement'; - _ForOfStatement: void; - body: Statement; - left: Node; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForOfStatement', + _ForOfStatement?: void, + body: Statement, + left: Node, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ForStatement'; - _ForStatement: void; - init: ?Node; - test: ?Expression; - update: ?Expression; - body: Statement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForStatement', + _ForStatement?: void, + init: ?Node, + test: ?Expression, + update: ?Expression, + body: Statement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'FunctionDeclaration'; - _FunctionDeclaration: void; - body: BlockStatement; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionDeclaration', + _FunctionDeclaration?: void, + body: BlockStatement, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, } | { - type: 'FunctionExpression'; - _FunctionExpression: void; - body: BlockStatement; - id: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionExpression', + _FunctionExpression?: void, + body: BlockStatement, + id: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, } | { - type: 'Identifier'; - _Identifier: void; - name: string; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Identifier', + _Identifier?: void, + name: string, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'IfStatement'; - _IfStatement: void; - alternate: ?Statement; - consequent: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'IfStatement', + _IfStatement?: void, + alternate: ?Statement, + consequent: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ImportDefaultSpecifier'; - _ImportDefaultSpecifier: void; - local: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportDefaultSpecifier', + _ImportDefaultSpecifier?: void, + local: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ImportNamespaceSpecifier'; - _ImportNamespaceSpecifier: void; - local: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportNamespaceSpecifier', + _ImportNamespaceSpecifier?: void, + local: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ImportDeclaration'; - _ImportDeclaration: void; - specifiers: Array; - source: Literal; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportDeclaration', + _ImportDeclaration?: void, + specifiers: Array, + source: Literal, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ImportSpecifier'; - _ImportSpecifier: void; - imported: Node; - local: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportSpecifier', + _ImportSpecifier?: void, + imported: Node, + local: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'LabeledStatement'; - _LabeledStatement: void; - body: Statement; - label: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'LabeledStatement', + _LabeledStatement?: void, + body: Statement, + label: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Literal'; - _Literal: void; - raw: string; - regex: ?{pattern: string, flags: string}; - value: ?(string | boolean | number | RegExp); - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Literal', + _Literal?: void, + raw: string, + regex: ?{pattern: string, flags: string}, + value: ?(string | boolean | number | RegExp), + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'LogicalExpression'; - _LogicalExpression: void; - left: Expression; - operator: LogicalOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'LogicalExpression', + _LogicalExpression?: void, + left: Expression, + operator: LogicalOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'MemberExpression'; - _MemberExpression: void; - computed: boolean; - object: Expression; - property: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MemberExpression', + _MemberExpression?: void, + computed: boolean, + object: Expression, + property: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'MetaProperty'; - _MetaProperty: void; - meta: Node; - property: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MetaProperty', + _MetaProperty?: void, + meta: Node, + property: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'MethodDefinition'; - _MethodDefinition: void; - computed: boolean; - key: Node; - kind: 'constructor' | 'method' | 'get' | 'set'; - static: boolean; - value: FunctionExpression; - decorators: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MethodDefinition', + _MethodDefinition?: void, + computed: boolean, + key: Node, + kind: 'constructor' | 'method' | 'get' | 'set', + static: boolean, + value: FunctionExpression, + decorators: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NewExpression'; - _NewExpression: void; - arguments: Array; - callee: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NewExpression', + _NewExpression?: void, + arguments: Array, + callee: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Noop'; - _Noop: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Noop', + _Noop?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectExpression'; - _ObjectExpression: void; - properties: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectExpression', + _ObjectExpression?: void, + properties: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectPattern'; - _ObjectPattern: void; - properties: Array; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectPattern', + _ObjectPattern?: void, + properties: Array, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Program'; - _Program: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Program', + _Program?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Property'; - _Property: void; - computed: boolean; - key: Node; - kind: 'init' | 'get' | 'set'; - method: boolean; - shorthand: boolean; - value: Node; - decorators: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Property', + _Property?: void, + computed: boolean, + key: Node, + kind: 'init' | 'get' | 'set', + method: boolean, + shorthand: boolean, + value: Node, + decorators: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'RestElement'; - _RestElement: void; - argument: Pattern; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'RestElement', + _RestElement?: void, + argument: Pattern, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ReturnStatement'; - _ReturnStatement: void; - argument: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ReturnStatement', + _ReturnStatement?: void, + argument: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'SequenceExpression'; - _SequenceExpression: void; - expression: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SequenceExpression', + _SequenceExpression?: void, + expression: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'SpreadElement'; - _SpreadElement: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SpreadElement', + _SpreadElement?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'SpreadProperty'; - _SpreadProperty: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SpreadProperty', + _SpreadProperty?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Super'; - _Super: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Super', + _Super?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'SwitchCase'; - _SwitchCase: void; - consequent: Array; - test: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SwitchCase', + _SwitchCase?: void, + consequent: Array, + test: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'SwitchStatement'; - _SwitchStatement: void; - cases: Array; - discriminant: Expression; - lexical: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SwitchStatement', + _SwitchStatement?: void, + cases: Array, + discriminant: Expression, + lexical: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TaggedTemplateExpression'; - _TaggedTemplateExpression: void; - quasi: TemplateLiteral; - tag: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TaggedTemplateExpression', + _TaggedTemplateExpression?: void, + quasi: TemplateLiteral, + tag: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TemplateElement'; - _TemplateElement: void; - tail: boolean; - value: {cooked: string, raw: string}; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TemplateElement', + _TemplateElement?: void, + tail: boolean, + value: {cooked: string, raw: string}, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TemplateLiteral'; - _TemplateLiteral: void; - expressions: Array; - quasis: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TemplateLiteral', + _TemplateLiteral?: void, + expressions: Array, + quasis: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ThisExpression'; - _ThisExpression: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ThisExpression', + _ThisExpression?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ThrowStatement'; - _ThrowStatement: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ThrowStatement', + _ThrowStatement?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TryStatement'; - _TryStatement: void; - block: BlockStatement; - finalizer: ?BlockStatement; - guardedHandlers: Array; - handler: ?CatchClause; - handlers: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TryStatement', + _TryStatement?: void, + block: BlockStatement, + finalizer: ?BlockStatement, + guardedHandlers: Array, + handler: ?CatchClause, + handlers: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'UnaryExpression'; - _UnaryExpression: void; - argument: Expression; - operator: UnaryOperator; - prefix: true; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UnaryExpression', + _UnaryExpression?: void, + argument: Expression, + operator: UnaryOperator, + prefix: true, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'UpdateExpression'; - _UpdateExpression: void; - argument: Expression; - operator: UpdateOperator; - prefix: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UpdateExpression', + _UpdateExpression?: void, + argument: Expression, + operator: UpdateOperator, + prefix: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'VariableDeclaration'; - _VariableDeclaration: void; - declarations: Array; - kind: 'var' | 'let' | 'const'; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'VariableDeclaration', + _VariableDeclaration?: void, + declarations: Array, + kind: 'var' | 'let' | 'const', + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'VariableDeclarator'; - _VariableDeclarator: void; - id: Pattern; - init: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'VariableDeclarator', + _VariableDeclarator?: void, + id: Pattern, + init: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'WhileStatement'; - _WhileStatement: void; - body: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'WhileStatement', + _WhileStatement?: void, + body: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'WithStatement'; - _WithStatement: void; - body: Statement; - object: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'WithStatement', + _WithStatement?: void, + body: Statement, + object: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'YieldExpression'; - _YieldExpression: void; - argument: ?Expression; - delegate: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'YieldExpression', + _YieldExpression?: void, + argument: ?Expression, + delegate: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExportAllDeclaration'; - _ExportAllDeclaration: void; - exported: Node; - source: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportAllDeclaration', + _ExportAllDeclaration?: void, + exported: Node, + source: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExportDefaultDeclaration'; - _ExportDefaultDeclaration: void; - declaration: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportDefaultDeclaration', + _ExportDefaultDeclaration?: void, + declaration: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExportNamedDeclaration'; - _ExportNamedDeclaration: void; - declaration: Node; - source: Literal; - specifiers: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportNamedDeclaration', + _ExportNamedDeclaration?: void, + declaration: Node, + source: Literal, + specifiers: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExportDefaultSpecifier'; - _ExportDefaultSpecifier: void; - exported: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportDefaultSpecifier', + _ExportDefaultSpecifier?: void, + exported: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExportNamespaceSpecifier'; - _ExportNamespaceSpecifier: void; - exported: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportNamespaceSpecifier', + _ExportNamespaceSpecifier?: void, + exported: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExportSpecifier'; - _ExportSpecifier: void; - local: Node; - exported: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportSpecifier', + _ExportSpecifier?: void, + local: Node, + exported: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'AnyTypeAnnotation'; - _AnyTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AnyTypeAnnotation', + _AnyTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ArrayTypeAnnotation'; - _ArrayTypeAnnotation: void; - elementType: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayTypeAnnotation', + _ArrayTypeAnnotation?: void, + elementType: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BooleanLiteralTypeAnnotation'; - _BooleanLiteralTypeAnnotation: void; - raw: string; - value: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BooleanLiteralTypeAnnotation', + _BooleanLiteralTypeAnnotation?: void, + raw: string, + value: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BooleanTypeAnnotation'; - _BooleanTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BooleanTypeAnnotation', + _BooleanTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ClassImplements'; - _ClassImplements: void; - id: Identifier; - typeParameters: ?TypeParameterInstantiation; - superClass: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassImplements', + _ClassImplements?: void, + id: Identifier, + typeParameters: ?TypeParameterInstantiation, + superClass: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ClassProperty'; - _ClassProperty: void; - computed: boolean; - key: Node; - static: boolean; - typeAnnotation: ?TypeAnnotation; - value: ?Expression; - decorators: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassProperty', + _ClassProperty?: void, + computed: boolean, + key: Node, + static: boolean, + typeAnnotation: ?TypeAnnotation, + value: ?Expression, + decorators: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareClass'; - _DeclareClass: void; - body: ObjectTypeAnnotation; - extends: Array; - id: Identifier; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareClass', + _DeclareClass?: void, + body: ObjectTypeAnnotation, + extends: Array, + id: Identifier, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareFunction'; - _DeclareFunction: void; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareFunction', + _DeclareFunction?: void, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareModule'; - _DeclareModule: void; - body: BlockStatement; - id: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareModule', + _DeclareModule?: void, + body: BlockStatement, + id: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareVariable'; - _DeclareVariable: void; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareVariable', + _DeclareVariable?: void, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'FunctionTypeAnnotation'; - _FunctionTypeAnnotation: void; - params: Array; - rest: ?FunctionTypeParam; - returnType: Type; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionTypeAnnotation', + _FunctionTypeAnnotation?: void, + params: Array, + rest: ?FunctionTypeParam, + returnType: Type, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'FunctionTypeParam'; - _FunctionTypeParam: void; - name: Identifier; - optional: boolean; - typeAnnotation: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionTypeParam', + _FunctionTypeParam?: void, + name: Identifier, + optional: boolean, + typeAnnotation: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'GenericTypeAnnotation'; - _GenericTypeAnnotation: void; - id: Node; - typeParameters: ?TypeParameterInstantiation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'GenericTypeAnnotation', + _GenericTypeAnnotation?: void, + id: Node, + typeParameters: ?TypeParameterInstantiation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'InterfaceExtends'; - _InterfaceExtends: void; - id: Identifier; - typeParameters: ?TypeParameterInstantiation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'InterfaceExtends', + _InterfaceExtends?: void, + id: Identifier, + typeParameters: ?TypeParameterInstantiation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'InterfaceDeclaration'; - _InterfaceDeclaration: void; - body: ObjectTypeAnnotation; - extends: Array; - id: Identifier; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'InterfaceDeclaration', + _InterfaceDeclaration?: void, + body: ObjectTypeAnnotation, + extends: Array, + id: Identifier, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'IntersectionTypeAnnotation'; - _IntersectionTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'IntersectionTypeAnnotation', + _IntersectionTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'MixedTypeAnnotation'; - _MixedTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MixedTypeAnnotation', + _MixedTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NullableTypeAnnotation'; - _NullableTypeAnnotation: void; - typeAnnotation: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NullableTypeAnnotation', + _NullableTypeAnnotation?: void, + typeAnnotation: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NumberLiteralTypeAnnotation'; - _NumberLiteralTypeAnnotation: void; - raw: string; - value: number; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NumberLiteralTypeAnnotation', + _NumberLiteralTypeAnnotation?: void, + raw: string, + value: number, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NumberTypeAnnotation'; - _NumberTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NumberTypeAnnotation', + _NumberTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'StringLiteralTypeAnnotation'; - _StringLiteralTypeAnnotation: void; - raw: string; - value: string; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'StringLiteralTypeAnnotation', + _StringLiteralTypeAnnotation?: void, + raw: string, + value: string, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'StringTypeAnnotation'; - _StringTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'StringTypeAnnotation', + _StringTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TupleTypeAnnotation'; - _TupleTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TupleTypeAnnotation', + _TupleTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeofTypeAnnotation'; - _TypeofTypeAnnotation: void; - argument: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeofTypeAnnotation', + _TypeofTypeAnnotation?: void, + argument: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeAlias'; - _TypeAlias: void; - id: Identifier; - right: Type; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeAlias', + _TypeAlias?: void, + id: Identifier, + right: Type, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeAnnotation'; - _TypeAnnotation: void; - typeAnnotation: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeAnnotation', + _TypeAnnotation?: void, + typeAnnotation: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeCastExpression'; - _TypeCastExpression: void; - expression: Expression; - typeAnnotation: TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeCastExpression', + _TypeCastExpression?: void, + expression: Expression, + typeAnnotation: TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeParameterDeclaration'; - _TypeParameterDeclaration: void; - params: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeParameterDeclaration', + _TypeParameterDeclaration?: void, + params: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeParameterInstantiation'; - _TypeParameterInstantiation: void; - params: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeParameterInstantiation', + _TypeParameterInstantiation?: void, + params: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectTypeAnnotation'; - _ObjectTypeAnnotation: void; - callProperties: Array; - indexers: Array; - properties: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeAnnotation', + _ObjectTypeAnnotation?: void, + callProperties: Array, + indexers: Array, + properties: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectTypeCallProperty'; - _ObjectTypeCallProperty: void; - static: boolean; - value: FunctionTypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeCallProperty', + _ObjectTypeCallProperty?: void, + static: boolean, + value: FunctionTypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectTypeIndexer'; - _ObjectTypeIndexer: void; - id: Identifier; - key: Type; - value: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeIndexer', + _ObjectTypeIndexer?: void, + id: Identifier, + key: Type, + value: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectTypeProperty'; - _ObjectTypeProperty: void; - key: Node; - optional: boolean; - value: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeProperty', + _ObjectTypeProperty?: void, + key: Node, + optional: boolean, + value: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'QualifiedTypeIdentifier'; - _QualifiedTypeIdentifier: void; - id: Identifier; - qualification: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'QualifiedTypeIdentifier', + _QualifiedTypeIdentifier?: void, + id: Identifier, + qualification: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'UnionTypeAnnotation'; - _UnionTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UnionTypeAnnotation', + _UnionTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'VoidTypeAnnotation'; - _VoidTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'VoidTypeAnnotation', + _VoidTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXAttribute'; - _JSXAttribute: void; - name: Node; - value: ?Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXAttribute', + _JSXAttribute?: void, + name: Node, + value: ?Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXClosingElement'; - _JSXClosingElement: void; - name: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXClosingElement', + _JSXClosingElement?: void, + name: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXElement'; - _JSXElement: void; - children: Array; - closingElement: ?JSXClosingElement; - openingElement: JSXOpeningElement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXElement', + _JSXElement?: void, + children: Array, + closingElement: ?JSXClosingElement, + openingElement: JSXOpeningElement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXEmptyExpression'; - _JSXEmptyExpression: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXEmptyExpression', + _JSXEmptyExpression?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXExpressionContainer'; - _JSXExpressionContainer: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXExpressionContainer', + _JSXExpressionContainer?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXIdentifier'; - _JSXIdentifier: void; - name: string; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXIdentifier', + _JSXIdentifier?: void, + name: string, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXMemberExpression'; - _JSXMemberExpression: void; - computed: boolean; - object: Node; - property: JSXIdentifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXMemberExpression', + _JSXMemberExpression?: void, + computed: boolean, + object: Node, + property: JSXIdentifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXNamespacedName'; - _JSXNamespacedName: void; - name: JSXIdentifier; - namespace: JSXIdentifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXNamespacedName', + _JSXNamespacedName?: void, + name: JSXIdentifier, + namespace: JSXIdentifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXOpeningElement'; - _JSXOpeningElement: void; - attributes: Array; - name: Array; - selfClosing: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXOpeningElement', + _JSXOpeningElement?: void, + attributes: Array, + name: Array, + selfClosing: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'JSXSpreadAttribute'; - _JSXSpreadAttribute: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXSpreadAttribute', + _JSXSpreadAttribute?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Pattern = { - type: 'ArrayPattern'; - _ArrayPattern: void; - elements: Array; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayPattern', + _ArrayPattern?: void, + elements: Array, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'AssignmentPattern'; - _AssignmentPattern: void; - left: Pattern; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AssignmentPattern', + _AssignmentPattern?: void, + left: Pattern, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'Identifier'; - _Identifier: void; - name: string; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Identifier', + _Identifier?: void, + name: string, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectPattern'; - _ObjectPattern: void; - properties: Array; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectPattern', + _ObjectPattern?: void, + properties: Array, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'RestElement'; - _RestElement: void; - argument: Pattern; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'RestElement', + _RestElement?: void, + argument: Pattern, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Statement = { - type: 'BlockStatement'; - _BlockStatement: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BlockStatement', + _BlockStatement?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BreakStatement'; - _BreakStatement: void; - label: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BreakStatement', + _BreakStatement?: void, + label: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ContinueStatement'; - _ContinueStatement: void; - label: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ContinueStatement', + _ContinueStatement?: void, + label: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DoWhileStatement'; - _DoWhileStatement: void; - body: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DoWhileStatement', + _DoWhileStatement?: void, + body: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'EmptyStatement'; - _EmptyStatement: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'EmptyStatement', + _EmptyStatement?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ExpressionStatement'; - _ExpressionStatement: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExpressionStatement', + _ExpressionStatement?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ForInStatement'; - _ForInStatement: void; - body: Statement; - left: Node; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForInStatement', + _ForInStatement?: void, + body: Statement, + left: Node, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ForOfStatement'; - _ForOfStatement: void; - body: Statement; - left: Node; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForOfStatement', + _ForOfStatement?: void, + body: Statement, + left: Node, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ForStatement'; - _ForStatement: void; - init: ?Node; - test: ?Expression; - update: ?Expression; - body: Statement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForStatement', + _ForStatement?: void, + init: ?Node, + test: ?Expression, + update: ?Expression, + body: Statement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'IfStatement'; - _IfStatement: void; - alternate: ?Statement; - consequent: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'IfStatement', + _IfStatement?: void, + alternate: ?Statement, + consequent: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'LabeledStatement'; - _LabeledStatement: void; - body: Statement; - label: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'LabeledStatement', + _LabeledStatement?: void, + body: Statement, + label: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ReturnStatement'; - _ReturnStatement: void; - argument: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ReturnStatement', + _ReturnStatement?: void, + argument: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'SwitchStatement'; - _SwitchStatement: void; - cases: Array; - discriminant: Expression; - lexical: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SwitchStatement', + _SwitchStatement?: void, + cases: Array, + discriminant: Expression, + lexical: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ThrowStatement'; - _ThrowStatement: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ThrowStatement', + _ThrowStatement?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TryStatement'; - _TryStatement: void; - block: BlockStatement; - finalizer: ?BlockStatement; - guardedHandlers: Array; - handler: ?CatchClause; - handlers: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TryStatement', + _TryStatement?: void, + block: BlockStatement, + finalizer: ?BlockStatement, + guardedHandlers: Array, + handler: ?CatchClause, + handlers: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'WhileStatement'; - _WhileStatement: void; - body: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'WhileStatement', + _WhileStatement?: void, + body: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'WithStatement'; - _WithStatement: void; - body: Statement; - object: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'WithStatement', + _WithStatement?: void, + body: Statement, + object: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareClass'; - _DeclareClass: void; - body: ObjectTypeAnnotation; - extends: Array; - id: Identifier; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareClass', + _DeclareClass?: void, + body: ObjectTypeAnnotation, + extends: Array, + id: Identifier, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareFunction'; - _DeclareFunction: void; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareFunction', + _DeclareFunction?: void, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareModule'; - _DeclareModule: void; - body: BlockStatement; - id: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareModule', + _DeclareModule?: void, + body: BlockStatement, + id: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'DeclareVariable'; - _DeclareVariable: void; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareVariable', + _DeclareVariable?: void, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'InterfaceDeclaration'; - _InterfaceDeclaration: void; - body: ObjectTypeAnnotation; - extends: Array; - id: Identifier; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'InterfaceDeclaration', + _InterfaceDeclaration?: void, + body: ObjectTypeAnnotation, + extends: Array, + id: Identifier, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TypeAlias'; - _TypeAlias: void; - id: Identifier; - right: Type; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeAlias', + _TypeAlias?: void, + id: Identifier, + right: Type, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Type = { - type: 'AnyTypeAnnotation'; - _AnyTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AnyTypeAnnotation', + _AnyTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ArrayTypeAnnotation'; - _ArrayTypeAnnotation: void; - elementType: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayTypeAnnotation', + _ArrayTypeAnnotation?: void, + elementType: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BooleanLiteralTypeAnnotation'; - _BooleanLiteralTypeAnnotation: void; - raw: string; - value: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BooleanLiteralTypeAnnotation', + _BooleanLiteralTypeAnnotation?: void, + raw: string, + value: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'BooleanTypeAnnotation'; - _BooleanTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BooleanTypeAnnotation', + _BooleanTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'FunctionTypeAnnotation'; - _FunctionTypeAnnotation: void; - params: Array; - rest: ?FunctionTypeParam; - returnType: Type; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionTypeAnnotation', + _FunctionTypeAnnotation?: void, + params: Array, + rest: ?FunctionTypeParam, + returnType: Type, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'GenericTypeAnnotation'; - _GenericTypeAnnotation: void; - id: Node; - typeParameters: ?TypeParameterInstantiation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'GenericTypeAnnotation', + _GenericTypeAnnotation?: void, + id: Node, + typeParameters: ?TypeParameterInstantiation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'IntersectionTypeAnnotation'; - _IntersectionTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'IntersectionTypeAnnotation', + _IntersectionTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'MixedTypeAnnotation'; - _MixedTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MixedTypeAnnotation', + _MixedTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NullableTypeAnnotation'; - _NullableTypeAnnotation: void; - typeAnnotation: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NullableTypeAnnotation', + _NullableTypeAnnotation?: void, + typeAnnotation: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NumberLiteralTypeAnnotation'; - _NumberLiteralTypeAnnotation: void; - raw: string; - value: number; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NumberLiteralTypeAnnotation', + _NumberLiteralTypeAnnotation?: void, + raw: string, + value: number, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'NumberTypeAnnotation'; - _NumberTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NumberTypeAnnotation', + _NumberTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'StringLiteralTypeAnnotation'; - _StringLiteralTypeAnnotation: void; - raw: string; - value: string; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'StringLiteralTypeAnnotation', + _StringLiteralTypeAnnotation?: void, + raw: string, + value: string, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'StringTypeAnnotation'; - _StringTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'StringTypeAnnotation', + _StringTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'TupleTypeAnnotation'; - _TupleTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TupleTypeAnnotation', + _TupleTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'ObjectTypeAnnotation'; - _ObjectTypeAnnotation: void; - callProperties: Array; - indexers: Array; - properties: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeAnnotation', + _ObjectTypeAnnotation?: void, + callProperties: Array, + indexers: Array, + properties: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'UnionTypeAnnotation'; - _UnionTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UnionTypeAnnotation', + _UnionTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, } | { - type: 'VoidTypeAnnotation'; - _VoidTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'VoidTypeAnnotation', + _VoidTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // Concrete Types. Nothing can extend these. export type CommentLine = { - type: 'CommentLine'; - _CommentLine: void; - value: string; - end: number; + type: 'CommentLine', + _CommentLine?: void, + value: string, + end: number, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; + }, + start: number, }; export type CommentBlock = { - type: 'CommentBlock'; - _CommentBlock: void; - value: string; - end: number; + type: 'CommentBlock', + _CommentBlock?: void, + value: string, + end: number, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; + }, + start: number, }; // Babel concrete types. export type ArrayExpression = { - type: 'ArrayExpression'; - _ArrayExpression: void; - elements: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayExpression', + _ArrayExpression?: void, + elements: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ArrayPattern = { - type: 'ArrayPattern'; - _ArrayPattern: void; - elements: Array; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayPattern', + _ArrayPattern?: void, + elements: Array, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ArrowFunctionExpression = { - type: 'ArrowFunctionExpression'; - _ArrowFunctionExpression: void; - body: Node; - id: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrowFunctionExpression', + _ArrowFunctionExpression?: void, + body: Node, + id: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, }; type AssignmentOperator = @@ -3081,52 +3081,52 @@ type AssignmentOperator = '&='; export type AssignmentExpression = { - type: 'AssignmentExpression'; - _AssignmentExpression: void; - left: Pattern; - operator: AssignmentOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AssignmentExpression', + _AssignmentExpression?: void, + left: Pattern, + operator: AssignmentOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type AssignmentPattern = { - type: 'AssignmentPattern'; - _AssignmentPattern: void; - left: Pattern; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AssignmentPattern', + _AssignmentPattern?: void, + left: Pattern, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type AwaitExpression = { - type: 'AwaitExpression'; - _AwaitExpression: void; - all: boolean; - argument: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AwaitExpression', + _AwaitExpression?: void, + all: boolean, + argument: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; type BinaryOperator = @@ -3154,1892 +3154,1892 @@ type BinaryOperator = '..'; export type BinaryExpression = { - type: 'BinaryExpression'; - _BinaryExpression: void; - left: Expression; - operator: BinaryOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BinaryExpression', + _BinaryExpression?: void, + left: Expression, + operator: BinaryOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: What is this? export type BindExpression = { - type: 'BindExpression'; - _BindExpression: void; - callee: Node; - object: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BindExpression', + _BindExpression?: void, + callee: Node, + object: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type BlockStatement = { - type: 'BlockStatement'; - _BlockStatement: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BlockStatement', + _BlockStatement?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type BreakStatement = { - type: 'BreakStatement'; - _BreakStatement: void; - label: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BreakStatement', + _BreakStatement?: void, + label: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type CallExpression = { - type: 'CallExpression'; - _CallExpression: void; - arguments: Array; - callee: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'CallExpression', + _CallExpression?: void, + arguments: Array, + callee: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type CatchClause = { - type: 'CatchClause'; - _CatchClause: void; - body: BlockStatement; - param: Pattern; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'CatchClause', + _CatchClause?: void, + body: BlockStatement, + param: Pattern, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ClassBody = { - type: 'ClassBody'; - _ClassBody: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassBody', + _ClassBody?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ClassDeclaration = { - type: 'ClassDeclaration'; - _ClassDeclaration: void; - body: ClassBody; - id: ?Identifier; - superClass: ?Expression; - decorators: any; - superTypeParameters: any; - typeParameters: any; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassDeclaration', + _ClassDeclaration?: void, + body: ClassBody, + id: ?Identifier, + superClass: ?Expression, + decorators: any, + superTypeParameters: any, + typeParameters: any, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ClassExpression = { - type: 'ClassExpression'; - _ClassExpression: void; - body: ClassBody; - id: ?Identifier; - superClass: ?Expression; - decorators: any; - superTypeParameters: any; - typeParameters: any; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassExpression', + _ClassExpression?: void, + body: ClassBody, + id: ?Identifier, + superClass: ?Expression, + decorators: any, + superTypeParameters: any, + typeParameters: any, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ComprehensionBlock = { - type: 'ComprehensionBlock'; - _ComprehensionBlock: void; - each: boolean; - left: Pattern; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ComprehensionBlock', + _ComprehensionBlock?: void, + each: boolean, + left: Pattern, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ComprehensionExpression = { - type: 'ComprehensionExpression'; - _ComprehensionExpression: void; - body: Expression; - blocks: Array; - filter: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ComprehensionExpression', + _ComprehensionExpression?: void, + body: Expression, + blocks: Array, + filter: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ConditionalExpression = { - type: 'ConditionalExpression'; - _ConditionalExpression: void; - alternate: Expression; - consequent: Expression; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ConditionalExpression', + _ConditionalExpression?: void, + alternate: Expression, + consequent: Expression, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ContinueStatement = { - type: 'ContinueStatement'; - _ContinueStatement: void; - label: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ContinueStatement', + _ContinueStatement?: void, + label: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type Decorator = { - type: 'Decorator'; - _Decorator: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Decorator', + _Decorator?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type DebuggerStatement = { - type: 'DebuggerStatement'; - _DebuggerStatement: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DebuggerStatement', + _DebuggerStatement?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type DoWhileStatement = { - type: 'DoWhileStatement'; - _DoWhileStatement: void; - body: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DoWhileStatement', + _DoWhileStatement?: void, + body: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type DoExpression = { - type: 'DoExpression'; - _DoExpression: void; - body: Statement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DoExpression', + _DoExpression?: void, + body: Statement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type EmptyStatement = { - type: 'EmptyStatement'; - _EmptyStatement: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'EmptyStatement', + _EmptyStatement?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ExpressionStatement = { - type: 'ExpressionStatement'; - _ExpressionStatement: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExpressionStatement', + _ExpressionStatement?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type File = { - type: 'File'; - _File: void; - program: Program; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'File', + _File?: void, + program: Program, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ForInStatement = { - type: 'ForInStatement'; - _ForInStatement: void; - body: Statement; - left: Node; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForInStatement', + _ForInStatement?: void, + body: Statement, + left: Node, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ForOfStatement = { - type: 'ForOfStatement'; - _ForOfStatement: void; - body: Statement; - left: Node; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForOfStatement', + _ForOfStatement?: void, + body: Statement, + left: Node, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ForStatement = { - type: 'ForStatement'; - _ForStatement: void; - init: ?Node; - test: ?Expression; - update: ?Expression; - body: Statement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ForStatement', + _ForStatement?: void, + init: ?Node, + test: ?Expression, + update: ?Expression, + body: Statement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type FunctionDeclaration = { - type: 'FunctionDeclaration'; - _FunctionDeclaration: void; - body: BlockStatement; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionDeclaration', + _FunctionDeclaration?: void, + body: BlockStatement, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, }; export type FunctionExpression = { - type: 'FunctionExpression'; - _FunctionExpression: void; - body: BlockStatement; - id: ?Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionExpression', + _FunctionExpression?: void, + body: BlockStatement, + id: ?Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; - async: boolean; - defaults: Array; - expression: boolean; - generator: boolean; - params: Array; - rest: ?Identifier; - returnType: ?TypeAnnotation; - typeParameters: ?TypeParameterDeclaration; + }, + start: number, + trailingComments: ?Array, + async: boolean, + defaults: Array, + expression: boolean, + generator: boolean, + params: Array, + rest: ?Identifier, + returnType: ?TypeAnnotation, + typeParameters: ?TypeParameterDeclaration, }; export type Identifier = { - type: 'Identifier'; - _Identifier: void; - name: string; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Identifier', + _Identifier?: void, + name: string, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type IfStatement = { - type: 'IfStatement'; - _IfStatement: void; - alternate: ?Statement; - consequent: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'IfStatement', + _IfStatement?: void, + alternate: ?Statement, + consequent: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ImportDefaultSpecifier = { - type: 'ImportDefaultSpecifier'; - _ImportDefaultSpecifier: void; - local: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportDefaultSpecifier', + _ImportDefaultSpecifier?: void, + local: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ImportNamespaceSpecifier = { - type: 'ImportNamespaceSpecifier'; - _ImportNamespaceSpecifier: void; - local: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportNamespaceSpecifier', + _ImportNamespaceSpecifier?: void, + local: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ImportDeclaration = { - type: 'ImportDeclaration'; - _ImportDeclaration: void; - specifiers: Array; - source: Literal; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportDeclaration', + _ImportDeclaration?: void, + specifiers: Array, + source: Literal, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ImportSpecifier = { - type: 'ImportSpecifier'; - _ImportSpecifier: void; - imported: Node; - local: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ImportSpecifier', + _ImportSpecifier?: void, + imported: Node, + local: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type LabeledStatement = { - type: 'LabeledStatement'; - _LabeledStatement: void; - body: Statement; - label: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'LabeledStatement', + _LabeledStatement?: void, + body: Statement, + label: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Literal = { - type: 'Literal'; - _Literal: void; - raw: string; - regex: ?{pattern: string, flags: string}; - value: ?(string | boolean | number | RegExp); - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Literal', + _Literal?: void, + raw: string, + regex: ?{pattern: string, flags: string}, + value: ?(string | boolean | number | RegExp), + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; type LogicalOperator = '||' | '&&'; export type LogicalExpression = { - type: 'LogicalExpression'; - _LogicalExpression: void; - left: Expression; - operator: LogicalOperator; - right: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'LogicalExpression', + _LogicalExpression?: void, + left: Expression, + operator: LogicalOperator, + right: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type MemberExpression = { - type: 'MemberExpression'; - _MemberExpression: void; - computed: boolean; - object: Expression; - property: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MemberExpression', + _MemberExpression?: void, + computed: boolean, + object: Expression, + property: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type MetaProperty = { - type: 'MetaProperty'; - _MetaProperty: void; - meta: Node; - property: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MetaProperty', + _MetaProperty?: void, + meta: Node, + property: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type MethodDefinition = { - type: 'MethodDefinition'; - _MethodDefinition: void; - computed: boolean; - key: Node; - kind: 'constructor' | 'method' | 'get' | 'set'; - static: boolean; - value: FunctionExpression; - decorators: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MethodDefinition', + _MethodDefinition?: void, + computed: boolean, + key: Node, + kind: 'constructor' | 'method' | 'get' | 'set', + static: boolean, + value: FunctionExpression, + decorators: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type NewExpression = { - type: 'NewExpression'; - _NewExpression: void; - arguments: Array; - callee: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NewExpression', + _NewExpression?: void, + arguments: Array, + callee: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Noop = { - type: 'Noop'; - _Noop: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Noop', + _Noop?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ObjectExpression = { - type: 'ObjectExpression'; - _ObjectExpression: void; - properties: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectExpression', + _ObjectExpression?: void, + properties: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ObjectPattern = { - type: 'ObjectPattern'; - _ObjectPattern: void; - properties: Array; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectPattern', + _ObjectPattern?: void, + properties: Array, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Program = { - type: 'Program'; - _Program: void; - body: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Program', + _Program?: void, + body: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Property = { - type: 'Property'; - _Property: void; - computed: boolean; - key: Node; - kind: 'init' | 'get' | 'set'; - method: boolean; - shorthand: boolean; - value: Node; - decorators: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Property', + _Property?: void, + computed: boolean, + key: Node, + kind: 'init' | 'get' | 'set', + method: boolean, + shorthand: boolean, + value: Node, + decorators: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type RestElement = { - type: 'RestElement'; - _RestElement: void; - argument: Pattern; - typeAnnotation: ?TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'RestElement', + _RestElement?: void, + argument: Pattern, + typeAnnotation: ?TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ReturnStatement = { - type: 'ReturnStatement'; - _ReturnStatement: void; - argument: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ReturnStatement', + _ReturnStatement?: void, + argument: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type SequenceExpression = { - type: 'SequenceExpression'; - _SequenceExpression: void; - expression: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SequenceExpression', + _SequenceExpression?: void, + expression: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type SpreadElement = { - type: 'SpreadElement'; - _SpreadElement: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SpreadElement', + _SpreadElement?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type SpreadProperty = { - type: 'SpreadProperty'; - _SpreadProperty: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SpreadProperty', + _SpreadProperty?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type Super = { - type: 'Super'; - _Super: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'Super', + _Super?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type SwitchCase = { - type: 'SwitchCase'; - _SwitchCase: void; - consequent: Array; - test: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SwitchCase', + _SwitchCase?: void, + consequent: Array, + test: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type SwitchStatement = { - type: 'SwitchStatement'; - _SwitchStatement: void; - cases: Array; - discriminant: Expression; - lexical: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'SwitchStatement', + _SwitchStatement?: void, + cases: Array, + discriminant: Expression, + lexical: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TaggedTemplateExpression = { - type: 'TaggedTemplateExpression'; - _TaggedTemplateExpression: void; - quasi: TemplateLiteral; - tag: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TaggedTemplateExpression', + _TaggedTemplateExpression?: void, + quasi: TemplateLiteral, + tag: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TemplateElement = { - type: 'TemplateElement'; - _TemplateElement: void; - tail: boolean; - value: {cooked: string, raw: string}; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TemplateElement', + _TemplateElement?: void, + tail: boolean, + value: {cooked: string, raw: string}, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TemplateLiteral = { - type: 'TemplateLiteral'; - _TemplateLiteral: void; - expressions: Array; - quasis: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TemplateLiteral', + _TemplateLiteral?: void, + expressions: Array, + quasis: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ThisExpression = { - type: 'ThisExpression'; - _ThisExpression: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ThisExpression', + _ThisExpression?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ThrowStatement = { - type: 'ThrowStatement'; - _ThrowStatement: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ThrowStatement', + _ThrowStatement?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TryStatement = { - type: 'TryStatement'; - _TryStatement: void; - block: BlockStatement; - finalizer: ?BlockStatement; - guardedHandlers: Array; - handler: ?CatchClause; - handlers: ?Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TryStatement', + _TryStatement?: void, + block: BlockStatement, + finalizer: ?BlockStatement, + guardedHandlers: Array, + handler: ?CatchClause, + handlers: ?Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; type UnaryOperator = '-' | '+' | '!' | '~' | 'typeof' | 'void' | 'delete'; export type UnaryExpression = { - type: 'UnaryExpression'; - _UnaryExpression: void; - argument: Expression; - operator: UnaryOperator; - prefix: true; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UnaryExpression', + _UnaryExpression?: void, + argument: Expression, + operator: UnaryOperator, + prefix: true, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; type UpdateOperator = '++' | '--'; export type UpdateExpression = { - type: 'UpdateExpression'; - _UpdateExpression: void; - argument: Expression; - operator: UpdateOperator; - prefix: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UpdateExpression', + _UpdateExpression?: void, + argument: Expression, + operator: UpdateOperator, + prefix: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type VariableDeclaration = { - type: 'VariableDeclaration'; - _VariableDeclaration: void; - declarations: Array; - kind: 'var' | 'let' | 'const'; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'VariableDeclaration', + _VariableDeclaration?: void, + declarations: Array, + kind: 'var' | 'let' | 'const', + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type VariableDeclarator = { - type: 'VariableDeclarator'; - _VariableDeclarator: void; - id: Pattern; - init: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'VariableDeclarator', + _VariableDeclarator?: void, + id: Pattern, + init: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type WhileStatement = { - type: 'WhileStatement'; - _WhileStatement: void; - body: Statement; - test: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'WhileStatement', + _WhileStatement?: void, + body: Statement, + test: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type WithStatement = { - type: 'WithStatement'; - _WithStatement: void; - body: Statement; - object: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'WithStatement', + _WithStatement?: void, + body: Statement, + object: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type YieldExpression = { - type: 'YieldExpression'; - _YieldExpression: void; - argument: ?Expression; - delegate: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'YieldExpression', + _YieldExpression?: void, + argument: ?Expression, + delegate: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ExportAllDeclaration = { - type: 'ExportAllDeclaration'; - _ExportAllDeclaration: void; - exported: Node; - source: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportAllDeclaration', + _ExportAllDeclaration?: void, + exported: Node, + source: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ExportDefaultDeclaration = { - type: 'ExportDefaultDeclaration'; - _ExportDefaultDeclaration: void; - declaration: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportDefaultDeclaration', + _ExportDefaultDeclaration?: void, + declaration: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ExportNamedDeclaration = { - type: 'ExportNamedDeclaration'; - _ExportNamedDeclaration: void; - declaration: Node; - source: Literal; - specifiers: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportNamedDeclaration', + _ExportNamedDeclaration?: void, + declaration: Node, + source: Literal, + specifiers: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ExportDefaultSpecifier = { - type: 'ExportDefaultSpecifier'; - _ExportDefaultSpecifier: void; - exported: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportDefaultSpecifier', + _ExportDefaultSpecifier?: void, + exported: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ExportNamespaceSpecifier = { - type: 'ExportNamespaceSpecifier'; - _ExportNamespaceSpecifier: void; - exported: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportNamespaceSpecifier', + _ExportNamespaceSpecifier?: void, + exported: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type ExportSpecifier = { - type: 'ExportSpecifier'; - _ExportSpecifier: void; - local: Node; - exported: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ExportSpecifier', + _ExportSpecifier?: void, + local: Node, + exported: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type AnyTypeAnnotation = { - type: 'AnyTypeAnnotation'; - _AnyTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'AnyTypeAnnotation', + _AnyTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ArrayTypeAnnotation = { - type: 'ArrayTypeAnnotation'; - _ArrayTypeAnnotation: void; - elementType: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ArrayTypeAnnotation', + _ArrayTypeAnnotation?: void, + elementType: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type BooleanLiteralTypeAnnotation = { - type: 'BooleanLiteralTypeAnnotation'; - _BooleanLiteralTypeAnnotation: void; - raw: string; - value: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BooleanLiteralTypeAnnotation', + _BooleanLiteralTypeAnnotation?: void, + raw: string, + value: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type BooleanTypeAnnotation = { - type: 'BooleanTypeAnnotation'; - _BooleanTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'BooleanTypeAnnotation', + _BooleanTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ClassImplements = { - type: 'ClassImplements'; - _ClassImplements: void; - id: Identifier; - typeParameters: ?TypeParameterInstantiation; - superClass: ?Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassImplements', + _ClassImplements?: void, + id: Identifier, + typeParameters: ?TypeParameterInstantiation, + superClass: ?Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ClassProperty = { - type: 'ClassProperty'; - _ClassProperty: void; - computed: boolean; - key: Node; - static: boolean; - typeAnnotation: ?TypeAnnotation; - value: ?Expression; - decorators: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ClassProperty', + _ClassProperty?: void, + computed: boolean, + key: Node, + static: boolean, + typeAnnotation: ?TypeAnnotation, + value: ?Expression, + decorators: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type DeclareClass = { - type: 'DeclareClass'; - _DeclareClass: void; - body: ObjectTypeAnnotation; - extends: Array; - id: Identifier; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareClass', + _DeclareClass?: void, + body: ObjectTypeAnnotation, + extends: Array, + id: Identifier, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type DeclareFunction = { - type: 'DeclareFunction'; - _DeclareFunction: void; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareFunction', + _DeclareFunction?: void, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type DeclareModule = { - type: 'DeclareModule'; - _DeclareModule: void; - body: BlockStatement; - id: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareModule', + _DeclareModule?: void, + body: BlockStatement, + id: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; // TODO: Make this correct. export type DeclareVariable = { - type: 'DeclareVariable'; - _DeclareVariable: void; - id: Identifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'DeclareVariable', + _DeclareVariable?: void, + id: Identifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type FunctionTypeAnnotation = { - type: 'FunctionTypeAnnotation'; - _FunctionTypeAnnotation: void; - params: Array; - rest: ?FunctionTypeParam; - returnType: Type; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionTypeAnnotation', + _FunctionTypeAnnotation?: void, + params: Array, + rest: ?FunctionTypeParam, + returnType: Type, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type FunctionTypeParam = { - type: 'FunctionTypeParam'; - _FunctionTypeParam: void; - name: Identifier; - optional: boolean; - typeAnnotation: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'FunctionTypeParam', + _FunctionTypeParam?: void, + name: Identifier, + optional: boolean, + typeAnnotation: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type GenericTypeAnnotation = { - type: 'GenericTypeAnnotation'; - _GenericTypeAnnotation: void; - id: Node; - typeParameters: ?TypeParameterInstantiation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'GenericTypeAnnotation', + _GenericTypeAnnotation?: void, + id: Node, + typeParameters: ?TypeParameterInstantiation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type InterfaceExtends = { - type: 'InterfaceExtends'; - _InterfaceExtends: void; - id: Identifier; - typeParameters: ?TypeParameterInstantiation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'InterfaceExtends', + _InterfaceExtends?: void, + id: Identifier, + typeParameters: ?TypeParameterInstantiation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type InterfaceDeclaration = { - type: 'InterfaceDeclaration'; - _InterfaceDeclaration: void; - body: ObjectTypeAnnotation; - extends: Array; - id: Identifier; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'InterfaceDeclaration', + _InterfaceDeclaration?: void, + body: ObjectTypeAnnotation, + extends: Array, + id: Identifier, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type IntersectionTypeAnnotation = { - type: 'IntersectionTypeAnnotation'; - _IntersectionTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'IntersectionTypeAnnotation', + _IntersectionTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type MixedTypeAnnotation = { - type: 'MixedTypeAnnotation'; - _MixedTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'MixedTypeAnnotation', + _MixedTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type NullableTypeAnnotation = { - type: 'NullableTypeAnnotation'; - _NullableTypeAnnotation: void; - typeAnnotation: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NullableTypeAnnotation', + _NullableTypeAnnotation?: void, + typeAnnotation: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type NumberLiteralTypeAnnotation = { - type: 'NumberLiteralTypeAnnotation'; - _NumberLiteralTypeAnnotation: void; - raw: string; - value: number; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NumberLiteralTypeAnnotation', + _NumberLiteralTypeAnnotation?: void, + raw: string, + value: number, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type NumberTypeAnnotation = { - type: 'NumberTypeAnnotation'; - _NumberTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'NumberTypeAnnotation', + _NumberTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type StringLiteralTypeAnnotation = { - type: 'StringLiteralTypeAnnotation'; - _StringLiteralTypeAnnotation: void; - raw: string; - value: string; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'StringLiteralTypeAnnotation', + _StringLiteralTypeAnnotation?: void, + raw: string, + value: string, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type StringTypeAnnotation = { - type: 'StringTypeAnnotation'; - _StringTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'StringTypeAnnotation', + _StringTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TupleTypeAnnotation = { - type: 'TupleTypeAnnotation'; - _TupleTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TupleTypeAnnotation', + _TupleTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TypeofTypeAnnotation = { - type: 'TypeofTypeAnnotation'; - _TypeofTypeAnnotation: void; - argument: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeofTypeAnnotation', + _TypeofTypeAnnotation?: void, + argument: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TypeAlias = { - type: 'TypeAlias'; - _TypeAlias: void; - id: Identifier; - right: Type; - typeParameters: ?TypeParameterDeclaration; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeAlias', + _TypeAlias?: void, + id: Identifier, + right: Type, + typeParameters: ?TypeParameterDeclaration, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TypeAnnotation = { - type: 'TypeAnnotation'; - _TypeAnnotation: void; - typeAnnotation: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeAnnotation', + _TypeAnnotation?: void, + typeAnnotation: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TypeCastExpression = { - type: 'TypeCastExpression'; - _TypeCastExpression: void; - expression: Expression; - typeAnnotation: TypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeCastExpression', + _TypeCastExpression?: void, + expression: Expression, + typeAnnotation: TypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TypeParameterDeclaration = { - type: 'TypeParameterDeclaration'; - _TypeParameterDeclaration: void; - params: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeParameterDeclaration', + _TypeParameterDeclaration?: void, + params: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type TypeParameterInstantiation = { - type: 'TypeParameterInstantiation'; - _TypeParameterInstantiation: void; - params: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'TypeParameterInstantiation', + _TypeParameterInstantiation?: void, + params: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ObjectTypeAnnotation = { - type: 'ObjectTypeAnnotation'; - _ObjectTypeAnnotation: void; - callProperties: Array; - indexers: Array; - properties: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeAnnotation', + _ObjectTypeAnnotation?: void, + callProperties: Array, + indexers: Array, + properties: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ObjectTypeCallProperty = { - type: 'ObjectTypeCallProperty'; - _ObjectTypeCallProperty: void; - static: boolean; - value: FunctionTypeAnnotation; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeCallProperty', + _ObjectTypeCallProperty?: void, + static: boolean, + value: FunctionTypeAnnotation, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ObjectTypeIndexer = { - type: 'ObjectTypeIndexer'; - _ObjectTypeIndexer: void; - id: Identifier; - key: Type; - value: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeIndexer', + _ObjectTypeIndexer?: void, + id: Identifier, + key: Type, + value: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type ObjectTypeProperty = { - type: 'ObjectTypeProperty'; - _ObjectTypeProperty: void; - key: Node; - optional: boolean; - value: Type; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'ObjectTypeProperty', + _ObjectTypeProperty?: void, + key: Node, + optional: boolean, + value: Type, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type QualifiedTypeIdentifier = { - type: 'QualifiedTypeIdentifier'; - _QualifiedTypeIdentifier: void; - id: Identifier; - qualification: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'QualifiedTypeIdentifier', + _QualifiedTypeIdentifier?: void, + id: Identifier, + qualification: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type UnionTypeAnnotation = { - type: 'UnionTypeAnnotation'; - _UnionTypeAnnotation: void; - types: Array; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'UnionTypeAnnotation', + _UnionTypeAnnotation?: void, + types: Array, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type VoidTypeAnnotation = { - type: 'VoidTypeAnnotation'; - _VoidTypeAnnotation: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'VoidTypeAnnotation', + _VoidTypeAnnotation?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXAttribute = { - type: 'JSXAttribute'; - _JSXAttribute: void; - name: Node; - value: ?Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXAttribute', + _JSXAttribute?: void, + name: Node, + value: ?Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXClosingElement = { - type: 'JSXClosingElement'; - _JSXClosingElement: void; - name: Node; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXClosingElement', + _JSXClosingElement?: void, + name: Node, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXElement = { - type: 'JSXElement'; - _JSXElement: void; - children: Array; - closingElement: ?JSXClosingElement; - openingElement: JSXOpeningElement; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXElement', + _JSXElement?: void, + children: Array, + closingElement: ?JSXClosingElement, + openingElement: JSXOpeningElement, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXEmptyExpression = { - type: 'JSXEmptyExpression'; - _JSXEmptyExpression: void; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXEmptyExpression', + _JSXEmptyExpression?: void, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXExpressionContainer = { - type: 'JSXExpressionContainer'; - _JSXExpressionContainer: void; - expression: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXExpressionContainer', + _JSXExpressionContainer?: void, + expression: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXIdentifier = { - type: 'JSXIdentifier'; - _JSXIdentifier: void; - name: string; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXIdentifier', + _JSXIdentifier?: void, + name: string, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXMemberExpression = { - type: 'JSXMemberExpression'; - _JSXMemberExpression: void; - computed: boolean; - object: Node; - property: JSXIdentifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXMemberExpression', + _JSXMemberExpression?: void, + computed: boolean, + object: Node, + property: JSXIdentifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXNamespacedName = { - type: 'JSXNamespacedName'; - _JSXNamespacedName: void; - name: JSXIdentifier; - namespace: JSXIdentifier; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXNamespacedName', + _JSXNamespacedName?: void, + name: JSXIdentifier, + namespace: JSXIdentifier, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXOpeningElement = { - type: 'JSXOpeningElement'; - _JSXOpeningElement: void; - attributes: Array; - name: Array; - selfClosing: boolean; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXOpeningElement', + _JSXOpeningElement?: void, + attributes: Array, + name: Array, + selfClosing: boolean, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; export type JSXSpreadAttribute = { - type: 'JSXSpreadAttribute'; - _JSXSpreadAttribute: void; - argument: Expression; - end: number; - innerComments: ?Array; - leadingComments: ?Array; + type: 'JSXSpreadAttribute', + _JSXSpreadAttribute?: void, + argument: Expression, + end: number, + innerComments: ?Array, + leadingComments: ?Array, loc: { end: {column: number, line: number}, start: {column: number, line: number}, - }; - start: number; - trailingComments: ?Array; + }, + start: number, + trailingComments: ?Array, }; diff --git a/node_modules/ast-types-flow/package.json b/node_modules/ast-types-flow/package.json index 4179ffb9c1..4afce391ef 100644 --- a/node_modules/ast-types-flow/package.json +++ b/node_modules/ast-types-flow/package.json @@ -1,6 +1,6 @@ { "name": "ast-types-flow", - "version": "0.0.7", + "version": "0.0.8", "description": "Flow types for the Javascript AST", "main": "lib/types.js", "files": [ @@ -20,7 +20,7 @@ "javascript" ], "author": "kyldvs", - "license": "ISC", + "license": "MIT", "bugs": { "url": "https://github.com/kyldvs/ast-types-flow/issues" }, diff --git a/node_modules/axe-core/LICENSE-3RD-PARTY.txt b/node_modules/axe-core/LICENSE-3RD-PARTY.txt new file mode 100644 index 0000000000..368c293bef --- /dev/null +++ b/node_modules/axe-core/LICENSE-3RD-PARTY.txt @@ -0,0 +1,66 @@ +----------------------------------------------------------------------------- + MIT License + Applies to: + - colorjs.io; Copyright (c) 2021 Lea Verou, Chris Lilley + - core-js-pure; Copyright (c) 2014-2023 Denis Pushkarev + - css-selector-parser; Copyright (c) 2013 Dulin Marat + - doT.js; Copyright (c) 2011 Laura Doktorova + Software includes portions from jQote2 Copyright (c) 2010 aefxx, + http://aefxx.com/ licensed under the MIT license. + - emoji-regex; Copyright (c) Mathias Bynens + - es6-iterator; Copyright (c) 2013-2017 Mariusz Nowak (www.medikoo.com) + - es6-promise; + Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors + - event-emitter; Copyright (C) 2012-2015 Mariusz Nowak (www.medikoo.com) + - is-promise; Copyright (c) 2014 Forbes Lindesay + - lru-queue; Copyright (C) 2014 Mariusz Nowak (www.medikoo.com) + - typedarray; + Copyright (c) 2010, Linden Research, Inc. + Copyright (c) 2012, Joshua Bell + - weakmap-polyfill; Copyright (c) 2015-2021 polygonplanet +----------------------------------------------------------------------------- + +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. + + +----------------------------------------------------------------------------- + ISC License + Applies to: + - d; Copyright (c) 2013-2019, Mariusz Nowak, @medikoo, medikoo.com + - es5-ext; Copyright (c) 2011-2022, Mariusz Nowak, @medikoo, medikoo.com + - es6-symbol; Copyright (c) 2013-2019, Mariusz Nowak, @medikoo, medikoo.com + - es6-weak-map; Copyright (c) 2013-2018, Mariusz Nowak, @medikoo, medikoo.com + - ext; Copyright (c) 2011-2022, Mariusz Nowak, @medikoo, medikoo.com + - memoizee; Copyright (c) 2012-2018, Mariusz Nowak, @medikoo, medikoo.com + - next-tick; Copyright (c) 2012-2020, Mariusz Nowak, @medikoo, medikoo.com + - timers-ext; Copyright (c) 2013-2018, Mariusz Nowak, @medikoo, medikoo.com + - type; Copyright (c) 2019, Mariusz Nowak, @medikoo, medikoo.com +----------------------------------------------------------------------------- + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/axe-core/README.md b/node_modules/axe-core/README.md index 5c9a5ecef6..635a1d93ee 100644 --- a/node_modules/axe-core/README.md +++ b/node_modules/axe-core/README.md @@ -1,10 +1,10 @@ # axe-core -[![License](https://img.shields.io/npm/l/axe-core.svg)](LICENSE) +[![License](https://img.shields.io/npm/l/axe-core.svg?color=c41)](LICENSE) [![Version](https://img.shields.io/npm/v/axe-core.svg)](https://www.npmjs.com/package/axe-core) -[![Total npm downloads](https://img.shields.io/npm/dt/axe-core.svg)](https://www.npmjs.com/package/axe-core) +[![NPM downloads](https://img.shields.io/npm/dw/axe-core.svg?color=080)![](https://img.shields.io/npm/dy/axe-core.svg?color=080&label=)](https://npm-stat.com/charts.html?package=axe-core&from=2017-01-01) [![Commits](https://img.shields.io/github/commit-activity/y/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/commits/develop) -[![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/graphs/contributors) +[![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg?color=080)](https://github.com/dequelabs/axe-core/graphs/contributors) [![Join our Slack chat](https://img.shields.io/badge/slack-chat-purple.svg?logo=slack)](https://accessibility.deque.com/axe-community) [![Package Quality](https://npm.packagequality.com/shield/axe-core.svg)](https://packagequality.com/#?package=axe-core) @@ -14,14 +14,12 @@ Axe is an accessibility testing engine for websites and other HTML-based user in ## The Accessibility Rules -Axe-core has different types of rules, for WCAG 2.0 and 2.1 on level A and AA, as well as a number of best practices that help you identify common accessibility practices like ensuring every page has an `h1` heading, and to help you avoid "gotchas" in ARIA like where an ARIA attribute you used will get ignored. +Axe-core has different types of rules, for WCAG 2.0, 2.1, 2.2 on level A, AA and AAA as well as a number of best practices that help you identify common accessibility practices like ensuring every page has an `h1` heading, and to help you avoid "gotchas" in ARIA like where an ARIA attribute you used will get ignored. The complete list of rules, grouped WCAG level and best practice, can found in [doc/rule-descriptions.md](./doc/rule-descriptions.md). With axe-core, you can find **on average 57% of WCAG issues automatically**. Additionally, axe-core will return elements as "incomplete" where axe-core could not be certain, and manual review is needed. To catch bugs earlier in the development cycle we recommend using the [axe-linter vscode extension](https://marketplace.visualstudio.com/items?itemName=deque-systems.vscode-axe-linter). To improve test coverage even further we recommend the [intelligent guided tests](https://www.youtube.com/watch?v=AtsX0dPCG_4&feature=youtu.be&ab_channel=DequeSystems) in the [axe Extension](https://www.deque.com/axe/browser-extensions/). -The complete list of rules, grouped WCAG level and best practice, can found in [doc/rule-descriptions.md](./doc/rule-descriptions.md). - ## Getting started First download the package: @@ -95,7 +93,7 @@ The [axe-core API](doc/API.md) package consists of: ## Localization -Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must have be named in the following manner: `.json`. To build axe using this locale, instead of the default, run axe with the `--lang` flag, like so: +Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must be named in the following manner: `.json`. To build axe using this locale, instead of the default, run axe with the `--lang` flag, like so: `grunt build --lang=nl` @@ -103,11 +101,11 @@ or equivalently: `npm run build -- --lang=nl` -This will create a new build for axe, called `axe..js` and `axe..min.js`. If you want to build localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of languages to the `--lang` flag, like `--lang=nl,ja`. +This will create a new build for axe, called `axe..js` and `axe..min.js`. If you want to build all localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of languages to the `--lang` flag, like `--lang=nl,ja`. -To create a new translation for axe, start by running `grunt translate --lang=`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. Alternatively, you could copy `./locales/_template.json`. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/docs/check-message-template.md). +To create a new translation for axe, start by running `grunt translate --lang=`. This will create a json file in the `./locales` directory, with the default English text in it for you to translate. Alternatively, you could copy `./locales/_template.json`. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/doc/check-message-template.md). -To update existing translation file, re-run `grunt translate --lang=`. This will add new messages used in English and remove messages which were not used in English. +To update an existing translation file, re-run `grunt translate --lang=`. This will add new messages used in English and remove messages which were not used in English. Additionally, locale can be applied at runtime by passing a `locale` object to `axe.configure()`. The locale object must be of the same shape as existing locales in the `./locales` directory. For example: @@ -151,6 +149,10 @@ Axe-core supports the following locales. Do note that since locales are contribu - Polish - Portuguese (Brazilian) - Spanish +- Greek +- Italian +- Simplified Chinese +- Traditional Chinese ## Updates & Security @@ -159,6 +161,10 @@ Axe-core has a new minor release every 3 to 5 months, which usually introduces n - See [release and support](doc/release-and-support.md) for details on the frequency of releases, long-term support and recommendations on upgrading axe-core. - See [backward compatibility](doc/backwards-compatibility-doc.md) for details on the types of changes different releases may introduce. +## Deque Trademarks Policy + +DEQUE, DEQUELABS, AXE®, and AXE-CORE® are trademarks of Deque Systems, Inc. Use of the Deque trademarks must be in accordance with [Deque's trademark policy](https://www.deque.com/legal/trademarks/). + ## Supported ARIA Roles and Attributes. Refer [axe-core ARIA support](./doc/aria-supported.md) for a complete list of ARIA supported roles and attributes by axe. @@ -177,6 +183,8 @@ Read the [documentation on contributing](CONTRIBUTING.md) ## Acknowledgements -Thanks to Dulin Marat for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support. +Thanks to Marat Dulin for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support. Another thank you to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code. Thanks to Lea Verou and Chris Lilley for their [colorjs.io](https://colorjs.io/) library which we have used for converting between color formats. + +## Licenses -Thanks to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code. +Axe-core is distributed under the [Mozilla Public License, version 2.0](LICENSE). It comes bundled with several dependencies which are distributed under their own terms. (See [LICENSE-3RD-PARTY.txt](LICENSE-3RD-PARTY.txt)) diff --git a/node_modules/axe-core/axe.d.ts b/node_modules/axe-core/axe.d.ts index e9a447e4ae..47bca29ff0 100644 --- a/node_modules/axe-core/axe.d.ts +++ b/node_modules/axe-core/axe.d.ts @@ -1,13 +1,12 @@ // Type definitions for axe-core // Project: https://github.com/dequelabs/axe-core -// Definitions by: Marcy Sutton declare namespace axe { type ImpactValue = 'minor' | 'moderate' | 'serious' | 'critical' | null; type TagValue = string; - type ReporterVersion = 'v1' | 'v2' | 'raw' | 'raw-env' | 'no-passes'; + type ReporterVersion = 'v1' | 'v2' | 'raw' | 'rawEnv' | 'no-passes'; type RunOnlyType = 'rule' | 'rules' | 'tag' | 'tags'; @@ -71,16 +70,19 @@ declare namespace axe { | LabelledShadowDomSelector | LabelledFramesSelector; type SelectorList = Array | NodeList; + type ContextProp = Selector | SelectorList; type ContextObject = | { - include: Selector | SelectorList; - exclude?: Selector | SelectorList; + include: ContextProp; + exclude?: ContextProp; } | { - exclude: Selector | SelectorList; - include?: Selector | SelectorList; + exclude: ContextProp; + include?: ContextProp; }; - type ElementContext = Selector | SelectorList | ContextObject; + type ContextSpec = ContextProp | ContextObject; + /** Synonym to ContextSpec */ + type ElementContext = ContextSpec; type SerialSelector = | BaseSelector @@ -132,7 +134,7 @@ declare namespace axe { interface RunOptions { runOnly?: RunOnly | TagValue[] | string[] | string; rules?: RuleObject; - reporter?: ReporterVersion; + reporter?: ReporterVersion | string; resultTypes?: resultGroups[]; selectors?: boolean; ancestry?: boolean; @@ -141,10 +143,14 @@ declare namespace axe { iframes?: boolean; elementRef?: boolean; frameWaitTime?: number; - preload?: boolean; + preload?: boolean | PreloadOptions; performanceTimer?: boolean; pingWaitTime?: number; } + interface PreloadOptions { + assets: string[]; + timeout?: number; + } interface AxeResults extends EnvironmentData { toolOptions: RunOptions; passes: Result[]; @@ -164,9 +170,9 @@ declare namespace axe { interface NodeResult { html: string; impact?: ImpactValue; - target: string[]; + target: UnlabelledFrameSelector; xpath?: string[]; - ancestry?: string[]; + ancestry?: UnlabelledFrameSelector; any: CheckResult[]; all: CheckResult[]; none: CheckResult[]; @@ -181,8 +187,11 @@ declare namespace axe { relatedNodes?: RelatedNode[]; } interface RelatedNode { - target: string[]; html: string; + target: UnlabelledFrameSelector; + xpath?: string[]; + ancestry?: UnlabelledFrameSelector; + element?: HTMLElement; } interface RuleLocale { [key: string]: { @@ -190,12 +199,13 @@ declare namespace axe { help: string; }; } + interface CheckMessages { + pass: string | { [key: string]: string }; + fail: string | { [key: string]: string }; + incomplete?: string | { [key: string]: string }; + } interface CheckLocale { - [key: string]: { - pass: string | { [key: string]: string }; - fail: string | { [key: string]: string }; - incomplete: string | { [key: string]: string }; - }; + [key: string]: CheckMessages; } interface Locale { lang?: string; @@ -237,7 +247,7 @@ declare namespace axe { } interface Spec { branding?: string | Branding; - reporter?: ReporterVersion; + reporter?: ReporterVersion | string | AxeReporter; checks?: Check[]; rules?: Rule[]; standards?: Standards; @@ -256,13 +266,38 @@ declare namespace axe { brand?: string; application?: string; } + interface CheckHelper { + async: () => (result: boolean | undefined | Error) => void; + data: (data: unknown) => void; + relatedNodes: (nodes: Element[]) => void; + } + interface AfterResult { + id: string; + data?: unknown; + relatedNodes: SerialDqElement[]; + result: boolean | undefined; + node: SerialDqElement; + } interface Check { id: string; - evaluate?: Function | string; - after?: Function | string; + evaluate?: + | string + | (( + this: CheckHelper, + node: Element, + options: unknown, + virtualNode: VirtualNode + ) => boolean | undefined | void); + after?: + | string + | ((results: AfterResult[], options: unknown) => AfterResult[]); options?: any; matches?: string; enabled?: boolean; + metadata?: { + impact?: ImpactValue; + messages?: CheckMessages; + }; } interface Rule { id: string; @@ -275,8 +310,10 @@ declare namespace axe { all?: string[]; none?: string[]; tags?: string[]; - matches?: string; + matches?: string | ((node: Element, virtualNode: VirtualNode) => boolean); reviewOnFail?: boolean; + actIds?: string[]; + metadata?: Omit; } interface AxePlugin { id: string; @@ -302,6 +339,14 @@ declare namespace axe { xpath: string[]; ancestry: UnlabelledFrameSelector; } + interface DqElement extends SerialDqElement { + element: Element; + toJSON(): SerialDqElement; + mergeSpecs( + childSpec: SerialDqElement, + parentSpec: SerialDqElement + ): SerialDqElement; + } interface PartialRuleResult { id: string; result: 'inapplicable'; @@ -319,6 +364,47 @@ declare namespace axe { frameSelector: CrossTreeSelector; frameContext: FrameContextObject; } + + interface RawCheckResult extends Omit { + relatedNodes?: Array; + } + + interface RawNodeResult { + node: SerialDqElement | DqElement; + any: RawCheckResult[]; + all: RawCheckResult[]; + none: RawCheckResult[]; + impact: ImpactValue | null; + result: T; + } + + interface RawResult extends Omit { + inapplicable: Array; + passes: RawNodeResult<'passed'>[]; + incomplete: RawNodeResult<'incomplete'>[]; + violations: RawNodeResult<'failed'>[]; + pageLevel: boolean; + result: 'failed' | 'passed' | 'incomplete' | 'inapplicable'; + } + + type AxeReporter = ( + rawResults: RawResult[], + option: RunOptions, + resolve: (report: T) => void, + reject: (error: Error) => void + ) => void; + + interface VirtualNode { + actualNode?: Node; + shadowId?: string; + children?: VirtualNode[]; + parent?: VirtualNode; + attr(attr: string): string | null; + hasAttr(attr: string): boolean; + props: { [key: string]: unknown }; + boundingClientRect: DOMRect; + } + interface Utils { getFrameContexts: ( context?: ElementContext, @@ -326,7 +412,55 @@ declare namespace axe { ) => FrameContext[]; shadowSelect: (selector: CrossTreeSelector) => Element | null; shadowSelectAll: (selector: CrossTreeSelector) => Element[]; + getStandards(): Required; + isContextSpec: (context: unknown) => context is ContextSpec; + isContextObject: (context: unknown) => context is ContextObject; + isContextProp: (context: unknown) => context is ContextProp; + isLabelledFramesSelector: ( + selector: unknown + ) => selector is LabelledFramesSelector; + isLabelledShadowDomSelector: ( + selector: unknown + ) => selector is LabelledShadowDomSelector; + + DqElement: new ( + elm: Element, + options?: { absolutePaths?: boolean } + ) => DqElement; + uuid: ( + options?: { random?: Uint8Array | Array }, + buf?: Uint8Array | Array, + offset?: number + ) => string | Uint8Array | Array; + } + + interface Aria { + getRoleType: (role: string | Element | VirtualNode | null) => string | null; + } + + interface Dom { + isFocusable: (node: Element | VirtualNode) => boolean; + isNativelyFocusable: (node: Element | VirtualNode) => boolean; + } + + type AccessibleTextOptions = { + inControlContext?: boolean; + inLabelledByContext?: boolean; + }; + + interface Text { + accessibleText: ( + element: Element, + options?: AccessibleTextOptions + ) => string; + } + + interface Commons { + aria: Aria; + dom: Dom; + text: Text; } + interface EnvironmentData { testEngine: TestEngine; testRunner: TestRunner; @@ -338,6 +472,7 @@ declare namespace axe { let version: string; let plugins: any; let utils: Utils; + let commons: Commons; /** * Source string to use as an injected script in Selenium @@ -436,6 +571,35 @@ declare namespace axe { */ function frameMessenger(frameMessenger: FrameMessenger): void; + /** + * Setup axe-core so axe.common functions can work properly. + */ + function setup(node?: Element | Document): VirtualNode; + + /** + * Clean up axe-core tree and caches. `axe.run` will call this function at the end of the run so there's no need to call it yourself afterwards. + */ + function teardown(): void; + + /** + * Check if a reporter is registered + */ + function hasReporter(reporterName: string): boolean; + + /** + * Get a reporter based the name it is registered with + */ + function getReporter(reporterName: string): AxeReporter; + + /** + * Register a new reporter, optionally setting it as the default + */ + function addReporter( + reporterName: string, + reporter: AxeReporter, + isDefault?: boolean + ): void; + // axe.frameMessenger type FrameMessenger = { open: (topicHandler: TopicHandler) => Close | void; diff --git a/node_modules/axe-core/axe.js b/node_modules/axe-core/axe.js index 7a962abd4e..c9f6910e58 100644 --- a/node_modules/axe-core/axe.js +++ b/node_modules/axe-core/axe.js @@ -1,5 +1,5 @@ -/*! axe v4.6.2 - * Copyright (c) 2023 Deque Systems, Inc. +/*! axe v4.10.2 + * Copyright (c) 2015 - 2024 Deque Systems, Inc. * * Your use of this Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -13,16 +13,16 @@ var global = window; var document = window.document; 'use strict'; - function _typeof(obj) { + function _typeof(o) { '@babel/helpers - typeof'; - return _typeof = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function(obj) { - return typeof obj; - } : function(obj) { - return obj && 'function' == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj; - }, _typeof(obj); + return _typeof = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function(o) { + return typeof o; + } : function(o) { + return o && 'function' == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? 'symbol' : typeof o; + }, _typeof(o); } var axe = axe || {}; - axe.version = '4.6.2'; + axe.version = '4.10.2'; if (typeof define === 'function' && define.amd) { define('axe-core', [], function() { return axe; @@ -49,335 +49,317 @@ SupportError.prototype = Object.create(Error.prototype); SupportError.prototype.constructor = SupportError; 'use strict'; - var _excluded = [ 'node' ], _excluded2 = [ 'variant' ], _excluded3 = [ 'matches' ], _excluded4 = [ 'chromium' ], _excluded5 = [ 'noImplicit' ], _excluded6 = [ 'noPresentational' ], _excluded7 = [ 'node' ], _excluded8 = [ 'nodes' ], _excluded9 = [ 'node' ], _excluded10 = [ 'relatedNodes' ], _excluded11 = [ 'environmentData' ], _excluded12 = [ 'environmentData' ], _excluded13 = [ 'node' ], _excluded14 = [ 'environmentData' ], _excluded15 = [ 'environmentData' ], _excluded16 = [ 'environmentData' ]; - function _toArray(arr) { - return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); + var _excluded = [ 'node' ], _excluded2 = [ 'relatedNodes' ], _excluded3 = [ 'node' ], _excluded4 = [ 'variant' ], _excluded5 = [ 'matches' ], _excluded6 = [ 'chromium' ], _excluded7 = [ 'noImplicit' ], _excluded8 = [ 'noPresentational' ], _excluded9 = [ 'precision', 'format', 'inGamut' ], _excluded10 = [ 'space' ], _excluded11 = [ 'algorithm' ], _excluded12 = [ 'method' ], _excluded13 = [ 'maxDeltaE', 'deltaEMethod', 'steps', 'maxSteps' ], _excluded14 = [ 'node' ], _excluded15 = [ 'environmentData' ], _excluded16 = [ 'environmentData' ], _excluded17 = [ 'environmentData' ], _excluded18 = [ 'environmentData' ], _excluded19 = [ 'environmentData' ]; + function _toArray(r) { + return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest(); } - function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } - function _inherits(subClass, superClass) { - if (typeof superClass !== 'function' && superClass !== null) { - throw new TypeError('Super expression must either be null or a function'); - } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - Object.defineProperty(subClass, 'prototype', { - writable: false - }); - if (superClass) { - _setPrototypeOf(subClass, superClass); - } + function _defineProperty(e, r, t) { + return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { + value: t, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[r] = t, e; } - function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - return _setPrototypeOf(o, p); + function _construct(t, e, r) { + if (_isNativeReflectConstruct()) { + return Reflect.construct.apply(null, arguments); + } + var o = [ null ]; + o.push.apply(o, e); + var p = new (t.bind.apply(t, o))(); + return r && _setPrototypeOf(p, r.prototype), p; } - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return _possibleConstructorReturn(this, result); - }; + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } - function _possibleConstructorReturn(self, call) { - if (call && (_typeof(call) === 'object' || typeof call === 'function')) { - return call; - } else if (call !== void 0) { + function _possibleConstructorReturn(t, e) { + if (e && ('object' == _typeof(e) || 'function' == typeof e)) { + return e; + } + if (void 0 !== e) { throw new TypeError('Derived constructors may only return object or undefined'); } - return _assertThisInitialized(self); + return _assertThisInitialized(t); } - function _assertThisInitialized(self) { - if (self === void 0) { + function _assertThisInitialized(e) { + if (void 0 === e) { throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called'); } - return self; + return e; } function _isNativeReflectConstruct() { - if (typeof Reflect === 'undefined' || !Reflect.construct) { - return false; - } - if (Reflect.construct.sham) { - return false; - } - if (typeof Proxy === 'function') { - return true; - } try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); - return true; - } catch (e) { - return false; + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); + } catch (t) {} + return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { + return !!t; + })(); + } + function _getPrototypeOf(t) { + return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) { + return t.__proto__ || Object.getPrototypeOf(t); + }, _getPrototypeOf(t); + } + function _inherits(t, e) { + if ('function' != typeof e && null !== e) { + throw new TypeError('Super expression must either be null or a function'); + } + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), Object.defineProperty(t, 'prototype', { + writable: !1 + }), e && _setPrototypeOf(t, e); + } + function _setPrototypeOf(t, e) { + return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) { + return t.__proto__ = e, t; + }, _setPrototypeOf(t, e); + } + function _classPrivateFieldInitSpec(e, t, a) { + _checkPrivateRedeclaration(e, t), t.set(e, a); + } + function _classPrivateMethodInitSpec(e, a) { + _checkPrivateRedeclaration(e, a), a.add(e); + } + function _checkPrivateRedeclaration(e, t) { + if (t.has(e)) { + throw new TypeError('Cannot initialize the same private elements twice on an object'); } } - function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); + function _classPrivateFieldGet(s, a) { + return s.get(_assertClassBrand(s, a)); + } + function _classPrivateFieldSet(s, a, r) { + return s.set(_assertClassBrand(s, a), r), r; + } + function _assertClassBrand(e, t, n) { + if ('function' == typeof e ? e === t : e.has(t)) { + return arguments.length < 3 ? t : n; + } + throw new TypeError('Private element is not present on this object'); } - function _objectWithoutProperties(source, excluded) { - if (source == null) { + function _objectWithoutProperties(e, t) { + if (null == e) { return {}; } - var target = _objectWithoutPropertiesLoose(source, excluded); - var key, i; + var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) { - continue; - } - if (!Object.prototype.propertyIsEnumerable.call(source, key)) { - continue; - } - target[key] = source[key]; + var s = Object.getOwnPropertySymbols(e); + for (r = 0; r < s.length; r++) { + o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } - return target; + return i; } - function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) { + function _objectWithoutPropertiesLoose(r, e) { + if (null == r) { return {}; } - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) { - continue; + var t = {}; + for (var n in r) { + if ({}.hasOwnProperty.call(r, n)) { + if (e.includes(n)) { + continue; + } + t[n] = r[n]; } - target[key] = source[key]; } - return target; + return t; } - function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); + function _toConsumableArray(r) { + return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'); } - function _iterableToArray(iter) { - if (typeof Symbol !== 'undefined' && iter[Symbol.iterator] != null || iter['@@iterator'] != null) { - return Array.from(iter); + function _iterableToArray(r) { + if ('undefined' != typeof Symbol && null != r[Symbol.iterator] || null != r['@@iterator']) { + return Array.from(r); } } - function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) { - return _arrayLikeToArray(arr); + function _arrayWithoutHoles(r) { + if (Array.isArray(r)) { + return _arrayLikeToArray(r); } } function _extends() { - _extends = Object.assign ? Object.assign.bind() : function(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } + return _extends = Object.assign ? Object.assign.bind() : function(n) { + for (var e = 1; e < arguments.length; e++) { + var t = arguments[e]; + for (var r in t) { + ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } - return target; - }; - return _extends.apply(this, arguments); + return n; + }, _extends.apply(null, arguments); } - function _slicedToArray(arr, i) { - return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'); } - function _iterableToArrayLimit(arr, i) { - var _i = arr == null ? null : typeof Symbol !== 'undefined' && arr[Symbol.iterator] || arr['@@iterator']; - if (_i == null) { - return; - } - var _arr = []; - var _n = true; - var _d = false; - var _s, _e; - try { - for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - if (i && _arr.length === i) { - break; - } - } - } catch (err) { - _d = true; - _e = err; - } finally { + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : 'undefined' != typeof Symbol && r[Symbol.iterator] || r['@@iterator']; + if (null != t) { + var e, n, i, u, a = [], f = !0, o = !1; try { - if (!_n && _i['return'] != null) { - _i['return'](); + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) { + return; + } + f = !1; + } else { + for (;!(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) {} } + } catch (r) { + o = !0, n = r; } finally { - if (_d) { - throw _e; + try { + if (!f && null != t['return'] && (u = t['return'](), Object(u) !== u)) { + return; + } + } finally { + if (o) { + throw n; + } } } + return a; } - return _arr; } - function _arrayWithHoles(arr) { - if (Array.isArray(arr)) { - return arr; + function _arrayWithHoles(r) { + if (Array.isArray(r)) { + return r; } } - function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { + function _classCallCheck(a, n) { + if (!(a instanceof n)) { throw new TypeError('Cannot call a class as a function'); } } - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ('value' in descriptor) { - descriptor.writable = true; - } - Object.defineProperty(target, descriptor.key, descriptor); + function _defineProperties(e, r) { + for (var t = 0; t < r.length; t++) { + var o = r[t]; + o.enumerable = o.enumerable || !1, o.configurable = !0, 'value' in o && (o.writable = !0), + Object.defineProperty(e, _toPropertyKey(o.key), o); } } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) { - _defineProperties(Constructor.prototype, protoProps); + function _createClass(e, r, t) { + return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), + Object.defineProperty(e, 'prototype', { + writable: !1 + }), e; + } + function _toPropertyKey(t) { + var i = _toPrimitive(t, 'string'); + return 'symbol' == _typeof(i) ? i : i + ''; + } + function _toPrimitive(t, r) { + if ('object' != _typeof(t) || !t) { + return t; } - if (staticProps) { - _defineProperties(Constructor, staticProps); + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r || 'default'); + if ('object' != _typeof(i)) { + return i; + } + throw new TypeError('@@toPrimitive must return a primitive value.'); } - Object.defineProperty(Constructor, 'prototype', { - writable: false - }); - return Constructor; + return ('string' === r ? String : Number)(t); } - function _createForOfIteratorHelper(o, allowArrayLike) { - var it = typeof Symbol !== 'undefined' && o[Symbol.iterator] || o['@@iterator']; - if (!it) { - if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === 'number') { - if (it) { - o = it; - } - var i = 0; - var F = function F() {}; + function _createForOfIteratorHelper(r, e) { + var t = 'undefined' != typeof Symbol && r[Symbol.iterator] || r['@@iterator']; + if (!t) { + if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && 'number' == typeof r.length) { + t && (r = t); + var _n = 0, F = function F() {}; return { s: F, n: function n() { - if (i >= o.length) { - return { - done: true - }; - } - return { - done: false, - value: o[i++] + return _n >= r.length ? { + done: !0 + } : { + done: !1, + value: r[_n++] }; }, - e: function e(_e2) { - throw _e2; + e: function e(r) { + throw r; }, f: F }; } throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'); } - var normalCompletion = true, didErr = false, err; + var o, a = !0, u = !1; return { s: function s() { - it = it.call(o); + t = t.call(r); }, n: function n() { - var step = it.next(); - normalCompletion = step.done; - return step; + var r = t.next(); + return a = r.done, r; }, - e: function e(_e3) { - didErr = true; - err = _e3; + e: function e(r) { + u = !0, o = r; }, f: function f() { try { - if (!normalCompletion && it['return'] != null) { - it['return'](); - } + a || null == t['return'] || t['return'](); } finally { - if (didErr) { - throw err; + if (u) { + throw o; } } } }; } - function _unsupportedIterableToArray(o, minLen) { - if (!o) { - return; - } - if (typeof o === 'string') { - return _arrayLikeToArray(o, minLen); - } - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === 'Object' && o.constructor) { - n = o.constructor.name; - } - if (n === 'Map' || n === 'Set') { - return Array.from(o); - } - if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) { - return _arrayLikeToArray(o, minLen); + function _unsupportedIterableToArray(r, a) { + if (r) { + if ('string' == typeof r) { + return _arrayLikeToArray(r, a); + } + var t = {}.toString.call(r).slice(8, -1); + return 'Object' === t && r.constructor && (t = r.constructor.name), 'Map' === t || 'Set' === t ? Array.from(r) : 'Arguments' === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } - function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) { - len = arr.length; + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) { + n[e] = r[e]; } - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - return arr2; + return n; } - function _typeof(obj) { + function _typeof(o) { '@babel/helpers - typeof'; - return _typeof = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function(obj) { - return typeof obj; - } : function(obj) { - return obj && 'function' == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj; - }, _typeof(obj); + return _typeof = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function(o) { + return typeof o; + } : function(o) { + return o && 'function' == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? 'symbol' : typeof o; + }, _typeof(o); } - (function() { + (function(_Class_brand, _path, _CSS, _space, _r, _g, _b, _red, _green, _blue, _Class3_brand) { var __create = Object.create; var __defProp = Object.defineProperty; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __getOwnPropNames = Object.getOwnPropertyNames; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; + var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; + }; var __markAsModule = function __markAsModule(target) { return __defProp(target, '__esModule', { value: true @@ -435,930 +417,313 @@ enumerable: true })), module); }; - var require_utils = __commonJS(function(exports) { + var __publicField = function __publicField(obj, key, value) { + __defNormalProp(obj, _typeof(key) !== 'symbol' ? key + '' : key, value); + return value; + }; + var require_noop = __commonJS(function(exports, module) { 'use strict'; - Object.defineProperty(exports, '__esModule', { - value: true - }); - function isIdentStart(c) { - return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c === '-' || c === '_'; - } - exports.isIdentStart = isIdentStart; - function isIdent(c) { - return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c >= '0' && c <= '9' || c === '-' || c === '_'; - } - exports.isIdent = isIdent; - function isHex(c) { - return c >= 'a' && c <= 'f' || c >= 'A' && c <= 'F' || c >= '0' && c <= '9'; - } - exports.isHex = isHex; - function escapeIdentifier(s) { - var len = s.length; - var result = ''; - var i = 0; - while (i < len) { - var chr = s.charAt(i); - if (exports.identSpecialChars[chr]) { - result += '\\' + chr; - } else { - if (!(chr === '_' || chr === '-' || chr >= 'A' && chr <= 'Z' || chr >= 'a' && chr <= 'z' || i !== 0 && chr >= '0' && chr <= '9')) { - var charCode = chr.charCodeAt(0); - if ((charCode & 63488) === 55296) { - var extraCharCode = s.charCodeAt(i++); - if ((charCode & 64512) !== 55296 || (extraCharCode & 64512) !== 56320) { - throw Error('UCS-2(decode): illegal sequence'); - } - charCode = ((charCode & 1023) << 10) + (extraCharCode & 1023) + 65536; - } - result += '\\' + charCode.toString(16) + ' '; - } else { - result += chr; - } - } - i++; - } - return result; - } - exports.escapeIdentifier = escapeIdentifier; - function escapeStr(s) { - var len = s.length; - var result = ''; - var i = 0; - var replacement; - while (i < len) { - var chr = s.charAt(i); - if (chr === '"') { - chr = '\\"'; - } else if (chr === '\\') { - chr = '\\\\'; - } else if ((replacement = exports.strReplacementsRev[chr]) !== void 0) { - chr = replacement; - } - result += chr; - i++; + module.exports = function() {}; + }); + var require_is_value = __commonJS(function(exports, module) { + 'use strict'; + var _undefined = require_noop()(); + module.exports = function(val) { + return val !== _undefined && val !== null; + }; + }); + var require_normalize_options = __commonJS(function(exports, module) { + 'use strict'; + var isValue = require_is_value(); + var forEach = Array.prototype.forEach; + var create = Object.create; + var process2 = function process2(src, obj) { + var key; + for (key in src) { + obj[key] = src[key]; } - return '"' + result + '"'; - } - exports.escapeStr = escapeStr; - exports.identSpecialChars = { - '!': true, - '"': true, - '#': true, - $: true, - '%': true, - '&': true, - '\'': true, - '(': true, - ')': true, - '*': true, - '+': true, - ',': true, - '.': true, - '/': true, - ';': true, - '<': true, - '=': true, - '>': true, - '?': true, - '@': true, - '[': true, - '\\': true, - ']': true, - '^': true, - '`': true, - '{': true, - '|': true, - '}': true, - '~': true }; - exports.strReplacementsRev = { - '\n': '\\n', - '\r': '\\r', - '\t': '\\t', - '\f': '\\f', - '\v': '\\v' + module.exports = function(opts1) { + var result = create(null); + forEach.call(arguments, function(options) { + if (!isValue(options)) { + return; + } + process2(Object(options), result); + }); + return result; }; - exports.singleQuoteEscapeChars = { - n: '\n', - r: '\r', - t: '\t', - f: '\f', - '\\': '\\', - '\'': '\'' + }); + var require_is_implemented = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function() { + var sign = Math.sign; + if (typeof sign !== 'function') { + return false; + } + return sign(10) === 1 && sign(-20) === -1; }; - exports.doubleQuotesEscapeChars = { - n: '\n', - r: '\r', - t: '\t', - f: '\f', - '\\': '\\', - '"': '"' + }); + var require_shim = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function(value) { + value = Number(value); + if (isNaN(value) || value === 0) { + return value; + } + return value > 0 ? 1 : -1; }; }); - var require_parser_context = __commonJS(function(exports) { + var require_sign = __commonJS(function(exports, module) { 'use strict'; - Object.defineProperty(exports, '__esModule', { - value: true - }); - var utils_1 = require_utils(); - function parseCssSelector(str, pos, pseudos, attrEqualityMods, ruleNestingOperators, substitutesEnabled) { - var l = str.length; - var chr = ''; - function getStr(quote, escapeTable) { - var result = ''; - pos++; - chr = str.charAt(pos); - while (pos < l) { - if (chr === quote) { - pos++; - return result; - } else if (chr === '\\') { - pos++; - chr = str.charAt(pos); - var esc = void 0; - if (chr === quote) { - result += quote; - } else if ((esc = escapeTable[chr]) !== void 0) { - result += esc; - } else if (utils_1.isHex(chr)) { - var hex = chr; - pos++; - chr = str.charAt(pos); - while (utils_1.isHex(chr)) { - hex += chr; - pos++; - chr = str.charAt(pos); - } - if (chr === ' ') { - pos++; - chr = str.charAt(pos); - } - result += String.fromCharCode(parseInt(hex, 16)); - continue; - } else { - result += chr; - } - } else { - result += chr; - } - pos++; - chr = str.charAt(pos); - } - return result; + module.exports = require_is_implemented()() ? Math.sign : require_shim(); + }); + var require_to_integer = __commonJS(function(exports, module) { + 'use strict'; + var sign = require_sign(); + var abs = Math.abs; + var floor = Math.floor; + module.exports = function(value) { + if (isNaN(value)) { + return 0; } - function getIdent() { - var result = ''; - chr = str.charAt(pos); - while (pos < l) { - if (utils_1.isIdent(chr)) { - result += chr; - } else if (chr === '\\') { - pos++; - if (pos >= l) { - throw Error('Expected symbol but end of file reached.'); - } - chr = str.charAt(pos); - if (utils_1.identSpecialChars[chr]) { - result += chr; - } else if (utils_1.isHex(chr)) { - var hex = chr; - pos++; - chr = str.charAt(pos); - while (utils_1.isHex(chr)) { - hex += chr; - pos++; - chr = str.charAt(pos); - } - if (chr === ' ') { - pos++; - chr = str.charAt(pos); - } - result += String.fromCharCode(parseInt(hex, 16)); - continue; - } else { - result += chr; - } - } else { - return result; - } - pos++; - chr = str.charAt(pos); - } - return result; + value = Number(value); + if (value === 0 || !isFinite(value)) { + return value; } - function skipWhitespace() { - chr = str.charAt(pos); - var result = false; - while (chr === ' ' || chr === '\t' || chr === '\n' || chr === '\r' || chr === '\f') { - result = true; - pos++; - chr = str.charAt(pos); + return sign(value) * floor(abs(value)); + }; + }); + var require_to_pos_integer = __commonJS(function(exports, module) { + 'use strict'; + var toInteger = require_to_integer(); + var max2 = Math.max; + module.exports = function(value) { + return max2(0, toInteger(value)); + }; + }); + var require_resolve_length = __commonJS(function(exports, module) { + 'use strict'; + var toPosInt = require_to_pos_integer(); + module.exports = function(optsLength, fnLength, isAsync) { + var length; + if (isNaN(optsLength)) { + length = fnLength; + if (!(length >= 0)) { + return 1; } - return result; - } - function parse2() { - var res = parseSelector(); - if (pos < l) { - throw Error('Rule expected but "' + str.charAt(pos) + '" found.'); + if (isAsync && length) { + return length - 1; } - return res; + return length; } - function parseSelector() { - var selector = parseSingleSelector(); - if (!selector) { - return null; - } - var res = selector; - chr = str.charAt(pos); - while (chr === ',') { - pos++; - skipWhitespace(); - if (res.type !== 'selectors') { - res = { - type: 'selectors', - selectors: [ selector ] - }; - } - selector = parseSingleSelector(); - if (!selector) { - throw Error('Rule expected after ",".'); - } - res.selectors.push(selector); - } - return res; + if (optsLength === false) { + return false; } - function parseSingleSelector() { - skipWhitespace(); - var selector = { - type: 'ruleSet' - }; - var rule = parseRule(); - if (!rule) { - return null; + return toPosInt(optsLength); + }; + }); + var require_valid_callable = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function(fn) { + if (typeof fn !== 'function') { + throw new TypeError(fn + ' is not a function'); + } + return fn; + }; + }); + var require_valid_value = __commonJS(function(exports, module) { + 'use strict'; + var isValue = require_is_value(); + module.exports = function(value) { + if (!isValue(value)) { + throw new TypeError('Cannot use null or undefined'); + } + return value; + }; + }); + var require_iterate = __commonJS(function(exports, module) { + 'use strict'; + var callable = require_valid_callable(); + var value = require_valid_value(); + var bind = Function.prototype.bind; + var call = Function.prototype.call; + var keys = Object.keys; + var objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable; + module.exports = function(method, defVal) { + return function(obj, cb) { + var list, thisArg = arguments[2], compareFn = arguments[3]; + obj = Object(value(obj)); + callable(cb); + list = keys(obj); + if (compareFn) { + list.sort(typeof compareFn === 'function' ? bind.call(compareFn, obj) : void 0); } - var currentRule = selector; - while (rule) { - rule.type = 'rule'; - currentRule.rule = rule; - currentRule = rule; - skipWhitespace(); - chr = str.charAt(pos); - if (pos >= l || chr === ',' || chr === ')') { - break; - } - if (ruleNestingOperators[chr]) { - var op = chr; - pos++; - skipWhitespace(); - rule = parseRule(); - if (!rule) { - throw Error('Rule expected after "' + op + '".'); - } - rule.nestingOperator = op; - } else { - rule = parseRule(); - if (rule) { - rule.nestingOperator = null; - } - } + if (typeof method !== 'function') { + method = list[method]; } - return selector; + return call.call(method, list, function(key, index) { + if (!objPropertyIsEnumerable.call(obj, key)) { + return defVal; + } + return call.call(cb, thisArg, obj[key], key, obj, index); + }); + }; + }; + }); + var require_for_each = __commonJS(function(exports, module) { + 'use strict'; + module.exports = require_iterate()('forEach'); + }); + var require_registered_extensions = __commonJS(function() { + 'use strict'; + }); + var require_is_implemented2 = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function() { + var assign = Object.assign, obj; + if (typeof assign !== 'function') { + return false; } - function parseRule() { - var rule = null; - while (pos < l) { - chr = str.charAt(pos); - if (chr === '*') { - pos++; - (rule = rule || {}).tagName = '*'; - } else if (utils_1.isIdentStart(chr) || chr === '\\') { - (rule = rule || {}).tagName = getIdent(); - } else if (chr === '.') { - pos++; - rule = rule || {}; - (rule.classNames = rule.classNames || []).push(getIdent()); - } else if (chr === '#') { - pos++; - (rule = rule || {}).id = getIdent(); - } else if (chr === '[') { - pos++; - skipWhitespace(); - var attr = { - name: getIdent() - }; - skipWhitespace(); - if (chr === ']') { - pos++; - } else { - var operator = ''; - if (attrEqualityMods[chr]) { - operator = chr; - pos++; - chr = str.charAt(pos); - } - if (pos >= l) { - throw Error('Expected "=" but end of file reached.'); - } - if (chr !== '=') { - throw Error('Expected "=" but "' + chr + '" found.'); - } - attr.operator = operator + '='; - pos++; - skipWhitespace(); - var attrValue = ''; - attr.valueType = 'string'; - if (chr === '"') { - attrValue = getStr('"', utils_1.doubleQuotesEscapeChars); - } else if (chr === '\'') { - attrValue = getStr('\'', utils_1.singleQuoteEscapeChars); - } else if (substitutesEnabled && chr === '$') { - pos++; - attrValue = getIdent(); - attr.valueType = 'substitute'; - } else { - while (pos < l) { - if (chr === ']') { - break; - } - attrValue += chr; - pos++; - chr = str.charAt(pos); - } - attrValue = attrValue.trim(); - } - skipWhitespace(); - if (pos >= l) { - throw Error('Expected "]" but end of file reached.'); - } - if (chr !== ']') { - throw Error('Expected "]" but "' + chr + '" found.'); - } - pos++; - attr.value = attrValue; - } - rule = rule || {}; - (rule.attrs = rule.attrs || []).push(attr); - } else if (chr === ':') { - pos++; - var pseudoName = getIdent(); - var pseudo = { - name: pseudoName - }; - if (chr === '(') { - pos++; - var value = ''; - skipWhitespace(); - if (pseudos[pseudoName] === 'selector') { - pseudo.valueType = 'selector'; - value = parseSelector(); - } else { - pseudo.valueType = pseudos[pseudoName] || 'string'; - if (chr === '"') { - value = getStr('"', utils_1.doubleQuotesEscapeChars); - } else if (chr === '\'') { - value = getStr('\'', utils_1.singleQuoteEscapeChars); - } else if (substitutesEnabled && chr === '$') { - pos++; - value = getIdent(); - pseudo.valueType = 'substitute'; - } else { - while (pos < l) { - if (chr === ')') { - break; - } - value += chr; - pos++; - chr = str.charAt(pos); - } - value = value.trim(); - } - skipWhitespace(); - } - if (pos >= l) { - throw Error('Expected ")" but end of file reached.'); - } - if (chr !== ')') { - throw Error('Expected ")" but "' + chr + '" found.'); - } - pos++; - pseudo.value = value; - } - rule = rule || {}; - (rule.pseudos = rule.pseudos || []).push(pseudo); - } else { - break; - } - } - return rule; + obj = { + foo: 'raz' + }; + assign(obj, { + bar: 'dwa' + }, { + trzy: 'trzy' + }); + return obj.foo + obj.bar + obj.trzy === 'razdwatrzy'; + }; + }); + var require_is_implemented3 = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function() { + try { + Object.keys('primitive'); + return true; + } catch (e) { + return false; } - return parse2(); - } - exports.parseCssSelector = parseCssSelector; + }; }); - var require_render = __commonJS(function(exports) { + var require_shim2 = __commonJS(function(exports, module) { 'use strict'; - Object.defineProperty(exports, '__esModule', { - value: true - }); - var utils_1 = require_utils(); - function renderEntity(entity) { - var res = ''; - switch (entity.type) { - case 'ruleSet': - var currentEntity = entity.rule; - var parts = []; - while (currentEntity) { - if (currentEntity.nestingOperator) { - parts.push(currentEntity.nestingOperator); - } - parts.push(renderEntity(currentEntity)); - currentEntity = currentEntity.rule; - } - res = parts.join(' '); - break; - - case 'selectors': - res = entity.selectors.map(renderEntity).join(', '); - break; - - case 'rule': - if (entity.tagName) { - if (entity.tagName === '*') { - res = '*'; - } else { - res = utils_1.escapeIdentifier(entity.tagName); + var isValue = require_is_value(); + var keys = Object.keys; + module.exports = function(object) { + return keys(isValue(object) ? Object(object) : object); + }; + }); + var require_keys = __commonJS(function(exports, module) { + 'use strict'; + module.exports = require_is_implemented3()() ? Object.keys : require_shim2(); + }); + var require_shim3 = __commonJS(function(exports, module) { + 'use strict'; + var keys = require_keys(); + var value = require_valid_value(); + var max2 = Math.max; + module.exports = function(dest, src) { + var error, i, length = max2(arguments.length, 2), assign; + dest = Object(value(dest)); + assign = function assign(key) { + try { + dest[key] = src[key]; + } catch (e) { + if (!error) { + error = e; } } - if (entity.id) { - res += '#' + utils_1.escapeIdentifier(entity.id); - } - if (entity.classNames) { - res += entity.classNames.map(function(cn) { - return '.' + utils_1.escapeIdentifier(cn); - }).join(''); - } - if (entity.attrs) { - res += entity.attrs.map(function(attr) { - if ('operator' in attr) { - if (attr.valueType === 'substitute') { - return '[' + utils_1.escapeIdentifier(attr.name) + attr.operator + '$' + attr.value + ']'; - } else { - return '[' + utils_1.escapeIdentifier(attr.name) + attr.operator + utils_1.escapeStr(attr.value) + ']'; - } - } else { - return '[' + utils_1.escapeIdentifier(attr.name) + ']'; - } - }).join(''); - } - if (entity.pseudos) { - res += entity.pseudos.map(function(pseudo) { - if (pseudo.valueType) { - if (pseudo.valueType === 'selector') { - return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + renderEntity(pseudo.value) + ')'; - } else if (pseudo.valueType === 'substitute') { - return ':' + utils_1.escapeIdentifier(pseudo.name) + '($' + pseudo.value + ')'; - } else if (pseudo.valueType === 'numeric') { - return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + pseudo.value + ')'; - } else { - return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + utils_1.escapeIdentifier(pseudo.value) + ')'; - } - } else { - return ':' + utils_1.escapeIdentifier(pseudo.name); - } - }).join(''); - } - break; - - default: - throw Error('Unknown entity type: "' + entity.type + '".'); + }; + for (i = 1; i < length; ++i) { + src = arguments[i]; + keys(src).forEach(assign); } - return res; - } - exports.renderEntity = renderEntity; + if (error !== void 0) { + throw error; + } + return dest; + }; }); - var require_lib = __commonJS(function(exports) { + var require_assign = __commonJS(function(exports, module) { 'use strict'; - Object.defineProperty(exports, '__esModule', { - value: true - }); - var parser_context_1 = require_parser_context(); - var render_1 = require_render(); - var CssSelectorParser3 = function() { - function CssSelectorParser4() { - this.pseudos = {}; - this.attrEqualityMods = {}; - this.ruleNestingOperators = {}; - this.substitutesEnabled = false; - } - CssSelectorParser4.prototype.registerSelectorPseudos = function() { - var pseudos = []; - for (var _i = 0; _i < arguments.length; _i++) { - pseudos[_i] = arguments[_i]; - } - for (var _a = 0, pseudos_1 = pseudos; _a < pseudos_1.length; _a++) { - var pseudo = pseudos_1[_a]; - this.pseudos[pseudo] = 'selector'; - } - return this; - }; - CssSelectorParser4.prototype.unregisterSelectorPseudos = function() { - var pseudos = []; - for (var _i = 0; _i < arguments.length; _i++) { - pseudos[_i] = arguments[_i]; - } - for (var _a = 0, pseudos_2 = pseudos; _a < pseudos_2.length; _a++) { - var pseudo = pseudos_2[_a]; - delete this.pseudos[pseudo]; - } - return this; - }; - CssSelectorParser4.prototype.registerNumericPseudos = function() { - var pseudos = []; - for (var _i = 0; _i < arguments.length; _i++) { - pseudos[_i] = arguments[_i]; - } - for (var _a = 0, pseudos_3 = pseudos; _a < pseudos_3.length; _a++) { - var pseudo = pseudos_3[_a]; - this.pseudos[pseudo] = 'numeric'; - } - return this; - }; - CssSelectorParser4.prototype.unregisterNumericPseudos = function() { - var pseudos = []; - for (var _i = 0; _i < arguments.length; _i++) { - pseudos[_i] = arguments[_i]; - } - for (var _a = 0, pseudos_4 = pseudos; _a < pseudos_4.length; _a++) { - var pseudo = pseudos_4[_a]; - delete this.pseudos[pseudo]; - } - return this; - }; - CssSelectorParser4.prototype.registerNestingOperators = function() { - var operators = []; - for (var _i = 0; _i < arguments.length; _i++) { - operators[_i] = arguments[_i]; - } - for (var _a = 0, operators_1 = operators; _a < operators_1.length; _a++) { - var operator = operators_1[_a]; - this.ruleNestingOperators[operator] = true; - } - return this; - }; - CssSelectorParser4.prototype.unregisterNestingOperators = function() { - var operators = []; - for (var _i = 0; _i < arguments.length; _i++) { - operators[_i] = arguments[_i]; - } - for (var _a = 0, operators_2 = operators; _a < operators_2.length; _a++) { - var operator = operators_2[_a]; - delete this.ruleNestingOperators[operator]; - } - return this; - }; - CssSelectorParser4.prototype.registerAttrEqualityMods = function() { - var mods = []; - for (var _i = 0; _i < arguments.length; _i++) { - mods[_i] = arguments[_i]; - } - for (var _a = 0, mods_1 = mods; _a < mods_1.length; _a++) { - var mod = mods_1[_a]; - this.attrEqualityMods[mod] = true; - } - return this; - }; - CssSelectorParser4.prototype.unregisterAttrEqualityMods = function() { - var mods = []; - for (var _i = 0; _i < arguments.length; _i++) { - mods[_i] = arguments[_i]; - } - for (var _a = 0, mods_2 = mods; _a < mods_2.length; _a++) { - var mod = mods_2[_a]; - delete this.attrEqualityMods[mod]; - } - return this; - }; - CssSelectorParser4.prototype.enableSubstitutes = function() { - this.substitutesEnabled = true; - return this; - }; - CssSelectorParser4.prototype.disableSubstitutes = function() { - this.substitutesEnabled = false; - return this; - }; - CssSelectorParser4.prototype.parse = function(str) { - return parser_context_1.parseCssSelector(str, 0, this.pseudos, this.attrEqualityMods, this.ruleNestingOperators, this.substitutesEnabled); - }; - CssSelectorParser4.prototype.render = function(path) { - return render_1.renderEntity(path).trim(); - }; - return CssSelectorParser4; - }(); - exports.CssSelectorParser = CssSelectorParser3; - }); - var require_noop = __commonJS(function(exports, module) { - 'use strict'; - module.exports = function() {}; - }); - var require_is_value = __commonJS(function(exports, module) { - 'use strict'; - var _undefined = require_noop()(); - module.exports = function(val) { - return val !== _undefined && val !== null; - }; + module.exports = require_is_implemented2()() ? Object.assign : require_shim3(); }); - var require_normalize_options = __commonJS(function(exports, module) { + var require_is_object = __commonJS(function(exports, module) { 'use strict'; var isValue = require_is_value(); - var forEach = Array.prototype.forEach; - var create = Object.create; - var process2 = function process2(src, obj) { - var key; - for (key in src) { - obj[key] = src[key]; - } + var map = { + function: true, + object: true }; - module.exports = function(opts1) { - var result = create(null); - forEach.call(arguments, function(options) { - if (!isValue(options)) { - return; - } - process2(Object(options), result); - }); - return result; + module.exports = function(value) { + return isValue(value) && map[_typeof(value)] || false; }; }); - var require_is_implemented = __commonJS(function(exports, module) { + var require_custom = __commonJS(function(exports, module) { 'use strict'; - module.exports = function() { - var sign = Math.sign; - if (typeof sign !== 'function') { - return false; + var assign = require_assign(); + var isObject = require_is_object(); + var isValue = require_is_value(); + var captureStackTrace = Error.captureStackTrace; + module.exports = function(message) { + var err2 = new Error(message), code = arguments[1], ext = arguments[2]; + if (!isValue(ext)) { + if (isObject(code)) { + ext = code; + code = null; + } } - return sign(10) === 1 && sign(-20) === -1; - }; - }); - var require_shim = __commonJS(function(exports, module) { - 'use strict'; - module.exports = function(value) { - value = Number(value); - if (isNaN(value) || value === 0) { - return value; + if (isValue(ext)) { + assign(err2, ext); } - return value > 0 ? 1 : -1; - }; - }); - var require_sign = __commonJS(function(exports, module) { - 'use strict'; - module.exports = require_is_implemented()() ? Math.sign : require_shim(); - }); - var require_to_integer = __commonJS(function(exports, module) { - 'use strict'; - var sign = require_sign(); - var abs = Math.abs; - var floor = Math.floor; - module.exports = function(value) { - if (isNaN(value)) { - return 0; + if (isValue(code)) { + err2.code = code; } - value = Number(value); - if (value === 0 || !isFinite(value)) { - return value; + if (captureStackTrace) { + captureStackTrace(err2, module.exports); } - return sign(value) * floor(abs(value)); - }; - }); - var require_to_pos_integer = __commonJS(function(exports, module) { - 'use strict'; - var toInteger = require_to_integer(); - var max = Math.max; - module.exports = function(value) { - return max(0, toInteger(value)); + return err2; }; }); - var require_resolve_length = __commonJS(function(exports, module) { + var require_mixin = __commonJS(function(exports, module) { 'use strict'; - var toPosInt = require_to_pos_integer(); - module.exports = function(optsLength, fnLength, isAsync) { - var length; - if (isNaN(optsLength)) { - length = fnLength; - if (!(length >= 0)) { - return 1; - } - if (isAsync && length) { - return length - 1; + var value = require_valid_value(); + var defineProperty = Object.defineProperty; + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var getOwnPropertyNames = Object.getOwnPropertyNames; + var getOwnPropertySymbols = Object.getOwnPropertySymbols; + module.exports = function(target, source) { + var error, sourceObject = Object(value(source)); + target = Object(value(target)); + getOwnPropertyNames(sourceObject).forEach(function(name) { + try { + defineProperty(target, name, getOwnPropertyDescriptor(source, name)); + } catch (e) { + error = e; } - return length; + }); + if (typeof getOwnPropertySymbols === 'function') { + getOwnPropertySymbols(sourceObject).forEach(function(symbol) { + try { + defineProperty(target, symbol, getOwnPropertyDescriptor(source, symbol)); + } catch (e) { + error = e; + } + }); } - if (optsLength === false) { - return false; + if (error !== void 0) { + throw error; } - return toPosInt(optsLength); + return target; }; }); - var require_valid_callable = __commonJS(function(exports, module) { + var require_define_length = __commonJS(function(exports, module) { 'use strict'; - module.exports = function(fn) { - if (typeof fn !== 'function') { - throw new TypeError(fn + ' is not a function'); - } - return fn; - }; - }); - var require_valid_value = __commonJS(function(exports, module) { - 'use strict'; - var isValue = require_is_value(); - module.exports = function(value) { - if (!isValue(value)) { - throw new TypeError('Cannot use null or undefined'); - } - return value; - }; - }); - var require_iterate = __commonJS(function(exports, module) { - 'use strict'; - var callable = require_valid_callable(); - var value = require_valid_value(); - var bind = Function.prototype.bind; - var call = Function.prototype.call; - var keys = Object.keys; - var objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable; - module.exports = function(method, defVal) { - return function(obj, cb) { - var list, thisArg = arguments[2], compareFn = arguments[3]; - obj = Object(value(obj)); - callable(cb); - list = keys(obj); - if (compareFn) { - list.sort(typeof compareFn === 'function' ? bind.call(compareFn, obj) : void 0); - } - if (typeof method !== 'function') { - method = list[method]; - } - return call.call(method, list, function(key, index) { - if (!objPropertyIsEnumerable.call(obj, key)) { - return defVal; - } - return call.call(cb, thisArg, obj[key], key, obj, index); - }); - }; - }; - }); - var require_for_each = __commonJS(function(exports, module) { - 'use strict'; - module.exports = require_iterate()('forEach'); - }); - var require_registered_extensions = __commonJS(function() { - 'use strict'; - }); - var require_is_implemented2 = __commonJS(function(exports, module) { - 'use strict'; - module.exports = function() { - var assign = Object.assign, obj; - if (typeof assign !== 'function') { - return false; - } - obj = { - foo: 'raz' - }; - assign(obj, { - bar: 'dwa' - }, { - trzy: 'trzy' - }); - return obj.foo + obj.bar + obj.trzy === 'razdwatrzy'; - }; - }); - var require_is_implemented3 = __commonJS(function(exports, module) { - 'use strict'; - module.exports = function() { - try { - Object.keys('primitive'); - return true; - } catch (e) { - return false; - } - }; - }); - var require_shim2 = __commonJS(function(exports, module) { - 'use strict'; - var isValue = require_is_value(); - var keys = Object.keys; - module.exports = function(object) { - return keys(isValue(object) ? Object(object) : object); - }; - }); - var require_keys = __commonJS(function(exports, module) { - 'use strict'; - module.exports = require_is_implemented3()() ? Object.keys : require_shim2(); - }); - var require_shim3 = __commonJS(function(exports, module) { - 'use strict'; - var keys = require_keys(); - var value = require_valid_value(); - var max = Math.max; - module.exports = function(dest, src) { - var error, i, length = max(arguments.length, 2), assign; - dest = Object(value(dest)); - assign = function assign(key) { - try { - dest[key] = src[key]; - } catch (e) { - if (!error) { - error = e; - } - } - }; - for (i = 1; i < length; ++i) { - src = arguments[i]; - keys(src).forEach(assign); - } - if (error !== void 0) { - throw error; - } - return dest; - }; - }); - var require_assign = __commonJS(function(exports, module) { - 'use strict'; - module.exports = require_is_implemented2()() ? Object.assign : require_shim3(); - }); - var require_is_object = __commonJS(function(exports, module) { - 'use strict'; - var isValue = require_is_value(); - var map = { - function: true, - object: true - }; - module.exports = function(value) { - return isValue(value) && map[_typeof(value)] || false; - }; - }); - var require_custom = __commonJS(function(exports, module) { - 'use strict'; - var assign = require_assign(); - var isObject = require_is_object(); - var isValue = require_is_value(); - var captureStackTrace = Error.captureStackTrace; - module.exports = function(message) { - var err2 = new Error(message), code = arguments[1], ext = arguments[2]; - if (!isValue(ext)) { - if (isObject(code)) { - ext = code; - code = null; - } - } - if (isValue(ext)) { - assign(err2, ext); - } - if (isValue(code)) { - err2.code = code; - } - if (captureStackTrace) { - captureStackTrace(err2, module.exports); - } - return err2; - }; - }); - var require_mixin = __commonJS(function(exports, module) { - 'use strict'; - var value = require_valid_value(); - var defineProperty = Object.defineProperty; - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - var getOwnPropertyNames = Object.getOwnPropertyNames; - var getOwnPropertySymbols = Object.getOwnPropertySymbols; - module.exports = function(target, source) { - var error, sourceObject = Object(value(source)); - target = Object(value(target)); - getOwnPropertyNames(sourceObject).forEach(function(name) { - try { - defineProperty(target, name, getOwnPropertyDescriptor(source, name)); - } catch (e) { - error = e; - } - }); - if (typeof getOwnPropertySymbols === 'function') { - getOwnPropertySymbols(sourceObject).forEach(function(symbol) { - try { - defineProperty(target, symbol, getOwnPropertyDescriptor(source, symbol)); - } catch (e) { - error = e; - } - }); - } - if (error !== void 0) { - throw error; - } - return target; - }; - }); - var require_define_length = __commonJS(function(exports, module) { - 'use strict'; - var toPosInt = require_to_pos_integer(); - var test = function test(arg1, arg2) { - return arg2; + var toPosInt = require_to_pos_integer(); + var test = function test(arg1, arg2) { + return arg2; }; var desc; var defineProperty; @@ -1525,8 +890,8 @@ var assign = require_assign(); var normalizeOpts = require_normalize_options(); var contains3 = require_contains(); - var d = module.exports = function(dscr, value) { - var c, e, w, options, desc; + var d2 = module.exports = function(dscr, value) { + var c4, e, w, options, desc; if (arguments.length < 2 || typeof dscr !== 'string') { options = value; value = dscr; @@ -1535,53 +900,53 @@ options = arguments[2]; } if (isValue(dscr)) { - c = contains3.call(dscr, 'c'); + c4 = contains3.call(dscr, 'c'); e = contains3.call(dscr, 'e'); w = contains3.call(dscr, 'w'); } else { - c = w = true; + c4 = w = true; e = false; } desc = { value: value, - configurable: c, + configurable: c4, enumerable: e, writable: w }; return !options ? desc : assign(normalizeOpts(options), desc); }; - d.gs = function(dscr, get, set) { - var c, e, options, desc; + d2.gs = function(dscr, get2, set2) { + var c4, e, options, desc; if (typeof dscr !== 'string') { - options = set; - set = get; - get = dscr; + options = set2; + set2 = get2; + get2 = dscr; dscr = null; } else { options = arguments[3]; } - if (!isValue(get)) { - get = void 0; - } else if (!isPlainFunction(get)) { - options = get; - get = set = void 0; - } else if (!isValue(set)) { - set = void 0; - } else if (!isPlainFunction(set)) { - options = set; - set = void 0; + if (!isValue(get2)) { + get2 = void 0; + } else if (!isPlainFunction(get2)) { + options = get2; + get2 = set2 = void 0; + } else if (!isValue(set2)) { + set2 = void 0; + } else if (!isPlainFunction(set2)) { + options = set2; + set2 = void 0; } if (isValue(dscr)) { - c = contains3.call(dscr, 'c'); + c4 = contains3.call(dscr, 'c'); e = contains3.call(dscr, 'e'); } else { - c = true; + c4 = true; e = false; } desc = { - get: get, - set: set, - configurable: c, + get: get2, + set: set2, + configurable: c4, enumerable: e }; return !options ? desc : assign(normalizeOpts(options), desc); @@ -1589,7 +954,7 @@ }); var require_event_emitter = __commonJS(function(exports, module) { 'use strict'; - var d = require_d(); + var d2 = require_d(); var callable = require_valid_callable(); var apply = Function.prototype.apply; var call = Function.prototype.call; @@ -1609,52 +974,52 @@ var methods; var descriptors; var base; - on = function on(type, listener) { - var data2; + on = function on(type2, listener) { + var data; callable(listener); if (!hasOwnProperty2.call(this, '__ee__')) { - data2 = descriptor.value = create(null); + data = descriptor.value = create(null); defineProperty(this, '__ee__', descriptor); descriptor.value = null; } else { - data2 = this.__ee__; + data = this.__ee__; } - if (!data2[type]) { - data2[type] = listener; - } else if (_typeof(data2[type]) === 'object') { - data2[type].push(listener); + if (!data[type2]) { + data[type2] = listener; + } else if (_typeof(data[type2]) === 'object') { + data[type2].push(listener); } else { - data2[type] = [ data2[type], listener ]; + data[type2] = [ data[type2], listener ]; } return this; }; - once = function once(type, listener) { + once = function once(type2, listener) { var _once, self2; callable(listener); self2 = this; - on.call(this, type, _once = function once2() { - off.call(self2, type, _once); + on.call(this, type2, _once = function once2() { + off.call(self2, type2, _once); apply.call(listener, this, arguments); }); _once.__eeOnceListener__ = listener; return this; }; - off = function off(type, listener) { - var data2, listeners, candidate, i; + off = function off(type2, listener) { + var data, listeners, candidate, i; callable(listener); if (!hasOwnProperty2.call(this, '__ee__')) { return this; } - data2 = this.__ee__; - if (!data2[type]) { + data = this.__ee__; + if (!data[type2]) { return this; } - listeners = data2[type]; + listeners = data[type2]; if (_typeof(listeners) === 'object') { for (i = 0; candidate = listeners[i]; ++i) { if (candidate === listener || candidate.__eeOnceListener__ === listener) { if (listeners.length === 2) { - data2[type] = listeners[i ? 0 : 1]; + data[type2] = listeners[i ? 0 : 1]; } else { listeners.splice(i, 1); } @@ -1662,17 +1027,17 @@ } } else { if (listeners === listener || listeners.__eeOnceListener__ === listener) { - delete data2[type]; + delete data[type2]; } } return this; }; - emit = function emit(type) { + emit = function emit(type2) { var i, l, listener, listeners, args; if (!hasOwnProperty2.call(this, '__ee__')) { return; } - listeners = this.__ee__[type]; + listeners = this.__ee__[type2]; if (!listeners) { return; } @@ -1717,10 +1082,10 @@ emit: emit }; descriptors = { - on: d(on), - once: d(once), - off: d(off), - emit: d(emit) + on: d2(on), + once: d2(once), + off: d2(off), + emit: d2(emit) }; base = defineProperties({}, descriptors); module.exports = exports = function exports(o) { @@ -1798,24 +1163,24 @@ symbol: true }; module.exports = function() { - var _Symbol = global2.Symbol; + var Symbol2 = global2.Symbol; var symbol; - if (typeof _Symbol !== 'function') { + if (typeof Symbol2 !== 'function') { return false; } - symbol = _Symbol('test symbol'); + symbol = Symbol2('test symbol'); try { String(symbol); } catch (e) { return false; } - if (!validTypes[_typeof(_Symbol.iterator)]) { + if (!validTypes[_typeof(Symbol2.iterator)]) { return false; } - if (!validTypes[_typeof(_Symbol.toPrimitive)]) { + if (!validTypes[_typeof(Symbol2.toPrimitive)]) { return false; } - if (!validTypes[_typeof(_Symbol.toStringTag)]) { + if (!validTypes[_typeof(Symbol2.toStringTag)]) { return false; } return true; @@ -1851,7 +1216,7 @@ }); var require_generate_name = __commonJS(function(exports, module) { 'use strict'; - var d = require_d(); + var d2 = require_d(); var create = Object.create; var defineProperty = Object.defineProperty; var objPrototype = Object.prototype; @@ -1864,12 +1229,12 @@ desc += postfix || ''; created[desc] = true; name = '@@' + desc; - defineProperty(objPrototype, name, d.gs(null, function(value) { + defineProperty(objPrototype, name, d2.gs(null, function(value) { if (ie11BugWorkaround) { return; } ie11BugWorkaround = true; - defineProperty(this, name, d(value)); + defineProperty(this, name, d2(value)); ie11BugWorkaround = false; })); return name; @@ -1877,38 +1242,38 @@ }); var require_standard_symbols = __commonJS(function(exports, module) { 'use strict'; - var d = require_d(); + var d2 = require_d(); var NativeSymbol = require_global_this().Symbol; module.exports = function(SymbolPolyfill) { return Object.defineProperties(SymbolPolyfill, { - hasInstance: d('', NativeSymbol && NativeSymbol.hasInstance || SymbolPolyfill('hasInstance')), - isConcatSpreadable: d('', NativeSymbol && NativeSymbol.isConcatSpreadable || SymbolPolyfill('isConcatSpreadable')), - iterator: d('', NativeSymbol && NativeSymbol.iterator || SymbolPolyfill('iterator')), - match: d('', NativeSymbol && NativeSymbol.match || SymbolPolyfill('match')), - replace: d('', NativeSymbol && NativeSymbol.replace || SymbolPolyfill('replace')), - search: d('', NativeSymbol && NativeSymbol.search || SymbolPolyfill('search')), - species: d('', NativeSymbol && NativeSymbol.species || SymbolPolyfill('species')), - split: d('', NativeSymbol && NativeSymbol.split || SymbolPolyfill('split')), - toPrimitive: d('', NativeSymbol && NativeSymbol.toPrimitive || SymbolPolyfill('toPrimitive')), - toStringTag: d('', NativeSymbol && NativeSymbol.toStringTag || SymbolPolyfill('toStringTag')), - unscopables: d('', NativeSymbol && NativeSymbol.unscopables || SymbolPolyfill('unscopables')) + hasInstance: d2('', NativeSymbol && NativeSymbol.hasInstance || SymbolPolyfill('hasInstance')), + isConcatSpreadable: d2('', NativeSymbol && NativeSymbol.isConcatSpreadable || SymbolPolyfill('isConcatSpreadable')), + iterator: d2('', NativeSymbol && NativeSymbol.iterator || SymbolPolyfill('iterator')), + match: d2('', NativeSymbol && NativeSymbol.match || SymbolPolyfill('match')), + replace: d2('', NativeSymbol && NativeSymbol.replace || SymbolPolyfill('replace')), + search: d2('', NativeSymbol && NativeSymbol.search || SymbolPolyfill('search')), + species: d2('', NativeSymbol && NativeSymbol.species || SymbolPolyfill('species')), + split: d2('', NativeSymbol && NativeSymbol.split || SymbolPolyfill('split')), + toPrimitive: d2('', NativeSymbol && NativeSymbol.toPrimitive || SymbolPolyfill('toPrimitive')), + toStringTag: d2('', NativeSymbol && NativeSymbol.toStringTag || SymbolPolyfill('toStringTag')), + unscopables: d2('', NativeSymbol && NativeSymbol.unscopables || SymbolPolyfill('unscopables')) }); }; }); var require_symbol_registry = __commonJS(function(exports, module) { 'use strict'; - var d = require_d(); + var d2 = require_d(); var validateSymbol = require_validate_symbol(); var registry = Object.create(null); module.exports = function(SymbolPolyfill) { return Object.defineProperties(SymbolPolyfill, { - for: d(function(key) { + for: d2(function(key) { if (registry[key]) { return registry[key]; } return registry[key] = SymbolPolyfill(String(key)); }), - keyFor: d(function(symbol) { + keyFor: d2(function(symbol) { var key; validateSymbol(symbol); for (key in registry) { @@ -1923,7 +1288,7 @@ }); var require_polyfill = __commonJS(function(exports, module) { 'use strict'; - var d = require_d(); + var d2 = require_d(); var validateSymbol = require_validate_symbol(); var NativeSymbol = require_global_this().Symbol; var generateName = require_generate_name(); @@ -1943,15 +1308,15 @@ } else { NativeSymbol = null; } - HiddenSymbol = function _Symbol2(description) { + HiddenSymbol = function Symbol2(description) { if (this instanceof HiddenSymbol) { throw new TypeError('Symbol is not a constructor'); } return SymbolPolyfill(description); }; - module.exports = SymbolPolyfill = function _Symbol3(description) { + module.exports = SymbolPolyfill = function Symbol2(description) { var symbol; - if (this instanceof _Symbol3) { + if (this instanceof Symbol2) { throw new TypeError('Symbol is not a constructor'); } if (isNativeSafe) { @@ -1960,36 +1325,36 @@ symbol = create(HiddenSymbol.prototype); description = description === void 0 ? '' : String(description); return defineProperties(symbol, { - __description__: d('', description), - __name__: d('', generateName(description)) + __description__: d2('', description), + __name__: d2('', generateName(description)) }); }; setupStandardSymbols(SymbolPolyfill); setupSymbolRegistry(SymbolPolyfill); defineProperties(HiddenSymbol.prototype, { - constructor: d(SymbolPolyfill), - toString: d('', function() { + constructor: d2(SymbolPolyfill), + toString: d2('', function() { return this.__name__; }) }); defineProperties(SymbolPolyfill.prototype, { - toString: d(function() { + toString: d2(function() { return 'Symbol (' + validateSymbol(this).__description__ + ')'; }), - valueOf: d(function() { + valueOf: d2(function() { return validateSymbol(this); }) }); - defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toPrimitive, d('', function() { + defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toPrimitive, d2('', function() { var symbol = validateSymbol(this); if (_typeof(symbol) === 'symbol') { return symbol; } return symbol.toString(); })); - defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d('c', 'Symbol')); - defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toStringTag, d('c', SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])); - defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toPrimitive, d('c', SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive])); + defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d2('c', 'Symbol')); + defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toStringTag, d2('c', SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])); + defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toPrimitive, d2('c', SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive])); }); var require_es6_symbol = __commonJS(function(exports, module) { 'use strict'; @@ -2030,7 +1395,7 @@ var callable = require_valid_callable(); var validValue = require_valid_value(); var isValue = require_is_value(); - var isString = require_is_string(); + var isString2 = require_is_string(); var isArray = Array.isArray; var call = Function.prototype.call; var desc = { @@ -2089,7 +1454,7 @@ ++i; } length = i; - } else if (isString(arrayLike)) { + } else if (isString2(arrayLike)) { length = arrayLike.length; if (Context2) { arr = new Context2(); @@ -2202,7 +1567,7 @@ 'use strict'; var customError = require_custom(); var defineLength = require_define_length(); - var d = require_d(); + var d2 = require_d(); var ee = require_event_emitter().methods; var resolveResolve = require_resolve_resolve(); var resolveNormalize = require_resolve_normalize(); @@ -2213,7 +1578,7 @@ var _on = ee.on; var emit = ee.emit; module.exports = function(original, length, options) { - var cache2 = create(null), conf, memLength, _get, set, del, _clear, extDel, extGet, extHas, normalizer, getListeners, setListeners, deleteListeners, memoized, resolve; + var cache2 = create(null), conf, memLength, get2, set2, del, _clear, extDel, extGet, extHas, normalizer, getListeners, setListeners, deleteListeners, memoized, resolve; if (length !== false) { memLength = length; } else if (isNaN(original.length)) { @@ -2223,21 +1588,21 @@ } if (options.normalizer) { normalizer = resolveNormalize(options.normalizer); - _get = normalizer.get; - set = normalizer.set; + get2 = normalizer.get; + set2 = normalizer.set; del = normalizer['delete']; _clear = normalizer.clear; } if (options.resolvers != null) { resolve = resolveResolve(options.resolvers); } - if (_get) { + if (get2) { memoized = defineLength(function(arg) { var id, result, args = arguments; if (resolve) { args = resolve(args); } - id = _get(args); + id = get2(args); if (id !== null) { if (hasOwnProperty.call(cache2, id)) { if (getListeners) { @@ -2252,11 +1617,11 @@ result = apply.call(original, this, args); } if (id === null) { - id = _get(args); + id = get2(args); if (id !== null) { throw customError('Circular invocation', 'CIRCULAR_INVOCATION'); } - id = set(args); + id = set2(args); } else if (hasOwnProperty.call(cache2, id)) { throw customError('Circular invocation', 'CIRCULAR_INVOCATION'); } @@ -2325,8 +1690,8 @@ if (resolve) { args = resolve(args); } - if (_get) { - return _get(args); + if (get2) { + return get2(args); } return String(args[0]); }, @@ -2355,28 +1720,28 @@ cache2 = create(null); conf.emit('clear', oldCache); }, - on: function on(type, listener) { - if (type === 'get') { + on: function on(type2, listener) { + if (type2 === 'get') { getListeners = true; - } else if (type === 'set') { + } else if (type2 === 'set') { setListeners = true; - } else if (type === 'delete') { + } else if (type2 === 'delete') { deleteListeners = true; } - return _on.call(this, type, listener); + return _on.call(this, type2, listener); }, emit: emit, updateEnv: function updateEnv() { original = conf.original; } }; - if (_get) { + if (get2) { extDel = defineLength(function(arg) { var id, args = arguments; if (resolve) { args = resolve(args); } - id = _get(args); + id = get2(args); if (id === null) { return; } @@ -2402,8 +1767,8 @@ if (resolve) { args = resolve(args); } - if (_get) { - id = _get(args); + if (get2) { + id = get2(args); } else { id = String(args[0]); } @@ -2417,8 +1782,8 @@ if (resolve) { args = resolve(args); } - if (_get) { - id = _get(args); + if (get2) { + id = get2(args); } else { id = String(args[0]); } @@ -2428,11 +1793,11 @@ return conf.has(id); }); defineProperties(memoized, { - __memoized__: d(true), - delete: d(extDel), - clear: d(conf.clear), - _get: d(extGet), - _has: d(extHas) + __memoized__: d2(true), + delete: d2(extDel), + clear: d2(conf.clear), + _get: d2(extGet), + _has: d2(extHas) }); return conf; }; @@ -2561,80 +1926,80 @@ var lastId = 0, map = [], cache2 = create(null); return { get: function get(args) { - var index = 0, set = map, i, length = args.length; + var index = 0, set2 = map, i, length = args.length; if (length === 0) { - return set[length] || null; + return set2[length] || null; } - if (set = set[length]) { + if (set2 = set2[length]) { while (index < length - 1) { - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return null; } - set = set[1][i]; + set2 = set2[1][i]; ++index; } - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return null; } - return set[1][i] || null; + return set2[1][i] || null; } return null; }, set: function set(args) { - var index = 0, set = map, i, length = args.length; + var index = 0, set2 = map, i, length = args.length; if (length === 0) { - set[length] = ++lastId; + set2[length] = ++lastId; } else { - if (!set[length]) { - set[length] = [ [], [] ]; + if (!set2[length]) { + set2[length] = [ [], [] ]; } - set = set[length]; + set2 = set2[length]; while (index < length - 1) { - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { - i = set[0].push(args[index]) - 1; - set[1].push([ [], [] ]); + i = set2[0].push(args[index]) - 1; + set2[1].push([ [], [] ]); } - set = set[1][i]; + set2 = set2[1][i]; ++index; } - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { - i = set[0].push(args[index]) - 1; + i = set2[0].push(args[index]) - 1; } - set[1][i] = ++lastId; + set2[1][i] = ++lastId; } cache2[lastId] = args; return lastId; }, delete: function _delete(id) { - var index = 0, set = map, i, args = cache2[id], length = args.length, path = []; + var index = 0, set2 = map, i, args = cache2[id], length = args.length, path = []; if (length === 0) { - delete set[length]; - } else if (set = set[length]) { + delete set2[length]; + } else if (set2 = set2[length]) { while (index < length - 1) { - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return; } - path.push(set, i); - set = set[1][i]; + path.push(set2, i); + set2 = set2[1][i]; ++index; } - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return; } - id = set[1][i]; - set[0].splice(i, 1); - set[1].splice(i, 1); - while (!set[0].length && path.length) { + id = set2[1][i]; + set2[0].splice(i, 1); + set2[1].splice(i, 1); + while (!set2[0].length && path.length) { i = path.pop(); - set = path.pop(); - set[0].splice(i, 1); - set[1].splice(i, 1); + set2 = path.pop(); + set2[0].splice(i, 1); + set2[1].splice(i, 1); } } delete cache2[id]; @@ -2683,63 +2048,63 @@ var lastId = 0, map = [ [], [] ], cache2 = create(null); return { get: function get(args) { - var index = 0, set = map, i; + var index = 0, set2 = map, i; while (index < length - 1) { - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return null; } - set = set[1][i]; + set2 = set2[1][i]; ++index; } - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return null; } - return set[1][i] || null; + return set2[1][i] || null; }, set: function set(args) { - var index = 0, set = map, i; + var index = 0, set2 = map, i; while (index < length - 1) { - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { - i = set[0].push(args[index]) - 1; - set[1].push([ [], [] ]); + i = set2[0].push(args[index]) - 1; + set2[1].push([ [], [] ]); } - set = set[1][i]; + set2 = set2[1][i]; ++index; } - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { - i = set[0].push(args[index]) - 1; + i = set2[0].push(args[index]) - 1; } - set[1][i] = ++lastId; + set2[1][i] = ++lastId; cache2[lastId] = args; return lastId; }, delete: function _delete(id) { - var index = 0, set = map, i, path = [], args = cache2[id]; + var index = 0, set2 = map, i, path = [], args = cache2[id]; while (index < length - 1) { - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return; } - path.push(set, i); - set = set[1][i]; + path.push(set2, i); + set2 = set2[1][i]; ++index; } - i = indexOf.call(set[0], args[index]); + i = indexOf.call(set2[0], args[index]); if (i === -1) { return; } - id = set[1][i]; - set[0].splice(i, 1); - set[1].splice(i, 1); - while (!set[0].length && path.length) { + id = set2[1][i]; + set2[0].splice(i, 1); + set2[1].splice(i, 1); + while (!set2[0].length && path.length) { i = path.pop(); - set = path.pop(); - set[0].splice(i, 1); - set[1].splice(i, 1); + set2 = path.pop(); + set2[0].splice(i, 1); + set2[1].splice(i, 1); } delete cache2[id]; }, @@ -2860,9 +2225,9 @@ require_registered_extensions().async = function(tbi, conf) { var waiting = create(null), cache2 = create(null), base = conf.memoized, original = conf.original, currentCallback, currentContext, currentArgs; conf.memoized = defineLength(function(arg) { - var args = arguments, last = args[args.length - 1]; - if (typeof last === 'function') { - currentCallback = last; + var args = arguments, last2 = args[args.length - 1]; + if (typeof last2 === 'function') { + currentCallback = last2; args = slice.call(args, 0, -1); } return base.apply(currentContext = this, currentArgs = args); @@ -2889,11 +2254,11 @@ args = currentArgs; currentCallback = currentContext = currentArgs = null; nextTick(function() { - var data2; + var data; if (hasOwnProperty.call(cache2, id)) { - data2 = cache2[id]; + data = cache2[id]; conf.emit('getasync', id, args, context); - apply.call(cb, data2.context, data2.args); + apply.call(cb, data.context, data.args); } else { currentCallback = cb; currentContext = context; @@ -2982,8 +2347,8 @@ conf.on('clear', function() { var oldCache = cache2; cache2 = create(null); - conf.emit('clearasync', objectMap(oldCache, function(data2) { - return slice.call(data2.args, 1); + conf.emit('clearasync', objectMap(oldCache, function(data) { + return slice.call(data.args, 1); })); }); }; @@ -2993,11 +2358,11 @@ var forEach = Array.prototype.forEach; var create = Object.create; module.exports = function(arg) { - var set = create(null); + var set2 = create(null); forEach.call(arguments, function(name) { - set[name] = true; + set2[name] = true; }); - return set; + return set2; }; }); var require_is_callable = __commonJS(function(exports, module) { @@ -3184,8 +2549,8 @@ cache2 = create(null); waiting = create(null); promises = create(null); - conf.emit('clearasync', objectMap(oldCache, function(data2) { - return [ data2 ]; + conf.emit('clearasync', objectMap(oldCache, function(data) { + return [ data ]; })); }); }; @@ -3245,7 +2610,7 @@ var timeout = require_valid_timeout(); var extensions = require_registered_extensions(); var noop3 = Function.prototype; - var max = Math.max; + var max2 = Math.max; var min = Math.min; var create = Object.create; extensions.maxAge = function(maxAge, conf, options) { @@ -3293,7 +2658,7 @@ if (options.preFetch === true || isNaN(options.preFetch)) { preFetchAge = .333; } else { - preFetchAge = max(min(Number(options.preFetch), 1), 0); + preFetchAge = max2(min(Number(options.preFetch), 1), 0); } if (preFetchAge) { preFetchTimeouts = {}; @@ -3408,13 +2773,13 @@ var toPosInteger = require_to_pos_integer(); var lruQueue = require_lru_queue(); var extensions = require_registered_extensions(); - extensions.max = function(max, conf, options) { + extensions.max = function(max2, conf, options) { var postfix, queue2, hit; - max = toPosInteger(max); - if (!max) { + max2 = toPosInteger(max2); + if (!max2) { return; } - queue2 = lruQueue(max); + queue2 = lruQueue(max2); postfix = options.async && extensions.async || options.promise && extensions.promise ? 'async' : ''; conf.on('set' + postfix, hit = function hit(id) { id = queue2.hit(id); @@ -3430,7 +2795,7 @@ }); var require_ref_counter = __commonJS(function() { 'use strict'; - var d = require_d(); + var d2 = require_d(); var extensions = require_registered_extensions(); var create = Object.create; var defineProperties = Object.defineProperties; @@ -3451,7 +2816,7 @@ cache2 = {}; }); defineProperties(conf.memoized, { - deleteRef: d(function() { + deleteRef: d2(function() { var id = conf.get(arguments); if (id === null) { return null; @@ -3465,7 +2830,7 @@ } return false; }), - getRefCount: d(function() { + getRefCount: d2(function() { var id = conf.get(arguments); if (id === null) { return 0; @@ -3524,1476 +2889,3890 @@ return plain(fn, options); }; }); - var require_doT = __commonJS(function(exports, module) { - (function() { - 'use strict'; - var doT3 = { - name: 'doT', - version: '1.1.1', - templateSettings: { - evaluate: /\{\{([\s\S]+?(\}?)+)\}\}/g, - interpolate: /\{\{=([\s\S]+?)\}\}/g, - encode: /\{\{!([\s\S]+?)\}\}/g, - use: /\{\{#([\s\S]+?)\}\}/g, - useParams: /(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g, - define: /\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g, - defineParams: /^\s*([\w$]+):([\s\S]+)/, - conditional: /\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g, - iterate: /\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g, - varname: 'it', - strip: true, - append: true, - selfcontained: false, - doNotSkipEncoded: false - }, - template: void 0, - compile: void 0, - log: true - }; - (function() { - if ((typeof globalThis === 'undefined' ? 'undefined' : _typeof(globalThis)) === 'object') { - return; + var require_utils = __commonJS(function(exports) { + 'use strict'; + Object.defineProperty(exports, '__esModule', { + value: true + }); + function isIdentStart(c4) { + return c4 >= 'a' && c4 <= 'z' || c4 >= 'A' && c4 <= 'Z' || c4 === '-' || c4 === '_'; + } + exports.isIdentStart = isIdentStart; + function isIdent(c4) { + return c4 >= 'a' && c4 <= 'z' || c4 >= 'A' && c4 <= 'Z' || c4 >= '0' && c4 <= '9' || c4 === '-' || c4 === '_'; + } + exports.isIdent = isIdent; + function isHex(c4) { + return c4 >= 'a' && c4 <= 'f' || c4 >= 'A' && c4 <= 'F' || c4 >= '0' && c4 <= '9'; + } + exports.isHex = isHex; + function escapeIdentifier(s) { + var len = s.length; + var result = ''; + var i = 0; + while (i < len) { + var chr = s.charAt(i); + if (exports.identSpecialChars[chr]) { + result += '\\' + chr; + } else { + if (!(chr === '_' || chr === '-' || chr >= 'A' && chr <= 'Z' || chr >= 'a' && chr <= 'z' || i !== 0 && chr >= '0' && chr <= '9')) { + var charCode = chr.charCodeAt(0); + if ((charCode & 63488) === 55296) { + var extraCharCode = s.charCodeAt(i++); + if ((charCode & 64512) !== 55296 || (extraCharCode & 64512) !== 56320) { + throw Error('UCS-2(decode): illegal sequence'); + } + charCode = ((charCode & 1023) << 10) + (extraCharCode & 1023) + 65536; + } + result += '\\' + charCode.toString(16) + ' '; + } else { + result += chr; + } } - try { - Object.defineProperty(Object.prototype, '__magic__', { - get: function get() { - return this; - }, - configurable: true - }); - __magic__.globalThis = __magic__; - delete Object.prototype.__magic__; - } catch (e) { - window.globalThis = function() { - if (typeof self !== 'undefined') { - return self; - } - if (typeof window !== 'undefined') { - return window; - } - if (typeof global !== 'undefined') { - return global; - } - if (typeof this !== 'undefined') { - return this; - } - throw new Error('Unable to locate global `this`'); - }(); - } - })(); - doT3.encodeHTMLSource = function(doNotSkipEncoded) { - var encodeHTMLRules = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - '\'': ''', - '/': '/' - }, matchHTML = doNotSkipEncoded ? /[&<>"'\/]/g : /&(?!#?\w+;)|<|>|"|'|\//g; - return function(code) { - return code ? code.toString().replace(matchHTML, function(m) { - return encodeHTMLRules[m] || m; - }) : ''; - }; - }; - if (typeof module !== 'undefined' && module.exports) { - module.exports = doT3; - } else if (typeof define === 'function' && define.amd) { - define(function() { - return doT3; - }); - } else { - globalThis.doT = doT3; + i++; } - var startend = { - append: { - start: '\'+(', - end: ')+\'', - startencode: '\'+encodeHTML(' - }, - split: { - start: '\';out+=(', - end: ');out+=\'', - startencode: '\';out+=encodeHTML(' + return result; + } + exports.escapeIdentifier = escapeIdentifier; + function escapeStr(s) { + var len = s.length; + var result = ''; + var i = 0; + var replacement; + while (i < len) { + var chr = s.charAt(i); + if (chr === '"') { + chr = '\\"'; + } else if (chr === '\\') { + chr = '\\\\'; + } else if ((replacement = exports.strReplacementsRev[chr]) !== void 0) { + chr = replacement; } - }, skip = /$^/; - function resolveDefs(c, block, def) { - return (typeof block === 'string' ? block : block.toString()).replace(c.define || skip, function(m, code, assign, value) { - if (code.indexOf('def.') === 0) { - code = code.substring(4); - } - if (!(code in def)) { - if (assign === ':') { - if (c.defineParams) { - value.replace(c.defineParams, function(m2, param, v) { - def[code] = { - arg: param, - text: v - }; - }); + result += chr; + i++; + } + return '"' + result + '"'; + } + exports.escapeStr = escapeStr; + exports.identSpecialChars = { + '!': true, + '"': true, + '#': true, + $: true, + '%': true, + '&': true, + '\'': true, + '(': true, + ')': true, + '*': true, + '+': true, + ',': true, + '.': true, + '/': true, + ';': true, + '<': true, + '=': true, + '>': true, + '?': true, + '@': true, + '[': true, + '\\': true, + ']': true, + '^': true, + '`': true, + '{': true, + '|': true, + '}': true, + '~': true + }; + exports.strReplacementsRev = { + '\n': '\\n', + '\r': '\\r', + '\t': '\\t', + '\f': '\\f', + '\v': '\\v' + }; + exports.singleQuoteEscapeChars = { + n: '\n', + r: '\r', + t: '\t', + f: '\f', + '\\': '\\', + '\'': '\'' + }; + exports.doubleQuotesEscapeChars = { + n: '\n', + r: '\r', + t: '\t', + f: '\f', + '\\': '\\', + '"': '"' + }; + }); + var require_parser_context = __commonJS(function(exports) { + 'use strict'; + Object.defineProperty(exports, '__esModule', { + value: true + }); + var utils_1 = require_utils(); + function parseCssSelector(str, pos, pseudos, attrEqualityMods, ruleNestingOperators, substitutesEnabled) { + var l = str.length; + var chr = ''; + function getStr(quote, escapeTable) { + var result = ''; + pos++; + chr = str.charAt(pos); + while (pos < l) { + if (chr === quote) { + pos++; + return result; + } else if (chr === '\\') { + pos++; + chr = str.charAt(pos); + var esc = void 0; + if (chr === quote) { + result += quote; + } else if ((esc = escapeTable[chr]) !== void 0) { + result += esc; + } else if (utils_1.isHex(chr)) { + var hex = chr; + pos++; + chr = str.charAt(pos); + while (utils_1.isHex(chr)) { + hex += chr; + pos++; + chr = str.charAt(pos); } - if (!(code in def)) { - def[code] = value; + if (chr === ' ') { + pos++; + chr = str.charAt(pos); } + result += String.fromCharCode(parseInt(hex, 16)); + continue; } else { - new Function('def', 'def[\'' + code + '\']=' + value)(def); + result += chr; } + } else { + result += chr; } - return ''; - }).replace(c.use || skip, function(m, code) { - if (c.useParams) { - code = code.replace(c.useParams, function(m2, s, d, param) { - if (def[d] && def[d].arg && param) { - var rw = (d + ':' + param).replace(/'|\\/g, '_'); - def.__exp = def.__exp || {}; - def.__exp[rw] = def[d].text.replace(new RegExp('(^|[^\\w$])' + def[d].arg + '([^\\w$])', 'g'), '$1' + param + '$2'); - return s + 'def.__exp[\'' + rw + '\']'; + pos++; + chr = str.charAt(pos); + } + return result; + } + function getIdent() { + var result = ''; + chr = str.charAt(pos); + while (pos < l) { + if (utils_1.isIdent(chr)) { + result += chr; + } else if (chr === '\\') { + pos++; + if (pos >= l) { + throw Error('Expected symbol but end of file reached.'); + } + chr = str.charAt(pos); + if (utils_1.identSpecialChars[chr]) { + result += chr; + } else if (utils_1.isHex(chr)) { + var hex = chr; + pos++; + chr = str.charAt(pos); + while (utils_1.isHex(chr)) { + hex += chr; + pos++; + chr = str.charAt(pos); } - }); + if (chr === ' ') { + pos++; + chr = str.charAt(pos); + } + result += String.fromCharCode(parseInt(hex, 16)); + continue; + } else { + result += chr; + } + } else { + return result; } - var v = new Function('def', 'return ' + code)(def); - return v ? resolveDefs(c, v, def) : v; - }); + pos++; + chr = str.charAt(pos); + } + return result; } - function unescape(code) { - return code.replace(/\\('|\\)/g, '$1').replace(/[\r\t\n]/g, ' '); + function skipWhitespace() { + chr = str.charAt(pos); + var result = false; + while (chr === ' ' || chr === '\t' || chr === '\n' || chr === '\r' || chr === '\f') { + result = true; + pos++; + chr = str.charAt(pos); + } + return result; } - doT3.template = function(tmpl, c, def) { - c = c || doT3.templateSettings; - var cse = c.append ? startend.append : startend.split, needhtmlencode, sid = 0, indv, str = c.use || c.define ? resolveDefs(c, tmpl, def || {}) : tmpl; - str = ('var out=\'' + (c.strip ? str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g, ' ').replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g, '') : str).replace(/'|\\/g, '\\$&').replace(c.interpolate || skip, function(m, code) { - return cse.start + unescape(code) + cse.end; - }).replace(c.encode || skip, function(m, code) { - needhtmlencode = true; - return cse.startencode + unescape(code) + cse.end; - }).replace(c.conditional || skip, function(m, elsecase, code) { - return elsecase ? code ? '\';}else if(' + unescape(code) + '){out+=\'' : '\';}else{out+=\'' : code ? '\';if(' + unescape(code) + '){out+=\'' : '\';}out+=\''; - }).replace(c.iterate || skip, function(m, iterate, vname, iname) { - if (!iterate) { - return '\';} } out+=\''; - } - sid += 1; - indv = iname || 'i' + sid; - iterate = unescape(iterate); - return '\';var arr' + sid + '=' + iterate + ';if(arr' + sid + '){var ' + vname + ',' + indv + '=-1,l' + sid + '=arr' + sid + '.length-1;while(' + indv + '= l || chr === ',' || chr === ')') { + break; + } + if (ruleNestingOperators[chr]) { + var op = chr; + pos++; + skipWhitespace(); + rule = parseRule(); + if (!rule) { + throw Error('Rule expected after "' + op + '".'); } - }, function(reason) { - if (sealed) { - return; + rule.nestingOperator = op; + } else { + rule = parseRule(); + if (rule) { + rule.nestingOperator = null; } - sealed = true; - reject(promise2, reason); - }, 'Settle: ' + (promise2._label || ' unknown promise')); - if (!sealed && error) { - sealed = true; - reject(promise2, error); } - }, promise); - } - function handleOwnThenable(promise, thenable) { - if (thenable._state === FULFILLED) { - fulfill(promise, thenable._result); - } else if (thenable._state === REJECTED) { - reject(promise, thenable._result); - } else { - subscribe2(thenable, void 0, function(value) { - return resolve(promise, value); - }, function(reason) { - return reject(promise, reason); - }); } + return selector; } - function handleMaybeThenable(promise, maybeThenable, then$$1) { - if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) { - handleOwnThenable(promise, maybeThenable); - } else { - if (then$$1 === void 0) { - fulfill(promise, maybeThenable); - } else if (isFunction(then$$1)) { - handleForeignThenable(promise, maybeThenable, then$$1); + function parseRule() { + var rule = null; + while (pos < l) { + chr = str.charAt(pos); + if (chr === '*') { + pos++; + (rule = rule || {}).tagName = '*'; + } else if (utils_1.isIdentStart(chr) || chr === '\\') { + (rule = rule || {}).tagName = getIdent(); + } else if (chr === '.') { + pos++; + rule = rule || {}; + (rule.classNames = rule.classNames || []).push(getIdent()); + } else if (chr === '#') { + pos++; + (rule = rule || {}).id = getIdent(); + } else if (chr === '[') { + pos++; + skipWhitespace(); + var attr = { + name: getIdent() + }; + skipWhitespace(); + if (chr === ']') { + pos++; + } else { + var operator = ''; + if (attrEqualityMods[chr]) { + operator = chr; + pos++; + chr = str.charAt(pos); + } + if (pos >= l) { + throw Error('Expected "=" but end of file reached.'); + } + if (chr !== '=') { + throw Error('Expected "=" but "' + chr + '" found.'); + } + attr.operator = operator + '='; + pos++; + skipWhitespace(); + var attrValue = ''; + attr.valueType = 'string'; + if (chr === '"') { + attrValue = getStr('"', utils_1.doubleQuotesEscapeChars); + } else if (chr === '\'') { + attrValue = getStr('\'', utils_1.singleQuoteEscapeChars); + } else if (substitutesEnabled && chr === '$') { + pos++; + attrValue = getIdent(); + attr.valueType = 'substitute'; + } else { + while (pos < l) { + if (chr === ']') { + break; + } + attrValue += chr; + pos++; + chr = str.charAt(pos); + } + attrValue = attrValue.trim(); + } + skipWhitespace(); + if (pos >= l) { + throw Error('Expected "]" but end of file reached.'); + } + if (chr !== ']') { + throw Error('Expected "]" but "' + chr + '" found.'); + } + pos++; + attr.value = attrValue; + } + rule = rule || {}; + (rule.attrs = rule.attrs || []).push(attr); + } else if (chr === ':') { + pos++; + var pseudoName = getIdent(); + var pseudo = { + name: pseudoName + }; + if (chr === '(') { + pos++; + var value = ''; + skipWhitespace(); + if (pseudos[pseudoName] === 'selector') { + pseudo.valueType = 'selector'; + value = parseSelector(); + } else { + pseudo.valueType = pseudos[pseudoName] || 'string'; + if (chr === '"') { + value = getStr('"', utils_1.doubleQuotesEscapeChars); + } else if (chr === '\'') { + value = getStr('\'', utils_1.singleQuoteEscapeChars); + } else if (substitutesEnabled && chr === '$') { + pos++; + value = getIdent(); + pseudo.valueType = 'substitute'; + } else { + while (pos < l) { + if (chr === ')') { + break; + } + value += chr; + pos++; + chr = str.charAt(pos); + } + value = value.trim(); + } + skipWhitespace(); + } + if (pos >= l) { + throw Error('Expected ")" but end of file reached.'); + } + if (chr !== ')') { + throw Error('Expected ")" but "' + chr + '" found.'); + } + pos++; + pseudo.value = value; + } + rule = rule || {}; + (rule.pseudos = rule.pseudos || []).push(pseudo); } else { - fulfill(promise, maybeThenable); + break; } } + return rule; } - function resolve(promise, value) { - if (promise === value) { - reject(promise, selfFulfillment()); - } else if (objectOrFunction(value)) { - var then$$1 = void 0; - try { - then$$1 = value.then; - } catch (error) { - reject(promise, error); - return; + return parse3(); + } + exports.parseCssSelector = parseCssSelector; + }); + var require_render = __commonJS(function(exports) { + 'use strict'; + Object.defineProperty(exports, '__esModule', { + value: true + }); + var utils_1 = require_utils(); + function renderEntity(entity) { + var res = ''; + switch (entity.type) { + case 'ruleSet': + var currentEntity = entity.rule; + var parts = []; + while (currentEntity) { + if (currentEntity.nestingOperator) { + parts.push(currentEntity.nestingOperator); } - handleMaybeThenable(promise, value, then$$1); - } else { - fulfill(promise, value); + parts.push(renderEntity(currentEntity)); + currentEntity = currentEntity.rule; } - } - function publishRejection(promise) { - if (promise._onerror) { - promise._onerror(promise._result); + res = parts.join(' '); + break; + + case 'selectors': + res = entity.selectors.map(renderEntity).join(', '); + break; + + case 'rule': + if (entity.tagName) { + if (entity.tagName === '*') { + res = '*'; + } else { + res = utils_1.escapeIdentifier(entity.tagName); + } } - publish(promise); - } - function fulfill(promise, value) { - if (promise._state !== PENDING) { - return; + if (entity.id) { + res += '#' + utils_1.escapeIdentifier(entity.id); } - promise._result = value; - promise._state = FULFILLED; - if (promise._subscribers.length !== 0) { - asap(publish, promise); + if (entity.classNames) { + res += entity.classNames.map(function(cn) { + return '.' + utils_1.escapeIdentifier(cn); + }).join(''); } - } - function reject(promise, reason) { - if (promise._state !== PENDING) { - return; + if (entity.attrs) { + res += entity.attrs.map(function(attr) { + if ('operator' in attr) { + if (attr.valueType === 'substitute') { + return '[' + utils_1.escapeIdentifier(attr.name) + attr.operator + '$' + attr.value + ']'; + } else { + return '[' + utils_1.escapeIdentifier(attr.name) + attr.operator + utils_1.escapeStr(attr.value) + ']'; + } + } else { + return '[' + utils_1.escapeIdentifier(attr.name) + ']'; + } + }).join(''); } - promise._state = REJECTED; - promise._result = reason; - asap(publishRejection, promise); - } - function subscribe2(parent, child, onFulfillment, onRejection) { - var _subscribers = parent._subscribers; - var length = _subscribers.length; - parent._onerror = null; - _subscribers[length] = child; - _subscribers[length + FULFILLED] = onFulfillment; - _subscribers[length + REJECTED] = onRejection; - if (length === 0 && parent._state) { - asap(publish, parent); + if (entity.pseudos) { + res += entity.pseudos.map(function(pseudo) { + if (pseudo.valueType) { + if (pseudo.valueType === 'selector') { + return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + renderEntity(pseudo.value) + ')'; + } else if (pseudo.valueType === 'substitute') { + return ':' + utils_1.escapeIdentifier(pseudo.name) + '($' + pseudo.value + ')'; + } else if (pseudo.valueType === 'numeric') { + return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + pseudo.value + ')'; + } else { + return ':' + utils_1.escapeIdentifier(pseudo.name) + '(' + utils_1.escapeIdentifier(pseudo.value) + ')'; + } + } else { + return ':' + utils_1.escapeIdentifier(pseudo.name); + } + }).join(''); } + break; + + default: + throw Error('Unknown entity type: "' + entity.type + '".'); } - function publish(promise) { - var subscribers = promise._subscribers; - var settled = promise._state; - if (subscribers.length === 0) { - return; - } - var child = void 0, callback = void 0, detail = promise._result; - for (var i = 0; i < subscribers.length; i += 3) { - child = subscribers[i]; - callback = subscribers[i + settled]; - if (child) { - invokeCallback(settled, child, callback, detail); - } else { - callback(detail); - } - } - promise._subscribers.length = 0; + return res; + } + exports.renderEntity = renderEntity; + }); + var require_lib = __commonJS(function(exports) { + 'use strict'; + Object.defineProperty(exports, '__esModule', { + value: true + }); + var parser_context_1 = require_parser_context(); + var render_1 = require_render(); + var CssSelectorParser3 = function() { + function CssSelectorParser4() { + this.pseudos = {}; + this.attrEqualityMods = {}; + this.ruleNestingOperators = {}; + this.substitutesEnabled = false; } - function invokeCallback(settled, promise, callback, detail) { - var hasCallback = isFunction(callback), value = void 0, error = void 0, succeeded = true; - if (hasCallback) { - try { - value = callback(detail); - } catch (e) { - succeeded = false; - error = e; - } - if (promise === value) { - reject(promise, cannotReturnOwn()); - return; - } - } else { - value = detail; + CssSelectorParser4.prototype.registerSelectorPseudos = function() { + var pseudos = []; + for (var _i = 0; _i < arguments.length; _i++) { + pseudos[_i] = arguments[_i]; } - if (promise._state !== PENDING) {} else if (hasCallback && succeeded) { - resolve(promise, value); - } else if (succeeded === false) { - reject(promise, error); - } else if (settled === FULFILLED) { - fulfill(promise, value); - } else if (settled === REJECTED) { - reject(promise, value); + for (var _a = 0, pseudos_1 = pseudos; _a < pseudos_1.length; _a++) { + var pseudo = pseudos_1[_a]; + this.pseudos[pseudo] = 'selector'; } - } - function initializePromise(promise, resolver) { - try { - resolver(function resolvePromise(value) { - resolve(promise, value); - }, function rejectPromise(reason) { - reject(promise, reason); - }); - } catch (e) { - reject(promise, e); + return this; + }; + CssSelectorParser4.prototype.unregisterSelectorPseudos = function() { + var pseudos = []; + for (var _i = 0; _i < arguments.length; _i++) { + pseudos[_i] = arguments[_i]; } + for (var _a = 0, pseudos_2 = pseudos; _a < pseudos_2.length; _a++) { + var pseudo = pseudos_2[_a]; + delete this.pseudos[pseudo]; + } + return this; + }; + CssSelectorParser4.prototype.registerNumericPseudos = function() { + var pseudos = []; + for (var _i = 0; _i < arguments.length; _i++) { + pseudos[_i] = arguments[_i]; + } + for (var _a = 0, pseudos_3 = pseudos; _a < pseudos_3.length; _a++) { + var pseudo = pseudos_3[_a]; + this.pseudos[pseudo] = 'numeric'; + } + return this; + }; + CssSelectorParser4.prototype.unregisterNumericPseudos = function() { + var pseudos = []; + for (var _i = 0; _i < arguments.length; _i++) { + pseudos[_i] = arguments[_i]; + } + for (var _a = 0, pseudos_4 = pseudos; _a < pseudos_4.length; _a++) { + var pseudo = pseudos_4[_a]; + delete this.pseudos[pseudo]; + } + return this; + }; + CssSelectorParser4.prototype.registerNestingOperators = function() { + var operators = []; + for (var _i = 0; _i < arguments.length; _i++) { + operators[_i] = arguments[_i]; + } + for (var _a = 0, operators_1 = operators; _a < operators_1.length; _a++) { + var operator = operators_1[_a]; + this.ruleNestingOperators[operator] = true; + } + return this; + }; + CssSelectorParser4.prototype.unregisterNestingOperators = function() { + var operators = []; + for (var _i = 0; _i < arguments.length; _i++) { + operators[_i] = arguments[_i]; + } + for (var _a = 0, operators_2 = operators; _a < operators_2.length; _a++) { + var operator = operators_2[_a]; + delete this.ruleNestingOperators[operator]; + } + return this; + }; + CssSelectorParser4.prototype.registerAttrEqualityMods = function() { + var mods = []; + for (var _i = 0; _i < arguments.length; _i++) { + mods[_i] = arguments[_i]; + } + for (var _a = 0, mods_1 = mods; _a < mods_1.length; _a++) { + var mod = mods_1[_a]; + this.attrEqualityMods[mod] = true; + } + return this; + }; + CssSelectorParser4.prototype.unregisterAttrEqualityMods = function() { + var mods = []; + for (var _i = 0; _i < arguments.length; _i++) { + mods[_i] = arguments[_i]; + } + for (var _a = 0, mods_2 = mods; _a < mods_2.length; _a++) { + var mod = mods_2[_a]; + delete this.attrEqualityMods[mod]; + } + return this; + }; + CssSelectorParser4.prototype.enableSubstitutes = function() { + this.substitutesEnabled = true; + return this; + }; + CssSelectorParser4.prototype.disableSubstitutes = function() { + this.substitutesEnabled = false; + return this; + }; + CssSelectorParser4.prototype.parse = function(str) { + return parser_context_1.parseCssSelector(str, 0, this.pseudos, this.attrEqualityMods, this.ruleNestingOperators, this.substitutesEnabled); + }; + CssSelectorParser4.prototype.render = function(path) { + return render_1.renderEntity(path).trim(); + }; + return CssSelectorParser4; + }(); + exports.CssSelectorParser = CssSelectorParser3; + }); + var require_es6_promise = __commonJS(function(exports, module) { + (function(global2, factory) { + _typeof(exports) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global2.ES6Promise = factory(); + })(exports, function() { + 'use strict'; + function objectOrFunction(x) { + var type2 = _typeof(x); + return x !== null && (type2 === 'object' || type2 === 'function'); } - var id = 0; - function nextId() { - return id++; - } - function makePromise(promise) { - promise[PROMISE_ID] = id++; - promise._state = void 0; - promise._result = void 0; - promise._subscribers = []; + function isFunction(x) { + return typeof x === 'function'; } - function validationError() { - return new Error('Array Methods must be provided an Array'); + var _isArray = void 0; + if (Array.isArray) { + _isArray = Array.isArray; + } else { + _isArray = function _isArray(x) { + return Object.prototype.toString.call(x) === '[object Array]'; + }; } - var Enumerator = function() { - function Enumerator2(Constructor, input) { - this._instanceConstructor = Constructor; - this.promise = new Constructor(noop3); - if (!this.promise[PROMISE_ID]) { - makePromise(this.promise); - } - if (isArray(input)) { - this.length = input.length; - this._remaining = input.length; - this._result = new Array(this.length); - if (this.length === 0) { - fulfill(this.promise, this._result); - } else { - this.length = this.length || 0; - this._enumerate(input); - if (this._remaining === 0) { - fulfill(this.promise, this._result); - } - } + var isArray = _isArray; + var len = 0; + var vertxNext = void 0; + var customSchedulerFn = void 0; + var asap = function asap2(callback, arg) { + queue2[len] = callback; + queue2[len + 1] = arg; + len += 2; + if (len === 2) { + if (customSchedulerFn) { + customSchedulerFn(flush); } else { - reject(this.promise, validationError()); + scheduleFlush(); } } - Enumerator2.prototype._enumerate = function _enumerate(input) { - for (var i = 0; this._state === PENDING && i < input.length; i++) { - this._eachEntry(input[i], i); - } + }; + function setScheduler(scheduleFn) { + customSchedulerFn = scheduleFn; + } + function setAsap(asapFn) { + asap = asapFn; + } + var browserWindow = typeof window !== 'undefined' ? window : void 0; + var browserGlobal = browserWindow || {}; + var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver; + var isNode2 = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; + var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined'; + function useNextTick() { + return function() { + return process.nextTick(flush); }; - Enumerator2.prototype._eachEntry = function _eachEntry(entry, i) { - var c = this._instanceConstructor; - var resolve$$1 = c.resolve; - if (resolve$$1 === resolve$1) { - var _then = void 0; - var error = void 0; - var didError = false; - try { - _then = entry.then; - } catch (e) { - didError = true; - error = e; - } - if (_then === then && entry._state !== PENDING) { - this._settledAt(entry._state, i, entry._result); - } else if (typeof _then !== 'function') { - this._remaining--; - this._result[i] = entry; - } else if (c === Promise$1) { - var promise = new c(noop3); - if (didError) { - reject(promise, error); - } else { - handleMaybeThenable(promise, entry, _then); - } - this._willSettleAt(promise, i); - } else { - this._willSettleAt(new c(function(resolve$$12) { - return resolve$$12(entry); - }), i); - } - } else { - this._willSettleAt(resolve$$1(entry), i); - } + } + function useVertxTimer() { + if (typeof vertxNext !== 'undefined') { + return function() { + vertxNext(flush); + }; + } + return useSetTimeout(); + } + function useMutationObserver() { + var iterations = 0; + var observer = new BrowserMutationObserver(flush); + var node = document.createTextNode(''); + observer.observe(node, { + characterData: true + }); + return function() { + node.data = iterations = ++iterations % 2; }; - Enumerator2.prototype._settledAt = function _settledAt(state, i, value) { - var promise = this.promise; - if (promise._state === PENDING) { - this._remaining--; - if (state === REJECTED) { - reject(promise, value); - } else { - this._result[i] = value; - } - } - if (this._remaining === 0) { - fulfill(promise, this._result); - } + } + function useMessageChannel() { + var channel = new MessageChannel(); + channel.port1.onmessage = flush; + return function() { + return channel.port2.postMessage(0); }; - Enumerator2.prototype._willSettleAt = function _willSettleAt(promise, i) { - var enumerator = this; - subscribe2(promise, void 0, function(value) { - return enumerator._settledAt(FULFILLED, i, value); - }, function(reason) { - return enumerator._settledAt(REJECTED, i, reason); - }); + } + function useSetTimeout() { + var globalSetTimeout = setTimeout; + return function() { + return globalSetTimeout(flush, 1); }; - return Enumerator2; - }(); - function all(entries) { - return new Enumerator(this, entries).promise; } - function race(entries) { - var Constructor = this; - if (!isArray(entries)) { - return new Constructor(function(_, reject2) { - return reject2(new TypeError('You must pass an array to race.')); + var queue2 = new Array(1e3); + function flush() { + for (var i = 0; i < len; i += 2) { + var callback = queue2[i]; + var arg = queue2[i + 1]; + callback(arg); + queue2[i] = void 0; + queue2[i + 1] = void 0; + } + len = 0; + } + function attemptVertx() { + try { + var vertx = Function('return this')().require('vertx'); + vertxNext = vertx.runOnLoop || vertx.runOnContext; + return useVertxTimer(); + } catch (e) { + return useSetTimeout(); + } + } + var scheduleFlush = void 0; + if (isNode2) { + scheduleFlush = useNextTick(); + } else if (BrowserMutationObserver) { + scheduleFlush = useMutationObserver(); + } else if (isWorker) { + scheduleFlush = useMessageChannel(); + } else if (browserWindow === void 0 && true) { + scheduleFlush = attemptVertx(); + } else { + scheduleFlush = useSetTimeout(); + } + function then(onFulfillment, onRejection) { + var parent = this; + var child = new this.constructor(noop3); + if (child[PROMISE_ID] === void 0) { + makePromise(child); + } + var _state = parent._state; + if (_state) { + var callback = arguments[_state - 1]; + asap(function() { + return invokeCallback(_state, child, callback, parent._result); }); } else { - return new Constructor(function(resolve2, reject2) { - var length = entries.length; - for (var i = 0; i < length; i++) { - Constructor.resolve(entries[i]).then(resolve2, reject2); - } - }); + subscribe2(parent, child, onFulfillment, onRejection); } + return child; } - function reject$1(reason) { + function resolve$1(object) { var Constructor = this; + if (object && _typeof(object) === 'object' && object.constructor === Constructor) { + return object; + } var promise = new Constructor(noop3); - reject(promise, reason); + resolve(promise, object); return promise; } - function needsResolver() { - throw new TypeError('You must pass a resolver function as the first argument to the promise constructor'); + var PROMISE_ID = Math.random().toString(36).substring(2); + function noop3() {} + var PENDING = void 0; + var FULFILLED = 1; + var REJECTED = 2; + function selfFulfillment() { + return new TypeError('You cannot resolve a promise with itself'); } - function needsNew() { - throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.'); + function cannotReturnOwn() { + return new TypeError('A promises callback cannot return that same promise.'); } - var Promise$1 = function() { - function Promise2(resolver) { - this[PROMISE_ID] = nextId(); - this._result = this._state = void 0; - this._subscribers = []; - if (noop3 !== resolver) { - typeof resolver !== 'function' && needsResolver(); - this instanceof Promise2 ? initializePromise(this, resolver) : needsNew(); - } + function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) { + try { + then$$1.call(value, fulfillmentHandler, rejectionHandler); + } catch (e) { + return e; } - Promise2.prototype['catch'] = function _catch(onRejection) { - return this.then(null, onRejection); - }; - Promise2.prototype['finally'] = function _finally(callback) { - var promise = this; - var constructor = promise.constructor; - if (isFunction(callback)) { - return promise.then(function(value) { - return constructor.resolve(callback()).then(function() { - return value; - }); - }, function(reason) { - return constructor.resolve(callback()).then(function() { - throw reason; - }); - }); + } + function handleForeignThenable(promise, thenable, then$$1) { + asap(function(promise2) { + var sealed = false; + var error = tryThen(then$$1, thenable, function(value) { + if (sealed) { + return; + } + sealed = true; + if (thenable !== value) { + resolve(promise2, value); + } else { + fulfill(promise2, value); + } + }, function(reason) { + if (sealed) { + return; + } + sealed = true; + reject(promise2, reason); + }, 'Settle: ' + (promise2._label || ' unknown promise')); + if (!sealed && error) { + sealed = true; + reject(promise2, error); } - return promise.then(callback, callback); - }; - return Promise2; - }(); - Promise$1.prototype.then = then; - Promise$1.all = all; - Promise$1.race = race; - Promise$1.resolve = resolve$1; - Promise$1.reject = reject$1; - Promise$1._setScheduler = setScheduler; - Promise$1._setAsap = setAsap; - Promise$1._asap = asap; - function polyfill() { - var local = void 0; - if (typeof global !== 'undefined') { - local = global; - } else if (typeof self !== 'undefined') { - local = self; + }, promise); + } + function handleOwnThenable(promise, thenable) { + if (thenable._state === FULFILLED) { + fulfill(promise, thenable._result); + } else if (thenable._state === REJECTED) { + reject(promise, thenable._result); } else { - try { - local = Function('return this')(); - } catch (e) { - throw new Error('polyfill failed because global object is unavailable in this environment'); + subscribe2(thenable, void 0, function(value) { + return resolve(promise, value); + }, function(reason) { + return reject(promise, reason); + }); + } + } + function handleMaybeThenable(promise, maybeThenable, then$$1) { + if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) { + handleOwnThenable(promise, maybeThenable); + } else { + if (then$$1 === void 0) { + fulfill(promise, maybeThenable); + } else if (isFunction(then$$1)) { + handleForeignThenable(promise, maybeThenable, then$$1); + } else { + fulfill(promise, maybeThenable); } } - var P = local.Promise; - if (P) { - var promiseToString = null; + } + function resolve(promise, value) { + if (promise === value) { + reject(promise, selfFulfillment()); + } else if (objectOrFunction(value)) { + var then$$1 = void 0; try { - promiseToString = Object.prototype.toString.call(P.resolve()); - } catch (e) {} - if (promiseToString === '[object Promise]' && !P.cast) { + then$$1 = value.then; + } catch (error) { + reject(promise, error); return; } + handleMaybeThenable(promise, value, then$$1); + } else { + fulfill(promise, value); } - local.Promise = Promise$1; } - Promise$1.polyfill = polyfill; - Promise$1.Promise = Promise$1; - return Promise$1; - }); - }); - var require_typedarray = __commonJS(function(exports) { - var undefined2 = void 0; - var MAX_ARRAY_LENGTH = 1e5; - var ECMAScript = function() { - var opts = Object.prototype.toString, ophop = Object.prototype.hasOwnProperty; - return { - Class: function Class(v) { - return opts.call(v).replace(/^\[object *|\]$/g, ''); - }, - HasProperty: function HasProperty(o, p) { - return p in o; - }, - HasOwnProperty: function HasOwnProperty(o, p) { - return ophop.call(o, p); - }, - IsCallable: function IsCallable(o) { - return typeof o === 'function'; - }, - ToInt32: function ToInt32(v) { - return v >> 0; - }, - ToUint32: function ToUint32(v) { - return v >>> 0; - } - }; - }(); - var LN2 = Math.LN2; - var abs = Math.abs; - var floor = Math.floor; - var log2 = Math.log; - var min = Math.min; - var pow = Math.pow; - var round = Math.round; - function configureProperties(obj) { - if (getOwnPropNames && defineProp) { - var props = getOwnPropNames(obj), i; - for (i = 0; i < props.length; i += 1) { - defineProp(obj, props[i], { - value: obj[props[i]], - writable: false, - enumerable: false, - configurable: false - }); + function publishRejection(promise) { + if (promise._onerror) { + promise._onerror(promise._result); } + publish(promise); } - } - var defineProp; - if (Object.defineProperty && function() { - try { - Object.defineProperty({}, 'x', {}); - return true; - } catch (e) { - return false; - } - }()) { - defineProp = Object.defineProperty; - } else { - defineProp = function defineProp(o, p, desc) { - if (!o === Object(o)) { - throw new TypeError('Object.defineProperty called on non-object'); - } - if (ECMAScript.HasProperty(desc, 'get') && Object.prototype.__defineGetter__) { - Object.prototype.__defineGetter__.call(o, p, desc.get); - } - if (ECMAScript.HasProperty(desc, 'set') && Object.prototype.__defineSetter__) { - Object.prototype.__defineSetter__.call(o, p, desc.set); + function fulfill(promise, value) { + if (promise._state !== PENDING) { + return; } - if (ECMAScript.HasProperty(desc, 'value')) { - o[p] = desc.value; + promise._result = value; + promise._state = FULFILLED; + if (promise._subscribers.length !== 0) { + asap(publish, promise); } - return o; - }; - } - var getOwnPropNames = Object.getOwnPropertyNames || function(o) { - if (o !== Object(o)) { - throw new TypeError('Object.getOwnPropertyNames called on non-object'); } - var props = [], p; - for (p in o) { - if (ECMAScript.HasOwnProperty(o, p)) { - props.push(p); + function reject(promise, reason) { + if (promise._state !== PENDING) { + return; } + promise._state = REJECTED; + promise._result = reason; + asap(publishRejection, promise); } - return props; - }; - function makeArrayAccessors(obj) { - if (!defineProp) { - return; - } - if (obj.length > MAX_ARRAY_LENGTH) { - throw new RangeError('Array too large for polyfill'); - } - function makeArrayAccessor(index) { - defineProp(obj, index, { - get: function get() { - return obj._getter(index); - }, - set: function set(v) { - obj._setter(index, v); - }, - enumerable: true, - configurable: false - }); - } - var i; - for (i = 0; i < obj.length; i += 1) { - makeArrayAccessor(i); + function subscribe2(parent, child, onFulfillment, onRejection) { + var _subscribers = parent._subscribers; + var length = _subscribers.length; + parent._onerror = null; + _subscribers[length] = child; + _subscribers[length + FULFILLED] = onFulfillment; + _subscribers[length + REJECTED] = onRejection; + if (length === 0 && parent._state) { + asap(publish, parent); + } } - } - function as_signed(value, bits) { - var s = 32 - bits; - return value << s >> s; - } - function as_unsigned(value, bits) { - var s = 32 - bits; - return value << s >>> s; - } - function packI8(n) { - return [ n & 255 ]; - } - function unpackI8(bytes) { - return as_signed(bytes[0], 8); - } - function packU8(n) { - return [ n & 255 ]; - } - function unpackU8(bytes) { - return as_unsigned(bytes[0], 8); - } - function packU8Clamped(n) { - n = round(Number(n)); - return [ n < 0 ? 0 : n > 255 ? 255 : n & 255 ]; - } - function packI16(n) { - return [ n >> 8 & 255, n & 255 ]; - } - function unpackI16(bytes) { - return as_signed(bytes[0] << 8 | bytes[1], 16); - } - function packU16(n) { - return [ n >> 8 & 255, n & 255 ]; - } - function unpackU16(bytes) { - return as_unsigned(bytes[0] << 8 | bytes[1], 16); - } - function packI32(n) { - return [ n >> 24 & 255, n >> 16 & 255, n >> 8 & 255, n & 255 ]; - } - function unpackI32(bytes) { - return as_signed(bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], 32); - } - function packU32(n) { - return [ n >> 24 & 255, n >> 16 & 255, n >> 8 & 255, n & 255 ]; - } - function unpackU32(bytes) { - return as_unsigned(bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], 32); - } - function packIEEE754(v, ebits, fbits) { - var bias = (1 << ebits - 1) - 1, s, e, f, ln, i, bits, str, bytes; - function roundToEven(n) { - var w = floor(n), f2 = n - w; - if (f2 < .5) { - return w; + function publish(promise) { + var subscribers = promise._subscribers; + var settled = promise._state; + if (subscribers.length === 0) { + return; } - if (f2 > .5) { - return w + 1; + var child = void 0, callback = void 0, detail = promise._result; + for (var i = 0; i < subscribers.length; i += 3) { + child = subscribers[i]; + callback = subscribers[i + settled]; + if (child) { + invokeCallback(settled, child, callback, detail); + } else { + callback(detail); + } } - return w % 2 ? w + 1 : w; + promise._subscribers.length = 0; } - if (v !== v) { - e = (1 << ebits) - 1; - f = pow(2, fbits - 1); - s = 0; - } else if (v === Infinity || v === -Infinity) { - e = (1 << ebits) - 1; - f = 0; - s = v < 0 ? 1 : 0; - } else if (v === 0) { - e = 0; - f = 0; - s = 1 / v === -Infinity ? 1 : 0; - } else { - s = v < 0; - v = abs(v); - if (v >= pow(2, 1 - bias)) { - e = min(floor(log2(v) / LN2), 1023); - f = roundToEven(v / pow(2, e) * pow(2, fbits)); - if (f / pow(2, fbits) >= 2) { - e = e + 1; - f = 1; + function invokeCallback(settled, promise, callback, detail) { + var hasCallback = isFunction(callback), value = void 0, error = void 0, succeeded = true; + if (hasCallback) { + try { + value = callback(detail); + } catch (e) { + succeeded = false; + error = e; } - if (e > bias) { - e = (1 << ebits) - 1; - f = 0; - } else { - e = e + bias; - f = f - pow(2, fbits); + if (promise === value) { + reject(promise, cannotReturnOwn()); + return; } } else { - e = 0; - f = roundToEven(v / pow(2, 1 - bias - fbits)); + value = detail; + } + if (promise._state !== PENDING) {} else if (hasCallback && succeeded) { + resolve(promise, value); + } else if (succeeded === false) { + reject(promise, error); + } else if (settled === FULFILLED) { + fulfill(promise, value); + } else if (settled === REJECTED) { + reject(promise, value); } } - bits = []; - for (i = fbits; i; i -= 1) { - bits.push(f % 2 ? 1 : 0); - f = floor(f / 2); - } - for (i = ebits; i; i -= 1) { - bits.push(e % 2 ? 1 : 0); - e = floor(e / 2); - } - bits.push(s ? 1 : 0); - bits.reverse(); - str = bits.join(''); - bytes = []; - while (str.length) { - bytes.push(parseInt(str.substring(0, 8), 2)); - str = str.substring(8); - } - return bytes; - } - function unpackIEEE754(bytes, ebits, fbits) { - var bits = [], i, j, b, str, bias, s, e, f; - for (i = bytes.length; i; i -= 1) { - b = bytes[i - 1]; - for (j = 8; j; j -= 1) { - bits.push(b % 2 ? 1 : 0); - b = b >> 1; + function initializePromise(promise, resolver) { + try { + resolver(function resolvePromise(value) { + resolve(promise, value); + }, function rejectPromise(reason) { + reject(promise, reason); + }); + } catch (e) { + reject(promise, e); } } - bits.reverse(); - str = bits.join(''); - bias = (1 << ebits - 1) - 1; - s = parseInt(str.substring(0, 1), 2) ? -1 : 1; - e = parseInt(str.substring(1, 1 + ebits), 2); - f = parseInt(str.substring(1 + ebits), 2); - if (e === (1 << ebits) - 1) { - return f !== 0 ? NaN : s * Infinity; - } else if (e > 0) { - return s * pow(2, e - bias) * (1 + f / pow(2, fbits)); - } else if (f !== 0) { - return s * pow(2, -(bias - 1)) * (f / pow(2, fbits)); - } else { - return s < 0 ? -0 : 0; + var id = 0; + function nextId() { + return id++; } - } - function unpackF64(b) { - return unpackIEEE754(b, 11, 52); - } - function packF64(v) { - return packIEEE754(v, 11, 52); - } - function unpackF32(b) { - return unpackIEEE754(b, 8, 23); - } - function packF32(v) { - return packIEEE754(v, 8, 23); - } - (function() { - var ArrayBuffer = function ArrayBuffer2(length) { - length = ECMAScript.ToInt32(length); - if (length < 0) { - throw new RangeError('ArrayBuffer size is not a small enough positive integer'); - } - this.byteLength = length; - this._bytes = []; - this._bytes.length = length; - var i; - for (i = 0; i < this.byteLength; i += 1) { - this._bytes[i] = 0; - } - configureProperties(this); - }; - exports.ArrayBuffer = exports.ArrayBuffer || ArrayBuffer; - var ArrayBufferView = function ArrayBufferView2() {}; - function makeConstructor(bytesPerElement, pack, unpack) { - var _ctor; - _ctor = function ctor(buffer, byteOffset, length) { - var array, sequence, i, s; - if (!arguments.length || typeof arguments[0] === 'number') { - this.length = ECMAScript.ToInt32(arguments[0]); - if (length < 0) { - throw new RangeError('ArrayBufferView size is not a small enough positive integer'); - } - this.byteLength = this.length * this.BYTES_PER_ELEMENT; - this.buffer = new ArrayBuffer(this.byteLength); - this.byteOffset = 0; - } else if (_typeof(arguments[0]) === 'object' && arguments[0].constructor === _ctor) { - array = arguments[0]; - this.length = array.length; - this.byteLength = this.length * this.BYTES_PER_ELEMENT; - this.buffer = new ArrayBuffer(this.byteLength); - this.byteOffset = 0; - for (i = 0; i < this.length; i += 1) { - this._setter(i, array._getter(i)); - } - } else if (_typeof(arguments[0]) === 'object' && !(arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) { - sequence = arguments[0]; - this.length = ECMAScript.ToUint32(sequence.length); - this.byteLength = this.length * this.BYTES_PER_ELEMENT; - this.buffer = new ArrayBuffer(this.byteLength); - this.byteOffset = 0; - for (i = 0; i < this.length; i += 1) { - s = sequence[i]; - this._setter(i, Number(s)); - } - } else if (_typeof(arguments[0]) === 'object' && (arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) { - this.buffer = buffer; - this.byteOffset = ECMAScript.ToUint32(byteOffset); - if (this.byteOffset > this.buffer.byteLength) { - throw new RangeError('byteOffset out of range'); - } - if (this.byteOffset % this.BYTES_PER_ELEMENT) { - throw new RangeError('ArrayBuffer length minus the byteOffset is not a multiple of the element size.'); - } - if (arguments.length < 3) { - this.byteLength = this.buffer.byteLength - this.byteOffset; - if (this.byteLength % this.BYTES_PER_ELEMENT) { - throw new RangeError('length of buffer minus byteOffset not a multiple of the element size'); - } - this.length = this.byteLength / this.BYTES_PER_ELEMENT; + function makePromise(promise) { + promise[PROMISE_ID] = id++; + promise._state = void 0; + promise._result = void 0; + promise._subscribers = []; + } + function validationError() { + return new Error('Array Methods must be provided an Array'); + } + var Enumerator = function() { + function Enumerator2(Constructor, input) { + this._instanceConstructor = Constructor; + this.promise = new Constructor(noop3); + if (!this.promise[PROMISE_ID]) { + makePromise(this.promise); + } + if (isArray(input)) { + this.length = input.length; + this._remaining = input.length; + this._result = new Array(this.length); + if (this.length === 0) { + fulfill(this.promise, this._result); } else { - this.length = ECMAScript.ToUint32(length); - this.byteLength = this.length * this.BYTES_PER_ELEMENT; - } - if (this.byteOffset + this.byteLength > this.buffer.byteLength) { - throw new RangeError('byteOffset and length reference an area beyond the end of the buffer'); + this.length = this.length || 0; + this._enumerate(input); + if (this._remaining === 0) { + fulfill(this.promise, this._result); + } } } else { - throw new TypeError('Unexpected argument type(s)'); - } - this.constructor = _ctor; - configureProperties(this); - makeArrayAccessors(this); - }; - _ctor.prototype = new ArrayBufferView(); - _ctor.prototype.BYTES_PER_ELEMENT = bytesPerElement; - _ctor.prototype._pack = pack; - _ctor.prototype._unpack = unpack; - _ctor.BYTES_PER_ELEMENT = bytesPerElement; - _ctor.prototype._getter = function(index) { - if (arguments.length < 1) { - throw new SyntaxError('Not enough arguments'); - } - index = ECMAScript.ToUint32(index); - if (index >= this.length) { - return undefined2; - } - var bytes = [], i, o; - for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT; i < this.BYTES_PER_ELEMENT; i += 1, - o += 1) { - bytes.push(this.buffer._bytes[o]); - } - return this._unpack(bytes); - }; - _ctor.prototype.get = _ctor.prototype._getter; - _ctor.prototype._setter = function(index, value) { - if (arguments.length < 2) { - throw new SyntaxError('Not enough arguments'); - } - index = ECMAScript.ToUint32(index); - if (index >= this.length) { - return undefined2; + reject(this.promise, validationError()); } - var bytes = this._pack(value), i, o; - for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT; i < this.BYTES_PER_ELEMENT; i += 1, - o += 1) { - this.buffer._bytes[o] = bytes[i]; + } + Enumerator2.prototype._enumerate = function _enumerate(input) { + for (var i = 0; this._state === PENDING && i < input.length; i++) { + this._eachEntry(input[i], i); } }; - _ctor.prototype.set = function(index, value) { - if (arguments.length < 1) { - throw new SyntaxError('Not enough arguments'); - } - var array, sequence, offset, len, i, s, d, byteOffset, byteLength, tmp; - if (_typeof(arguments[0]) === 'object' && arguments[0].constructor === this.constructor) { - array = arguments[0]; - offset = ECMAScript.ToUint32(arguments[1]); - if (offset + array.length > this.length) { - throw new RangeError('Offset plus length of array is out of range'); + Enumerator2.prototype._eachEntry = function _eachEntry(entry, i) { + var c4 = this._instanceConstructor; + var resolve$$1 = c4.resolve; + if (resolve$$1 === resolve$1) { + var _then = void 0; + var error = void 0; + var didError = false; + try { + _then = entry.then; + } catch (e) { + didError = true; + error = e; } - byteOffset = this.byteOffset + offset * this.BYTES_PER_ELEMENT; - byteLength = array.length * this.BYTES_PER_ELEMENT; - if (array.buffer === this.buffer) { - tmp = []; - for (i = 0, s = array.byteOffset; i < byteLength; i += 1, s += 1) { - tmp[i] = array.buffer._bytes[s]; - } - for (i = 0, d = byteOffset; i < byteLength; i += 1, d += 1) { - this.buffer._bytes[d] = tmp[i]; + if (_then === then && entry._state !== PENDING) { + this._settledAt(entry._state, i, entry._result); + } else if (typeof _then !== 'function') { + this._remaining--; + this._result[i] = entry; + } else if (c4 === Promise$1) { + var promise = new c4(noop3); + if (didError) { + reject(promise, error); + } else { + handleMaybeThenable(promise, entry, _then); } + this._willSettleAt(promise, i); } else { - for (i = 0, s = array.byteOffset, d = byteOffset; i < byteLength; i += 1, - s += 1, d += 1) { - this.buffer._bytes[d] = array.buffer._bytes[s]; - } - } - } else if (_typeof(arguments[0]) === 'object' && typeof arguments[0].length !== 'undefined') { - sequence = arguments[0]; - len = ECMAScript.ToUint32(sequence.length); - offset = ECMAScript.ToUint32(arguments[1]); - if (offset + len > this.length) { - throw new RangeError('Offset plus length of array is out of range'); - } - for (i = 0; i < len; i += 1) { - s = sequence[i]; - this._setter(offset + i, Number(s)); + this._willSettleAt(new c4(function(resolve$$12) { + return resolve$$12(entry); + }), i); } } else { - throw new TypeError('Unexpected argument type(s)'); + this._willSettleAt(resolve$$1(entry), i); } }; - _ctor.prototype.subarray = function(start, end) { - function clamp2(v, min2, max) { - return v < min2 ? min2 : v > max ? max : v; - } - start = ECMAScript.ToInt32(start); - end = ECMAScript.ToInt32(end); - if (arguments.length < 1) { - start = 0; - } - if (arguments.length < 2) { - end = this.length; - } - if (start < 0) { - start = this.length + start; - } - if (end < 0) { - end = this.length + end; + Enumerator2.prototype._settledAt = function _settledAt(state, i, value) { + var promise = this.promise; + if (promise._state === PENDING) { + this._remaining--; + if (state === REJECTED) { + reject(promise, value); + } else { + this._result[i] = value; + } } - start = clamp2(start, 0, this.length); - end = clamp2(end, 0, this.length); - var len = end - start; - if (len < 0) { - len = 0; + if (this._remaining === 0) { + fulfill(promise, this._result); } - return new this.constructor(this.buffer, this.byteOffset + start * this.BYTES_PER_ELEMENT, len); }; - return _ctor; + Enumerator2.prototype._willSettleAt = function _willSettleAt(promise, i) { + var enumerator = this; + subscribe2(promise, void 0, function(value) { + return enumerator._settledAt(FULFILLED, i, value); + }, function(reason) { + return enumerator._settledAt(REJECTED, i, reason); + }); + }; + return Enumerator2; + }(); + function all(entries) { + return new Enumerator(this, entries).promise; } - var Int8Array = makeConstructor(1, packI8, unpackI8); - var Uint8Array2 = makeConstructor(1, packU8, unpackU8); - var Uint8ClampedArray2 = makeConstructor(1, packU8Clamped, unpackU8); - var Int16Array = makeConstructor(2, packI16, unpackI16); - var Uint16Array = makeConstructor(2, packU16, unpackU16); - var Int32Array = makeConstructor(4, packI32, unpackI32); - var Uint32Array3 = makeConstructor(4, packU32, unpackU32); - var Float32Array = makeConstructor(4, packF32, unpackF32); - var Float64Array = makeConstructor(8, packF64, unpackF64); - exports.Int8Array = exports.Int8Array || Int8Array; - exports.Uint8Array = exports.Uint8Array || Uint8Array2; - exports.Uint8ClampedArray = exports.Uint8ClampedArray || Uint8ClampedArray2; - exports.Int16Array = exports.Int16Array || Int16Array; - exports.Uint16Array = exports.Uint16Array || Uint16Array; - exports.Int32Array = exports.Int32Array || Int32Array; - exports.Uint32Array = exports.Uint32Array || Uint32Array3; - exports.Float32Array = exports.Float32Array || Float32Array; - exports.Float64Array = exports.Float64Array || Float64Array; - })(); - (function() { - function r(array, index) { - return ECMAScript.IsCallable(array.get) ? array.get(index) : array[index]; - } - var IS_BIG_ENDIAN = function() { - var u16array = new exports.Uint16Array([ 4660 ]), u8array = new exports.Uint8Array(u16array.buffer); - return r(u8array, 0) === 18; - }(); - var DataView = function DataView2(buffer, byteOffset, byteLength) { - if (arguments.length === 0) { - buffer = new exports.ArrayBuffer(0); - } else if (!(buffer instanceof exports.ArrayBuffer || ECMAScript.Class(buffer) === 'ArrayBuffer')) { - throw new TypeError('TypeError'); - } - this.buffer = buffer || new exports.ArrayBuffer(0); - this.byteOffset = ECMAScript.ToUint32(byteOffset); - if (this.byteOffset > this.buffer.byteLength) { - throw new RangeError('byteOffset out of range'); - } - if (arguments.length < 3) { - this.byteLength = this.buffer.byteLength - this.byteOffset; + function race(entries) { + var Constructor = this; + if (!isArray(entries)) { + return new Constructor(function(_, reject2) { + return reject2(new TypeError('You must pass an array to race.')); + }); } else { - this.byteLength = ECMAScript.ToUint32(byteLength); - } - if (this.byteOffset + this.byteLength > this.buffer.byteLength) { - throw new RangeError('byteOffset and length reference an area beyond the end of the buffer'); + return new Constructor(function(resolve2, reject2) { + var length = entries.length; + for (var i = 0; i < length; i++) { + Constructor.resolve(entries[i]).then(resolve2, reject2); + } + }); } - configureProperties(this); - }; - function makeGetter(arrayType) { - return function(byteOffset, littleEndian) { - byteOffset = ECMAScript.ToUint32(byteOffset); - if (byteOffset + arrayType.BYTES_PER_ELEMENT > this.byteLength) { - throw new RangeError('Array index out of range'); - } - byteOffset += this.byteOffset; - var uint8Array = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT), bytes = [], i; - for (i = 0; i < arrayType.BYTES_PER_ELEMENT; i += 1) { - bytes.push(r(uint8Array, i)); - } - if (Boolean(littleEndian) === Boolean(IS_BIG_ENDIAN)) { - bytes.reverse(); - } - return r(new arrayType(new exports.Uint8Array(bytes).buffer), 0); - }; } - DataView.prototype.getUint8 = makeGetter(exports.Uint8Array); - DataView.prototype.getInt8 = makeGetter(exports.Int8Array); - DataView.prototype.getUint16 = makeGetter(exports.Uint16Array); - DataView.prototype.getInt16 = makeGetter(exports.Int16Array); - DataView.prototype.getUint32 = makeGetter(exports.Uint32Array); - DataView.prototype.getInt32 = makeGetter(exports.Int32Array); - DataView.prototype.getFloat32 = makeGetter(exports.Float32Array); - DataView.prototype.getFloat64 = makeGetter(exports.Float64Array); - function makeSetter(arrayType) { - return function(byteOffset, value, littleEndian) { - byteOffset = ECMAScript.ToUint32(byteOffset); - if (byteOffset + arrayType.BYTES_PER_ELEMENT > this.byteLength) { - throw new RangeError('Array index out of range'); - } - var typeArray = new arrayType([ value ]), byteArray = new exports.Uint8Array(typeArray.buffer), bytes = [], i, byteView; - for (i = 0; i < arrayType.BYTES_PER_ELEMENT; i += 1) { - bytes.push(r(byteArray, i)); + function reject$1(reason) { + var Constructor = this; + var promise = new Constructor(noop3); + reject(promise, reason); + return promise; + } + function needsResolver() { + throw new TypeError('You must pass a resolver function as the first argument to the promise constructor'); + } + function needsNew() { + throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.'); + } + var Promise$1 = function() { + function Promise2(resolver) { + this[PROMISE_ID] = nextId(); + this._result = this._state = void 0; + this._subscribers = []; + if (noop3 !== resolver) { + typeof resolver !== 'function' && needsResolver(); + this instanceof Promise2 ? initializePromise(this, resolver) : needsNew(); } - if (Boolean(littleEndian) === Boolean(IS_BIG_ENDIAN)) { - bytes.reverse(); + } + Promise2.prototype['catch'] = function _catch(onRejection) { + return this.then(null, onRejection); + }; + Promise2.prototype['finally'] = function _finally(callback) { + var promise = this; + var constructor = promise.constructor; + if (isFunction(callback)) { + return promise.then(function(value) { + return constructor.resolve(callback()).then(function() { + return value; + }); + }, function(reason) { + return constructor.resolve(callback()).then(function() { + throw reason; + }); + }); } - byteView = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT); - byteView.set(bytes); + return promise.then(callback, callback); }; - } - DataView.prototype.setUint8 = makeSetter(exports.Uint8Array); - DataView.prototype.setInt8 = makeSetter(exports.Int8Array); - DataView.prototype.setUint16 = makeSetter(exports.Uint16Array); - DataView.prototype.setInt16 = makeSetter(exports.Int16Array); - DataView.prototype.setUint32 = makeSetter(exports.Uint32Array); - DataView.prototype.setInt32 = makeSetter(exports.Int32Array); - DataView.prototype.setFloat32 = makeSetter(exports.Float32Array); - DataView.prototype.setFloat64 = makeSetter(exports.Float64Array); - exports.DataView = exports.DataView || DataView; - })(); - }); - var require_weakmap_polyfill = __commonJS(function(exports) { - (function(self2) { - 'use strict'; - if (self2.WeakMap) { - return; - } - var hasOwnProperty2 = Object.prototype.hasOwnProperty; - var hasDefine = Object.defineProperty && function() { - try { - return Object.defineProperty({}, 'x', { - value: 1 - }).x === 1; - } catch (e) {} + return Promise2; }(); - var defineProperty = function defineProperty(object, name, value) { - if (hasDefine) { - Object.defineProperty(object, name, { - configurable: true, - writable: true, - value: value - }); + Promise$1.prototype.then = then; + Promise$1.all = all; + Promise$1.race = race; + Promise$1.resolve = resolve$1; + Promise$1.reject = reject$1; + Promise$1._setScheduler = setScheduler; + Promise$1._setAsap = setAsap; + Promise$1._asap = asap; + function polyfill() { + var local = void 0; + if (typeof global !== 'undefined') { + local = global; + } else if (typeof self !== 'undefined') { + local = self; } else { - object[name] = value; - } - }; - self2.WeakMap = function() { - function WeakMap2() { - if (this === void 0) { - throw new TypeError('Constructor WeakMap requires \'new\''); - } - defineProperty(this, '_id', genId('_WeakMap')); - if (arguments.length > 0) { - throw new TypeError('WeakMap iterable is not supported'); + try { + local = Function('return this')(); + } catch (e) { + throw new Error('polyfill failed because global object is unavailable in this environment'); } } - defineProperty(WeakMap2.prototype, 'delete', function(key) { - checkInstance(this, 'delete'); - if (!isObject(key)) { - return false; - } - var entry = key[this._id]; - if (entry && entry[0] === key) { - delete key[this._id]; - return true; - } - return false; - }); - defineProperty(WeakMap2.prototype, 'get', function(key) { - checkInstance(this, 'get'); - if (!isObject(key)) { - return void 0; - } - var entry = key[this._id]; - if (entry && entry[0] === key) { - return entry[1]; - } - return void 0; - }); - defineProperty(WeakMap2.prototype, 'has', function(key) { - checkInstance(this, 'has'); - if (!isObject(key)) { - return false; - } - var entry = key[this._id]; - if (entry && entry[0] === key) { - return true; - } - return false; - }); - defineProperty(WeakMap2.prototype, 'set', function(key, value) { - checkInstance(this, 'set'); - if (!isObject(key)) { - throw new TypeError('Invalid value used as weak map key'); - } - var entry = key[this._id]; - if (entry && entry[0] === key) { - entry[1] = value; - return this; - } - defineProperty(key, this._id, [ key, value ]); - return this; - }); - function checkInstance(x, methodName) { - if (!isObject(x) || !hasOwnProperty2.call(x, '_id')) { - throw new TypeError(methodName + ' method called on incompatible receiver ' + _typeof(x)); + var P = local.Promise; + if (P) { + var promiseToString = null; + try { + promiseToString = Object.prototype.toString.call(P.resolve()); + } catch (e) {} + if (promiseToString === '[object Promise]' && !P.cast) { + return; } } - function genId(prefix) { - return prefix + '_' + rand() + '.' + rand(); - } - function rand() { - return Math.random().toString().substring(2); - } - defineProperty(WeakMap2, '_polyfill', true); - return WeakMap2; - }(); - function isObject(x) { - return Object(x) === x; + local.Promise = Promise$1; } - })(typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : exports); - }); - var definitions = [ { - name: 'NA', - value: 'inapplicable', - priority: 0, - group: 'inapplicable' - }, { - name: 'PASS', - value: 'passed', - priority: 1, - group: 'passes' - }, { - name: 'CANTTELL', - value: 'cantTell', - priority: 2, - group: 'incomplete' - }, { - name: 'FAIL', - value: 'failed', - priority: 3, - group: 'violations' - } ]; - var constants = { - helpUrlBase: 'https://dequeuniversity.com/rules/', - gridSize: 200, - results: [], - resultGroups: [], - resultGroupMap: {}, - impact: Object.freeze([ 'minor', 'moderate', 'serious', 'critical' ]), - preload: Object.freeze({ - assets: [ 'cssom', 'media' ], - timeout: 1e4 - }), - allOrigins: '', - sameOrigin: '' - }; - definitions.forEach(function(definition) { - var name = definition.name; - var value = definition.value; - var priority = definition.priority; - var group = definition.group; - constants[name] = value; - constants[name + '_PRIO'] = priority; - constants[name + '_GROUP'] = group; - constants.results[priority] = value; - constants.resultGroups[priority] = group; - constants.resultGroupMap[value] = group; + Promise$1.polyfill = polyfill; + Promise$1.Promise = Promise$1; + return Promise$1; + }); }); - Object.freeze(constants.results); - Object.freeze(constants.resultGroups); - Object.freeze(constants.resultGroupMap); - Object.freeze(constants); - var constants_default = constants; - function log() { - if ((typeof console === 'undefined' ? 'undefined' : _typeof(console)) === 'object' && console.log) { - Function.prototype.apply.call(console.log, console, arguments); + var require_typedarray = __commonJS(function(exports) { + var MAX_ARRAY_LENGTH = 1e5; + var ECMAScript = function() { + var opts = Object.prototype.toString; + var ophop = Object.prototype.hasOwnProperty; + return { + Class: function Class(v) { + return opts.call(v).replace(/^\[object *|\]$/g, ''); + }, + HasProperty: function HasProperty(o, p2) { + return p2 in o; + }, + HasOwnProperty: function HasOwnProperty(o, p2) { + return ophop.call(o, p2); + }, + IsCallable: function IsCallable(o) { + return typeof o === 'function'; + }, + ToInt32: function ToInt32(v) { + return v >> 0; + }, + ToUint32: function ToUint32(v) { + return v >>> 0; + } + }; + }(); + var LN2 = Math.LN2; + var abs = Math.abs; + var floor = Math.floor; + var log2 = Math.log; + var min = Math.min; + var pow = Math.pow; + var round = Math.round; + function clamp3(v, minimum, max2) { + return v < minimum ? minimum : v > max2 ? max2 : v; } - } - var log_default = log; - var whitespaceRegex = /[\t\r\n\f]/g; - var AbstractVirtualNode = function() { - function AbstractVirtualNode() { - _classCallCheck(this, AbstractVirtualNode); - this.parent = void 0; + var getOwnPropNames = Object.getOwnPropertyNames || function(o) { + if (o !== Object(o)) { + throw new TypeError('Object.getOwnPropertyNames called on non-object'); + } + var props = [], p2; + for (p2 in o) { + if (ECMAScript.HasOwnProperty(o, p2)) { + props.push(p2); + } + } + return props; + }; + var defineProp; + if (Object.defineProperty && function() { + try { + Object.defineProperty({}, 'x', {}); + return true; + } catch (e) { + return false; + } + }()) { + defineProp = Object.defineProperty; + } else { + defineProp = function defineProp(o, p2, desc) { + if (!o === Object(o)) { + throw new TypeError('Object.defineProperty called on non-object'); + } + if (ECMAScript.HasProperty(desc, 'get') && Object.prototype.__defineGetter__) { + Object.prototype.__defineGetter__.call(o, p2, desc.get); + } + if (ECMAScript.HasProperty(desc, 'set') && Object.prototype.__defineSetter__) { + Object.prototype.__defineSetter__.call(o, p2, desc.set); + } + if (ECMAScript.HasProperty(desc, 'value')) { + o[p2] = desc.value; + } + return o; + }; } - _createClass(AbstractVirtualNode, [ { - key: 'props', - get: function get() { - throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties'); + function configureProperties(obj) { + if (getOwnPropNames && defineProp) { + var props = getOwnPropNames(obj), i; + for (i = 0; i < props.length; i += 1) { + defineProp(obj, props[i], { + value: obj[props[i]], + writable: false, + enumerable: false, + configurable: false + }); + } } - }, { - key: 'attrNames', - get: function get() { - throw new Error('VirtualNode class must have an "attrNames" property'); + } + function makeArrayAccessors(obj) { + if (!defineProp) { + return; } - }, { - key: 'attr', - value: function attr() { - throw new Error('VirtualNode class must have an "attr" function'); + if (obj.length > MAX_ARRAY_LENGTH) { + throw new RangeError('Array too large for polyfill'); } - }, { - key: 'hasAttr', - value: function hasAttr() { - throw new Error('VirtualNode class must have a "hasAttr" function'); + function makeArrayAccessor(index) { + defineProp(obj, index, { + get: function get() { + return obj._getter(index); + }, + set: function set(v) { + obj._setter(index, v); + }, + enumerable: true, + configurable: false + }); } - }, { - key: 'hasClass', - value: function hasClass(className) { - var classAttr = this.attr('class'); - if (!classAttr) { - return false; + var i; + for (i = 0; i < obj.length; i += 1) { + makeArrayAccessor(i); + } + } + function as_signed(value, bits) { + var s = 32 - bits; + return value << s >> s; + } + function as_unsigned(value, bits) { + var s = 32 - bits; + return value << s >>> s; + } + function packI8(n2) { + return [ n2 & 255 ]; + } + function unpackI8(bytes) { + return as_signed(bytes[0], 8); + } + function packU8(n2) { + return [ n2 & 255 ]; + } + function unpackU8(bytes) { + return as_unsigned(bytes[0], 8); + } + function packU8Clamped(n2) { + n2 = round(Number(n2)); + return [ n2 < 0 ? 0 : n2 > 255 ? 255 : n2 & 255 ]; + } + function packI16(n2) { + return [ n2 >> 8 & 255, n2 & 255 ]; + } + function unpackI16(bytes) { + return as_signed(bytes[0] << 8 | bytes[1], 16); + } + function packU16(n2) { + return [ n2 >> 8 & 255, n2 & 255 ]; + } + function unpackU16(bytes) { + return as_unsigned(bytes[0] << 8 | bytes[1], 16); + } + function packI32(n2) { + return [ n2 >> 24 & 255, n2 >> 16 & 255, n2 >> 8 & 255, n2 & 255 ]; + } + function unpackI32(bytes) { + return as_signed(bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], 32); + } + function packU32(n2) { + return [ n2 >> 24 & 255, n2 >> 16 & 255, n2 >> 8 & 255, n2 & 255 ]; + } + function unpackU32(bytes) { + return as_unsigned(bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], 32); + } + function packIEEE754(v, ebits, fbits) { + var bias = (1 << ebits - 1) - 1; + var s, e, f, i, bits, str, bytes; + function roundToEven(n2) { + var w = floor(n2); + var fl = n2 - w; + if (fl < .5) { + return w; } - var selector = ' ' + className + ' '; - return (' ' + classAttr + ' ').replace(whitespaceRegex, ' ').indexOf(selector) >= 0; + if (fl > .5) { + return w + 1; + } + return w % 2 ? w + 1 : w; } - } ]); - return AbstractVirtualNode; - }(); - var abstract_virtual_node_default = AbstractVirtualNode; - var utils_exports = {}; - __export(utils_exports, { - DqElement: function DqElement() { - return dq_element_default; - }, - aggregate: function aggregate() { - return aggregate_default; - }, - aggregateChecks: function aggregateChecks() { - return aggregate_checks_default; - }, - aggregateNodeResults: function aggregateNodeResults() { - return aggregate_node_results_default; - }, - aggregateResult: function aggregateResult() { - return aggregate_result_default; - }, - areStylesSet: function areStylesSet() { - return are_styles_set_default; - }, - assert: function assert() { - return assert_default; - }, - checkHelper: function checkHelper() { - return check_helper_default; - }, - clone: function clone() { - return clone_default; - }, - closest: function closest() { - return closest_default; - }, - collectResultsFromFrames: function collectResultsFromFrames() { - return _collectResultsFromFrames; - }, - contains: function contains() { + if (v !== v) { + e = (1 << ebits) - 1; + f = pow(2, fbits - 1); + s = 0; + } else if (v === Infinity || v === -Infinity) { + e = (1 << ebits) - 1; + f = 0; + s = v < 0 ? 1 : 0; + } else if (v === 0) { + e = 0; + f = 0; + s = 1 / v === -Infinity ? 1 : 0; + } else { + s = v < 0; + v = abs(v); + if (v >= pow(2, 1 - bias)) { + e = min(floor(log2(v) / LN2), 1023); + f = roundToEven(v / pow(2, e) * pow(2, fbits)); + if (f / pow(2, fbits) >= 2) { + e = e + 1; + f = 1; + } + if (e > bias) { + e = (1 << ebits) - 1; + f = 0; + } else { + e = e + bias; + f = f - pow(2, fbits); + } + } else { + e = 0; + f = roundToEven(v / pow(2, 1 - bias - fbits)); + } + } + bits = []; + for (i = fbits; i; i -= 1) { + bits.push(f % 2 ? 1 : 0); + f = floor(f / 2); + } + for (i = ebits; i; i -= 1) { + bits.push(e % 2 ? 1 : 0); + e = floor(e / 2); + } + bits.push(s ? 1 : 0); + bits.reverse(); + str = bits.join(''); + bytes = []; + while (str.length) { + bytes.push(parseInt(str.substring(0, 8), 2)); + str = str.substring(8); + } + return bytes; + } + function unpackIEEE754(bytes, ebits, fbits) { + var bits = [], i, j, b2, str, bias, s, e, f; + for (i = bytes.length; i; i -= 1) { + b2 = bytes[i - 1]; + for (j = 8; j; j -= 1) { + bits.push(b2 % 2 ? 1 : 0); + b2 = b2 >> 1; + } + } + bits.reverse(); + str = bits.join(''); + bias = (1 << ebits - 1) - 1; + s = parseInt(str.substring(0, 1), 2) ? -1 : 1; + e = parseInt(str.substring(1, 1 + ebits), 2); + f = parseInt(str.substring(1 + ebits), 2); + if (e === (1 << ebits) - 1) { + return f === 0 ? s * Infinity : NaN; + } else if (e > 0) { + return s * pow(2, e - bias) * (1 + f / pow(2, fbits)); + } else if (f !== 0) { + return s * pow(2, -(bias - 1)) * (f / pow(2, fbits)); + } + return s < 0 ? -0 : 0; + } + function unpackF64(b2) { + return unpackIEEE754(b2, 11, 52); + } + function packF64(v) { + return packIEEE754(v, 11, 52); + } + function unpackF32(b2) { + return unpackIEEE754(b2, 8, 23); + } + function packF32(v) { + return packIEEE754(v, 8, 23); + } + (function() { + function ArrayBuffer(length) { + length = ECMAScript.ToInt32(length); + if (length < 0) { + throw new RangeError('ArrayBuffer size is not a small enough positive integer'); + } + this.byteLength = length; + this._bytes = []; + this._bytes.length = length; + var i; + for (i = 0; i < this.byteLength; i += 1) { + this._bytes[i] = 0; + } + configureProperties(this); + } + exports.ArrayBuffer = exports.ArrayBuffer || ArrayBuffer; + function ArrayBufferView() {} + function makeConstructor(bytesPerElement, pack, unpack) { + var _ctor; + _ctor = function ctor(buffer, byteOffset, length) { + var array, sequence, i, s; + if (!arguments.length || typeof arguments[0] === 'number') { + this.length = ECMAScript.ToInt32(arguments[0]); + if (length < 0) { + throw new RangeError('ArrayBufferView size is not a small enough positive integer'); + } + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + this.buffer = new ArrayBuffer(this.byteLength); + this.byteOffset = 0; + } else if (_typeof(arguments[0]) === 'object' && arguments[0].constructor === _ctor) { + array = arguments[0]; + this.length = array.length; + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + this.buffer = new ArrayBuffer(this.byteLength); + this.byteOffset = 0; + for (i = 0; i < this.length; i += 1) { + this._setter(i, array._getter(i)); + } + } else if (_typeof(arguments[0]) === 'object' && !(arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) { + sequence = arguments[0]; + this.length = ECMAScript.ToUint32(sequence.length); + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + this.buffer = new ArrayBuffer(this.byteLength); + this.byteOffset = 0; + for (i = 0; i < this.length; i += 1) { + s = sequence[i]; + this._setter(i, Number(s)); + } + } else if (_typeof(arguments[0]) === 'object' && (arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) { + this.buffer = buffer; + this.byteOffset = ECMAScript.ToUint32(byteOffset); + if (this.byteOffset > this.buffer.byteLength) { + throw new RangeError('byteOffset out of range'); + } + if (this.byteOffset % this.BYTES_PER_ELEMENT) { + throw new RangeError('ArrayBuffer length minus the byteOffset is not a multiple of the element size.'); + } + if (arguments.length < 3) { + this.byteLength = this.buffer.byteLength - this.byteOffset; + if (this.byteLength % this.BYTES_PER_ELEMENT) { + throw new RangeError('length of buffer minus byteOffset not a multiple of the element size'); + } + this.length = this.byteLength / this.BYTES_PER_ELEMENT; + } else { + this.length = ECMAScript.ToUint32(length); + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + } + if (this.byteOffset + this.byteLength > this.buffer.byteLength) { + throw new RangeError('byteOffset and length reference an area beyond the end of the buffer'); + } + } else { + throw new TypeError('Unexpected argument type(s)'); + } + this.constructor = _ctor; + configureProperties(this); + makeArrayAccessors(this); + }; + _ctor.prototype = new ArrayBufferView(); + _ctor.prototype.BYTES_PER_ELEMENT = bytesPerElement; + _ctor.prototype._pack = pack; + _ctor.prototype._unpack = unpack; + _ctor.BYTES_PER_ELEMENT = bytesPerElement; + _ctor.prototype._getter = function(index) { + if (arguments.length < 1) { + throw new SyntaxError('Not enough arguments'); + } + index = ECMAScript.ToUint32(index); + if (index >= this.length) { + return void 0; + } + var bytes = []; + for (var i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT; i < this.BYTES_PER_ELEMENT; i += 1, + o += 1) { + bytes.push(this.buffer._bytes[o]); + } + return this._unpack(bytes); + }; + _ctor.prototype.get = _ctor.prototype._getter; + _ctor.prototype._setter = function(index, value) { + if (arguments.length < 2) { + throw new SyntaxError('Not enough arguments'); + } + index = ECMAScript.ToUint32(index); + if (index < this.length) { + var bytes = this._pack(value); + var i; + var o; + for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT; i < this.BYTES_PER_ELEMENT; i += 1, + o += 1) { + this.buffer._bytes[o] = bytes[i]; + } + } + }; + _ctor.prototype.set = function(index, value) { + if (arguments.length < 1) { + throw new SyntaxError('Not enough arguments'); + } + var array, sequence, offset, len, i, s, d2, byteOffset, byteLength, tmp; + if (_typeof(arguments[0]) === 'object' && arguments[0].constructor === this.constructor) { + array = arguments[0]; + offset = ECMAScript.ToUint32(arguments[1]); + if (offset + array.length > this.length) { + throw new RangeError('Offset plus length of array is out of range'); + } + byteOffset = this.byteOffset + offset * this.BYTES_PER_ELEMENT; + byteLength = array.length * this.BYTES_PER_ELEMENT; + if (array.buffer === this.buffer) { + tmp = []; + for (i = 0, s = array.byteOffset; i < byteLength; i += 1, s += 1) { + tmp[i] = array.buffer._bytes[s]; + } + for (i = 0, d2 = byteOffset; i < byteLength; i += 1, d2 += 1) { + this.buffer._bytes[d2] = tmp[i]; + } + } else { + for (i = 0, s = array.byteOffset, d2 = byteOffset; i < byteLength; i += 1, + s += 1, d2 += 1) { + this.buffer._bytes[d2] = array.buffer._bytes[s]; + } + } + } else if (_typeof(arguments[0]) === 'object' && typeof arguments[0].length !== 'undefined') { + sequence = arguments[0]; + len = ECMAScript.ToUint32(sequence.length); + offset = ECMAScript.ToUint32(arguments[1]); + if (offset + len > this.length) { + throw new RangeError('Offset plus length of array is out of range'); + } + for (i = 0; i < len; i += 1) { + s = sequence[i]; + this._setter(offset + i, Number(s)); + } + } else { + throw new TypeError('Unexpected argument type(s)'); + } + }; + _ctor.prototype.subarray = function(start, end) { + start = ECMAScript.ToInt32(start); + end = ECMAScript.ToInt32(end); + if (arguments.length < 1) { + start = 0; + } + if (arguments.length < 2) { + end = this.length; + } + if (start < 0) { + start = this.length + start; + } + if (end < 0) { + end = this.length + end; + } + start = clamp3(start, 0, this.length); + end = clamp3(end, 0, this.length); + var len = end - start; + if (len < 0) { + len = 0; + } + return new this.constructor(this.buffer, this.byteOffset + start * this.BYTES_PER_ELEMENT, len); + }; + return _ctor; + } + var Int8Array = makeConstructor(1, packI8, unpackI8); + var Uint8Array2 = makeConstructor(1, packU8, unpackU8); + var Uint8ClampedArray2 = makeConstructor(1, packU8Clamped, unpackU8); + var Int16Array = makeConstructor(2, packI16, unpackI16); + var Uint16Array = makeConstructor(2, packU16, unpackU16); + var Int32Array = makeConstructor(4, packI32, unpackI32); + var Uint32Array3 = makeConstructor(4, packU32, unpackU32); + var Float32Array = makeConstructor(4, packF32, unpackF32); + var Float64Array = makeConstructor(8, packF64, unpackF64); + exports.Int8Array = exports.Int8Array || Int8Array; + exports.Uint8Array = exports.Uint8Array || Uint8Array2; + exports.Uint8ClampedArray = exports.Uint8ClampedArray || Uint8ClampedArray2; + exports.Int16Array = exports.Int16Array || Int16Array; + exports.Uint16Array = exports.Uint16Array || Uint16Array; + exports.Int32Array = exports.Int32Array || Int32Array; + exports.Uint32Array = exports.Uint32Array || Uint32Array3; + exports.Float32Array = exports.Float32Array || Float32Array; + exports.Float64Array = exports.Float64Array || Float64Array; + })(); + (function() { + function r(array, index) { + return ECMAScript.IsCallable(array.get) ? array.get(index) : array[index]; + } + var IS_BIG_ENDIAN = function() { + var u16array = new exports.Uint16Array([ 4660 ]), u8array = new exports.Uint8Array(u16array.buffer); + return r(u8array, 0) === 18; + }(); + function DataView(buffer, byteOffset, byteLength) { + if (arguments.length === 0) { + buffer = new exports.ArrayBuffer(0); + } else if (!(buffer instanceof exports.ArrayBuffer || ECMAScript.Class(buffer) === 'ArrayBuffer')) { + throw new TypeError('TypeError'); + } + this.buffer = buffer || new exports.ArrayBuffer(0); + this.byteOffset = ECMAScript.ToUint32(byteOffset); + if (this.byteOffset > this.buffer.byteLength) { + throw new RangeError('byteOffset out of range'); + } + if (arguments.length < 3) { + this.byteLength = this.buffer.byteLength - this.byteOffset; + } else { + this.byteLength = ECMAScript.ToUint32(byteLength); + } + if (this.byteOffset + this.byteLength > this.buffer.byteLength) { + throw new RangeError('byteOffset and length reference an area beyond the end of the buffer'); + } + configureProperties(this); + } + function makeGetter(arrayType) { + return function(byteOffset, littleEndian) { + byteOffset = ECMAScript.ToUint32(byteOffset); + if (byteOffset + arrayType.BYTES_PER_ELEMENT > this.byteLength) { + throw new RangeError('Array index out of range'); + } + byteOffset += this.byteOffset; + var uint8Array = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT), bytes = [], i; + for (i = 0; i < arrayType.BYTES_PER_ELEMENT; i += 1) { + bytes.push(r(uint8Array, i)); + } + if (Boolean(littleEndian) === Boolean(IS_BIG_ENDIAN)) { + bytes.reverse(); + } + return r(new arrayType(new exports.Uint8Array(bytes).buffer), 0); + }; + } + DataView.prototype.getUint8 = makeGetter(exports.Uint8Array); + DataView.prototype.getInt8 = makeGetter(exports.Int8Array); + DataView.prototype.getUint16 = makeGetter(exports.Uint16Array); + DataView.prototype.getInt16 = makeGetter(exports.Int16Array); + DataView.prototype.getUint32 = makeGetter(exports.Uint32Array); + DataView.prototype.getInt32 = makeGetter(exports.Int32Array); + DataView.prototype.getFloat32 = makeGetter(exports.Float32Array); + DataView.prototype.getFloat64 = makeGetter(exports.Float64Array); + function makeSetter(arrayType) { + return function(byteOffset, value, littleEndian) { + byteOffset = ECMAScript.ToUint32(byteOffset); + if (byteOffset + arrayType.BYTES_PER_ELEMENT > this.byteLength) { + throw new RangeError('Array index out of range'); + } + var typeArray = new arrayType([ value ]), byteArray = new exports.Uint8Array(typeArray.buffer), bytes = [], i, byteView; + for (i = 0; i < arrayType.BYTES_PER_ELEMENT; i += 1) { + bytes.push(r(byteArray, i)); + } + if (Boolean(littleEndian) === Boolean(IS_BIG_ENDIAN)) { + bytes.reverse(); + } + byteView = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT); + byteView.set(bytes); + }; + } + DataView.prototype.setUint8 = makeSetter(exports.Uint8Array); + DataView.prototype.setInt8 = makeSetter(exports.Int8Array); + DataView.prototype.setUint16 = makeSetter(exports.Uint16Array); + DataView.prototype.setInt16 = makeSetter(exports.Int16Array); + DataView.prototype.setUint32 = makeSetter(exports.Uint32Array); + DataView.prototype.setInt32 = makeSetter(exports.Int32Array); + DataView.prototype.setFloat32 = makeSetter(exports.Float32Array); + DataView.prototype.setFloat64 = makeSetter(exports.Float64Array); + exports.DataView = exports.DataView || DataView; + })(); + }); + var require_weakmap_polyfill = __commonJS(function(exports) { + (function(self2) { + 'use strict'; + if (self2.WeakMap) { + return; + } + var hasOwnProperty2 = Object.prototype.hasOwnProperty; + var hasDefine = Object.defineProperty && function() { + try { + return Object.defineProperty({}, 'x', { + value: 1 + }).x === 1; + } catch (e) {} + }(); + var defineProperty = function defineProperty(object, name, value) { + if (hasDefine) { + Object.defineProperty(object, name, { + configurable: true, + writable: true, + value: value + }); + } else { + object[name] = value; + } + }; + self2.WeakMap = function() { + function WeakMap2() { + if (this === void 0) { + throw new TypeError('Constructor WeakMap requires \'new\''); + } + defineProperty(this, '_id', genId('_WeakMap')); + if (arguments.length > 0) { + throw new TypeError('WeakMap iterable is not supported'); + } + } + defineProperty(WeakMap2.prototype, 'delete', function(key) { + checkInstance(this, 'delete'); + if (!isObject(key)) { + return false; + } + var entry = key[this._id]; + if (entry && entry[0] === key) { + delete key[this._id]; + return true; + } + return false; + }); + defineProperty(WeakMap2.prototype, 'get', function(key) { + checkInstance(this, 'get'); + if (!isObject(key)) { + return void 0; + } + var entry = key[this._id]; + if (entry && entry[0] === key) { + return entry[1]; + } + return void 0; + }); + defineProperty(WeakMap2.prototype, 'has', function(key) { + checkInstance(this, 'has'); + if (!isObject(key)) { + return false; + } + var entry = key[this._id]; + if (entry && entry[0] === key) { + return true; + } + return false; + }); + defineProperty(WeakMap2.prototype, 'set', function(key, value) { + checkInstance(this, 'set'); + if (!isObject(key)) { + throw new TypeError('Invalid value used as weak map key'); + } + var entry = key[this._id]; + if (entry && entry[0] === key) { + entry[1] = value; + return this; + } + defineProperty(key, this._id, [ key, value ]); + return this; + }); + function checkInstance(x, methodName) { + if (!isObject(x) || !hasOwnProperty2.call(x, '_id')) { + throw new TypeError(methodName + ' method called on incompatible receiver ' + _typeof(x)); + } + } + function genId(prefix) { + return prefix + '_' + rand() + '.' + rand(); + } + function rand() { + return Math.random().toString().substring(2); + } + defineProperty(WeakMap2, '_polyfill', true); + return WeakMap2; + }(); + function isObject(x) { + return Object(x) === x; + } + })(typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : exports); + }); + var require_global = __commonJS(function(exports, module) { + 'use strict'; + var check = function check(it) { + return it && it.Math === Math && it; + }; + module.exports = check((typeof globalThis === 'undefined' ? 'undefined' : _typeof(globalThis)) == 'object' && globalThis) || check((typeof window === 'undefined' ? 'undefined' : _typeof(window)) == 'object' && window) || check((typeof self === 'undefined' ? 'undefined' : _typeof(self)) == 'object' && self) || check((typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global) || function() { + return this; + }() || exports || Function('return this')(); + }); + var require_fails = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function(exec) { + try { + return !!exec(); + } catch (error) { + return true; + } + }; + }); + var require_function_bind_native = __commonJS(function(exports, module) { + 'use strict'; + var fails = require_fails(); + module.exports = !fails(function() { + var test = function() {}.bind(); + return typeof test != 'function' || test.hasOwnProperty('prototype'); + }); + }); + var require_function_apply = __commonJS(function(exports, module) { + 'use strict'; + var NATIVE_BIND = require_function_bind_native(); + var FunctionPrototype = Function.prototype; + var apply = FunctionPrototype.apply; + var call = FunctionPrototype.call; + module.exports = (typeof Reflect === 'undefined' ? 'undefined' : _typeof(Reflect)) == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function() { + return call.apply(apply, arguments); + }); + }); + var require_function_uncurry_this = __commonJS(function(exports, module) { + 'use strict'; + var NATIVE_BIND = require_function_bind_native(); + var FunctionPrototype = Function.prototype; + var call = FunctionPrototype.call; + var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) { + return function() { + return call.apply(fn, arguments); + }; + }; + }); + var require_classof_raw = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var toString = uncurryThis({}.toString); + var stringSlice = uncurryThis(''.slice); + module.exports = function(it) { + return stringSlice(toString(it), 8, -1); + }; + }); + var require_function_uncurry_this_clause = __commonJS(function(exports, module) { + 'use strict'; + var classofRaw = require_classof_raw(); + var uncurryThis = require_function_uncurry_this(); + module.exports = function(fn) { + if (classofRaw(fn) === 'Function') { + return uncurryThis(fn); + } + }; + }); + var require_document_all = __commonJS(function(exports, module) { + 'use strict'; + var documentAll = (typeof document === 'undefined' ? 'undefined' : _typeof(document)) == 'object' && document.all; + var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== void 0; + module.exports = { + all: documentAll, + IS_HTMLDDA: IS_HTMLDDA + }; + }); + var require_is_callable2 = __commonJS(function(exports, module) { + 'use strict'; + var $documentAll = require_document_all(); + var documentAll = $documentAll.all; + module.exports = $documentAll.IS_HTMLDDA ? function(argument) { + return typeof argument == 'function' || argument === documentAll; + } : function(argument) { + return typeof argument == 'function'; + }; + }); + var require_descriptors = __commonJS(function(exports, module) { + 'use strict'; + var fails = require_fails(); + module.exports = !fails(function() { + return Object.defineProperty({}, 1, { + get: function get() { + return 7; + } + })[1] !== 7; + }); + }); + var require_function_call = __commonJS(function(exports, module) { + 'use strict'; + var NATIVE_BIND = require_function_bind_native(); + var call = Function.prototype.call; + module.exports = NATIVE_BIND ? call.bind(call) : function() { + return call.apply(call, arguments); + }; + }); + var require_object_property_is_enumerable = __commonJS(function(exports) { + 'use strict'; + var $propertyIsEnumerable = {}.propertyIsEnumerable; + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ + 1: 2 + }, 1); + exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor(this, V); + return !!descriptor && descriptor.enumerable; + } : $propertyIsEnumerable; + }); + var require_create_property_descriptor = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function(bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; + }; + }); + var require_indexed_object = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var classof = require_classof_raw(); + var $Object = Object; + var split = uncurryThis(''.split); + module.exports = fails(function() { + return !$Object('z').propertyIsEnumerable(0); + }) ? function(it) { + return classof(it) === 'String' ? split(it, '') : $Object(it); + } : $Object; + }); + var require_is_null_or_undefined = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function(it) { + return it === null || it === void 0; + }; + }); + var require_require_object_coercible = __commonJS(function(exports, module) { + 'use strict'; + var isNullOrUndefined = require_is_null_or_undefined(); + var $TypeError = TypeError; + module.exports = function(it) { + if (isNullOrUndefined(it)) { + throw new $TypeError('Can\'t call method on ' + it); + } + return it; + }; + }); + var require_to_indexed_object = __commonJS(function(exports, module) { + 'use strict'; + var IndexedObject = require_indexed_object(); + var requireObjectCoercible = require_require_object_coercible(); + module.exports = function(it) { + return IndexedObject(requireObjectCoercible(it)); + }; + }); + var require_is_object2 = __commonJS(function(exports, module) { + 'use strict'; + var isCallable = require_is_callable2(); + var $documentAll = require_document_all(); + var documentAll = $documentAll.all; + module.exports = $documentAll.IS_HTMLDDA ? function(it) { + return _typeof(it) == 'object' ? it !== null : isCallable(it) || it === documentAll; + } : function(it) { + return _typeof(it) == 'object' ? it !== null : isCallable(it); + }; + }); + var require_path = __commonJS(function(exports, module) { + 'use strict'; + module.exports = {}; + }); + var require_get_built_in = __commonJS(function(exports, module) { + 'use strict'; + var path = require_path(); + var global2 = require_global(); + var isCallable = require_is_callable2(); + var aFunction = function aFunction(variable) { + return isCallable(variable) ? variable : void 0; + }; + module.exports = function(namespace, method) { + return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global2[namespace]) : path[namespace] && path[namespace][method] || global2[namespace] && global2[namespace][method]; + }; + }); + var require_object_is_prototype_of = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + module.exports = uncurryThis({}.isPrototypeOf); + }); + var require_engine_user_agent = __commonJS(function(exports, module) { + 'use strict'; + module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; + }); + var require_engine_v8_version = __commonJS(function(exports, module) { + 'use strict'; + var global2 = require_global(); + var userAgent = require_engine_user_agent(); + var process2 = global2.process; + var Deno = global2.Deno; + var versions = process2 && process2.versions || Deno && Deno.version; + var v8 = versions && versions.v8; + var match; + var version; + if (v8) { + match = v8.split('.'); + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); + } + if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) { + version = +match[1]; + } + } + } + module.exports = version; + }); + var require_symbol_constructor_detection = __commonJS(function(exports, module) { + 'use strict'; + var V8_VERSION = require_engine_v8_version(); + var fails = require_fails(); + var global2 = require_global(); + var $String = global2.String; + module.exports = !!Object.getOwnPropertySymbols && !fails(function() { + var symbol = Symbol('symbol detection'); + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41; + }); + }); + var require_use_symbol_as_uid = __commonJS(function(exports, module) { + 'use strict'; + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + module.exports = NATIVE_SYMBOL && !Symbol.sham && _typeof(Symbol.iterator) == 'symbol'; + }); + var require_is_symbol2 = __commonJS(function(exports, module) { + 'use strict'; + var getBuiltIn = require_get_built_in(); + var isCallable = require_is_callable2(); + var isPrototypeOf = require_object_is_prototype_of(); + var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); + var $Object = Object; + module.exports = USE_SYMBOL_AS_UID ? function(it) { + return _typeof(it) == 'symbol'; + } : function(it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); + }; + }); + var require_try_to_string = __commonJS(function(exports, module) { + 'use strict'; + var $String = String; + module.exports = function(argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } + }; + }); + var require_a_callable = __commonJS(function(exports, module) { + 'use strict'; + var isCallable = require_is_callable2(); + var tryToString = require_try_to_string(); + var $TypeError = TypeError; + module.exports = function(argument) { + if (isCallable(argument)) { + return argument; + } + throw new $TypeError(tryToString(argument) + ' is not a function'); + }; + }); + var require_get_method = __commonJS(function(exports, module) { + 'use strict'; + var aCallable = require_a_callable(); + var isNullOrUndefined = require_is_null_or_undefined(); + module.exports = function(V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? void 0 : aCallable(func); + }; + }); + var require_ordinary_to_primitive = __commonJS(function(exports, module) { + 'use strict'; + var call = require_function_call(); + var isCallable = require_is_callable2(); + var isObject = require_is_object2(); + var $TypeError = TypeError; + module.exports = function(input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) { + return val; + } + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) { + return val; + } + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) { + return val; + } + throw new $TypeError('Can\'t convert object to primitive value'); + }; + }); + var require_is_pure = __commonJS(function(exports, module) { + 'use strict'; + module.exports = true; + }); + var require_define_global_property = __commonJS(function(exports, module) { + 'use strict'; + var global2 = require_global(); + var defineProperty = Object.defineProperty; + module.exports = function(key, value) { + try { + defineProperty(global2, key, { + value: value, + configurable: true, + writable: true + }); + } catch (error) { + global2[key] = value; + } + return value; + }; + }); + var require_shared_store = __commonJS(function(exports, module) { + 'use strict'; + var global2 = require_global(); + var defineGlobalProperty = require_define_global_property(); + var SHARED = '__core-js_shared__'; + var store = global2[SHARED] || defineGlobalProperty(SHARED, {}); + module.exports = store; + }); + var require_shared = __commonJS(function(exports, module) { + 'use strict'; + var IS_PURE = require_is_pure(); + var store = require_shared_store(); + (module.exports = function(key, value) { + return store[key] || (store[key] = value !== void 0 ? value : {}); + })('versions', []).push({ + version: '3.33.0', + mode: IS_PURE ? 'pure' : 'global', + copyright: '\xa9 2014-2023 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE', + source: 'https://github.com/zloirock/core-js' + }); + }); + var require_to_object = __commonJS(function(exports, module) { + 'use strict'; + var requireObjectCoercible = require_require_object_coercible(); + var $Object = Object; + module.exports = function(argument) { + return $Object(requireObjectCoercible(argument)); + }; + }); + var require_has_own_property = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var toObject = require_to_object(); + var hasOwnProperty2 = uncurryThis({}.hasOwnProperty); + module.exports = Object.hasOwn || function hasOwn2(it, key) { + return hasOwnProperty2(toObject(it), key); + }; + }); + var require_uid = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var id = 0; + var postfix = Math.random(); + var toString = uncurryThis(1..toString); + module.exports = function(key) { + return 'Symbol(' + (key === void 0 ? '' : key) + ')_' + toString(++id + postfix, 36); + }; + }); + var require_well_known_symbol = __commonJS(function(exports, module) { + 'use strict'; + var global2 = require_global(); + var shared = require_shared(); + var hasOwn2 = require_has_own_property(); + var uid = require_uid(); + var NATIVE_SYMBOL = require_symbol_constructor_detection(); + var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); + var Symbol2 = global2.Symbol; + var WellKnownSymbolsStore = shared('wks'); + var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol2['for'] || Symbol2 : Symbol2 && Symbol2.withoutSetter || uid; + module.exports = function(name) { + if (!hasOwn2(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn2(Symbol2, name) ? Symbol2[name] : createWellKnownSymbol('Symbol.' + name); + } + return WellKnownSymbolsStore[name]; + }; + }); + var require_to_primitive = __commonJS(function(exports, module) { + 'use strict'; + var call = require_function_call(); + var isObject = require_is_object2(); + var isSymbol = require_is_symbol2(); + var getMethod = require_get_method(); + var ordinaryToPrimitive = require_ordinary_to_primitive(); + var wellKnownSymbol = require_well_known_symbol(); + var $TypeError = TypeError; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + module.exports = function(input, pref) { + if (!isObject(input) || isSymbol(input)) { + return input; + } + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === void 0) { + pref = 'default'; + } + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) { + return result; + } + throw new $TypeError('Can\'t convert object to primitive value'); + } + if (pref === void 0) { + pref = 'number'; + } + return ordinaryToPrimitive(input, pref); + }; + }); + var require_to_property_key = __commonJS(function(exports, module) { + 'use strict'; + var toPrimitive = require_to_primitive(); + var isSymbol = require_is_symbol2(); + module.exports = function(argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; + }; + }); + var require_document_create_element = __commonJS(function(exports, module) { + 'use strict'; + var global2 = require_global(); + var isObject = require_is_object2(); + var document2 = global2.document; + var EXISTS = isObject(document2) && isObject(document2.createElement); + module.exports = function(it) { + return EXISTS ? document2.createElement(it) : {}; + }; + }); + var require_ie8_dom_define = __commonJS(function(exports, module) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var fails = require_fails(); + var createElement = require_document_create_element(); + module.exports = !DESCRIPTORS && !fails(function() { + return Object.defineProperty(createElement('div'), 'a', { + get: function get() { + return 7; + } + }).a !== 7; + }); + }); + var require_object_get_own_property_descriptor = __commonJS(function(exports) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var call = require_function_call(); + var propertyIsEnumerableModule = require_object_property_is_enumerable(); + var createPropertyDescriptor = require_create_property_descriptor(); + var toIndexedObject = require_to_indexed_object(); + var toPropertyKey = require_to_property_key(); + var hasOwn2 = require_has_own_property(); + var IE8_DOM_DEFINE = require_ie8_dom_define(); + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPropertyKey(P); + if (IE8_DOM_DEFINE) { + try { + return $getOwnPropertyDescriptor(O, P); + } catch (error) {} + } + if (hasOwn2(O, P)) { + return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); + } + }; + }); + var require_is_forced = __commonJS(function(exports, module) { + 'use strict'; + var fails = require_fails(); + var isCallable = require_is_callable2(); + var replacement = /#|\.prototype\./; + var isForced = function isForced(feature, detection) { + var value = data[normalize(feature)]; + return value === POLYFILL ? true : value === NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection; + }; + var normalize = isForced.normalize = function(string) { + return String(string).replace(replacement, '.').toLowerCase(); + }; + var data = isForced.data = {}; + var NATIVE = isForced.NATIVE = 'N'; + var POLYFILL = isForced.POLYFILL = 'P'; + module.exports = isForced; + }); + var require_function_bind_context = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this_clause(); + var aCallable = require_a_callable(); + var NATIVE_BIND = require_function_bind_native(); + var bind = uncurryThis(uncurryThis.bind); + module.exports = function(fn, that) { + aCallable(fn); + return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() { + return fn.apply(that, arguments); + }; + }; + }); + var require_v8_prototype_define_bug = __commonJS(function(exports, module) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var fails = require_fails(); + module.exports = DESCRIPTORS && fails(function() { + return Object.defineProperty(function() {}, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; + }); + }); + var require_an_object = __commonJS(function(exports, module) { + 'use strict'; + var isObject = require_is_object2(); + var $String = String; + var $TypeError = TypeError; + module.exports = function(argument) { + if (isObject(argument)) { + return argument; + } + throw new $TypeError($String(argument) + ' is not an object'); + }; + }); + var require_object_define_property = __commonJS(function(exports) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var IE8_DOM_DEFINE = require_ie8_dom_define(); + var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); + var anObject = require_an_object(); + var toPropertyKey = require_to_property_key(); + var $TypeError = TypeError; + var $defineProperty = Object.defineProperty; + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var ENUMERABLE = 'enumerable'; + var CONFIGURABLE = 'configurable'; + var WRITABLE = 'writable'; + exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } + return $defineProperty(O, P, Attributes); + } : $defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (IE8_DOM_DEFINE) { + try { + return $defineProperty(O, P, Attributes); + } catch (error) {} + } + if ('get' in Attributes || 'set' in Attributes) { + throw new $TypeError('Accessors not supported'); + } + if ('value' in Attributes) { + O[P] = Attributes.value; + } + return O; + }; + }); + var require_create_non_enumerable_property = __commonJS(function(exports, module) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var definePropertyModule = require_object_define_property(); + var createPropertyDescriptor = require_create_property_descriptor(); + module.exports = DESCRIPTORS ? function(object, key, value) { + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); + } : function(object, key, value) { + object[key] = value; + return object; + }; + }); + var require_export = __commonJS(function(exports, module) { + 'use strict'; + var global2 = require_global(); + var apply = require_function_apply(); + var uncurryThis = require_function_uncurry_this_clause(); + var isCallable = require_is_callable2(); + var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; + var isForced = require_is_forced(); + var path = require_path(); + var bind = require_function_bind_context(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var hasOwn2 = require_has_own_property(); + var wrapConstructor = function wrapConstructor(NativeConstructor) { + var _Wrapper = function Wrapper(a2, b2, c4) { + if (this instanceof _Wrapper) { + switch (arguments.length) { + case 0: + return new NativeConstructor(); + + case 1: + return new NativeConstructor(a2); + + case 2: + return new NativeConstructor(a2, b2); + } + return new NativeConstructor(a2, b2, c4); + } + return apply(NativeConstructor, this, arguments); + }; + _Wrapper.prototype = NativeConstructor.prototype; + return _Wrapper; + }; + module.exports = function(options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var PROTO = options.proto; + var nativeSource = GLOBAL ? global2 : STATIC ? global2[TARGET] : (global2[TARGET] || {}).prototype; + var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET]; + var targetPrototype = target.prototype; + var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE; + var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor; + for (key in source) { + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + USE_NATIVE = !FORCED && nativeSource && hasOwn2(nativeSource, key); + targetProperty = target[key]; + if (USE_NATIVE) { + if (options.dontCallGetSet) { + descriptor = getOwnPropertyDescriptor(nativeSource, key); + nativeProperty = descriptor && descriptor.value; + } else { + nativeProperty = nativeSource[key]; + } + } + sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key]; + if (USE_NATIVE && _typeof(targetProperty) == _typeof(sourceProperty)) { + continue; + } + if (options.bind && USE_NATIVE) { + resultProperty = bind(sourceProperty, global2); + } else if (options.wrap && USE_NATIVE) { + resultProperty = wrapConstructor(sourceProperty); + } else if (PROTO && isCallable(sourceProperty)) { + resultProperty = uncurryThis(sourceProperty); + } else { + resultProperty = sourceProperty; + } + if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) { + createNonEnumerableProperty(resultProperty, 'sham', true); + } + createNonEnumerableProperty(target, key, resultProperty); + if (PROTO) { + VIRTUAL_PROTOTYPE = TARGET + 'Prototype'; + if (!hasOwn2(path, VIRTUAL_PROTOTYPE)) { + createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {}); + } + createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty); + if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) { + createNonEnumerableProperty(targetPrototype, key, sourceProperty); + } + } + } + }; + }); + var require_es_object_has_own = __commonJS(function() { + 'use strict'; + var $ = require_export(); + var hasOwn2 = require_has_own_property(); + $({ + target: 'Object', + stat: true + }, { + hasOwn: hasOwn2 + }); + }); + var require_has_own = __commonJS(function(exports, module) { + 'use strict'; + require_es_object_has_own(); + var path = require_path(); + module.exports = path.Object.hasOwn; + }); + var require_has_own2 = __commonJS(function(exports, module) { + 'use strict'; + var parent = require_has_own(); + module.exports = parent; + }); + var require_has_own3 = __commonJS(function(exports, module) { + 'use strict'; + var parent = require_has_own2(); + module.exports = parent; + }); + var require_shared_key = __commonJS(function(exports, module) { + 'use strict'; + var shared = require_shared(); + var uid = require_uid(); + var keys = shared('keys'); + module.exports = function(key) { + return keys[key] || (keys[key] = uid(key)); + }; + }); + var require_correct_prototype_getter = __commonJS(function(exports, module) { + 'use strict'; + var fails = require_fails(); + module.exports = !fails(function() { + function F() {} + F.prototype.constructor = null; + return Object.getPrototypeOf(new F()) !== F.prototype; + }); + }); + var require_object_get_prototype_of = __commonJS(function(exports, module) { + 'use strict'; + var hasOwn2 = require_has_own_property(); + var isCallable = require_is_callable2(); + var toObject = require_to_object(); + var sharedKey = require_shared_key(); + var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); + var IE_PROTO = sharedKey('IE_PROTO'); + var $Object = Object; + var ObjectPrototype = $Object.prototype; + module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) { + var object = toObject(O); + if (hasOwn2(object, IE_PROTO)) { + return object[IE_PROTO]; + } + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } + return object instanceof $Object ? ObjectPrototype : null; + }; + }); + var require_math_trunc = __commonJS(function(exports, module) { + 'use strict'; + var ceil = Math.ceil; + var floor = Math.floor; + module.exports = Math.trunc || function trunc(x) { + var n2 = +x; + return (n2 > 0 ? floor : ceil)(n2); + }; + }); + var require_to_integer_or_infinity = __commonJS(function(exports, module) { + 'use strict'; + var trunc = require_math_trunc(); + module.exports = function(argument) { + var number = +argument; + return number !== number || number === 0 ? 0 : trunc(number); + }; + }); + var require_to_absolute_index = __commonJS(function(exports, module) { + 'use strict'; + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var max2 = Math.max; + var min = Math.min; + module.exports = function(index, length) { + var integer = toIntegerOrInfinity(index); + return integer < 0 ? max2(integer + length, 0) : min(integer, length); + }; + }); + var require_to_length = __commonJS(function(exports, module) { + 'use strict'; + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var min = Math.min; + module.exports = function(argument) { + return argument > 0 ? min(toIntegerOrInfinity(argument), 9007199254740991) : 0; + }; + }); + var require_length_of_array_like = __commonJS(function(exports, module) { + 'use strict'; + var toLength = require_to_length(); + module.exports = function(obj) { + return toLength(obj.length); + }; + }); + var require_array_includes = __commonJS(function(exports, module) { + 'use strict'; + var toIndexedObject = require_to_indexed_object(); + var toAbsoluteIndex = require_to_absolute_index(); + var lengthOfArrayLike = require_length_of_array_like(); + var createMethod = function createMethod(IS_INCLUDES) { + return function($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = lengthOfArrayLike(O); + var index = toAbsoluteIndex(fromIndex, length); + var value; + if (IS_INCLUDES && el !== el) { + while (length > index) { + value = O[index++]; + if (value !== value) { + return true; + } + } + } else { + for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) { + return IS_INCLUDES || index || 0; + } + } + } + return !IS_INCLUDES && -1; + }; + }; + module.exports = { + includes: createMethod(true), + indexOf: createMethod(false) + }; + }); + var require_hidden_keys = __commonJS(function(exports, module) { + 'use strict'; + module.exports = {}; + }); + var require_object_keys_internal = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var hasOwn2 = require_has_own_property(); + var toIndexedObject = require_to_indexed_object(); + var indexOf = require_array_includes().indexOf; + var hiddenKeys = require_hidden_keys(); + var push = uncurryThis([].push); + module.exports = function(object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) { + !hasOwn2(hiddenKeys, key) && hasOwn2(O, key) && push(result, key); + } + while (names.length > i) { + if (hasOwn2(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); + } + } + return result; + }; + }); + var require_enum_bug_keys = __commonJS(function(exports, module) { + 'use strict'; + module.exports = [ 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf' ]; + }); + var require_object_keys = __commonJS(function(exports, module) { + 'use strict'; + var internalObjectKeys = require_object_keys_internal(); + var enumBugKeys = require_enum_bug_keys(); + module.exports = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys); + }; + }); + var require_object_to_array = __commonJS(function(exports, module) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var fails = require_fails(); + var uncurryThis = require_function_uncurry_this(); + var objectGetPrototypeOf = require_object_get_prototype_of(); + var objectKeys = require_object_keys(); + var toIndexedObject = require_to_indexed_object(); + var $propertyIsEnumerable = require_object_property_is_enumerable().f; + var propertyIsEnumerable = uncurryThis($propertyIsEnumerable); + var push = uncurryThis([].push); + var IE_BUG = DESCRIPTORS && fails(function() { + var O = Object.create(null); + O[2] = 2; + return !propertyIsEnumerable(O, 2); + }); + var createMethod = function createMethod(TO_ENTRIES) { + return function(it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null; + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) { + push(result, TO_ENTRIES ? [ key, O[key] ] : O[key]); + } + } + return result; + }; + }; + module.exports = { + entries: createMethod(true), + values: createMethod(false) + }; + }); + var require_es_object_values = __commonJS(function() { + 'use strict'; + var $ = require_export(); + var $values = require_object_to_array().values; + $({ + target: 'Object', + stat: true + }, { + values: function values2(O) { + return $values(O); + } + }); + }); + var require_values = __commonJS(function(exports, module) { + 'use strict'; + require_es_object_values(); + var path = require_path(); + module.exports = path.Object.values; + }); + var require_values2 = __commonJS(function(exports, module) { + 'use strict'; + var parent = require_values(); + module.exports = parent; + }); + var require_values3 = __commonJS(function(exports, module) { + 'use strict'; + var parent = require_values2(); + module.exports = parent; + }); + var require_to_string_tag_support = __commonJS(function(exports, module) { + 'use strict'; + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var test = {}; + test[TO_STRING_TAG] = 'z'; + module.exports = String(test) === '[object z]'; + }); + var require_classof = __commonJS(function(exports, module) { + 'use strict'; + var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); + var isCallable = require_is_callable2(); + var classofRaw = require_classof_raw(); + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Object = Object; + var CORRECT_ARGUMENTS = classofRaw(function() { + return arguments; + }()) === 'Arguments'; + var tryGet = function tryGet(it, key) { + try { + return it[key]; + } catch (error) {} + }; + module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) { + var O, tag, result; + return it === void 0 ? 'Undefined' : it === null ? 'Null' : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; + }; + }); + var require_to_string = __commonJS(function(exports, module) { + 'use strict'; + var classof = require_classof(); + var $String = String; + module.exports = function(argument) { + if (classof(argument) === 'Symbol') { + throw new TypeError('Cannot convert a Symbol value to a string'); + } + return $String(argument); + }; + }); + var require_string_multibyte = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var toIntegerOrInfinity = require_to_integer_or_infinity(); + var toString = require_to_string(); + var requireObjectCoercible = require_require_object_coercible(); + var charAt = uncurryThis(''.charAt); + var charCodeAt = uncurryThis(''.charCodeAt); + var stringSlice = uncurryThis(''.slice); + var createMethod = function createMethod(CONVERT_TO_STRING) { + return function($this, pos) { + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) { + return CONVERT_TO_STRING ? '' : void 0; + } + first = charCodeAt(S, position); + return first < 55296 || first > 56319 || position + 1 === size || (second = charCodeAt(S, position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? charAt(S, position) : first : CONVERT_TO_STRING ? stringSlice(S, position, position + 2) : (first - 55296 << 10) + (second - 56320) + 65536; + }; + }; + module.exports = { + codeAt: createMethod(false), + charAt: createMethod(true) + }; + }); + var require_weak_map_basic_detection = __commonJS(function(exports, module) { + 'use strict'; + var global2 = require_global(); + var isCallable = require_is_callable2(); + var WeakMap2 = global2.WeakMap; + module.exports = isCallable(WeakMap2) && /native code/.test(String(WeakMap2)); + }); + var require_internal_state = __commonJS(function(exports, module) { + 'use strict'; + var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); + var global2 = require_global(); + var isObject = require_is_object2(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var hasOwn2 = require_has_own_property(); + var shared = require_shared_store(); + var sharedKey = require_shared_key(); + var hiddenKeys = require_hidden_keys(); + var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; + var TypeError2 = global2.TypeError; + var WeakMap2 = global2.WeakMap; + var set2; + var get2; + var has; + var enforce = function enforce(it) { + return has(it) ? get2(it) : set2(it, {}); + }; + var getterFor = function getterFor(TYPE) { + return function(it) { + var state; + if (!isObject(it) || (state = get2(it)).type !== TYPE) { + throw new TypeError2('Incompatible receiver, ' + TYPE + ' required'); + } + return state; + }; + }; + if (NATIVE_WEAK_MAP || shared.state) { + store = shared.state || (shared.state = new WeakMap2()); + store.get = store.get; + store.has = store.has; + store.set = store.set; + set2 = function set2(it, metadata) { + if (store.has(it)) { + throw new TypeError2(OBJECT_ALREADY_INITIALIZED); + } + metadata.facade = it; + store.set(it, metadata); + return metadata; + }; + get2 = function get2(it) { + return store.get(it) || {}; + }; + has = function has(it) { + return store.has(it); + }; + } else { + STATE = sharedKey('state'); + hiddenKeys[STATE] = true; + set2 = function set2(it, metadata) { + if (hasOwn2(it, STATE)) { + throw new TypeError2(OBJECT_ALREADY_INITIALIZED); + } + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get2 = function get2(it) { + return hasOwn2(it, STATE) ? it[STATE] : {}; + }; + has = function has(it) { + return hasOwn2(it, STATE); + }; + } + var store; + var STATE; + module.exports = { + set: set2, + get: get2, + has: has, + enforce: enforce, + getterFor: getterFor + }; + }); + var require_function_name = __commonJS(function(exports, module) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var hasOwn2 = require_has_own_property(); + var FunctionPrototype = Function.prototype; + var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + var EXISTS = hasOwn2(FunctionPrototype, 'name'); + var PROPER = EXISTS && function something() {}.name === 'something'; + var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable); + module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE + }; + }); + var require_object_define_properties = __commonJS(function(exports) { + 'use strict'; + var DESCRIPTORS = require_descriptors(); + var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); + var definePropertyModule = require_object_define_property(); + var anObject = require_an_object(); + var toIndexedObject = require_to_indexed_object(); + var objectKeys = require_object_keys(); + exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var props = toIndexedObject(Properties); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) { + definePropertyModule.f(O, key = keys[index++], props[key]); + } + return O; + }; + }); + var require_html = __commonJS(function(exports, module) { + 'use strict'; + var getBuiltIn = require_get_built_in(); + module.exports = getBuiltIn('document', 'documentElement'); + }); + var require_object_create = __commonJS(function(exports, module) { + 'use strict'; + var anObject = require_an_object(); + var definePropertiesModule = require_object_define_properties(); + var enumBugKeys = require_enum_bug_keys(); + var hiddenKeys = require_hidden_keys(); + var html = require_html(); + var documentCreateElement = require_document_create_element(); + var sharedKey = require_shared_key(); + var GT = '>'; + var LT = '<'; + var PROTOTYPE = 'prototype'; + var SCRIPT = 'script'; + var IE_PROTO = sharedKey('IE_PROTO'); + var EmptyConstructor = function EmptyConstructor() {}; + var scriptTag = function scriptTag(content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; + }; + var NullProtoObjectViaActiveX = function NullProtoObjectViaActiveX(activeXDocument2) { + activeXDocument2.write(scriptTag('')); + activeXDocument2.close(); + var temp = activeXDocument2.parentWindow.Object; + activeXDocument2 = null; + return temp; + }; + var NullProtoObjectViaIFrame = function NullProtoObjectViaIFrame() { + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html.appendChild(iframe); + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; + }; + var activeXDocument; + var _NullProtoObject = function NullProtoObject() { + try { + activeXDocument = new ActiveXObject('htmlfile'); + } catch (error) {} + _NullProtoObject = typeof document != 'undefined' ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); + var length = enumBugKeys.length; + while (length--) { + delete _NullProtoObject[PROTOTYPE][enumBugKeys[length]]; + } + return _NullProtoObject(); + }; + hiddenKeys[IE_PROTO] = true; + module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE] = null; + result[IE_PROTO] = O; + } else { + result = _NullProtoObject(); + } + return Properties === void 0 ? result : definePropertiesModule.f(result, Properties); + }; + }); + var require_define_built_in = __commonJS(function(exports, module) { + 'use strict'; + var createNonEnumerableProperty = require_create_non_enumerable_property(); + module.exports = function(target, key, value, options) { + if (options && options.enumerable) { + target[key] = value; + } else { + createNonEnumerableProperty(target, key, value); + } + return target; + }; + }); + var require_iterators_core = __commonJS(function(exports, module) { + 'use strict'; + var fails = require_fails(); + var isCallable = require_is_callable2(); + var isObject = require_is_object2(); + var create = require_object_create(); + var getPrototypeOf = require_object_get_prototype_of(); + var defineBuiltIn = require_define_built_in(); + var wellKnownSymbol = require_well_known_symbol(); + var IS_PURE = require_is_pure(); + var ITERATOR = wellKnownSymbol('iterator'); + var BUGGY_SAFARI_ITERATORS = false; + var IteratorPrototype; + var PrototypeOfArrayIteratorPrototype; + var arrayIterator; + if ([].keys) { + arrayIterator = [].keys(); + if (!('next' in arrayIterator)) { + BUGGY_SAFARI_ITERATORS = true; + } else { + PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) { + IteratorPrototype = PrototypeOfArrayIteratorPrototype; + } + } + } + var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function() { + var test = {}; + return IteratorPrototype[ITERATOR].call(test) !== test; + }); + if (NEW_ITERATOR_PROTOTYPE) { + IteratorPrototype = {}; + } else if (IS_PURE) { + IteratorPrototype = create(IteratorPrototype); + } + if (!isCallable(IteratorPrototype[ITERATOR])) { + defineBuiltIn(IteratorPrototype, ITERATOR, function() { + return this; + }); + } + module.exports = { + IteratorPrototype: IteratorPrototype, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS + }; + }); + var require_object_to_string = __commonJS(function(exports, module) { + 'use strict'; + var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); + var classof = require_classof(); + module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { + return '[object ' + classof(this) + ']'; + }; + }); + var require_set_to_string_tag = __commonJS(function(exports, module) { + 'use strict'; + var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); + var defineProperty = require_object_define_property().f; + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var hasOwn2 = require_has_own_property(); + var toString = require_object_to_string(); + var wellKnownSymbol = require_well_known_symbol(); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + module.exports = function(it, TAG, STATIC, SET_METHOD) { + if (it) { + var target = STATIC ? it : it.prototype; + if (!hasOwn2(target, TO_STRING_TAG)) { + defineProperty(target, TO_STRING_TAG, { + configurable: true, + value: TAG + }); + } + if (SET_METHOD && !TO_STRING_TAG_SUPPORT) { + createNonEnumerableProperty(target, 'toString', toString); + } + } + }; + }); + var require_iterators = __commonJS(function(exports, module) { + 'use strict'; + module.exports = {}; + }); + var require_iterator_create_constructor = __commonJS(function(exports, module) { + 'use strict'; + var IteratorPrototype = require_iterators_core().IteratorPrototype; + var create = require_object_create(); + var createPropertyDescriptor = require_create_property_descriptor(); + var setToStringTag = require_set_to_string_tag(); + var Iterators = require_iterators(); + var returnThis = function returnThis() { + return this; + }; + module.exports = function(IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = create(IteratorPrototype, { + next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) + }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); + Iterators[TO_STRING_TAG] = returnThis; + return IteratorConstructor; + }; + }); + var require_function_uncurry_this_accessor = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var aCallable = require_a_callable(); + module.exports = function(object, key, method) { + try { + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) {} + }; + }); + var require_a_possible_prototype = __commonJS(function(exports, module) { + 'use strict'; + var isCallable = require_is_callable2(); + var $String = String; + var $TypeError = TypeError; + module.exports = function(argument) { + if (_typeof(argument) == 'object' || isCallable(argument)) { + return argument; + } + throw new $TypeError('Can\'t set ' + $String(argument) + ' as a prototype'); + }; + }); + var require_object_set_prototype_of = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThisAccessor = require_function_uncurry_this_accessor(); + var anObject = require_an_object(); + var aPossiblePrototype = require_a_possible_prototype(); + module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function() { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) {} + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) { + setter(O, proto); + } else { + O.__proto__ = proto; + } + return O; + }; + }() : void 0); + }); + var require_iterator_define = __commonJS(function(exports, module) { + 'use strict'; + var $ = require_export(); + var call = require_function_call(); + var IS_PURE = require_is_pure(); + var FunctionName = require_function_name(); + var isCallable = require_is_callable2(); + var createIteratorConstructor = require_iterator_create_constructor(); + var getPrototypeOf = require_object_get_prototype_of(); + var setPrototypeOf = require_object_set_prototype_of(); + var setToStringTag = require_set_to_string_tag(); + var createNonEnumerableProperty = require_create_non_enumerable_property(); + var defineBuiltIn = require_define_built_in(); + var wellKnownSymbol = require_well_known_symbol(); + var Iterators = require_iterators(); + var IteratorsCore = require_iterators_core(); + var PROPER_FUNCTION_NAME = FunctionName.PROPER; + var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; + var IteratorPrototype = IteratorsCore.IteratorPrototype; + var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; + var ITERATOR = wellKnownSymbol('iterator'); + var KEYS = 'keys'; + var VALUES = 'values'; + var ENTRIES = 'entries'; + var returnThis = function returnThis() { + return this; + }; + module.exports = function(Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + var getIterationMethod = function getIterationMethod(KIND) { + if (KIND === DEFAULT && defaultIterator) { + return defaultIterator; + } + if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) { + return IterablePrototype[KIND]; + } + switch (KIND) { + case KEYS: + return function keys() { + return new IteratorConstructor(this, KIND); + }; + + case VALUES: + return function values2() { + return new IteratorConstructor(this, KIND); + }; + + case ENTRIES: + return function entries() { + return new IteratorConstructor(this, KIND); + }; + } + return function() { + return new IteratorConstructor(this); + }; + }; + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf) { + setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); + } + } + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); + if (IS_PURE) { + Iterators[TO_STRING_TAG] = returnThis; + } + } + } + if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(IterablePrototype, 'name', VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values2() { + return call(nativeIterator, this); + }; + } + } + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) { + for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn(IterablePrototype, KEY, methods[KEY]); + } + } + } else { + $({ + target: NAME, + proto: true, + forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME + }, methods); + } + } + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { + name: DEFAULT + }); + } + Iterators[NAME] = defaultIterator; + return methods; + }; + }); + var require_create_iter_result_object = __commonJS(function(exports, module) { + 'use strict'; + module.exports = function(value, done) { + return { + value: value, + done: done + }; + }; + }); + var require_es_string_iterator = __commonJS(function() { + 'use strict'; + var charAt = require_string_multibyte().charAt; + var toString = require_to_string(); + var InternalStateModule = require_internal_state(); + var defineIterator = require_iterator_define(); + var createIterResultObject = require_create_iter_result_object(); + var STRING_ITERATOR = 'String Iterator'; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); + defineIterator(String, 'String', function(iterated) { + setInternalState(this, { + type: STRING_ITERATOR, + string: toString(iterated), + index: 0 + }); + }, function next() { + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) { + return createIterResultObject(void 0, true); + } + point = charAt(string, index); + state.index += point.length; + return createIterResultObject(point, false); + }); + }); + var require_iterator_close = __commonJS(function(exports, module) { + 'use strict'; + var call = require_function_call(); + var anObject = require_an_object(); + var getMethod = require_get_method(); + module.exports = function(iterator, kind, value) { + var innerResult, innerError; + anObject(iterator); + try { + innerResult = getMethod(iterator, 'return'); + if (!innerResult) { + if (kind === 'throw') { + throw value; + } + return value; + } + innerResult = call(innerResult, iterator); + } catch (error) { + innerError = true; + innerResult = error; + } + if (kind === 'throw') { + throw value; + } + if (innerError) { + throw innerResult; + } + anObject(innerResult); + return value; + }; + }); + var require_call_with_safe_iteration_closing = __commonJS(function(exports, module) { + 'use strict'; + var anObject = require_an_object(); + var iteratorClose = require_iterator_close(); + module.exports = function(iterator, fn, value, ENTRIES) { + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } + }; + }); + var require_is_array_iterator_method = __commonJS(function(exports, module) { + 'use strict'; + var wellKnownSymbol = require_well_known_symbol(); + var Iterators = require_iterators(); + var ITERATOR = wellKnownSymbol('iterator'); + var ArrayPrototype = Array.prototype; + module.exports = function(it) { + return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); + }; + }); + var require_inspect_source = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var isCallable = require_is_callable2(); + var store = require_shared_store(); + var functionToString = uncurryThis(Function.toString); + if (!isCallable(store.inspectSource)) { + store.inspectSource = function(it) { + return functionToString(it); + }; + } + module.exports = store.inspectSource; + }); + var require_is_constructor = __commonJS(function(exports, module) { + 'use strict'; + var uncurryThis = require_function_uncurry_this(); + var fails = require_fails(); + var isCallable = require_is_callable2(); + var classof = require_classof(); + var getBuiltIn = require_get_built_in(); + var inspectSource = require_inspect_source(); + var noop3 = function noop3() {}; + var empty = []; + var construct = getBuiltIn('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec = uncurryThis(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop3); + var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) { + return false; + } + try { + construct(noop3, empty, argument); + return true; + } catch (error) { + return false; + } + }; + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) { + return false; + } + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': + return false; + } + try { + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; + isConstructorLegacy.sham = true; + module.exports = !construct || fails(function() { + var called; + return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() { + called = true; + }) || called; + }) ? isConstructorLegacy : isConstructorModern; + }); + var require_create_property = __commonJS(function(exports, module) { + 'use strict'; + var toPropertyKey = require_to_property_key(); + var definePropertyModule = require_object_define_property(); + var createPropertyDescriptor = require_create_property_descriptor(); + module.exports = function(object, key, value) { + var propertyKey = toPropertyKey(key); + if (propertyKey in object) { + definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); + } else { + object[propertyKey] = value; + } + }; + }); + var require_get_iterator_method = __commonJS(function(exports, module) { + 'use strict'; + var classof = require_classof(); + var getMethod = require_get_method(); + var isNullOrUndefined = require_is_null_or_undefined(); + var Iterators = require_iterators(); + var wellKnownSymbol = require_well_known_symbol(); + var ITERATOR = wellKnownSymbol('iterator'); + module.exports = function(it) { + if (!isNullOrUndefined(it)) { + return getMethod(it, ITERATOR) || getMethod(it, '@@iterator') || Iterators[classof(it)]; + } + }; + }); + var require_get_iterator = __commonJS(function(exports, module) { + 'use strict'; + var call = require_function_call(); + var aCallable = require_a_callable(); + var anObject = require_an_object(); + var tryToString = require_try_to_string(); + var getIteratorMethod = require_get_iterator_method(); + var $TypeError = TypeError; + module.exports = function(argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) { + return anObject(call(iteratorMethod, argument)); + } + throw new $TypeError(tryToString(argument) + ' is not iterable'); + }; + }); + var require_array_from = __commonJS(function(exports, module) { + 'use strict'; + var bind = require_function_bind_context(); + var call = require_function_call(); + var toObject = require_to_object(); + var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); + var isArrayIteratorMethod = require_is_array_iterator_method(); + var isConstructor = require_is_constructor(); + var lengthOfArrayLike = require_length_of_array_like(); + var createProperty = require_create_property(); + var getIterator = require_get_iterator(); + var getIteratorMethod = require_get_iterator_method(); + var $Array = Array; + module.exports = function from(arrayLike) { + var O = toObject(arrayLike); + var IS_CONSTRUCTOR = isConstructor(this); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : void 0; + var mapping = mapfn !== void 0; + if (mapping) { + mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : void 0); + } + var iteratorMethod = getIteratorMethod(O); + var index = 0; + var length, result, step, iterator, next, value; + if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { + iterator = getIterator(O, iteratorMethod); + next = iterator.next; + result = IS_CONSTRUCTOR ? new this() : []; + for (;!(step = call(next, iterator)).done; index++) { + value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [ step.value, index ], true) : step.value; + createProperty(result, index, value); + } + } else { + length = lengthOfArrayLike(O); + result = IS_CONSTRUCTOR ? new this(length) : $Array(length); + for (;length > index; index++) { + value = mapping ? mapfn(O[index], index) : O[index]; + createProperty(result, index, value); + } + } + result.length = index; + return result; + }; + }); + var require_check_correctness_of_iteration = __commonJS(function(exports, module) { + 'use strict'; + var wellKnownSymbol = require_well_known_symbol(); + var ITERATOR = wellKnownSymbol('iterator'); + var SAFE_CLOSING = false; + try { + called = 0; + iteratorWithReturn = { + next: function next() { + return { + done: !!called++ + }; + }, + return: function _return() { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR] = function() { + return this; + }; + Array.from(iteratorWithReturn, function() { + throw 2; + }); + } catch (error) {} + var called; + var iteratorWithReturn; + module.exports = function(exec, SKIP_CLOSING) { + try { + if (!SKIP_CLOSING && !SAFE_CLOSING) { + return false; + } + } catch (error) { + return false; + } + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR] = function() { + return { + next: function next() { + return { + done: ITERATION_SUPPORT = true + }; + } + }; + }; + exec(object); + } catch (error) {} + return ITERATION_SUPPORT; + }; + }); + var require_es_array_from = __commonJS(function() { + 'use strict'; + var $ = require_export(); + var from = require_array_from(); + var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); + var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function(iterable) { + Array.from(iterable); + }); + $({ + target: 'Array', + stat: true, + forced: INCORRECT_ITERATION + }, { + from: from + }); + }); + var require_from2 = __commonJS(function(exports, module) { + 'use strict'; + require_es_string_iterator(); + require_es_array_from(); + var path = require_path(); + module.exports = path.Array.from; + }); + var require_from3 = __commonJS(function(exports, module) { + 'use strict'; + var parent = require_from2(); + module.exports = parent; + }); + var require_from4 = __commonJS(function(exports, module) { + 'use strict'; + var parent = require_from3(); + module.exports = parent; + }); + var require_doT = __commonJS(function(exports, module) { + (function() { + 'use strict'; + var doT3 = { + name: 'doT', + version: '1.1.1', + templateSettings: { + evaluate: /\{\{([\s\S]+?(\}?)+)\}\}/g, + interpolate: /\{\{=([\s\S]+?)\}\}/g, + encode: /\{\{!([\s\S]+?)\}\}/g, + use: /\{\{#([\s\S]+?)\}\}/g, + useParams: /(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g, + define: /\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g, + defineParams: /^\s*([\w$]+):([\s\S]+)/, + conditional: /\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g, + iterate: /\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g, + varname: 'it', + strip: true, + append: true, + selfcontained: false, + doNotSkipEncoded: false + }, + template: void 0, + compile: void 0, + log: true + }; + (function() { + if ((typeof globalThis === 'undefined' ? 'undefined' : _typeof(globalThis)) === 'object') { + return; + } + try { + Object.defineProperty(Object.prototype, '__magic__', { + get: function get() { + return this; + }, + configurable: true + }); + __magic__.globalThis = __magic__; + delete Object.prototype.__magic__; + } catch (e) { + window.globalThis = function() { + if (typeof self !== 'undefined') { + return self; + } + if (typeof window !== 'undefined') { + return window; + } + if (typeof global !== 'undefined') { + return global; + } + if (typeof this !== 'undefined') { + return this; + } + throw new Error('Unable to locate global `this`'); + }(); + } + })(); + doT3.encodeHTMLSource = function(doNotSkipEncoded) { + var encodeHTMLRules = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\'': ''', + '/': '/' + }, matchHTML = doNotSkipEncoded ? /[&<>"'\/]/g : /&(?!#?\w+;)|<|>|"|'|\//g; + return function(code) { + return code ? code.toString().replace(matchHTML, function(m3) { + return encodeHTMLRules[m3] || m3; + }) : ''; + }; + }; + if (typeof module !== 'undefined' && module.exports) { + module.exports = doT3; + } else if (typeof define === 'function' && define.amd) { + define(function() { + return doT3; + }); + } else { + globalThis.doT = doT3; + } + var startend = { + append: { + start: '\'+(', + end: ')+\'', + startencode: '\'+encodeHTML(' + }, + split: { + start: '\';out+=(', + end: ');out+=\'', + startencode: '\';out+=encodeHTML(' + } + }, skip = /$^/; + function resolveDefs(c4, block, def) { + return (typeof block === 'string' ? block : block.toString()).replace(c4.define || skip, function(m3, code, assign, value) { + if (code.indexOf('def.') === 0) { + code = code.substring(4); + } + if (!(code in def)) { + if (assign === ':') { + if (c4.defineParams) { + value.replace(c4.defineParams, function(m4, param, v) { + def[code] = { + arg: param, + text: v + }; + }); + } + if (!(code in def)) { + def[code] = value; + } + } else { + new Function('def', 'def[\'' + code + '\']=' + value)(def); + } + } + return ''; + }).replace(c4.use || skip, function(m3, code) { + if (c4.useParams) { + code = code.replace(c4.useParams, function(m4, s, d2, param) { + if (def[d2] && def[d2].arg && param) { + var rw = (d2 + ':' + param).replace(/'|\\/g, '_'); + def.__exp = def.__exp || {}; + def.__exp[rw] = def[d2].text.replace(new RegExp('(^|[^\\w$])' + def[d2].arg + '([^\\w$])', 'g'), '$1' + param + '$2'); + return s + 'def.__exp[\'' + rw + '\']'; + } + }); + } + var v = new Function('def', 'return ' + code)(def); + return v ? resolveDefs(c4, v, def) : v; + }); + } + function unescape(code) { + return code.replace(/\\('|\\)/g, '$1').replace(/[\r\t\n]/g, ' '); + } + doT3.template = function(tmpl, c4, def) { + c4 = c4 || doT3.templateSettings; + var cse = c4.append ? startend.append : startend.split, needhtmlencode, sid = 0, indv, str = c4.use || c4.define ? resolveDefs(c4, tmpl, def || {}) : tmpl; + str = ('var out=\'' + (c4.strip ? str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g, ' ').replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g, '') : str).replace(/'|\\/g, '\\$&').replace(c4.interpolate || skip, function(m3, code) { + return cse.start + unescape(code) + cse.end; + }).replace(c4.encode || skip, function(m3, code) { + needhtmlencode = true; + return cse.startencode + unescape(code) + cse.end; + }).replace(c4.conditional || skip, function(m3, elsecase, code) { + return elsecase ? code ? '\';}else if(' + unescape(code) + '){out+=\'' : '\';}else{out+=\'' : code ? '\';if(' + unescape(code) + '){out+=\'' : '\';}out+=\''; + }).replace(c4.iterate || skip, function(m3, iterate, vname, iname) { + if (!iterate) { + return '\';} } out+=\''; + } + sid += 1; + indv = iname || 'i' + sid; + iterate = unescape(iterate); + return '\';var arr' + sid + '=' + iterate + ';if(arr' + sid + '){var ' + vname + ',' + indv + '=-1,l' + sid + '=arr' + sid + '.length-1;while(' + indv + '', + sameOrigin: '' + }; + definitions.forEach(function(definition) { + var name = definition.name; + var value = definition.value; + var priority = definition.priority; + var group = definition.group; + constants[name] = value; + constants[name + '_PRIO'] = priority; + constants[name + '_GROUP'] = group; + constants.results[priority] = value; + constants.resultGroups[priority] = group; + constants.resultGroupMap[value] = group; + }); + Object.freeze(constants.results); + Object.freeze(constants.resultGroups); + Object.freeze(constants.resultGroupMap); + Object.freeze(constants); + var constants_default = constants; + function log() { + if ((typeof console === 'undefined' ? 'undefined' : _typeof(console)) === 'object' && console.log) { + Function.prototype.apply.call(console.log, console, arguments); + } + } + var log_default = log; + var whitespaceRegex = /[\t\r\n\f]/g; + var AbstractVirtualNode = function() { + function AbstractVirtualNode() { + _classCallCheck(this, AbstractVirtualNode); + this.parent = void 0; + } + return _createClass(AbstractVirtualNode, [ { + key: 'props', + get: function get() { + throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties'); + } + }, { + key: 'attrNames', + get: function get() { + throw new Error('VirtualNode class must have an "attrNames" property'); + } + }, { + key: 'attr', + value: function attr() { + throw new Error('VirtualNode class must have an "attr" function'); + } + }, { + key: 'hasAttr', + value: function hasAttr() { + throw new Error('VirtualNode class must have a "hasAttr" function'); + } + }, { + key: 'hasClass', + value: function hasClass(className) { + var classAttr = this.attr('class'); + if (!classAttr) { + return false; + } + var selector = ' ' + className + ' '; + return (' ' + classAttr + ' ').replace(whitespaceRegex, ' ').indexOf(selector) >= 0; + } + } ]); + }(); + var abstract_virtual_node_default = AbstractVirtualNode; + var utils_exports = {}; + __export(utils_exports, { + DqElement: function DqElement() { + return dq_element_default; + }, + aggregate: function aggregate() { + return aggregate_default; + }, + aggregateChecks: function aggregateChecks() { + return aggregate_checks_default; + }, + aggregateNodeResults: function aggregateNodeResults() { + return aggregate_node_results_default; + }, + aggregateResult: function aggregateResult() { + return aggregate_result_default; + }, + areStylesSet: function areStylesSet() { + return are_styles_set_default; + }, + assert: function assert() { + return assert_default; + }, + checkHelper: function checkHelper() { + return check_helper_default; + }, + clone: function clone() { + return _clone; + }, + closest: function closest() { + return closest_default; + }, + collectResultsFromFrames: function collectResultsFromFrames() { + return _collectResultsFromFrames; + }, + contains: function contains() { return _contains; }, convertSelector: function convertSelector() { @@ -5015,7 +6794,7 @@ return _filterHtmlAttrs; }, finalizeRuleResult: function finalizeRuleResult() { - return finalize_result_default; + return _finalizeRuleResult; }, findBy: function findBy() { return find_by_default; @@ -5039,7 +6818,7 @@ return _getEnvironmentData; }, getFlattenedTree: function getFlattenedTree() { - return get_flattened_tree_default; + return _getFlattenedTree; }, getFrameContexts: function getFrameContexts() { return _getFrameContexts; @@ -5060,22 +6839,22 @@ return get_root_node_default; }, getRule: function getRule() { - return get_rule_default; + return _getRule; }, getScroll: function getScroll() { - return _getScroll; + return get_scroll_default; }, getScrollState: function getScrollState() { return get_scroll_state_default; }, getSelector: function getSelector() { - return _getSelector; + return get_selector_default; }, getSelectorData: function getSelectorData() { return _getSelectorData; }, getShadowSelector: function getShadowSelector() { - return get_shadow_selector_default; + return _getShadowSelector; }, getStandards: function getStandards() { return _getStandards; @@ -5089,12 +6868,30 @@ injectStyle: function injectStyle() { return inject_style_default; }, + isArrayLike: function isArrayLike() { + return _isArrayLike; + }, + isContextObject: function isContextObject() { + return _isContextObject; + }, + isContextProp: function isContextProp() { + return _isContextProp; + }, + isContextSpec: function isContextSpec() { + return _isContextSpec; + }, isHidden: function isHidden() { return is_hidden_default; }, isHtmlElement: function isHtmlElement() { return is_html_element_default; }, + isLabelledFramesSelector: function isLabelledFramesSelector() { + return _isLabelledFramesSelector; + }, + isLabelledShadowDomSelector: function isLabelledShadowDomSelector() { + return _isLabelledShadowDomSelector; + }, isNodeInContext: function isNodeInContext() { return _isNodeInContext; }, @@ -5108,10 +6905,10 @@ return is_xhtml_default; }, matchAncestry: function matchAncestry() { - return match_ancestry_default; + return _matchAncestry; }, matches: function matches() { - return matches_default; + return _matches; }, matchesExpression: function matchesExpression() { return _matchesExpression; @@ -5125,9 +6922,18 @@ mergeResults: function mergeResults() { return merge_results_default; }, + nodeLookup: function nodeLookup() { + return _nodeLookup; + }, + nodeSerializer: function nodeSerializer() { + return node_serializer_default; + }, nodeSorter: function nodeSorter() { return node_sorter_default; }, + objectHasOwn: function objectHasOwn() { + return _objectHasOwn; + }, parseCrossOriginStylesheet: function parseCrossOriginStylesheet() { return parse_crossorigin_stylesheet_default; }, @@ -5144,7 +6950,7 @@ return _pollyfillElementsFromPoint; }, preload: function preload() { - return preload_default; + return _preload; }, preloadCssom: function preloadCssom() { return preload_cssom_default; @@ -5156,7 +6962,7 @@ return process_message_default; }, publishMetaData: function publishMetaData() { - return publish_metadata_default; + return _publishMetaData; }, querySelectorAll: function querySelectorAll() { return query_selector_all_default; @@ -5210,12 +7016,12 @@ return _validLangs; } }); - function aggregate(map, values, initial) { - values = values.slice(); + function aggregate(map, values2, initial) { + values2 = values2.slice(); if (initial) { - values.push(initial); + values2.push(initial); } - var sorting = values.map(function(val) { + var sorting = values2.map(function(val) { return map.indexOf(val); }).sort(); return map[sorting.pop()]; @@ -5228,19 +7034,19 @@ checkMap[constants_default.FAIL_PRIO] = false; var checkTypes = [ 'any', 'all', 'none' ]; function anyAllNone(obj, functor) { - return checkTypes.reduce(function(out, type) { - out[type] = (obj[type] || []).map(function(val) { - return functor(val, type); + return checkTypes.reduce(function(out, type2) { + out[type2] = (obj[type2] || []).map(function(val) { + return functor(val, type2); }); return out; }, {}); } function aggregateChecks(nodeResOriginal) { var nodeResult = Object.assign({}, nodeResOriginal); - anyAllNone(nodeResult, function(check, type) { + anyAllNone(nodeResult, function(check, type2) { var i = typeof check.result === 'undefined' ? -1 : checkMap.indexOf(check.result); check.priority = i !== -1 ? i : constants_default.CANTTELL_PRIO; - if (type === 'none') { + if (type2 === 'none') { if (check.priority === constants_default.PASS_PRIO) { check.priority = constants_default.FAIL_PRIO; } else if (check.priority === constants_default.FAIL_PRIO) { @@ -5249,23 +7055,23 @@ } }); var priorities = { - all: nodeResult.all.reduce(function(a, b) { - return Math.max(a, b.priority); + all: nodeResult.all.reduce(function(a2, b2) { + return Math.max(a2, b2.priority); }, 0), - none: nodeResult.none.reduce(function(a, b) { - return Math.max(a, b.priority); + none: nodeResult.none.reduce(function(a2, b2) { + return Math.max(a2, b2.priority); }, 0), - any: nodeResult.any.reduce(function(a, b) { - return Math.min(a, b.priority); + any: nodeResult.any.reduce(function(a2, b2) { + return Math.min(a2, b2.priority); }, 4) % 4 }; nodeResult.priority = Math.max(priorities.all, priorities.none, priorities.any); var impacts = []; - checkTypes.forEach(function(type) { - nodeResult[type] = nodeResult[type].filter(function(check) { - return check.priority === nodeResult.priority && check.priority === priorities[type]; + checkTypes.forEach(function(type2) { + nodeResult[type2] = nodeResult[type2].filter(function(check) { + return check.priority === nodeResult.priority && check.priority === priorities[type2]; }); - nodeResult[type].forEach(function(check) { + nodeResult[type2].forEach(function(check) { return impacts.push(check.impact); }); }); @@ -5274,18 +7080,19 @@ } else { nodeResult.impact = null; } - anyAllNone(nodeResult, function(c) { - delete c.result; - delete c.priority; + anyAllNone(nodeResult, function(c4) { + delete c4.result; + delete c4.priority; }); nodeResult.result = constants_default.results[nodeResult.priority]; delete nodeResult.priority; return nodeResult; } var aggregate_checks_default = aggregateChecks; - function finalizeRuleResult(ruleResult) { - var rule = axe._audit.rules.find(function(rule2) { - return rule2.id === ruleResult.id; + function _finalizeRuleResult(ruleResult) { + var rule = axe._audit.rules.find(function(_ref) { + var id = _ref.id; + return id === ruleResult.id; }); if (rule && rule.impact) { ruleResult.nodes.forEach(function(node) { @@ -5300,14 +7107,13 @@ delete ruleResult.nodes; return ruleResult; } - var finalize_result_default = finalizeRuleResult; function aggregateNodeResults(nodeResults) { var ruleResult = {}; nodeResults = nodeResults.map(function(nodeResult) { if (nodeResult.any && nodeResult.all && nodeResult.none) { return aggregate_checks_default(nodeResult); } else if (Array.isArray(nodeResult.node)) { - return finalize_result_default(nodeResult); + return _finalizeRuleResult(nodeResult); } else { throw new TypeError('Invalid Result type'); } @@ -5345,8 +7151,8 @@ function copyToGroup(resultObject, subResult, group) { var resultCopy = Object.assign({}, subResult); resultCopy.nodes = (resultCopy[group] || []).concat(); - constants_default.resultGroups.forEach(function(group2) { - delete resultCopy[group2]; + constants_default.resultGroups.forEach(function(resultGroup) { + delete resultCopy[resultGroup]; }); resultObject[group].push(resultCopy); } @@ -5528,7 +7334,9 @@ var matchesSelector = function() { var method; function getMethod(node) { - var index, candidate, candidates = [ 'matches', 'matchesSelector', 'mozMatchesSelector', 'webkitMatchesSelector', 'msMatchesSelector' ], length = candidates.length; + var candidates = [ 'matches', 'matchesSelector', 'mozMatchesSelector', 'webkitMatchesSelector', 'msMatchesSelector' ]; + var length = candidates.length; + var index, candidate; for (index = 0; index < length; index++) { candidate = candidates[index]; if (node[candidate]) { @@ -5547,14 +7355,22 @@ }; }(); var element_matches_default = matchesSelector; - function isXHTML(doc) { - if (!doc.createElement) { + var import_memoizee = __toModule(require_memoizee()); + axe._memoizedFns = []; + function memoizeImplementation(fn) { + var memoized = (0, import_memoizee['default'])(fn); + axe._memoizedFns.push(memoized); + return memoized; + } + var memoize_default = memoizeImplementation; + var isXHTML = memoize_default(function(doc) { + if (!(doc !== null && doc !== void 0 && doc.createElement)) { return false; } return doc.createElement('A').localName === 'A'; - } + }); var is_xhtml_default = isXHTML; - function getShadowSelector(generateSelector2, elm) { + function _getShadowSelector(generateSelector2, elm) { var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; if (!elm) { return ''; @@ -5579,14 +7395,11 @@ elm: elm, doc: doc }); - return stack.map(function(_ref) { - var elm2 = _ref.elm, doc2 = _ref.doc; - return generateSelector2(elm2, options, doc2); + return stack.map(function(item) { + return generateSelector2(item.elm, options, item.doc); }); } - var get_shadow_selector_default = getShadowSelector; - var xhtml; - var ignoredAttributes = [ 'class', 'style', 'id', 'selected', 'checked', 'disabled', 'tabindex', 'aria-checked', 'aria-selected', 'aria-invalid', 'aria-activedescendant', 'aria-busy', 'aria-disabled', 'aria-expanded', 'aria-grabbed', 'aria-pressed', 'aria-valuenow' ]; + var ignoredAttributes = [ 'class', 'style', 'id', 'selected', 'checked', 'disabled', 'tabindex', 'aria-checked', 'aria-selected', 'aria-invalid', 'aria-activedescendant', 'aria-busy', 'aria-disabled', 'aria-expanded', 'aria-grabbed', 'aria-pressed', 'aria-valuenow', 'xmlns' ]; var MAXATTRIBUTELENGTH = 31; var attrCharsRegex = /([\\"])/g; var newlineChars = /(\r\n|\r|\n)/g; @@ -5608,14 +7421,14 @@ } return atnv; } - function countSort(a, b) { - return a.count < b.count ? -1 : a.count === b.count ? 0 : 1; + function countSort(a2, b2) { + return a2.count < b2.count ? -1 : a2.count === b2.count ? 0 : 1; } function filterAttributes(at) { return !ignoredAttributes.includes(at.name) && at.name.indexOf(':') === -1 && (!at.value || at.value.length < MAXATTRIBUTELENGTH); } function _getSelectorData(domTree) { - var data2 = { + var data = { classes: {}, tags: {}, attributes: {} @@ -5628,18 +7441,18 @@ var node = current.actualNode; if (!!node.querySelectorAll) { var tag = node.nodeName; - if (data2.tags[tag]) { - data2.tags[tag]++; + if (data.tags[tag]) { + data.tags[tag]++; } else { - data2.tags[tag] = 1; + data.tags[tag] = 1; } if (node.classList) { Array.from(node.classList).forEach(function(cl) { var ind = escape_selector_default(cl); - if (data2.classes[ind]) { - data2.classes[ind]++; + if (data.classes[ind]) { + data.classes[ind]++; } else { - data2.classes[ind] = 1; + data.classes[ind] = 1; } }); } @@ -5647,10 +7460,10 @@ Array.from(get_node_attributes_default(node)).filter(filterAttributes).forEach(function(at) { var atnv = getAttributeNameValue(node, at); if (atnv) { - if (data2.attributes[atnv]) { - data2.attributes[atnv]++; + if (data.attributes[atnv]) { + data.attributes[atnv]++; } else { - data2.attributes[atnv] = 1; + data.attributes[atnv] = 1; } } }); @@ -5667,7 +7480,7 @@ while (currentLevel.length) { _loop2(); } - return data2; + return data; } function uncommonClasses(node, selectorData) { var retVal = []; @@ -5710,9 +7523,7 @@ } } function getBaseSelector(elm) { - if (typeof xhtml === 'undefined') { - xhtml = is_xhtml_default(document); - } + var xhtml = is_xhtml_default(document); return escape_selector_default(xhtml ? elm.localName : elm.nodeName.toLowerCase()); } function uncommonAttributes(node, selectorData) { @@ -5752,8 +7563,8 @@ })) { selector = getBaseSelector(elm); } else { - features.sort(function(a, b) { - return a.species !== b.species && a.species === 'class' ? -1 : a.species === b.species ? 0 : 1; + features.sort(function(a2, b2) { + return a2.species !== b2.species && a2.species === 'class' ? -1 : a2.species === b2.species ? 0 : 1; }); } } @@ -5786,8 +7597,8 @@ } else { selector = features; } - if (!similar) { - similar = Array.from(doc.querySelectorAll(selector)); + if (!similar || similar.length > constants_default.selectorSimilarFilterLimit) { + similar = findSimilar(doc, selector); } else { similar = similar.filter(function(item) { return element_matches_default(item, selector); @@ -5802,24 +7613,29 @@ } return ':root'; } - function _getSelector(elm, options) { - return get_shadow_selector_default(generateSelector, elm, options); + function getSelector(elm, options) { + return _getShadowSelector(generateSelector, elm, options); } + var get_selector_default = memoize_default(getSelector); + var findSimilar = memoize_default(function(doc, selector) { + return Array.from(doc.querySelectorAll(selector)); + }); function generateAncestry(node) { var nodeName2 = node.nodeName.toLowerCase(); - var parent = node.parentElement; - if (!parent) { - return nodeName2; - } + var parentElement = node.parentElement; + var parentNode = node.parentNode; var nthChild = ''; - if (nodeName2 !== 'head' && nodeName2 !== 'body' && parent.children.length > 1) { - var index = Array.prototype.indexOf.call(parent.children, node) + 1; + if (nodeName2 !== 'head' && nodeName2 !== 'body' && (parentNode === null || parentNode === void 0 ? void 0 : parentNode.children.length) > 1) { + var index = Array.prototype.indexOf.call(parentNode.children, node) + 1; nthChild = ':nth-child('.concat(index, ')'); } - return generateAncestry(parent) + ' > ' + nodeName2 + nthChild; + if (!parentElement) { + return nodeName2 + nthChild; + } + return generateAncestry(parentElement) + ' > ' + nodeName2 + nthChild; } function _getAncestry(elm, options) { - return get_shadow_selector_default(generateAncestry, elm, options); + return _getShadowSelector(generateAncestry, elm, options); } function getXPathArray(node, path) { var sibling, count; @@ -5923,6 +7739,7 @@ return cache_default.get('nodeMap') ? cache_default.get('nodeMap').get(el) : null; } var get_node_from_tree_default = getNodeFromTree; + var CACHE_KEY = 'DqElm.RunOptions'; function truncate(str, maxLength) { maxLength = maxLength || 300; if (str.length > maxLength) { @@ -5941,10 +7758,14 @@ } return truncate(source || ''); } - function DqElement(elm) { - var _this$spec$selector, _this$_virtualNode; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var spec = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var DqElement = memoize_default(function DqElement2(elm, options, spec) { + var _options, _spec, _this$spec$selector, _this$_virtualNode; + (_options = options) !== null && _options !== void 0 ? _options : options = null; + (_spec = spec) !== null && _spec !== void 0 ? _spec : spec = {}; + if (!options) { + var _cache_default$get; + options = (_cache_default$get = cache_default.get(CACHE_KEY)) !== null && _cache_default$get !== void 0 ? _cache_default$get : {}; + } this.spec = spec; if (elm instanceof abstract_virtual_node_default) { this._virtualNode = elm; @@ -5954,6 +7775,7 @@ this._virtualNode = get_node_from_tree_default(elm); } this.fromFrame = ((_this$spec$selector = this.spec.selector) === null || _this$spec$selector === void 0 ? void 0 : _this$spec$selector.length) > 1; + this._includeElementInJson = options.elementRef; if (options.absolutePaths) { this._options = { toRoot: true @@ -5970,10 +7792,11 @@ var _this$spec$source; this.source = (_this$spec$source = this.spec.source) !== null && _this$spec$source !== void 0 ? _this$spec$source : getSource(this._element); } - } + return this; + }); DqElement.prototype = { get selector() { - return this.spec.selector || [ _getSelector(this.element, this._options) ]; + return this.spec.selector || [ get_selector_default(this.element, this._options) ]; }, get ancestry() { return this.spec.ancestry || [ _getAncestry(this.element) ]; @@ -5985,25 +7808,38 @@ return this._element; }, toJSON: function toJSON() { - return { + var spec = { selector: this.selector, source: this.source, xpath: this.xpath, ancestry: this.ancestry, - nodeIndexes: this.nodeIndexes + nodeIndexes: this.nodeIndexes, + fromFrame: this.fromFrame }; + if (this._includeElementInJson) { + spec.element = this._element; + } + return spec; } }; DqElement.fromFrame = function fromFrame(node, options, frame) { var spec = DqElement.mergeSpecs(node, frame); return new DqElement(frame.element, options, spec); }; - DqElement.mergeSpecs = function mergeSpec(node, frame) { - return _extends({}, node, { - selector: [].concat(_toConsumableArray(frame.selector), _toConsumableArray(node.selector)), - ancestry: [].concat(_toConsumableArray(frame.ancestry), _toConsumableArray(node.ancestry)), - xpath: [].concat(_toConsumableArray(frame.xpath), _toConsumableArray(node.xpath)), - nodeIndexes: [].concat(_toConsumableArray(frame.nodeIndexes), _toConsumableArray(node.nodeIndexes)) + DqElement.mergeSpecs = function mergeSpecs(child, parentFrame) { + return _extends({}, child, { + selector: [].concat(_toConsumableArray(parentFrame.selector), _toConsumableArray(child.selector)), + ancestry: [].concat(_toConsumableArray(parentFrame.ancestry), _toConsumableArray(child.ancestry)), + xpath: [].concat(_toConsumableArray(parentFrame.xpath), _toConsumableArray(child.xpath)), + nodeIndexes: [].concat(_toConsumableArray(parentFrame.nodeIndexes), _toConsumableArray(child.nodeIndexes)), + fromFrame: true + }); + }; + DqElement.setRunOptions = function setRunOptions(_ref2) { + var elementRef = _ref2.elementRef, absolutePaths = _ref2.absolutePaths; + cache_default.set(CACHE_KEY, { + elementRef: elementRef, + absolutePaths: absolutePaths }); }; var dq_element_default = DqElement; @@ -6021,48 +7857,61 @@ } }; }, - data: function data(data2) { - checkResult.data = data2; + data: function data(_data) { + checkResult.data = _data; }, relatedNodes: function relatedNodes(nodes) { if (!window.Node) { return; } - nodes = nodes instanceof window.Node ? [ nodes ] : to_array_default(nodes); - if (!nodes.every(function(node) { - return node instanceof window.Node || node.actualNode; - })) { - return; + if (nodes instanceof window.Node || nodes instanceof abstract_virtual_node_default) { + nodes = [ nodes ]; + } else { + nodes = to_array_default(nodes); } - checkResult.relatedNodes = nodes.map(function(element) { - return new dq_element_default(element, options); + checkResult.relatedNodes = []; + nodes.forEach(function(node) { + if (node instanceof abstract_virtual_node_default) { + node = node.actualNode; + } + if (node instanceof window.Node) { + var dqElm = new dq_element_default(node); + checkResult.relatedNodes.push(dqElm); + } }); } }; } var check_helper_default = checkHelper; - function clone(obj) { + function _clone(obj) { + return cloneRecused(obj, new Map()); + } + function cloneRecused(obj, seen) { var _window, _window2; - var index, length, out = obj; - if ((_window = window) !== null && _window !== void 0 && _window.Node && obj instanceof window.Node || (_window2 = window) !== null && _window2 !== void 0 && _window2.HTMLCollection && obj instanceof window.HTMLCollection) { + if (obj === null || _typeof(obj) !== 'object') { return obj; } - if (obj !== null && _typeof(obj) === 'object') { - if (Array.isArray(obj)) { - out = []; - for (index = 0, length = obj.length; index < length; index++) { - out[index] = clone(obj[index]); - } - } else { - out = {}; - for (index in obj) { - out[index] = clone(obj[index]); - } - } + if ((_window = window) !== null && _window !== void 0 && _window.Node && obj instanceof window.Node || (_window2 = window) !== null && _window2 !== void 0 && _window2.HTMLCollection && obj instanceof window.HTMLCollection || 'nodeName' in obj && 'nodeType' in obj && 'ownerDocument' in obj) { + return obj; + } + if (seen.has(obj)) { + return seen.get(obj); + } + if (Array.isArray(obj)) { + var out2 = []; + seen.set(obj, out2); + obj.forEach(function(value) { + out2.push(cloneRecused(value, seen)); + }); + return out2; + } + var out = {}; + seen.set(obj, out); + for (var key in obj) { + out[key] = cloneRecused(obj[key], seen); } return out; } - var clone_default = clone; var import_css_selector_parser = __toModule(require_lib()); var parser = new import_css_selector_parser.CssSelectorParser(); parser.registerSelectorPseudos('not'); @@ -6070,6 +7919,12 @@ parser.registerNestingOperators('>'); parser.registerAttrEqualityMods('^', '$', '*', '~'); var css_parser_default = parser; + function _matches(vNode, selector) { + var expressions = _convertSelector(selector); + return expressions.some(function(expression) { + return _matchesExpression(vNode, expression); + }); + } function matchesTag(vNode, exp) { return vNode.props.nodeType === 1 && (exp.tag === '*' || vNode.props.nodeName === exp.tag); } @@ -6109,9 +7964,9 @@ } var escapeRegExp = function() { var from = /(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g; - var to = '\\'; + var to2 = '\\'; return function(string) { - return string.replace(from, to); + return string.replace(from, to2); }; }(); var reUnescape = /\\/g; @@ -6197,17 +8052,17 @@ if (!pseudos) { return; } - return pseudos.map(function(p) { + return pseudos.map(function(p2) { var expressions; - if ([ 'is', 'not' ].includes(p.name)) { - expressions = p.value; + if ([ 'is', 'not' ].includes(p2.name)) { + expressions = p2.value; expressions = expressions.selectors ? expressions.selectors : [ expressions ]; expressions = convertExpressions(expressions); } return { - name: p.name, + name: p2.name, expressions: expressions, - value: p.value + value: p2.value }; }); } @@ -6240,32 +8095,25 @@ } var isArray = Array.isArray(expressions); var expression = isArray ? expressions[index] : expressions; - var matches4 = matchExpression(vNode, expression); - while (!matches4 && matchAnyParent && vNode.parent) { + var machedExpression = matchExpression(vNode, expression); + while (!machedExpression && matchAnyParent && vNode.parent) { vNode = vNode.parent; - matches4 = matchExpression(vNode, expression); + machedExpression = matchExpression(vNode, expression); } if (index > 0) { if ([ ' ', '>' ].includes(expression.combinator) === false) { throw new Error('axe.utils.matchesExpression does not support the combinator: ' + expression.combinator); } - matches4 = matches4 && optimizedMatchesExpression(vNode.parent, expressions, index - 1, expression.combinator === ' '); + machedExpression = machedExpression && optimizedMatchesExpression(vNode.parent, expressions, index - 1, expression.combinator === ' '); } - return matches4; + return machedExpression; } function _matchesExpression(vNode, expressions, matchAnyParent) { return optimizedMatchesExpression(vNode, expressions, expressions.length - 1, matchAnyParent); } - function matches(vNode, selector) { - var expressions = _convertSelector(selector); - return expressions.some(function(expression) { - return _matchesExpression(vNode, expression); - }); - } - var matches_default = matches; function closest(vNode, selector) { while (vNode) { - if (matches_default(vNode, selector)) { + if (_matches(vNode, selector)) { return vNode; } if (typeof vNode.parent === 'undefined') { @@ -6379,15 +8227,14 @@ var _rng; var _crypto = window.crypto || window.msCrypto; if (!_rng && _crypto && _crypto.getRandomValues) { - _rnds8 = new Uint8Array(16); + var _rnds8 = new Uint8Array(16); _rng = function whatwgRNG() { _crypto.getRandomValues(_rnds8); return _rnds8; }; } - var _rnds8; if (!_rng) { - _rnds = new Array(16); + var _rnds = new Array(16); _rng = function _rng() { for (var i = 0, r; i < 16; i++) { if ((i & 3) === 0) { @@ -6398,7 +8245,6 @@ return _rnds; }; } - var _rnds; var BufferClass = typeof window.Buffer == 'function' ? window.Buffer : Array; var _byteToHex = []; var _hexToByte = {}; @@ -6430,7 +8276,7 @@ var _lastNSecs = 0; function v1(options, buf, offset) { var i = buf && offset || 0; - var b = buf || []; + var b2 = buf || []; options = options || {}; var clockseq = options.clockseq != null ? options.clockseq : _clockseq; var msecs = options.msecs != null ? options.msecs : new Date().getTime(); @@ -6450,22 +8296,22 @@ _clockseq = clockseq; msecs += 122192928e5; var tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296; - b[i++] = tl >>> 24 & 255; - b[i++] = tl >>> 16 & 255; - b[i++] = tl >>> 8 & 255; - b[i++] = tl & 255; + b2[i++] = tl >>> 24 & 255; + b2[i++] = tl >>> 16 & 255; + b2[i++] = tl >>> 8 & 255; + b2[i++] = tl & 255; var tmh = msecs / 4294967296 * 1e4 & 268435455; - b[i++] = tmh >>> 8 & 255; - b[i++] = tmh & 255; - b[i++] = tmh >>> 24 & 15 | 16; - b[i++] = tmh >>> 16 & 255; - b[i++] = clockseq >>> 8 | 128; - b[i++] = clockseq & 255; + b2[i++] = tmh >>> 8 & 255; + b2[i++] = tmh & 255; + b2[i++] = tmh >>> 24 & 15 | 16; + b2[i++] = tmh >>> 16 & 255; + b2[i++] = clockseq >>> 8 | 128; + b2[i++] = clockseq & 255; var node = options.node || _nodeId; - for (var n = 0; n < 6; n++) { - b[i + n] = node[n]; + for (var n2 = 0; n2 < 6; n2++) { + b2[i + n2] = node[n2]; } - return buf ? buf : unparse(b); + return buf ? buf : unparse(b2); } function v4(options, buf, offset) { var i = buf && offset || 0; @@ -6493,9 +8339,9 @@ axe._uuid = v1(); var uuid_default = v4; var errorTypes = Object.freeze([ 'EvalError', 'RangeError', 'ReferenceError', 'SyntaxError', 'TypeError', 'URIError' ]); - function stringifyMessage(_ref2) { - var topic = _ref2.topic, channelId = _ref2.channelId, message = _ref2.message, messageId = _ref2.messageId, keepalive = _ref2.keepalive; - var data2 = { + function stringifyMessage(_ref3) { + var topic = _ref3.topic, channelId = _ref3.channelId, message = _ref3.message, messageId = _ref3.messageId, keepalive = _ref3.keepalive; + var data = { channelId: channelId, topic: topic, messageId: messageId, @@ -6503,28 +8349,28 @@ source: getSource2() }; if (message instanceof Error) { - data2.error = { + data.error = { name: message.name, message: message.message, stack: message.stack }; } else { - data2.payload = message; + data.payload = message; } - return JSON.stringify(data2); + return JSON.stringify(data); } function parseMessage(dataString) { - var data2; + var data; try { - data2 = JSON.parse(dataString); - } catch (e) { + data = JSON.parse(dataString); + } catch (_unused) { return; } - if (!isRespondableMessage(data2)) { + if (!isRespondableMessage(data)) { return; } - var _data = data2, topic = _data.topic, channelId = _data.channelId, messageId = _data.messageId, keepalive = _data.keepalive; - var message = _typeof(data2.error) === 'object' ? buildErrorObject(data2.error) : data2.payload; + var _data2 = data, topic = _data2.topic, channelId = _data2.channelId, messageId = _data2.messageId, keepalive = _data2.keepalive; + var message = _typeof(data.error) === 'object' ? buildErrorObject(data.error) : data.payload; return { topic: topic, message: message, @@ -6598,22 +8444,22 @@ messageIds.push(uuid2); return true; } - function postMessage(win, data2, sendToParent, replyHandler) { - if (typeof replyHandler === 'function') { - storeReplyHandler(data2.channelId, replyHandler, sendToParent); - } + function postMessage(win, data, sendToParent, replyHandler) { sendToParent ? assertIsParentWindow(win) : assertIsFrameWindow(win); - if (data2.message instanceof Error && !sendToParent) { - axe.log(data2.message); + if (data.message instanceof Error && !sendToParent) { + axe.log(data.message); return false; } var dataString = stringifyMessage(_extends({ messageId: createMessageId() - }, data2)); + }, data)); var allowedOrigins = axe._audit.allowedOrigins; if (!allowedOrigins || !allowedOrigins.length) { return false; } + if (typeof replyHandler === 'function') { + storeReplyHandler(data.channelId, replyHandler, sendToParent); + } allowedOrigins.forEach(function(origin) { try { win.postMessage(dataString, origin); @@ -6645,23 +8491,23 @@ function createResponder(win, channelId) { var sendToParent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; return function respond(message, keepalive, replyHandler) { - var data2 = { + var data = { channelId: channelId, message: message, keepalive: keepalive }; - postMessage(win, data2, sendToParent, replyHandler); + postMessage(win, data, sendToParent, replyHandler); }; } function originIsAllowed(origin) { var allowedOrigins = axe._audit.allowedOrigins; return allowedOrigins && allowedOrigins.includes('*') || allowedOrigins.includes(origin); } - function messageHandler(_ref3, topicHandler) { - var origin = _ref3.origin, dataString = _ref3.data, win = _ref3.source; + function messageHandler(_ref4, topicHandler) { + var origin = _ref4.origin, dataString = _ref4.data, win = _ref4.source; try { - var data2 = parseMessage(dataString) || {}; - var channelId = data2.channelId, message = data2.message, messageId = data2.messageId; + var data = parseMessage(dataString) || {}; + var channelId = data.channelId, message = data.message, messageId = data.messageId; if (!originIsAllowed(origin) || !isNewMessage(messageId)) { return; } @@ -6670,12 +8516,12 @@ return false; } try { - if (data2.topic) { + if (data.topic) { var responder = createResponder(win, channelId); assertIsParentWindow(win); - topicHandler(data2, responder); + topicHandler(data, responder); } else { - callReplyHandler(win, data2); + callReplyHandler(win, data); } } catch (error) { processError(win, error, channelId); @@ -6685,9 +8531,9 @@ return false; } } - function callReplyHandler(win, data2) { - var channelId = data2.channelId, message = data2.message, keepalive = data2.keepalive; - var _ref4 = getReplyHandler(channelId) || {}, replyHandler = _ref4.replyHandler, sendToParent = _ref4.sendToParent; + function callReplyHandler(win, data) { + var channelId = data.channelId, message = data.message, keepalive = data.keepalive; + var _ref5 = getReplyHandler(channelId) || {}, replyHandler = _ref5.replyHandler, sendToParent = _ref5.sendToParent; if (!replyHandler) { return; } @@ -6716,11 +8562,11 @@ window.removeEventListener('message', handler, false); }; }, - post: function post(win, data2, replyHandler) { + post: function post(win, data, replyHandler) { if (typeof window.addEventListener !== 'function') { return false; } - return postMessage(win, data2, false, replyHandler); + return postMessage(win, data, false, replyHandler); } }; function setDefaultFrameMessenger(respondable2) { @@ -6730,16 +8576,16 @@ var postMessage2; var topicHandlers = {}; function _respondable(win, topic, message, keepalive, replyHandler) { - var data2 = { + var data = { topic: topic, message: message, channelId: ''.concat(v4(), ':').concat(v4()), keepalive: keepalive }; - return postMessage2(win, data2, replyHandler); + return postMessage2(win, data, replyHandler); } - function messageListener(data2, responder) { - var topic = data2.topic, message = data2.message, keepalive = data2.keepalive; + function messageListener(data, responder) { + var topic = data.topic, message = data.message, keepalive = data.keepalive; var topicHandler = topicHandlers[topic]; if (!topicHandler) { return; @@ -6751,8 +8597,8 @@ responder(error, keepalive); } } - _respondable.updateMessenger = function updateMessenger(_ref5) { - var open = _ref5.open, post = _ref5.post; + _respondable.updateMessenger = function updateMessenger(_ref6) { + var open = _ref6.open, post = _ref6.post; assert_default(typeof open === 'function', 'open callback must be a function'); assert_default(typeof post === 'function', 'post callback must be a function'); if (closeHandler) { @@ -6811,21 +8657,88 @@ var timeout = setTimeout(function collectResultFramesTimeout() { reject(err('Axe in frame timed out', node)); }, frameWaitTime); - _respondable(win, 'axe.start', parameters, void 0, function(data2) { + _respondable(win, 'axe.start', parameters, void 0, function(data) { clearTimeout(timeout); - if (data2 instanceof Error === false) { - resolve(data2); + if (data instanceof Error === false) { + resolve(data); } else { - reject(data2); + reject(data); } }); } function err(message, node) { var selector; if (axe._tree) { - selector = _getSelector(node); + selector = get_selector_default(node); + } + return new Error(message + ': ' + (selector || node)); + } + var customSerializer = null; + var nodeSerializer = { + update: function update(serializer) { + assert_default(_typeof(serializer) === 'object', 'serializer must be an object'); + customSerializer = serializer; + }, + toSpec: function toSpec(node) { + return nodeSerializer.dqElmToSpec(new dq_element_default(node)); + }, + dqElmToSpec: function dqElmToSpec(dqElm, runOptions) { + var _customSerializer; + if (dqElm instanceof dq_element_default === false) { + return dqElm; + } + if (runOptions) { + dqElm = cloneLimitedDqElement(dqElm, runOptions); + } + if (typeof ((_customSerializer = customSerializer) === null || _customSerializer === void 0 ? void 0 : _customSerializer.toSpec) === 'function') { + return customSerializer.toSpec(dqElm); + } + return dqElm.toJSON(); + }, + mergeSpecs: function mergeSpecs(nodeSpec, parentFrameSpec) { + var _customSerializer2; + if (typeof ((_customSerializer2 = customSerializer) === null || _customSerializer2 === void 0 ? void 0 : _customSerializer2.mergeSpecs) === 'function') { + return customSerializer.mergeSpecs(nodeSpec, parentFrameSpec); + } + return dq_element_default.mergeSpecs(nodeSpec, parentFrameSpec); + }, + mapRawResults: function mapRawResults(rawResults) { + return rawResults.map(function(rawResult) { + return _extends({}, rawResult, { + nodes: nodeSerializer.mapRawNodeResults(rawResult.nodes) + }); + }); + }, + mapRawNodeResults: function mapRawNodeResults(nodeResults) { + return nodeResults === null || nodeResults === void 0 ? void 0 : nodeResults.map(function(_ref7) { + var node = _ref7.node, nodeResult = _objectWithoutProperties(_ref7, _excluded); + nodeResult.node = nodeSerializer.dqElmToSpec(node); + for (var _i2 = 0, _arr = [ 'any', 'all', 'none' ]; _i2 < _arr.length; _i2++) { + var type2 = _arr[_i2]; + nodeResult[type2] = nodeResult[type2].map(function(_ref8) { + var relatedNodes = _ref8.relatedNodes, checkResult = _objectWithoutProperties(_ref8, _excluded2); + checkResult.relatedNodes = relatedNodes.map(nodeSerializer.dqElmToSpec); + return checkResult; + }); + } + return nodeResult; + }); } - return new Error(message + ': ' + (selector || node)); + }; + var node_serializer_default = nodeSerializer; + function cloneLimitedDqElement(dqElm, runOptions) { + var fromFrame2 = dqElm.fromFrame; + var hasAncestry = runOptions.ancestry, hasXpath = runOptions.xpath; + var hasSelectors = runOptions.selectors !== false || fromFrame2; + dqElm = new dq_element_default(dqElm.element, runOptions, { + source: dqElm.source, + nodeIndexes: dqElm.nodeIndexes, + selector: hasSelectors ? dqElm.selector : [ ':root' ], + ancestry: hasAncestry ? dqElm.ancestry : [ ':root' ], + xpath: hasXpath ? dqElm.xpath : '/' + }); + dqElm.fromFrame = fromFrame2; + return dqElm; } function getAllChecks(object) { var result = []; @@ -6835,33 +8748,34 @@ function findBy(array, key, value) { if (Array.isArray(array)) { return array.find(function(obj) { - return _typeof(obj) === 'object' && obj[key] === value; + return obj !== null && _typeof(obj) === 'object' && Object.hasOwn(obj, key) && obj[key] === value; }); } } var find_by_default = findBy; function pushFrame(resultSet, options, frameSpec) { resultSet.forEach(function(res) { - res.node = dq_element_default.fromFrame(res.node, options, frameSpec); + res.node = node_serializer_default.mergeSpecs(res.node, frameSpec); var checks = get_all_checks_default(res); checks.forEach(function(check) { check.relatedNodes = check.relatedNodes.map(function(node) { - return dq_element_default.fromFrame(node, options, frameSpec); + return node_serializer_default.mergeSpecs(node, frameSpec); }); }); }); } - function spliceNodes(target, to) { - var firstFromFrame = to[0].node; - for (var _i2 = 0; _i2 < target.length; _i2++) { - var node = target[_i2].node; + function spliceNodes(target, to2) { + var firstFromFrame = to2[0].node; + var node; + for (var _i3 = 0; _i3 < target.length; _i3++) { + node = target[_i3].node; var resultSort = nodeIndexSort(node.nodeIndexes, firstFromFrame.nodeIndexes); if (resultSort > 0 || resultSort === 0 && firstFromFrame.selector.length < node.selector.length) { - target.splice.apply(target, [ _i2, 0 ].concat(_toConsumableArray(to))); + target.splice.apply(target, [ _i3, 0 ].concat(_toConsumableArray(to2))); return; } } - target.push.apply(target, _toConsumableArray(to)); + target.push.apply(target, _toConsumableArray(to2)); } function normalizeResult(result) { if (!result || !result.results) { @@ -6882,7 +8796,7 @@ if (!results || !results.length) { return; } - var frameSpec = getFrameSpec(frameResult, options); + var frameSpec = getFrameSpec(frameResult); results.forEach(function(ruleResult) { if (ruleResult.nodes && frameSpec) { pushFrame(ruleResult.nodes, options, frameSpec); @@ -6910,14 +8824,14 @@ var nodeIndexesA = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var nodeIndexesB = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; var length = Math.max(nodeIndexesA === null || nodeIndexesA === void 0 ? void 0 : nodeIndexesA.length, nodeIndexesB === null || nodeIndexesB === void 0 ? void 0 : nodeIndexesB.length); - for (var _i3 = 0; _i3 < length; _i3++) { - var indexA = nodeIndexesA === null || nodeIndexesA === void 0 ? void 0 : nodeIndexesA[_i3]; - var indexB = nodeIndexesB === null || nodeIndexesB === void 0 ? void 0 : nodeIndexesB[_i3]; + for (var _i4 = 0; _i4 < length; _i4++) { + var indexA = nodeIndexesA === null || nodeIndexesA === void 0 ? void 0 : nodeIndexesA[_i4]; + var indexB = nodeIndexesB === null || nodeIndexesB === void 0 ? void 0 : nodeIndexesB[_i4]; if (typeof indexA !== 'number' || isNaN(indexA)) { - return _i3 === 0 ? 1 : -1; + return _i4 === 0 ? 1 : -1; } if (typeof indexB !== 'number' || isNaN(indexB)) { - return _i3 === 0 ? -1 : 1; + return _i4 === 0 ? -1 : 1; } if (indexA !== indexB) { return indexA - indexB; @@ -6926,19 +8840,22 @@ return 0; } var merge_results_default = mergeResults; - function getFrameSpec(frameResult, options) { + function getFrameSpec(frameResult) { if (frameResult.frameElement) { - return new dq_element_default(frameResult.frameElement, options); + return node_serializer_default.toSpec(frameResult.frameElement); } else if (frameResult.frameSpec) { return frameResult.frameSpec; } return null; } function _collectResultsFromFrames(parentContent, options, command, parameter, resolve, reject) { + options = _extends({}, options, { + elementRef: false + }); var q = queue_default(); var frames = parentContent.frames; - frames.forEach(function(_ref6) { - var frameElement = _ref6.node, context = _objectWithoutProperties(_ref6, _excluded); + frames.forEach(function(_ref9) { + var frameElement = _ref9.node, context = _objectWithoutProperties(_ref9, _excluded3); q.defer(function(res, rej) { var params = { options: options, @@ -6958,8 +8875,8 @@ _sendCommandToFrame(frameElement, params, callback, rej); }); }); - q.then(function(data2) { - resolve(merge_results_default(data2, options)); + q.then(function(data) { + resolve(merge_results_default(data, options)); })['catch'](reject); } function _contains(vNode, otherVNode) { @@ -6985,8 +8902,8 @@ if (!source || _typeof(source) !== 'object' || Array.isArray(source)) { return; } - for (var _i4 = 0, _Object$keys = Object.keys(source); _i4 < _Object$keys.length; _i4++) { - var key = _Object$keys[_i4]; + for (var _i5 = 0, _Object$keys = Object.keys(source); _i5 < _Object$keys.length; _i5++) { + var key = _Object$keys[_i5]; if (!target.hasOwnProperty(key) || _typeof(source[key]) !== 'object' || Array.isArray(target[key])) { target[key] = source[key]; } else { @@ -6997,15 +8914,15 @@ return target; } var deep_merge_default = deepMerge; - function extendMetaData(to, from) { - Object.assign(to, from); + function extendMetaData(to2, from) { + Object.assign(to2, from); Object.keys(from).filter(function(prop) { return typeof from[prop] === 'function'; }).forEach(function(prop) { - to[prop] = null; + to2[prop] = null; try { - to[prop] = from[prop](to); - } catch (e) {} + to2[prop] = from[prop](to2); + } catch (_unused2) {} }); } var extend_meta_data_default = extendMetaData; @@ -7037,6 +8954,9 @@ findUpVirtual: function findUpVirtual() { return find_up_virtual_default; }, + focusDisabled: function focusDisabled() { + return focus_disabled_default; + }, getComposedParent: function getComposedParent() { return get_composed_parent_default; }, @@ -7049,6 +8969,9 @@ getElementStack: function getElementStack() { return get_element_stack_default; }, + getModalDialog: function getModalDialog() { + return get_modal_dialog_default; + }, getOverflowHiddenAncestors: function getOverflowHiddenAncestors() { return get_overflow_hidden_ancestors_default; }, @@ -7061,6 +8984,12 @@ getTabbableElements: function getTabbableElements() { return get_tabbable_elements_default; }, + getTargetRects: function getTargetRects() { + return get_target_rects_default; + }, + getTargetSize: function getTargetSize() { + return get_target_size_default; + }, getTextElementStack: function getTextElementStack() { return get_text_element_stack_default; }, @@ -7106,6 +9035,9 @@ isInTextBlock: function isInTextBlock() { return is_in_text_block_default; }, + isInert: function isInert() { + return _isInert; + }, isModalOpen: function isModalOpen() { return is_modal_open_default; }, @@ -7167,8 +9099,8 @@ } var get_root_node_default = getRootNode; var get_root_node_default2 = get_root_node_default; - function findElmsInContext(_ref7) { - var context = _ref7.context, value = _ref7.value, attr = _ref7.attr, _ref7$elm = _ref7.elm, elm = _ref7$elm === void 0 ? '' : _ref7$elm; + function findElmsInContext(_ref10) { + var context = _ref10.context, value = _ref10.value, attr = _ref10.attr, _ref10$elm = _ref10.elm, elm = _ref10$elm === void 0 ? '' : _ref10$elm; var root; var escapedValue = escape_selector_default(value); if (context.nodeType === 9 || context.nodeType === 11) { @@ -7208,14 +9140,6 @@ return find_up_virtual_default(get_node_from_tree_default(element), target); } var find_up_default = findUp; - var import_memoizee = __toModule(require_memoizee()); - axe._memoizedFns = []; - function memoizeImplementation(fn) { - var memoized = (0, import_memoizee['default'])(fn); - axe._memoizedFns.push(memoized); - return memoized; - } - var memoize_default = memoizeImplementation; function _rectsOverlap(rect1, rect2) { return (rect1.left | 0) < (rect2.right | 0) && (rect1.right | 0) > (rect2.left | 0) && (rect1.top | 0) < (rect2.bottom | 0) && (rect1.bottom | 0) > (rect2.top | 0); } @@ -7243,11 +9167,11 @@ return vNode.getComputedStylePropertyValue('display') === 'none'; } function visibilityHidden(vNode) { - var _ref8 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref8.isAncestor; + var _ref11 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref11.isAncestor; return !isAncestor && [ 'hidden', 'collapse' ].includes(vNode.getComputedStylePropertyValue('visibility')); } function contentVisibiltyHidden(vNode) { - var _ref9 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref9.isAncestor; + var _ref12 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref12.isAncestor; return !!isAncestor && vNode.getComputedStylePropertyValue('content-visibility') === 'hidden'; } function ariaHidden(vNode) { @@ -7257,22 +9181,29 @@ return vNode.getComputedStylePropertyValue('opacity') === '0'; } function scrollHidden(vNode) { - var scroll = _getScroll(vNode.actualNode); + var scroll = get_scroll_default(vNode.actualNode); var elHeight = parseInt(vNode.getComputedStylePropertyValue('height')); var elWidth = parseInt(vNode.getComputedStylePropertyValue('width')); return !!scroll && (elHeight === 0 || elWidth === 0); } function overflowHidden(vNode) { - var _ref10 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref10.isAncestor; + var _ref13 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref13.isAncestor; if (isAncestor) { return false; } - var rect = vNode.boundingClientRect; + var position = vNode.getComputedStylePropertyValue('position'); + if (position === 'fixed') { + return false; + } var nodes = get_overflow_hidden_ancestors_default(vNode); if (!nodes.length) { return false; } + var rect = vNode.boundingClientRect; return nodes.some(function(node) { + if (position === 'absolute' && !hasPositionedAncestorBetween(vNode, node) && node.getComputedStylePropertyValue('position') === 'static') { + return false; + } var nodeRect = node.boundingClientRect; if (nodeRect.width < 2 || nodeRect.height < 2) { return true; @@ -7290,9 +9221,9 @@ } } if (matchesClipPath) { - var type = matchesClipPath[1]; + var type2 = matchesClipPath[1]; var value = parseInt(matchesClipPath[2], 10); - switch (type) { + switch (type2) { case 'inset': return value >= 50; @@ -7340,10 +9271,20 @@ } return !vNode.parent.hasAttr('open'); } + function hasPositionedAncestorBetween(child, ancestor) { + var node = child.parent; + while (node && node !== ancestor) { + if ([ 'relative', 'sticky' ].includes(node.getComputedStylePropertyValue('position'))) { + return true; + } + node = node.parent; + } + return false; + } var hiddenMethods = [ displayHidden, visibilityHidden, contentVisibiltyHidden, detailsHidden ]; function _isHiddenForEveryone(vNode) { - var _ref11 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, skipAncestors = _ref11.skipAncestors, _ref11$isAncestor = _ref11.isAncestor, isAncestor = _ref11$isAncestor === void 0 ? false : _ref11$isAncestor; - vNode = vNode instanceof abstract_virtual_node_default ? vNode : get_node_from_tree_default(vNode); + var _ref14 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, skipAncestors = _ref14.skipAncestors, _ref14$isAncestor = _ref14.isAncestor, isAncestor = _ref14$isAncestor === void 0 ? false : _ref14$isAncestor; + vNode = _nodeLookup(vNode).vNode; if (skipAncestors) { return isHiddenSelf(vNode, isAncestor); } @@ -7456,20 +9397,20 @@ return true; } function isOffscreen(element) { - var _ref12 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref12.isAncestor; + var _ref15 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, isAncestor = _ref15.isAncestor; if (isAncestor) { return false; } - element = element instanceof abstract_virtual_node_default ? element.actualNode : element; - if (!element) { + var _nodeLookup2 = _nodeLookup(element), domNode = _nodeLookup2.domNode; + if (!domNode) { return void 0; } var leftBoundary; var docElement = document.documentElement; - var styl = window.getComputedStyle(element); + var styl = window.getComputedStyle(domNode); var dir = window.getComputedStyle(document.body || docElement).getPropertyValue('direction'); - var coords = get_element_coordinates_default(element); - if (coords.bottom < 0 && (noParentScrolled(element, coords.bottom) || styl.position === 'absolute')) { + var coords = get_element_coordinates_default(domNode); + if (coords.bottom < 0 && (noParentScrolled(domNode, coords.bottom) || styl.position === 'absolute')) { return true; } if (coords.left === 0 && coords.right === 0) { @@ -7490,7 +9431,7 @@ var is_offscreen_default = isOffscreen; var hiddenMethods2 = [ opacityHidden, scrollHidden, overflowHidden, clipHidden, is_offscreen_default ]; function _isVisibleOnScreen(vNode) { - vNode = vNode instanceof abstract_virtual_node_default ? vNode : get_node_from_tree_default(vNode); + vNode = _nodeLookup(vNode).vNode; return isVisibleOnScreenVirtual(vNode); } var isVisibleOnScreenVirtual = memoize_default(function isVisibleOnScreenMemoized(vNode, isAncestor) { @@ -7522,11 +9463,210 @@ var left = Math.min(rectA.left, rectB.left); return new window.DOMRect(left, top, right - left, bottom - top); } - function _isPointInRect(_ref13, _ref14) { - var x = _ref13.x, y = _ref13.y; - var top = _ref14.top, right = _ref14.right, bottom = _ref14.bottom, left = _ref14.left; + function _isPointInRect(_ref16, _ref17) { + var x = _ref16.x, y = _ref16.y; + var top = _ref17.top, right = _ref17.right, bottom = _ref17.bottom, left = _ref17.left; return y >= top && x <= right && y <= bottom && x >= left; } + var math_exports = {}; + __export(math_exports, { + getBoundingRect: function getBoundingRect() { + return _getBoundingRect; + }, + getIntersectionRect: function getIntersectionRect() { + return _getIntersectionRect; + }, + getOffset: function getOffset() { + return _getOffset; + }, + getRectCenter: function getRectCenter() { + return _getRectCenter; + }, + hasVisualOverlap: function hasVisualOverlap() { + return _hasVisualOverlap; + }, + isPointInRect: function isPointInRect() { + return _isPointInRect; + }, + rectHasMinimumSize: function rectHasMinimumSize() { + return _rectHasMinimumSize; + }, + rectsOverlap: function rectsOverlap() { + return _rectsOverlap; + }, + splitRects: function splitRects() { + return _splitRects; + } + }); + function _getIntersectionRect(rect1, rect2) { + var leftX = Math.max(rect1.left, rect2.left); + var rightX = Math.min(rect1.right, rect2.right); + var topY = Math.max(rect1.top, rect2.top); + var bottomY = Math.min(rect1.bottom, rect2.bottom); + if (leftX >= rightX || topY >= bottomY) { + return null; + } + return new window.DOMRect(leftX, topY, rightX - leftX, bottomY - topY); + } + function _getRectCenter(_ref18) { + var left = _ref18.left, top = _ref18.top, width = _ref18.width, height = _ref18.height; + return new window.DOMPoint(left + width / 2, top + height / 2); + } + var roundingMargin = .05; + function _rectHasMinimumSize(minSize, _ref19) { + var width = _ref19.width, height = _ref19.height; + return width + roundingMargin >= minSize && height + roundingMargin >= minSize; + } + function _getOffset(vTarget, vNeighbor) { + var minRadiusNeighbour = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 12; + var targetRects = get_target_rects_default(vTarget); + var neighborRects = get_target_rects_default(vNeighbor); + if (!targetRects.length || !neighborRects.length) { + return null; + } + var targetBoundingBox = targetRects.reduce(_getBoundingRect); + var targetCenter = _getRectCenter(targetBoundingBox); + var minDistance = Infinity; + var _iterator2 = _createForOfIteratorHelper(neighborRects), _step2; + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) { + var rect = _step2.value; + if (_isPointInRect(targetCenter, rect)) { + return 0; + } + var closestPoint = getClosestPoint(targetCenter, rect); + var distance2 = pointDistance(targetCenter, closestPoint); + minDistance = Math.min(minDistance, distance2); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + var neighborTargetSize = get_target_size_default(vNeighbor); + if (_rectHasMinimumSize(minRadiusNeighbour * 2, neighborTargetSize)) { + return minDistance; + } + var neighborBoundingBox = neighborRects.reduce(_getBoundingRect); + var neighborCenter = _getRectCenter(neighborBoundingBox); + var centerDistance = pointDistance(targetCenter, neighborCenter) - minRadiusNeighbour; + return Math.max(0, Math.min(minDistance, centerDistance)); + } + function getClosestPoint(point, rect) { + var x; + var y; + if (point.x < rect.left) { + x = rect.left; + } else if (point.x > rect.right) { + x = rect.right; + } else { + x = point.x; + } + if (point.y < rect.top) { + y = rect.top; + } else if (point.y > rect.bottom) { + y = rect.bottom; + } else { + y = point.y; + } + return { + x: x, + y: y + }; + } + function pointDistance(pointA, pointB) { + return Math.hypot(pointA.x - pointB.x, pointA.y - pointB.y); + } + function _hasVisualOverlap(vNodeA, vNodeB) { + var rectA = vNodeA.boundingClientRect; + var rectB = vNodeB.boundingClientRect; + if (rectA.left >= rectB.right || rectA.right <= rectB.left || rectA.top >= rectB.bottom || rectA.bottom <= rectB.top) { + return false; + } + return _visuallySort(vNodeA, vNodeB) > 0; + } + function _splitRects(outerRect, overlapRects) { + var uniqueRects = [ outerRect ]; + var _iterator3 = _createForOfIteratorHelper(overlapRects), _step3; + try { + var _loop3 = function _loop3() { + var overlapRect = _step3.value; + uniqueRects = uniqueRects.reduce(function(rects, inputRect) { + return rects.concat(splitRect(inputRect, overlapRect)); + }, []); + if (uniqueRects.length > 4e3) { + throw new Error('splitRects: Too many rects'); + } + }; + for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) { + _loop3(); + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + return uniqueRects; + } + function splitRect(inputRect, clipRect) { + var top = inputRect.top, left = inputRect.left, bottom = inputRect.bottom, right = inputRect.right; + var yAligned = top < clipRect.bottom && bottom > clipRect.top; + var xAligned = left < clipRect.right && right > clipRect.left; + var rects = []; + if (between(clipRect.top, top, bottom) && xAligned) { + rects.push({ + top: top, + left: left, + bottom: clipRect.top, + right: right + }); + } + if (between(clipRect.right, left, right) && yAligned) { + rects.push({ + top: top, + left: clipRect.right, + bottom: bottom, + right: right + }); + } + if (between(clipRect.bottom, top, bottom) && xAligned) { + rects.push({ + top: clipRect.bottom, + right: right, + bottom: bottom, + left: left + }); + } + if (between(clipRect.left, left, right) && yAligned) { + rects.push({ + top: top, + left: left, + bottom: bottom, + right: clipRect.left + }); + } + if (rects.length === 0) { + if (isEnclosedRect(inputRect, clipRect)) { + return []; + } + rects.push(inputRect); + } + return rects.map(computeRect); + } + var between = function between(num, min, max2) { + return num > min && num < max2; + }; + function computeRect(baseRect) { + return new window.DOMRect(baseRect.left, baseRect.top, baseRect.right - baseRect.left, baseRect.bottom - baseRect.top); + } + function isEnclosedRect(rectA, rectB) { + return rectA.top >= rectB.top && rectA.left >= rectB.left && rectA.bottom <= rectB.bottom && rectA.right <= rectB.right; + } + var ROOT_LEVEL = 0; + var DEFAULT_LEVEL = .1; + var FLOAT_LEVEL = .2; + var POSITION_LEVEL = .3; + var nodeIndex = 0; function _createGrid() { var root = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document.body; var rootGrid = arguments.length > 1 ? arguments[1] : undefined; @@ -7541,10 +9681,11 @@ if (!vNode) { vNode = new virtual_node_default(document.documentElement); } - vNode._stackingOrder = [ 0 ]; + nodeIndex = 0; + vNode._stackingOrder = [ createStackingContext(ROOT_LEVEL, nodeIndex++, null) ]; (_rootGrid = rootGrid) !== null && _rootGrid !== void 0 ? _rootGrid : rootGrid = new Grid(); addNodeToGrid(rootGrid, vNode); - if (_getScroll(vNode.actualNode)) { + if (get_scroll_default(vNode.actualNode)) { var subGrid = new Grid(vNode); vNode._subGrid = subGrid; } @@ -7553,7 +9694,11 @@ var node = parentVNode ? treeWalker.nextNode() : treeWalker.currentNode; while (node) { var _vNode = get_node_from_tree_default(node); - if (node.parentElement) { + if (_vNode && _vNode.parent) { + parentVNode = _vNode.parent; + } else if (node.assignedSlot) { + parentVNode = get_node_from_tree_default(node.assignedSlot); + } else if (node.parentElement) { parentVNode = get_node_from_tree_default(node.parentElement); } else if (node.parentNode && get_node_from_tree_default(node.parentNode)) { parentVNode = get_node_from_tree_default(node.parentNode); @@ -7561,10 +9706,10 @@ if (!_vNode) { _vNode = new axe.VirtualNode(node, parentVNode); } - _vNode._stackingOrder = getStackingOrder(_vNode, parentVNode); + _vNode._stackingOrder = createStackingOrder(_vNode, parentVNode, nodeIndex++); var scrollRegionParent = findScrollRegionParent(_vNode, parentVNode); var grid = scrollRegionParent ? scrollRegionParent._subGrid : rootGrid; - if (_getScroll(_vNode.actualNode)) { + if (get_scroll_default(_vNode.actualNode)) { var _subGrid = new Grid(_vNode); _vNode._subGrid = _subGrid; } @@ -7637,44 +9782,70 @@ if ([ 'layout', 'paint', 'strict', 'content' ].includes(contain)) { return true; } - if (zIndex !== 'auto' && parentVNode) { - var parentDsiplay = parentVNode.getComputedStylePropertyValue('display'); - if ([ 'flex', 'inline-flex', 'inline flex', 'grid', 'inline-grid', 'inline grid' ].includes(parentDsiplay)) { - return true; - } + if (zIndex !== 'auto' && isFlexOrGridContainer(parentVNode)) { + return true; } return false; } - function getStackingOrder(vNode, parentVNode) { + function isFlexOrGridContainer(vNode) { + if (!vNode) { + return false; + } + var display2 = vNode.getComputedStylePropertyValue('display'); + return [ 'flex', 'inline-flex', 'grid', 'inline-grid' ].includes(display2); + } + function createStackingOrder(vNode, parentVNode, treeOrder) { var stackingOrder = parentVNode._stackingOrder.slice(); - var zIndex = vNode.getComputedStylePropertyValue('z-index'); - var positioned = vNode.getComputedStylePropertyValue('position') !== 'static'; - var floated = vNode.getComputedStylePropertyValue('float') !== 'none'; - if (positioned && ![ 'auto', '0' ].includes(zIndex)) { - while (stackingOrder.find(function(value) { - return value % 1 !== 0; - })) { - var index = stackingOrder.findIndex(function(value) { - return value % 1 !== 0; - }); - stackingOrder.splice(index, 1); + if (isStackingContext(vNode, parentVNode)) { + var index = stackingOrder.findIndex(function(_ref20) { + var stackLevel2 = _ref20.stackLevel; + return [ ROOT_LEVEL, FLOAT_LEVEL, POSITION_LEVEL ].includes(stackLevel2); + }); + if (index !== -1) { + stackingOrder.splice(index, stackingOrder.length - index); } - stackingOrder[stackingOrder.length - 1] = parseInt(zIndex); } - if (isStackingContext(vNode, parentVNode)) { - stackingOrder.push(0); - } else if (positioned) { - stackingOrder.push(.5); - } else if (floated) { - stackingOrder.push(.25); + var stackLevel = getStackLevel(vNode, parentVNode); + if (stackLevel !== null) { + stackingOrder.push(createStackingContext(stackLevel, treeOrder, vNode)); } return stackingOrder; } + function createStackingContext(stackLevel, treeOrder, vNode) { + return { + stackLevel: stackLevel, + treeOrder: treeOrder, + vNode: vNode + }; + } + function getStackLevel(vNode, parentVNode) { + var zIndex = getRealZIndex(vNode, parentVNode); + if (![ 'auto', '0' ].includes(zIndex)) { + return parseInt(zIndex); + } + if (vNode.getComputedStylePropertyValue('position') !== 'static') { + return POSITION_LEVEL; + } + if (vNode.getComputedStylePropertyValue('float') !== 'none') { + return FLOAT_LEVEL; + } + if (isStackingContext(vNode, parentVNode)) { + return DEFAULT_LEVEL; + } + return null; + } + function getRealZIndex(vNode, parentVNode) { + var position = vNode.getComputedStylePropertyValue('position'); + if (position === 'static' && !isFlexOrGridContainer(parentVNode)) { + return 'auto'; + } + return vNode.getComputedStylePropertyValue('z-index'); + } function findScrollRegionParent(vNode, parentVNode) { var scrollRegionParent = null; var checkedNodes = [ vNode ]; while (parentVNode) { - if (_getScroll(parentVNode.actualNode)) { + if (get_scroll_default(parentVNode.actualNode)) { scrollRegionParent = parentVNode; break; } @@ -7685,16 +9856,23 @@ checkedNodes.push(parentVNode); parentVNode = get_node_from_tree_default(parentVNode.actualNode.parentElement || parentVNode.actualNode.parentNode); } - checkedNodes.forEach(function(vNode2) { - return vNode2._scrollRegionParent = scrollRegionParent; + checkedNodes.forEach(function(virtualNode) { + return virtualNode._scrollRegionParent = scrollRegionParent; }); return scrollRegionParent; } function addNodeToGrid(grid, vNode) { - vNode.clientRects.forEach(function(rect) { + var overflowHiddenNodes = get_overflow_hidden_ancestors_default(vNode); + vNode.clientRects.forEach(function(clientRect) { var _vNode$_grid; + var visibleRect = overflowHiddenNodes.reduce(function(rect, overflowNode) { + return rect && _getIntersectionRect(rect, overflowNode.boundingClientRect); + }, clientRect); + if (!visibleRect) { + return; + } (_vNode$_grid = vNode._grid) !== null && _vNode$_grid !== void 0 ? _vNode$_grid : vNode._grid = grid; - var gridRect = grid.getGridPositionOfRect(rect); + var gridRect = grid.getGridPositionOfRect(visibleRect); grid.loopGridPosition(gridRect, function(gridCell) { if (!gridCell.includes(vNode)) { gridCell.push(vNode); @@ -7709,16 +9887,16 @@ this.container = container; this.cells = []; } - _createClass(Grid, [ { + return _createClass(Grid, [ { key: 'toGridIndex', value: function toGridIndex(num) { return Math.floor(num / constants_default.gridSize); } }, { key: 'getCellFromPoint', - value: function getCellFromPoint(_ref15) { + value: function getCellFromPoint(_ref21) { var _this$cells, _row; - var x = _ref15.x, y = _ref15.y; + var x = _ref21.x, y = _ref21.y; assert_default(this.boundaries, 'Grid does not have cells added'); var rowIndex = this.toGridIndex(y); var colIndex = this.toGridIndex(x); @@ -7748,8 +9926,8 @@ } }, { key: 'getGridPositionOfRect', - value: function getGridPositionOfRect(_ref16) { - var top = _ref16.top, right = _ref16.right, bottom = _ref16.bottom, left = _ref16.left; + value: function getGridPositionOfRect(_ref22) { + var top = _ref22.top, right = _ref22.right, bottom = _ref22.bottom, left = _ref22.left; var margin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; top = this.toGridIndex(top - margin); right = this.toGridIndex(right + margin - 1); @@ -7758,13 +9936,12 @@ return new window.DOMRect(left, top, right - left, bottom - top); } } ]); - return Grid; }(); function loopNegativeIndexMatrix(matrix, start, end, callback) { var _matrix$_negativeInde; (_matrix$_negativeInde = matrix._negativeIndex) !== null && _matrix$_negativeInde !== void 0 ? _matrix$_negativeInde : matrix._negativeIndex = 0; if (start < matrix._negativeIndex) { - for (var _i5 = 0; _i5 < matrix._negativeIndex - start; _i5++) { + for (var _i6 = 0; _i6 < matrix._negativeIndex - start; _i6++) { matrix.splice(0, 0, []); } matrix._negativeIndex = start; @@ -7778,10 +9955,10 @@ } } function _findNearbyElms(vNode) { - var _vNode$_grid2, _vNode$_grid2$cells; + var _vNode$_grid2; var margin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; _createGrid(); - if (!((_vNode$_grid2 = vNode._grid) !== null && _vNode$_grid2 !== void 0 && (_vNode$_grid2$cells = _vNode$_grid2.cells) !== null && _vNode$_grid2$cells !== void 0 && _vNode$_grid2$cells.length)) { + if (!((_vNode$_grid2 = vNode._grid) !== null && _vNode$_grid2 !== void 0 && (_vNode$_grid2 = _vNode$_grid2.cells) !== null && _vNode$_grid2 !== void 0 && _vNode$_grid2.length)) { return []; } var rect = vNode.boundingClientRect; @@ -7790,31 +9967,163 @@ var gridPosition = grid.getGridPositionOfRect(rect, margin); var neighbors = []; grid.loopGridPosition(gridPosition, function(vNeighbors) { - var _iterator2 = _createForOfIteratorHelper(vNeighbors), _step2; + var _iterator4 = _createForOfIteratorHelper(vNeighbors), _step4; try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) { - var vNeighbor = _step2.value; + for (_iterator4.s(); !(_step4 = _iterator4.n()).done; ) { + var vNeighbor = _step4.value; if (vNeighbor && vNeighbor !== vNode && !neighbors.includes(vNeighbor) && selfIsFixed === hasFixedPosition(vNeighbor)) { neighbors.push(vNeighbor); } } } catch (err) { - _iterator2.e(err); + _iterator4.e(err); } finally { - _iterator2.f(); + _iterator4.f(); } }); return neighbors; } - var hasFixedPosition = memoize_default(function(vNode) { - if (!vNode) { - return false; + var hasFixedPosition = memoize_default(function(vNode) { + if (!vNode) { + return false; + } + if (vNode.getComputedStylePropertyValue('position') === 'fixed') { + return true; + } + return hasFixedPosition(vNode.parent); + }); + var getModalDialog = memoize_default(function getModalDialogMemoized() { + var _dialogs$find; + if (!axe._tree) { + return null; + } + var dialogs = query_selector_all_filter_default(axe._tree[0], 'dialog[open]', function(vNode) { + var rect = vNode.boundingClientRect; + var stack = document.elementsFromPoint(rect.left + 1, rect.top + 1); + return stack.includes(vNode.actualNode) && _isVisibleOnScreen(vNode); + }); + if (!dialogs.length) { + return null; + } + var modalDialog = dialogs.find(function(dialog) { + var rect = dialog.boundingClientRect; + var stack = document.elementsFromPoint(rect.left - 10, rect.top - 10); + return stack.includes(dialog.actualNode); + }); + if (modalDialog) { + return modalDialog; + } + return (_dialogs$find = dialogs.find(function(dialog) { + var _getNodeFromGrid; + var _ref23 = (_getNodeFromGrid = getNodeFromGrid(dialog)) !== null && _getNodeFromGrid !== void 0 ? _getNodeFromGrid : {}, vNode = _ref23.vNode, rect = _ref23.rect; + if (!vNode) { + return false; + } + var stack = document.elementsFromPoint(rect.left + 1, rect.top + 1); + return !stack.includes(vNode.actualNode); + })) !== null && _dialogs$find !== void 0 ? _dialogs$find : null; + }); + var get_modal_dialog_default = getModalDialog; + function getNodeFromGrid(dialog) { + _createGrid(); + var grid = axe._tree[0]._grid; + var viewRect = new window.DOMRect(0, 0, window.innerWidth, window.innerHeight); + if (!grid) { + return; + } + for (var row = 0; row < grid.cells.length; row++) { + var cols = grid.cells[row]; + if (!cols) { + continue; + } + for (var col = 0; col < cols.length; col++) { + var cells = cols[col]; + if (!cells) { + continue; + } + for (var _i7 = 0; _i7 < cells.length; _i7++) { + var vNode = cells[_i7]; + var rect = vNode.boundingClientRect; + var intersection = _getIntersectionRect(rect, viewRect); + if (vNode.props.nodeName !== 'html' && vNode !== dialog && vNode.getComputedStylePropertyValue('pointer-events') !== 'none' && intersection) { + return { + vNode: vNode, + rect: intersection + }; + } + } + } + } + } + function _isInert(vNode) { + var _ref24 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, skipAncestors = _ref24.skipAncestors, isAncestor = _ref24.isAncestor; + if (skipAncestors) { + return isInertSelf(vNode, isAncestor); + } + return isInertAncestors(vNode, isAncestor); + } + var isInertSelf = memoize_default(function isInertSelfMemoized(vNode, isAncestor) { + if (vNode.hasAttr('inert')) { + return true; + } + if (!isAncestor && vNode.actualNode) { + var modalDialog = get_modal_dialog_default(); + if (modalDialog && !_contains(modalDialog, vNode)) { + return true; + } + } + return false; + }); + var isInertAncestors = memoize_default(function isInertAncestorsMemoized(vNode, isAncestor) { + if (isInertSelf(vNode, isAncestor)) { + return true; + } + if (!vNode.parent) { + return false; + } + return isInertAncestors(vNode.parent, true); + }); + var allowedDisabledNodeNames = [ 'button', 'command', 'fieldset', 'keygen', 'optgroup', 'option', 'select', 'textarea', 'input' ]; + function isDisabledAttrAllowed(nodeName2) { + return allowedDisabledNodeNames.includes(nodeName2); + } + function focusDisabled(el) { + var _nodeLookup3 = _nodeLookup(el), vNode = _nodeLookup3.vNode; + if (isDisabledAttrAllowed(vNode.props.nodeName) && vNode.hasAttr('disabled') || _isInert(vNode)) { + return true; } - if (vNode.getComputedStylePropertyValue('position') === 'fixed') { + var parentNode = vNode.parent; + var ancestors = []; + var fieldsetDisabled = false; + while (parentNode && parentNode.shadowId === vNode.shadowId && !fieldsetDisabled) { + ancestors.push(parentNode); + if (parentNode.props.nodeName === 'legend') { + break; + } + if (parentNode._inDisabledFieldset !== void 0) { + fieldsetDisabled = parentNode._inDisabledFieldset; + break; + } + if (parentNode.props.nodeName === 'fieldset' && parentNode.hasAttr('disabled')) { + fieldsetDisabled = true; + } + parentNode = parentNode.parent; + } + ancestors.forEach(function(ancestor) { + return ancestor._inDisabledFieldset = fieldsetDisabled; + }); + if (fieldsetDisabled) { return true; } - return hasFixedPosition(vNode.parent); - }); + if (vNode.props.nodeName !== 'area') { + if (!vNode.actualNode) { + return false; + } + return _isHiddenForEveryone(vNode); + } + return false; + } + var focus_disabled_default = focusDisabled; var angularSkipLinkRegex = /^\/\#/; var angularRouterLinkRegex = /^#[!/]/; function _isCurrentPageLink(anchor) { @@ -7872,24 +10181,27 @@ return null; } var get_element_by_reference_default = getElementByReference; - function _visuallySort(a, b) { + function _visuallySort(a2, b2) { _createGrid(); - var length = Math.max(a._stackingOrder.length, b._stackingOrder.length); - for (var _i6 = 0; _i6 < length; _i6++) { - if (typeof b._stackingOrder[_i6] === 'undefined') { + var length = Math.max(a2._stackingOrder.length, b2._stackingOrder.length); + for (var _i8 = 0; _i8 < length; _i8++) { + if (typeof b2._stackingOrder[_i8] === 'undefined') { return -1; - } else if (typeof a._stackingOrder[_i6] === 'undefined') { + } else if (typeof a2._stackingOrder[_i8] === 'undefined') { return 1; } - if (b._stackingOrder[_i6] > a._stackingOrder[_i6]) { + if (b2._stackingOrder[_i8].stackLevel > a2._stackingOrder[_i8].stackLevel) { return 1; } - if (b._stackingOrder[_i6] < a._stackingOrder[_i6]) { + if (b2._stackingOrder[_i8].stackLevel < a2._stackingOrder[_i8].stackLevel) { return -1; } + if (b2._stackingOrder[_i8].treeOrder !== a2._stackingOrder[_i8].treeOrder) { + return b2._stackingOrder[_i8].treeOrder - a2._stackingOrder[_i8].treeOrder; + } } - var aNode = a.actualNode; - var bNode = b.actualNode; + var aNode = a2.actualNode; + var bNode = b2.actualNode; if (aNode.getRootNode && aNode.getRootNode() !== bNode.getRootNode()) { var boundaries = []; while (aNode) { @@ -7908,15 +10220,15 @@ return boundary.root === bNode.getRootNode(); }).node; if (aNode === bNode) { - return a.actualNode.getRootNode() !== aNode.getRootNode() ? -1 : 1; + return a2.actualNode.getRootNode() !== aNode.getRootNode() ? -1 : 1; } } var _window$Node = window.Node, DOCUMENT_POSITION_FOLLOWING = _window$Node.DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_CONTAINS = _window$Node.DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_CONTAINED_BY = _window$Node.DOCUMENT_POSITION_CONTAINED_BY; var docPosition = aNode.compareDocumentPosition(bNode); var DOMOrder = docPosition & DOCUMENT_POSITION_FOLLOWING ? 1 : -1; var isDescendant = docPosition & DOCUMENT_POSITION_CONTAINS || docPosition & DOCUMENT_POSITION_CONTAINED_BY; - var aPosition = getPositionOrder(a); - var bPosition = getPositionOrder(b); + var aPosition = getPositionOrder(a2); + var bPosition = getPositionOrder(b2); if (aPosition === bPosition || isDescendant) { return DOMOrder; } @@ -7947,253 +10259,6 @@ vNode._isFloated = floated; return floated; } - var math_exports = {}; - __export(math_exports, { - getBoundingRect: function getBoundingRect() { - return _getBoundingRect; - }, - getIntersectionRect: function getIntersectionRect() { - return _getIntersectionRect; - }, - getOffset: function getOffset() { - return _getOffset; - }, - getRectCenter: function getRectCenter() { - return _getRectCenter; - }, - hasVisualOverlap: function hasVisualOverlap() { - return _hasVisualOverlap; - }, - isPointInRect: function isPointInRect() { - return _isPointInRect; - }, - rectsOverlap: function rectsOverlap() { - return _rectsOverlap; - }, - splitRects: function splitRects() { - return _splitRects; - } - }); - function _getIntersectionRect(rect1, rect2) { - var leftX = Math.max(rect1.left, rect2.left); - var rightX = Math.min(rect1.right, rect2.right); - var topY = Math.max(rect1.top, rect2.top); - var bottomY = Math.min(rect1.bottom, rect2.bottom); - if (leftX >= rightX || topY >= bottomY) { - return null; - } - return new window.DOMRect(leftX, topY, rightX - leftX, bottomY - topY); - } - function _getOffset(vNodeA, vNodeB) { - var rectA = vNodeA.boundingClientRect; - var rectB = vNodeB.boundingClientRect; - var pointA = getFarthestPoint(rectA, rectB); - var pointB = getClosestPoint(pointA, rectA, rectB); - return pointDistance(pointA, pointB); - } - function getFarthestPoint(rectA, rectB) { - var dimensionProps = [ [ 'x', 'left', 'right', 'width' ], [ 'y', 'top', 'bottom', 'height' ] ]; - var farthestPoint = {}; - dimensionProps.forEach(function(_ref17) { - var _ref18 = _slicedToArray(_ref17, 4), axis = _ref18[0], start = _ref18[1], end = _ref18[2], diameter = _ref18[3]; - if (rectB[start] < rectA[start] && rectB[end] > rectA[end]) { - farthestPoint[axis] = rectA[start] + rectA[diameter] / 2; - return; - } - var centerB = rectB[start] + rectB[diameter] / 2; - var startDistance = Math.abs(centerB - rectA[start]); - var endDistance = Math.abs(centerB - rectA[end]); - if (startDistance >= endDistance) { - farthestPoint[axis] = rectA[start]; - } else { - farthestPoint[axis] = rectA[end]; - } - }); - return farthestPoint; - } - function getClosestPoint(_ref19, ownRect, adjacentRect) { - var x = _ref19.x, y = _ref19.y; - if (pointInRect({ - x: x, - y: y - }, adjacentRect)) { - var closestPoint = getCornerInAdjacentRect({ - x: x, - y: y - }, ownRect, adjacentRect); - if (closestPoint !== null) { - return closestPoint; - } - adjacentRect = ownRect; - } - var _adjacentRect = adjacentRect, top = _adjacentRect.top, right = _adjacentRect.right, bottom = _adjacentRect.bottom, left = _adjacentRect.left; - var xAligned = x >= left && x <= right; - var yAligned = y >= top && y <= bottom; - var closestX = Math.abs(left - x) < Math.abs(right - x) ? left : right; - var closestY = Math.abs(top - y) < Math.abs(bottom - y) ? top : bottom; - if (!xAligned && yAligned) { - return { - x: closestX, - y: y - }; - } else if (xAligned && !yAligned) { - return { - x: x, - y: closestY - }; - } else if (!xAligned && !yAligned) { - return { - x: closestX, - y: closestY - }; - } - if (Math.abs(x - closestX) < Math.abs(y - closestY)) { - return { - x: closestX, - y: y - }; - } else { - return { - x: x, - y: closestY - }; - } - } - function pointDistance(pointA, pointB) { - var xDistance = Math.abs(pointA.x - pointB.x); - var yDistance = Math.abs(pointA.y - pointB.y); - if (!xDistance || !yDistance) { - return xDistance || yDistance; - } - return Math.sqrt(Math.pow(xDistance, 2) + Math.pow(yDistance, 2)); - } - function pointInRect(_ref20, rect) { - var x = _ref20.x, y = _ref20.y; - return y >= rect.top && x <= rect.right && y <= rect.bottom && x >= rect.left; - } - function getCornerInAdjacentRect(_ref21, ownRect, adjacentRect) { - var x = _ref21.x, y = _ref21.y; - var closestX, closestY; - if (x === ownRect.left && ownRect.right < adjacentRect.right) { - closestX = ownRect.right; - } else if (x === ownRect.right && ownRect.left > adjacentRect.left) { - closestX = ownRect.left; - } - if (y === ownRect.top && ownRect.bottom < adjacentRect.bottom) { - closestY = ownRect.bottom; - } else if (y === ownRect.bottom && ownRect.top > adjacentRect.top) { - closestY = ownRect.top; - } - if (!closestX && !closestY) { - return null; - } else if (!closestY) { - return { - x: closestX, - y: y - }; - } else if (!closestX) { - return { - x: x, - y: closestY - }; - } - if (Math.abs(x - closestX) < Math.abs(y - closestY)) { - return { - x: closestX, - y: y - }; - } else { - return { - x: x, - y: closestY - }; - } - } - function _getRectCenter(_ref22) { - var left = _ref22.left, top = _ref22.top, width = _ref22.width, height = _ref22.height; - return new window.DOMPoint(left + width / 2, top + height / 2); - } - function _hasVisualOverlap(vNodeA, vNodeB) { - var rectA = vNodeA.boundingClientRect; - var rectB = vNodeB.boundingClientRect; - if (rectA.left >= rectB.right || rectA.right <= rectB.left || rectA.top >= rectB.bottom || rectA.bottom <= rectB.top) { - return false; - } - return _visuallySort(vNodeA, vNodeB) > 0; - } - function _splitRects(outerRect, overlapRects) { - var uniqueRects = [ outerRect ]; - var _iterator3 = _createForOfIteratorHelper(overlapRects), _step3; - try { - var _loop3 = function _loop3() { - var overlapRect = _step3.value; - uniqueRects = uniqueRects.reduce(function(uniqueRects2, inputRect) { - return uniqueRects2.concat(splitRect(inputRect, overlapRect)); - }, []); - }; - for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) { - _loop3(); - } - } catch (err) { - _iterator3.e(err); - } finally { - _iterator3.f(); - } - return uniqueRects; - } - function splitRect(inputRect, clipRect) { - var top = inputRect.top, left = inputRect.left, bottom = inputRect.bottom, right = inputRect.right; - var yAligned = top < clipRect.bottom && bottom > clipRect.top; - var xAligned = left < clipRect.right && right > clipRect.left; - var rects = []; - if (between(clipRect.top, top, bottom) && xAligned) { - rects.push({ - top: top, - left: left, - bottom: clipRect.top, - right: right - }); - } - if (between(clipRect.right, left, right) && yAligned) { - rects.push({ - top: top, - left: clipRect.right, - bottom: bottom, - right: right - }); - } - if (between(clipRect.bottom, top, bottom) && xAligned) { - rects.push({ - top: clipRect.bottom, - right: right, - bottom: bottom, - left: left - }); - } - if (between(clipRect.left, left, right) && yAligned) { - rects.push({ - top: top, - left: left, - bottom: bottom, - right: clipRect.left - }); - } - if (rects.length === 0) { - rects.push(inputRect); - } - return rects.map(computeRect); - } - var between = function between(num, min, max) { - return num > min && num < max; - }; - function computeRect(baseRect) { - return _extends({}, baseRect, { - x: baseRect.left, - y: baseRect.top, - height: baseRect.bottom - baseRect.top, - width: baseRect.right - baseRect.left - }); - } function getRectStack(grid, rect) { var recursed = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var center = _getRectCenter(rect); @@ -8211,43 +10276,133 @@ if (gridContainer) { stack = getRectStack(gridContainer._grid, gridContainer.boundingClientRect, true).concat(stack); } - if (!recursed) { - stack = stack.sort(_visuallySort).map(function(vNode) { - return vNode.actualNode; - }).concat(document.documentElement).filter(function(node, index, array) { - return array.indexOf(node) === index; - }); + if (!recursed) { + stack = stack.sort(_visuallySort).map(function(vNode) { + return vNode.actualNode; + }).concat(document.documentElement).filter(function(node, index, array) { + return array.indexOf(node) === index; + }); + } + return stack; + } + function getElementStack(node) { + _createGrid(); + var vNode = get_node_from_tree_default(node); + var grid = vNode._grid; + if (!grid) { + return []; + } + return getRectStack(grid, vNode.boundingClientRect); + } + var get_element_stack_default = getElementStack; + function getTabbableElements(virtualNode) { + var nodeAndDescendents = query_selector_all_default(virtualNode, '*'); + var tabbableElements = nodeAndDescendents.filter(function(vNode) { + var isFocusable2 = vNode.isFocusable; + var tabIndex = vNode.actualNode.getAttribute('tabindex'); + tabIndex = tabIndex && !isNaN(parseInt(tabIndex, 10)) ? parseInt(tabIndex) : null; + return tabIndex ? isFocusable2 && tabIndex >= 0 : isFocusable2; + }); + return tabbableElements; + } + var get_tabbable_elements_default = getTabbableElements; + function isNativelyFocusable(el) { + var _nodeLookup4 = _nodeLookup(el), vNode = _nodeLookup4.vNode; + if (!vNode || focus_disabled_default(vNode)) { + return false; + } + switch (vNode.props.nodeName) { + case 'a': + case 'area': + if (vNode.hasAttr('href')) { + return true; + } + break; + + case 'input': + return vNode.props.type !== 'hidden'; + + case 'textarea': + case 'select': + case 'summary': + case 'button': + return true; + + case 'details': + return !query_selector_all_default(vNode, 'summary').length; + } + return false; + } + var is_natively_focusable_default = isNativelyFocusable; + function _isFocusable(el) { + var _nodeLookup5 = _nodeLookup(el), vNode = _nodeLookup5.vNode; + if (vNode.props.nodeType !== 1) { + return false; + } + if (focus_disabled_default(vNode)) { + return false; + } else if (is_natively_focusable_default(vNode)) { + return true; + } + var tabindex = vNode.attr('tabindex'); + if (tabindex && !isNaN(parseInt(tabindex, 10))) { + return true; } - return stack; + return false; } - function getElementStack(node) { - _createGrid(); - var vNode = get_node_from_tree_default(node); - var grid = vNode._grid; - if (!grid) { - return []; + function _isInTabOrder(el) { + var _nodeLookup6 = _nodeLookup(el), vNode = _nodeLookup6.vNode; + if (vNode.props.nodeType !== 1) { + return false; } - return getRectStack(grid, vNode.boundingClientRect); + var tabindex = parseInt(vNode.attr('tabindex', 10)); + if (tabindex <= -1) { + return false; + } + return _isFocusable(vNode); } - var get_element_stack_default = getElementStack; - function getTabbableElements(virtualNode) { - var nodeAndDescendents = query_selector_all_default(virtualNode, '*'); - var tabbableElements = nodeAndDescendents.filter(function(vNode) { - var isFocusable2 = vNode.isFocusable; - var tabIndex = vNode.actualNode.getAttribute('tabindex'); - tabIndex = tabIndex && !isNaN(parseInt(tabIndex, 10)) ? parseInt(tabIndex) : null; - return tabIndex ? isFocusable2 && tabIndex >= 0 : isFocusable2; + var get_target_rects_default = memoize_default(getTargetRects); + function getTargetRects(vNode) { + var nodeRect = vNode.boundingClientRect; + var overlappingVNodes = _findNearbyElms(vNode).filter(function(vNeighbor) { + return _hasVisualOverlap(vNode, vNeighbor) && vNeighbor.getComputedStylePropertyValue('pointer-events') !== 'none' && !isDescendantNotInTabOrder(vNode, vNeighbor); + }); + if (!overlappingVNodes.length) { + return [ nodeRect ]; + } + var obscuringRects = overlappingVNodes.map(function(_ref25) { + var rect = _ref25.boundingClientRect; + return rect; + }); + return _splitRects(nodeRect, obscuringRects); + } + function isDescendantNotInTabOrder(vAncestor, vNode) { + return _contains(vAncestor, vNode) && !_isInTabOrder(vNode); + } + var get_target_size_default = memoize_default(getTargetSize); + function getTargetSize(vNode, minSize) { + var rects = get_target_rects_default(vNode); + return getLargestRect(rects, minSize); + } + function getLargestRect(rects, minSize) { + return rects.reduce(function(rectA, rectB) { + var rectAisMinimum = _rectHasMinimumSize(minSize, rectA); + var rectBisMinimum = _rectHasMinimumSize(minSize, rectB); + if (rectAisMinimum !== rectBisMinimum) { + return rectAisMinimum ? rectA : rectB; + } + var areaA = rectA.width * rectA.height; + var areaB = rectB.width * rectB.height; + return areaA > areaB ? rectA : rectB; }); - return tabbableElements; } - var get_tabbable_elements_default = getTabbableElements; var text_exports = {}; __export(text_exports, { accessibleText: function accessibleText() { return accessible_text_default; }, accessibleTextVirtual: function accessibleTextVirtual() { - return accessible_text_virtual_default; + return _accessibleTextVirtual; }, autocomplete: function autocomplete() { return _autocomplete; @@ -8265,7 +10420,7 @@ return is_human_interpretable_default; }, isIconLigature: function isIconLigature() { - return is_icon_ligature_default; + return _isIconLigature; }, isValidAutocomplete: function isValidAutocomplete() { return is_valid_autocomplete_default; @@ -8283,7 +10438,7 @@ return native_element_type_default; }, nativeTextAlternative: function nativeTextAlternative() { - return native_text_alternative_default; + return _nativeTextAlternative; }, nativeTextMethods: function nativeTextMethods() { return native_text_methods_default; @@ -8326,23 +10481,21 @@ } } return result; - } catch (e) { + } catch (_unused3) { throw new TypeError('Cannot resolve id references for non-DOM nodes'); } } var idrefs_default = idrefs; function accessibleText(element, context) { var virtualNode = get_node_from_tree_default(element); - return accessible_text_virtual_default(virtualNode, context); + return _accessibleTextVirtual(virtualNode, context); } var accessible_text_default = accessibleText; - function arialabelledbyText(vNode) { + function arialabelledbyText(element) { var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - if (!(vNode instanceof abstract_virtual_node_default)) { - if (vNode.nodeType !== 1) { - return ''; - } - vNode = get_node_from_tree_default(vNode); + var _nodeLookup7 = _nodeLookup(element), vNode = _nodeLookup7.vNode; + if ((vNode === null || vNode === void 0 ? void 0 : vNode.props.nodeType) !== 1) { + return ''; } if (vNode.props.nodeType !== 1 || context.inLabelledByContext || context.inControlContext || !vNode.attr('aria-labelledby')) { return ''; @@ -8363,16 +10516,13 @@ }, ''); } var arialabelledby_text_default = arialabelledbyText; - function arialabelText(vNode) { - if (!(vNode instanceof abstract_virtual_node_default)) { - if (vNode.nodeType !== 1) { - return ''; - } - vNode = get_node_from_tree_default(vNode); + function _arialabelText(element) { + var _nodeLookup8 = _nodeLookup(element), vNode = _nodeLookup8.vNode; + if ((vNode === null || vNode === void 0 ? void 0 : vNode.props.nodeType) !== 1) { + return ''; } return vNode.attr('aria-label') || ''; } - var arialabel_text_default = arialabelText; var ariaAttrs = { 'aria-activedescendant': { type: 'idref', @@ -8386,6 +10536,16 @@ type: 'nmtoken', values: [ 'inline', 'list', 'both', 'none' ] }, + 'aria-braillelabel': { + type: 'string', + allowEmpty: true, + global: true + }, + 'aria-brailleroledescription': { + type: 'string', + allowEmpty: true, + global: true + }, 'aria-busy': { type: 'boolean', global: true @@ -8422,6 +10582,11 @@ allowEmpty: true, global: true }, + 'aria-description': { + type: 'string', + allowEmpty: true, + global: true + }, 'aria-details': { type: 'idref', allowEmpty: true, @@ -8575,18 +10740,19 @@ type: 'decimal' }, 'aria-valuetext': { - type: 'string' + type: 'string', + allowEmpty: true } }; var aria_attrs_default = ariaAttrs; var ariaRoles = { alert: { - type: 'widget', + type: 'structure', allowedAttrs: [ 'aria-expanded' ], superclassRole: [ 'section' ] }, alertdialog: { - type: 'widget', + type: 'window', allowedAttrs: [ 'aria-expanded', 'aria-modal' ], superclassRole: [ 'alert', 'dialog' ], accessibleNameRequired: true @@ -8635,7 +10801,7 @@ checkbox: { type: 'widget', requiredAttrs: [ 'aria-checked' ], - allowedAttrs: [ 'aria-readonly', 'aria-required' ], + allowedAttrs: [ 'aria-readonly', 'aria-expanded', 'aria-required' ], superclassRole: [ 'input' ], accessibleNameRequired: true, nameFromContent: true, @@ -8695,13 +10861,14 @@ prohibitedAttrs: [ 'aria-label', 'aria-labelledby' ] }, dialog: { - type: 'widget', + type: 'window', allowedAttrs: [ 'aria-expanded', 'aria-modal' ], superclassRole: [ 'window' ], accessibleNameRequired: true }, directory: { type: 'structure', + deprecated: true, allowedAttrs: [ 'aria-expanded' ], superclassRole: [ 'list' ], nameFromContent: true @@ -8808,7 +10975,7 @@ nameFromContent: true }, log: { - type: 'widget', + type: 'structure', allowedAttrs: [ 'aria-expanded' ], superclassRole: [ 'section' ] }, @@ -8818,7 +10985,7 @@ superclassRole: [ 'landmark' ] }, marquee: { - type: 'widget', + type: 'structure', allowedAttrs: [ 'aria-expanded' ], superclassRole: [ 'section' ] }, @@ -8830,13 +10997,13 @@ }, menu: { type: 'composite', - requiredOwned: [ 'group', 'menuitemradio', 'menuitem', 'menuitemcheckbox', 'menu' ], + requiredOwned: [ 'group', 'menuitemradio', 'menuitem', 'menuitemcheckbox', 'menu', 'separator' ], allowedAttrs: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation' ], superclassRole: [ 'select' ] }, menubar: { type: 'composite', - requiredOwned: [ 'group', 'menuitemradio', 'menuitem', 'menuitemcheckbox', 'menu' ], + requiredOwned: [ 'group', 'menuitemradio', 'menuitem', 'menuitemcheckbox', 'menu', 'separator' ], allowedAttrs: [ 'aria-activedescendant', 'aria-expanded', 'aria-orientation' ], superclassRole: [ 'menu' ] }, @@ -8852,7 +11019,7 @@ type: 'widget', requiredContext: [ 'menu', 'menubar', 'group' ], requiredAttrs: [ 'aria-checked' ], - allowedAttrs: [ 'aria-posinset', 'aria-readonly', 'aria-setsize' ], + allowedAttrs: [ 'aria-expanded', 'aria-posinset', 'aria-readonly', 'aria-setsize' ], superclassRole: [ 'checkbox', 'menuitem' ], accessibleNameRequired: true, nameFromContent: true, @@ -8862,7 +11029,7 @@ type: 'widget', requiredContext: [ 'menu', 'menubar', 'group' ], requiredAttrs: [ 'aria-checked' ], - allowedAttrs: [ 'aria-posinset', 'aria-readonly', 'aria-setsize' ], + allowedAttrs: [ 'aria-expanded', 'aria-posinset', 'aria-readonly', 'aria-setsize' ], superclassRole: [ 'menuitemcheckbox', 'radio' ], accessibleNameRequired: true, nameFromContent: true, @@ -9016,7 +11183,7 @@ slider: { type: 'widget', requiredAttrs: [ 'aria-valuenow' ], - allowedAttrs: [ 'aria-valuemax', 'aria-valuemin', 'aria-orientation', 'aria-readonly', 'aria-valuetext' ], + allowedAttrs: [ 'aria-valuemax', 'aria-valuemin', 'aria-orientation', 'aria-readonly', 'aria-required', 'aria-valuetext' ], superclassRole: [ 'input', 'range' ], accessibleNameRequired: true, childrenPresentational: true @@ -9028,7 +11195,7 @@ accessibleNameRequired: true }, status: { - type: 'widget', + type: 'structure', allowedAttrs: [ 'aria-expanded' ], superclassRole: [ 'section' ] }, @@ -9054,7 +11221,7 @@ switch: { type: 'widget', requiredAttrs: [ 'aria-checked' ], - allowedAttrs: [ 'aria-readonly' ], + allowedAttrs: [ 'aria-expanded', 'aria-readonly', 'aria-required' ], superclassRole: [ 'checkbox' ], accessibleNameRequired: true, nameFromContent: true, @@ -9116,7 +11283,7 @@ superclassRole: [ 'section' ] }, timer: { - type: 'widget', + type: 'structure', allowedAttrs: [ 'aria-expanded' ], superclassRole: [ 'status' ] }, @@ -9430,7 +11597,7 @@ }, aside: { contentTypes: [ 'sectioning', 'flow' ], - allowedRoles: [ 'feed', 'note', 'presentation', 'none', 'region', 'search', 'doc-dedication', 'doc-example', 'doc-footnote', 'doc-pullquote', 'doc-tip' ] + allowedRoles: [ 'feed', 'note', 'presentation', 'none', 'region', 'search', 'doc-dedication', 'doc-example', 'doc-footnote', 'doc-glossary', 'doc-pullquote', 'doc-tip' ] }, audio: { variant: { @@ -9477,7 +11644,7 @@ }, button: { contentTypes: [ 'interactive', 'phrasing', 'flow' ], - allowedRoles: [ 'checkbox', 'combobox', 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'radio', 'switch', 'tab' ], + allowedRoles: [ 'checkbox', 'combobox', 'gridcell', 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'radio', 'separator', 'slider', 'switch', 'tab', 'treeitem' ], namingMethods: [ 'subtreeText' ] }, canvas: { @@ -9511,6 +11678,7 @@ datalist: { contentTypes: [ 'phrasing', 'flow' ], allowedRoles: false, + noAriaAttrs: true, implicitAttrs: { 'aria-multiselectable': 'false' } @@ -9576,7 +11744,7 @@ }, form: { contentTypes: [ 'flow' ], - allowedRoles: [ 'search', 'none', 'presentation' ] + allowedRoles: [ 'form', 'search', 'none', 'presentation' ] }, h1: { contentTypes: [ 'heading', 'flow' ], @@ -9667,7 +11835,7 @@ }, { hasAccessibleName: true } ], - allowedRoles: [ 'button', 'checkbox', 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'option', 'progressbar', 'radio', 'scrollbar', 'separator', 'slider', 'switch', 'tab', 'treeitem', 'doc-cover' ] + allowedRoles: [ 'button', 'checkbox', 'link', 'menuitem', 'menuitemcheckbox', 'menuitemradio', 'meter', 'option', 'progressbar', 'radio', 'scrollbar', 'separator', 'slider', 'switch', 'tab', 'treeitem', 'doc-cover' ] }, usemap: { matches: '[usemap]', @@ -9877,2325 +12045,5652 @@ contentTypes: [ 'flow' ], allowedRoles: [ 'directory', 'group', 'listbox', 'menu', 'menubar', 'none', 'presentation', 'radiogroup', 'tablist', 'toolbar', 'tree' ] }, - optgroup: { - allowedRoles: false + optgroup: { + allowedRoles: false + }, + option: { + allowedRoles: false, + implicitAttrs: { + 'aria-selected': 'false' + } + }, + output: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true, + namingMethods: [ 'subtreeText' ] + }, + p: { + contentTypes: [ 'flow' ], + allowedRoles: true, + shadowRoot: true + }, + param: { + allowedRoles: false, + noAriaAttrs: true + }, + picture: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: false, + noAriaAttrs: true + }, + pre: { + contentTypes: [ 'flow' ], + allowedRoles: true + }, + progress: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: false, + implicitAttrs: { + 'aria-valuemax': '100', + 'aria-valuemin': '0', + 'aria-valuenow': '0' + } + }, + q: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + rp: { + allowedRoles: true + }, + rt: { + allowedRoles: true + }, + ruby: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + s: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + samp: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + script: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: false, + noAriaAttrs: true + }, + search: { + contentTypes: [ 'flow' ], + allowedRoles: [ 'form', 'group', 'none', 'presentation', 'region', 'search' ] + }, + section: { + contentTypes: [ 'sectioning', 'flow' ], + allowedRoles: [ 'alert', 'alertdialog', 'application', 'banner', 'complementary', 'contentinfo', 'dialog', 'document', 'feed', 'group', 'log', 'main', 'marquee', 'navigation', 'none', 'note', 'presentation', 'search', 'status', 'tabpanel', 'doc-abstract', 'doc-acknowledgments', 'doc-afterword', 'doc-appendix', 'doc-bibliography', 'doc-chapter', 'doc-colophon', 'doc-conclusion', 'doc-credit', 'doc-credits', 'doc-dedication', 'doc-endnotes', 'doc-epigraph', 'doc-epilogue', 'doc-errata', 'doc-example', 'doc-foreword', 'doc-glossary', 'doc-index', 'doc-introduction', 'doc-notice', 'doc-pagelist', 'doc-part', 'doc-preface', 'doc-prologue', 'doc-pullquote', 'doc-qna', 'doc-toc' ], + shadowRoot: true + }, + select: { + variant: { + combobox: { + matches: { + attributes: { + multiple: null, + size: [ null, '1' ] + } + }, + allowedRoles: [ 'menu' ] + }, + default: { + allowedRoles: false + } + }, + contentTypes: [ 'interactive', 'phrasing', 'flow' ], + implicitAttrs: { + 'aria-valuenow': '' + }, + namingMethods: [ 'labelText' ] + }, + slot: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: false, + noAriaAttrs: true + }, + small: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + source: { + allowedRoles: false, + noAriaAttrs: true + }, + span: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true, + shadowRoot: true + }, + strong: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + style: { + allowedRoles: false, + noAriaAttrs: true + }, + svg: { + contentTypes: [ 'embedded', 'phrasing', 'flow' ], + allowedRoles: true, + chromiumRole: 'SVGRoot', + namingMethods: [ 'svgTitleText' ] + }, + sub: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + summary: { + allowedRoles: false, + namingMethods: [ 'subtreeText' ] + }, + sup: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true + }, + table: { + contentTypes: [ 'flow' ], + allowedRoles: true, + namingMethods: [ 'tableCaptionText', 'tableSummaryText' ] + }, + tbody: { + allowedRoles: true + }, + template: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: false, + noAriaAttrs: true + }, + textarea: { + contentTypes: [ 'interactive', 'phrasing', 'flow' ], + allowedRoles: false, + implicitAttrs: { + 'aria-valuenow': '', + 'aria-multiline': 'true' + }, + namingMethods: [ 'labelText', 'placeholderText' ] + }, + tfoot: { + allowedRoles: true + }, + thead: { + allowedRoles: true + }, + time: { + contentTypes: [ 'phrasing', 'flow' ], + allowedRoles: true }, - option: { + title: { allowedRoles: false, - implicitAttrs: { - 'aria-selected': 'false' - } + noAriaAttrs: true }, - output: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true, - namingMethods: [ 'subtreeText' ] + td: { + allowedRoles: true }, - p: { - contentTypes: [ 'flow' ], - allowedRoles: true, - shadowRoot: true + th: { + allowedRoles: true }, - param: { + tr: { + allowedRoles: true + }, + track: { allowedRoles: false, noAriaAttrs: true }, - picture: { + u: { contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: false, - noAriaAttrs: true + allowedRoles: true }, - pre: { + ul: { contentTypes: [ 'flow' ], + allowedRoles: [ 'directory', 'group', 'listbox', 'menu', 'menubar', 'none', 'presentation', 'radiogroup', 'tablist', 'toolbar', 'tree' ] + }, + var: { + contentTypes: [ 'phrasing', 'flow' ], allowedRoles: true }, - progress: { + video: { + variant: { + controls: { + matches: '[controls]', + contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ] + }, + default: { + contentTypes: [ 'embedded', 'phrasing', 'flow' ] + } + }, + allowedRoles: [ 'application' ], + chromiumRole: 'video' + }, + wbr: { contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: false, - implicitAttrs: { - 'aria-valuemax': '100', - 'aria-valuemin': '0', - 'aria-valuenow': '0' + allowedRoles: [ 'presentation', 'none' ] + } + }; + var html_elms_default = htmlElms; + var cssColors = { + aliceblue: [ 240, 248, 255 ], + antiquewhite: [ 250, 235, 215 ], + aqua: [ 0, 255, 255 ], + aquamarine: [ 127, 255, 212 ], + azure: [ 240, 255, 255 ], + beige: [ 245, 245, 220 ], + bisque: [ 255, 228, 196 ], + black: [ 0, 0, 0 ], + blanchedalmond: [ 255, 235, 205 ], + blue: [ 0, 0, 255 ], + blueviolet: [ 138, 43, 226 ], + brown: [ 165, 42, 42 ], + burlywood: [ 222, 184, 135 ], + cadetblue: [ 95, 158, 160 ], + chartreuse: [ 127, 255, 0 ], + chocolate: [ 210, 105, 30 ], + coral: [ 255, 127, 80 ], + cornflowerblue: [ 100, 149, 237 ], + cornsilk: [ 255, 248, 220 ], + crimson: [ 220, 20, 60 ], + cyan: [ 0, 255, 255 ], + darkblue: [ 0, 0, 139 ], + darkcyan: [ 0, 139, 139 ], + darkgoldenrod: [ 184, 134, 11 ], + darkgray: [ 169, 169, 169 ], + darkgreen: [ 0, 100, 0 ], + darkgrey: [ 169, 169, 169 ], + darkkhaki: [ 189, 183, 107 ], + darkmagenta: [ 139, 0, 139 ], + darkolivegreen: [ 85, 107, 47 ], + darkorange: [ 255, 140, 0 ], + darkorchid: [ 153, 50, 204 ], + darkred: [ 139, 0, 0 ], + darksalmon: [ 233, 150, 122 ], + darkseagreen: [ 143, 188, 143 ], + darkslateblue: [ 72, 61, 139 ], + darkslategray: [ 47, 79, 79 ], + darkslategrey: [ 47, 79, 79 ], + darkturquoise: [ 0, 206, 209 ], + darkviolet: [ 148, 0, 211 ], + deeppink: [ 255, 20, 147 ], + deepskyblue: [ 0, 191, 255 ], + dimgray: [ 105, 105, 105 ], + dimgrey: [ 105, 105, 105 ], + dodgerblue: [ 30, 144, 255 ], + firebrick: [ 178, 34, 34 ], + floralwhite: [ 255, 250, 240 ], + forestgreen: [ 34, 139, 34 ], + fuchsia: [ 255, 0, 255 ], + gainsboro: [ 220, 220, 220 ], + ghostwhite: [ 248, 248, 255 ], + gold: [ 255, 215, 0 ], + goldenrod: [ 218, 165, 32 ], + gray: [ 128, 128, 128 ], + green: [ 0, 128, 0 ], + greenyellow: [ 173, 255, 47 ], + grey: [ 128, 128, 128 ], + honeydew: [ 240, 255, 240 ], + hotpink: [ 255, 105, 180 ], + indianred: [ 205, 92, 92 ], + indigo: [ 75, 0, 130 ], + ivory: [ 255, 255, 240 ], + khaki: [ 240, 230, 140 ], + lavender: [ 230, 230, 250 ], + lavenderblush: [ 255, 240, 245 ], + lawngreen: [ 124, 252, 0 ], + lemonchiffon: [ 255, 250, 205 ], + lightblue: [ 173, 216, 230 ], + lightcoral: [ 240, 128, 128 ], + lightcyan: [ 224, 255, 255 ], + lightgoldenrodyellow: [ 250, 250, 210 ], + lightgray: [ 211, 211, 211 ], + lightgreen: [ 144, 238, 144 ], + lightgrey: [ 211, 211, 211 ], + lightpink: [ 255, 182, 193 ], + lightsalmon: [ 255, 160, 122 ], + lightseagreen: [ 32, 178, 170 ], + lightskyblue: [ 135, 206, 250 ], + lightslategray: [ 119, 136, 153 ], + lightslategrey: [ 119, 136, 153 ], + lightsteelblue: [ 176, 196, 222 ], + lightyellow: [ 255, 255, 224 ], + lime: [ 0, 255, 0 ], + limegreen: [ 50, 205, 50 ], + linen: [ 250, 240, 230 ], + magenta: [ 255, 0, 255 ], + maroon: [ 128, 0, 0 ], + mediumaquamarine: [ 102, 205, 170 ], + mediumblue: [ 0, 0, 205 ], + mediumorchid: [ 186, 85, 211 ], + mediumpurple: [ 147, 112, 219 ], + mediumseagreen: [ 60, 179, 113 ], + mediumslateblue: [ 123, 104, 238 ], + mediumspringgreen: [ 0, 250, 154 ], + mediumturquoise: [ 72, 209, 204 ], + mediumvioletred: [ 199, 21, 133 ], + midnightblue: [ 25, 25, 112 ], + mintcream: [ 245, 255, 250 ], + mistyrose: [ 255, 228, 225 ], + moccasin: [ 255, 228, 181 ], + navajowhite: [ 255, 222, 173 ], + navy: [ 0, 0, 128 ], + oldlace: [ 253, 245, 230 ], + olive: [ 128, 128, 0 ], + olivedrab: [ 107, 142, 35 ], + orange: [ 255, 165, 0 ], + orangered: [ 255, 69, 0 ], + orchid: [ 218, 112, 214 ], + palegoldenrod: [ 238, 232, 170 ], + palegreen: [ 152, 251, 152 ], + paleturquoise: [ 175, 238, 238 ], + palevioletred: [ 219, 112, 147 ], + papayawhip: [ 255, 239, 213 ], + peachpuff: [ 255, 218, 185 ], + peru: [ 205, 133, 63 ], + pink: [ 255, 192, 203 ], + plum: [ 221, 160, 221 ], + powderblue: [ 176, 224, 230 ], + purple: [ 128, 0, 128 ], + rebeccapurple: [ 102, 51, 153 ], + red: [ 255, 0, 0 ], + rosybrown: [ 188, 143, 143 ], + royalblue: [ 65, 105, 225 ], + saddlebrown: [ 139, 69, 19 ], + salmon: [ 250, 128, 114 ], + sandybrown: [ 244, 164, 96 ], + seagreen: [ 46, 139, 87 ], + seashell: [ 255, 245, 238 ], + sienna: [ 160, 82, 45 ], + silver: [ 192, 192, 192 ], + skyblue: [ 135, 206, 235 ], + slateblue: [ 106, 90, 205 ], + slategray: [ 112, 128, 144 ], + slategrey: [ 112, 128, 144 ], + snow: [ 255, 250, 250 ], + springgreen: [ 0, 255, 127 ], + steelblue: [ 70, 130, 180 ], + tan: [ 210, 180, 140 ], + teal: [ 0, 128, 128 ], + thistle: [ 216, 191, 216 ], + tomato: [ 255, 99, 71 ], + turquoise: [ 64, 224, 208 ], + violet: [ 238, 130, 238 ], + wheat: [ 245, 222, 179 ], + white: [ 255, 255, 255 ], + whitesmoke: [ 245, 245, 245 ], + yellow: [ 255, 255, 0 ], + yellowgreen: [ 154, 205, 50 ] + }; + var css_colors_default = cssColors; + var originals = { + ariaAttrs: aria_attrs_default, + ariaRoles: _extends({}, aria_roles_default, dpub_roles_default, graphics_roles_default), + htmlElms: html_elms_default, + cssColors: css_colors_default + }; + var standards = _extends({}, originals); + function configureStandards(config) { + Object.keys(standards).forEach(function(propName) { + if (config[propName]) { + standards[propName] = deep_merge_default(standards[propName], config[propName]); + } + }); + } + function resetStandards() { + Object.keys(standards).forEach(function(propName) { + standards[propName] = originals[propName]; + }); + } + var standards_default = standards; + function isUnsupportedRole(role) { + var roleDefinition = standards_default.ariaRoles[role]; + return roleDefinition ? !!roleDefinition.unsupported : false; + } + var is_unsupported_role_default = isUnsupportedRole; + function isValidRole(role) { + var _ref26 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, allowAbstract = _ref26.allowAbstract, _ref26$flagUnsupporte = _ref26.flagUnsupported, flagUnsupported = _ref26$flagUnsupporte === void 0 ? false : _ref26$flagUnsupporte; + var roleDefinition = standards_default.ariaRoles[role]; + var isRoleUnsupported = is_unsupported_role_default(role); + if (!roleDefinition || flagUnsupported && isRoleUnsupported) { + return false; + } + return allowAbstract ? true : roleDefinition.type !== 'abstract'; + } + var is_valid_role_default = isValidRole; + function getExplicitRole(vNode) { + var _ref27 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, fallback = _ref27.fallback, abstracts = _ref27.abstracts, dpub = _ref27.dpub; + vNode = vNode instanceof abstract_virtual_node_default ? vNode : get_node_from_tree_default(vNode); + if (vNode.props.nodeType !== 1) { + return null; + } + var roleAttr = (vNode.attr('role') || '').trim().toLowerCase(); + var roleList = fallback ? token_list_default(roleAttr) : [ roleAttr ]; + var firstValidRole = roleList.find(function(role) { + if (!dpub && role.substr(0, 4) === 'doc-') { + return false; } - }, - q: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - rp: { - allowedRoles: true - }, - rt: { - allowedRoles: true - }, - ruby: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - s: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - samp: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - script: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: false, - noAriaAttrs: true - }, - section: { - contentTypes: [ 'sectioning', 'flow' ], - allowedRoles: [ 'alert', 'alertdialog', 'application', 'banner', 'complementary', 'contentinfo', 'dialog', 'document', 'feed', 'group', 'log', 'main', 'marquee', 'navigation', 'none', 'note', 'presentation', 'search', 'status', 'tabpanel', 'doc-abstract', 'doc-acknowledgments', 'doc-afterword', 'doc-appendix', 'doc-bibliography', 'doc-chapter', 'doc-colophon', 'doc-conclusion', 'doc-credit', 'doc-credits', 'doc-dedication', 'doc-endnotes', 'doc-epigraph', 'doc-epilogue', 'doc-errata', 'doc-example', 'doc-foreword', 'doc-glossary', 'doc-index', 'doc-introduction', 'doc-notice', 'doc-pagelist', 'doc-part', 'doc-preface', 'doc-prologue', 'doc-pullquote', 'doc-qna', 'doc-toc' ], - shadowRoot: true - }, - select: { - variant: { - combobox: { - matches: { - attributes: { - multiple: null, - size: [ null, '1' ] + return is_valid_role_default(role, { + allowAbstract: abstracts + }); + }); + return firstValidRole || null; + } + var get_explicit_role_default = getExplicitRole; + function getElementsByContentType(type2) { + return Object.keys(standards_default.htmlElms).filter(function(nodeName2) { + var elm = standards_default.htmlElms[nodeName2]; + if (elm.contentTypes) { + return elm.contentTypes.includes(type2); + } + if (!elm.variant) { + return false; + } + if (elm.variant['default'] && elm.variant['default'].contentTypes) { + return elm.variant['default'].contentTypes.includes(type2); + } + return false; + }); + } + var get_elements_by_content_type_default = getElementsByContentType; + function getGlobalAriaAttrs() { + return cache_default.get('globalAriaAttrs', function() { + return Object.keys(standards_default.ariaAttrs).filter(function(attrName) { + return standards_default.ariaAttrs[attrName].global; + }); + }); + } + var get_global_aria_attrs_default = getGlobalAriaAttrs; + function toGrid(node) { + var table = []; + var rows = node.rows; + for (var _i9 = 0, rowLength = rows.length; _i9 < rowLength; _i9++) { + var cells = rows[_i9].cells; + table[_i9] = table[_i9] || []; + var columnIndex = 0; + for (var j = 0, cellLength = cells.length; j < cellLength; j++) { + for (var colSpan = 0; colSpan < cells[j].colSpan; colSpan++) { + var rowspanAttr = cells[j].getAttribute('rowspan'); + var rowspanValue = parseInt(rowspanAttr) === 0 || cells[j].rowspan === 0 ? rows.length : cells[j].rowSpan; + for (var rowSpan = 0; rowSpan < rowspanValue; rowSpan++) { + table[_i9 + rowSpan] = table[_i9 + rowSpan] || []; + while (table[_i9 + rowSpan][columnIndex]) { + columnIndex++; } - }, - allowedRoles: [ 'menu' ] - }, - default: { - allowedRoles: false + table[_i9 + rowSpan][columnIndex] = cells[j]; + } + columnIndex++; } - }, - contentTypes: [ 'interactive', 'phrasing', 'flow' ], - implicitAttrs: { - 'aria-valuenow': '' - }, - namingMethods: [ 'labelText' ] - }, - slot: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: false, - noAriaAttrs: true - }, - small: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - source: { - allowedRoles: false, - noAriaAttrs: true - }, - span: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true, - shadowRoot: true - }, - strong: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - style: { - allowedRoles: false, - noAriaAttrs: true - }, - svg: { - contentTypes: [ 'embedded', 'phrasing', 'flow' ], - allowedRoles: true, - chromiumRole: 'SVGRoot', - namingMethods: [ 'svgTitleText' ] - }, - sub: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - summary: { - allowedRoles: false, - namingMethods: [ 'subtreeText' ] - }, - sup: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true - }, - table: { - contentTypes: [ 'flow' ], - allowedRoles: true, - namingMethods: [ 'tableCaptionText', 'tableSummaryText' ] - }, - tbody: { - allowedRoles: true - }, - template: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: false, - noAriaAttrs: true - }, - textarea: { - contentTypes: [ 'interactive', 'phrasing', 'flow' ], - allowedRoles: false, - implicitAttrs: { - 'aria-valuenow': '', - 'aria-multiline': 'true' - }, - namingMethods: [ 'labelText', 'placeholderText' ] + } + } + return table; + } + var to_grid_default = memoize_default(toGrid); + function getCellPosition(cell, tableGrid) { + var rowIndex, index; + if (!tableGrid) { + tableGrid = to_grid_default(find_up_default(cell, 'table')); + } + for (rowIndex = 0; rowIndex < tableGrid.length; rowIndex++) { + if (tableGrid[rowIndex]) { + index = tableGrid[rowIndex].indexOf(cell); + if (index !== -1) { + return { + x: index, + y: rowIndex + }; + } + } + } + } + var get_cell_position_default = memoize_default(getCellPosition); + function _getScope(el) { + var _nodeLookup9 = _nodeLookup(el), vNode = _nodeLookup9.vNode, cell = _nodeLookup9.domNode; + var scope = vNode.attr('scope'); + var role = vNode.attr('role'); + if (![ 'td', 'th' ].includes(vNode.props.nodeName)) { + throw new TypeError('Expected TD or TH element'); + } + if (role === 'columnheader') { + return 'col'; + } else if (role === 'rowheader') { + return 'row'; + } else if (scope === 'col' || scope === 'row') { + return scope; + } else if (vNode.props.nodeName !== 'th') { + return false; + } else if (!vNode.actualNode) { + return 'auto'; + } + var tableGrid = to_grid_default(find_up_default(cell, 'table')); + var pos = get_cell_position_default(cell, tableGrid); + var headerRow = tableGrid[pos.y].every(function(node) { + return node.nodeName.toUpperCase() === 'TH'; + }); + if (headerRow) { + return 'col'; + } + var headerCol = tableGrid.map(function(col) { + return col[pos.x]; + }).every(function(node) { + return node && node.nodeName.toUpperCase() === 'TH'; + }); + if (headerCol) { + return 'row'; + } + return 'auto'; + } + function isColumnHeader(element) { + return [ 'col', 'auto' ].indexOf(_getScope(element)) !== -1; + } + var is_column_header_default = isColumnHeader; + function isRowHeader(cell) { + return [ 'row', 'auto' ].includes(_getScope(cell)); + } + var is_row_header_default = isRowHeader; + function sanitize(str) { + if (!str) { + return ''; + } + return str.replace(/\r\n/g, '\n').replace(/\u00A0/g, ' ').replace(/[\s]{2,}/g, ' ').trim(); + } + var sanitize_default = sanitize; + var getSectioningContentSelector = function getSectioningContentSelector() { + return cache_default.get('sectioningContentSelector', function() { + return get_elements_by_content_type_default('sectioning').map(function(nodeName2) { + return ''.concat(nodeName2, ':not([role])'); + }).join(', ') + ' , [role=article], [role=complementary], [role=navigation], [role=region]'; + }); + }; + var getSectioningContentPlusMainSelector = function getSectioningContentPlusMainSelector() { + return cache_default.get('sectioningContentPlusMainSelector', function() { + return getSectioningContentSelector() + ' , main:not([role]), [role=main]'; + }); + }; + function hasAccessibleName(vNode) { + var _ref28 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref28$checkTitle = _ref28.checkTitle, checkTitle = _ref28$checkTitle === void 0 ? false : _ref28$checkTitle; + return !!(sanitize_default(arialabelledby_text_default(vNode)) || sanitize_default(_arialabelText(vNode)) || checkTitle && (vNode === null || vNode === void 0 ? void 0 : vNode.props.nodeType) === 1 && sanitize_default(vNode.attr('title'))); + } + var implicitHtmlRoles = { + a: function a(vNode) { + return vNode.hasAttr('href') ? 'link' : null; }, - tfoot: { - allowedRoles: true + area: function area(vNode) { + return vNode.hasAttr('href') ? 'link' : null; }, - thead: { - allowedRoles: true + article: 'article', + aside: function aside(vNode) { + if (closest_default(vNode.parent, getSectioningContentSelector()) && !hasAccessibleName(vNode, { + checkTitle: true + })) { + return null; + } + return 'complementary'; }, - time: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true + body: 'document', + button: 'button', + datalist: 'listbox', + dd: 'definition', + dfn: 'term', + details: 'group', + dialog: 'dialog', + dt: 'term', + fieldset: 'group', + figure: 'figure', + footer: function footer(vNode) { + var sectioningElement = closest_default(vNode, getSectioningContentPlusMainSelector()); + return !sectioningElement ? 'contentinfo' : null; }, - title: { - allowedRoles: false, - noAriaAttrs: true + form: function form(vNode) { + return hasAccessibleName(vNode) ? 'form' : null; }, - td: { - allowedRoles: true + h1: 'heading', + h2: 'heading', + h3: 'heading', + h4: 'heading', + h5: 'heading', + h6: 'heading', + header: function header(vNode) { + var sectioningElement = closest_default(vNode, getSectioningContentPlusMainSelector()); + return !sectioningElement ? 'banner' : null; }, - th: { - allowedRoles: true + hr: 'separator', + img: function img(vNode) { + var emptyAlt = vNode.hasAttr('alt') && !vNode.attr('alt'); + var hasGlobalAria = get_global_aria_attrs_default().find(function(attr) { + return vNode.hasAttr(attr); + }); + return emptyAlt && !hasGlobalAria && !_isFocusable(vNode) ? 'presentation' : 'img'; }, - tr: { - allowedRoles: true + input: function input(vNode) { + var suggestionsSourceElement; + if (vNode.hasAttr('list')) { + var listElement = idrefs_default(vNode.actualNode, 'list').filter(function(node) { + return !!node; + })[0]; + suggestionsSourceElement = listElement && listElement.nodeName.toLowerCase() === 'datalist'; + } + switch (vNode.props.type) { + case 'checkbox': + return 'checkbox'; + + case 'number': + return 'spinbutton'; + + case 'radio': + return 'radio'; + + case 'range': + return 'slider'; + + case 'search': + return !suggestionsSourceElement ? 'searchbox' : 'combobox'; + + case 'button': + case 'image': + case 'reset': + case 'submit': + return 'button'; + + case 'text': + case 'tel': + case 'url': + case 'email': + case '': + return !suggestionsSourceElement ? 'textbox' : 'combobox'; + + default: + return 'textbox'; + } }, - track: { - allowedRoles: false, - noAriaAttrs: true + li: 'listitem', + main: 'main', + math: 'math', + menu: 'list', + meter: 'meter', + nav: 'navigation', + ol: 'list', + optgroup: 'group', + option: 'option', + output: 'status', + progress: 'progressbar', + search: 'search', + section: function section(vNode) { + return hasAccessibleName(vNode) ? 'region' : null; }, - u: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true + select: function select(vNode) { + return vNode.hasAttr('multiple') || parseInt(vNode.attr('size')) > 1 ? 'listbox' : 'combobox'; }, - ul: { - contentTypes: [ 'flow' ], - allowedRoles: [ 'directory', 'group', 'listbox', 'menu', 'menubar', 'none', 'presentation', 'radiogroup', 'tablist', 'toolbar', 'tree' ] + summary: 'button', + table: 'table', + tbody: 'rowgroup', + td: function td(vNode) { + var table = closest_default(vNode, 'table'); + var role = get_explicit_role_default(table); + return [ 'grid', 'treegrid' ].includes(role) ? 'gridcell' : 'cell'; }, - var: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: true + textarea: 'textbox', + tfoot: 'rowgroup', + th: function th(vNode) { + if (is_column_header_default(vNode)) { + return 'columnheader'; + } + if (is_row_header_default(vNode)) { + return 'rowheader'; + } }, - video: { - variant: { - controls: { - matches: '[controls]', - contentTypes: [ 'interactive', 'embedded', 'phrasing', 'flow' ] - }, - default: { - contentTypes: [ 'embedded', 'phrasing', 'flow' ] + thead: 'rowgroup', + tr: 'row', + ul: 'list' + }; + var implicit_html_roles_default = implicitHtmlRoles; + function fromPrimative(someString, matcher) { + var matcherType = _typeof(matcher); + if (Array.isArray(matcher) && typeof someString !== 'undefined') { + return matcher.includes(someString); + } + if (matcherType === 'function') { + return !!matcher(someString); + } + if (someString !== null && someString !== void 0) { + if (matcher instanceof RegExp) { + return matcher.test(someString); + } + if (/^\/.*\/$/.test(matcher)) { + var pattern = matcher.substring(1, matcher.length - 1); + return new RegExp(pattern).test(someString); + } + } + return matcher === someString; + } + var from_primative_default = fromPrimative; + function hasAccessibleName2(vNode, matcher) { + return from_primative_default(!!_accessibleTextVirtual(vNode), matcher); + } + var has_accessible_name_default = hasAccessibleName2; + function fromFunction(getValue, matcher) { + var matcherType = _typeof(matcher); + if (matcherType !== 'object' || Array.isArray(matcher) || matcher instanceof RegExp) { + throw new Error('Expect matcher to be an object'); + } + return Object.keys(matcher).every(function(propName) { + return from_primative_default(getValue(propName), matcher[propName]); + }); + } + var from_function_default = fromFunction; + function attributes(vNode, matcher) { + vNode = _nodeLookup(vNode).vNode; + return from_function_default(function(attrName) { + return vNode.attr(attrName); + }, matcher); + } + var attributes_default = attributes; + function condition(arg, matcher) { + return !!matcher(arg); + } + function explicitRole(vNode, matcher) { + return from_primative_default(get_explicit_role_default(vNode), matcher); + } + var explicit_role_default = explicitRole; + function implicitRole(vNode, matcher) { + return from_primative_default(implicit_role_default(vNode), matcher); + } + var implicit_role_default2 = implicitRole; + function nodeName(vNode, matcher) { + vNode = _nodeLookup(vNode).vNode; + return from_primative_default(vNode.props.nodeName, matcher); + } + var node_name_default = nodeName; + function properties(vNode, matcher) { + vNode = _nodeLookup(vNode).vNode; + return from_function_default(function(propName) { + return vNode.props[propName]; + }, matcher); + } + var properties_default = properties; + function semanticRole(vNode, matcher) { + return from_primative_default(get_role_default(vNode), matcher); + } + var semantic_role_default = semanticRole; + var matchers = { + hasAccessibleName: has_accessible_name_default, + attributes: attributes_default, + condition: condition, + explicitRole: explicit_role_default, + implicitRole: implicit_role_default2, + nodeName: node_name_default, + properties: properties_default, + semanticRole: semantic_role_default + }; + function fromDefinition(vNode, definition) { + vNode = _nodeLookup(vNode).vNode; + if (Array.isArray(definition)) { + return definition.some(function(definitionItem) { + return fromDefinition(vNode, definitionItem); + }); + } + if (typeof definition === 'string') { + return _matches(vNode, definition); + } + return Object.keys(definition).every(function(matcherName) { + if (!matchers[matcherName]) { + throw new Error('Unknown matcher type "'.concat(matcherName, '"')); + } + var matchMethod = matchers[matcherName]; + var matcher = definition[matcherName]; + return matchMethod(vNode, matcher); + }); + } + var from_definition_default = fromDefinition; + function matches2(vNode, definition) { + return from_definition_default(vNode, definition); + } + var matches_default = matches2; + matches_default.hasAccessibleName = has_accessible_name_default; + matches_default.attributes = attributes_default; + matches_default.condition = condition; + matches_default.explicitRole = explicit_role_default; + matches_default.fromDefinition = from_definition_default; + matches_default.fromFunction = from_function_default; + matches_default.fromPrimative = from_primative_default; + matches_default.implicitRole = implicit_role_default2; + matches_default.nodeName = node_name_default; + matches_default.properties = properties_default; + matches_default.semanticRole = semantic_role_default; + var matches_default2 = matches_default; + function getElementSpec(vNode) { + var _ref29 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref29$noMatchAccessi = _ref29.noMatchAccessibleName, noMatchAccessibleName = _ref29$noMatchAccessi === void 0 ? false : _ref29$noMatchAccessi; + var standard = standards_default.htmlElms[vNode.props.nodeName]; + if (!standard) { + return {}; + } + if (!standard.variant) { + return standard; + } + var variant = standard.variant, spec = _objectWithoutProperties(standard, _excluded4); + for (var variantName in variant) { + if (!variant.hasOwnProperty(variantName) || variantName === 'default') { + continue; + } + var _variant$variantName = variant[variantName], matches4 = _variant$variantName.matches, props = _objectWithoutProperties(_variant$variantName, _excluded5); + var matchProperties = Array.isArray(matches4) ? matches4 : [ matches4 ]; + for (var _i10 = 0; _i10 < matchProperties.length && noMatchAccessibleName; _i10++) { + if (matchProperties[_i10].hasOwnProperty('hasAccessibleName')) { + return standard; } - }, - allowedRoles: [ 'application' ], - chromiumRole: 'video' - }, - wbr: { - contentTypes: [ 'phrasing', 'flow' ], - allowedRoles: [ 'presentation', 'none' ] + } + if (matches_default2(vNode, matches4)) { + for (var propName in props) { + if (props.hasOwnProperty(propName)) { + spec[propName] = props[propName]; + } + } + } + } + for (var _propName in variant['default']) { + if (variant['default'].hasOwnProperty(_propName) && typeof spec[_propName] === 'undefined') { + spec[_propName] = variant['default'][_propName]; + } + } + return spec; + } + var get_element_spec_default = getElementSpec; + function implicitRole2(node) { + var _ref30 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, chromium = _ref30.chromium; + var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); + node = vNode.actualNode; + if (!vNode) { + throw new ReferenceError('Cannot get implicit role of a node outside the current scope.'); } + var nodeName2 = vNode.props.nodeName; + var role = implicit_html_roles_default[nodeName2]; + if (!role && chromium) { + var _get_element_spec_def = get_element_spec_default(vNode), chromiumRole = _get_element_spec_def.chromiumRole; + return chromiumRole || null; + } + if (typeof role === 'function') { + return role(vNode); + } + return role || null; + } + var implicit_role_default = implicitRole2; + var inheritsPresentationChain = { + td: [ 'tr' ], + th: [ 'tr' ], + tr: [ 'thead', 'tbody', 'tfoot', 'table' ], + thead: [ 'table' ], + tbody: [ 'table' ], + tfoot: [ 'table' ], + li: [ 'ol', 'ul' ], + dt: [ 'dl', 'div' ], + dd: [ 'dl', 'div' ], + div: [ 'dl' ] }; - var html_elms_default = htmlElms; - var cssColors = { - aliceblue: [ 240, 248, 255 ], - antiquewhite: [ 250, 235, 215 ], - aqua: [ 0, 255, 255 ], - aquamarine: [ 127, 255, 212 ], - azure: [ 240, 255, 255 ], - beige: [ 245, 245, 220 ], - bisque: [ 255, 228, 196 ], - black: [ 0, 0, 0 ], - blanchedalmond: [ 255, 235, 205 ], - blue: [ 0, 0, 255 ], - blueviolet: [ 138, 43, 226 ], - brown: [ 165, 42, 42 ], - burlywood: [ 222, 184, 135 ], - cadetblue: [ 95, 158, 160 ], - chartreuse: [ 127, 255, 0 ], - chocolate: [ 210, 105, 30 ], - coral: [ 255, 127, 80 ], - cornflowerblue: [ 100, 149, 237 ], - cornsilk: [ 255, 248, 220 ], - crimson: [ 220, 20, 60 ], - cyan: [ 0, 255, 255 ], - darkblue: [ 0, 0, 139 ], - darkcyan: [ 0, 139, 139 ], - darkgoldenrod: [ 184, 134, 11 ], - darkgray: [ 169, 169, 169 ], - darkgreen: [ 0, 100, 0 ], - darkgrey: [ 169, 169, 169 ], - darkkhaki: [ 189, 183, 107 ], - darkmagenta: [ 139, 0, 139 ], - darkolivegreen: [ 85, 107, 47 ], - darkorange: [ 255, 140, 0 ], - darkorchid: [ 153, 50, 204 ], - darkred: [ 139, 0, 0 ], - darksalmon: [ 233, 150, 122 ], - darkseagreen: [ 143, 188, 143 ], - darkslateblue: [ 72, 61, 139 ], - darkslategray: [ 47, 79, 79 ], - darkslategrey: [ 47, 79, 79 ], - darkturquoise: [ 0, 206, 209 ], - darkviolet: [ 148, 0, 211 ], - deeppink: [ 255, 20, 147 ], - deepskyblue: [ 0, 191, 255 ], - dimgray: [ 105, 105, 105 ], - dimgrey: [ 105, 105, 105 ], - dodgerblue: [ 30, 144, 255 ], - firebrick: [ 178, 34, 34 ], - floralwhite: [ 255, 250, 240 ], - forestgreen: [ 34, 139, 34 ], - fuchsia: [ 255, 0, 255 ], - gainsboro: [ 220, 220, 220 ], - ghostwhite: [ 248, 248, 255 ], - gold: [ 255, 215, 0 ], - goldenrod: [ 218, 165, 32 ], - gray: [ 128, 128, 128 ], - green: [ 0, 128, 0 ], - greenyellow: [ 173, 255, 47 ], - grey: [ 128, 128, 128 ], - honeydew: [ 240, 255, 240 ], - hotpink: [ 255, 105, 180 ], - indianred: [ 205, 92, 92 ], - indigo: [ 75, 0, 130 ], - ivory: [ 255, 255, 240 ], - khaki: [ 240, 230, 140 ], - lavender: [ 230, 230, 250 ], - lavenderblush: [ 255, 240, 245 ], - lawngreen: [ 124, 252, 0 ], - lemonchiffon: [ 255, 250, 205 ], - lightblue: [ 173, 216, 230 ], - lightcoral: [ 240, 128, 128 ], - lightcyan: [ 224, 255, 255 ], - lightgoldenrodyellow: [ 250, 250, 210 ], - lightgray: [ 211, 211, 211 ], - lightgreen: [ 144, 238, 144 ], - lightgrey: [ 211, 211, 211 ], - lightpink: [ 255, 182, 193 ], - lightsalmon: [ 255, 160, 122 ], - lightseagreen: [ 32, 178, 170 ], - lightskyblue: [ 135, 206, 250 ], - lightslategray: [ 119, 136, 153 ], - lightslategrey: [ 119, 136, 153 ], - lightsteelblue: [ 176, 196, 222 ], - lightyellow: [ 255, 255, 224 ], - lime: [ 0, 255, 0 ], - limegreen: [ 50, 205, 50 ], - linen: [ 250, 240, 230 ], - magenta: [ 255, 0, 255 ], - maroon: [ 128, 0, 0 ], - mediumaquamarine: [ 102, 205, 170 ], - mediumblue: [ 0, 0, 205 ], - mediumorchid: [ 186, 85, 211 ], - mediumpurple: [ 147, 112, 219 ], - mediumseagreen: [ 60, 179, 113 ], - mediumslateblue: [ 123, 104, 238 ], - mediumspringgreen: [ 0, 250, 154 ], - mediumturquoise: [ 72, 209, 204 ], - mediumvioletred: [ 199, 21, 133 ], - midnightblue: [ 25, 25, 112 ], - mintcream: [ 245, 255, 250 ], - mistyrose: [ 255, 228, 225 ], - moccasin: [ 255, 228, 181 ], - navajowhite: [ 255, 222, 173 ], - navy: [ 0, 0, 128 ], - oldlace: [ 253, 245, 230 ], - olive: [ 128, 128, 0 ], - olivedrab: [ 107, 142, 35 ], - orange: [ 255, 165, 0 ], - orangered: [ 255, 69, 0 ], - orchid: [ 218, 112, 214 ], - palegoldenrod: [ 238, 232, 170 ], - palegreen: [ 152, 251, 152 ], - paleturquoise: [ 175, 238, 238 ], - palevioletred: [ 219, 112, 147 ], - papayawhip: [ 255, 239, 213 ], - peachpuff: [ 255, 218, 185 ], - peru: [ 205, 133, 63 ], - pink: [ 255, 192, 203 ], - plum: [ 221, 160, 221 ], - powderblue: [ 176, 224, 230 ], - purple: [ 128, 0, 128 ], - rebeccapurple: [ 102, 51, 153 ], - red: [ 255, 0, 0 ], - rosybrown: [ 188, 143, 143 ], - royalblue: [ 65, 105, 225 ], - saddlebrown: [ 139, 69, 19 ], - salmon: [ 250, 128, 114 ], - sandybrown: [ 244, 164, 96 ], - seagreen: [ 46, 139, 87 ], - seashell: [ 255, 245, 238 ], - sienna: [ 160, 82, 45 ], - silver: [ 192, 192, 192 ], - skyblue: [ 135, 206, 235 ], - slateblue: [ 106, 90, 205 ], - slategray: [ 112, 128, 144 ], - slategrey: [ 112, 128, 144 ], - snow: [ 255, 250, 250 ], - springgreen: [ 0, 255, 127 ], - steelblue: [ 70, 130, 180 ], - tan: [ 210, 180, 140 ], - teal: [ 0, 128, 128 ], - thistle: [ 216, 191, 216 ], - tomato: [ 255, 99, 71 ], - turquoise: [ 64, 224, 208 ], - violet: [ 238, 130, 238 ], - wheat: [ 245, 222, 179 ], - white: [ 255, 255, 255 ], - whitesmoke: [ 245, 245, 245 ], - yellow: [ 255, 255, 0 ], - yellowgreen: [ 154, 205, 50 ] - }; - var css_colors_default = cssColors; - var originals = { - ariaAttrs: aria_attrs_default, - ariaRoles: _extends({}, aria_roles_default, dpub_roles_default, graphics_roles_default), - htmlElms: html_elms_default, - cssColors: css_colors_default + function getInheritedRole(vNode, explicitRoleOptions) { + var parentNodeNames = inheritsPresentationChain[vNode.props.nodeName]; + if (!parentNodeNames) { + return null; + } + if (!vNode.parent) { + if (!vNode.actualNode) { + return null; + } + throw new ReferenceError('Cannot determine role presentational inheritance of a required parent outside the current scope.'); + } + if (!parentNodeNames.includes(vNode.parent.props.nodeName)) { + return null; + } + var parentRole = get_explicit_role_default(vNode.parent, explicitRoleOptions); + if ([ 'none', 'presentation' ].includes(parentRole) && !hasConflictResolution(vNode.parent)) { + return parentRole; + } + if (parentRole) { + return null; + } + return getInheritedRole(vNode.parent, explicitRoleOptions); + } + function resolveImplicitRole(vNode, _ref31) { + var chromium = _ref31.chromium, explicitRoleOptions = _objectWithoutProperties(_ref31, _excluded6); + var implicitRole3 = implicit_role_default(vNode, { + chromium: chromium + }); + if (!implicitRole3) { + return null; + } + var presentationalRole = getInheritedRole(vNode, explicitRoleOptions); + if (presentationalRole) { + return presentationalRole; + } + return implicitRole3; + } + function hasConflictResolution(vNode) { + var hasGlobalAria = get_global_aria_attrs_default().some(function(attr) { + return vNode.hasAttr(attr); + }); + return hasGlobalAria || _isFocusable(vNode); + } + function resolveRole(node) { + var _ref32 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var noImplicit = _ref32.noImplicit, roleOptions = _objectWithoutProperties(_ref32, _excluded7); + var _nodeLookup10 = _nodeLookup(node), vNode = _nodeLookup10.vNode; + if (vNode.props.nodeType !== 1) { + return null; + } + var explicitRole2 = get_explicit_role_default(vNode, roleOptions); + if (!explicitRole2) { + return noImplicit ? null : resolveImplicitRole(vNode, roleOptions); + } + if (![ 'presentation', 'none' ].includes(explicitRole2)) { + return explicitRole2; + } + if (hasConflictResolution(vNode)) { + return noImplicit ? null : resolveImplicitRole(vNode, roleOptions); + } + return explicitRole2; + } + function getRole(node) { + var _ref33 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var noPresentational = _ref33.noPresentational, options = _objectWithoutProperties(_ref33, _excluded8); + var role = resolveRole(node, options); + if (noPresentational && [ 'presentation', 'none' ].includes(role)) { + return null; + } + return role; + } + var get_role_default = getRole; + var alwaysTitleElements = [ 'iframe' ]; + function titleText(node) { + var _nodeLookup11 = _nodeLookup(node), vNode = _nodeLookup11.vNode; + if (vNode.props.nodeType !== 1 || !node.hasAttr('title')) { + return ''; + } + if (!matches_default(vNode, alwaysTitleElements) && [ 'none', 'presentation' ].includes(get_role_default(vNode))) { + return ''; + } + return vNode.attr('title'); + } + var title_text_default = titleText; + function namedFromContents(vNode) { + var _ref34 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, strict = _ref34.strict; + vNode = vNode instanceof abstract_virtual_node_default ? vNode : get_node_from_tree_default(vNode); + if (vNode.props.nodeType !== 1) { + return false; + } + var role = get_role_default(vNode); + var roleDef = standards_default.ariaRoles[role]; + if (roleDef && roleDef.nameFromContent) { + return true; + } + if (strict) { + return false; + } + return !roleDef || [ 'presentation', 'none' ].includes(role); + } + var named_from_contents_default = namedFromContents; + function getOwnedVirtual(virtualNode) { + var actualNode = virtualNode.actualNode, children = virtualNode.children; + if (!children) { + throw new Error('getOwnedVirtual requires a virtual node'); + } + if (virtualNode.hasAttr('aria-owns')) { + var owns = idrefs_default(actualNode, 'aria-owns').filter(function(element) { + return !!element; + }).map(function(element) { + return axe.utils.getNodeFromTree(element); + }); + return [].concat(_toConsumableArray(children), _toConsumableArray(owns)); + } + return _toConsumableArray(children); + } + var get_owned_virtual_default = getOwnedVirtual; + var unsupported_default = { + accessibleNameFromFieldValue: [ 'progressbar' ] }; - var standards = _extends({}, originals); - function configureStandards(config) { - Object.keys(standards).forEach(function(propName) { - if (config[propName]) { - standards[propName] = deep_merge_default(standards[propName], config[propName]); + function _isVisibleToScreenReaders(vNode) { + vNode = _nodeLookup(vNode).vNode; + return isVisibleToScreenReadersVirtual(vNode); + } + var isVisibleToScreenReadersVirtual = memoize_default(function isVisibleToScreenReadersMemoized(vNode, isAncestor) { + if (ariaHidden(vNode) || _isInert(vNode, { + skipAncestors: true, + isAncestor: isAncestor + })) { + return false; + } + if (vNode.actualNode && vNode.props.nodeName === 'area') { + return !areaHidden(vNode, isVisibleToScreenReadersVirtual); + } + if (_isHiddenForEveryone(vNode, { + skipAncestors: true, + isAncestor: isAncestor + })) { + return false; + } + if (!vNode.parent) { + return true; + } + return isVisibleToScreenReadersVirtual(vNode.parent, true); + }); + function visibleVirtual(element, screenReader, noRecursing) { + var _nodeLookup12 = _nodeLookup(element), vNode = _nodeLookup12.vNode; + var visibleMethod = screenReader ? _isVisibleToScreenReaders : _isVisibleOnScreen; + var visible2 = !element.actualNode || element.actualNode && visibleMethod(element); + var result = vNode.children.map(function(child) { + var _child$props = child.props, nodeType = _child$props.nodeType, nodeValue = _child$props.nodeValue; + if (nodeType === 3) { + if (nodeValue && visible2) { + return nodeValue; + } + } else if (!noRecursing) { + return visibleVirtual(child, screenReader); } + }).join(''); + return sanitize_default(result); + } + var visible_virtual_default = visibleVirtual; + var nonTextInputTypes = [ 'button', 'checkbox', 'color', 'file', 'hidden', 'image', 'password', 'radio', 'reset', 'submit' ]; + function isNativeTextbox(node) { + node = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); + var nodeName2 = node.props.nodeName; + return nodeName2 === 'textarea' || nodeName2 === 'input' && !nonTextInputTypes.includes((node.attr('type') || '').toLowerCase()); + } + var is_native_textbox_default = isNativeTextbox; + function isNativeSelect(node) { + node = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); + var nodeName2 = node.props.nodeName; + return nodeName2 === 'select'; + } + var is_native_select_default = isNativeSelect; + function isAriaTextbox(node) { + var role = get_explicit_role_default(node); + return role === 'textbox'; + } + var is_aria_textbox_default = isAriaTextbox; + function isAriaListbox(node) { + var role = get_explicit_role_default(node); + return role === 'listbox'; + } + var is_aria_listbox_default = isAriaListbox; + function isAriaCombobox(node) { + var role = get_explicit_role_default(node); + return role === 'combobox'; + } + var is_aria_combobox_default = isAriaCombobox; + var rangeRoles = [ 'progressbar', 'scrollbar', 'slider', 'spinbutton' ]; + function isAriaRange(node) { + var role = get_explicit_role_default(node); + return rangeRoles.includes(role); + } + var is_aria_range_default = isAriaRange; + var controlValueRoles = [ 'textbox', 'progressbar', 'scrollbar', 'slider', 'spinbutton', 'combobox', 'listbox' ]; + var _formControlValueMethods = { + nativeTextboxValue: nativeTextboxValue, + nativeSelectValue: nativeSelectValue, + ariaTextboxValue: ariaTextboxValue, + ariaListboxValue: ariaListboxValue, + ariaComboboxValue: ariaComboboxValue, + ariaRangeValue: ariaRangeValue + }; + function formControlValue(virtualNode) { + var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var actualNode = virtualNode.actualNode; + var unsupportedRoles = unsupported_default.accessibleNameFromFieldValue || []; + var role = get_role_default(virtualNode); + if (context.startNode === virtualNode || !controlValueRoles.includes(role) || unsupportedRoles.includes(role)) { + return ''; + } + var valueMethods = Object.keys(_formControlValueMethods).map(function(name) { + return _formControlValueMethods[name]; + }); + var valueString = valueMethods.reduce(function(accName, step) { + return accName || step(virtualNode, context); + }, ''); + if (context.debug) { + log_default(valueString || '{empty-value}', actualNode, context); + } + return valueString; + } + function nativeTextboxValue(node) { + var _nodeLookup13 = _nodeLookup(node), vNode = _nodeLookup13.vNode; + if (is_native_textbox_default(vNode)) { + return vNode.props.value || ''; + } + return ''; + } + function nativeSelectValue(node) { + var _nodeLookup14 = _nodeLookup(node), vNode = _nodeLookup14.vNode; + if (!is_native_select_default(vNode)) { + return ''; + } + var options = query_selector_all_default(vNode, 'option'); + var selectedOptions = options.filter(function(option) { + return option.props.selected; + }); + if (!selectedOptions.length) { + selectedOptions.push(options[0]); + } + return selectedOptions.map(function(option) { + return visible_virtual_default(option); + }).join(' ') || ''; + } + function ariaTextboxValue(node) { + var _nodeLookup15 = _nodeLookup(node), vNode = _nodeLookup15.vNode, domNode = _nodeLookup15.domNode; + if (!is_aria_textbox_default(vNode)) { + return ''; + } + if (!domNode || domNode && !_isHiddenForEveryone(domNode)) { + return visible_virtual_default(vNode, true); + } else { + return domNode.textContent; + } + } + function ariaListboxValue(node, context) { + var _nodeLookup16 = _nodeLookup(node), vNode = _nodeLookup16.vNode; + if (!is_aria_listbox_default(vNode)) { + return ''; + } + var selected = get_owned_virtual_default(vNode).filter(function(owned) { + return get_role_default(owned) === 'option' && owned.attr('aria-selected') === 'true'; }); + if (selected.length === 0) { + return ''; + } + return _accessibleTextVirtual(selected[0], context); + } + function ariaComboboxValue(node, context) { + var _nodeLookup17 = _nodeLookup(node), vNode = _nodeLookup17.vNode; + if (!is_aria_combobox_default(vNode)) { + return ''; + } + var listbox = get_owned_virtual_default(vNode).filter(function(elm) { + return get_role_default(elm) === 'listbox'; + })[0]; + return listbox ? ariaListboxValue(listbox, context) : ''; + } + function ariaRangeValue(node) { + var _nodeLookup18 = _nodeLookup(node), vNode = _nodeLookup18.vNode; + if (!is_aria_range_default(vNode) || !vNode.hasAttr('aria-valuenow')) { + return ''; + } + var valueNow = +vNode.attr('aria-valuenow'); + return !isNaN(valueNow) ? String(valueNow) : '0'; + } + var form_control_value_default = formControlValue; + function subtreeText(virtualNode) { + var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var alreadyProcessed2 = _accessibleTextVirtual.alreadyProcessed; + context.startNode = context.startNode || virtualNode; + var _context = context, strict = _context.strict, inControlContext = _context.inControlContext, inLabelledByContext = _context.inLabelledByContext; + var role = get_role_default(virtualNode); + var _get_element_spec_def2 = get_element_spec_default(virtualNode, { + noMatchAccessibleName: true + }), contentTypes = _get_element_spec_def2.contentTypes; + if (alreadyProcessed2(virtualNode, context) || virtualNode.props.nodeType !== 1 || contentTypes !== null && contentTypes !== void 0 && contentTypes.includes('embedded') || controlValueRoles.includes(role)) { + return ''; + } + if (!context.subtreeDescendant && !context.inLabelledByContext && !named_from_contents_default(virtualNode, { + strict: strict + })) { + return ''; + } + if (!strict) { + var subtreeDescendant = !inControlContext && !inLabelledByContext; + context = _extends({ + subtreeDescendant: subtreeDescendant + }, context); + } + return get_owned_virtual_default(virtualNode).reduce(function(contentText, child) { + return appendAccessibleText(contentText, child, context); + }, ''); + } + var phrasingElements = get_elements_by_content_type_default('phrasing').concat([ '#text' ]); + function appendAccessibleText(contentText, virtualNode, context) { + var nodeName2 = virtualNode.props.nodeName; + var contentTextAdd = _accessibleTextVirtual(virtualNode, context); + if (!contentTextAdd) { + return contentText; + } + if (!phrasingElements.includes(nodeName2)) { + if (contentTextAdd[0] !== ' ') { + contentTextAdd += ' '; + } + if (contentText && contentText[contentText.length - 1] !== ' ') { + contentTextAdd = ' ' + contentTextAdd; + } + } + return contentText + contentTextAdd; + } + var subtree_text_default = subtreeText; + function labelText(virtualNode) { + var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var alreadyProcessed2 = _accessibleTextVirtual.alreadyProcessed; + if (context.inControlContext || context.inLabelledByContext || alreadyProcessed2(virtualNode, context)) { + return ''; + } + if (!context.startNode) { + context.startNode = virtualNode; + } + var labelContext = _extends({ + inControlContext: true + }, context); + var explicitLabels = getExplicitLabels(virtualNode); + var implicitLabel = closest_default(virtualNode, 'label'); + var labels; + if (implicitLabel) { + labels = [].concat(_toConsumableArray(explicitLabels), [ implicitLabel.actualNode ]); + labels.sort(node_sorter_default); + } else { + labels = explicitLabels; + } + return labels.map(function(label3) { + return accessible_text_default(label3, labelContext); + }).filter(function(text) { + return text !== ''; + }).join(' '); } - function resetStandards() { - Object.keys(standards).forEach(function(propName) { - standards[propName] = originals[propName]; + function getExplicitLabels(virtualNode) { + if (!virtualNode.attr('id')) { + return []; + } + if (!virtualNode.actualNode) { + throw new TypeError('Cannot resolve explicit label reference for non-DOM nodes'); + } + return find_elms_in_context_default({ + elm: 'label', + attr: 'for', + value: virtualNode.attr('id'), + context: virtualNode.actualNode }); } - var standards_default = standards; - function isUnsupportedRole(role) { - var roleDefinition = standards_default.ariaRoles[role]; - return roleDefinition ? !!roleDefinition.unsupported : false; + var label_text_default = labelText; + var defaultButtonValues = { + submit: 'Submit', + image: 'Submit', + reset: 'Reset', + button: '' + }; + var nativeTextMethods = { + valueText: function valueText(vNode) { + return vNode.props.value || ''; + }, + buttonDefaultText: function buttonDefaultText(vNode) { + return defaultButtonValues[vNode.props.type] || ''; + }, + tableCaptionText: descendantText.bind(null, 'caption'), + figureText: descendantText.bind(null, 'figcaption'), + svgTitleText: descendantText.bind(null, 'title'), + fieldsetLegendText: descendantText.bind(null, 'legend'), + altText: attrText.bind(null, 'alt'), + tableSummaryText: attrText.bind(null, 'summary'), + titleText: title_text_default, + subtreeText: subtree_text_default, + labelText: label_text_default, + singleSpace: function singleSpace() { + return ' '; + }, + placeholderText: attrText.bind(null, 'placeholder') + }; + function attrText(attr, vNode) { + return vNode.attr(attr) || ''; } - var is_unsupported_role_default = isUnsupportedRole; - function isValidRole(role) { - var _ref23 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, allowAbstract = _ref23.allowAbstract, _ref23$flagUnsupporte = _ref23.flagUnsupported, flagUnsupported = _ref23$flagUnsupporte === void 0 ? false : _ref23$flagUnsupporte; - var roleDefinition = standards_default.ariaRoles[role]; - var isRoleUnsupported = is_unsupported_role_default(role); - if (!roleDefinition || flagUnsupported && isRoleUnsupported) { - return false; + function descendantText(nodeName2, _ref35, context) { + var actualNode = _ref35.actualNode; + nodeName2 = nodeName2.toLowerCase(); + var nodeNames2 = [ nodeName2, actualNode.nodeName.toLowerCase() ].join(','); + var candidate = actualNode.querySelector(nodeNames2); + if (!candidate || candidate.nodeName.toLowerCase() !== nodeName2) { + return ''; } - return allowAbstract ? true : roleDefinition.type !== 'abstract'; + return accessible_text_default(candidate, context); } - var is_valid_role_default = isValidRole; - function getExplicitRole(vNode) { - var _ref24 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, fallback = _ref24.fallback, abstracts = _ref24.abstracts, dpub = _ref24.dpub; - vNode = vNode instanceof abstract_virtual_node_default ? vNode : get_node_from_tree_default(vNode); - if (vNode.props.nodeType !== 1) { - return null; + var native_text_methods_default = nativeTextMethods; + function _nativeTextAlternative(virtualNode) { + var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var actualNode = virtualNode.actualNode; + if (virtualNode.props.nodeType !== 1 || [ 'presentation', 'none' ].includes(get_role_default(virtualNode))) { + return ''; } - var roleAttr = (vNode.attr('role') || '').trim().toLowerCase(); - var roleList = fallback ? token_list_default(roleAttr) : [ roleAttr ]; - var firstValidRole = roleList.find(function(role) { - if (!dpub && role.substr(0, 4) === 'doc-') { - return false; - } - return is_valid_role_default(role, { - allowAbstract: abstracts - }); - }); - return firstValidRole || null; + var textMethods = findTextMethods(virtualNode); + var accessibleName = textMethods.reduce(function(accName, step) { + return accName || step(virtualNode, context); + }, ''); + if (context.debug) { + axe.log(accessibleName || '{empty-value}', actualNode, context); + } + return accessibleName; } - var get_explicit_role_default = getExplicitRole; - function getElementsByContentType(type) { - return Object.keys(standards_default.htmlElms).filter(function(nodeName2) { - var elm = standards_default.htmlElms[nodeName2]; - if (elm.contentTypes) { - return elm.contentTypes.includes(type); - } - if (!elm.variant) { - return false; - } - if (elm.variant['default'] && elm.variant['default'].contentTypes) { - return elm.variant['default'].contentTypes.includes(type); - } - return false; + function findTextMethods(virtualNode) { + var elmSpec = get_element_spec_default(virtualNode, { + noMatchAccessibleName: true }); - } - var get_elements_by_content_type_default = getElementsByContentType; - function getGlobalAriaAttrs() { - return cache_default.get('globalAriaAttrs', function() { - return Object.keys(standards_default.ariaAttrs).filter(function(attrName) { - return standards_default.ariaAttrs[attrName].global; - }); + var methods = elmSpec.namingMethods || []; + return methods.map(function(methodName) { + return native_text_methods_default[methodName]; }); } - var get_global_aria_attrs_default = getGlobalAriaAttrs; - function toGrid(node) { - var table = []; - var rows = node.rows; - for (var i = 0, rowLength = rows.length; i < rowLength; i++) { - var cells = rows[i].cells; - table[i] = table[i] || []; - var columnIndex = 0; - for (var j = 0, cellLength = cells.length; j < cellLength; j++) { - for (var colSpan = 0; colSpan < cells[j].colSpan; colSpan++) { - var rowspanAttr = cells[j].getAttribute('rowspan'); - var rowspanValue = parseInt(rowspanAttr) === 0 || cells[j].rowspan === 0 ? rows.length : cells[j].rowSpan; - for (var rowSpan = 0; rowSpan < rowspanValue; rowSpan++) { - table[i + rowSpan] = table[i + rowSpan] || []; - while (table[i + rowSpan][columnIndex]) { - columnIndex++; - } - table[i + rowSpan][columnIndex] = cells[j]; - } - columnIndex++; - } - } + function getUnicodeNonBmpRegExp() { + return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g; + } + function getPunctuationRegExp() { + return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g; + } + function getSupplementaryPrivateUseRegExp() { + return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g; + } + function getCategoryFormatRegExp() { + return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g; + } + var emoji_regex_default = function emoji_regex_default() { + return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF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83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; + }; + function hasUnicode(str, options) { + var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations; + var value = false; + if (emoji) { + value || (value = emoji_regex_default().test(str)); } - return table; + if (nonBmp) { + value || (value = getUnicodeNonBmpRegExp().test(str) || getSupplementaryPrivateUseRegExp().test(str) || getCategoryFormatRegExp().test(str)); + } + if (punctuations) { + value || (value = getPunctuationRegExp().test(str)); + } + return value; } - var to_grid_default = memoize_default(toGrid); - function getCellPosition(cell, tableGrid) { - var rowIndex, index; - if (!tableGrid) { - tableGrid = to_grid_default(find_up_default(cell, 'table')); + var has_unicode_default = hasUnicode; + function _isIconLigature(textVNode) { + var differenceThreshold = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .15; + var occurrenceThreshold = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3; + var nodeValue = textVNode.actualNode.nodeValue.trim(); + if (!sanitize_default(nodeValue) || has_unicode_default(nodeValue, { + emoji: true, + nonBmp: true + })) { + return false; } - for (rowIndex = 0; rowIndex < tableGrid.length; rowIndex++) { - if (tableGrid[rowIndex]) { - index = tableGrid[rowIndex].indexOf(cell); - if (index !== -1) { - return { - x: index, - y: rowIndex - }; - } + var canvasContext = cache_default.get('canvasContext', function() { + return document.createElement('canvas').getContext('2d', { + willReadFrequently: true + }); + }); + var canvas = canvasContext.canvas; + var fonts = cache_default.get('fonts', function() { + return {}; + }); + var style = window.getComputedStyle(textVNode.parent.actualNode); + var fontFamily = style.getPropertyValue('font-family'); + if (!fonts[fontFamily]) { + fonts[fontFamily] = { + occurrences: 0, + numLigatures: 0 + }; + } + var font = fonts[fontFamily]; + if (font.occurrences >= occurrenceThreshold) { + if (font.numLigatures / font.occurrences === 1) { + return true; + } else if (font.numLigatures === 0) { + return false; } } - } - var get_cell_position_default = memoize_default(getCellPosition); - function getScope(cell) { - var vNode = cell instanceof abstract_virtual_node_default ? cell : get_node_from_tree_default(cell); - cell = vNode.actualNode; - var scope = vNode.attr('scope'); - var role = vNode.attr('role'); - if (![ 'td', 'th' ].includes(vNode.props.nodeName)) { - throw new TypeError('Expected TD or TH element'); + font.occurrences++; + var fontSize = 30; + var fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily); + canvasContext.font = fontStyle; + var firstChar = nodeValue.charAt(0); + var width = canvasContext.measureText(firstChar).width; + if (width === 0) { + font.numLigatures++; + return true; } - if (role === 'columnheader') { - return 'col'; - } else if (role === 'rowheader') { - return 'row'; - } else if (scope === 'col' || scope === 'row') { - return scope; - } else if (vNode.props.nodeName !== 'th') { - return false; - } else if (!vNode.actualNode) { - return 'auto'; + if (width < 30) { + var diff = 30 / width; + width *= diff; + fontSize *= diff; + fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily); } - var tableGrid = to_grid_default(find_up_default(cell, 'table')); - var pos = get_cell_position_default(cell, tableGrid); - var headerRow = tableGrid[pos.y].reduce(function(headerRow2, cell2) { - return headerRow2 && cell2.nodeName.toUpperCase() === 'TH'; - }, true); - if (headerRow) { - return 'col'; + canvas.width = width; + canvas.height = fontSize; + canvasContext.font = fontStyle; + canvasContext.textAlign = 'left'; + canvasContext.textBaseline = 'top'; + canvasContext.fillText(firstChar, 0, 0); + var compareData = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer); + if (!compareData.some(function(pixel) { + return pixel; + })) { + font.numLigatures++; + return true; } - var headerCol = tableGrid.map(function(col) { - return col[pos.x]; - }).reduce(function(headerCol2, cell2) { - return headerCol2 && cell2 && cell2.nodeName.toUpperCase() === 'TH'; - }, true); - if (headerCol) { - return 'row'; + canvasContext.clearRect(0, 0, width, fontSize); + canvasContext.fillText(nodeValue, 0, 0); + var compareWith = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer); + var differences = compareData.reduce(function(diff, pixel, i) { + if (pixel === 0 && compareWith[i] === 0) { + return diff; + } + if (pixel !== 0 && compareWith[i] !== 0) { + return diff; + } + return ++diff; + }, 0); + var expectedWidth = nodeValue.split('').reduce(function(totalWidth, _char2) { + return totalWidth + canvasContext.measureText(_char2).width; + }, 0); + var actualWidth = canvasContext.measureText(nodeValue).width; + var pixelDifference = differences / compareData.length; + var sizeDifference = 1 - actualWidth / expectedWidth; + if (pixelDifference >= differenceThreshold && sizeDifference >= differenceThreshold) { + font.numLigatures++; + return true; } - return 'auto'; - } - var get_scope_default = getScope; - function isColumnHeader(element) { - return [ 'col', 'auto' ].indexOf(get_scope_default(element)) !== -1; - } - var is_column_header_default = isColumnHeader; - function isRowHeader(cell) { - return [ 'row', 'auto' ].includes(get_scope_default(cell)); + return false; } - var is_row_header_default = isRowHeader; - function sanitize(str) { - if (!str) { + function _accessibleTextVirtual(virtualNode) { + var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + context = prepareContext(virtualNode, context); + if (shouldIgnoreHidden(virtualNode, context)) { return ''; } - return str.replace(/\r\n/g, '\n').replace(/\u00A0/g, ' ').replace(/[\s]{2,}/g, ' ').trim(); - } - var sanitize_default = sanitize; - var allowedDisabledNodeNames = [ 'button', 'command', 'fieldset', 'keygen', 'optgroup', 'option', 'select', 'textarea', 'input' ]; - function isDisabledAttrAllowed(nodeName2) { - return allowedDisabledNodeNames.includes(nodeName2); - } - function focusDisabled(el) { - var vNode = el instanceof abstract_virtual_node_default ? el : get_node_from_tree_default(el); - if (isDisabledAttrAllowed(vNode.props.nodeName) && vNode.hasAttr('disabled')) { - return true; + if (shouldIgnoreIconLigature(virtualNode, context)) { + return ''; } - var parentNode = vNode.parent; - var ancestors = []; - var fieldsetDisabled = false; - while (parentNode && parentNode.shadowId === vNode.shadowId && !fieldsetDisabled) { - ancestors.push(parentNode); - if (parentNode.props.nodeName === 'legend') { - break; - } - if (parentNode._inDisabledFieldset !== void 0) { - fieldsetDisabled = parentNode._inDisabledFieldset; - break; + var computationSteps = [ arialabelledby_text_default, _arialabelText, _nativeTextAlternative, form_control_value_default, subtree_text_default, textNodeValue, title_text_default ]; + var accessibleName = computationSteps.reduce(function(accName, step) { + if (context.startNode === virtualNode) { + accName = sanitize_default(accName); } - if (parentNode.props.nodeName === 'fieldset' && parentNode.hasAttr('disabled')) { - fieldsetDisabled = true; + if (accName !== '') { + return accName; } - parentNode = parentNode.parent; - } - ancestors.forEach(function(ancestor) { - return ancestor._inDisabledFieldset = fieldsetDisabled; - }); - if (fieldsetDisabled) { - return true; + return step(virtualNode, context); + }, ''); + if (context.debug) { + axe.log(accessibleName || '{empty-value}', virtualNode.actualNode, context); } - if (vNode.props.nodeName !== 'area') { - if (!vNode.actualNode) { - return false; - } - return _isHiddenForEveryone(vNode); + return accessibleName; + } + function textNodeValue(virtualNode) { + if (virtualNode.props.nodeType !== 3) { + return ''; } - return false; + return virtualNode.props.nodeValue; } - var focus_disabled_default = focusDisabled; - function isNativelyFocusable(el) { - var vNode = el instanceof abstract_virtual_node_default ? el : get_node_from_tree_default(el); - if (!vNode || focus_disabled_default(vNode)) { + function shouldIgnoreHidden(virtualNode, context) { + if (!virtualNode) { return false; } - switch (vNode.props.nodeName) { - case 'a': - case 'area': - if (vNode.hasAttr('href')) { - return true; - } - break; - - case 'input': - return vNode.props.type !== 'hidden'; - - case 'textarea': - case 'select': - case 'summary': - case 'button': - return true; - - case 'details': - return !query_selector_all_default(vNode, 'summary').length; + if (virtualNode.props.nodeType !== 1 || context.includeHidden) { + return false; } - return false; + return !_isVisibleToScreenReaders(virtualNode); } - var is_natively_focusable_default = isNativelyFocusable; - function _isFocusable(el) { - var vNode = el instanceof abstract_virtual_node_default ? el : get_node_from_tree_default(el); - if (vNode.props.nodeType !== 1) { + function shouldIgnoreIconLigature(virtualNode, context) { + var _context$occurrenceTh; + var ignoreIconLigature = context.ignoreIconLigature, pixelThreshold = context.pixelThreshold; + var occurrenceThreshold = (_context$occurrenceTh = context.occurrenceThreshold) !== null && _context$occurrenceTh !== void 0 ? _context$occurrenceTh : context.occuranceThreshold; + if (virtualNode.props.nodeType !== 3 || !ignoreIconLigature) { return false; } - if (focus_disabled_default(vNode)) { - return false; - } else if (is_natively_focusable_default(vNode)) { - return true; + return _isIconLigature(virtualNode, pixelThreshold, occurrenceThreshold); + } + function prepareContext(virtualNode, context) { + if (!context.startNode) { + context = _extends({ + startNode: virtualNode + }, context); } - var tabindex = vNode.attr('tabindex'); - if (tabindex && !isNaN(parseInt(tabindex, 10))) { + if (virtualNode.props.nodeType === 1 && context.inLabelledByContext && context.includeHidden === void 0) { + context = _extends({ + includeHidden: !_isVisibleToScreenReaders(virtualNode) + }, context); + } + return context; + } + _accessibleTextVirtual.alreadyProcessed = function alreadyProcessed(virtualnode, context) { + context.processed = context.processed || []; + if (context.processed.includes(virtualnode)) { return true; } + context.processed.push(virtualnode); return false; - } - var sectioningElementSelector = get_elements_by_content_type_default('sectioning').map(function(nodeName2) { - return ''.concat(nodeName2, ':not([role])'); - }).join(', ') + ' , main:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]'; - function hasAccessibleName(vNode) { - var ariaLabelledby = sanitize_default(arialabelledby_text_default(vNode)); - var ariaLabel = sanitize_default(arialabel_text_default(vNode)); - return !!(ariaLabelledby || ariaLabel); - } - var implicitHtmlRoles = { - a: function a(vNode) { - return vNode.hasAttr('href') ? 'link' : null; - }, - area: function area(vNode) { - return vNode.hasAttr('href') ? 'link' : null; - }, - article: 'article', - aside: 'complementary', - body: 'document', - button: 'button', - datalist: 'listbox', - dd: 'definition', - dfn: 'term', - details: 'group', - dialog: 'dialog', - dt: 'term', - fieldset: 'group', - figure: 'figure', - footer: function footer(vNode) { - var sectioningElement = closest_default(vNode, sectioningElementSelector); - return !sectioningElement ? 'contentinfo' : null; - }, - form: function form(vNode) { - return hasAccessibleName(vNode) ? 'form' : null; - }, - h1: 'heading', - h2: 'heading', - h3: 'heading', - h4: 'heading', - h5: 'heading', - h6: 'heading', - header: function header(vNode) { - var sectioningElement = closest_default(vNode, sectioningElementSelector); - return !sectioningElement ? 'banner' : null; - }, - hr: 'separator', - img: function img(vNode) { - var emptyAlt = vNode.hasAttr('alt') && !vNode.attr('alt'); - var hasGlobalAria = get_global_aria_attrs_default().find(function(attr) { - return vNode.hasAttr(attr); - }); - return emptyAlt && !hasGlobalAria && !_isFocusable(vNode) ? 'presentation' : 'img'; - }, - input: function input(vNode) { - var suggestionsSourceElement; - if (vNode.hasAttr('list')) { - var listElement = idrefs_default(vNode.actualNode, 'list').filter(function(node) { - return !!node; - })[0]; - suggestionsSourceElement = listElement && listElement.nodeName.toLowerCase() === 'datalist'; - } - switch (vNode.props.type) { - case 'checkbox': - return 'checkbox'; - - case 'number': - return 'spinbutton'; - - case 'radio': - return 'radio'; - - case 'range': - return 'slider'; - - case 'search': - return !suggestionsSourceElement ? 'searchbox' : 'combobox'; - - case 'button': - case 'image': - case 'reset': - case 'submit': - return 'button'; - - case 'text': - case 'tel': - case 'url': - case 'email': - case '': - return !suggestionsSourceElement ? 'textbox' : 'combobox'; - - default: - return 'textbox'; - } - }, - li: 'listitem', - main: 'main', - math: 'math', - menu: 'list', - nav: 'navigation', - ol: 'list', - optgroup: 'group', - option: 'option', - output: 'status', - progress: 'progressbar', - section: function section(vNode) { - return hasAccessibleName(vNode) ? 'region' : null; - }, - select: function select(vNode) { - return vNode.hasAttr('multiple') || parseInt(vNode.attr('size')) > 1 ? 'listbox' : 'combobox'; - }, - summary: 'button', - table: 'table', - tbody: 'rowgroup', - td: function td(vNode) { - var table = closest_default(vNode, 'table'); - var role = get_explicit_role_default(table); - return [ 'grid', 'treegrid' ].includes(role) ? 'gridcell' : 'cell'; - }, - textarea: 'textbox', - tfoot: 'rowgroup', - th: function th(vNode) { - if (is_column_header_default(vNode)) { - return 'columnheader'; - } - if (is_row_header_default(vNode)) { - return 'rowheader'; - } - }, - thead: 'rowgroup', - tr: 'row', - ul: 'list' }; - var implicit_html_roles_default = implicitHtmlRoles; - function fromPrimative(someString, matcher) { - var matcherType = _typeof(matcher); - if (Array.isArray(matcher) && typeof someString !== 'undefined') { - return matcher.includes(someString); + function removeUnicode(str, options) { + var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations; + if (emoji) { + str = str.replace(emoji_regex_default(), ''); } - if (matcherType === 'function') { - return !!matcher(someString); + if (nonBmp) { + str = str.replace(getUnicodeNonBmpRegExp(), '').replace(getSupplementaryPrivateUseRegExp(), '').replace(getCategoryFormatRegExp(), ''); } - if (someString !== null && someString !== void 0) { - if (matcher instanceof RegExp) { - return matcher.test(someString); - } - if (/^\/.*\/$/.test(matcher)) { - var pattern = matcher.substring(1, matcher.length - 1); - return new RegExp(pattern).test(someString); - } + if (punctuations) { + str = str.replace(getPunctuationRegExp(), ''); } - return matcher === someString; - } - var from_primative_default = fromPrimative; - function hasAccessibleName2(vNode, matcher) { - return from_primative_default(!!accessible_text_virtual_default(vNode), matcher); + return str; } - var has_accessible_name_default = hasAccessibleName2; - function fromFunction(getValue, matcher) { - var matcherType = _typeof(matcher); - if (matcherType !== 'object' || Array.isArray(matcher) || matcher instanceof RegExp) { - throw new Error('Expect matcher to be an object'); + var remove_unicode_default = removeUnicode; + function isHumanInterpretable(str) { + if (isEmpty(str) || isNonDigitCharacter(str) || isSymbolicText(str) || isUnicodeOrPunctuation(str)) { + return 0; } - return Object.keys(matcher).every(function(propName) { - return from_primative_default(getValue(propName), matcher[propName]); - }); + return 1; } - var from_function_default = fromFunction; - function attributes(vNode, matcher) { - if (!(vNode instanceof abstract_virtual_node_default)) { - vNode = get_node_from_tree_default(vNode); - } - return from_function_default(function(attrName) { - return vNode.attr(attrName); - }, matcher); + function isEmpty(str) { + return sanitize_default(str).length === 0; } - var attributes_default = attributes; - function condition(arg, condition2) { - return !!condition2(arg); + function isNonDigitCharacter(str) { + return str.length === 1 && str.match(/\D/); } - var condition_default = condition; - function explicitRole(vNode, matcher) { - return from_primative_default(get_explicit_role_default(vNode), matcher); + function isSymbolicText(str) { + var symbolicText = [ 'aa', 'abc' ]; + return symbolicText.includes(str.toLowerCase()); } - var explicit_role_default = explicitRole; - function implicitRole(vNode, matcher) { - return from_primative_default(implicit_role_default(vNode), matcher); + function isUnicodeOrPunctuation(str) { + var noUnicodeStr = remove_unicode_default(str, { + emoji: true, + nonBmp: true, + punctuations: true + }); + return !sanitize_default(noUnicodeStr); } - var implicit_role_default2 = implicitRole; - function nodeName(vNode, matcher) { - if (!(vNode instanceof abstract_virtual_node_default)) { - vNode = get_node_from_tree_default(vNode); + var is_human_interpretable_default = isHumanInterpretable; + var _autocomplete = { + stateTerms: [ 'on', 'off' ], + standaloneTerms: [ 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'username', 'new-password', 'current-password', 'organization-title', 'organization', 'street-address', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'url', 'photo', 'one-time-code' ], + qualifiers: [ 'home', 'work', 'mobile', 'fax', 'pager' ], + qualifiedTerms: [ 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-local-prefix', 'tel-local-suffix', 'tel-extension', 'email', 'impp' ], + locations: [ 'billing', 'shipping' ] + }; + function isValidAutocomplete(autocompleteValue) { + var _ref36 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref36$looseTyped = _ref36.looseTyped, looseTyped = _ref36$looseTyped === void 0 ? false : _ref36$looseTyped, _ref36$stateTerms = _ref36.stateTerms, stateTerms = _ref36$stateTerms === void 0 ? [] : _ref36$stateTerms, _ref36$locations = _ref36.locations, locations = _ref36$locations === void 0 ? [] : _ref36$locations, _ref36$qualifiers = _ref36.qualifiers, qualifiers = _ref36$qualifiers === void 0 ? [] : _ref36$qualifiers, _ref36$standaloneTerm = _ref36.standaloneTerms, standaloneTerms = _ref36$standaloneTerm === void 0 ? [] : _ref36$standaloneTerm, _ref36$qualifiedTerms = _ref36.qualifiedTerms, qualifiedTerms = _ref36$qualifiedTerms === void 0 ? [] : _ref36$qualifiedTerms, _ref36$ignoredValues = _ref36.ignoredValues, ignoredValues = _ref36$ignoredValues === void 0 ? [] : _ref36$ignoredValues; + autocompleteValue = autocompleteValue.toLowerCase().trim(); + stateTerms = stateTerms.concat(_autocomplete.stateTerms); + if (stateTerms.includes(autocompleteValue) || autocompleteValue === '') { + return true; } - return from_primative_default(vNode.props.nodeName, matcher); + qualifiers = qualifiers.concat(_autocomplete.qualifiers); + locations = locations.concat(_autocomplete.locations); + standaloneTerms = standaloneTerms.concat(_autocomplete.standaloneTerms); + qualifiedTerms = qualifiedTerms.concat(_autocomplete.qualifiedTerms); + var autocompleteTerms = autocompleteValue.split(/\s+/g); + if (autocompleteTerms[autocompleteTerms.length - 1] === 'webauthn') { + autocompleteTerms.pop(); + if (autocompleteTerms.length === 0) { + return false; + } + } + if (!looseTyped) { + if (autocompleteTerms[0].length > 8 && autocompleteTerms[0].substr(0, 8) === 'section-') { + autocompleteTerms.shift(); + } + if (locations.includes(autocompleteTerms[0])) { + autocompleteTerms.shift(); + } + if (qualifiers.includes(autocompleteTerms[0])) { + autocompleteTerms.shift(); + standaloneTerms = []; + } + if (autocompleteTerms.length !== 1) { + return false; + } + } + var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1]; + if (ignoredValues.includes(purposeTerm)) { + return void 0; + } + return standaloneTerms.includes(purposeTerm) || qualifiedTerms.includes(purposeTerm); } - var node_name_default = nodeName; - function properties(vNode, matcher) { - if (!(vNode instanceof abstract_virtual_node_default)) { - vNode = get_node_from_tree_default(vNode); + var is_valid_autocomplete_default = isValidAutocomplete; + function labelVirtual(virtualNode) { + var ref, candidate; + if (virtualNode.attr('aria-labelledby')) { + ref = idrefs_default(virtualNode.actualNode, 'aria-labelledby'); + candidate = ref.map(function(thing) { + var vNode = get_node_from_tree_default(thing); + return vNode ? visible_virtual_default(vNode) : ''; + }).join(' ').trim(); + if (candidate) { + return candidate; + } } - return from_function_default(function(propName) { - return vNode.props[propName]; - }, matcher); + candidate = virtualNode.attr('aria-label'); + if (candidate) { + candidate = sanitize_default(candidate); + if (candidate) { + return candidate; + } + } + return null; } - var properties_default = properties; - function semanticRole(vNode, matcher) { - return from_primative_default(get_role_default(vNode), matcher); + var label_virtual_default = labelVirtual; + function visible(element, screenReader, noRecursing) { + element = get_node_from_tree_default(element); + return visible_virtual_default(element, screenReader, noRecursing); } - var semantic_role_default = semanticRole; - var matchers = { - hasAccessibleName: has_accessible_name_default, - attributes: attributes_default, - condition: condition_default, - explicitRole: explicit_role_default, - implicitRole: implicit_role_default2, - nodeName: node_name_default, - properties: properties_default, - semanticRole: semantic_role_default - }; - function fromDefinition(vNode, definition) { - if (!(vNode instanceof abstract_virtual_node_default)) { - vNode = get_node_from_tree_default(vNode); + var visible_default = visible; + function labelVirtual2(virtualNode) { + var ref, candidate, doc; + candidate = label_virtual_default(virtualNode); + if (candidate) { + return candidate; } - if (Array.isArray(definition)) { - return definition.some(function(definitionItem) { - return fromDefinition(vNode, definitionItem); - }); + if (virtualNode.attr('id')) { + if (!virtualNode.actualNode) { + throw new TypeError('Cannot resolve explicit label reference for non-DOM nodes'); + } + var id = escape_selector_default(virtualNode.attr('id')); + doc = get_root_node_default2(virtualNode.actualNode); + ref = doc.querySelector('label[for="' + id + '"]'); + candidate = ref && visible_default(ref, true); + if (candidate) { + return candidate; + } } - if (typeof definition === 'string') { - return matches_default(vNode, definition); + ref = closest_default(virtualNode, 'label'); + candidate = ref && visible_virtual_default(ref, true); + if (candidate) { + return candidate; } - return Object.keys(definition).every(function(matcherName) { - if (!matchers[matcherName]) { - throw new Error('Unknown matcher type "'.concat(matcherName, '"')); + return null; + } + var label_virtual_default2 = labelVirtual2; + function label(node) { + node = get_node_from_tree_default(node); + return label_virtual_default2(node); + } + var label_default = label; + var nativeElementType = [ { + matches: [ { + nodeName: 'textarea' + }, { + nodeName: 'input', + properties: { + type: [ 'text', 'password', 'search', 'tel', 'email', 'url' ] + } + } ], + namingMethods: 'labelText' + }, { + matches: { + nodeName: 'input', + properties: { + type: [ 'button', 'submit', 'reset' ] + } + }, + namingMethods: [ 'valueText', 'titleText', 'buttonDefaultText' ] + }, { + matches: { + nodeName: 'input', + properties: { + type: 'image' + } + }, + namingMethods: [ 'altText', 'valueText', 'labelText', 'titleText', 'buttonDefaultText' ] + }, { + matches: 'button', + namingMethods: 'subtreeText' + }, { + matches: 'fieldset', + namingMethods: 'fieldsetLegendText' + }, { + matches: 'OUTPUT', + namingMethods: 'subtreeText' + }, { + matches: [ { + nodeName: 'select' + }, { + nodeName: 'input', + properties: { + type: /^(?!text|password|search|tel|email|url|button|submit|reset)/ + } + } ], + namingMethods: 'labelText' + }, { + matches: 'summary', + namingMethods: 'subtreeText' + }, { + matches: 'figure', + namingMethods: [ 'figureText', 'titleText' ] + }, { + matches: 'img', + namingMethods: 'altText' + }, { + matches: 'table', + namingMethods: [ 'tableCaptionText', 'tableSummaryText' ] + }, { + matches: [ 'hr', 'br' ], + namingMethods: [ 'titleText', 'singleSpace' ] + } ]; + var native_element_type_default = nativeElementType; + function visibleTextNodes(vNode) { + var parentVisible = _isVisibleOnScreen(vNode); + var nodes = []; + vNode.children.forEach(function(child) { + if (child.actualNode.nodeType === 3) { + if (parentVisible) { + nodes.push(child); + } + } else { + nodes = nodes.concat(visibleTextNodes(child)); + } + }); + return nodes; + } + var visible_text_nodes_default = visibleTextNodes; + var getVisibleChildTextRects = memoize_default(function getVisibleChildTextRectsMemoized(node) { + var vNode = get_node_from_tree_default(node); + var nodeRect = vNode.boundingClientRect; + var clientRects = []; + var overflowHiddenNodes = get_overflow_hidden_ancestors_default(vNode); + node.childNodes.forEach(function(textNode) { + if (textNode.nodeType !== 3 || sanitize_default(textNode.nodeValue) === '') { + return; } - var matchMethod = matchers[matcherName]; - var matcher = definition[matcherName]; - return matchMethod(vNode, matcher); + var contentRects = getContentRects(textNode); + if (isOutsideNodeBounds(contentRects, nodeRect)) { + return; + } + clientRects.push.apply(clientRects, _toConsumableArray(filterHiddenRects(contentRects, overflowHiddenNodes))); }); + return clientRects.length ? clientRects : filterHiddenRects([ nodeRect ], overflowHiddenNodes); + }); + var get_visible_child_text_rects_default = getVisibleChildTextRects; + function getContentRects(node) { + var range2 = document.createRange(); + range2.selectNodeContents(node); + return Array.from(range2.getClientRects()); } - var from_definition_default = fromDefinition; - function matches2(vNode, definition) { - return from_definition_default(vNode, definition); + function isOutsideNodeBounds(rects, nodeRect) { + return rects.some(function(rect) { + var centerPoint = _getRectCenter(rect); + return !_isPointInRect(centerPoint, nodeRect); + }); } - var matches_default2 = matches2; - matches_default2.hasAccessibleName = has_accessible_name_default; - matches_default2.attributes = attributes_default; - matches_default2.condition = condition_default; - matches_default2.explicitRole = explicit_role_default; - matches_default2.fromDefinition = from_definition_default; - matches_default2.fromFunction = from_function_default; - matches_default2.fromPrimative = from_primative_default; - matches_default2.implicitRole = implicit_role_default2; - matches_default2.nodeName = node_name_default; - matches_default2.properties = properties_default; - matches_default2.semanticRole = semantic_role_default; - var matches_default3 = matches_default2; - function getElementSpec(vNode) { - var _ref25 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref25$noMatchAccessi = _ref25.noMatchAccessibleName, noMatchAccessibleName = _ref25$noMatchAccessi === void 0 ? false : _ref25$noMatchAccessi; - var standard = standards_default.htmlElms[vNode.props.nodeName]; - if (!standard) { - return {}; - } - if (!standard.variant) { - return standard; - } - var variant = standard.variant, spec = _objectWithoutProperties(standard, _excluded2); - for (var variantName in variant) { - if (!variant.hasOwnProperty(variantName) || variantName === 'default') { - continue; - } - var _variant$variantName = variant[variantName], matches4 = _variant$variantName.matches, props = _objectWithoutProperties(_variant$variantName, _excluded3); - var matchProperties = Array.isArray(matches4) ? matches4 : [ matches4 ]; - for (var _i7 = 0; _i7 < matchProperties.length && noMatchAccessibleName; _i7++) { - if (matchProperties[_i7].hasOwnProperty('hasAccessibleName')) { - return standard; - } - } - if (matches_default3(vNode, matches4)) { - for (var propName in props) { - if (props.hasOwnProperty(propName)) { - spec[propName] = props[propName]; - } - } + function filterHiddenRects(contentRects, overflowHiddenNodes) { + var visibleRects = []; + contentRects.forEach(function(contentRect) { + if (contentRect.width < 1 || contentRect.height < 1) { + return; } - } - for (var _propName in variant['default']) { - if (variant['default'].hasOwnProperty(_propName) && typeof spec[_propName] === 'undefined') { - spec[_propName] = variant['default'][_propName]; + var visibleRect = overflowHiddenNodes.reduce(function(rect, overflowNode) { + return rect && _getIntersectionRect(rect, overflowNode.boundingClientRect); + }, contentRect); + if (visibleRect) { + visibleRects.push(visibleRect); } - } - return spec; + }); + return visibleRects; } - var get_element_spec_default = getElementSpec; - function implicitRole2(node) { - var _ref26 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, chromium = _ref26.chromium; - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - node = vNode.actualNode; - if (!vNode) { - throw new ReferenceError('Cannot get implicit role of a node outside the current scope.'); - } - var nodeName2 = vNode.props.nodeName; - var role = implicit_html_roles_default[nodeName2]; - if (!role && chromium) { - var _get_element_spec_def = get_element_spec_default(vNode), chromiumRole = _get_element_spec_def.chromiumRole; - return chromiumRole || null; - } - if (typeof role === 'function') { - return role(vNode); + function getTextElementStack(node) { + _createGrid(); + var vNode = get_node_from_tree_default(node); + var grid = vNode._grid; + if (!grid) { + return []; } - return role || null; + var clientRects = get_visible_child_text_rects_default(node); + return clientRects.map(function(rect) { + return getRectStack(grid, rect); + }); } - var implicit_role_default = implicitRole2; - var inheritsPresentationChain = { - td: [ 'tr' ], - th: [ 'tr' ], - tr: [ 'thead', 'tbody', 'tfoot', 'table' ], - thead: [ 'table' ], - tbody: [ 'table' ], - tfoot: [ 'table' ], - li: [ 'ol', 'ul' ], - dt: [ 'dl', 'div' ], - dd: [ 'dl', 'div' ], - div: [ 'dl' ] - }; - function getInheritedRole(vNode, explicitRoleOptions) { - var parentNodeNames = inheritsPresentationChain[vNode.props.nodeName]; - if (!parentNodeNames) { - return null; - } - if (!vNode.parent) { - if (!vNode.actualNode) { - return null; - } - throw new ReferenceError('Cannot determine role presentational inheritance of a required parent outside the current scope.'); - } - if (!parentNodeNames.includes(vNode.parent.props.nodeName)) { - return null; + var get_text_element_stack_default = getTextElementStack; + var visualRoles = [ 'checkbox', 'img', 'meter', 'progressbar', 'scrollbar', 'radio', 'slider', 'spinbutton', 'textbox' ]; + function isVisualContent(el) { + var _nodeLookup19 = _nodeLookup(el), vNode = _nodeLookup19.vNode; + var role = axe.commons.aria.getExplicitRole(vNode); + if (role) { + return visualRoles.indexOf(role) !== -1; } - var parentRole = get_explicit_role_default(vNode.parent, explicitRoleOptions); - if ([ 'none', 'presentation' ].includes(parentRole) && !hasConflictResolution(vNode.parent)) { - return parentRole; + switch (vNode.props.nodeName) { + case 'img': + case 'iframe': + case 'object': + case 'video': + case 'audio': + case 'canvas': + case 'svg': + case 'math': + case 'button': + case 'select': + case 'textarea': + case 'keygen': + case 'progress': + case 'meter': + return true; + + case 'input': + return vNode.props.type !== 'hidden'; + + default: + return false; } - if (parentRole) { - return null; + } + var is_visual_content_default = isVisualContent; + var hiddenTextElms = [ 'head', 'title', 'template', 'script', 'style', 'iframe', 'object', 'video', 'audio', 'noscript' ]; + function hasChildTextNodes(elm) { + if (hiddenTextElms.includes(elm.props.nodeName)) { + return false; } - return getInheritedRole(vNode.parent, explicitRoleOptions); + return elm.children.some(function(_ref37) { + var props = _ref37.props; + return props.nodeType === 3 && props.nodeValue.trim(); + }); } - function resolveImplicitRole(vNode, _ref27) { - var chromium = _ref27.chromium, explicitRoleOptions = _objectWithoutProperties(_ref27, _excluded4); - var implicitRole3 = implicit_role_default(vNode, { - chromium: chromium + function hasContentVirtual(elm, noRecursion, ignoreAria) { + return hasChildTextNodes(elm) || is_visual_content_default(elm.actualNode) || !ignoreAria && !!label_virtual_default(elm) || !noRecursion && elm.children.some(function(child) { + return child.actualNode.nodeType === 1 && hasContentVirtual(child); }); - if (!implicitRole3) { - return null; + } + var has_content_virtual_default = hasContentVirtual; + function hasContent(elm, noRecursion, ignoreAria) { + elm = get_node_from_tree_default(elm); + return has_content_virtual_default(elm, noRecursion, ignoreAria); + } + var has_content_default = hasContent; + function _hasLangText(virtualNode) { + if (typeof virtualNode.children === 'undefined' || hasChildTextNodes(virtualNode)) { + return true; } - var presentationalRole = getInheritedRole(vNode, explicitRoleOptions); - if (presentationalRole) { - return presentationalRole; + if (virtualNode.props.nodeType === 1 && is_visual_content_default(virtualNode)) { + return !!axe.commons.text.accessibleTextVirtual(virtualNode); } - return implicitRole3; - } - function hasConflictResolution(vNode) { - var hasGlobalAria = get_global_aria_attrs_default().some(function(attr) { - return vNode.hasAttr(attr); + return virtualNode.children.some(function(child) { + return !child.attr('lang') && _hasLangText(child) && !_isHiddenForEveryone(child); }); - return hasGlobalAria || _isFocusable(vNode); } - function resolveRole(node) { - var _ref28 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var noImplicit = _ref28.noImplicit, roleOptions = _objectWithoutProperties(_ref28, _excluded5); - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - if (vNode.props.nodeType !== 1) { - return null; + function insertedIntoFocusOrder(el) { + var tabIndex = parseInt(el.getAttribute('tabindex'), 10); + return tabIndex > -1 && _isFocusable(el) && !is_natively_focusable_default(el); + } + var inserted_into_focus_order_default = insertedIntoFocusOrder; + function isHiddenWithCSS(el, descendentVisibilityValue) { + var _nodeLookup20 = _nodeLookup(el), vNode = _nodeLookup20.vNode, domNode = _nodeLookup20.domNode; + if (!vNode) { + return _isHiddenWithCSS(domNode, descendentVisibilityValue); } - var explicitRole2 = get_explicit_role_default(vNode, roleOptions); - if (!explicitRole2) { - return noImplicit ? null : resolveImplicitRole(vNode, roleOptions); + if (vNode._isHiddenWithCSS === void 0) { + vNode._isHiddenWithCSS = _isHiddenWithCSS(domNode, descendentVisibilityValue); } - if (![ 'presentation', 'none' ].includes(explicitRole2)) { - return explicitRole2; + return vNode._isHiddenWithCSS; + } + function _isHiddenWithCSS(el, descendentVisibilityValue) { + if (el.nodeType === 9) { + return false; } - if (hasConflictResolution(vNode)) { - return noImplicit ? null : resolveImplicitRole(vNode, roleOptions); + if (el.nodeType === 11) { + el = el.host; } - return explicitRole2; - } - function getRole(node) { - var _ref29 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var noPresentational = _ref29.noPresentational, options = _objectWithoutProperties(_ref29, _excluded6); - var role = resolveRole(node, options); - if (noPresentational && [ 'presentation', 'none' ].includes(role)) { - return null; + if ([ 'STYLE', 'SCRIPT' ].includes(el.nodeName.toUpperCase())) { + return false; } - return role; - } - var get_role_default = getRole; - var alwaysTitleElements = [ 'iframe' ]; - function titleText(node) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - if (vNode.props.nodeType !== 1 || !node.hasAttr('title')) { - return ''; + var style = window.getComputedStyle(el, null); + if (!style) { + throw new Error('Style does not exist for the given element.'); } - if (!matches_default2(vNode, alwaysTitleElements) && [ 'none', 'presentation' ].includes(get_role_default(vNode))) { - return ''; + var displayValue = style.getPropertyValue('display'); + if (displayValue === 'none') { + return true; } - return vNode.attr('title'); - } - var title_text_default = titleText; - function namedFromContents(vNode) { - var _ref30 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, strict = _ref30.strict; - vNode = vNode instanceof abstract_virtual_node_default ? vNode : get_node_from_tree_default(vNode); - if (vNode.props.nodeType !== 1) { - return false; + var HIDDEN_VISIBILITY_VALUES = [ 'hidden', 'collapse' ]; + var visibilityValue = style.getPropertyValue('visibility'); + if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && !descendentVisibilityValue) { + return true; } - var role = get_role_default(vNode); - var roleDef = standards_default.ariaRoles[role]; - if (roleDef && roleDef.nameFromContent) { + if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && descendentVisibilityValue && HIDDEN_VISIBILITY_VALUES.includes(descendentVisibilityValue)) { return true; } - if (strict) { + var parent = get_composed_parent_default(el); + if (parent && !HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)) { + return isHiddenWithCSS(parent, visibilityValue); + } + return false; + } + var is_hidden_with_css_default = isHiddenWithCSS; + function isHTML5(doc) { + var node = doc.doctype; + if (node === null) { return false; } - return !roleDef || [ 'presentation', 'none' ].includes(role); + return node.name === 'html' && !node.publicId && !node.systemId; } - var named_from_contents_default = namedFromContents; - function getOwnedVirtual(virtualNode) { - var actualNode = virtualNode.actualNode, children = virtualNode.children; - if (!children) { - throw new Error('getOwnedVirtual requires a virtual node'); + var is_html5_default = isHTML5; + function getRoleType(role) { + var _window3; + if (role instanceof abstract_virtual_node_default || (_window3 = window) !== null && _window3 !== void 0 && _window3.Node && role instanceof window.Node) { + role = axe.commons.aria.getRole(role); } - if (virtualNode.hasAttr('aria-owns')) { - var owns = idrefs_default(actualNode, 'aria-owns').filter(function(element) { - return !!element; - }).map(function(element) { - return axe.utils.getNodeFromTree(element); + var roleDef = standards_default.ariaRoles[role]; + return (roleDef === null || roleDef === void 0 ? void 0 : roleDef.type) || null; + } + var get_role_type_default = getRoleType; + function walkDomNode(node, functor) { + if (functor(node.actualNode) !== false) { + node.children.forEach(function(child) { + return walkDomNode(child, functor); }); - return [].concat(_toConsumableArray(children), _toConsumableArray(owns)); } - return _toConsumableArray(children); } - var get_owned_virtual_default = getOwnedVirtual; - function subtreeText(virtualNode) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var alreadyProcessed2 = accessible_text_virtual_default.alreadyProcessed; - context.startNode = context.startNode || virtualNode; - var _context = context, strict = _context.strict, inControlContext = _context.inControlContext, inLabelledByContext = _context.inLabelledByContext; - var _get_element_spec_def2 = get_element_spec_default(virtualNode, { - noMatchAccessibleName: true - }), contentTypes = _get_element_spec_def2.contentTypes; - if (alreadyProcessed2(virtualNode, context) || virtualNode.props.nodeType !== 1 || contentTypes !== null && contentTypes !== void 0 && contentTypes.includes('embedded')) { - return ''; - } - if (!named_from_contents_default(virtualNode, { - strict: strict - }) && !context.subtreeDescendant) { - return ''; - } - if (!strict) { - var subtreeDescendant = !inControlContext && !inLabelledByContext; - context = _extends({ - subtreeDescendant: subtreeDescendant - }, context); + var blockLike = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ]; + function isBlock(elm) { + var display2 = window.getComputedStyle(elm).getPropertyValue('display'); + return blockLike.includes(display2) || display2.substr(0, 6) === 'table-'; + } + function getBlockParent(node) { + var parentBlock = get_composed_parent_default(node); + while (parentBlock && !isBlock(parentBlock)) { + parentBlock = get_composed_parent_default(parentBlock); } - return get_owned_virtual_default(virtualNode).reduce(function(contentText, child) { - return appendAccessibleText(contentText, child, context); - }, ''); + return get_node_from_tree_default(parentBlock); } - var phrasingElements = get_elements_by_content_type_default('phrasing').concat([ '#text' ]); - function appendAccessibleText(contentText, virtualNode, context) { - var nodeName2 = virtualNode.props.nodeName; - var contentTextAdd = accessible_text_virtual_default(virtualNode, context); - if (!contentTextAdd) { - return contentText; + function isInTextBlock(node, options) { + if (isBlock(node)) { + return false; } - if (!phrasingElements.includes(nodeName2)) { - if (contentTextAdd[0] !== ' ') { - contentTextAdd += ' '; + var virtualParent = getBlockParent(node); + var parentText = ''; + var widgetText = ''; + var inBrBlock = 0; + walkDomNode(virtualParent, function(currNode) { + if (inBrBlock === 2) { + return false; } - if (contentText && contentText[contentText.length - 1] !== ' ') { - contentTextAdd = ' ' + contentTextAdd; + if (currNode.nodeType === 3) { + parentText += currNode.nodeValue; + } + if (currNode.nodeType !== 1) { + return; + } + var nodeName2 = (currNode.nodeName || '').toUpperCase(); + if (currNode === node) { + inBrBlock = 1; + } + if ([ 'BR', 'HR' ].includes(nodeName2)) { + if (inBrBlock === 0) { + parentText = ''; + widgetText = ''; + } else { + inBrBlock = 2; + } + } else if (currNode.style.display === 'none' || currNode.style.overflow === 'hidden' || ![ '', null, 'none' ].includes(currNode.style['float']) || ![ '', null, 'relative' ].includes(currNode.style.position)) { + return false; + } else if (get_role_type_default(currNode) === 'widget') { + widgetText += currNode.textContent; + return false; } + }); + parentText = sanitize_default(parentText); + if (options !== null && options !== void 0 && options.noLengthCompare) { + return parentText.length !== 0; } - return contentText + contentTextAdd; + widgetText = sanitize_default(widgetText); + return parentText.length > widgetText.length; } - var subtree_text_default = subtreeText; - function labelText(virtualNode) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var alreadyProcessed2 = accessible_text_virtual_default.alreadyProcessed; - if (context.inControlContext || context.inLabelledByContext || alreadyProcessed2(virtualNode, context)) { - return ''; + var is_in_text_block_default = isInTextBlock; + function isModalOpen(options) { + options = options || {}; + var modalPercent = options.modalPercent || .75; + if (cache_default.get('isModalOpen')) { + return cache_default.get('isModalOpen'); } - if (!context.startNode) { - context.startNode = virtualNode; + var definiteModals = query_selector_all_filter_default(axe._tree[0], 'dialog, [role=dialog], [aria-modal=true]', _isVisibleOnScreen); + if (definiteModals.length) { + cache_default.set('isModalOpen', true); + return true; } - var labelContext = _extends({ - inControlContext: true - }, context); - var explicitLabels = getExplicitLabels(virtualNode); - var implicitLabel = closest_default(virtualNode, 'label'); - var labels; - if (implicitLabel) { - labels = [].concat(_toConsumableArray(explicitLabels), [ implicitLabel.actualNode ]); - labels.sort(node_sorter_default); - } else { - labels = explicitLabels; + var viewport = get_viewport_size_default(window); + var percentWidth = viewport.width * modalPercent; + var percentHeight = viewport.height * modalPercent; + var x = (viewport.width - percentWidth) / 2; + var y = (viewport.height - percentHeight) / 2; + var points = [ { + x: x, + y: y + }, { + x: viewport.width - x, + y: y + }, { + x: viewport.width / 2, + y: viewport.height / 2 + }, { + x: x, + y: viewport.height - y + }, { + x: viewport.width - x, + y: viewport.height - y + } ]; + var stacks = points.map(function(point) { + return Array.from(document.elementsFromPoint(point.x, point.y)); + }); + var _loop4 = function _loop4() { + var modalElement = stacks[_i11].find(function(elm) { + var style = window.getComputedStyle(elm); + return parseInt(style.width, 10) >= percentWidth && parseInt(style.height, 10) >= percentHeight && style.getPropertyValue('pointer-events') !== 'none' && (style.position === 'absolute' || style.position === 'fixed'); + }); + if (modalElement && stacks.every(function(stack) { + return stack.includes(modalElement); + })) { + cache_default.set('isModalOpen', true); + return { + v: true + }; + } + }, _ret; + for (var _i11 = 0; _i11 < stacks.length; _i11++) { + _ret = _loop4(); + if (_ret) { + return _ret.v; + } } - return labels.map(function(label3) { - return accessible_text_default(label3, labelContext); - }).filter(function(text) { - return text !== ''; - }).join(' '); + cache_default.set('isModalOpen', void 0); + return void 0; } - function getExplicitLabels(virtualNode) { - if (!virtualNode.attr('id')) { - return []; - } - if (!virtualNode.actualNode) { - throw new TypeError('Cannot resolve explicit label reference for non-DOM nodes'); + var is_modal_open_default = isModalOpen; + function _isMultiline(domNode) { + var margin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2; + var range2 = domNode.ownerDocument.createRange(); + range2.setStart(domNode, 0); + range2.setEnd(domNode, domNode.childNodes.length); + var lastLineEnd = 0; + var lineCount = 0; + var _iterator5 = _createForOfIteratorHelper(range2.getClientRects()), _step5; + try { + for (_iterator5.s(); !(_step5 = _iterator5.n()).done; ) { + var rect = _step5.value; + if (rect.height <= margin) { + continue; + } + if (lastLineEnd > rect.top + margin) { + lastLineEnd = Math.max(lastLineEnd, rect.bottom); + } else if (lineCount === 0) { + lastLineEnd = rect.bottom; + lineCount++; + } else { + return true; + } + } + } catch (err) { + _iterator5.e(err); + } finally { + _iterator5.f(); } - return find_elms_in_context_default({ - elm: 'label', - attr: 'for', - value: virtualNode.attr('id'), - context: virtualNode.actualNode - }); + return false; } - var label_text_default = labelText; - var defaultButtonValues = { - submit: 'Submit', - image: 'Submit', - reset: 'Reset', - button: '' + function isNode(element) { + return element instanceof window.Node; + } + var is_node_default = isNode; + var cacheKey = 'color.incompleteData'; + var incompleteData = { + set: function set(key, reason) { + if (typeof key !== 'string') { + throw new Error('Incomplete data: key must be a string'); + } + var data = cache_default.get(cacheKey, function() { + return {}; + }); + if (reason) { + data[key] = reason; + } + return data[key]; + }, + get: function get(key) { + var data = cache_default.get(cacheKey); + return data === null || data === void 0 ? void 0 : data[key]; + }, + clear: function clear() { + cache_default.set(cacheKey, {}); + } }; - var nativeTextMethods = { - valueText: function valueText(_ref31) { - var actualNode = _ref31.actualNode; - return actualNode.value || ''; + var incomplete_data_default = incompleteData; + function elementHasImage(elm, style) { + var graphicNodes = [ 'IMG', 'CANVAS', 'OBJECT', 'IFRAME', 'VIDEO', 'SVG' ]; + var nodeName2 = elm.nodeName.toUpperCase(); + if (graphicNodes.includes(nodeName2)) { + incomplete_data_default.set('bgColor', 'imgNode'); + return true; + } + style = style || window.getComputedStyle(elm); + var bgImageStyle = style.getPropertyValue('background-image'); + var hasBgImage = bgImageStyle !== 'none'; + if (hasBgImage) { + var hasGradient = /gradient/.test(bgImageStyle); + incomplete_data_default.set('bgColor', hasGradient ? 'bgGradient' : 'bgImage'); + } + return hasBgImage; + } + var element_has_image_default = elementHasImage; + var imports_exports = {}; + __export(imports_exports, { + ArrayFrom: function ArrayFrom() { + return import_from2['default']; }, - buttonDefaultText: function buttonDefaultText(_ref32) { - var actualNode = _ref32.actualNode; - return defaultButtonValues[actualNode.type] || ''; + Colorjs: function Colorjs() { + return _Color; }, - tableCaptionText: descendantText.bind(null, 'caption'), - figureText: descendantText.bind(null, 'figcaption'), - svgTitleText: descendantText.bind(null, 'title'), - fieldsetLegendText: descendantText.bind(null, 'legend'), - altText: attrText.bind(null, 'alt'), - tableSummaryText: attrText.bind(null, 'summary'), - titleText: title_text_default, - subtreeText: subtree_text_default, - labelText: label_text_default, - singleSpace: function singleSpace() { - return ' '; + CssSelectorParser: function CssSelectorParser() { + return import_css_selector_parser2.CssSelectorParser; }, - placeholderText: attrText.bind(null, 'placeholder') - }; - function attrText(attr, vNode) { - return vNode.attr(attr) || ''; - } - function descendantText(nodeName2, _ref33, context) { - var actualNode = _ref33.actualNode; - nodeName2 = nodeName2.toLowerCase(); - var nodeNames2 = [ nodeName2, actualNode.nodeName.toLowerCase() ].join(','); - var candidate = actualNode.querySelector(nodeNames2); - if (!candidate || candidate.nodeName.toLowerCase() !== nodeName2) { - return ''; + doT: function doT() { + return import_dot['default']; + }, + emojiRegexText: function emojiRegexText() { + return emoji_regex_default; + }, + memoize: function memoize() { + return import_memoizee2['default']; } - return accessible_text_default(candidate, context); + }); + var import_es6_promise = __toModule(require_es6_promise()); + var import_typedarray = __toModule(require_typedarray()); + var import_weakmap_polyfill = __toModule(require_weakmap_polyfill()); + var import_has_own = __toModule(require_has_own3()); + var import_values = __toModule(require_values3()); + var import_from = __toModule(require_from4()); + if (!('hasOwn' in Object)) { + Object.hasOwn = import_has_own['default']; } - var native_text_methods_default = nativeTextMethods; - function nativeTextAlternative(virtualNode) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var actualNode = virtualNode.actualNode; - if (virtualNode.props.nodeType !== 1 || [ 'presentation', 'none' ].includes(get_role_default(virtualNode))) { - return ''; - } - var textMethods = findTextMethods(virtualNode); - var accName = textMethods.reduce(function(accName2, step) { - return accName2 || step(virtualNode, context); - }, ''); - if (context.debug) { - axe.log(accName || '{empty-value}', actualNode, context); - } - return accName; + if (!('values' in Object)) { + Object.values = import_values['default']; } - function findTextMethods(virtualNode) { - var elmSpec = get_element_spec_default(virtualNode, { - noMatchAccessibleName: true - }); - var methods = elmSpec.namingMethods || []; - return methods.map(function(methodName) { - return native_text_methods_default[methodName]; - }); + if (!('Promise' in window)) { + import_es6_promise['default'].polyfill(); } - var native_text_alternative_default = nativeTextAlternative; - var unsupported = { - accessibleNameFromFieldValue: [ 'combobox', 'listbox', 'progressbar' ] - }; - var unsupported_default = unsupported; - function _isVisibleToScreenReaders(vNode) { - vNode = vNode instanceof abstract_virtual_node_default ? vNode : get_node_from_tree_default(vNode); - return isVisibleToScreenReadersVirtual(vNode); + if (!('Uint32Array' in window)) { + window.Uint32Array = import_typedarray.Uint32Array; } - var isVisibleToScreenReadersVirtual = memoize_default(function isVisibleToScreenReadersMemoized(vNode, isAncestor) { - if (ariaHidden(vNode)) { - return false; - } - if (vNode.actualNode && vNode.props.nodeName === 'area') { - return !areaHidden(vNode, isVisibleToScreenReadersVirtual); - } - if (_isHiddenForEveryone(vNode, { - skipAncestors: true, - isAncestor: isAncestor - })) { - return false; + if (window.Uint32Array) { + if (!('some' in window.Uint32Array.prototype)) { + Object.defineProperty(window.Uint32Array.prototype, 'some', { + value: Array.prototype.some + }); } - if (!vNode.parent) { - return true; + if (!('reduce' in window.Uint32Array.prototype)) { + Object.defineProperty(window.Uint32Array.prototype, 'reduce', { + value: Array.prototype.reduce + }); } - return isVisibleToScreenReadersVirtual(vNode.parent, true); - }); - function visibleVirtual(element, screenReader, noRecursing) { - var vNode = element instanceof abstract_virtual_node_default ? element : get_node_from_tree_default(element); - var visibleMethod = screenReader ? _isVisibleToScreenReaders : _isVisibleOnScreen; - var visible2 = !element.actualNode || element.actualNode && visibleMethod(element); - var result = vNode.children.map(function(child) { - var _child$props = child.props, nodeType = _child$props.nodeType, nodeValue = _child$props.nodeValue; - if (nodeType === 3) { - if (nodeValue && visible2) { - return nodeValue; + } + if (typeof Object.assign !== 'function') { + (function() { + Object.assign = function(target) { + if (target === void 0 || target === null) { + throw new TypeError('Cannot convert undefined or null to object'); } - } else if (!noRecursing) { - return visibleVirtual(child, screenReader); + var output = Object(target); + for (var index = 1; index < arguments.length; index++) { + var source = arguments[index]; + if (source !== void 0 && source !== null) { + for (var nextKey in source) { + if (source.hasOwnProperty(nextKey)) { + output[nextKey] = source[nextKey]; + } + } + } + } + return output; + }; + })(); + } + if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + value: function value(predicate) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var thisArg = arguments[1]; + var value; + for (var _i12 = 0; _i12 < length; _i12++) { + value = list[_i12]; + if (predicate.call(thisArg, value, _i12, list)) { + return value; + } + } + return void 0; } - }).join(''); - return sanitize_default(result); + }); } - var visible_virtual_default = visibleVirtual; - var nonTextInputTypes = [ 'button', 'checkbox', 'color', 'file', 'hidden', 'image', 'password', 'radio', 'reset', 'submit' ]; - function isNativeTextbox(node) { - node = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - var nodeName2 = node.props.nodeName; - return nodeName2 === 'textarea' || nodeName2 === 'input' && !nonTextInputTypes.includes((node.attr('type') || '').toLowerCase()); + if (!Array.prototype.findIndex) { + Object.defineProperty(Array.prototype, 'findIndex', { + value: function value(predicate, thisArg) { + if (this === null) { + throw new TypeError('Array.prototype.find called on null or undefined'); + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function'); + } + var list = Object(this); + var length = list.length >>> 0; + var value; + for (var _i13 = 0; _i13 < length; _i13++) { + value = list[_i13]; + if (predicate.call(thisArg, value, _i13, list)) { + return _i13; + } + } + return -1; + } + }); } - var is_native_textbox_default = isNativeTextbox; - function isNativeSelect(node) { - node = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - var nodeName2 = node.props.nodeName; - return nodeName2 === 'select'; + if (!Array.prototype.includes) { + Object.defineProperty(Array.prototype, 'includes', { + value: function value(searchElement) { + var O = Object(this); + var len = parseInt(O.length, 10) || 0; + if (len === 0) { + return false; + } + var n2 = parseInt(arguments[1], 10) || 0; + var k; + if (n2 >= 0) { + k = n2; + } else { + k = len + n2; + if (k < 0) { + k = 0; + } + } + var currentElement; + while (k < len) { + currentElement = O[k]; + if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) { + return true; + } + k++; + } + return false; + } + }); } - var is_native_select_default = isNativeSelect; - function isAriaTextbox(node) { - var role = get_explicit_role_default(node); - return role === 'textbox'; + if (!Array.prototype.some) { + Object.defineProperty(Array.prototype, 'some', { + value: function value(fun) { + if (this == null) { + throw new TypeError('Array.prototype.some called on null or undefined'); + } + if (typeof fun !== 'function') { + throw new TypeError(); + } + var t = Object(this); + var len = t.length >>> 0; + var thisArg = arguments.length >= 2 ? arguments[1] : void 0; + for (var _i14 = 0; _i14 < len; _i14++) { + if (_i14 in t && fun.call(thisArg, t[_i14], _i14, t)) { + return true; + } + } + return false; + } + }); } - var is_aria_textbox_default = isAriaTextbox; - function isAriaListbox(node) { - var role = get_explicit_role_default(node); - return role === 'listbox'; + if (!Array.from) { + Array.from = import_from['default']; } - var is_aria_listbox_default = isAriaListbox; - function isAriaCombobox(node) { - var role = get_explicit_role_default(node); - return role === 'combobox'; + if (!String.prototype.includes) { + String.prototype.includes = function(search, start) { + if (typeof start !== 'number') { + start = 0; + } + if (start + search.length > this.length) { + return false; + } else { + return this.indexOf(search, start) !== -1; + } + }; + } + if (!Array.prototype.flat) { + Object.defineProperty(Array.prototype, 'flat', { + configurable: true, + value: function flat() { + var depth = isNaN(arguments[0]) ? 1 : Number(arguments[0]); + return depth ? Array.prototype.reduce.call(this, function(acc, cur) { + if (Array.isArray(cur)) { + acc.push.apply(acc, flat.call(cur, depth - 1)); + } else { + acc.push(cur); + } + return acc; + }, []) : Array.prototype.slice.call(this); + }, + writable: true + }); } - var is_aria_combobox_default = isAriaCombobox; - var rangeRoles = [ 'progressbar', 'scrollbar', 'slider', 'spinbutton' ]; - function isAriaRange(node) { - var role = get_explicit_role_default(node); - return rangeRoles.includes(role); + if (window.Node && !('isConnected' in window.Node.prototype)) { + Object.defineProperty(window.Node.prototype, 'isConnected', { + get: function get() { + return !this.ownerDocument || !(this.ownerDocument.compareDocumentPosition(this) & this.DOCUMENT_POSITION_DISCONNECTED); + } + }); } - var is_aria_range_default = isAriaRange; - var controlValueRoles = [ 'textbox', 'progressbar', 'scrollbar', 'slider', 'spinbutton', 'combobox', 'listbox' ]; - var _formControlValueMethods = { - nativeTextboxValue: nativeTextboxValue, - nativeSelectValue: nativeSelectValue, - ariaTextboxValue: ariaTextboxValue, - ariaListboxValue: ariaListboxValue, - ariaComboboxValue: ariaComboboxValue, - ariaRangeValue: ariaRangeValue - }; - function formControlValue(virtualNode) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var actualNode = virtualNode.actualNode; - var unsupportedRoles = unsupported_default.accessibleNameFromFieldValue || []; - var role = get_role_default(virtualNode); - if (context.startNode === virtualNode || !controlValueRoles.includes(role) || unsupportedRoles.includes(role)) { - return ''; + var import_css_selector_parser2 = __toModule(require_lib()); + var import_dot = __toModule(require_doT()); + var import_memoizee2 = __toModule(require_memoizee()); + function multiplyMatrices(A, B) { + var m3 = A.length; + if (!Array.isArray(A[0])) { + A = [ A ]; + } + if (!Array.isArray(B[0])) { + B = B.map(function(x) { + return [ x ]; + }); } - var valueMethods = Object.keys(_formControlValueMethods).map(function(name) { - return _formControlValueMethods[name]; + var p2 = B[0].length; + var B_cols = B[0].map(function(_, i) { + return B.map(function(x) { + return x[i]; + }); }); - var valueString = valueMethods.reduce(function(accName, step) { - return accName || step(virtualNode, context); - }, ''); - if (context.debug) { - log_default(valueString || '{empty-value}', actualNode, context); + var product = A.map(function(row) { + return B_cols.map(function(col) { + var ret = 0; + if (!Array.isArray(row)) { + var _iterator6 = _createForOfIteratorHelper(col), _step6; + try { + for (_iterator6.s(); !(_step6 = _iterator6.n()).done; ) { + var c4 = _step6.value; + ret += row * c4; + } + } catch (err) { + _iterator6.e(err); + } finally { + _iterator6.f(); + } + return ret; + } + for (var _i15 = 0; _i15 < row.length; _i15++) { + ret += row[_i15] * (col[_i15] || 0); + } + return ret; + }); + }); + if (m3 === 1) { + product = product[0]; } - return valueString; - } - function nativeTextboxValue(node) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - if (is_native_textbox_default(vNode)) { - return vNode.props.value || ''; + if (p2 === 1) { + return product.map(function(x) { + return x[0]; + }); } - return ''; + return product; } - function nativeSelectValue(node) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - if (!is_native_select_default(vNode)) { - return ''; - } - var options = query_selector_all_default(vNode, 'option'); - var selectedOptions = options.filter(function(option) { - return option.props.selected; - }); - if (!selectedOptions.length) { - selectedOptions.push(options[0]); - } - return selectedOptions.map(function(option) { - return visible_virtual_default(option); - }).join(' ') || ''; + function isString(str) { + return type(str) === 'string'; } - function ariaTextboxValue(node) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - var actualNode = vNode.actualNode; - if (!is_aria_textbox_default(vNode)) { - return ''; - } - if (!actualNode || actualNode && !_isHiddenForEveryone(actualNode)) { - return visible_virtual_default(vNode, true); + function type(o) { + var str = Object.prototype.toString.call(o); + return (str.match(/^\[object\s+(.*?)\]$/)[1] || '').toLowerCase(); + } + function toPrecision(n2, precision) { + n2 = +n2; + precision = +precision; + var integerLength = (Math.floor(n2) + '').length; + if (precision > integerLength) { + return +n2.toFixed(precision - integerLength); } else { - return actualNode.textContent; + var p10 = Math.pow(10, integerLength - precision); + return Math.round(n2 / p10) * p10; } } - function ariaListboxValue(node, context) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - if (!is_aria_listbox_default(vNode)) { - return ''; + function parseFunction(str) { + if (!str) { + return; } - var selected = get_owned_virtual_default(vNode).filter(function(owned) { - return get_role_default(owned) === 'option' && owned.attr('aria-selected') === 'true'; - }); - if (selected.length === 0) { - return ''; + str = str.trim(); + var isFunctionRegex = /^([a-z]+)\((.+?)\)$/i; + var isNumberRegex = /^-?[\d.]+$/; + var parts = str.match(isFunctionRegex); + if (parts) { + var args = []; + parts[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g, function($0, arg) { + if (/%$/.test(arg)) { + arg = new Number(arg.slice(0, -1) / 100); + arg.type = ''; + } else if (/deg$/.test(arg)) { + arg = new Number(+arg.slice(0, -3)); + arg.type = ''; + arg.unit = 'deg'; + } else if (isNumberRegex.test(arg)) { + arg = new Number(arg); + arg.type = ''; + } + if ($0.startsWith('/')) { + arg = arg instanceof Number ? arg : new Number(arg); + arg.alpha = true; + } + args.push(arg); + }); + return { + name: parts[1].toLowerCase(), + rawName: parts[1], + rawArgs: parts[2], + args: args + }; } - return accessible_text_virtual_default(selected[0], context); } - function ariaComboboxValue(node, context) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - if (!is_aria_combobox_default(vNode)) { - return ''; - } - var listbox = get_owned_virtual_default(vNode).filter(function(elm) { - return get_role_default(elm) === 'listbox'; - })[0]; - return listbox ? ariaListboxValue(listbox, context) : ''; + function last(arr) { + return arr[arr.length - 1]; } - function ariaRangeValue(node) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - if (!is_aria_range_default(vNode) || !vNode.hasAttr('aria-valuenow')) { - return ''; + function interpolate(start, end, p2) { + if (isNaN(start)) { + return end; } - var valueNow = +vNode.attr('aria-valuenow'); - return !isNaN(valueNow) ? String(valueNow) : '0'; + if (isNaN(end)) { + return start; + } + return start + (end - start) * p2; } - var form_control_value_default = formControlValue; - function getUnicodeNonBmpRegExp() { - return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g; + function interpolateInv(start, end, value) { + return (value - start) / (end - start); } - function getPunctuationRegExp() { - return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g; + function mapRange(from, to2, value) { + return interpolate(to2[0], to2[1], interpolateInv(from[0], from[1], value)); } - function getSupplementaryPrivateUseRegExp() { - return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g; + function parseCoordGrammar(coordGrammars) { + return coordGrammars.map(function(coordGrammar2) { + return coordGrammar2.split('|').map(function(type2) { + type2 = type2.trim(); + var range2 = type2.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/); + if (range2) { + var ret = new String(range2[1]); + ret.range = [ +range2[2], +range2[3] ]; + return ret; + } + return type2; + }); + }); } - var emoji_regex_default = function emoji_regex_default() { - return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\u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-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; + var util = Object.freeze({ + __proto__: null, + isString: isString, + type: type, + toPrecision: toPrecision, + parseFunction: parseFunction, + last: last, + interpolate: interpolate, + interpolateInv: interpolateInv, + mapRange: mapRange, + parseCoordGrammar: parseCoordGrammar, + multiplyMatrices: multiplyMatrices + }); + var Hooks = function() { + function Hooks() { + _classCallCheck(this, Hooks); + } + return _createClass(Hooks, [ { + key: 'add', + value: function add(name, callback, first) { + if (typeof arguments[0] != 'string') { + for (var name in arguments[0]) { + this.add(name, arguments[0][name], arguments[1]); + } + return; + } + (Array.isArray(name) ? name : [ name ]).forEach(function(name2) { + this[name2] = this[name2] || []; + if (callback) { + this[name2][first ? 'unshift' : 'push'](callback); + } + }, this); + } + }, { + key: 'run', + value: function run(name, env) { + this[name] = this[name] || []; + this[name].forEach(function(callback) { + callback.call(env && env.context ? env.context : env, env); + }); + } + } ]); + }(); + var hooks = new Hooks(); + var defaults = { + gamut_mapping: 'lch.c', + precision: 5, + deltaE: '76' }; - function hasUnicode(str, options) { - var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations; - if (emoji) { - return emoji_regex_default().test(str); - } - if (nonBmp) { - return getUnicodeNonBmpRegExp().test(str) || getSupplementaryPrivateUseRegExp().test(str); - } - if (punctuations) { - return getPunctuationRegExp().test(str); + var WHITES = { + D50: [ .3457 / .3585, 1, (1 - .3457 - .3585) / .3585 ], + D65: [ .3127 / .329, 1, (1 - .3127 - .329) / .329 ] + }; + function getWhite(name) { + if (Array.isArray(name)) { + return name; } - return false; + return WHITES[name]; } - var has_unicode_default = hasUnicode; - function isIconLigature(textVNode) { - var differenceThreshold = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .15; - var occurrenceThreshold = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3; - var nodeValue = textVNode.actualNode.nodeValue.trim(); - if (!sanitize_default(nodeValue) || has_unicode_default(nodeValue, { - emoji: true, - nonBmp: true - })) { - return false; - } - var canvasContext = cache_default.get('canvasContext', function() { - return document.createElement('canvas').getContext('2d'); - }); - var canvas = canvasContext.canvas; - if (!cache_default.get('fonts')) { - cache_default.set('fonts', {}); - } - var fonts = cache_default.get('fonts'); - var style = window.getComputedStyle(textVNode.parent.actualNode); - var fontFamily = style.getPropertyValue('font-family'); - if (!fonts[fontFamily]) { - fonts[fontFamily] = { - occurrences: 0, - numLigatures: 0 - }; + function adapt$1(W1, W2, XYZ) { + var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; + W1 = getWhite(W1); + W2 = getWhite(W2); + if (!W1 || !W2) { + throw new TypeError('Missing white point to convert '.concat(!W1 ? 'from' : '').concat(!W1 && !W2 ? '/' : '').concat(!W2 ? 'to' : '')); + } + if (W1 === W2) { + return XYZ; + } + var env = { + W1: W1, + W2: W2, + XYZ: XYZ, + options: options + }; + hooks.run('chromatic-adaptation-start', env); + if (!env.M) { + if (env.W1 === WHITES.D65 && env.W2 === WHITES.D50) { + env.M = [ [ 1.0479298208405488, .022946793341019088, -.05019222954313557 ], [ .029627815688159344, .990434484573249, -.01707382502938514 ], [ -.009243058152591178, .015055144896577895, .7518742899580008 ] ]; + } else if (env.W1 === WHITES.D50 && env.W2 === WHITES.D65) { + env.M = [ [ .9554734527042182, -.023098536874261423, .0632593086610217 ], [ -.028369706963208136, 1.0099954580058226, .021041398966943008 ], [ .012314001688319899, -.020507696433477912, 1.3303659366080753 ] ]; + } } - var font = fonts[fontFamily]; - if (font.occurrences >= occurrenceThreshold) { - if (font.numLigatures / font.occurrences === 1) { - return true; - } else if (font.numLigatures === 0) { + hooks.run('chromatic-adaptation-end', env); + if (env.M) { + return multiplyMatrices(env.M, env.XYZ); + } else { + throw new TypeError('Only Bradford CAT with white points D50 and D65 supported for now.'); + } + } + var \u03b5$4 = 75e-6; + var _ColorSpace2 = (_Class_brand = new WeakSet(), _path = new WeakMap(), function() { + function _ColorSpace(options) { + var _options$coords, _ref38, _options$white, _options$formats, _this$formats$functio, _this$formats, _this$formats2; + _classCallCheck(this, _ColorSpace); + _classPrivateMethodInitSpec(this, _Class_brand); + _classPrivateFieldInitSpec(this, _path, void 0); + this.id = options.id; + this.name = options.name; + this.base = options.base ? _ColorSpace2.get(options.base) : null; + this.aliases = options.aliases; + if (this.base) { + this.fromBase = options.fromBase; + this.toBase = options.toBase; + } + var _coords = (_options$coords = options.coords) !== null && _options$coords !== void 0 ? _options$coords : this.base.coords; + this.coords = _coords; + var white2 = (_ref38 = (_options$white = options.white) !== null && _options$white !== void 0 ? _options$white : this.base.white) !== null && _ref38 !== void 0 ? _ref38 : 'D65'; + this.white = getWhite(white2); + this.formats = (_options$formats = options.formats) !== null && _options$formats !== void 0 ? _options$formats : {}; + for (var name in this.formats) { + var format = this.formats[name]; + format.type || (format.type = 'function'); + format.name || (format.name = name); + } + if (options.cssId && !((_this$formats$functio = this.formats.functions) !== null && _this$formats$functio !== void 0 && _this$formats$functio.color)) { + this.formats.color = { + id: options.cssId + }; + Object.defineProperty(this, 'cssId', { + value: options.cssId + }); + } else if ((_this$formats = this.formats) !== null && _this$formats !== void 0 && _this$formats.color && !((_this$formats2 = this.formats) !== null && _this$formats2 !== void 0 && _this$formats2.color.id)) { + this.formats.color.id = this.id; + } + this.referred = options.referred; + _classPrivateFieldSet(_path, this, _assertClassBrand(_Class_brand, this, _getPath).call(this).reverse()); + hooks.run('colorspace-init-end', this); + } + return _createClass(_ColorSpace, [ { + key: 'inGamut', + value: function inGamut(coords) { + var _ref39 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref39$epsilon = _ref39.epsilon, epsilon = _ref39$epsilon === void 0 ? \u03b5$4 : _ref39$epsilon; + if (this.isPolar) { + coords = this.toBase(coords); + return this.base.inGamut(coords, { + epsilon: epsilon + }); + } + var coordMeta = Object.values(this.coords); + return coords.every(function(c4, i) { + var meta = coordMeta[i]; + if (meta.type !== 'angle' && meta.range) { + if (Number.isNaN(c4)) { + return true; + } + var _meta$range = _slicedToArray(meta.range, 2), min = _meta$range[0], max2 = _meta$range[1]; + return (min === void 0 || c4 >= min - epsilon) && (max2 === void 0 || c4 <= max2 + epsilon); + } + return true; + }); + } + }, { + key: 'cssId', + get: function get() { + var _this$formats$functio2; + return ((_this$formats$functio2 = this.formats.functions) === null || _this$formats$functio2 === void 0 || (_this$formats$functio2 = _this$formats$functio2.color) === null || _this$formats$functio2 === void 0 ? void 0 : _this$formats$functio2.id) || this.id; + } + }, { + key: 'isPolar', + get: function get() { + for (var id in this.coords) { + if (this.coords[id].type === 'angle') { + return true; + } + } return false; } - } - font.occurrences++; - var fontSize = 30; - var fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily); - canvasContext.font = fontStyle; - var firstChar = nodeValue.charAt(0); - var width = canvasContext.measureText(firstChar).width; - if (width < 30) { - var diff = 30 / width; - width *= diff; - fontSize *= diff; - fontStyle = ''.concat(fontSize, 'px ').concat(fontFamily); - } - canvas.width = width; - canvas.height = fontSize; - canvasContext.font = fontStyle; - canvasContext.textAlign = 'left'; - canvasContext.textBaseline = 'top'; - canvasContext.fillText(firstChar, 0, 0); - var compareData = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer); - if (!compareData.some(function(pixel) { - return pixel; - })) { - font.numLigatures++; - return true; - } - canvasContext.clearRect(0, 0, width, fontSize); - canvasContext.fillText(nodeValue, 0, 0); - var compareWith = new Uint32Array(canvasContext.getImageData(0, 0, width, fontSize).data.buffer); - var differences = compareData.reduce(function(diff, pixel, i) { - if (pixel === 0 && compareWith[i] === 0) { - return diff; + }, { + key: 'getFormat', + value: function getFormat(format) { + if (_typeof(format) === 'object') { + format = _assertClassBrand(_Class_brand, this, _processFormat).call(this, format); + return format; + } + var ret; + if (format === 'default') { + ret = Object.values(this.formats)[0]; + } else { + ret = this.formats[format]; + } + if (ret) { + ret = _assertClassBrand(_Class_brand, this, _processFormat).call(this, ret); + return ret; + } + return null; } - if (pixel !== 0 && compareWith[i] !== 0) { - return diff; + }, { + key: 'to', + value: function to(space, coords) { + if (arguments.length === 1) { + var _ref40 = [ space.space, space.coords ]; + space = _ref40[0]; + coords = _ref40[1]; + } + space = _ColorSpace2.get(space); + if (this === space) { + return coords; + } + coords = coords.map(function(c4) { + return Number.isNaN(c4) ? 0 : c4; + }); + var myPath = _classPrivateFieldGet(_path, this); + var otherPath = _classPrivateFieldGet(_path, space); + var connectionSpace, connectionSpaceIndex; + for (var _i16 = 0; _i16 < myPath.length; _i16++) { + if (myPath[_i16] === otherPath[_i16]) { + connectionSpace = myPath[_i16]; + connectionSpaceIndex = _i16; + } else { + break; + } + } + if (!connectionSpace) { + throw new Error('Cannot convert between color spaces '.concat(this, ' and ').concat(space, ': no connection space was found')); + } + for (var _i17 = myPath.length - 1; _i17 > connectionSpaceIndex; _i17--) { + coords = myPath[_i17].toBase(coords); + } + for (var _i18 = connectionSpaceIndex + 1; _i18 < otherPath.length; _i18++) { + coords = otherPath[_i18].fromBase(coords); + } + return coords; + } + }, { + key: 'from', + value: function from(space, coords) { + if (arguments.length === 1) { + var _ref41 = [ space.space, space.coords ]; + space = _ref41[0]; + coords = _ref41[1]; + } + space = _ColorSpace2.get(space); + return space.to(this, coords); + } + }, { + key: 'toString', + value: function toString() { + return ''.concat(this.name, ' (').concat(this.id, ')'); + } + }, { + key: 'getMinCoords', + value: function getMinCoords() { + var ret = []; + for (var id in this.coords) { + var _range2$min; + var meta = this.coords[id]; + var range2 = meta.range || meta.refRange; + ret.push((_range2$min = range2 === null || range2 === void 0 ? void 0 : range2.min) !== null && _range2$min !== void 0 ? _range2$min : 0); + } + return ret; + } + } ], [ { + key: 'all', + get: function get() { + return _toConsumableArray(new Set(Object.values(_ColorSpace2.registry))); + } + }, { + key: 'register', + value: function register(id, space) { + if (arguments.length === 1) { + space = arguments[0]; + id = space.id; + } + space = this.get(space); + if (this.registry[id] && this.registry[id] !== space) { + throw new Error('Duplicate color space registration: \''.concat(id, '\'')); + } + this.registry[id] = space; + if (arguments.length === 1 && space.aliases) { + var _iterator7 = _createForOfIteratorHelper(space.aliases), _step7; + try { + for (_iterator7.s(); !(_step7 = _iterator7.n()).done; ) { + var alias = _step7.value; + this.register(alias, space); + } + } catch (err) { + _iterator7.e(err); + } finally { + _iterator7.f(); + } + } + return space; + } + }, { + key: 'get', + value: function get(space) { + if (!space || space instanceof _ColorSpace2) { + return space; + } + var argType = type(space); + if (argType === 'string') { + var ret = _ColorSpace2.registry[space.toLowerCase()]; + if (!ret) { + throw new TypeError('No color space found with id = "'.concat(space, '"')); + } + return ret; + } + for (var _len2 = arguments.length, alternatives = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + alternatives[_key2 - 1] = arguments[_key2]; + } + if (alternatives.length) { + return _ColorSpace2.get.apply(_ColorSpace2, alternatives); + } + throw new TypeError(''.concat(space, ' is not a valid color space')); + } + }, { + key: 'resolveCoord', + value: function resolveCoord(ref, workingSpace) { + var coordType = type(ref); + var space, coord; + if (coordType === 'string') { + if (ref.includes('.')) { + var _ref$split = ref.split('.'); + var _ref$split2 = _slicedToArray(_ref$split, 2); + space = _ref$split2[0]; + coord = _ref$split2[1]; + } else { + space = void 0; + coord = ref; + } + } else if (Array.isArray(ref)) { + var _ref42 = _slicedToArray(ref, 2); + space = _ref42[0]; + coord = _ref42[1]; + } else { + space = ref.space; + coord = ref.coordId; + } + space = _ColorSpace2.get(space); + if (!space) { + space = workingSpace; + } + if (!space) { + throw new TypeError('Cannot resolve coordinate reference '.concat(ref, ': No color space specified and relative references are not allowed here')); + } + coordType = type(coord); + if (coordType === 'number' || coordType === 'string' && coord >= 0) { + var meta = Object.entries(space.coords)[coord]; + if (meta) { + return _extends({ + space: space, + id: meta[0], + index: coord + }, meta[1]); + } + } + space = _ColorSpace2.get(space); + var normalizedCoord = coord.toLowerCase(); + var i = 0; + for (var id in space.coords) { + var _meta$name; + var _meta = space.coords[id]; + if (id.toLowerCase() === normalizedCoord || ((_meta$name = _meta.name) === null || _meta$name === void 0 ? void 0 : _meta$name.toLowerCase()) === normalizedCoord) { + return _extends({ + space: space, + id: id, + index: i + }, _meta); + } + i++; + } + throw new TypeError('No "'.concat(coord, '" coordinate found in ').concat(space.name, '. Its coordinates are: ').concat(Object.keys(space.coords).join(', '))); } - return ++diff; - }, 0); - var expectedWidth = nodeValue.split('').reduce(function(width2, _char2) { - return width2 + canvasContext.measureText(_char2).width; - }, 0); - var actualWidth = canvasContext.measureText(nodeValue).width; - var pixelDifference = differences / compareData.length; - var sizeDifference = 1 - actualWidth / expectedWidth; - if (pixelDifference >= differenceThreshold && sizeDifference >= differenceThreshold) { - font.numLigatures++; - return true; + } ]); + }()); + function _processFormat(format) { + if (format.coords && !format.coordGrammar) { + format.type || (format.type = 'function'); + format.name || (format.name = 'color'); + format.coordGrammar = parseCoordGrammar(format.coords); + var coordFormats = Object.entries(this.coords).map(function(_ref150, i) { + var _ref151 = _slicedToArray(_ref150, 2), id = _ref151[0], coordMeta = _ref151[1]; + var outputType = format.coordGrammar[i][0]; + var fromRange = coordMeta.range || coordMeta.refRange; + var toRange = outputType.range, suffix = ''; + if (outputType == '') { + toRange = [ 0, 100 ]; + suffix = '%'; + } else if (outputType == '') { + suffix = 'deg'; + } + return { + fromRange: fromRange, + toRange: toRange, + suffix: suffix + }; + }); + format.serializeCoords = function(coords, precision) { + return coords.map(function(c4, i) { + var _coordFormats$i = coordFormats[i], fromRange = _coordFormats$i.fromRange, toRange = _coordFormats$i.toRange, suffix = _coordFormats$i.suffix; + if (fromRange && toRange) { + c4 = mapRange(fromRange, toRange, c4); + } + c4 = toPrecision(c4, precision); + if (suffix) { + c4 += suffix; + } + return c4; + }); + }; } - return false; + return format; } - var is_icon_ligature_default = isIconLigature; - function accessibleTextVirtual(virtualNode) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - context = prepareContext(virtualNode, context); - if (shouldIgnoreHidden(virtualNode, context)) { - return ''; + function _getPath() { + var ret = [ this ]; + for (var _space2 = this; _space2 = _space2.base; ) { + ret.push(_space2); } - if (shouldIgnoreIconLigature(virtualNode, context)) { - return ''; - } - var computationSteps = [ arialabelledby_text_default, arialabel_text_default, native_text_alternative_default, form_control_value_default, subtree_text_default, textNodeValue, title_text_default ]; - var accName = computationSteps.reduce(function(accName2, step) { - if (context.startNode === virtualNode) { - accName2 = sanitize_default(accName2); + return ret; + } + var ColorSpace = _ColorSpace2; + __publicField(ColorSpace, 'registry', {}); + __publicField(ColorSpace, 'DEFAULT_FORMAT', { + type: 'functions', + name: 'color' + }); + var XYZ_D65 = new ColorSpace({ + id: 'xyz-d65', + name: 'XYZ D65', + coords: { + x: { + name: 'X' + }, + y: { + name: 'Y' + }, + z: { + name: 'Z' } - if (accName2 !== '') { - return accName2; + }, + white: 'D65', + formats: { + color: { + ids: [ 'xyz-d65', 'xyz' ] } - return step(virtualNode, context); - }, ''); - if (context.debug) { - axe.log(accName || '{empty-value}', virtualNode.actualNode, context); + }, + aliases: [ 'xyz' ] + }); + var RGBColorSpace = function(_ColorSpace3) { + function RGBColorSpace(options) { + var _options$referred; + var _this; + _classCallCheck(this, RGBColorSpace); + if (!options.coords) { + options.coords = { + r: { + range: [ 0, 1 ], + name: 'Red' + }, + g: { + range: [ 0, 1 ], + name: 'Green' + }, + b: { + range: [ 0, 1 ], + name: 'Blue' + } + }; + } + if (!options.base) { + options.base = XYZ_D65; + } + if (options.toXYZ_M && options.fromXYZ_M) { + var _options$toBase, _options$fromBase; + (_options$toBase = options.toBase) !== null && _options$toBase !== void 0 ? _options$toBase : options.toBase = function(rgb) { + var xyz = multiplyMatrices(options.toXYZ_M, rgb); + if (_this.white !== _this.base.white) { + xyz = adapt$1(_this.white, _this.base.white, xyz); + } + return xyz; + }; + (_options$fromBase = options.fromBase) !== null && _options$fromBase !== void 0 ? _options$fromBase : options.fromBase = function(xyz) { + xyz = adapt$1(_this.base.white, _this.white, xyz); + return multiplyMatrices(options.fromXYZ_M, xyz); + }; + } + (_options$referred = options.referred) !== null && _options$referred !== void 0 ? _options$referred : options.referred = 'display'; + return _this = _callSuper(this, RGBColorSpace, [ options ]); } - return accName; - } - function textNodeValue(virtualNode) { - if (virtualNode.props.nodeType !== 3) { - return ''; + _inherits(RGBColorSpace, _ColorSpace3); + return _createClass(RGBColorSpace); + }(ColorSpace); + function parse2(str) { + var _String; + var env = { + str: (_String = String(str)) === null || _String === void 0 ? void 0 : _String.trim() + }; + hooks.run('parse-start', env); + if (env.color) { + return env.color; + } + env.parsed = parseFunction(env.str); + if (env.parsed) { + var name = env.parsed.name; + if (name === 'color') { + var id = env.parsed.args.shift(); + var alpha = env.parsed.rawArgs.indexOf('/') > 0 ? env.parsed.args.pop() : 1; + var _iterator8 = _createForOfIteratorHelper(ColorSpace.all), _step8; + try { + var _loop5 = function _loop5() { + var space = _step8.value; + var colorSpec = space.getFormat('color'); + if (colorSpec) { + var _colorSpec$ids; + if (id === colorSpec.id || (_colorSpec$ids = colorSpec.ids) !== null && _colorSpec$ids !== void 0 && _colorSpec$ids.includes(id)) { + var argCount = Object.keys(space.coords).length; + var coords = Array(argCount).fill(0); + coords.forEach(function(_, i) { + return coords[i] = env.parsed.args[i] || 0; + }); + return { + v: { + spaceId: space.id, + coords: coords, + alpha: alpha + } + }; + } + } + }, _ret2; + for (_iterator8.s(); !(_step8 = _iterator8.n()).done; ) { + _ret2 = _loop5(); + if (_ret2) { + return _ret2.v; + } + } + } catch (err) { + _iterator8.e(err); + } finally { + _iterator8.f(); + } + var didYouMean = ''; + if (id in ColorSpace.registry) { + var _ColorSpace$registry$; + var cssId = (_ColorSpace$registry$ = ColorSpace.registry[id].formats) === null || _ColorSpace$registry$ === void 0 || (_ColorSpace$registry$ = _ColorSpace$registry$.functions) === null || _ColorSpace$registry$ === void 0 || (_ColorSpace$registry$ = _ColorSpace$registry$.color) === null || _ColorSpace$registry$ === void 0 ? void 0 : _ColorSpace$registry$.id; + if (cssId) { + didYouMean = 'Did you mean color('.concat(cssId, ')?'); + } + } + throw new TypeError('Cannot parse color('.concat(id, '). ') + (didYouMean || 'Missing a plugin?')); + } else { + var _iterator9 = _createForOfIteratorHelper(ColorSpace.all), _step9; + try { + var _loop6 = function _loop6() { + var space = _step9.value; + var format = space.getFormat(name); + if (format && format.type === 'function') { + var _alpha = 1; + if (format.lastAlpha || last(env.parsed.args).alpha) { + _alpha = env.parsed.args.pop(); + } + var coords = env.parsed.args; + if (format.coordGrammar) { + Object.entries(space.coords).forEach(function(_ref43, i) { + var _coords$i; + var _ref44 = _slicedToArray(_ref43, 2), id = _ref44[0], coordMeta = _ref44[1]; + var coordGrammar2 = format.coordGrammar[i]; + var providedType = (_coords$i = coords[i]) === null || _coords$i === void 0 ? void 0 : _coords$i.type; + coordGrammar2 = coordGrammar2.find(function(c4) { + return c4 == providedType; + }); + if (!coordGrammar2) { + var coordName = coordMeta.name || id; + throw new TypeError(''.concat(providedType, ' not allowed for ').concat(coordName, ' in ').concat(name, '()')); + } + var fromRange = coordGrammar2.range; + if (providedType === '') { + fromRange || (fromRange = [ 0, 1 ]); + } + var toRange = coordMeta.range || coordMeta.refRange; + if (fromRange && toRange) { + coords[i] = mapRange(fromRange, toRange, coords[i]); + } + }); + } + return { + v: { + spaceId: space.id, + coords: coords, + alpha: _alpha + } + }; + } + }, _ret3; + for (_iterator9.s(); !(_step9 = _iterator9.n()).done; ) { + _ret3 = _loop6(); + if (_ret3) { + return _ret3.v; + } + } + } catch (err) { + _iterator9.e(err); + } finally { + _iterator9.f(); + } + } + } else { + var _iterator10 = _createForOfIteratorHelper(ColorSpace.all), _step10; + try { + for (_iterator10.s(); !(_step10 = _iterator10.n()).done; ) { + var space = _step10.value; + for (var formatId in space.formats) { + var format = space.formats[formatId]; + if (format.type !== 'custom') { + continue; + } + if (format.test && !format.test(env.str)) { + continue; + } + var color = format.parse(env.str); + if (color) { + var _color$alpha; + (_color$alpha = color.alpha) !== null && _color$alpha !== void 0 ? _color$alpha : color.alpha = 1; + return color; + } + } + } + } catch (err) { + _iterator10.e(err); + } finally { + _iterator10.f(); + } } - return virtualNode.props.nodeValue; + throw new TypeError('Could not parse '.concat(str, ' as a color. Missing a plugin?')); } - function shouldIgnoreHidden(virtualNode, context) { - if (!virtualNode) { - return false; - } - if (virtualNode.props.nodeType !== 1 || context.includeHidden) { - return false; + function getColor(color) { + if (!color) { + throw new TypeError('Empty color reference'); } - return !_isVisibleToScreenReaders(virtualNode); - } - function shouldIgnoreIconLigature(virtualNode, context) { - var _context$occurrenceTh; - var ignoreIconLigature = context.ignoreIconLigature, pixelThreshold = context.pixelThreshold; - var occurrenceThreshold = (_context$occurrenceTh = context.occurrenceThreshold) !== null && _context$occurrenceTh !== void 0 ? _context$occurrenceTh : context.occuranceThreshold; - if (virtualNode.props.nodeType !== 3 || !ignoreIconLigature) { - return false; + if (isString(color)) { + color = parse2(color); } - return is_icon_ligature_default(virtualNode, pixelThreshold, occurrenceThreshold); - } - function prepareContext(virtualNode, context) { - if (!context.startNode) { - context = _extends({ - startNode: virtualNode - }, context); + var space = color.space || color.spaceId; + if (!(space instanceof ColorSpace)) { + color.space = ColorSpace.get(space); } - if (virtualNode.props.nodeType === 1 && context.inLabelledByContext && context.includeHidden === void 0) { - context = _extends({ - includeHidden: !_isVisibleToScreenReaders(virtualNode) - }, context); + if (color.alpha === void 0) { + color.alpha = 1; } - return context; + return color; } - accessibleTextVirtual.alreadyProcessed = function alreadyProcessed(virtualnode, context) { - context.processed = context.processed || []; - if (context.processed.includes(virtualnode)) { - return true; - } - context.processed.push(virtualnode); - return false; - }; - var accessible_text_virtual_default = accessibleTextVirtual; - function removeUnicode(str, options) { - var emoji = options.emoji, nonBmp = options.nonBmp, punctuations = options.punctuations; - if (emoji) { - str = str.replace(emoji_regex_default(), ''); - } - if (nonBmp) { - str = str.replace(getUnicodeNonBmpRegExp(), ''); - str = str.replace(getSupplementaryPrivateUseRegExp(), ''); - } - if (punctuations) { - str = str.replace(getPunctuationRegExp(), ''); - } - return str; + function getAll(color, space) { + space = ColorSpace.get(space); + return space.from(color); } - var remove_unicode_default = removeUnicode; - function isHumanInterpretable(str) { - if (!str.length) { - return 0; - } - var alphaNumericIconMap = [ 'x', 'i' ]; - if (alphaNumericIconMap.includes(str)) { - return 0; - } - var noUnicodeStr = remove_unicode_default(str, { - emoji: true, - nonBmp: true, - punctuations: true - }); - if (!sanitize_default(noUnicodeStr)) { - return 0; - } - return 1; + function get(color, prop) { + var _ColorSpace$resolveCo = ColorSpace.resolveCoord(prop, color.space), space = _ColorSpace$resolveCo.space, index = _ColorSpace$resolveCo.index; + var coords = getAll(color, space); + return coords[index]; } - var is_human_interpretable_default = isHumanInterpretable; - var _autocomplete = { - stateTerms: [ 'on', 'off' ], - standaloneTerms: [ 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'username', 'new-password', 'current-password', 'organization-title', 'organization', 'street-address', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'url', 'photo', 'one-time-code' ], - qualifiers: [ 'home', 'work', 'mobile', 'fax', 'pager' ], - qualifiedTerms: [ 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-local-prefix', 'tel-local-suffix', 'tel-extension', 'email', 'impp' ], - locations: [ 'billing', 'shipping' ] - }; - function isValidAutocomplete(autocompleteValue) { - var _ref34 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref34$looseTyped = _ref34.looseTyped, looseTyped = _ref34$looseTyped === void 0 ? false : _ref34$looseTyped, _ref34$stateTerms = _ref34.stateTerms, stateTerms = _ref34$stateTerms === void 0 ? [] : _ref34$stateTerms, _ref34$locations = _ref34.locations, locations = _ref34$locations === void 0 ? [] : _ref34$locations, _ref34$qualifiers = _ref34.qualifiers, qualifiers = _ref34$qualifiers === void 0 ? [] : _ref34$qualifiers, _ref34$standaloneTerm = _ref34.standaloneTerms, standaloneTerms = _ref34$standaloneTerm === void 0 ? [] : _ref34$standaloneTerm, _ref34$qualifiedTerms = _ref34.qualifiedTerms, qualifiedTerms = _ref34$qualifiedTerms === void 0 ? [] : _ref34$qualifiedTerms; - autocompleteValue = autocompleteValue.toLowerCase().trim(); - stateTerms = stateTerms.concat(_autocomplete.stateTerms); - if (stateTerms.includes(autocompleteValue) || autocompleteValue === '') { - return true; - } - qualifiers = qualifiers.concat(_autocomplete.qualifiers); - locations = locations.concat(_autocomplete.locations); - standaloneTerms = standaloneTerms.concat(_autocomplete.standaloneTerms); - qualifiedTerms = qualifiedTerms.concat(_autocomplete.qualifiedTerms); - var autocompleteTerms = autocompleteValue.split(/\s+/g); - if (!looseTyped) { - if (autocompleteTerms[0].length > 8 && autocompleteTerms[0].substr(0, 8) === 'section-') { - autocompleteTerms.shift(); - } - if (locations.includes(autocompleteTerms[0])) { - autocompleteTerms.shift(); - } - if (qualifiers.includes(autocompleteTerms[0])) { - autocompleteTerms.shift(); - standaloneTerms = []; - } - if (autocompleteTerms.length !== 1) { - return false; - } - } - var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1]; - return standaloneTerms.includes(purposeTerm) || qualifiedTerms.includes(purposeTerm); + function setAll(color, space, coords) { + space = ColorSpace.get(space); + color.coords = space.to(color.space, coords); + return color; } - var is_valid_autocomplete_default = isValidAutocomplete; - function labelVirtual(virtualNode) { - var ref, candidate; - if (virtualNode.attr('aria-labelledby')) { - ref = idrefs_default(virtualNode.actualNode, 'aria-labelledby'); - candidate = ref.map(function(thing) { - var vNode = get_node_from_tree_default(thing); - return vNode ? visible_virtual_default(vNode) : ''; - }).join(' ').trim(); - if (candidate) { - return candidate; + function set(color, prop, value) { + color = getColor(color); + if (arguments.length === 2 && type(arguments[1]) === 'object') { + var object = arguments[1]; + for (var p2 in object) { + set(color, p2, object[p2]); } - } - candidate = virtualNode.attr('aria-label'); - if (candidate) { - candidate = sanitize_default(candidate); - if (candidate) { - return candidate; + } else { + if (typeof value === 'function') { + value = value(get(color, prop)); } + var _ColorSpace$resolveCo2 = ColorSpace.resolveCoord(prop, color.space), space = _ColorSpace$resolveCo2.space, index = _ColorSpace$resolveCo2.index; + var coords = getAll(color, space); + coords[index] = value; + setAll(color, space, coords); } - return null; - } - var label_virtual_default = labelVirtual; - function visible(element, screenReader, noRecursing) { - element = get_node_from_tree_default(element); - return visible_virtual_default(element, screenReader, noRecursing); + return color; } - var visible_default = visible; - function labelVirtual2(virtualNode) { - var ref, candidate, doc; - candidate = label_virtual_default(virtualNode); - if (candidate) { - return candidate; + var XYZ_D50 = new ColorSpace({ + id: 'xyz-d50', + name: 'XYZ D50', + white: 'D50', + base: XYZ_D65, + fromBase: function fromBase(coords) { + return adapt$1(XYZ_D65.white, 'D50', coords); + }, + toBase: function toBase(coords) { + return adapt$1('D50', XYZ_D65.white, coords); + }, + formats: { + color: {} } - if (virtualNode.attr('id')) { - if (!virtualNode.actualNode) { - throw new TypeError('Cannot resolve explicit label reference for non-DOM nodes'); - } - var id = escape_selector_default(virtualNode.attr('id')); - doc = get_root_node_default2(virtualNode.actualNode); - ref = doc.querySelector('label[for="' + id + '"]'); - candidate = ref && visible_default(ref, true); - if (candidate) { - return candidate; + }); + var \u03b5$3 = 216 / 24389; + var \u03b53$1 = 24 / 116; + var \u03ba$1 = 24389 / 27; + var white$1 = WHITES.D50; + var lab = new ColorSpace({ + id: 'lab', + name: 'Lab', + coords: { + l: { + refRange: [ 0, 100 ], + name: 'L' + }, + a: { + refRange: [ -125, 125 ] + }, + b: { + refRange: [ -125, 125 ] + } + }, + white: white$1, + base: XYZ_D50, + fromBase: function fromBase(XYZ) { + var xyz = XYZ.map(function(value, i) { + return value / white$1[i]; + }); + var f = xyz.map(function(value) { + return value > \u03b5$3 ? Math.cbrt(value) : (\u03ba$1 * value + 16) / 116; + }); + return [ 116 * f[1] - 16, 500 * (f[0] - f[1]), 200 * (f[1] - f[2]) ]; + }, + toBase: function toBase(Lab) { + var f = []; + f[1] = (Lab[0] + 16) / 116; + f[0] = Lab[1] / 500 + f[1]; + f[2] = f[1] - Lab[2] / 200; + var xyz = [ f[0] > \u03b53$1 ? Math.pow(f[0], 3) : (116 * f[0] - 16) / \u03ba$1, Lab[0] > 8 ? Math.pow((Lab[0] + 16) / 116, 3) : Lab[0] / \u03ba$1, f[2] > \u03b53$1 ? Math.pow(f[2], 3) : (116 * f[2] - 16) / \u03ba$1 ]; + return xyz.map(function(value, i) { + return value * white$1[i]; + }); + }, + formats: { + lab: { + coords: [ ' | ', '', '' ] } } - ref = closest_default(virtualNode, 'label'); - candidate = ref && visible_virtual_default(ref, true); - if (candidate) { - return candidate; + }); + function constrain(angle) { + return (angle % 360 + 360) % 360; + } + function adjust(arc, angles) { + if (arc === 'raw') { + return angles; + } + var _angles$map = angles.map(constrain), _angles$map2 = _slicedToArray(_angles$map, 2), a1 = _angles$map2[0], a2 = _angles$map2[1]; + var angleDiff = a2 - a1; + if (arc === 'increasing') { + if (angleDiff < 0) { + a2 += 360; + } + } else if (arc === 'decreasing') { + if (angleDiff > 0) { + a1 += 360; + } + } else if (arc === 'longer') { + if (-180 < angleDiff && angleDiff < 180) { + if (angleDiff > 0) { + a2 += 360; + } else { + a1 += 360; + } + } + } else if (arc === 'shorter') { + if (angleDiff > 180) { + a1 += 360; + } else if (angleDiff < -180) { + a2 += 360; + } } - return null; - } - var label_virtual_default2 = labelVirtual2; - function label(node) { - node = get_node_from_tree_default(node); - return label_virtual_default2(node); + return [ a1, a2 ]; } - var label_default = label; - var nativeElementType = [ { - matches: [ { - nodeName: 'textarea' - }, { - nodeName: 'input', - properties: { - type: [ 'text', 'password', 'search', 'tel', 'email', 'url' ] + var lch = new ColorSpace({ + id: 'lch', + name: 'LCH', + coords: { + l: { + refRange: [ 0, 100 ], + name: 'Lightness' + }, + c: { + refRange: [ 0, 150 ], + name: 'Chroma' + }, + h: { + refRange: [ 0, 360 ], + type: 'angle', + name: 'Hue' } - } ], - namingMethods: 'labelText' - }, { - matches: { - nodeName: 'input', - properties: { - type: [ 'button', 'submit', 'reset' ] + }, + base: lab, + fromBase: function fromBase(Lab) { + var _Lab = _slicedToArray(Lab, 3), L = _Lab[0], a2 = _Lab[1], b2 = _Lab[2]; + var hue; + var \u03b52 = .02; + if (Math.abs(a2) < \u03b52 && Math.abs(b2) < \u03b52) { + hue = NaN; + } else { + hue = Math.atan2(b2, a2) * 180 / Math.PI; } + return [ L, Math.sqrt(Math.pow(a2, 2) + Math.pow(b2, 2)), constrain(hue) ]; }, - namingMethods: [ 'valueText', 'titleText', 'buttonDefaultText' ] - }, { - matches: { - nodeName: 'input', - properties: { - type: 'image' + toBase: function toBase(LCH) { + var _LCH = _slicedToArray(LCH, 3), Lightness = _LCH[0], Chroma = _LCH[1], Hue = _LCH[2]; + if (Chroma < 0) { + Chroma = 0; } + if (isNaN(Hue)) { + Hue = 0; + } + return [ Lightness, Chroma * Math.cos(Hue * Math.PI / 180), Chroma * Math.sin(Hue * Math.PI / 180) ]; }, - namingMethods: [ 'altText', 'valueText', 'labelText', 'titleText', 'buttonDefaultText' ] - }, { - matches: 'button', - namingMethods: 'subtreeText' - }, { - matches: 'fieldset', - namingMethods: 'fieldsetLegendText' - }, { - matches: 'OUTPUT', - namingMethods: 'subtreeText' - }, { - matches: [ { - nodeName: 'select' - }, { - nodeName: 'input', - properties: { - type: /^(?!text|password|search|tel|email|url|button|submit|reset)/ + formats: { + lch: { + coords: [ ' | ', '', ' | ' ] } - } ], - namingMethods: 'labelText' - }, { - matches: 'summary', - namingMethods: 'subtreeText' - }, { - matches: 'figure', - namingMethods: [ 'figureText', 'titleText' ] - }, { - matches: 'img', - namingMethods: 'altText' - }, { - matches: 'table', - namingMethods: [ 'tableCaptionText', 'tableSummaryText' ] - }, { - matches: [ 'hr', 'br' ], - namingMethods: [ 'titleText', 'singleSpace' ] - } ]; - var native_element_type_default = nativeElementType; - function visibleTextNodes(vNode) { - var parentVisible = _isVisibleOnScreen(vNode); - var nodes = []; - vNode.children.forEach(function(child) { - if (child.actualNode.nodeType === 3) { - if (parentVisible) { - nodes.push(child); + } + }); + var Gfactor = Math.pow(25, 7); + var \u03c0$1 = Math.PI; + var r2d = 180 / \u03c0$1; + var d2r$1 = \u03c0$1 / 180; + function deltaE2000(color, sample) { + var _ref45 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, _ref45$kL = _ref45.kL, kL = _ref45$kL === void 0 ? 1 : _ref45$kL, _ref45$kC = _ref45.kC, kC = _ref45$kC === void 0 ? 1 : _ref45$kC, _ref45$kH = _ref45.kH, kH = _ref45$kH === void 0 ? 1 : _ref45$kH; + var _lab$from = lab.from(color), _lab$from2 = _slicedToArray(_lab$from, 3), L1 = _lab$from2[0], a1 = _lab$from2[1], b1 = _lab$from2[2]; + var C1 = lch.from(lab, [ L1, a1, b1 ])[1]; + var _lab$from3 = lab.from(sample), _lab$from4 = _slicedToArray(_lab$from3, 3), L2 = _lab$from4[0], a2 = _lab$from4[1], b2 = _lab$from4[2]; + var C2 = lch.from(lab, [ L2, a2, b2 ])[1]; + if (C1 < 0) { + C1 = 0; + } + if (C2 < 0) { + C2 = 0; + } + var Cbar = (C1 + C2) / 2; + var C7 = Math.pow(Cbar, 7); + var G = .5 * (1 - Math.sqrt(C7 / (C7 + Gfactor))); + var adash1 = (1 + G) * a1; + var adash2 = (1 + G) * a2; + var Cdash1 = Math.sqrt(Math.pow(adash1, 2) + Math.pow(b1, 2)); + var Cdash2 = Math.sqrt(Math.pow(adash2, 2) + Math.pow(b2, 2)); + var h1 = adash1 === 0 && b1 === 0 ? 0 : Math.atan2(b1, adash1); + var h2 = adash2 === 0 && b2 === 0 ? 0 : Math.atan2(b2, adash2); + if (h1 < 0) { + h1 += 2 * \u03c0$1; + } + if (h2 < 0) { + h2 += 2 * \u03c0$1; + } + h1 *= r2d; + h2 *= r2d; + var \u0394L = L2 - L1; + var \u0394C = Cdash2 - Cdash1; + var hdiff = h2 - h1; + var hsum = h1 + h2; + var habs = Math.abs(hdiff); + var \u0394h; + if (Cdash1 * Cdash2 === 0) { + \u0394h = 0; + } else if (habs <= 180) { + \u0394h = hdiff; + } else if (hdiff > 180) { + \u0394h = hdiff - 360; + } else if (hdiff < -180) { + \u0394h = hdiff + 360; + } else { + console.log('the unthinkable has happened'); + } + var \u0394H = 2 * Math.sqrt(Cdash2 * Cdash1) * Math.sin(\u0394h * d2r$1 / 2); + var Ldash = (L1 + L2) / 2; + var Cdash = (Cdash1 + Cdash2) / 2; + var Cdash7 = Math.pow(Cdash, 7); + var hdash; + if (Cdash1 * Cdash2 === 0) { + hdash = hsum; + } else if (habs <= 180) { + hdash = hsum / 2; + } else if (hsum < 360) { + hdash = (hsum + 360) / 2; + } else { + hdash = (hsum - 360) / 2; + } + var lsq = Math.pow(Ldash - 50, 2); + var SL = 1 + .015 * lsq / Math.sqrt(20 + lsq); + var SC = 1 + .045 * Cdash; + var T = 1; + T -= .17 * Math.cos((hdash - 30) * d2r$1); + T += .24 * Math.cos(2 * hdash * d2r$1); + T += .32 * Math.cos((3 * hdash + 6) * d2r$1); + T -= .2 * Math.cos((4 * hdash - 63) * d2r$1); + var SH = 1 + .015 * Cdash * T; + var \u0394\u03b8 = 30 * Math.exp(-1 * Math.pow((hdash - 275) / 25, 2)); + var RC = 2 * Math.sqrt(Cdash7 / (Cdash7 + Gfactor)); + var RT = -1 * Math.sin(2 * \u0394\u03b8 * d2r$1) * RC; + var dE = Math.pow(\u0394L / (kL * SL), 2); + dE += Math.pow(\u0394C / (kC * SC), 2); + dE += Math.pow(\u0394H / (kH * SH), 2); + dE += RT * (\u0394C / (kC * SC)) * (\u0394H / (kH * SH)); + return Math.sqrt(dE); + } + var \u03b5$2 = 75e-6; + function inGamut(color) { + var space = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : color.space; + var _ref46 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, _ref46$epsilon = _ref46.epsilon, epsilon = _ref46$epsilon === void 0 ? \u03b5$2 : _ref46$epsilon; + color = getColor(color); + space = ColorSpace.get(space); + var coords = color.coords; + if (space !== color.space) { + coords = space.from(color); + } + return space.inGamut(coords, { + epsilon: epsilon + }); + } + function clone2(color) { + return { + space: color.space, + coords: color.coords.slice(), + alpha: color.alpha + }; + } + function toGamut(color) { + var _ref47 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref47$method = _ref47.method, method = _ref47$method === void 0 ? defaults.gamut_mapping : _ref47$method, _ref47$space = _ref47.space, space = _ref47$space === void 0 ? color.space : _ref47$space; + if (isString(arguments[1])) { + space = arguments[1]; + } + space = ColorSpace.get(space); + if (inGamut(color, space, { + epsilon: 0 + })) { + return color; + } + var spaceColor = to(color, space); + if (method !== 'clip' && !inGamut(color, space)) { + var clipped = toGamut(clone2(spaceColor), { + method: 'clip', + space: space + }); + if (deltaE2000(color, clipped) > 2) { + var coordMeta = ColorSpace.resolveCoord(method); + var mapSpace = coordMeta.space; + var coordId = coordMeta.id; + var mappedColor = to(spaceColor, mapSpace); + var bounds = coordMeta.range || coordMeta.refRange; + var min = bounds[0]; + var \u03b52 = .01; + var low = min; + var high = get(mappedColor, coordId); + while (high - low > \u03b52) { + var clipped2 = clone2(mappedColor); + clipped2 = toGamut(clipped2, { + space: space, + method: 'clip' + }); + var deltaE2 = deltaE2000(mappedColor, clipped2); + if (deltaE2 - 2 < \u03b52) { + low = get(mappedColor, coordId); + } else { + high = get(mappedColor, coordId); + } + set(mappedColor, coordId, (low + high) / 2); } + spaceColor = to(mappedColor, space); } else { - nodes = nodes.concat(visibleTextNodes(child)); + spaceColor = clipped; } - }); - return nodes; + } + if (method === 'clip' || !inGamut(spaceColor, space, { + epsilon: 0 + })) { + var _bounds = Object.values(space.coords).map(function(c4) { + return c4.range || []; + }); + spaceColor.coords = spaceColor.coords.map(function(c4, i) { + var _bounds$i = _slicedToArray(_bounds[i], 2), min = _bounds$i[0], max2 = _bounds$i[1]; + if (min !== void 0) { + c4 = Math.max(min, c4); + } + if (max2 !== void 0) { + c4 = Math.min(c4, max2); + } + return c4; + }); + } + if (space !== color.space) { + spaceColor = to(spaceColor, color.space); + } + color.coords = spaceColor.coords; + return color; + } + toGamut.returns = 'color'; + function to(color, space) { + var _ref48 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, inGamut2 = _ref48.inGamut; + color = getColor(color); + space = ColorSpace.get(space); + var coords = space.from(color); + var ret = { + space: space, + coords: coords, + alpha: color.alpha + }; + if (inGamut2) { + ret = toGamut(ret); + } + return ret; + } + to.returns = 'color'; + function serialize(color) { + var _ref50, _color$space$getForma; + var _ref49 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _ref49$precision = _ref49.precision, precision = _ref49$precision === void 0 ? defaults.precision : _ref49$precision, _ref49$format = _ref49.format, format = _ref49$format === void 0 ? 'default' : _ref49$format, _ref49$inGamut = _ref49.inGamut, inGamut$1 = _ref49$inGamut === void 0 ? true : _ref49$inGamut, customOptions = _objectWithoutProperties(_ref49, _excluded9); + var ret; + color = getColor(color); + var formatId = format; + format = (_ref50 = (_color$space$getForma = color.space.getFormat(format)) !== null && _color$space$getForma !== void 0 ? _color$space$getForma : color.space.getFormat('default')) !== null && _ref50 !== void 0 ? _ref50 : ColorSpace.DEFAULT_FORMAT; + inGamut$1 || (inGamut$1 = format.toGamut); + var coords = color.coords; + coords = coords.map(function(c4) { + return c4 ? c4 : 0; + }); + if (inGamut$1 && !inGamut(color)) { + coords = toGamut(clone2(color), inGamut$1 === true ? void 0 : inGamut$1).coords; + } + if (format.type === 'custom') { + customOptions.precision = precision; + if (format.serialize) { + ret = format.serialize(coords, color.alpha, customOptions); + } else { + throw new TypeError('format '.concat(formatId, ' can only be used to parse colors, not for serialization')); + } + } else { + var name = format.name || 'color'; + if (format.serializeCoords) { + coords = format.serializeCoords(coords, precision); + } else { + if (precision !== null) { + coords = coords.map(function(c4) { + return toPrecision(c4, precision); + }); + } + } + var args = _toConsumableArray(coords); + if (name === 'color') { + var _format$ids; + var cssId = format.id || ((_format$ids = format.ids) === null || _format$ids === void 0 ? void 0 : _format$ids[0]) || color.space.id; + args.unshift(cssId); + } + var alpha = color.alpha; + if (precision !== null) { + alpha = toPrecision(alpha, precision); + } + var strAlpha = color.alpha < 1 && !format.noAlpha ? ''.concat(format.commas ? ',' : ' /', ' ').concat(alpha) : ''; + ret = ''.concat(name, '(').concat(args.join(format.commas ? ', ' : ' ')).concat(strAlpha, ')'); + } + return ret; } - var visible_text_nodes_default = visibleTextNodes; - var getVisibleChildTextRects = memoize_default(function getVisibleChildTextRectsMemoized(node) { - var vNode = get_node_from_tree_default(node); - var nodeRect = vNode.boundingClientRect; - var clientRects = []; - var overflowHiddenNodes = get_overflow_hidden_ancestors_default(vNode); - node.childNodes.forEach(function(textNode) { - if (textNode.nodeType !== 3 || sanitize_default(textNode.nodeValue) === '') { - return; + var toXYZ_M$5 = [ [ .6369580483012914, .14461690358620832, .1688809751641721 ], [ .2627002120112671, .6779980715188708, .05930171646986196 ], [ 0, .028072693049087428, 1.060985057710791 ] ]; + var fromXYZ_M$5 = [ [ 1.716651187971268, -.355670783776392, -.25336628137366 ], [ -.666684351832489, 1.616481236634939, .0157685458139111 ], [ .017639857445311, -.042770613257809, .942103121235474 ] ]; + var REC2020Linear = new RGBColorSpace({ + id: 'rec2020-linear', + name: 'Linear REC.2020', + white: 'D65', + toXYZ_M: toXYZ_M$5, + fromXYZ_M: fromXYZ_M$5, + formats: { + color: {} + } + }); + var \u03b1 = 1.09929682680944; + var \u03b2 = .018053968510807; + var REC2020 = new RGBColorSpace({ + id: 'rec2020', + name: 'REC.2020', + base: REC2020Linear, + toBase: function toBase(RGB) { + return RGB.map(function(val) { + if (val < \u03b2 * 4.5) { + return val / 4.5; + } + return Math.pow((val + \u03b1 - 1) / \u03b1, 1 / .45); + }); + }, + fromBase: function fromBase(RGB) { + return RGB.map(function(val) { + if (val >= \u03b2) { + return \u03b1 * Math.pow(val, .45) - (\u03b1 - 1); + } + return 4.5 * val; + }); + }, + formats: { + color: {} + } + }); + var toXYZ_M$4 = [ [ .4865709486482162, .26566769316909306, .1982172852343625 ], [ .2289745640697488, .6917385218365064, .079286914093745 ], [ 0, .04511338185890264, 1.043944368900976 ] ]; + var fromXYZ_M$4 = [ [ 2.493496911941425, -.9313836179191239, -.40271078445071684 ], [ -.8294889695615747, 1.7626640603183463, .023624685841943577 ], [ .03584583024378447, -.07617238926804182, .9568845240076872 ] ]; + var P3Linear = new RGBColorSpace({ + id: 'p3-linear', + name: 'Linear P3', + white: 'D65', + toXYZ_M: toXYZ_M$4, + fromXYZ_M: fromXYZ_M$4 + }); + var toXYZ_M$3 = [ [ .41239079926595934, .357584339383878, .1804807884018343 ], [ .21263900587151027, .715168678767756, .07219231536073371 ], [ .01933081871559182, .11919477979462598, .9505321522496607 ] ]; + var fromXYZ_M$3 = [ [ 3.2409699419045226, -1.537383177570094, -.4986107602930034 ], [ -.9692436362808796, 1.8759675015077202, .04155505740717559 ], [ .05563007969699366, -.20397695888897652, 1.0569715142428786 ] ]; + var sRGBLinear = new RGBColorSpace({ + id: 'srgb-linear', + name: 'Linear sRGB', + white: 'D65', + toXYZ_M: toXYZ_M$3, + fromXYZ_M: fromXYZ_M$3, + formats: { + color: {} + } + }); + var KEYWORDS = { + aliceblue: [ 240 / 255, 248 / 255, 1 ], + antiquewhite: [ 250 / 255, 235 / 255, 215 / 255 ], + aqua: [ 0, 1, 1 ], + aquamarine: [ 127 / 255, 1, 212 / 255 ], + azure: [ 240 / 255, 1, 1 ], + beige: [ 245 / 255, 245 / 255, 220 / 255 ], + bisque: [ 1, 228 / 255, 196 / 255 ], + black: [ 0, 0, 0 ], + blanchedalmond: [ 1, 235 / 255, 205 / 255 ], + blue: [ 0, 0, 1 ], + blueviolet: [ 138 / 255, 43 / 255, 226 / 255 ], + brown: [ 165 / 255, 42 / 255, 42 / 255 ], + burlywood: [ 222 / 255, 184 / 255, 135 / 255 ], + cadetblue: [ 95 / 255, 158 / 255, 160 / 255 ], + chartreuse: [ 127 / 255, 1, 0 ], + chocolate: [ 210 / 255, 105 / 255, 30 / 255 ], + coral: [ 1, 127 / 255, 80 / 255 ], + cornflowerblue: [ 100 / 255, 149 / 255, 237 / 255 ], + cornsilk: [ 1, 248 / 255, 220 / 255 ], + crimson: [ 220 / 255, 20 / 255, 60 / 255 ], + cyan: [ 0, 1, 1 ], + darkblue: [ 0, 0, 139 / 255 ], + darkcyan: [ 0, 139 / 255, 139 / 255 ], + darkgoldenrod: [ 184 / 255, 134 / 255, 11 / 255 ], + darkgray: [ 169 / 255, 169 / 255, 169 / 255 ], + darkgreen: [ 0, 100 / 255, 0 ], + darkgrey: [ 169 / 255, 169 / 255, 169 / 255 ], + darkkhaki: [ 189 / 255, 183 / 255, 107 / 255 ], + darkmagenta: [ 139 / 255, 0, 139 / 255 ], + darkolivegreen: [ 85 / 255, 107 / 255, 47 / 255 ], + darkorange: [ 1, 140 / 255, 0 ], + darkorchid: [ 153 / 255, 50 / 255, 204 / 255 ], + darkred: [ 139 / 255, 0, 0 ], + darksalmon: [ 233 / 255, 150 / 255, 122 / 255 ], + darkseagreen: [ 143 / 255, 188 / 255, 143 / 255 ], + darkslateblue: [ 72 / 255, 61 / 255, 139 / 255 ], + darkslategray: [ 47 / 255, 79 / 255, 79 / 255 ], + darkslategrey: [ 47 / 255, 79 / 255, 79 / 255 ], + darkturquoise: [ 0, 206 / 255, 209 / 255 ], + darkviolet: [ 148 / 255, 0, 211 / 255 ], + deeppink: [ 1, 20 / 255, 147 / 255 ], + deepskyblue: [ 0, 191 / 255, 1 ], + dimgray: [ 105 / 255, 105 / 255, 105 / 255 ], + dimgrey: [ 105 / 255, 105 / 255, 105 / 255 ], + dodgerblue: [ 30 / 255, 144 / 255, 1 ], + firebrick: [ 178 / 255, 34 / 255, 34 / 255 ], + floralwhite: [ 1, 250 / 255, 240 / 255 ], + forestgreen: [ 34 / 255, 139 / 255, 34 / 255 ], + fuchsia: [ 1, 0, 1 ], + gainsboro: [ 220 / 255, 220 / 255, 220 / 255 ], + ghostwhite: [ 248 / 255, 248 / 255, 1 ], + gold: [ 1, 215 / 255, 0 ], + goldenrod: [ 218 / 255, 165 / 255, 32 / 255 ], + gray: [ 128 / 255, 128 / 255, 128 / 255 ], + green: [ 0, 128 / 255, 0 ], + greenyellow: [ 173 / 255, 1, 47 / 255 ], + grey: [ 128 / 255, 128 / 255, 128 / 255 ], + honeydew: [ 240 / 255, 1, 240 / 255 ], + hotpink: [ 1, 105 / 255, 180 / 255 ], + indianred: [ 205 / 255, 92 / 255, 92 / 255 ], + indigo: [ 75 / 255, 0, 130 / 255 ], + ivory: [ 1, 1, 240 / 255 ], + khaki: [ 240 / 255, 230 / 255, 140 / 255 ], + lavender: [ 230 / 255, 230 / 255, 250 / 255 ], + lavenderblush: [ 1, 240 / 255, 245 / 255 ], + lawngreen: [ 124 / 255, 252 / 255, 0 ], + lemonchiffon: [ 1, 250 / 255, 205 / 255 ], + lightblue: [ 173 / 255, 216 / 255, 230 / 255 ], + lightcoral: [ 240 / 255, 128 / 255, 128 / 255 ], + lightcyan: [ 224 / 255, 1, 1 ], + lightgoldenrodyellow: [ 250 / 255, 250 / 255, 210 / 255 ], + lightgray: [ 211 / 255, 211 / 255, 211 / 255 ], + lightgreen: [ 144 / 255, 238 / 255, 144 / 255 ], + lightgrey: [ 211 / 255, 211 / 255, 211 / 255 ], + lightpink: [ 1, 182 / 255, 193 / 255 ], + lightsalmon: [ 1, 160 / 255, 122 / 255 ], + lightseagreen: [ 32 / 255, 178 / 255, 170 / 255 ], + lightskyblue: [ 135 / 255, 206 / 255, 250 / 255 ], + lightslategray: [ 119 / 255, 136 / 255, 153 / 255 ], + lightslategrey: [ 119 / 255, 136 / 255, 153 / 255 ], + lightsteelblue: [ 176 / 255, 196 / 255, 222 / 255 ], + lightyellow: [ 1, 1, 224 / 255 ], + lime: [ 0, 1, 0 ], + limegreen: [ 50 / 255, 205 / 255, 50 / 255 ], + linen: [ 250 / 255, 240 / 255, 230 / 255 ], + magenta: [ 1, 0, 1 ], + maroon: [ 128 / 255, 0, 0 ], + mediumaquamarine: [ 102 / 255, 205 / 255, 170 / 255 ], + mediumblue: [ 0, 0, 205 / 255 ], + mediumorchid: [ 186 / 255, 85 / 255, 211 / 255 ], + mediumpurple: [ 147 / 255, 112 / 255, 219 / 255 ], + mediumseagreen: [ 60 / 255, 179 / 255, 113 / 255 ], + mediumslateblue: [ 123 / 255, 104 / 255, 238 / 255 ], + mediumspringgreen: [ 0, 250 / 255, 154 / 255 ], + mediumturquoise: [ 72 / 255, 209 / 255, 204 / 255 ], + mediumvioletred: [ 199 / 255, 21 / 255, 133 / 255 ], + midnightblue: [ 25 / 255, 25 / 255, 112 / 255 ], + mintcream: [ 245 / 255, 1, 250 / 255 ], + mistyrose: [ 1, 228 / 255, 225 / 255 ], + moccasin: [ 1, 228 / 255, 181 / 255 ], + navajowhite: [ 1, 222 / 255, 173 / 255 ], + navy: [ 0, 0, 128 / 255 ], + oldlace: [ 253 / 255, 245 / 255, 230 / 255 ], + olive: [ 128 / 255, 128 / 255, 0 ], + olivedrab: [ 107 / 255, 142 / 255, 35 / 255 ], + orange: [ 1, 165 / 255, 0 ], + orangered: [ 1, 69 / 255, 0 ], + orchid: [ 218 / 255, 112 / 255, 214 / 255 ], + palegoldenrod: [ 238 / 255, 232 / 255, 170 / 255 ], + palegreen: [ 152 / 255, 251 / 255, 152 / 255 ], + paleturquoise: [ 175 / 255, 238 / 255, 238 / 255 ], + palevioletred: [ 219 / 255, 112 / 255, 147 / 255 ], + papayawhip: [ 1, 239 / 255, 213 / 255 ], + peachpuff: [ 1, 218 / 255, 185 / 255 ], + peru: [ 205 / 255, 133 / 255, 63 / 255 ], + pink: [ 1, 192 / 255, 203 / 255 ], + plum: [ 221 / 255, 160 / 255, 221 / 255 ], + powderblue: [ 176 / 255, 224 / 255, 230 / 255 ], + purple: [ 128 / 255, 0, 128 / 255 ], + rebeccapurple: [ 102 / 255, 51 / 255, 153 / 255 ], + red: [ 1, 0, 0 ], + rosybrown: [ 188 / 255, 143 / 255, 143 / 255 ], + royalblue: [ 65 / 255, 105 / 255, 225 / 255 ], + saddlebrown: [ 139 / 255, 69 / 255, 19 / 255 ], + salmon: [ 250 / 255, 128 / 255, 114 / 255 ], + sandybrown: [ 244 / 255, 164 / 255, 96 / 255 ], + seagreen: [ 46 / 255, 139 / 255, 87 / 255 ], + seashell: [ 1, 245 / 255, 238 / 255 ], + sienna: [ 160 / 255, 82 / 255, 45 / 255 ], + silver: [ 192 / 255, 192 / 255, 192 / 255 ], + skyblue: [ 135 / 255, 206 / 255, 235 / 255 ], + slateblue: [ 106 / 255, 90 / 255, 205 / 255 ], + slategray: [ 112 / 255, 128 / 255, 144 / 255 ], + slategrey: [ 112 / 255, 128 / 255, 144 / 255 ], + snow: [ 1, 250 / 255, 250 / 255 ], + springgreen: [ 0, 1, 127 / 255 ], + steelblue: [ 70 / 255, 130 / 255, 180 / 255 ], + tan: [ 210 / 255, 180 / 255, 140 / 255 ], + teal: [ 0, 128 / 255, 128 / 255 ], + thistle: [ 216 / 255, 191 / 255, 216 / 255 ], + tomato: [ 1, 99 / 255, 71 / 255 ], + turquoise: [ 64 / 255, 224 / 255, 208 / 255 ], + violet: [ 238 / 255, 130 / 255, 238 / 255 ], + wheat: [ 245 / 255, 222 / 255, 179 / 255 ], + white: [ 1, 1, 1 ], + whitesmoke: [ 245 / 255, 245 / 255, 245 / 255 ], + yellow: [ 1, 1, 0 ], + yellowgreen: [ 154 / 255, 205 / 255, 50 / 255 ] + }; + var coordGrammar = Array(3).fill(' | [0, 255]'); + var coordGrammarNumber = Array(3).fill('[0, 255]'); + var sRGB = new RGBColorSpace({ + id: 'srgb', + name: 'sRGB', + base: sRGBLinear, + fromBase: function fromBase(rgb) { + return rgb.map(function(val) { + var sign = val < 0 ? -1 : 1; + var abs = val * sign; + if (abs > .0031308) { + return sign * (1.055 * Math.pow(abs, 1 / 2.4) - .055); + } + return 12.92 * val; + }); + }, + toBase: function toBase(rgb) { + return rgb.map(function(val) { + var sign = val < 0 ? -1 : 1; + var abs = val * sign; + if (abs < .04045) { + return val / 12.92; + } + return sign * Math.pow((abs + .055) / 1.055, 2.4); + }); + }, + formats: { + rgb: { + coords: coordGrammar + }, + rgb_number: { + name: 'rgb', + commas: true, + coords: coordGrammarNumber, + noAlpha: true + }, + color: {}, + rgba: { + coords: coordGrammar, + commas: true, + lastAlpha: true + }, + rgba_number: { + name: 'rgba', + commas: true, + coords: coordGrammarNumber + }, + hex: { + type: 'custom', + toGamut: true, + test: function test(str) { + return /^#([a-f0-9]{3,4}){1,2}$/i.test(str); + }, + parse: function parse(str) { + if (str.length <= 5) { + str = str.replace(/[a-f0-9]/gi, '$&$&'); + } + var rgba = []; + str.replace(/[a-f0-9]{2}/gi, function(component) { + rgba.push(parseInt(component, 16) / 255); + }); + return { + spaceId: 'srgb', + coords: rgba.slice(0, 3), + alpha: rgba.slice(3)[0] + }; + }, + serialize: function serialize(coords, alpha) { + var _ref51 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, _ref51$collapse = _ref51.collapse, collapse = _ref51$collapse === void 0 ? true : _ref51$collapse; + if (alpha < 1) { + coords.push(alpha); + } + coords = coords.map(function(c4) { + return Math.round(c4 * 255); + }); + var collapsible = collapse && coords.every(function(c4) { + return c4 % 17 === 0; + }); + var hex = coords.map(function(c4) { + if (collapsible) { + return (c4 / 17).toString(16); + } + return c4.toString(16).padStart(2, '0'); + }).join(''); + return '#' + hex; + } + }, + keyword: { + type: 'custom', + test: function test(str) { + return /^[a-z]+$/i.test(str); + }, + parse: function parse(str) { + str = str.toLowerCase(); + var ret = { + spaceId: 'srgb', + coords: null, + alpha: 1 + }; + if (str === 'transparent') { + ret.coords = KEYWORDS.black; + ret.alpha = 0; + } else { + ret.coords = KEYWORDS[str]; + } + if (ret.coords) { + return ret; + } + } } - var contentRects = getContentRects(textNode); - if (isOutsideNodeBounds(contentRects, nodeRect)) { - return; + } + }); + var P3 = new RGBColorSpace({ + id: 'p3', + name: 'P3', + base: P3Linear, + fromBase: sRGB.fromBase, + toBase: sRGB.toBase, + formats: { + color: { + id: 'display-p3' } - clientRects.push.apply(clientRects, _toConsumableArray(filterHiddenRects(contentRects, overflowHiddenNodes))); - }); - return clientRects.length ? clientRects : [ nodeRect ]; + } }); - var get_visible_child_text_rects_default = getVisibleChildTextRects; - function getContentRects(node) { - var range = document.createRange(); - range.selectNodeContents(node); - return Array.from(range.getClientRects()); + defaults.display_space = sRGB; + if (typeof CSS !== 'undefined' && (_CSS = CSS) !== null && _CSS !== void 0 && _CSS.supports) { + for (var _i19 = 0, _arr2 = [ lab, REC2020, P3 ]; _i19 < _arr2.length; _i19++) { + var space = _arr2[_i19]; + var coords = space.getMinCoords(); + var color = { + space: space, + coords: coords, + alpha: 1 + }; + var str = serialize(color); + if (CSS.supports('color', str)) { + defaults.display_space = space; + break; + } + } } - function isOutsideNodeBounds(rects, nodeRect) { - return rects.some(function(rect) { - var centerPoint = _getRectCenter(rect); - return !_isPointInRect(centerPoint, nodeRect); - }); + function _display(color) { + var _CSS2; + var _ref52 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _ref52$space = _ref52.space, space = _ref52$space === void 0 ? defaults.display_space : _ref52$space, options = _objectWithoutProperties(_ref52, _excluded10); + var ret = serialize(color, options); + if (typeof CSS === 'undefined' || (_CSS2 = CSS) !== null && _CSS2 !== void 0 && _CSS2.supports('color', ret) || !defaults.display_space) { + ret = new String(ret); + ret.color = color; + } else { + var fallbackColor = to(color, space); + ret = new String(serialize(fallbackColor, options)); + ret.color = fallbackColor; + } + return ret; } - function filterHiddenRects(contentRects, overflowHiddenNodes) { - var visibleRects = []; - contentRects.forEach(function(contentRect) { - if (contentRect.width < 1 || contentRect.height < 1) { - return; - } - var visibleRect = overflowHiddenNodes.reduce(function(rect, overflowNode) { - return rect && _getIntersectionRect(rect, overflowNode.boundingClientRect); - }, contentRect); - if (visibleRect) { - visibleRects.push(visibleRect); + function distance(color1, color2) { + var space = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'lab'; + space = ColorSpace.get(space); + var coords1 = space.from(color1); + var coords2 = space.from(color2); + return Math.sqrt(coords1.reduce(function(acc, c12, i) { + var c22 = coords2[i]; + if (isNaN(c12) || isNaN(c22)) { + return acc; } + return acc + Math.pow(c22 - c12, 2); + }, 0)); + } + function equals(color1, color2) { + color1 = getColor(color1); + color2 = getColor(color2); + return color1.space === color2.space && color1.alpha === color2.alpha && color1.coords.every(function(c4, i) { + return c4 === color2.coords[i]; }); - return visibleRects; } - function getTextElementStack(node) { - _createGrid(); - var vNode = get_node_from_tree_default(node); - var grid = vNode._grid; - if (!grid) { - return []; - } - var clientRects = get_visible_child_text_rects_default(node); - return clientRects.map(function(rect) { - return getRectStack(grid, rect); + function getLuminance(color) { + return get(color, [ XYZ_D65, 'y' ]); + } + function setLuminance(color, value) { + set(color, [ XYZ_D65, 'y' ], value); + } + function register$2(Color3) { + Object.defineProperty(Color3.prototype, 'luminance', { + get: function get() { + return getLuminance(this); + }, + set: function set(value) { + setLuminance(this, value); + } }); } - var get_text_element_stack_default = getTextElementStack; - var visualRoles = [ 'checkbox', 'img', 'meter', 'progressbar', 'scrollbar', 'radio', 'slider', 'spinbutton', 'textbox' ]; - function isVisualContent(el) { - var vNode = el instanceof abstract_virtual_node_default ? el : get_node_from_tree_default(el); - var role = axe.commons.aria.getExplicitRole(vNode); - if (role) { - return visualRoles.indexOf(role) !== -1; + var luminance = Object.freeze({ + __proto__: null, + getLuminance: getLuminance, + setLuminance: setLuminance, + register: register$2 + }); + function contrastWCAG21(color1, color2) { + color1 = getColor(color1); + color2 = getColor(color2); + var Y1 = Math.max(getLuminance(color1), 0); + var Y2 = Math.max(getLuminance(color2), 0); + if (Y2 > Y1) { + var _ref53 = [ Y2, Y1 ]; + Y1 = _ref53[0]; + Y2 = _ref53[1]; + } + return (Y1 + .05) / (Y2 + .05); + } + var normBG = .56; + var normTXT = .57; + var revTXT = .62; + var revBG = .65; + var blkThrs = .022; + var blkClmp = 1.414; + var loClip = .1; + var deltaYmin = 5e-4; + var scaleBoW = 1.14; + var loBoWoffset = .027; + var scaleWoB = 1.14; + function fclamp(Y) { + if (Y >= blkThrs) { + return Y; + } + return Y + Math.pow(blkThrs - Y, blkClmp); + } + function linearize(val) { + var sign = val < 0 ? -1 : 1; + var abs = Math.abs(val); + return sign * Math.pow(abs, 2.4); + } + function contrastAPCA(background, foreground) { + foreground = getColor(foreground); + background = getColor(background); + var S; + var C; + var Sapc; + var R, G, B; + foreground = to(foreground, 'srgb'); + var _foreground$coords = _slicedToArray(foreground.coords, 3); + R = _foreground$coords[0]; + G = _foreground$coords[1]; + B = _foreground$coords[2]; + var lumTxt = linearize(R) * .2126729 + linearize(G) * .7151522 + linearize(B) * .072175; + background = to(background, 'srgb'); + var _background$coords = _slicedToArray(background.coords, 3); + R = _background$coords[0]; + G = _background$coords[1]; + B = _background$coords[2]; + var lumBg = linearize(R) * .2126729 + linearize(G) * .7151522 + linearize(B) * .072175; + var Ytxt = fclamp(lumTxt); + var Ybg = fclamp(lumBg); + var BoW = Ybg > Ytxt; + if (Math.abs(Ybg - Ytxt) < deltaYmin) { + C = 0; + } else { + if (BoW) { + S = Math.pow(Ybg, normBG) - Math.pow(Ytxt, normTXT); + C = S * scaleBoW; + } else { + S = Math.pow(Ybg, revBG) - Math.pow(Ytxt, revTXT); + C = S * scaleWoB; + } } - switch (vNode.props.nodeName) { - case 'img': - case 'iframe': - case 'object': - case 'video': - case 'audio': - case 'canvas': - case 'svg': - case 'math': - case 'button': - case 'select': - case 'textarea': - case 'keygen': - case 'progress': - case 'meter': - return true; - - case 'input': - return vNode.props.type !== 'hidden'; - - default: - return false; + if (Math.abs(C) < loClip) { + Sapc = 0; + } else if (C > 0) { + Sapc = C - loBoWoffset; + } else { + Sapc = C + loBoWoffset; + } + return Sapc * 100; + } + function contrastMichelson(color1, color2) { + color1 = getColor(color1); + color2 = getColor(color2); + var Y1 = Math.max(getLuminance(color1), 0); + var Y2 = Math.max(getLuminance(color2), 0); + if (Y2 > Y1) { + var _ref54 = [ Y2, Y1 ]; + Y1 = _ref54[0]; + Y2 = _ref54[1]; + } + var denom = Y1 + Y2; + return denom === 0 ? 0 : (Y1 - Y2) / denom; + } + var max = 5e4; + function contrastWeber(color1, color2) { + color1 = getColor(color1); + color2 = getColor(color2); + var Y1 = Math.max(getLuminance(color1), 0); + var Y2 = Math.max(getLuminance(color2), 0); + if (Y2 > Y1) { + var _ref55 = [ Y2, Y1 ]; + Y1 = _ref55[0]; + Y2 = _ref55[1]; + } + return Y2 === 0 ? max : (Y1 - Y2) / Y2; + } + function contrastLstar(color1, color2) { + color1 = getColor(color1); + color2 = getColor(color2); + var L1 = get(color1, [ lab, 'l' ]); + var L2 = get(color2, [ lab, 'l' ]); + return Math.abs(L1 - L2); + } + var \u03b5$1 = 216 / 24389; + var \u03b53 = 24 / 116; + var \u03ba = 24389 / 27; + var white = WHITES.D65; + var lab_d65 = new ColorSpace({ + id: 'lab-d65', + name: 'Lab D65', + coords: { + l: { + refRange: [ 0, 100 ], + name: 'L' + }, + a: { + refRange: [ -125, 125 ] + }, + b: { + refRange: [ -125, 125 ] + } + }, + white: white, + base: XYZ_D65, + fromBase: function fromBase(XYZ) { + var xyz = XYZ.map(function(value, i) { + return value / white[i]; + }); + var f = xyz.map(function(value) { + return value > \u03b5$1 ? Math.cbrt(value) : (\u03ba * value + 16) / 116; + }); + return [ 116 * f[1] - 16, 500 * (f[0] - f[1]), 200 * (f[1] - f[2]) ]; + }, + toBase: function toBase(Lab) { + var f = []; + f[1] = (Lab[0] + 16) / 116; + f[0] = Lab[1] / 500 + f[1]; + f[2] = f[1] - Lab[2] / 200; + var xyz = [ f[0] > \u03b53 ? Math.pow(f[0], 3) : (116 * f[0] - 16) / \u03ba, Lab[0] > 8 ? Math.pow((Lab[0] + 16) / 116, 3) : Lab[0] / \u03ba, f[2] > \u03b53 ? Math.pow(f[2], 3) : (116 * f[2] - 16) / \u03ba ]; + return xyz.map(function(value, i) { + return value * white[i]; + }); + }, + formats: { + 'lab-d65': { + coords: [ ' | ', '', '' ] + } } - } - var is_visual_content_default = isVisualContent; - var hiddenTextElms = [ 'head', 'title', 'template', 'script', 'style', 'iframe', 'object', 'video', 'audio', 'noscript' ]; - function hasChildTextNodes(elm) { - if (hiddenTextElms.includes(elm.props.nodeName)) { - return false; + }); + var phi = Math.pow(5, .5) * .5 + .5; + function contrastDeltaPhi(color1, color2) { + color1 = getColor(color1); + color2 = getColor(color2); + var Lstr1 = get(color1, [ lab_d65, 'l' ]); + var Lstr2 = get(color2, [ lab_d65, 'l' ]); + var deltaPhiStar = Math.abs(Math.pow(Lstr1, phi) - Math.pow(Lstr2, phi)); + var contrast2 = Math.pow(deltaPhiStar, 1 / phi) * Math.SQRT2 - 40; + return contrast2 < 7.5 ? 0 : contrast2; + } + var contrastMethods = Object.freeze({ + __proto__: null, + contrastWCAG21: contrastWCAG21, + contrastAPCA: contrastAPCA, + contrastMichelson: contrastMichelson, + contrastWeber: contrastWeber, + contrastLstar: contrastLstar, + contrastDeltaPhi: contrastDeltaPhi + }); + function contrast(background, foreground) { + var o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + if (isString(o)) { + o = { + algorithm: o + }; } - return elm.children.some(function(_ref35) { - var props = _ref35.props; - return props.nodeType === 3 && props.nodeValue.trim(); - }); + var _o = o, algorithm = _o.algorithm, rest = _objectWithoutProperties(_o, _excluded11); + if (!algorithm) { + var algorithms = Object.keys(contrastMethods).map(function(a2) { + return a2.replace(/^contrast/, ''); + }).join(', '); + throw new TypeError('contrast() function needs a contrast algorithm. Please specify one of: '.concat(algorithms)); + } + background = getColor(background); + foreground = getColor(foreground); + for (var a2 in contrastMethods) { + if ('contrast' + algorithm.toLowerCase() === a2.toLowerCase()) { + return contrastMethods[a2](background, foreground, rest); + } + } + throw new TypeError('Unknown contrast algorithm: '.concat(algorithm)); } - function hasContentVirtual(elm, noRecursion, ignoreAria) { - return hasChildTextNodes(elm) || is_visual_content_default(elm.actualNode) || !ignoreAria && !!label_virtual_default(elm) || !noRecursion && elm.children.some(function(child) { - return child.actualNode.nodeType === 1 && hasContentVirtual(child); - }); + function uv(color) { + var _getAll = getAll(color, XYZ_D65), _getAll2 = _slicedToArray(_getAll, 3), X = _getAll2[0], Y = _getAll2[1], Z = _getAll2[2]; + var denom = X + 15 * Y + 3 * Z; + return [ 4 * X / denom, 9 * Y / denom ]; } - var has_content_virtual_default = hasContentVirtual; - function hasContent(elm, noRecursion, ignoreAria) { - elm = get_node_from_tree_default(elm); - return has_content_virtual_default(elm, noRecursion, ignoreAria); + function xy(color) { + var _getAll3 = getAll(color, XYZ_D65), _getAll4 = _slicedToArray(_getAll3, 3), X = _getAll4[0], Y = _getAll4[1], Z = _getAll4[2]; + var sum = X + Y + Z; + return [ X / sum, Y / sum ]; } - var has_content_default = hasContent; - function _hasLangText(virtualNode) { - if (typeof virtualNode.children === 'undefined' || hasChildTextNodes(virtualNode)) { - return true; + function register$1(Color3) { + Object.defineProperty(Color3.prototype, 'uv', { + get: function get() { + return uv(this); + } + }); + Object.defineProperty(Color3.prototype, 'xy', { + get: function get() { + return xy(this); + } + }); + } + var chromaticity = Object.freeze({ + __proto__: null, + uv: uv, + xy: xy, + register: register$1 + }); + function deltaE76(color, sample) { + return distance(color, sample, 'lab'); + } + var \u03c0 = Math.PI; + var d2r = \u03c0 / 180; + function deltaECMC(color, sample) { + var _ref56 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, _ref56$l = _ref56.l, l = _ref56$l === void 0 ? 2 : _ref56$l, _ref56$c = _ref56.c, c4 = _ref56$c === void 0 ? 1 : _ref56$c; + var _lab$from5 = lab.from(color), _lab$from6 = _slicedToArray(_lab$from5, 3), L1 = _lab$from6[0], a1 = _lab$from6[1], b1 = _lab$from6[2]; + var _lch$from = lch.from(lab, [ L1, a1, b1 ]), _lch$from2 = _slicedToArray(_lch$from, 3), C1 = _lch$from2[1], H1 = _lch$from2[2]; + var _lab$from7 = lab.from(sample), _lab$from8 = _slicedToArray(_lab$from7, 3), L2 = _lab$from8[0], a2 = _lab$from8[1], b2 = _lab$from8[2]; + var C2 = lch.from(lab, [ L2, a2, b2 ])[1]; + if (C1 < 0) { + C1 = 0; + } + if (C2 < 0) { + C2 = 0; + } + var \u0394L = L1 - L2; + var \u0394C = C1 - C2; + var \u0394a = a1 - a2; + var \u0394b = b1 - b2; + var H2 = Math.pow(\u0394a, 2) + Math.pow(\u0394b, 2) - Math.pow(\u0394C, 2); + var SL = .511; + if (L1 >= 16) { + SL = .040975 * L1 / (1 + .01765 * L1); + } + var SC = .0638 * C1 / (1 + .0131 * C1) + .638; + var T; + if (Number.isNaN(H1)) { + H1 = 0; + } + if (H1 >= 164 && H1 <= 345) { + T = .56 + Math.abs(.2 * Math.cos((H1 + 168) * d2r)); + } else { + T = .36 + Math.abs(.4 * Math.cos((H1 + 35) * d2r)); + } + var C4 = Math.pow(C1, 4); + var F = Math.sqrt(C4 / (C4 + 1900)); + var SH = SC * (F * T + 1 - F); + var dE = Math.pow(\u0394L / (l * SL), 2); + dE += Math.pow(\u0394C / (c4 * SC), 2); + dE += H2 / Math.pow(SH, 2); + return Math.sqrt(dE); + } + var Yw$1 = 203; + var XYZ_Abs_D65 = new ColorSpace({ + id: 'xyz-abs-d65', + name: 'Absolute XYZ D65', + coords: { + x: { + refRange: [ 0, 9504.7 ], + name: 'Xa' + }, + y: { + refRange: [ 0, 1e4 ], + name: 'Ya' + }, + z: { + refRange: [ 0, 10888.3 ], + name: 'Za' + } + }, + base: XYZ_D65, + fromBase: function fromBase(XYZ) { + return XYZ.map(function(v) { + return Math.max(v * Yw$1, 0); + }); + }, + toBase: function toBase(AbsXYZ) { + return AbsXYZ.map(function(v) { + return Math.max(v / Yw$1, 0); + }); } - if (virtualNode.props.nodeType === 1 && is_visual_content_default(virtualNode)) { - return !!axe.commons.text.accessibleTextVirtual(virtualNode); + }); + var b$1 = 1.15; + var g = .66; + var n$1 = 2610 / Math.pow(2, 14); + var ninv$1 = Math.pow(2, 14) / 2610; + var c1$2 = 3424 / Math.pow(2, 12); + var c2$2 = 2413 / Math.pow(2, 7); + var c3$2 = 2392 / Math.pow(2, 7); + var p = 1.7 * 2523 / Math.pow(2, 5); + var pinv = Math.pow(2, 5) / (1.7 * 2523); + var d = -.56; + var d0 = 16295499532821565e-27; + var XYZtoCone_M = [ [ .41478972, .579999, .014648 ], [ -.20151, 1.120649, .0531008 ], [ -.0166008, .2648, .6684799 ] ]; + var ConetoXYZ_M = [ [ 1.9242264357876067, -1.0047923125953657, .037651404030618 ], [ .35031676209499907, .7264811939316552, -.06538442294808501 ], [ -.09098281098284752, -.3127282905230739, 1.5227665613052603 ] ]; + var ConetoIab_M = [ [ .5, .5, 0 ], [ 3.524, -4.066708, .542708 ], [ .199076, 1.096799, -1.295875 ] ]; + var IabtoCone_M = [ [ 1, .1386050432715393, .05804731615611886 ], [ .9999999999999999, -.1386050432715393, -.05804731615611886 ], [ .9999999999999998, -.09601924202631895, -.8118918960560388 ] ]; + var Jzazbz = new ColorSpace({ + id: 'jzazbz', + name: 'Jzazbz', + coords: { + jz: { + refRange: [ 0, 1 ], + name: 'Jz' + }, + az: { + refRange: [ -.5, .5 ] + }, + bz: { + refRange: [ -.5, .5 ] + } + }, + base: XYZ_Abs_D65, + fromBase: function fromBase(XYZ) { + var _XYZ = _slicedToArray(XYZ, 3), Xa = _XYZ[0], Ya = _XYZ[1], Za = _XYZ[2]; + var Xm = b$1 * Xa - (b$1 - 1) * Za; + var Ym = g * Ya - (g - 1) * Xa; + var LMS = multiplyMatrices(XYZtoCone_M, [ Xm, Ym, Za ]); + var PQLMS = LMS.map(function(val) { + var num = c1$2 + c2$2 * Math.pow(val / 1e4, n$1); + var denom = 1 + c3$2 * Math.pow(val / 1e4, n$1); + return Math.pow(num / denom, p); + }); + var _multiplyMatrices = multiplyMatrices(ConetoIab_M, PQLMS), _multiplyMatrices2 = _slicedToArray(_multiplyMatrices, 3), Iz = _multiplyMatrices2[0], az = _multiplyMatrices2[1], bz = _multiplyMatrices2[2]; + var Jz = (1 + d) * Iz / (1 + d * Iz) - d0; + return [ Jz, az, bz ]; + }, + toBase: function toBase(Jzazbz2) { + var _Jzazbz = _slicedToArray(Jzazbz2, 3), Jz = _Jzazbz[0], az = _Jzazbz[1], bz = _Jzazbz[2]; + var Iz = (Jz + d0) / (1 + d - d * (Jz + d0)); + var PQLMS = multiplyMatrices(IabtoCone_M, [ Iz, az, bz ]); + var LMS = PQLMS.map(function(val) { + var num = c1$2 - Math.pow(val, pinv); + var denom = c3$2 * Math.pow(val, pinv) - c2$2; + var x = 1e4 * Math.pow(num / denom, ninv$1); + return x; + }); + var _multiplyMatrices3 = multiplyMatrices(ConetoXYZ_M, LMS), _multiplyMatrices4 = _slicedToArray(_multiplyMatrices3, 3), Xm = _multiplyMatrices4[0], Ym = _multiplyMatrices4[1], Za = _multiplyMatrices4[2]; + var Xa = (Xm + (b$1 - 1) * Za) / b$1; + var Ya = (Ym + (g - 1) * Xa) / g; + return [ Xa, Ya, Za ]; + }, + formats: { + color: {} } - return virtualNode.children.some(function(child) { - return !child.attr('lang') && _hasLangText(child) && !_isHiddenForEveryone(child); + }); + var jzczhz = new ColorSpace({ + id: 'jzczhz', + name: 'JzCzHz', + coords: { + jz: { + refRange: [ 0, 1 ], + name: 'Jz' + }, + cz: { + refRange: [ 0, 1 ], + name: 'Chroma' + }, + hz: { + refRange: [ 0, 360 ], + type: 'angle', + name: 'Hue' + } + }, + base: Jzazbz, + fromBase: function fromBase(jzazbz) { + var _jzazbz = _slicedToArray(jzazbz, 3), Jz = _jzazbz[0], az = _jzazbz[1], bz = _jzazbz[2]; + var hue; + var \u03b52 = 2e-4; + if (Math.abs(az) < \u03b52 && Math.abs(bz) < \u03b52) { + hue = NaN; + } else { + hue = Math.atan2(bz, az) * 180 / Math.PI; + } + return [ Jz, Math.sqrt(Math.pow(az, 2) + Math.pow(bz, 2)), constrain(hue) ]; + }, + toBase: function toBase(jzczhz2) { + return [ jzczhz2[0], jzczhz2[1] * Math.cos(jzczhz2[2] * Math.PI / 180), jzczhz2[1] * Math.sin(jzczhz2[2] * Math.PI / 180) ]; + }, + formats: { + color: {} + } + }); + function deltaEJz(color, sample) { + var _jzczhz$from = jzczhz.from(color), _jzczhz$from2 = _slicedToArray(_jzczhz$from, 3), Jz1 = _jzczhz$from2[0], Cz1 = _jzczhz$from2[1], Hz1 = _jzczhz$from2[2]; + var _jzczhz$from3 = jzczhz.from(sample), _jzczhz$from4 = _slicedToArray(_jzczhz$from3, 3), Jz2 = _jzczhz$from4[0], Cz2 = _jzczhz$from4[1], Hz2 = _jzczhz$from4[2]; + var \u0394J = Jz1 - Jz2; + var \u0394C = Cz1 - Cz2; + if (Number.isNaN(Hz1) && Number.isNaN(Hz2)) { + Hz1 = 0; + Hz2 = 0; + } else if (Number.isNaN(Hz1)) { + Hz1 = Hz2; + } else if (Number.isNaN(Hz2)) { + Hz2 = Hz1; + } + var \u0394h = Hz1 - Hz2; + var \u0394H = 2 * Math.sqrt(Cz1 * Cz2) * Math.sin(\u0394h / 2 * (Math.PI / 180)); + return Math.sqrt(Math.pow(\u0394J, 2) + Math.pow(\u0394C, 2) + Math.pow(\u0394H, 2)); + } + var c1$1 = 3424 / 4096; + var c2$1 = 2413 / 128; + var c3$1 = 2392 / 128; + var m1 = 2610 / 16384; + var m2 = 2523 / 32; + var im1 = 16384 / 2610; + var im2 = 32 / 2523; + var XYZtoLMS_M$1 = [ [ .3592, .6976, -.0358 ], [ -.1922, 1.1004, .0755 ], [ .007, .0749, .8434 ] ]; + var LMStoIPT_M = [ [ 2048 / 4096, 2048 / 4096, 0 ], [ 6610 / 4096, -13613 / 4096, 7003 / 4096 ], [ 17933 / 4096, -17390 / 4096, -543 / 4096 ] ]; + var IPTtoLMS_M = [ [ .9999888965628402, .008605050147287059, .11103437159861648 ], [ 1.00001110343716, -.008605050147287059, -.11103437159861648 ], [ 1.0000320633910054, .56004913547279, -.3206339100541203 ] ]; + var LMStoXYZ_M$1 = [ [ 2.0701800566956137, -1.326456876103021, .20661600684785517 ], [ .3649882500326575, .6804673628522352, -.04542175307585323 ], [ -.04959554223893211, -.04942116118675749, 1.1879959417328034 ] ]; + var ictcp = new ColorSpace({ + id: 'ictcp', + name: 'ICTCP', + coords: { + i: { + refRange: [ 0, 1 ], + name: 'I' + }, + ct: { + refRange: [ -.5, .5 ], + name: 'CT' + }, + cp: { + refRange: [ -.5, .5 ], + name: 'CP' + } + }, + base: XYZ_Abs_D65, + fromBase: function fromBase(XYZ) { + var LMS = multiplyMatrices(XYZtoLMS_M$1, XYZ); + return LMStoICtCp(LMS); + }, + toBase: function toBase(ICtCp) { + var LMS = ICtCptoLMS(ICtCp); + return multiplyMatrices(LMStoXYZ_M$1, LMS); + }, + formats: { + color: {} + } + }); + function LMStoICtCp(LMS) { + var PQLMS = LMS.map(function(val) { + var num = c1$1 + c2$1 * Math.pow(val / 1e4, m1); + var denom = 1 + c3$1 * Math.pow(val / 1e4, m1); + return Math.pow(num / denom, m2); + }); + return multiplyMatrices(LMStoIPT_M, PQLMS); + } + function ICtCptoLMS(ICtCp) { + var PQLMS = multiplyMatrices(IPTtoLMS_M, ICtCp); + var LMS = PQLMS.map(function(val) { + var num = Math.max(Math.pow(val, im2) - c1$1, 0); + var denom = c2$1 - c3$1 * Math.pow(val, im2); + return 1e4 * Math.pow(num / denom, im1); + }); + return LMS; + } + function deltaEITP(color, sample) { + var _ictcp$from = ictcp.from(color), _ictcp$from2 = _slicedToArray(_ictcp$from, 3), I1 = _ictcp$from2[0], T1 = _ictcp$from2[1], P1 = _ictcp$from2[2]; + var _ictcp$from3 = ictcp.from(sample), _ictcp$from4 = _slicedToArray(_ictcp$from3, 3), I2 = _ictcp$from4[0], T2 = _ictcp$from4[1], P2 = _ictcp$from4[2]; + return 720 * Math.sqrt(Math.pow(I1 - I2, 2) + .25 * Math.pow(T1 - T2, 2) + Math.pow(P1 - P2, 2)); + } + var XYZtoLMS_M = [ [ .8190224432164319, .3619062562801221, -.12887378261216414 ], [ .0329836671980271, .9292868468965546, .03614466816999844 ], [ .048177199566046255, .26423952494422764, .6335478258136937 ] ]; + var LMStoXYZ_M = [ [ 1.2268798733741557, -.5578149965554813, .28139105017721583 ], [ -.04057576262431372, 1.1122868293970594, -.07171106666151701 ], [ -.07637294974672142, -.4214933239627914, 1.5869240244272418 ] ]; + var LMStoLab_M = [ [ .2104542553, .793617785, -.0040720468 ], [ 1.9779984951, -2.428592205, .4505937099 ], [ .0259040371, .7827717662, -.808675766 ] ]; + var LabtoLMS_M = [ [ .9999999984505198, .39633779217376786, .2158037580607588 ], [ 1.0000000088817609, -.10556134232365635, -.06385417477170591 ], [ 1.0000000546724108, -.08948418209496575, -1.2914855378640917 ] ]; + var OKLab = new ColorSpace({ + id: 'oklab', + name: 'OKLab', + coords: { + l: { + refRange: [ 0, 1 ], + name: 'L' + }, + a: { + refRange: [ -.4, .4 ] + }, + b: { + refRange: [ -.4, .4 ] + } + }, + white: 'D65', + base: XYZ_D65, + fromBase: function fromBase(XYZ) { + var LMS = multiplyMatrices(XYZtoLMS_M, XYZ); + var LMSg = LMS.map(function(val) { + return Math.cbrt(val); + }); + return multiplyMatrices(LMStoLab_M, LMSg); + }, + toBase: function toBase(OKLab2) { + var LMSg = multiplyMatrices(LabtoLMS_M, OKLab2); + var LMS = LMSg.map(function(val) { + return Math.pow(val, 3); + }); + return multiplyMatrices(LMStoXYZ_M, LMS); + }, + formats: { + oklab: { + coords: [ ' | ', '', '' ] + } + } + }); + function deltaEOK(color, sample) { + var _OKLab$from = OKLab.from(color), _OKLab$from2 = _slicedToArray(_OKLab$from, 3), L1 = _OKLab$from2[0], a1 = _OKLab$from2[1], b1 = _OKLab$from2[2]; + var _OKLab$from3 = OKLab.from(sample), _OKLab$from4 = _slicedToArray(_OKLab$from3, 3), L2 = _OKLab$from4[0], a2 = _OKLab$from4[1], b2 = _OKLab$from4[2]; + var \u0394L = L1 - L2; + var \u0394a = a1 - a2; + var \u0394b = b1 - b2; + return Math.sqrt(Math.pow(\u0394L, 2) + Math.pow(\u0394a, 2) + Math.pow(\u0394b, 2)); + } + var deltaEMethods = Object.freeze({ + __proto__: null, + deltaE76: deltaE76, + deltaECMC: deltaECMC, + deltaE2000: deltaE2000, + deltaEJz: deltaEJz, + deltaEITP: deltaEITP, + deltaEOK: deltaEOK + }); + function deltaE(c12, c22) { + var o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + if (isString(o)) { + o = { + method: o + }; + } + var _o2 = o, _o2$method = _o2.method, method = _o2$method === void 0 ? defaults.deltaE : _o2$method, rest = _objectWithoutProperties(_o2, _excluded12); + c12 = getColor(c12); + c22 = getColor(c22); + for (var m3 in deltaEMethods) { + if ('deltae' + method.toLowerCase() === m3.toLowerCase()) { + return deltaEMethods[m3](c12, c22, rest); + } + } + throw new TypeError('Unknown deltaE method: '.concat(method)); + } + function lighten(color) { + var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .25; + var space = ColorSpace.get('oklch', 'lch'); + var lightness = [ space, 'l' ]; + return set(color, lightness, function(l) { + return l * (1 + amount); }); } - function insertedIntoFocusOrder(el) { - var tabIndex = parseInt(el.getAttribute('tabindex'), 10); - return tabIndex > -1 && _isFocusable(el) && !is_natively_focusable_default(el); + function darken(color) { + var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : .25; + var space = ColorSpace.get('oklch', 'lch'); + var lightness = [ space, 'l' ]; + return set(color, lightness, function(l) { + return l * (1 - amount); + }); } - var inserted_into_focus_order_default = insertedIntoFocusOrder; - function isHiddenWithCSS(node, descendentVisibilityValue) { - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); - var el = node instanceof window.Node ? node : vNode === null || vNode === void 0 ? void 0 : vNode.actualNode; - if (!vNode) { - return _isHiddenWithCSS(el, descendentVisibilityValue); + var variations = Object.freeze({ + __proto__: null, + lighten: lighten, + darken: darken + }); + function mix(c12, c22) { + var p2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : .5; + var o = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; + var _ref57 = [ getColor(c12), getColor(c22) ]; + c12 = _ref57[0]; + c22 = _ref57[1]; + if (type(p2) === 'object') { + var _ref58 = [ .5, p2 ]; + p2 = _ref58[0]; + o = _ref58[1]; + } + var _o3 = o, space = _o3.space, outputSpace = _o3.outputSpace, premultiplied = _o3.premultiplied; + var r = range(c12, c22, { + space: space, + outputSpace: outputSpace, + premultiplied: premultiplied + }); + return r(p2); + } + function steps(c12, c22) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var colorRange; + if (isRange(c12)) { + colorRange = c12; + options = c22; + var _colorRange$rangeArgs = _slicedToArray(colorRange.rangeArgs.colors, 2); + c12 = _colorRange$rangeArgs[0]; + c22 = _colorRange$rangeArgs[1]; + } + var _options2 = options, maxDeltaE = _options2.maxDeltaE, deltaEMethod = _options2.deltaEMethod, _options2$steps = _options2.steps, steps2 = _options2$steps === void 0 ? 2 : _options2$steps, _options2$maxSteps = _options2.maxSteps, maxSteps = _options2$maxSteps === void 0 ? 1e3 : _options2$maxSteps, rangeOptions = _objectWithoutProperties(_options2, _excluded13); + if (!colorRange) { + var _ref59 = [ getColor(c12), getColor(c22) ]; + c12 = _ref59[0]; + c22 = _ref59[1]; + colorRange = range(c12, c22, rangeOptions); + } + var totalDelta = deltaE(c12, c22); + var actualSteps = maxDeltaE > 0 ? Math.max(steps2, Math.ceil(totalDelta / maxDeltaE) + 1) : steps2; + var ret = []; + if (maxSteps !== void 0) { + actualSteps = Math.min(actualSteps, maxSteps); + } + if (actualSteps === 1) { + ret = [ { + p: .5, + color: colorRange(.5) + } ]; + } else { + var step = 1 / (actualSteps - 1); + ret = Array.from({ + length: actualSteps + }, function(_, i) { + var p2 = i * step; + return { + p: p2, + color: colorRange(p2) + }; + }); } - if (vNode._isHiddenWithCSS === void 0) { - vNode._isHiddenWithCSS = _isHiddenWithCSS(el, descendentVisibilityValue); + if (maxDeltaE > 0) { + var maxDelta = ret.reduce(function(acc, cur, i) { + if (i === 0) { + return 0; + } + var \u0394\u0395 = deltaE(cur.color, ret[i - 1].color, deltaEMethod); + return Math.max(acc, \u0394\u0395); + }, 0); + while (maxDelta > maxDeltaE) { + maxDelta = 0; + for (var _i20 = 1; _i20 < ret.length && ret.length < maxSteps; _i20++) { + var prev = ret[_i20 - 1]; + var cur = ret[_i20]; + var p2 = (cur.p + prev.p) / 2; + var _color = colorRange(p2); + maxDelta = Math.max(maxDelta, deltaE(_color, prev.color), deltaE(_color, cur.color)); + ret.splice(_i20, 0, { + p: p2, + color: colorRange(p2) + }); + _i20++; + } + } } - return vNode._isHiddenWithCSS; + ret = ret.map(function(a2) { + return a2.color; + }); + return ret; } - function _isHiddenWithCSS(el, descendentVisibilityValue) { - if (el.nodeType === 9) { - return false; + function range(color1, color2) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + if (isRange(color1)) { + var r = color1, options2 = color2; + return range.apply(void 0, _toConsumableArray(r.rangeArgs.colors).concat([ _extends({}, r.rangeArgs.options, options2) ])); + } + var space = options.space, outputSpace = options.outputSpace, progression = options.progression, premultiplied = options.premultiplied; + color1 = getColor(color1); + color2 = getColor(color2); + color1 = clone2(color1); + color2 = clone2(color2); + var rangeArgs = { + colors: [ color1, color2 ], + options: options + }; + if (space) { + space = ColorSpace.get(space); + } else { + space = ColorSpace.registry[defaults.interpolationSpace] || color1.space; + } + outputSpace = outputSpace ? ColorSpace.get(outputSpace) : space; + color1 = to(color1, space); + color2 = to(color2, space); + color1 = toGamut(color1); + color2 = toGamut(color2); + if (space.coords.h && space.coords.h.type === 'angle') { + var arc = options.hue = options.hue || 'shorter'; + var hue = [ space, 'h' ]; + var _ref60 = [ get(color1, hue), get(color2, hue) ], \u03b81 = _ref60[0], \u03b82 = _ref60[1]; + var _adjust = adjust(arc, [ \u03b81, \u03b82 ]); + var _adjust2 = _slicedToArray(_adjust, 2); + \u03b81 = _adjust2[0]; + \u03b82 = _adjust2[1]; + set(color1, hue, \u03b81); + set(color2, hue, \u03b82); + } + if (premultiplied) { + color1.coords = color1.coords.map(function(c4) { + return c4 * color1.alpha; + }); + color2.coords = color2.coords.map(function(c4) { + return c4 * color2.alpha; + }); } - if (el.nodeType === 11) { - el = el.host; + return Object.assign(function(p2) { + p2 = progression ? progression(p2) : p2; + var coords = color1.coords.map(function(start, i) { + var end = color2.coords[i]; + return interpolate(start, end, p2); + }); + var alpha = interpolate(color1.alpha, color2.alpha, p2); + var ret = { + space: space, + coords: coords, + alpha: alpha + }; + if (premultiplied) { + ret.coords = ret.coords.map(function(c4) { + return c4 / alpha; + }); + } + if (outputSpace !== space) { + ret = to(ret, outputSpace); + } + return ret; + }, { + rangeArgs: rangeArgs + }); + } + function isRange(val) { + return type(val) === 'function' && !!val.rangeArgs; + } + defaults.interpolationSpace = 'lab'; + function register(Color3) { + Color3.defineFunction('mix', mix, { + returns: 'color' + }); + Color3.defineFunction('range', range, { + returns: 'function' + }); + Color3.defineFunction('steps', steps, { + returns: 'array' + }); + } + var interpolation = Object.freeze({ + __proto__: null, + mix: mix, + steps: steps, + range: range, + isRange: isRange, + register: register + }); + var HSL = new ColorSpace({ + id: 'hsl', + name: 'HSL', + coords: { + h: { + refRange: [ 0, 360 ], + type: 'angle', + name: 'Hue' + }, + s: { + range: [ 0, 100 ], + name: 'Saturation' + }, + l: { + range: [ 0, 100 ], + name: 'Lightness' + } + }, + base: sRGB, + fromBase: function fromBase(rgb) { + var max2 = Math.max.apply(Math, _toConsumableArray(rgb)); + var min = Math.min.apply(Math, _toConsumableArray(rgb)); + var _rgb = _slicedToArray(rgb, 3), r = _rgb[0], g2 = _rgb[1], b2 = _rgb[2]; + var h = NaN, s = 0, l = (min + max2) / 2; + var d2 = max2 - min; + if (d2 !== 0) { + s = l === 0 || l === 1 ? 0 : (max2 - l) / Math.min(l, 1 - l); + switch (max2) { + case r: + h = (g2 - b2) / d2 + (g2 < b2 ? 6 : 0); + break; + + case g2: + h = (b2 - r) / d2 + 2; + break; + + case b2: + h = (r - g2) / d2 + 4; + } + h = h * 60; + } + return [ h, s * 100, l * 100 ]; + }, + toBase: function toBase(hsl) { + var _hsl = _slicedToArray(hsl, 3), h = _hsl[0], s = _hsl[1], l = _hsl[2]; + h = h % 360; + if (h < 0) { + h += 360; + } + s /= 100; + l /= 100; + function f(n2) { + var k = (n2 + h / 30) % 12; + var a2 = s * Math.min(l, 1 - l); + return l - a2 * Math.max(-1, Math.min(k - 3, 9 - k, 1)); + } + return [ f(0), f(8), f(4) ]; + }, + formats: { + hsl: { + toGamut: true, + coords: [ ' | ', '', '' ] + }, + hsla: { + coords: [ ' | ', '', '' ], + commas: true, + lastAlpha: true + } } - if ([ 'STYLE', 'SCRIPT' ].includes(el.nodeName.toUpperCase())) { - return false; + }); + var HSV = new ColorSpace({ + id: 'hsv', + name: 'HSV', + coords: { + h: { + refRange: [ 0, 360 ], + type: 'angle', + name: 'Hue' + }, + s: { + range: [ 0, 100 ], + name: 'Saturation' + }, + v: { + range: [ 0, 100 ], + name: 'Value' + } + }, + base: HSL, + fromBase: function fromBase(hsl) { + var _hsl2 = _slicedToArray(hsl, 3), h = _hsl2[0], s = _hsl2[1], l = _hsl2[2]; + s /= 100; + l /= 100; + var v = l + s * Math.min(l, 1 - l); + return [ h, v === 0 ? 0 : 200 * (1 - l / v), 100 * v ]; + }, + toBase: function toBase(hsv) { + var _hsv = _slicedToArray(hsv, 3), h = _hsv[0], s = _hsv[1], v = _hsv[2]; + s /= 100; + v /= 100; + var l = v * (1 - s / 2); + return [ h, l === 0 || l === 1 ? 0 : (v - l) / Math.min(l, 1 - l) * 100, l * 100 ]; + }, + formats: { + color: { + toGamut: true + } } - var style = window.getComputedStyle(el, null); - if (!style) { - throw new Error('Style does not exist for the given element.'); + }); + var hwb = new ColorSpace({ + id: 'hwb', + name: 'HWB', + coords: { + h: { + refRange: [ 0, 360 ], + type: 'angle', + name: 'Hue' + }, + w: { + range: [ 0, 100 ], + name: 'Whiteness' + }, + b: { + range: [ 0, 100 ], + name: 'Blackness' + } + }, + base: HSV, + fromBase: function fromBase(hsv) { + var _hsv2 = _slicedToArray(hsv, 3), h = _hsv2[0], s = _hsv2[1], v = _hsv2[2]; + return [ h, v * (100 - s) / 100, 100 - v ]; + }, + toBase: function toBase(hwb2) { + var _hwb = _slicedToArray(hwb2, 3), h = _hwb[0], w = _hwb[1], b2 = _hwb[2]; + w /= 100; + b2 /= 100; + var sum = w + b2; + if (sum >= 1) { + var gray = w / sum; + return [ h, 0, gray * 100 ]; + } + var v = 1 - b2; + var s = v === 0 ? 0 : 1 - w / v; + return [ h, s * 100, v * 100 ]; + }, + formats: { + hwb: { + toGamut: true, + coords: [ ' | ', '', '' ] + } } - var displayValue = style.getPropertyValue('display'); - if (displayValue === 'none') { - return true; + }); + var toXYZ_M$2 = [ [ .5766690429101305, .1855582379065463, .1882286462349947 ], [ .29734497525053605, .6273635662554661, .07529145849399788 ], [ .02703136138641234, .07068885253582723, .9913375368376388 ] ]; + var fromXYZ_M$2 = [ [ 2.0415879038107465, -.5650069742788596, -.34473135077832956 ], [ -.9692436362808795, 1.8759675015077202, .04155505740717557 ], [ .013444280632031142, -.11836239223101838, 1.0151749943912054 ] ]; + var A98Linear = new RGBColorSpace({ + id: 'a98rgb-linear', + name: 'Linear Adobe\xae 98 RGB compatible', + white: 'D65', + toXYZ_M: toXYZ_M$2, + fromXYZ_M: fromXYZ_M$2 + }); + var a98rgb = new RGBColorSpace({ + id: 'a98rgb', + name: 'Adobe\xae 98 RGB compatible', + base: A98Linear, + toBase: function toBase(RGB) { + return RGB.map(function(val) { + return Math.pow(Math.abs(val), 563 / 256) * Math.sign(val); + }); + }, + fromBase: function fromBase(RGB) { + return RGB.map(function(val) { + return Math.pow(Math.abs(val), 256 / 563) * Math.sign(val); + }); + }, + formats: { + color: { + id: 'a98-rgb' + } } - var HIDDEN_VISIBILITY_VALUES = [ 'hidden', 'collapse' ]; - var visibilityValue = style.getPropertyValue('visibility'); - if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && !descendentVisibilityValue) { - return true; + }); + var toXYZ_M$1 = [ [ .7977604896723027, .13518583717574031, .0313493495815248 ], [ .2880711282292934, .7118432178101014, 8565396060525902e-20 ], [ 0, 0, .8251046025104601 ] ]; + var fromXYZ_M$1 = [ [ 1.3457989731028281, -.25558010007997534, -.05110628506753401 ], [ -.5446224939028347, 1.5082327413132781, .02053603239147973 ], [ 0, 0, 1.2119675456389454 ] ]; + var ProPhotoLinear = new RGBColorSpace({ + id: 'prophoto-linear', + name: 'Linear ProPhoto', + white: 'D50', + base: XYZ_D50, + toXYZ_M: toXYZ_M$1, + fromXYZ_M: fromXYZ_M$1 + }); + var Et = 1 / 512; + var Et2 = 16 / 512; + var prophoto = new RGBColorSpace({ + id: 'prophoto', + name: 'ProPhoto', + base: ProPhotoLinear, + toBase: function toBase(RGB) { + return RGB.map(function(v) { + return v < Et2 ? v / 16 : Math.pow(v, 1.8); + }); + }, + fromBase: function fromBase(RGB) { + return RGB.map(function(v) { + return v >= Et ? Math.pow(v, 1 / 1.8) : 16 * v; + }); + }, + formats: { + color: { + id: 'prophoto-rgb' + } } - if (HIDDEN_VISIBILITY_VALUES.includes(visibilityValue) && descendentVisibilityValue && HIDDEN_VISIBILITY_VALUES.includes(descendentVisibilityValue)) { - return true; + }); + var oklch = new ColorSpace({ + id: 'oklch', + name: 'OKLCh', + coords: { + l: { + refRange: [ 0, 1 ], + name: 'Lightness' + }, + c: { + refRange: [ 0, .4 ], + name: 'Chroma' + }, + h: { + refRange: [ 0, 360 ], + type: 'angle', + name: 'Hue' + } + }, + white: 'D65', + base: OKLab, + fromBase: function fromBase(oklab) { + var _oklab = _slicedToArray(oklab, 3), L = _oklab[0], a2 = _oklab[1], b2 = _oklab[2]; + var h; + var \u03b52 = 2e-4; + if (Math.abs(a2) < \u03b52 && Math.abs(b2) < \u03b52) { + h = NaN; + } else { + h = Math.atan2(b2, a2) * 180 / Math.PI; + } + return [ L, Math.sqrt(Math.pow(a2, 2) + Math.pow(b2, 2)), constrain(h) ]; + }, + toBase: function toBase(oklch2) { + var _oklch = _slicedToArray(oklch2, 3), L = _oklch[0], C = _oklch[1], h = _oklch[2]; + var a2, b2; + if (isNaN(h)) { + a2 = 0; + b2 = 0; + } else { + a2 = C * Math.cos(h * Math.PI / 180); + b2 = C * Math.sin(h * Math.PI / 180); + } + return [ L, a2, b2 ]; + }, + formats: { + oklch: { + coords: [ ' | ', '', ' | ' ] + } } - var parent = get_composed_parent_default(el); - if (parent && !HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)) { - return isHiddenWithCSS(parent, visibilityValue); + }); + var Yw = 203; + var n = 2610 / Math.pow(2, 14); + var ninv = Math.pow(2, 14) / 2610; + var m = 2523 / Math.pow(2, 5); + var minv = Math.pow(2, 5) / 2523; + var c1 = 3424 / Math.pow(2, 12); + var c2 = 2413 / Math.pow(2, 7); + var c3 = 2392 / Math.pow(2, 7); + var rec2100Pq = new RGBColorSpace({ + id: 'rec2100pq', + name: 'REC.2100-PQ', + base: REC2020Linear, + toBase: function toBase(RGB) { + return RGB.map(function(val) { + var x = Math.pow(Math.max(Math.pow(val, minv) - c1, 0) / (c2 - c3 * Math.pow(val, minv)), ninv); + return x * 1e4 / Yw; + }); + }, + fromBase: function fromBase(RGB) { + return RGB.map(function(val) { + var x = Math.max(val * Yw / 1e4, 0); + var num = c1 + c2 * Math.pow(x, n); + var denom = 1 + c3 * Math.pow(x, n); + return Math.pow(num / denom, m); + }); + }, + formats: { + color: { + id: 'rec2100-pq' + } } - return false; - } - var is_hidden_with_css_default = isHiddenWithCSS; - function isHTML5(doc) { - var node = doc.doctype; - if (node === null) { - return false; + }); + var a = .17883277; + var b = .28466892; + var c = .55991073; + var scale = 3.7743; + var rec2100Hlg = new RGBColorSpace({ + id: 'rec2100hlg', + cssid: 'rec2100-hlg', + name: 'REC.2100-HLG', + referred: 'scene', + base: REC2020Linear, + toBase: function toBase(RGB) { + return RGB.map(function(val) { + if (val <= .5) { + return Math.pow(val, 2) / 3 * scale; + } + return Math.exp((val - c) / a + b) / 12 * scale; + }); + }, + fromBase: function fromBase(RGB) { + return RGB.map(function(val) { + val /= scale; + if (val <= 1 / 12) { + return Math.sqrt(3 * val); + } + return a * Math.log(12 * val - b) + c; + }); + }, + formats: { + color: { + id: 'rec2100-hlg' + } } - return node.name === 'html' && !node.publicId && !node.systemId; - } - var is_html5_default = isHTML5; - function _isInTabOrder(el) { - var vNode = el instanceof abstract_virtual_node_default ? el : get_node_from_tree_default(el); - if (vNode.props.nodeType !== 1) { - return false; + }); + var CATs = {}; + hooks.add('chromatic-adaptation-start', function(env) { + if (env.options.method) { + env.M = adapt(env.W1, env.W2, env.options.method); } - var tabindex = parseInt(vNode.attr('tabindex', 10)); - if (tabindex <= -1) { - return false; + }); + hooks.add('chromatic-adaptation-end', function(env) { + if (!env.M) { + env.M = adapt(env.W1, env.W2, env.options.method); } - return _isFocusable(vNode); - } - function getRoleType(role) { - var _window3; - if (role instanceof abstract_virtual_node_default || (_window3 = window) !== null && _window3 !== void 0 && _window3.Node && role instanceof window.Node) { - role = axe.commons.aria.getRole(role); + }); + function defineCAT(_ref61) { + var id = _ref61.id, toCone_M = _ref61.toCone_M, fromCone_M = _ref61.fromCone_M; + CATs[id] = arguments[0]; + } + function adapt(W1, W2) { + var id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Bradford'; + var method = CATs[id]; + var _multiplyMatrices5 = multiplyMatrices(method.toCone_M, W1), _multiplyMatrices6 = _slicedToArray(_multiplyMatrices5, 3), \u03c1s = _multiplyMatrices6[0], \u03b3s = _multiplyMatrices6[1], \u03b2s = _multiplyMatrices6[2]; + var _multiplyMatrices7 = multiplyMatrices(method.toCone_M, W2), _multiplyMatrices8 = _slicedToArray(_multiplyMatrices7, 3), \u03c1d = _multiplyMatrices8[0], \u03b3d = _multiplyMatrices8[1], \u03b2d = _multiplyMatrices8[2]; + var scale2 = [ [ \u03c1d / \u03c1s, 0, 0 ], [ 0, \u03b3d / \u03b3s, 0 ], [ 0, 0, \u03b2d / \u03b2s ] ]; + var scaled_cone_M = multiplyMatrices(scale2, method.toCone_M); + var adapt_M = multiplyMatrices(method.fromCone_M, scaled_cone_M); + return adapt_M; + } + defineCAT({ + id: 'von Kries', + toCone_M: [ [ .40024, .7076, -.08081 ], [ -.2263, 1.16532, .0457 ], [ 0, 0, .91822 ] ], + fromCone_M: [ [ 1.8599364, -1.1293816, .2198974 ], [ .3611914, .6388125, -64e-7 ], [ 0, 0, 1.0890636 ] ] + }); + defineCAT({ + id: 'Bradford', + toCone_M: [ [ .8951, .2664, -.1614 ], [ -.7502, 1.7135, .0367 ], [ .0389, -.0685, 1.0296 ] ], + fromCone_M: [ [ .9869929, -.1470543, .1599627 ], [ .4323053, .5183603, .0492912 ], [ -.0085287, .0400428, .9684867 ] ] + }); + defineCAT({ + id: 'CAT02', + toCone_M: [ [ .7328, .4296, -.1624 ], [ -.7036, 1.6975, .0061 ], [ .003, .0136, .9834 ] ], + fromCone_M: [ [ 1.0961238, -.278869, .1827452 ], [ .454369, .4735332, .0720978 ], [ -.0096276, -.005698, 1.0153256 ] ] + }); + defineCAT({ + id: 'CAT16', + toCone_M: [ [ .401288, .650173, -.051461 ], [ -.250268, 1.204414, .045854 ], [ -.002079, .048952, .953127 ] ], + fromCone_M: [ [ 1.862067855087233, -1.011254630531685, .1491867754444518 ], [ .3875265432361372, .6214474419314753, -.008973985167612518 ], [ -.01584149884933386, -.03412293802851557, 1.04996443687785 ] ] + }); + Object.assign(WHITES, { + A: [ 1.0985, 1, .35585 ], + C: [ .98074, 1, 1.18232 ], + D55: [ .95682, 1, .92149 ], + D75: [ .94972, 1, 1.22638 ], + E: [ 1, 1, 1 ], + F2: [ .99186, 1, .67393 ], + F7: [ .95041, 1, 1.08747 ], + F11: [ 1.00962, 1, .6435 ] + }); + WHITES.ACES = [ .32168 / .33767, 1, (1 - .32168 - .33767) / .33767 ]; + var toXYZ_M = [ [ .6624541811085053, .13400420645643313, .1561876870049078 ], [ .27222871678091454, .6740817658111484, .05368951740793705 ], [ -.005574649490394108, .004060733528982826, 1.0103391003129971 ] ]; + var fromXYZ_M = [ [ 1.6410233796943257, -.32480329418479, -.23642469523761225 ], [ -.6636628587229829, 1.6153315916573379, .016756347685530137 ], [ .011721894328375376, -.008284441996237409, .9883948585390215 ] ]; + var ACEScg = new RGBColorSpace({ + id: 'acescg', + name: 'ACEScg', + coords: { + r: { + range: [ 0, 65504 ], + name: 'Red' + }, + g: { + range: [ 0, 65504 ], + name: 'Green' + }, + b: { + range: [ 0, 65504 ], + name: 'Blue' + } + }, + referred: 'scene', + white: WHITES.ACES, + toXYZ_M: toXYZ_M, + fromXYZ_M: fromXYZ_M, + formats: { + color: {} } - var roleDef = standards_default.ariaRoles[role]; - return (roleDef === null || roleDef === void 0 ? void 0 : roleDef.type) || null; - } - var get_role_type_default = getRoleType; - function walkDomNode(node, functor) { - if (functor(node.actualNode) !== false) { - node.children.forEach(function(child) { - return walkDomNode(child, functor); + }); + var \u03b5 = Math.pow(2, -16); + var ACES_min_nonzero = -.35828683; + var ACES_cc_max = (Math.log2(65504) + 9.72) / 17.52; + var acescc = new RGBColorSpace({ + id: 'acescc', + name: 'ACEScc', + coords: { + r: { + range: [ ACES_min_nonzero, ACES_cc_max ], + name: 'Red' + }, + g: { + range: [ ACES_min_nonzero, ACES_cc_max ], + name: 'Green' + }, + b: { + range: [ ACES_min_nonzero, ACES_cc_max ], + name: 'Blue' + } + }, + referred: 'scene', + base: ACEScg, + toBase: function toBase(RGB) { + var low = (9.72 - 15) / 17.52; + return RGB.map(function(val) { + if (val <= low) { + return (Math.pow(2, val * 17.52 - 9.72) - \u03b5) * 2; + } else if (val < ACES_cc_max) { + return Math.pow(2, val * 17.52 - 9.72); + } else { + return 65504; + } }); + }, + fromBase: function fromBase(RGB) { + return RGB.map(function(val) { + if (val <= 0) { + return (Math.log2(\u03b5) + 9.72) / 17.52; + } else if (val < \u03b5) { + return (Math.log2(\u03b5 + val * .5) + 9.72) / 17.52; + } else { + return (Math.log2(val) + 9.72) / 17.52; + } + }); + }, + formats: { + color: {} } - } - var blockLike = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ]; - function isBlock(elm) { - var display = window.getComputedStyle(elm).getPropertyValue('display'); - return blockLike.includes(display) || display.substr(0, 6) === 'table-'; - } - function getBlockParent(node) { - var parentBlock = get_composed_parent_default(node); - while (parentBlock && !isBlock(parentBlock)) { - parentBlock = get_composed_parent_default(parentBlock); - } - return get_node_from_tree_default(parentBlock); - } - function isInTextBlock(node, options) { - if (isBlock(node)) { - return false; + }); + var spaces = Object.freeze({ + __proto__: null, + XYZ_D65: XYZ_D65, + XYZ_D50: XYZ_D50, + XYZ_ABS_D65: XYZ_Abs_D65, + Lab_D65: lab_d65, + Lab: lab, + LCH: lch, + sRGB_Linear: sRGBLinear, + sRGB: sRGB, + HSL: HSL, + HWB: hwb, + HSV: HSV, + P3_Linear: P3Linear, + P3: P3, + A98RGB_Linear: A98Linear, + A98RGB: a98rgb, + ProPhoto_Linear: ProPhotoLinear, + ProPhoto: prophoto, + REC_2020_Linear: REC2020Linear, + REC_2020: REC2020, + OKLab: OKLab, + OKLCH: oklch, + Jzazbz: Jzazbz, + JzCzHz: jzczhz, + ICTCP: ictcp, + REC_2100_PQ: rec2100Pq, + REC_2100_HLG: rec2100Hlg, + ACEScg: ACEScg, + ACEScc: acescc + }); + var _Color = (_space = new WeakMap(), function() { + function Color() { + var _this2 = this; + _classCallCheck(this, Color); + _classPrivateFieldInitSpec(this, _space, void 0); + var color; + for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { + args[_key3] = arguments[_key3]; + } + if (args.length === 1) { + color = getColor(args[0]); + } + var space, coords, alpha; + if (color) { + space = color.space || color.spaceId; + coords = color.coords; + alpha = color.alpha; + } else { + space = args[0]; + coords = args[1]; + alpha = args[2]; + } + _classPrivateFieldSet(_space, this, ColorSpace.get(space)); + this.coords = coords ? coords.slice() : [ 0, 0, 0 ]; + this.alpha = alpha < 1 ? alpha : 1; + for (var _i21 = 0; _i21 < this.coords.length; _i21++) { + if (this.coords[_i21] === 'NaN') { + this.coords[_i21] = NaN; + } + } + var _loop7 = function _loop7(id) { + Object.defineProperty(_this2, id, { + get: function get() { + return _this2.get(id); + }, + set: function set(value) { + return _this2.set(id, value); + } + }); + }; + for (var id in _classPrivateFieldGet(_space, this).coords) { + _loop7(id); + } } - var virtualParent = getBlockParent(node); - var parentText = ''; - var widgetText = ''; - var inBrBlock = 0; - walkDomNode(virtualParent, function(currNode) { - if (inBrBlock === 2) { - return false; + return _createClass(Color, [ { + key: 'space', + get: function get() { + return _classPrivateFieldGet(_space, this); + } + }, { + key: 'spaceId', + get: function get() { + return _classPrivateFieldGet(_space, this).id; } - if (currNode.nodeType === 3) { - parentText += currNode.nodeValue; + }, { + key: 'clone', + value: function clone() { + return new _Color(this.space, this.coords, this.alpha); } - if (currNode.nodeType !== 1) { - return; + }, { + key: 'toJSON', + value: function toJSON() { + return { + spaceId: this.spaceId, + coords: this.coords, + alpha: this.alpha + }; } - var nodeName2 = (currNode.nodeName || '').toUpperCase(); - if (currNode === node) { - inBrBlock = 1; + }, { + key: 'display', + value: function display() { + for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { + args[_key4] = arguments[_key4]; + } + var ret = _display.apply(void 0, [ this ].concat(args)); + ret.color = new _Color(ret.color); + return ret; } - if ([ 'BR', 'HR' ].includes(nodeName2)) { - if (inBrBlock === 0) { - parentText = ''; - widgetText = ''; + } ], [ { + key: 'get', + value: function get(color) { + if (color instanceof _Color) { + return color; + } + for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) { + args[_key5 - 1] = arguments[_key5]; + } + return _construct(_Color, [ color ].concat(args)); + } + }, { + key: 'defineFunction', + value: function defineFunction(name, code) { + var o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : code; + var _o$instance = o.instance, instance = _o$instance === void 0 ? true : _o$instance, returns = o.returns; + var func = function func() { + var ret = code.apply(void 0, arguments); + if (returns === 'color') { + ret = _Color.get(ret); + } else if (returns === 'function') { + var f = ret; + ret = function ret() { + var ret2 = f.apply(void 0, arguments); + return _Color.get(ret2); + }; + Object.assign(ret, f); + } else if (returns === 'array') { + ret = ret.map(function(c4) { + return _Color.get(c4); + }); + } + return ret; + }; + if (!(name in _Color)) { + _Color[name] = func; + } + if (instance) { + _Color.prototype[name] = function() { + for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) { + args[_key6] = arguments[_key6]; + } + return func.apply(void 0, [ this ].concat(args)); + }; + } + } + }, { + key: 'defineFunctions', + value: function defineFunctions(o) { + for (var name in o) { + _Color.defineFunction(name, o[name], o[name]); + } + } + }, { + key: 'extend', + value: function extend(exports) { + if (exports.register) { + exports.register(_Color); } else { - inBrBlock = 2; + for (var name in exports) { + _Color.defineFunction(name, exports[name]); + } } - } else if (currNode.style.display === 'none' || currNode.style.overflow === 'hidden' || ![ '', null, 'none' ].includes(currNode.style['float']) || ![ '', null, 'relative' ].includes(currNode.style.position)) { - return false; - } else if (get_role_type_default(currNode) === 'widget') { - widgetText += currNode.textContent; - return false; } + } ]); + }()); + _Color.defineFunctions({ + get: get, + getAll: getAll, + set: set, + setAll: setAll, + to: to, + equals: equals, + inGamut: inGamut, + toGamut: toGamut, + distance: distance, + toString: serialize + }); + Object.assign(_Color, { + util: util, + hooks: hooks, + WHITES: WHITES, + Space: ColorSpace, + spaces: ColorSpace.registry, + parse: parse2, + defaults: defaults + }); + for (var _i22 = 0, _Object$keys2 = Object.keys(spaces); _i22 < _Object$keys2.length; _i22++) { + var key = _Object$keys2[_i22]; + ColorSpace.register(spaces[key]); + } + for (var id in ColorSpace.registry) { + addSpaceAccessors(id, ColorSpace.registry[id]); + } + hooks.add('colorspace-init-end', function(space) { + var _space$aliases; + addSpaceAccessors(space.id, space); + (_space$aliases = space.aliases) === null || _space$aliases === void 0 || _space$aliases.forEach(function(alias) { + addSpaceAccessors(alias, space); + }); + }); + function addSpaceAccessors(id, space) { + Object.keys(space.coords); + Object.values(space.coords).map(function(c4) { + return c4.name; + }); + var propId = id.replace(/-/g, '_'); + Object.defineProperty(_Color.prototype, propId, { + get: function get() { + var _this3 = this; + var ret = this.getAll(id); + if (typeof Proxy === 'undefined') { + return ret; + } + return new Proxy(ret, { + has: function has(obj, property) { + try { + ColorSpace.resolveCoord([ space, property ]); + return true; + } catch (e) {} + return Reflect.has(obj, property); + }, + get: function get(obj, property, receiver) { + if (property && _typeof(property) !== 'symbol' && !(property in obj)) { + var _ColorSpace$resolveCo3 = ColorSpace.resolveCoord([ space, property ]), index = _ColorSpace$resolveCo3.index; + if (index >= 0) { + return obj[index]; + } + } + return Reflect.get(obj, property, receiver); + }, + set: function set(obj, property, value, receiver) { + if (property && _typeof(property) !== 'symbol' && !(property in obj) || property >= 0) { + var _ColorSpace$resolveCo4 = ColorSpace.resolveCoord([ space, property ]), index = _ColorSpace$resolveCo4.index; + if (index >= 0) { + obj[index] = value; + _this3.setAll(id, obj); + return true; + } + } + return Reflect.set(obj, property, value, receiver); + } + }); + }, + set: function set(coords) { + this.setAll(id, coords); + }, + configurable: true, + enumerable: true }); - parentText = sanitize_default(parentText); - if (options !== null && options !== void 0 && options.noLengthCompare) { - return parentText.length !== 0; - } - widgetText = sanitize_default(widgetText); - return parentText.length > widgetText.length; } - var is_in_text_block_default = isInTextBlock; - function isModalOpen(options) { - options = options || {}; - var modalPercent = options.modalPercent || .75; - if (cache_default.get('isModalOpen')) { - return cache_default.get('isModalOpen'); - } - var definiteModals = query_selector_all_filter_default(axe._tree[0], 'dialog, [role=dialog], [aria-modal=true]', _isVisibleOnScreen); - if (definiteModals.length) { - cache_default.set('isModalOpen', true); - return true; + _Color.extend(deltaEMethods); + _Color.extend({ + deltaE: deltaE + }); + _Color.extend(variations); + _Color.extend({ + contrast: contrast + }); + _Color.extend(chromaticity); + _Color.extend(luminance); + _Color.extend(interpolation); + _Color.extend(contrastMethods); + var import_from2 = __toModule(require_from4()); + import_dot['default'].templateSettings.strip = false; + var hexRegex = /^#[0-9a-f]{3,8}$/i; + var hslRegex = /hsl\(\s*([-\d.]+)(rad|turn)/; + var _Color2 = (_r = new WeakMap(), _g = new WeakMap(), _b = new WeakMap(), _red = new WeakMap(), + _green = new WeakMap(), _blue = new WeakMap(), _Class3_brand = new WeakSet(), + function() { + function Color2(red, green, blue) { + var alpha = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1; + _classCallCheck(this, Color2); + _classPrivateMethodInitSpec(this, _Class3_brand); + _classPrivateFieldInitSpec(this, _r, void 0); + _classPrivateFieldInitSpec(this, _g, void 0); + _classPrivateFieldInitSpec(this, _b, void 0); + _classPrivateFieldInitSpec(this, _red, void 0); + _classPrivateFieldInitSpec(this, _green, void 0); + _classPrivateFieldInitSpec(this, _blue, void 0); + if (red instanceof _Color2) { + var r = red.r, g2 = red.g, b2 = red.b; + this.r = r; + this.g = g2; + this.b = b2; + this.alpha = red.alpha; + return; + } + this.red = red; + this.green = green; + this.blue = blue; + this.alpha = alpha; } - var viewport = get_viewport_size_default(window); - var percentWidth = viewport.width * modalPercent; - var percentHeight = viewport.height * modalPercent; - var x = (viewport.width - percentWidth) / 2; - var y = (viewport.height - percentHeight) / 2; - var points = [ { - x: x, - y: y + return _createClass(Color2, [ { + key: 'r', + get: function get() { + return _classPrivateFieldGet(_r, this); + }, + set: function set(value) { + _classPrivateFieldSet(_r, this, value); + _classPrivateFieldSet(_red, this, Math.round(clamp(value, 0, 1) * 255)); + } }, { - x: viewport.width - x, - y: y + key: 'g', + get: function get() { + return _classPrivateFieldGet(_g, this); + }, + set: function set(value) { + _classPrivateFieldSet(_g, this, value); + _classPrivateFieldSet(_green, this, Math.round(clamp(value, 0, 1) * 255)); + } }, { - x: viewport.width / 2, - y: viewport.height / 2 + key: 'b', + get: function get() { + return _classPrivateFieldGet(_b, this); + }, + set: function set(value) { + _classPrivateFieldSet(_b, this, value); + _classPrivateFieldSet(_blue, this, Math.round(clamp(value, 0, 1) * 255)); + } }, { - x: x, - y: viewport.height - y + key: 'red', + get: function get() { + return _classPrivateFieldGet(_red, this); + }, + set: function set(value) { + _classPrivateFieldSet(_r, this, value / 255); + _classPrivateFieldSet(_red, this, clamp(value, 0, 255)); + } }, { - x: viewport.width - x, - y: viewport.height - y - } ]; - var stacks = points.map(function(point) { - return Array.from(document.elementsFromPoint(point.x, point.y)); - }); - var _loop4 = function _loop4(_i8) { - var modalElement = stacks[_i8].find(function(elm) { - var style = window.getComputedStyle(elm); - return parseInt(style.width, 10) >= percentWidth && parseInt(style.height, 10) >= percentHeight && style.getPropertyValue('pointer-events') !== 'none' && (style.position === 'absolute' || style.position === 'fixed'); - }); - if (modalElement && stacks.every(function(stack) { - return stack.includes(modalElement); - })) { - cache_default.set('isModalOpen', true); + key: 'green', + get: function get() { + return _classPrivateFieldGet(_green, this); + }, + set: function set(value) { + _classPrivateFieldSet(_g, this, value / 255); + _classPrivateFieldSet(_green, this, clamp(value, 0, 255)); + } + }, { + key: 'blue', + get: function get() { + return _classPrivateFieldGet(_blue, this); + }, + set: function set(value) { + _classPrivateFieldSet(_b, this, value / 255); + _classPrivateFieldSet(_blue, this, clamp(value, 0, 255)); + } + }, { + key: 'toHexString', + value: function toHexString() { + var redString = Math.round(this.red).toString(16); + var greenString = Math.round(this.green).toString(16); + var blueString = Math.round(this.blue).toString(16); + return '#' + (this.red > 15.5 ? redString : '0' + redString) + (this.green > 15.5 ? greenString : '0' + greenString) + (this.blue > 15.5 ? blueString : '0' + blueString); + } + }, { + key: 'toJSON', + value: function toJSON() { + var red = this.red, green = this.green, blue = this.blue, alpha = this.alpha; return { - v: true + red: red, + green: green, + blue: blue, + alpha: alpha }; } - }; - for (var _i8 = 0; _i8 < stacks.length; _i8++) { - var _ret = _loop4(_i8); - if (_typeof(_ret) === 'object') { - return _ret.v; - } - } - cache_default.set('isModalOpen', void 0); - return void 0; - } - var is_modal_open_default = isModalOpen; - function _isMultiline(domNode) { - var margin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2; - var range = domNode.ownerDocument.createRange(); - range.setStart(domNode, 0); - range.setEnd(domNode, domNode.childNodes.length); - var lastLineEnd = 0; - var lineCount = 0; - var _iterator4 = _createForOfIteratorHelper(range.getClientRects()), _step4; - try { - for (_iterator4.s(); !(_step4 = _iterator4.n()).done; ) { - var rect = _step4.value; - if (rect.height <= margin) { - continue; - } - if (lastLineEnd > rect.top + margin) { - lastLineEnd = Math.max(lastLineEnd, rect.bottom); - } else if (lineCount === 0) { - lastLineEnd = rect.bottom; - lineCount++; - } else { - return true; + }, { + key: 'parseString', + value: function parseString(colorString) { + colorString = colorString.replace(hslRegex, function(match, angle, unit) { + var value = angle + unit; + switch (unit) { + case 'rad': + return match.replace(value, radToDeg(angle)); + + case 'turn': + return match.replace(value, turnToDeg(angle)); + } + }); + try { + var prototypeArrayFrom; + if ('Prototype' in window && 'Version' in window.Prototype) { + prototypeArrayFrom = Array.from; + Array.from = import_from2['default']; + } + var _color2 = new _Color(colorString).to('srgb'); + if (prototypeArrayFrom) { + Array.from = prototypeArrayFrom; + prototypeArrayFrom = null; + } + this.r = _color2.r; + this.g = _color2.g; + this.b = _color2.b; + this.alpha = +_color2.alpha; + } catch (_unused4) { + throw new Error('Unable to parse color "'.concat(colorString, '"')); } + return this; } - } catch (err) { - _iterator4.e(err); - } finally { - _iterator4.f(); - } - return false; - } - function isNode(element) { - return element instanceof window.Node; - } - var is_node_default = isNode; - var data = {}; - var incompleteData = { - set: function set(key, reason) { - if (typeof key !== 'string') { - throw new Error('Incomplete data: key must be a string'); + }, { + key: 'parseRgbString', + value: function parseRgbString(colorString) { + this.parseString(colorString); } - if (reason) { - data[key] = reason; + }, { + key: 'parseHexString', + value: function parseHexString(colorString) { + if (!colorString.match(hexRegex) || [ 6, 8 ].includes(colorString.length)) { + return; + } + this.parseString(colorString); } - return data[key]; - }, - get: function get(key) { - return data[key]; - }, - clear: function clear() { - data = {}; - } - }; - var incomplete_data_default = incompleteData; - function elementHasImage(elm, style) { - var graphicNodes = [ 'IMG', 'CANVAS', 'OBJECT', 'IFRAME', 'VIDEO', 'SVG' ]; - var nodeName2 = elm.nodeName.toUpperCase(); - if (graphicNodes.includes(nodeName2)) { - incomplete_data_default.set('bgColor', 'imgNode'); - return true; - } - style = style || window.getComputedStyle(elm); - var bgImageStyle = style.getPropertyValue('background-image'); - var hasBgImage = bgImageStyle !== 'none'; - if (hasBgImage) { - var hasGradient = /gradient/.test(bgImageStyle); - incomplete_data_default.set('bgColor', hasGradient ? 'bgGradient' : 'bgImage'); - } - return hasBgImage; - } - var element_has_image_default = elementHasImage; - function convertColorVal(colorFunc, value, index) { - if (/%$/.test(value)) { - if (index === 3) { - return parseFloat(value) / 100; - } - return parseFloat(value) * 255 / 100; - } - if (colorFunc[index] === 'h') { - if (/turn$/.test(value)) { - return parseFloat(value) * 360; - } - if (/rad$/.test(value)) { - return parseFloat(value) * 57.3; - } - } - return parseFloat(value); - } - function hslToRgb(_ref36) { - var _ref37 = _slicedToArray(_ref36, 4), hue = _ref37[0], saturation = _ref37[1], lightness = _ref37[2], alpha = _ref37[3]; - saturation /= 255; - lightness /= 255; - var high = (1 - Math.abs(2 * lightness - 1)) * saturation; - var low = high * (1 - Math.abs(hue / 60 % 2 - 1)); - var base = lightness - high / 2; - var colors; - if (hue < 60) { - colors = [ high, low, 0 ]; - } else if (hue < 120) { - colors = [ low, high, 0 ]; - } else if (hue < 180) { - colors = [ 0, high, low ]; - } else if (hue < 240) { - colors = [ 0, low, high ]; - } else if (hue < 300) { - colors = [ low, 0, high ]; - } else { - colors = [ high, 0, low ]; - } - return colors.map(function(color) { - return Math.round((color + base) * 255); - }).concat(alpha); - } - function Color(red, green, blue) { - var alpha = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1; - this.red = red; - this.green = green; - this.blue = blue; - this.alpha = alpha; - this.toHexString = function toHexString() { - var redString = Math.round(this.red).toString(16); - var greenString = Math.round(this.green).toString(16); - var blueString = Math.round(this.blue).toString(16); - return '#' + (this.red > 15.5 ? redString : '0' + redString) + (this.green > 15.5 ? greenString : '0' + greenString) + (this.blue > 15.5 ? blueString : '0' + blueString); - }; - this.toJSON = function toJSON() { - var red2 = this.red, green2 = this.green, blue2 = this.blue, alpha2 = this.alpha; - return { - red: red2, - green: green2, - blue: blue2, - alpha: alpha2 - }; - }; - var hexRegex = /^#[0-9a-f]{3,8}$/i; - var colorFnRegex = /^((?:rgb|hsl)a?)\s*\(([^\)]*)\)/i; - this.parseString = function parseString(colorString) { - if (standards_default.cssColors[colorString] || colorString === 'transparent') { - var _ref38 = standards_default.cssColors[colorString] || [ 0, 0, 0 ], _ref39 = _slicedToArray(_ref38, 3), red2 = _ref39[0], green2 = _ref39[1], blue2 = _ref39[2]; - this.red = red2; - this.green = green2; - this.blue = blue2; - this.alpha = colorString === 'transparent' ? 0 : 1; - return this; + }, { + key: 'parseColorFnString', + value: function parseColorFnString(colorString) { + this.parseString(colorString); } - if (colorString.match(colorFnRegex)) { - this.parseColorFnString(colorString); - return this; + }, { + key: 'getRelativeLuminance', + value: function getRelativeLuminance() { + var rSRGB = this.r, gSRGB = this.g, bSRGB = this.b; + var r = rSRGB <= .03928 ? rSRGB / 12.92 : Math.pow((rSRGB + .055) / 1.055, 2.4); + var g2 = gSRGB <= .03928 ? gSRGB / 12.92 : Math.pow((gSRGB + .055) / 1.055, 2.4); + var b2 = bSRGB <= .03928 ? bSRGB / 12.92 : Math.pow((bSRGB + .055) / 1.055, 2.4); + return .2126 * r + .7152 * g2 + .0722 * b2; } - if (colorString.match(hexRegex)) { - this.parseHexString(colorString); - return this; + }, { + key: 'getLuminosity', + value: function getLuminosity() { + return .3 * this.r + .59 * this.g + .11 * this.b; } - throw new Error('Unable to parse color "'.concat(colorString, '"')); - }; - this.parseRgbString = function parseRgbString(colorString) { - if (colorString === 'transparent') { - this.red = 0; - this.green = 0; - this.blue = 0; - this.alpha = 0; - return; + }, { + key: 'setLuminosity', + value: function setLuminosity(L) { + var d2 = L - this.getLuminosity(); + return _assertClassBrand(_Class3_brand, this, _add).call(this, d2).clip(); } - this.parseColorFnString(colorString); - }; - this.parseHexString = function parseHexString(colorString) { - if (!colorString.match(hexRegex) || [ 6, 8 ].includes(colorString.length)) { - return; + }, { + key: 'getSaturation', + value: function getSaturation() { + return Math.max(this.r, this.g, this.b) - Math.min(this.r, this.g, this.b); } - colorString = colorString.replace('#', ''); - if (colorString.length < 6) { - var _colorString = colorString, _colorString2 = _slicedToArray(_colorString, 4), r = _colorString2[0], g = _colorString2[1], b = _colorString2[2], a = _colorString2[3]; - colorString = r + r + g + g + b + b; - if (a) { - colorString += a + a; + }, { + key: 'setSaturation', + value: function setSaturation(s) { + var C = new _Color2(this); + var colorEntires = [ { + name: 'r', + value: C.r + }, { + name: 'g', + value: C.g + }, { + name: 'b', + value: C.b + } ]; + var _colorEntires$sort = colorEntires.sort(function(a2, b2) { + return a2.value - b2.value; + }), _colorEntires$sort2 = _slicedToArray(_colorEntires$sort, 3), Cmin = _colorEntires$sort2[0], Cmid = _colorEntires$sort2[1], Cmax = _colorEntires$sort2[2]; + if (Cmax.value > Cmin.value) { + Cmid.value = (Cmid.value - Cmin.value) * s / (Cmax.value - Cmin.value); + Cmax.value = s; + } else { + Cmid.value = Cmax.value = 0; } + Cmin.value = 0; + C[Cmax.name] = Cmax.value; + C[Cmin.name] = Cmin.value; + C[Cmid.name] = Cmid.value; + return C; } - var aRgbHex = colorString.match(/.{1,2}/g); - this.red = parseInt(aRgbHex[0], 16); - this.green = parseInt(aRgbHex[1], 16); - this.blue = parseInt(aRgbHex[2], 16); - if (aRgbHex[3]) { - this.alpha = parseInt(aRgbHex[3], 16) / 255; - } else { - this.alpha = 1; - } - }; - this.parseColorFnString = function parseColorFnString(colorString) { - var _ref40 = colorString.match(colorFnRegex) || [], _ref41 = _slicedToArray(_ref40, 3), colorFunc = _ref41[1], colorValStr = _ref41[2]; - if (!colorFunc || !colorValStr) { - return; - } - var colorVals = colorValStr.split(/\s*[,\/\s]\s*/).map(function(str) { - return str.replace(',', '').trim(); - }).filter(function(str) { - return str !== ''; - }); - var colorNums = colorVals.map(function(val, index) { - return convertColorVal(colorFunc, val, index); - }); - if (colorFunc.substr(0, 3) === 'hsl') { - colorNums = hslToRgb(colorNums); + }, { + key: 'clip', + value: function clip() { + var C = new _Color2(this); + var L = C.getLuminosity(); + var n2 = Math.min(C.r, C.g, C.b); + var x = Math.max(C.r, C.g, C.b); + if (n2 < 0) { + C.r = L + (C.r - L) * L / (L - n2); + C.g = L + (C.g - L) * L / (L - n2); + C.b = L + (C.b - L) * L / (L - n2); + } + if (x > 1) { + C.r = L + (C.r - L) * (1 - L) / (x - L); + C.g = L + (C.g - L) * (1 - L) / (x - L); + C.b = L + (C.b - L) * (1 - L) / (x - L); + } + return C; } - this.red = colorNums[0]; - this.green = colorNums[1]; - this.blue = colorNums[2]; - this.alpha = typeof colorNums[3] === 'number' ? colorNums[3] : 1; - }; - this.getRelativeLuminance = function getRelativeLuminance() { - var rSRGB = this.red / 255; - var gSRGB = this.green / 255; - var bSRGB = this.blue / 255; - var r = rSRGB <= .03928 ? rSRGB / 12.92 : Math.pow((rSRGB + .055) / 1.055, 2.4); - var g = gSRGB <= .03928 ? gSRGB / 12.92 : Math.pow((gSRGB + .055) / 1.055, 2.4); - var b = bSRGB <= .03928 ? bSRGB / 12.92 : Math.pow((bSRGB + .055) / 1.055, 2.4); - return .2126 * r + .7152 * g + .0722 * b; - }; + } ]); + }()); + function _add(value) { + var C = new _Color2(this); + C.r += value; + C.g += value; + C.b += value; + return C; + } + var color_default = _Color2; + function clamp(value, min, max2) { + return Math.min(Math.max(min, value), max2); + } + function radToDeg(rad) { + return rad * 180 / Math.PI; + } + function turnToDeg(turn) { + return turn * 360; } - var color_default = Color; function getOwnBackgroundColor(elmStyle) { var bgColor = new color_default(); bgColor.parseString(elmStyle.getPropertyValue('background-color')); @@ -12244,9 +17739,9 @@ } } if (matchesClipPath) { - var type = matchesClipPath[1]; + var type2 = matchesClipPath[1]; var value = parseInt(matchesClipPath[2], 10); - switch (type) { + switch (type2) { case 'inset': return value >= 50; @@ -12275,8 +17770,8 @@ if (!refs || !refs.length) { return false; } - return refs.some(function(_ref42) { - var actualNode = _ref42.actualNode; + return refs.some(function(_ref62) { + var actualNode = _ref62.actualNode; return isVisible(actualNode, screenReader, recursed); }); } @@ -12288,7 +17783,7 @@ var vNode = el instanceof abstract_virtual_node_default ? el : get_node_from_tree_default(el); el = vNode ? vNode.actualNode : el; var cacheName = '_isVisible' + (screenReader ? 'ScreenReader' : ''); - var _ref43 = (_window$Node2 = window.Node) !== null && _window$Node2 !== void 0 ? _window$Node2 : {}, DOCUMENT_NODE = _ref43.DOCUMENT_NODE, DOCUMENT_FRAGMENT_NODE = _ref43.DOCUMENT_FRAGMENT_NODE; + var _ref63 = (_window$Node2 = window.Node) !== null && _window$Node2 !== void 0 ? _window$Node2 : {}, DOCUMENT_NODE = _ref63.DOCUMENT_NODE, DOCUMENT_FRAGMENT_NODE = _ref63.DOCUMENT_FRAGMENT_NODE; var nodeType = vNode ? vNode.props.nodeType : el.nodeType; var nodeName2 = vNode ? vNode.props.nodeName : el.nodeName.toLowerCase(); if (vNode && typeof vNode[cacheName] !== 'undefined') { @@ -12332,7 +17827,7 @@ } var elHeight = parseInt(style.getPropertyValue('height')); var elWidth = parseInt(style.getPropertyValue('width')); - var scroll = _getScroll(el); + var scroll = get_scroll_default(el); var scrollableWithZeroHeight = scroll && elHeight === 0; var scrollableWithZeroWidth = scroll && elWidth === 0; var posAbsoluteOverflowHiddenAndSmall = style.getPropertyValue('position') === 'absolute' && (elHeight < 2 || elWidth < 2) && style.getPropertyValue('overflow') === 'hidden'; @@ -12387,7 +17882,7 @@ var vNode = get_node_from_tree_default(node); var ancestor = vNode.parent; while (ancestor) { - if (_getScroll(ancestor.actualNode)) { + if (get_scroll_default(ancestor.actualNode)) { return ancestor.actualNode; } ancestor = ancestor.parent; @@ -12491,8 +17986,8 @@ } for (var index = 0; index < pairs.length; index++) { var pair = pairs[index]; - var _pair$split = pair.split('='), _pair$split2 = _slicedToArray(_pair$split, 2), key = _pair$split2[0], _pair$split2$ = _pair$split2[1], value = _pair$split2$ === void 0 ? '' : _pair$split2$; - query[decodeURIComponent(key)] = decodeURIComponent(value); + var _pair$split = pair.split('='), _pair$split2 = _slicedToArray(_pair$split, 2), _key7 = _pair$split2[0], _pair$split2$ = _pair$split2[1], value = _pair$split2$ === void 0 ? '' : _pair$split2$; + query[decodeURIComponent(_key7)] = decodeURIComponent(value); } return query; } @@ -12532,57 +18027,56 @@ return true; } var visually_overlaps_default = visuallyOverlaps; - var isXHTMLGlobal; - var nodeIndex = 0; + var nodeIndex2 = 0; var VirtualNode = function(_abstract_virtual_nod) { - _inherits(VirtualNode, _abstract_virtual_nod); - var _super = _createSuper(VirtualNode); function VirtualNode(node, parent, shadowId) { - var _this; + var _this4; _classCallCheck(this, VirtualNode); - _this = _super.call(this); - _this.shadowId = shadowId; - _this.children = []; - _this.actualNode = node; - _this.parent = parent; + _this4 = _callSuper(this, VirtualNode); + _this4.shadowId = shadowId; + _this4.children = []; + _this4.actualNode = node; + _this4.parent = parent; if (!parent) { - nodeIndex = 0; + nodeIndex2 = 0; } - _this.nodeIndex = nodeIndex++; - _this._isHidden = null; - _this._cache = {}; - if (typeof isXHTMLGlobal === 'undefined') { - isXHTMLGlobal = is_xhtml_default(node.ownerDocument); - } - _this._isXHTML = isXHTMLGlobal; + _this4.nodeIndex = nodeIndex2++; + _this4._isHidden = null; + _this4._cache = {}; + _this4._isXHTML = is_xhtml_default(node.ownerDocument); if (node.nodeName.toLowerCase() === 'input') { - var type = node.getAttribute('type'); - type = _this._isXHTML ? type : (type || '').toLowerCase(); - if (!valid_input_type_default().includes(type)) { - type = 'text'; + var type2 = node.getAttribute('type'); + type2 = _this4._isXHTML ? type2 : (type2 || '').toLowerCase(); + if (!valid_input_type_default().includes(type2)) { + type2 = 'text'; } - _this._type = type; + _this4._type = type2; } if (cache_default.get('nodeMap')) { - cache_default.get('nodeMap').set(node, _assertThisInitialized(_this)); + cache_default.get('nodeMap').set(node, _this4); } - return _this; + return _this4; } - _createClass(VirtualNode, [ { + _inherits(VirtualNode, _abstract_virtual_nod); + return _createClass(VirtualNode, [ { key: 'props', get: function get() { if (!this._cache.hasOwnProperty('props')) { - var _this$actualNode = this.actualNode, nodeType = _this$actualNode.nodeType, nodeName2 = _this$actualNode.nodeName, id = _this$actualNode.id, multiple = _this$actualNode.multiple, nodeValue = _this$actualNode.nodeValue, value = _this$actualNode.value, selected = _this$actualNode.selected; + var _this$actualNode = this.actualNode, nodeType = _this$actualNode.nodeType, nodeName2 = _this$actualNode.nodeName, _id = _this$actualNode.id, nodeValue = _this$actualNode.nodeValue; this._cache.props = { nodeType: nodeType, nodeName: this._isXHTML ? nodeName2 : nodeName2.toLowerCase(), - id: id, + id: _id, type: this._type, - multiple: multiple, - nodeValue: nodeValue, - value: value, - selected: selected + nodeValue: nodeValue }; + if (nodeType === 1) { + this._cache.props.multiple = this.actualNode.multiple; + this._cache.props.value = this.actualNode.value; + this._cache.props.selected = this.actualNode.selected; + this._cache.props.checked = this.actualNode.checked; + this._cache.props.indeterminate = this.actualNode.indeterminate; + } } return this._cache.props; } @@ -12665,7 +18159,6 @@ return this._cache.boundingClientRect; } } ]); - return VirtualNode; }(abstract_virtual_node_default); var virtual_node_default = VirtualNode; function tokenList(str) { @@ -12679,8 +18172,8 @@ return; } var shadowId = domTree[0].shadowId; - for (var _i9 = 0; _i9 < expressions.length; _i9++) { - if (expressions[_i9].length > 1 && expressions[_i9].some(function(expression) { + for (var _i23 = 0; _i23 < expressions.length; _i23++) { + if (expressions[_i23].length > 1 && expressions[_i23].some(function(expression) { return isGlobalSelector(expression); })) { return; @@ -12690,7 +18183,7 @@ expressions.forEach(function(expression) { var _matchingNodes$nodes; var matchingNodes = findMatchingNodes(expression, selectorMap, shadowId); - matchingNodes === null || matchingNodes === void 0 ? void 0 : (_matchingNodes$nodes = matchingNodes.nodes) === null || _matchingNodes$nodes === void 0 ? void 0 : _matchingNodes$nodes.forEach(function(node) { + matchingNodes === null || matchingNodes === void 0 || (_matchingNodes$nodes = matchingNodes.nodes) === null || _matchingNodes$nodes === void 0 || _matchingNodes$nodes.forEach(function(node) { if (matchingNodes.isComplexSelector && !_matchesExpression(node, expression)) { return; } @@ -12704,8 +18197,8 @@ if (filter) { matchedNodes = matchedNodes.filter(filter); } - return matchedNodes.sort(function(a, b) { - return a.nodeIndex - b.nodeIndex; + return matchedNodes.sort(function(a2, b2) { + return a2.nodeIndex - b2.nodeIndex; }); } function findMatchingNodes(expression, selectorMap, shadowId) { @@ -12717,7 +18210,7 @@ } else { if (exp.id) { var _selectorMap$idsKey$e; - if (!selectorMap[idsKey] || !((_selectorMap$idsKey$e = selectorMap[idsKey][exp.id]) !== null && _selectorMap$idsKey$e !== void 0 && _selectorMap$idsKey$e.length)) { + if (!selectorMap[idsKey] || !Object.hasOwn(selectorMap[idsKey], exp.id) || !((_selectorMap$idsKey$e = selectorMap[idsKey][exp.id]) !== null && _selectorMap$idsKey$e !== void 0 && _selectorMap$idsKey$e.length)) { return; } nodes = selectorMap[idsKey][exp.id].filter(function(node) { @@ -12741,9 +18234,9 @@ nodes = nodes ? getSharedValues(_cachedNodes, nodes) : _cachedNodes; } if (exp.attributes) { - for (var _i10 = 0; _i10 < exp.attributes.length; _i10++) { + for (var _i24 = 0; _i24 < exp.attributes.length; _i24++) { var _selectorMap; - var attr = exp.attributes[_i10]; + var attr = exp.attributes[_i24]; if (attr.type === 'attrValue') { isComplexSelector = true; } @@ -12763,13 +18256,15 @@ function isGlobalSelector(expression) { return expression.tag === '*' && !expression.attributes && !expression.id && !expression.classes; } - function getSharedValues(a, b) { - return a.filter(function(node) { - return b.includes(node); + function getSharedValues(a2, b2) { + return a2.filter(function(node) { + return b2.includes(node); }); } function cacheSelector(key, vNode, map) { - map[key] = map[key] || []; + if (!Object.hasOwn(map, key)) { + map[key] = []; + } map[key].push(vNode); } function cacheNodeSelectors(vNode, selectorMap) { @@ -12789,6 +18284,18 @@ }); } var hasShadowRoot; + function _getFlattenedTree() { + var node = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document.documentElement; + var shadowId = arguments.length > 1 ? arguments[1] : undefined; + hasShadowRoot = false; + var selectorMap = {}; + cache_default.set('nodeMap', new WeakMap()); + cache_default.set('selectorMap', selectorMap); + var tree = flattenTree(node, shadowId, null); + tree[0]._selectorMap = selectorMap; + tree[0]._hasShadowRoot = hasShadowRoot; + return tree; + } function getSlotChildren(node) { var retVal = []; node = node.firstChild; @@ -12804,9 +18311,9 @@ return vNode; } function flattenTree(node, shadowId, parent) { - var retVal, realArray, nodeName2; - function reduceShadowDOM(res, child, parent2) { - var replacements = flattenTree(child, shadowId, parent2); + var retVal, realArray; + function reduceShadowDOM(res, child, parentVNode) { + var replacements = flattenTree(child, shadowId, parentVNode); if (replacements) { res = res.concat(replacements); } @@ -12815,7 +18322,7 @@ if (node.documentElement) { node = node.documentElement; } - nodeName2 = node.nodeName.toLowerCase(); + var nodeName2 = node.nodeName.toLowerCase(); if (is_shadow_root_default(node)) { hasShadowRoot = true; retVal = createNode(node, parent, shadowId); @@ -12863,19 +18370,6 @@ } } } - function getFlattenedTree() { - var node = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document.documentElement; - var shadowId = arguments.length > 1 ? arguments[1] : undefined; - hasShadowRoot = false; - var selectorMap = {}; - cache_default.set('nodeMap', new WeakMap()); - cache_default.set('selectorMap', selectorMap); - var tree = flattenTree(node, shadowId, null); - tree[0]._selectorMap = selectorMap; - tree[0]._hasShadowRoot = hasShadowRoot; - return tree; - } - var get_flattened_tree_default = getFlattenedTree; function getBaseLang(lang) { if (!lang) { return ''; @@ -12903,48 +18397,14 @@ } var failure_summary_default = failureSummary; function incompleteFallbackMessage() { - var incompleteFallbackMessage2 = axe._audit.data.incompleteFallbackMessage; - if (typeof incompleteFallbackMessage2 === 'function') { - incompleteFallbackMessage2 = incompleteFallbackMessage2(); + var message = axe._audit.data.incompleteFallbackMessage; + if (typeof message === 'function') { + message = message(); } - if (typeof incompleteFallbackMessage2 !== 'string') { + if (typeof message !== 'string') { return ''; } - return incompleteFallbackMessage2; - } - function normalizeRelatedNodes(node, options) { - [ 'any', 'all', 'none' ].forEach(function(type) { - if (!Array.isArray(node[type])) { - return; - } - node[type].filter(function(checkRes) { - return Array.isArray(checkRes.relatedNodes); - }).forEach(function(checkRes) { - checkRes.relatedNodes = checkRes.relatedNodes.map(function(relatedNode) { - var _relatedNode$source; - var res = { - html: (_relatedNode$source = relatedNode === null || relatedNode === void 0 ? void 0 : relatedNode.source) !== null && _relatedNode$source !== void 0 ? _relatedNode$source : 'Undefined' - }; - if (options.elementRef && !(relatedNode !== null && relatedNode !== void 0 && relatedNode.fromFrame)) { - var _relatedNode$element; - res.element = (_relatedNode$element = relatedNode === null || relatedNode === void 0 ? void 0 : relatedNode.element) !== null && _relatedNode$element !== void 0 ? _relatedNode$element : null; - } - if (options.selectors !== false || relatedNode !== null && relatedNode !== void 0 && relatedNode.fromFrame) { - var _relatedNode$selector; - res.target = (_relatedNode$selector = relatedNode === null || relatedNode === void 0 ? void 0 : relatedNode.selector) !== null && _relatedNode$selector !== void 0 ? _relatedNode$selector : [ ':root' ]; - } - if (options.ancestry) { - var _relatedNode$ancestry; - res.ancestry = (_relatedNode$ancestry = relatedNode === null || relatedNode === void 0 ? void 0 : relatedNode.ancestry) !== null && _relatedNode$ancestry !== void 0 ? _relatedNode$ancestry : [ ':root' ]; - } - if (options.xpath) { - var _relatedNode$xpath; - res.xpath = (_relatedNode$xpath = relatedNode === null || relatedNode === void 0 ? void 0 : relatedNode.xpath) !== null && _relatedNode$xpath !== void 0 ? _relatedNode$xpath : [ '/' ]; - } - return res; - }); - }); - }); + return message; } var resultKeys = constants_default.resultGroups; function processAggregate(results, options) { @@ -12962,19 +18422,8 @@ if (Array.isArray(ruleResult.nodes) && ruleResult.nodes.length > 0) { ruleResult.nodes = ruleResult.nodes.map(function(subResult) { if (_typeof(subResult.node) === 'object') { - subResult.html = subResult.node.source; - if (options.elementRef && !subResult.node.fromFrame) { - subResult.element = subResult.node.element; - } - if (options.selectors !== false || subResult.node.fromFrame) { - subResult.target = subResult.node.selector; - } - if (options.ancestry) { - subResult.ancestry = subResult.node.ancestry; - } - if (options.xpath) { - subResult.xpath = subResult.node.xpath; - } + var serialElm = trimElementSpec(subResult.node, options); + Object.assign(subResult, serialElm); } delete subResult.result; delete subResult.node; @@ -12982,8 +18431,8 @@ return subResult; }); } - resultKeys.forEach(function(key2) { - return delete ruleResult[key2]; + resultKeys.forEach(function(resultKey) { + return delete ruleResult[resultKey]; }); delete ruleResult.pageLevel; delete ruleResult.result; @@ -12992,56 +18441,98 @@ }); return resultObject; } - var process_aggregate_default = processAggregate; + function normalizeRelatedNodes(node, options) { + [ 'any', 'all', 'none' ].forEach(function(type2) { + if (!Array.isArray(node[type2])) { + return; + } + node[type2].filter(function(checkRes) { + return Array.isArray(checkRes.relatedNodes); + }).forEach(function(checkRes) { + checkRes.relatedNodes = checkRes.relatedNodes.map(function(relatedNode) { + return trimElementSpec(relatedNode, options); + }); + }); + }); + } + function trimElementSpec() { + var elmSpec = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var runOptions = arguments.length > 1 ? arguments[1] : undefined; + elmSpec = node_serializer_default.dqElmToSpec(elmSpec, runOptions); + var serialElm = {}; + if (axe._audit.noHtml) { + serialElm.html = null; + } else { + var _elmSpec$source; + serialElm.html = (_elmSpec$source = elmSpec.source) !== null && _elmSpec$source !== void 0 ? _elmSpec$source : 'Undefined'; + } + if (runOptions.elementRef && !elmSpec.fromFrame) { + var _elmSpec$element; + serialElm.element = (_elmSpec$element = elmSpec.element) !== null && _elmSpec$element !== void 0 ? _elmSpec$element : null; + } + if (runOptions.selectors !== false || elmSpec.fromFrame) { + var _elmSpec$selector; + serialElm.target = (_elmSpec$selector = elmSpec.selector) !== null && _elmSpec$selector !== void 0 ? _elmSpec$selector : [ ':root' ]; + } + if (runOptions.ancestry) { + var _elmSpec$ancestry; + serialElm.ancestry = (_elmSpec$ancestry = elmSpec.ancestry) !== null && _elmSpec$ancestry !== void 0 ? _elmSpec$ancestry : [ ':root' ]; + } + if (runOptions.xpath) { + var _elmSpec$xpath; + serialElm.xpath = (_elmSpec$xpath = elmSpec.xpath) !== null && _elmSpec$xpath !== void 0 ? _elmSpec$xpath : [ '/' ]; + } + return serialElm; + } var dataRegex = /\$\{\s?data\s?\}/g; - function substitute(str, data2) { - if (typeof data2 === 'string') { - return str.replace(dataRegex, data2); + function substitute(str, data) { + if (typeof data === 'string') { + return str.replace(dataRegex, data); } - for (var prop in data2) { - if (data2.hasOwnProperty(prop)) { + for (var prop in data) { + if (data.hasOwnProperty(prop)) { var regex = new RegExp('\\${\\s?data\\.' + prop + '\\s?}', 'g'); - var replace = typeof data2[prop] === 'undefined' ? '' : String(data2[prop]); + var replace = typeof data[prop] === 'undefined' ? '' : String(data[prop]); str = str.replace(regex, replace); } } return str; } - function processMessage(message, data2) { + function processMessage(message, data) { if (!message) { return; } - if (Array.isArray(data2)) { - data2.values = data2.join(', '); + if (Array.isArray(data)) { + data.values = data.join(', '); if (typeof message.singular === 'string' && typeof message.plural === 'string') { - var str2 = data2.length === 1 ? message.singular : message.plural; - return substitute(str2, data2); + var str2 = data.length === 1 ? message.singular : message.plural; + return substitute(str2, data); } - return substitute(message, data2); + return substitute(message, data); } if (typeof message === 'string') { - return substitute(message, data2); + return substitute(message, data); } - if (typeof data2 === 'string') { - var _str = message[data2]; - return substitute(_str, data2); + if (typeof data === 'string') { + var _str = message[data]; + return substitute(_str, data); } var str = message['default'] || incompleteFallbackMessage(); - if (data2 && data2.messageKey && message[data2.messageKey]) { - str = message[data2.messageKey]; + if (data && data.messageKey && message[data.messageKey]) { + str = message[data.messageKey]; } - return processMessage(str, data2); + return processMessage(str, data); } var process_message_default = processMessage; - function getCheckMessage(checkId, type, data2) { + function getCheckMessage(checkId, type2, data) { var check = axe._audit.data.checks[checkId]; if (!check) { throw new Error('Cannot get message for unknown check: '.concat(checkId, '.')); } - if (!check.messages[type]) { - throw new Error('Check "'.concat(checkId, '"" does not have a "').concat(type, '" message.')); + if (!check.messages[type2]) { + throw new Error('Check "'.concat(checkId, '"" does not have a "').concat(type2, '" message.')); } - return process_message_default(check.messages[type], data2); + return process_message_default(check.messages[type2], data); } var get_check_message_default = getCheckMessage; function getCheckOption(check, ruleID, options) { @@ -13098,22 +18589,22 @@ if (!win.navigator || _typeof(win.navigator) !== 'object') { return {}; } - var navigator = win.navigator, innerHeight = win.innerHeight, innerWidth = win.innerWidth; - var _ref44 = getOrientation(win) || {}, angle = _ref44.angle, type = _ref44.type; + var navigator2 = win.navigator, innerHeight = win.innerHeight, innerWidth = win.innerWidth; + var _ref64 = getOrientation(win) || {}, angle = _ref64.angle, type2 = _ref64.type; return { - userAgent: navigator.userAgent, + userAgent: navigator2.userAgent, windowWidth: innerWidth, windowHeight: innerHeight, orientationAngle: angle, - orientationType: type + orientationType: type2 }; } - function getOrientation(_ref45) { - var screen = _ref45.screen; + function getOrientation(_ref65) { + var screen = _ref65.screen; return screen.orientation || screen.msOrientation || screen.mozOrientation; } - function createFrameContext(frame, _ref46) { - var focusable = _ref46.focusable, page = _ref46.page; + function createFrameContext(frame, _ref66) { + var focusable = _ref66.focusable, page = _ref66.page; return { node: frame, include: [], @@ -13146,11 +18637,11 @@ }; } function normalizeContext(contextSpec) { - if (isContextObject(contextSpec)) { + if (_isContextObject(contextSpec)) { var msg = ' must be used inside include or exclude. It should not be on the same object.'; - assert2(!objectHasOwn(contextSpec, 'fromFrames'), 'fromFrames' + msg); - assert2(!objectHasOwn(contextSpec, 'fromShadowDom'), 'fromShadowDom' + msg); - } else if (isContextProp(contextSpec)) { + assert2(!_objectHasOwn(contextSpec, 'fromFrames'), 'fromFrames' + msg); + assert2(!_objectHasOwn(contextSpec, 'fromShadowDom'), 'fromShadowDom' + msg); + } else if (_isContextProp(contextSpec)) { contextSpec = { include: contextSpec, exclude: [] @@ -13171,17 +18662,14 @@ exclude: exclude }; } - function isContextSpec(contextSpec) { - return isContextObject(contextSpec) || isContextProp(contextSpec); - } function normalizeContextList() { var selectorList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var normalizedList = []; - if (!isArrayLike(selectorList)) { + if (!_isArrayLike(selectorList)) { selectorList = [ selectorList ]; } - for (var _i11 = 0; _i11 < selectorList.length; _i11++) { - var normalizedSelector = normalizeContextSelector(selectorList[_i11]); + for (var _i25 = 0; _i25 < selectorList.length; _i25++) { + var normalizedSelector = normalizeContextSelector(selectorList[_i25]); if (normalizedSelector) { normalizedList.push(normalizedSelector); } @@ -13195,10 +18683,10 @@ if (typeof selector === 'string') { return [ selector ]; } - if (isLabelledFramesSelector(selector)) { + if (_isLabelledFramesSelector(selector)) { assertLabelledFrameSelector(selector); selector = selector.fromFrames; - } else if (isLabelledShadowDomSelector(selector)) { + } else if (_isLabelledShadowDomSelector(selector)) { selector = [ selector ]; } return normalizeFrameSelectors(selector); @@ -13208,11 +18696,11 @@ return; } var normalizedSelectors = []; - var _iterator5 = _createForOfIteratorHelper(frameSelectors), _step5; + var _iterator11 = _createForOfIteratorHelper(frameSelectors), _step11; try { - for (_iterator5.s(); !(_step5 = _iterator5.n()).done; ) { - var selector = _step5.value; - if (isLabelledShadowDomSelector(selector)) { + for (_iterator11.s(); !(_step11 = _iterator11.n()).done; ) { + var selector = _step11.value; + if (_isLabelledShadowDomSelector(selector)) { assertLabelledShadowDomSelector(selector); selector = selector.fromShadowDom; } @@ -13222,40 +18710,26 @@ normalizedSelectors.push(selector); } } catch (err) { - _iterator5.e(err); + _iterator11.e(err); } finally { - _iterator5.f(); + _iterator11.f(); } return normalizedSelectors; } - function isContextObject(contextSpec) { - return [ 'include', 'exclude' ].some(function(prop) { - return objectHasOwn(contextSpec, prop) && isContextProp(contextSpec[prop]); - }); - } - function isContextProp(contextList) { - return typeof contextList === 'string' || contextList instanceof window.Node || isLabelledFramesSelector(contextList) || isLabelledShadowDomSelector(contextList) || isArrayLike(contextList); - } - function isLabelledFramesSelector(selector) { - return objectHasOwn(selector, 'fromFrames'); - } - function isLabelledShadowDomSelector(selector) { - return objectHasOwn(selector, 'fromShadowDom'); - } function assertLabelledFrameSelector(selector) { assert2(Array.isArray(selector.fromFrames), 'fromFrames property must be an array'); - assert2(selector.fromFrames.every(function(selector2) { - return !objectHasOwn(selector2, 'fromFrames'); + assert2(selector.fromFrames.every(function(fromFrameSelector) { + return !_objectHasOwn(fromFrameSelector, 'fromFrames'); }), 'Invalid context; fromFrames selector must be appended, rather than nested'); - assert2(!objectHasOwn(selector, 'fromShadowDom'), 'fromFrames and fromShadowDom cannot be used on the same object'); + assert2(!_objectHasOwn(selector, 'fromShadowDom'), 'fromFrames and fromShadowDom cannot be used on the same object'); } function assertLabelledShadowDomSelector(selector) { assert2(Array.isArray(selector.fromShadowDom), 'fromShadowDom property must be an array'); - assert2(selector.fromShadowDom.every(function(selector2) { - return !objectHasOwn(selector2, 'fromFrames'); + assert2(selector.fromShadowDom.every(function(fromShadowDomSelector) { + return !_objectHasOwn(fromShadowDomSelector, 'fromFrames'); }), 'shadow selector must be inside fromFrame instead'); - assert2(selector.fromShadowDom.every(function(selector2) { - return !objectHasOwn(selector2, 'fromShadowDom'); + assert2(selector.fromShadowDom.every(function(fromShadowDomSelector) { + return !_objectHasOwn(fromShadowDomSelector, 'fromShadowDom'); }), 'fromShadowDom selector must be appended, rather than nested'); } function isShadowSelector(selector) { @@ -13263,22 +18737,13 @@ return typeof str === 'string'; }); } - function isArrayLike(arr) { - return arr && _typeof(arr) === 'object' && typeof arr.length === 'number' && arr instanceof window.Node === false; - } function assert2(bool, str) { assert_default(bool, 'Invalid context; '.concat(str, '\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md')); } - function objectHasOwn(obj, prop) { - if (!obj || _typeof(obj) !== 'object') { - return false; - } - return Object.prototype.hasOwnProperty.call(obj, prop); - } - function parseSelectorArray(context, type) { + function parseSelectorArray(context, type2) { var result = []; - for (var _i12 = 0, l = context[type].length; _i12 < l; _i12++) { - var item = context[type][_i12]; + for (var _i26 = 0, l = context[type2].length; _i26 < l; _i26++) { + var item = context[type2][_i26]; if (item instanceof window.Node) { if (item.documentElement instanceof window.Node) { result.push(context.flatTree[0]); @@ -13287,7 +18752,7 @@ } } else if (item && item.length) { if (item.length > 1) { - pushUniqueFrameSelector(context, type, item); + pushUniqueFrameSelector(context, type2, item); } else { var nodeList = _shadowSelectAll(item[0]); result.push.apply(result, _toConsumableArray(nodeList.map(function(node) { @@ -13300,7 +18765,7 @@ return r; }); } - function pushUniqueFrameSelector(context, type, selectorArray) { + function pushUniqueFrameSelector(context, type2, selectorArray) { context.frames = context.frames || []; var frameSelector = selectorArray.shift(); var frames = _shadowSelectAll(frameSelector); @@ -13312,32 +18777,32 @@ frameContext = createFrameContext(frame, context); context.frames.push(frameContext); } - frameContext[type].push(selectorArray); + frameContext[type2].push(selectorArray); }); } function Context(spec, flatTree) { - var _spec, _spec2, _spec3, _spec4, _this2 = this; - spec = clone_default(spec); + var _spec2, _spec3, _spec4, _spec5, _this5 = this; + spec = _clone(spec); this.frames = []; - this.page = typeof ((_spec = spec) === null || _spec === void 0 ? void 0 : _spec.page) === 'boolean' ? spec.page : void 0; - this.initiator = typeof ((_spec2 = spec) === null || _spec2 === void 0 ? void 0 : _spec2.initiator) === 'boolean' ? spec.initiator : true; - this.focusable = typeof ((_spec3 = spec) === null || _spec3 === void 0 ? void 0 : _spec3.focusable) === 'boolean' ? spec.focusable : true; - this.size = _typeof((_spec4 = spec) === null || _spec4 === void 0 ? void 0 : _spec4.size) === 'object' ? spec.size : {}; + this.page = typeof ((_spec2 = spec) === null || _spec2 === void 0 ? void 0 : _spec2.page) === 'boolean' ? spec.page : void 0; + this.initiator = typeof ((_spec3 = spec) === null || _spec3 === void 0 ? void 0 : _spec3.initiator) === 'boolean' ? spec.initiator : true; + this.focusable = typeof ((_spec4 = spec) === null || _spec4 === void 0 ? void 0 : _spec4.focusable) === 'boolean' ? spec.focusable : true; + this.size = _typeof((_spec5 = spec) === null || _spec5 === void 0 ? void 0 : _spec5.size) === 'object' ? spec.size : {}; spec = normalizeContext(spec); - this.flatTree = flatTree !== null && flatTree !== void 0 ? flatTree : get_flattened_tree_default(getRootNode2(spec)); + this.flatTree = flatTree !== null && flatTree !== void 0 ? flatTree : _getFlattenedTree(getRootNode2(spec)); this.exclude = spec.exclude; this.include = spec.include; this.include = parseSelectorArray(this, 'include'); this.exclude = parseSelectorArray(this, 'exclude'); _select('frame, iframe', this).forEach(function(frame) { - if (_isNodeInContext(frame, _this2)) { - pushUniqueFrame(_this2, frame.actualNode); + if (_isNodeInContext(frame, _this5)) { + pushUniqueFrame(_this5, frame.actualNode); } }); if (typeof this.page === 'undefined') { this.page = isPageContext(this); this.frames.forEach(function(frame) { - frame.page = _this2.page; + frame.page = _this5.page; }); } validateContext(this); @@ -13352,8 +18817,8 @@ } context.frames.push(createFrameContext(frame, context)); } - function isPageContext(_ref47) { - var include = _ref47.include; + function isPageContext(_ref67) { + var include = _ref67.include; return include.length === 1 && include[0].actualNode === document.documentElement; } function validateContext(context) { @@ -13362,11 +18827,11 @@ throw new Error('No elements found for include in ' + env + ' Context'); } } - function getRootNode2(_ref48) { - var include = _ref48.include, exclude = _ref48.exclude; + function getRootNode2(_ref68) { + var include = _ref68.include, exclude = _ref68.exclude; var selectors = Array.from(include).concat(Array.from(exclude)); - for (var _i13 = 0; _i13 < selectors.length; _i13++) { - var item = selectors[_i13]; + for (var _i27 = 0; _i27 < selectors.length; _i27++) { + var item = selectors[_i27]; if (item instanceof window.Element) { return item.ownerDocument.documentElement; } @@ -13382,8 +18847,8 @@ return []; } var _Context = new Context(context), frames = _Context.frames; - return frames.map(function(_ref49) { - var node = _ref49.node, frameContext = _objectWithoutProperties(_ref49, _excluded7); + return frames.map(function(_ref69) { + var node = _ref69.node, frameContext = _objectWithoutProperties(_ref69, _excluded14); frameContext.initiator = false; var frameSelector = _getAncestry(node); return { @@ -13392,17 +18857,17 @@ }; }); } - function getRule(ruleId) { - var rule = axe._audit.rules.find(function(rule2) { - return rule2.id === ruleId; + function _getRule(ruleId) { + var rule = axe._audit.rules.find(function(_ref70) { + var id = _ref70.id; + return id === ruleId; }); if (!rule) { throw new Error('Cannot find rule by id: '.concat(ruleId)); } return rule; } - var get_rule_default = getRule; - function _getScroll(elm) { + function getScroll(elm) { var buffer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; var overflowX = elm.scrollWidth > elm.clientWidth + buffer; var overflowY = elm.scrollHeight > elm.clientHeight + buffer; @@ -13424,9 +18889,10 @@ var overflowProp = style.getPropertyValue(prop); return [ 'scroll', 'auto' ].includes(overflowProp); } + var get_scroll_default = memoize_default(getScroll); function getElmScrollRecursive(root) { return Array.from(root.children || root.childNodes || []).reduce(function(scrolls, elm) { - var scroll = _getScroll(elm); + var scroll = get_scroll_default(elm); if (scroll) { scrolls.push(scroll); } @@ -13449,20 +18915,20 @@ } var get_scroll_state_default = getScrollState; function _getStandards() { - return clone_default(standards_default); + return _clone(standards_default); } function getStyleSheetFactory(dynamicDoc) { if (!dynamicDoc) { throw new Error('axe.utils.getStyleSheetFactory should be invoked with an argument'); } return function(options) { - var data2 = options.data, _options$isCrossOrigi = options.isCrossOrigin, isCrossOrigin = _options$isCrossOrigi === void 0 ? false : _options$isCrossOrigi, shadowId = options.shadowId, root = options.root, priority = options.priority, _options$isLink = options.isLink, isLink = _options$isLink === void 0 ? false : _options$isLink; + var data = options.data, _options$isCrossOrigi = options.isCrossOrigin, isCrossOrigin = _options$isCrossOrigi === void 0 ? false : _options$isCrossOrigi, shadowId = options.shadowId, root = options.root, priority = options.priority, _options$isLink = options.isLink, isLink = _options$isLink === void 0 ? false : _options$isLink; var style = dynamicDoc.createElement('style'); if (isLink) { - var text = dynamicDoc.createTextNode('@import "'.concat(data2.href, '"')); + var text = dynamicDoc.createTextNode('@import "'.concat(data.href, '"')); style.appendChild(text); } else { - style.appendChild(dynamicDoc.createTextNode(data2)); + style.appendChild(dynamicDoc.createTextNode(data)); } dynamicDoc.head.appendChild(style); return { @@ -13500,6 +18966,32 @@ return styleSheet; } var inject_style_default = injectStyle; + function _isArrayLike(arr) { + return !!arr && _typeof(arr) === 'object' && typeof arr.length === 'number' && arr instanceof window.Node === false; + } + function _objectHasOwn(obj, prop) { + if (!obj || _typeof(obj) !== 'object') { + return false; + } + return Object.prototype.hasOwnProperty.call(obj, prop); + } + function _isContextSpec(contextSpec) { + return _isContextObject(contextSpec) || _isContextProp(contextSpec); + } + function _isContextObject(contextSpec) { + return [ 'include', 'exclude' ].some(function(prop) { + return _objectHasOwn(contextSpec, prop) && _isContextProp(contextSpec[prop]); + }); + } + function _isContextProp(contextList) { + return typeof contextList === 'string' || contextList instanceof window.Node || _isLabelledFramesSelector(contextList) || _isLabelledShadowDomSelector(contextList) || _isArrayLike(contextList); + } + function _isLabelledFramesSelector(selector) { + return _objectHasOwn(selector, 'fromFrames'); + } + function _isLabelledShadowDomSelector(selector) { + return _objectHasOwn(selector, 'fromShadowDom'); + } function isHidden(el, recursed) { var node = get_node_from_tree_default(el); if (el.nodeType === 9) { @@ -13532,8 +19024,8 @@ return !!standards_default.htmlElms[nodeName2]; } var is_html_element_default = isHtmlElement; - function _isNodeInContext(node, _ref50) { - var _ref50$include = _ref50.include, include = _ref50$include === void 0 ? [] : _ref50$include, _ref50$exclude = _ref50.exclude, exclude = _ref50$exclude === void 0 ? [] : _ref50$exclude; + function _isNodeInContext(node, _ref71) { + var _ref71$include = _ref71.include, include = _ref71$include === void 0 ? [] : _ref71$include, _ref71$exclude = _ref71.exclude, exclude = _ref71$exclude === void 0 ? [] : _ref71$exclude; var filterInclude = include.filter(function(candidate) { return _contains(candidate, node); }); @@ -13552,39 +19044,38 @@ } function getDeepest(collection) { var deepest; - var _iterator6 = _createForOfIteratorHelper(collection), _step6; + var _iterator12 = _createForOfIteratorHelper(collection), _step12; try { - for (_iterator6.s(); !(_step6 = _iterator6.n()).done; ) { - var node = _step6.value; + for (_iterator12.s(); !(_step12 = _iterator12.n()).done; ) { + var node = _step12.value; if (!deepest || !_contains(node, deepest)) { deepest = node; } } } catch (err) { - _iterator6.e(err); + _iterator12.e(err); } finally { - _iterator6.f(); + _iterator12.f(); } return deepest; } - function matchAncestry(ancestryA, ancestryB) { + function _matchAncestry(ancestryA, ancestryB) { if (ancestryA.length !== ancestryB.length) { return false; } - return ancestryA.every(function(selectorA, index) { - var selectorB = ancestryB[index]; + return ancestryA.every(function(selectorA, ancestorIndex) { + var selectorB = ancestryB[ancestorIndex]; if (!Array.isArray(selectorA)) { return selectorA === selectorB; } if (selectorA.length !== selectorB.length) { return false; } - return selectorA.every(function(str, index2) { - return selectorB[index2] === str; + return selectorA.every(function(str, selectorIndex) { + return selectorB[selectorIndex] === str; }); }); } - var match_ancestry_default = matchAncestry; function nodeSorter(nodeA, nodeB) { nodeA = nodeA.actualNode || nodeA; nodeB = nodeB.actualNode || nodeB; @@ -13598,6 +19089,18 @@ } } var node_sorter_default = nodeSorter; + function _nodeLookup(node) { + if (node instanceof abstract_virtual_node_default) { + return { + vNode: node, + domNode: node.actualNode + }; + } + return { + vNode: get_node_from_tree_default(node), + domNode: node + }; + } function parseSameOriginStylesheet(sheet, options, priority, importedUrls) { var isCrossOrigin = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; var rules = Array.from(sheet.cssRules); @@ -13681,9 +19184,9 @@ reject(request.responseText); }); request.send(); - }).then(function(data2) { + }).then(function(data) { var result = options.convertDataToStylesheet({ - data: data2, + data: data, isCrossOrigin: isCrossOrigin, priority: priority, root: options.rootNode, @@ -13729,16 +19232,16 @@ } }, logMeasures: function logMeasures(measureName) { - function logMeasure(req2) { - log_default('Measure ' + req2.name + ' took ' + req2.duration + 'ms'); + function logMeasure(req) { + log_default('Measure ' + req.name + ' took ' + req.duration + 'ms'); } if (window.performance && window.performance.getEntriesByType !== void 0) { var axeStart = window.performance.getEntriesByName('mark_axe_start')[0]; var measures = window.performance.getEntriesByType('measure').filter(function(measure) { return measure.startTime >= axeStart.startTime; }); - for (var i = 0; i < measures.length; ++i) { - var req = measures[i]; + for (var _i28 = 0; _i28 < measures.length; ++_i28) { + var req = measures[_i28]; if (req.name === measureName) { logMeasure(req); return; @@ -13759,72 +19262,6 @@ }; }(); var performance_timer_default = performanceTimer; - if (typeof Object.assign !== 'function') { - (function() { - Object.assign = function(target) { - if (target === void 0 || target === null) { - throw new TypeError('Cannot convert undefined or null to object'); - } - var output = Object(target); - for (var index = 1; index < arguments.length; index++) { - var source = arguments[index]; - if (source !== void 0 && source !== null) { - for (var nextKey in source) { - if (source.hasOwnProperty(nextKey)) { - output[nextKey] = source[nextKey]; - } - } - } - } - return output; - }; - })(); - } - if (!Array.prototype.find) { - Object.defineProperty(Array.prototype, 'find', { - value: function value(predicate) { - if (this === null) { - throw new TypeError('Array.prototype.find called on null or undefined'); - } - if (typeof predicate !== 'function') { - throw new TypeError('predicate must be a function'); - } - var list = Object(this); - var length = list.length >>> 0; - var thisArg = arguments[1]; - var value; - for (var i = 0; i < length; i++) { - value = list[i]; - if (predicate.call(thisArg, value, i, list)) { - return value; - } - } - return void 0; - } - }); - } - if (!Array.prototype.findIndex) { - Object.defineProperty(Array.prototype, 'findIndex', { - value: function value(predicate, thisArg) { - if (this === null) { - throw new TypeError('Array.prototype.find called on null or undefined'); - } - if (typeof predicate !== 'function') { - throw new TypeError('predicate must be a function'); - } - var list = Object(this); - var length = list.length >>> 0; - var value; - for (var i = 0; i < length; i++) { - value = list[i]; - if (predicate.call(thisArg, value, i, list)) { - return i; - } - } - return -1; - } - }); - } function _pollyfillElementsFromPoint() { if (document.elementsFromPoint) { return document.elementsFromPoint; @@ -13842,7 +19279,7 @@ var style = document.createElement('style'); style.innerHTML = usePointer ? '* { pointer-events: all }' : '* { visibility: visible }'; return function(x, y) { - var current, i, d; + var current, i, d2; var elements = []; var previousPointerEvents = []; document.head.appendChild(style); @@ -13858,159 +19295,15 @@ elements.splice(elements.indexOf(document.documentElement), 1); elements.push(document.documentElement); } - for (i = previousPointerEvents.length; !!(d = previousPointerEvents[--i]); ) { - elements[i].style.setProperty(cssProp, d.value ? d.value : '', d.priority); + for (i = previousPointerEvents.length; !!(d2 = previousPointerEvents[--i]); ) { + elements[i].style.setProperty(cssProp, d2.value ? d2.value : '', d2.priority); } document.head.removeChild(style); return elements; }; } - if (typeof window.addEventListener === 'function') { - document.elementsFromPoint = _pollyfillElementsFromPoint(); - } - if (!Array.prototype.includes) { - Object.defineProperty(Array.prototype, 'includes', { - value: function value(searchElement) { - var O = Object(this); - var len = parseInt(O.length, 10) || 0; - if (len === 0) { - return false; - } - var n = parseInt(arguments[1], 10) || 0; - var k; - if (n >= 0) { - k = n; - } else { - k = len + n; - if (k < 0) { - k = 0; - } - } - var currentElement; - while (k < len) { - currentElement = O[k]; - if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) { - return true; - } - k++; - } - return false; - } - }); - } - if (!Array.prototype.some) { - Object.defineProperty(Array.prototype, 'some', { - value: function value(fun) { - if (this == null) { - throw new TypeError('Array.prototype.some called on null or undefined'); - } - if (typeof fun !== 'function') { - throw new TypeError(); - } - var t = Object(this); - var len = t.length >>> 0; - var thisArg = arguments.length >= 2 ? arguments[1] : void 0; - for (var i = 0; i < len; i++) { - if (i in t && fun.call(thisArg, t[i], i, t)) { - return true; - } - } - return false; - } - }); - } - if (!Array.from) { - Object.defineProperty(Array, 'from', { - value: function() { - var toStr = Object.prototype.toString; - var isCallable = function isCallable(fn) { - return typeof fn === 'function' || toStr.call(fn) === '[object Function]'; - }; - var toInteger = function toInteger(value) { - var number = Number(value); - if (isNaN(number)) { - return 0; - } - if (number === 0 || !isFinite(number)) { - return number; - } - return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number)); - }; - var maxSafeInteger = Math.pow(2, 53) - 1; - var toLength = function toLength(value) { - var len = toInteger(value); - return Math.min(Math.max(len, 0), maxSafeInteger); - }; - return function from(arrayLike) { - var C = this; - var items = Object(arrayLike); - if (arrayLike == null) { - throw new TypeError('Array.from requires an array-like object - not null or undefined'); - } - var mapFn = arguments.length > 1 ? arguments[1] : void 0; - var T; - if (typeof mapFn !== 'undefined') { - if (!isCallable(mapFn)) { - throw new TypeError('Array.from: when provided, the second argument must be a function'); - } - if (arguments.length > 2) { - T = arguments[2]; - } - } - var len = toLength(items.length); - var A = isCallable(C) ? Object(new C(len)) : new Array(len); - var k = 0; - var kValue; - while (k < len) { - kValue = items[k]; - if (mapFn) { - A[k] = typeof T === 'undefined' ? mapFn(kValue, k) : mapFn.call(T, kValue, k); - } else { - A[k] = kValue; - } - k += 1; - } - A.length = len; - return A; - }; - }() - }); - } - if (!String.prototype.includes) { - String.prototype.includes = function(search, start) { - if (typeof start !== 'number') { - start = 0; - } - if (start + search.length > this.length) { - return false; - } else { - return this.indexOf(search, start) !== -1; - } - }; - } - if (!Array.prototype.flat) { - Object.defineProperty(Array.prototype, 'flat', { - configurable: true, - value: function flat() { - var depth = isNaN(arguments[0]) ? 1 : Number(arguments[0]); - return depth ? Array.prototype.reduce.call(this, function(acc, cur) { - if (Array.isArray(cur)) { - acc.push.apply(acc, flat.call(cur, depth - 1)); - } else { - acc.push(cur); - } - return acc; - }, []) : Array.prototype.slice.call(this); - }, - writable: true - }); - } - if (window.Node && !('isConnected' in window.Node.prototype)) { - Object.defineProperty(window.Node.prototype, 'isConnected', { - get: function get() { - return !this.ownerDocument || !(this.ownerDocument.compareDocumentPosition(this) & this.DOCUMENT_POSITION_DISCONNECTED); - } - }); + if (typeof window.addEventListener === 'function') { + document.elementsFromPoint = _pollyfillElementsFromPoint(); } function uniqueArray(arr1, arr2) { return arr1.concat(arr2).filter(function(elem, pos, arr) { @@ -14027,8 +19320,10 @@ retVal.parentShadowId = parentShadowId; return retVal; } - var recycledLocalVariables = []; function matchExpressions(domTree, expressions, filter) { + var recycledLocalVariables = cache_default.get('qsa.recycledLocalVariables', function() { + return []; + }); var stack = []; var vNodes = Array.isArray(domTree) ? domTree : [ domTree ]; var currentLevel = createLocalVariables(vNodes, expressions, null, domTree[0].shadowId, recycledLocalVariables.pop()); @@ -14040,9 +19335,9 @@ var childAny = null; var combinedLength = (((_currentLevel$anyLeve = currentLevel.anyLevel) === null || _currentLevel$anyLeve === void 0 ? void 0 : _currentLevel$anyLeve.length) || 0) + (((_currentLevel$thisLev = currentLevel.thisLevel) === null || _currentLevel$thisLev === void 0 ? void 0 : _currentLevel$thisLev.length) || 0); var added = false; - for (var _i14 = 0; _i14 < combinedLength; _i14++) { + for (var _i29 = 0; _i29 < combinedLength; _i29++) { var _currentLevel$anyLeve2, _currentLevel$anyLeve3, _currentLevel$anyLeve4; - var exp = _i14 < (((_currentLevel$anyLeve2 = currentLevel.anyLevel) === null || _currentLevel$anyLeve2 === void 0 ? void 0 : _currentLevel$anyLeve2.length) || 0) ? currentLevel.anyLevel[_i14] : currentLevel.thisLevel[_i14 - (((_currentLevel$anyLeve3 = currentLevel.anyLevel) === null || _currentLevel$anyLeve3 === void 0 ? void 0 : _currentLevel$anyLeve3.length) || 0)]; + var exp = _i29 < (((_currentLevel$anyLeve2 = currentLevel.anyLevel) === null || _currentLevel$anyLeve2 === void 0 ? void 0 : _currentLevel$anyLeve2.length) || 0) ? currentLevel.anyLevel[_i29] : currentLevel.thisLevel[_i29 - (((_currentLevel$anyLeve3 = currentLevel.anyLevel) === null || _currentLevel$anyLeve3 === void 0 ? void 0 : _currentLevel$anyLeve3.length) || 0)]; if ((!exp[0].id || vNode.shadowId === currentLevel.parentShadowId) && _matchesExpression(vNode, exp[0])) { if (exp.length === 1) { if (!added && (!filter || filter(vNode))) { @@ -14086,8 +19381,8 @@ return matchExpressions(domTree, expressions, filter); } var query_selector_all_filter_default = querySelectorAllFilter; - function preloadCssom(_ref51) { - var _ref51$treeRoot = _ref51.treeRoot, treeRoot = _ref51$treeRoot === void 0 ? axe._tree[0] : _ref51$treeRoot; + function preloadCssom(_ref72) { + var _ref72$treeRoot = _ref72.treeRoot, treeRoot = _ref72$treeRoot === void 0 ? axe._tree[0] : _ref72$treeRoot; var rootNodes = getAllRootNodesInTree(treeRoot); if (!rootNodes.length) { return Promise.resolve(); @@ -14117,8 +19412,8 @@ } function getCssomForAllRootNodes(rootNodes, convertDataToStylesheet) { var promises = []; - rootNodes.forEach(function(_ref52, index) { - var rootNode = _ref52.rootNode, shadowId = _ref52.shadowId; + rootNodes.forEach(function(_ref73, index) { + var rootNode = _ref73.rootNode, shadowId = _ref73.shadowId; var sheets = getStylesheetsOfRootNode(rootNode, shadowId, convertDataToStylesheet); if (!sheets) { return Promise.all(promises); @@ -14131,11 +19426,11 @@ rootIndex: rootIndex }; var importedUrls = []; - var p = Promise.all(sheets.map(function(sheet, sheetIndex) { + var p2 = Promise.all(sheets.map(function(sheet, sheetIndex) { var priority = [ rootIndex, sheetIndex ]; return parse_stylesheet_default(sheet, parseOptions, priority, importedUrls); })); - promises.push(p); + promises.push(p2); }); return Promise.all(promises); } @@ -14156,14 +19451,16 @@ function getStylesheetsFromDocumentFragment(rootNode, convertDataToStylesheet) { return Array.from(rootNode.children).filter(filerStyleAndLinkAttributesInDocumentFragment).reduce(function(out, node) { var nodeName2 = node.nodeName.toUpperCase(); - var data2 = nodeName2 === 'STYLE' ? node.textContent : node; + var data = nodeName2 === 'STYLE' ? node.textContent : node; var isLink = nodeName2 === 'LINK'; var stylesheet = convertDataToStylesheet({ - data: data2, + data: data, isLink: isLink, root: rootNode }); - out.push(stylesheet.sheet); + if (stylesheet.sheet) { + out.push(stylesheet.sheet); + } return out; }, []); } @@ -14202,10 +19499,10 @@ return true; }); } - function preloadMedia(_ref53) { - var _ref53$treeRoot = _ref53.treeRoot, treeRoot = _ref53$treeRoot === void 0 ? axe._tree[0] : _ref53$treeRoot; - var mediaVirtualNodes = query_selector_all_filter_default(treeRoot, 'video, audio', function(_ref54) { - var actualNode = _ref54.actualNode; + function preloadMedia(_ref74) { + var _ref74$treeRoot = _ref74.treeRoot, treeRoot = _ref74$treeRoot === void 0 ? axe._tree[0] : _ref74$treeRoot; + var mediaVirtualNodes = query_selector_all_filter_default(treeRoot, 'video, audio', function(_ref75) { + var actualNode = _ref75.actualNode; if (actualNode.hasAttribute('src')) { return !!actualNode.getAttribute('src'); } @@ -14217,8 +19514,8 @@ } return true; }); - return Promise.all(mediaVirtualNodes.map(function(_ref55) { - var actualNode = _ref55.actualNode; + return Promise.all(mediaVirtualNodes.map(function(_ref76) { + var actualNode = _ref76.actualNode; return isMediaElementReady(actualNode); })); } @@ -14235,8 +19532,37 @@ elm.addEventListener('loadedmetadata', onMediaReady); }); } - function isValidPreloadObject(preload2) { - return _typeof(preload2) === 'object' && Array.isArray(preload2.assets); + function _preload(options) { + var preloadFunctionsMap = { + cssom: preload_cssom_default, + media: preload_media_default + }; + if (!_shouldPreload(options)) { + return Promise.resolve(); + } + return new Promise(function(resolve, reject) { + var _getPreloadConfig2 = _getPreloadConfig(options), assets = _getPreloadConfig2.assets, timeout = _getPreloadConfig2.timeout; + var preloadTimeout = setTimeout(function() { + return reject(new Error('Preload assets timed out.')); + }, timeout); + Promise.all(assets.map(function(asset) { + return preloadFunctionsMap[asset](options).then(function(results) { + return _defineProperty({}, asset, results); + }); + })).then(function(results) { + var preloadAssets = results.reduce(function(out, result) { + return _extends({}, out, result); + }, {}); + clearTimeout(preloadTimeout); + resolve(preloadAssets); + })['catch'](function(err2) { + clearTimeout(preloadTimeout); + reject(err2); + }); + }); + } + function isValidPreloadObject(preloadObj) { + return _typeof(preloadObj) === 'object' && Array.isArray(preloadObj.assets); } function _shouldPreload(options) { if (!options || options.preload === void 0 || options.preload === null) { @@ -14259,54 +19585,38 @@ if (typeof options.preload === 'boolean') { return config; } - var areRequestedAssetsValid = options.preload.assets.every(function(a) { - return assets.includes(a.toLowerCase()); + var areRequestedAssetsValid = options.preload.assets.every(function(a2) { + return assets.includes(a2.toLowerCase()); }); if (!areRequestedAssetsValid) { throw new Error('Requested assets, not supported. Supported assets are: '.concat(assets.join(', '), '.')); } - config.assets = unique_array_default(options.preload.assets.map(function(a) { - return a.toLowerCase(); + config.assets = unique_array_default(options.preload.assets.map(function(a2) { + return a2.toLowerCase(); }), []); if (options.preload.timeout && typeof options.preload.timeout === 'number' && !isNaN(options.preload.timeout)) { config.timeout = options.preload.timeout; } return config; } - function preload(options) { - var preloadFunctionsMap = { - cssom: preload_cssom_default, - media: preload_media_default - }; - if (!_shouldPreload(options)) { - return Promise.resolve(); - } - return new Promise(function(resolve, reject) { - var _getPreloadConfig2 = _getPreloadConfig(options), assets = _getPreloadConfig2.assets, timeout = _getPreloadConfig2.timeout; - var preloadTimeout = setTimeout(function() { - return reject(new Error('Preload assets timed out.')); - }, timeout); - Promise.all(assets.map(function(asset) { - return preloadFunctionsMap[asset](options).then(function(results) { - return _defineProperty({}, asset, results); - }); - })).then(function(results) { - var preloadAssets = results.reduce(function(out, result) { - return _extends({}, out, result); - }, {}); - clearTimeout(preloadTimeout); - resolve(preloadAssets); - })['catch'](function(err2) { - clearTimeout(preloadTimeout); - reject(err2); - }); + function _publishMetaData(ruleResult) { + var checksData = axe._audit.data.checks || {}; + var rulesData = axe._audit.data.rules || {}; + var rule = find_by_default(axe._audit.rules, 'id', ruleResult.id) || {}; + ruleResult.tags = _clone(rule.tags || []); + var shouldBeTrue = extender(checksData, true, rule); + var shouldBeFalse = extender(checksData, false, rule); + ruleResult.nodes.forEach(function(detail) { + detail.any.forEach(shouldBeTrue); + detail.all.forEach(shouldBeTrue); + detail.none.forEach(shouldBeFalse); }); + extend_meta_data_default(ruleResult, _clone(rulesData[ruleResult.id] || {})); } - var preload_default = preload; function getIncompleteReason(checkData, messages) { - function getDefaultMsg(messages2) { - if (messages2.incomplete && messages2.incomplete['default']) { - return messages2.incomplete['default']; + function getDefaultMsg(message) { + if (message.incomplete && message.incomplete['default']) { + return message.incomplete['default']; } else { return incompleteFallbackMessage(); } @@ -14318,7 +19628,7 @@ throw new Error(); } return msg; - } catch (e) { + } catch (_unused5) { if (typeof checkData.missingData === 'string') { return messages.incomplete[checkData.missingData]; } else { @@ -14335,45 +19645,30 @@ return function(check) { var sourceData = checksData[check.id] || {}; var messages = sourceData.messages || {}; - var data2 = Object.assign({}, sourceData); - delete data2.messages; + var data = Object.assign({}, sourceData); + delete data.messages; if (!rule.reviewOnFail && check.result === void 0) { if (_typeof(messages.incomplete) === 'object' && !Array.isArray(check.data)) { - data2.message = getIncompleteReason(check.data, messages); + data.message = getIncompleteReason(check.data, messages); } - if (!data2.message) { - data2.message = messages.incomplete; + if (!data.message) { + data.message = messages.incomplete; } } else { - data2.message = check.result === shouldBeTrue ? messages.pass : messages.fail; + data.message = check.result === shouldBeTrue ? messages.pass : messages.fail; } - if (typeof data2.message !== 'function') { - data2.message = process_message_default(data2.message, check.data); + if (typeof data.message !== 'function') { + data.message = process_message_default(data.message, check.data); } - extend_meta_data_default(check, data2); + extend_meta_data_default(check, data); }; } - function publishMetaData(ruleResult) { - var checksData = axe._audit.data.checks || {}; - var rulesData = axe._audit.data.rules || {}; - var rule = find_by_default(axe._audit.rules, 'id', ruleResult.id) || {}; - ruleResult.tags = clone_default(rule.tags || []); - var shouldBeTrue = extender(checksData, true, rule); - var shouldBeFalse = extender(checksData, false, rule); - ruleResult.nodes.forEach(function(detail) { - detail.any.forEach(shouldBeTrue); - detail.all.forEach(shouldBeTrue); - detail.none.forEach(shouldBeFalse); - }); - extend_meta_data_default(ruleResult, clone_default(rulesData[ruleResult.id] || {})); - } - var publish_metadata_default = publishMetaData; function querySelectorAll(domTree, selector) { return query_selector_all_filter_default(domTree, selector); } var query_selector_all_default = querySelectorAll; function matchTags(rule, runOnly) { - var include, exclude, matching; + var include, exclude; var defaultExclude = axe._audit && axe._audit.tagExclude ? axe._audit.tagExclude : []; if (runOnly.hasOwnProperty('include') || runOnly.hasOwnProperty('exclude')) { include = runOnly.include || []; @@ -14389,7 +19684,7 @@ return include.indexOf(tag) === -1; }); } - matching = include.some(function(tag) { + var matching = include.some(function(tag) { return rule.tags.indexOf(tag) !== -1; }); if (matching || include.length === 0 && rule.enabled !== false) { @@ -14469,8 +19764,8 @@ } var outerIncludes = getOuterIncludes(context.include); var isInContext = getContextFilter(context); - for (var _i15 = 0; _i15 < outerIncludes.length; _i15++) { - candidate = outerIncludes[_i15]; + for (var _i30 = 0; _i30 < outerIncludes.length; _i30++) { + candidate = outerIncludes[_i30]; var nodes = query_selector_all_filter_default(candidate, selector, isInContext); result = mergeArrayUniques(result, nodes); } @@ -14507,9 +19802,9 @@ arr1 = arr2; arr2 = temp; } - for (var _i16 = 0, l = arr2.length; _i16 < l; _i16++) { - if (!arr1.includes(arr2[_i16])) { - arr1.push(arr2[_i16]); + for (var _i31 = 0, l = arr2.length; _i31 < l; _i31++) { + if (!arr1.includes(arr2[_i31])) { + arr1.push(arr2[_i31]); } } return arr1; @@ -14523,8 +19818,8 @@ } } function setScrollState(scrollState) { - scrollState.forEach(function(_ref57) { - var elm = _ref57.elm, top = _ref57.top, left = _ref57.left; + scrollState.forEach(function(_ref78) { + var elm = _ref78.elm, top = _ref78.top, left = _ref78.left; return setScroll(elm, top, left); }); } @@ -14552,25 +19847,25 @@ } return selectAllRecursive(selectorArr, doc); } - function selectAllRecursive(_ref58, doc) { - var _ref59 = _toArray(_ref58), selectorStr = _ref59[0], restSelector = _ref59.slice(1); + function selectAllRecursive(_ref79, doc) { + var _ref80 = _toArray(_ref79), selectorStr = _ref80[0], restSelector = _ref80.slice(1); var elms = doc.querySelectorAll(selectorStr); if (restSelector.length === 0) { return Array.from(elms); } var selected = []; - var _iterator7 = _createForOfIteratorHelper(elms), _step7; + var _iterator13 = _createForOfIteratorHelper(elms), _step13; try { - for (_iterator7.s(); !(_step7 = _iterator7.n()).done; ) { - var elm = _step7.value; + for (_iterator13.s(); !(_step13 = _iterator13.n()).done; ) { + var elm = _step13.value; if (elm !== null && elm !== void 0 && elm.shadowRoot) { selected.push.apply(selected, _toConsumableArray(selectAllRecursive(restSelector, elm.shadowRoot))); } } } catch (err) { - _iterator7.e(err); + _iterator13.e(err); } finally { - _iterator7.f(); + _iterator13.f(); } return selected; } @@ -14584,8 +19879,8 @@ while (lang.length < 3) { lang += '`'; } - for (var _i17 = 0; _i17 <= lang.length - 1; _i17++) { - var index = lang.charCodeAt(_i17) - 96; + for (var _i32 = 0; _i32 <= lang.length - 1; _i32++) { + var index = lang.charCodeAt(_i32) - 96; array = array[index]; if (!array) { return false; @@ -14610,17 +19905,16 @@ } var valid_langs_default = isValidLang; var SerialVirtualNode = function(_abstract_virtual_nod2) { - _inherits(SerialVirtualNode, _abstract_virtual_nod2); - var _super2 = _createSuper(SerialVirtualNode); function SerialVirtualNode(serialNode) { - var _this3; + var _this6; _classCallCheck(this, SerialVirtualNode); - _this3 = _super2.call(this); - _this3._props = normaliseProps(serialNode); - _this3._attrs = normaliseAttrs(serialNode); - return _this3; + _this6 = _callSuper(this, SerialVirtualNode); + _this6._props = normaliseProps(serialNode); + _this6._attrs = normaliseAttrs(serialNode); + return _this6; } - _createClass(SerialVirtualNode, [ { + _inherits(SerialVirtualNode, _abstract_virtual_nod2); + return _createClass(SerialVirtualNode, [ { key: 'props', get: function get() { return this._props; @@ -14642,7 +19936,6 @@ return Object.keys(this._attrs); } } ]); - return SerialVirtualNode; }(abstract_virtual_node_default); var nodeNamesToTypes = { '#cdata-section': 2, @@ -14657,31 +19950,31 @@ nodeTypeToName[nodeNamesToTypes[nodeName2]] = nodeName2; }); function normaliseProps(serialNode) { - var _serialNode$nodeName, _ref60, _serialNode$nodeType; + var _serialNode$nodeName, _ref81, _serialNode$nodeType; var nodeName2 = (_serialNode$nodeName = serialNode.nodeName) !== null && _serialNode$nodeName !== void 0 ? _serialNode$nodeName : nodeTypeToName[serialNode.nodeType]; - var nodeType = (_ref60 = (_serialNode$nodeType = serialNode.nodeType) !== null && _serialNode$nodeType !== void 0 ? _serialNode$nodeType : nodeNamesToTypes[serialNode.nodeName]) !== null && _ref60 !== void 0 ? _ref60 : 1; + var nodeType = (_ref81 = (_serialNode$nodeType = serialNode.nodeType) !== null && _serialNode$nodeType !== void 0 ? _serialNode$nodeType : nodeNamesToTypes[serialNode.nodeName]) !== null && _ref81 !== void 0 ? _ref81 : 1; assert_default(typeof nodeType === 'number', 'nodeType has to be a number, got \''.concat(nodeType, '\'')); assert_default(typeof nodeName2 === 'string', 'nodeName has to be a string, got \''.concat(nodeName2, '\'')); nodeName2 = nodeName2.toLowerCase(); - var type = null; + var type2 = null; if (nodeName2 === 'input') { - type = (serialNode.type || serialNode.attributes && serialNode.attributes.type || '').toLowerCase(); - if (!valid_input_type_default().includes(type)) { - type = 'text'; + type2 = (serialNode.type || serialNode.attributes && serialNode.attributes.type || '').toLowerCase(); + if (!valid_input_type_default().includes(type2)) { + type2 = 'text'; } } var props = _extends({}, serialNode, { nodeType: nodeType, nodeName: nodeName2 }); - if (type) { - props.type = type; + if (type2) { + props.type = type2; } delete props.attributes; return Object.freeze(props); } - function normaliseAttrs(_ref61) { - var _ref61$attributes = _ref61.attributes, attributes2 = _ref61$attributes === void 0 ? {} : _ref61$attributes; + function normaliseAttrs(_ref82) { + var _ref82$attributes = _ref82.attributes, attributes2 = _ref82$attributes === void 0 ? {} : _ref82$attributes; var attrMap = { htmlFor: 'for', className: 'class' @@ -14693,220 +19986,580 @@ var mappedName = attrMap[attrName] || attrName; attrs[mappedName] = value !== null ? String(value) : null; } - return attrs; - }, {}); + return attrs; + }, {}); + } + var serial_virtual_node_default = SerialVirtualNode; + function cleanup(resolve, reject) { + resolve = resolve || function res() {}; + reject = reject || axe.log; + if (!axe._audit) { + throw new Error('No audit configured'); + } + var q = axe.utils.queue(); + var cleanupErrors = []; + Object.keys(axe.plugins).forEach(function(key) { + q.defer(function(res) { + var rej = function rej2(err2) { + cleanupErrors.push(err2); + res(); + }; + try { + axe.plugins[key].cleanup(res, rej); + } catch (err2) { + rej(err2); + } + }); + }); + var flattenedTree = axe.utils.getFlattenedTree(document.body); + axe.utils.querySelectorAll(flattenedTree, 'iframe, frame').forEach(function(node) { + q.defer(function(res, rej) { + return axe.utils.sendCommandToFrame(node.actualNode, { + command: 'cleanup-plugin' + }, res, rej); + }); + }); + q.then(function(results) { + if (cleanupErrors.length === 0) { + resolve(results); + } else { + reject(cleanupErrors); + } + })['catch'](reject); + } + var cleanup_default = cleanup; + var reporters = {}; + var defaultReporter; + function hasReporter(reporterName) { + return reporters.hasOwnProperty(reporterName); + } + function getReporter(reporter) { + if (typeof reporter === 'string' && reporters[reporter]) { + return reporters[reporter]; + } + if (typeof reporter === 'function') { + return reporter; + } + return defaultReporter; + } + function addReporter(name, cb, isDefault) { + reporters[name] = cb; + if (isDefault) { + defaultReporter = cb; + } + } + function configure(spec) { + var audit = axe._audit; + if (!audit) { + throw new Error('No audit configured'); + } + if (spec.axeVersion || spec.ver) { + var specVersion = spec.axeVersion || spec.ver; + if (!/^\d+\.\d+\.\d+(-canary)?/.test(specVersion)) { + throw new Error('Invalid configured version '.concat(specVersion)); + } + var _specVersion$split = specVersion.split('-'), _specVersion$split2 = _slicedToArray(_specVersion$split, 2), version = _specVersion$split2[0], canary = _specVersion$split2[1]; + var _version$split$map = version.split('.').map(Number), _version$split$map2 = _slicedToArray(_version$split$map, 3), major = _version$split$map2[0], minor = _version$split$map2[1], patch = _version$split$map2[2]; + var _axe$version$split = axe.version.split('-'), _axe$version$split2 = _slicedToArray(_axe$version$split, 2), axeVersion = _axe$version$split2[0], axeCanary = _axe$version$split2[1]; + var _axeVersion$split$map = axeVersion.split('.').map(Number), _axeVersion$split$map2 = _slicedToArray(_axeVersion$split$map, 3), axeMajor = _axeVersion$split$map2[0], axeMinor = _axeVersion$split$map2[1], axePatch = _axeVersion$split$map2[2]; + if (major !== axeMajor || axeMinor < minor || axeMinor === minor && axePatch < patch || major === axeMajor && minor === axeMinor && patch === axePatch && canary && canary !== axeCanary) { + throw new Error('Configured version '.concat(specVersion, ' is not compatible with current axe version ').concat(axe.version)); + } + } + if (spec.reporter && (typeof spec.reporter === 'function' || hasReporter(spec.reporter))) { + audit.reporter = spec.reporter; + } + if (spec.checks) { + if (!Array.isArray(spec.checks)) { + throw new TypeError('Checks property must be an array'); + } + spec.checks.forEach(function(check) { + if (!check.id) { + throw new TypeError('Configured check '.concat(JSON.stringify(check), ' is invalid. Checks must be an object with at least an id property')); + } + audit.addCheck(check); + }); + } + var modifiedRules = []; + if (spec.rules) { + if (!Array.isArray(spec.rules)) { + throw new TypeError('Rules property must be an array'); + } + spec.rules.forEach(function(rule) { + if (!rule.id) { + throw new TypeError('Configured rule '.concat(JSON.stringify(rule), ' is invalid. Rules must be an object with at least an id property')); + } + modifiedRules.push(rule.id); + audit.addRule(rule); + }); + } + if (spec.disableOtherRules) { + audit.rules.forEach(function(rule) { + if (modifiedRules.includes(rule.id) === false) { + rule.enabled = false; + } + }); + } + if (typeof spec.branding !== 'undefined') { + audit.setBranding(spec.branding); + } else { + audit._constructHelpUrls(); + } + if (spec.tagExclude) { + audit.tagExclude = spec.tagExclude; + } + if (spec.locale) { + audit.applyLocale(spec.locale); + } + if (spec.standards) { + configureStandards(spec.standards); + } + if (spec.noHtml) { + audit.noHtml = true; + } + if (spec.allowedOrigins) { + if (!Array.isArray(spec.allowedOrigins)) { + throw new TypeError('Allowed origins property must be an array'); + } + if (spec.allowedOrigins.includes('*')) { + throw new Error('"*" is not allowed. Use "'.concat(constants_default.allOrigins, '" instead')); + } + audit.setAllowedOrigins(spec.allowedOrigins); + } + } + var configure_default = configure; + function frameMessenger2(frameHandler) { + _respondable.updateMessenger(frameHandler); + } + function getRules(tags) { + tags = tags || []; + var matchingRules = !tags.length ? axe._audit.rules : axe._audit.rules.filter(function(item) { + return !!tags.filter(function(tag) { + return item.tags.indexOf(tag) !== -1; + }).length; + }); + var ruleData = axe._audit.data.rules || {}; + return matchingRules.map(function(matchingRule) { + var rd = ruleData[matchingRule.id] || {}; + return { + ruleId: matchingRule.id, + description: rd.description, + help: rd.help, + helpUrl: rd.helpUrl, + tags: matchingRule.tags, + actIds: matchingRule.actIds + }; + }); + } + var get_rules_default = getRules; + function hiddenContentEvaluate(node, options, virtualNode) { + var allowlist = [ 'SCRIPT', 'HEAD', 'TITLE', 'NOSCRIPT', 'STYLE', 'TEMPLATE' ]; + if (!allowlist.includes(node.nodeName.toUpperCase()) && has_content_virtual_default(virtualNode)) { + var styles = window.getComputedStyle(node); + if (styles.getPropertyValue('display') === 'none') { + return void 0; + } else if (styles.getPropertyValue('visibility') === 'hidden') { + var parent = get_composed_parent_default(node); + var parentStyle = parent && window.getComputedStyle(parent); + if (!parentStyle || parentStyle.getPropertyValue('visibility') !== 'hidden') { + return void 0; + } + } + } + return true; } - var serial_virtual_node_default = SerialVirtualNode; - var imports_exports = {}; - __export(imports_exports, { - CssSelectorParser: function CssSelectorParser() { - return import_css_selector_parser2.CssSelectorParser; + var hidden_content_evaluate_default = hiddenContentEvaluate; + var table_exports = {}; + __export(table_exports, { + getAllCells: function getAllCells() { + return get_all_cells_default; }, - doT: function doT() { - return import_dot['default']; + getCellPosition: function getCellPosition() { + return get_cell_position_default; }, - emojiRegexText: function emojiRegexText() { - return emoji_regex_default; + getHeaders: function getHeaders() { + return get_headers_default; }, - memoize: function memoize() { - return import_memoizee2['default']; + getScope: function getScope() { + return _getScope; + }, + isColumnHeader: function isColumnHeader() { + return is_column_header_default; + }, + isDataCell: function isDataCell() { + return is_data_cell_default; + }, + isDataTable: function isDataTable() { + return is_data_table_default; + }, + isHeader: function isHeader() { + return is_header_default; + }, + isRowHeader: function isRowHeader() { + return is_row_header_default; + }, + toArray: function toArray() { + return to_grid_default; + }, + toGrid: function toGrid() { + return to_grid_default; + }, + traverse: function traverse() { + return traverse_default; } }); - var import_css_selector_parser2 = __toModule(require_lib()); - var import_dot = __toModule(require_doT()); - var import_memoizee2 = __toModule(require_memoizee()); - var import_es6_promise = __toModule(require_es6_promise()); - var import_typedarray = __toModule(require_typedarray()); - var import_weakmap_polyfill = __toModule(require_weakmap_polyfill()); - import_dot['default'].templateSettings.strip = false; - if (!('Promise' in window)) { - import_es6_promise['default'].polyfill(); + function getAllCells(tableElm) { + var rowIndex, cellIndex, rowLength, cellLength; + var cells = []; + for (rowIndex = 0, rowLength = tableElm.rows.length; rowIndex < rowLength; rowIndex++) { + for (cellIndex = 0, cellLength = tableElm.rows[rowIndex].cells.length; cellIndex < cellLength; cellIndex++) { + cells.push(tableElm.rows[rowIndex].cells[cellIndex]); + } + } + return cells; } - if (!('Uint32Array' in window)) { - window.Uint32Array = import_typedarray.Uint32Array; + var get_all_cells_default = getAllCells; + function traverseForHeaders(headerType, position, tableGrid) { + var property = headerType === 'row' ? '_rowHeaders' : '_colHeaders'; + var predicate = headerType === 'row' ? is_row_header_default : is_column_header_default; + var startCell = tableGrid[position.y][position.x]; + var colspan = startCell.colSpan - 1; + var rowspanAttr = startCell.getAttribute('rowspan'); + var rowspanValue = parseInt(rowspanAttr) === 0 || startCell.rowspan === 0 ? tableGrid.length : startCell.rowSpan; + var rowspan = rowspanValue - 1; + var rowStart = position.y + rowspan; + var colStart = position.x + colspan; + var rowEnd = headerType === 'row' ? position.y : 0; + var colEnd = headerType === 'row' ? 0 : position.x; + var headers; + var cells = []; + for (var row = rowStart; row >= rowEnd && !headers; row--) { + for (var col = colStart; col >= colEnd; col--) { + var cell = tableGrid[row] ? tableGrid[row][col] : void 0; + if (!cell) { + continue; + } + var vNode = axe.utils.getNodeFromTree(cell); + if (vNode[property]) { + headers = vNode[property]; + break; + } + cells.push(cell); + } + } + headers = (headers || []).concat(cells.filter(predicate)); + cells.forEach(function(tableCell) { + var vNode = axe.utils.getNodeFromTree(tableCell); + vNode[property] = headers; + }); + return headers; } - if (window.Uint32Array) { - if (!('some' in window.Uint32Array.prototype)) { - Object.defineProperty(window.Uint32Array.prototype, 'some', { - value: Array.prototype.some - }); + function getHeaders(cell, tableGrid) { + if (cell.getAttribute('headers')) { + var headers = idrefs_default(cell, 'headers'); + if (headers.filter(function(header) { + return header; + }).length) { + return headers; + } } - if (!('reduce' in window.Uint32Array.prototype)) { - Object.defineProperty(window.Uint32Array.prototype, 'reduce', { - value: Array.prototype.reduce - }); + if (!tableGrid) { + tableGrid = to_grid_default(find_up_default(cell, 'table')); } + var position = get_cell_position_default(cell, tableGrid); + var rowHeaders = traverseForHeaders('row', position, tableGrid); + var colHeaders = traverseForHeaders('col', position, tableGrid); + return [].concat(rowHeaders, colHeaders).reverse(); } - function cleanup(resolve, reject) { - resolve = resolve || function res() {}; - reject = reject || axe.log; - if (!axe._audit) { - throw new Error('No audit configured'); + var get_headers_default = getHeaders; + function isDataCell(cell) { + if (!cell.children.length && !cell.textContent.trim()) { + return false; } - var q = axe.utils.queue(); - var cleanupErrors = []; - Object.keys(axe.plugins).forEach(function(key) { - q.defer(function(res) { - var rej = function rej2(err2) { - cleanupErrors.push(err2); - res(); - }; - try { - axe.plugins[key].cleanup(res, rej); - } catch (err2) { - rej(err2); + var role = cell.getAttribute('role'); + if (is_valid_role_default(role)) { + return [ 'cell', 'gridcell' ].includes(role); + } else { + return cell.nodeName.toUpperCase() === 'TD'; + } + } + var is_data_cell_default = isDataCell; + function isDataTable(node) { + var role = (node.getAttribute('role') || '').toLowerCase(); + if ((role === 'presentation' || role === 'none') && !_isFocusable(node)) { + return false; + } + if (node.getAttribute('contenteditable') === 'true' || find_up_default(node, '[contenteditable="true"]')) { + return true; + } + if (role === 'grid' || role === 'treegrid' || role === 'table') { + return true; + } + if (get_role_type_default(role) === 'landmark') { + return true; + } + if (node.getAttribute('datatable') === '0') { + return false; + } + if (node.getAttribute('summary')) { + return true; + } + if (node.tHead || node.tFoot || node.caption) { + return true; + } + for (var childIndex = 0, childLength = node.children.length; childIndex < childLength; childIndex++) { + if (node.children[childIndex].nodeName.toUpperCase() === 'COLGROUP') { + return true; + } + } + var cells = 0; + var rowLength = node.rows.length; + var row, cell; + var hasBorder = false; + for (var rowIndex = 0; rowIndex < rowLength; rowIndex++) { + row = node.rows[rowIndex]; + for (var cellIndex = 0, cellLength = row.cells.length; cellIndex < cellLength; cellIndex++) { + cell = row.cells[cellIndex]; + if (cell.nodeName.toUpperCase() === 'TH') { + return true; } - }); - }); - var flattenedTree = axe.utils.getFlattenedTree(document.body); - axe.utils.querySelectorAll(flattenedTree, 'iframe, frame').forEach(function(node) { - q.defer(function(res, rej) { - return axe.utils.sendCommandToFrame(node.actualNode, { - command: 'cleanup-plugin' - }, res, rej); - }); - }); - q.then(function(results) { - if (cleanupErrors.length === 0) { - resolve(results); - } else { - reject(cleanupErrors); + if (!hasBorder && (cell.offsetWidth !== cell.clientWidth || cell.offsetHeight !== cell.clientHeight)) { + hasBorder = true; + } + if (cell.getAttribute('scope') || cell.getAttribute('headers') || cell.getAttribute('abbr')) { + return true; + } + if ([ 'columnheader', 'rowheader' ].includes((cell.getAttribute('role') || '').toLowerCase())) { + return true; + } + if (cell.children.length === 1 && cell.children[0].nodeName.toUpperCase() === 'ABBR') { + return true; + } + cells++; } - })['catch'](reject); - } - var cleanup_default = cleanup; - var reporters = {}; - var defaultReporter; - function hasReporter(reporterName) { - return reporters.hasOwnProperty(reporterName); - } - function getReporter(reporter) { - if (typeof reporter === 'string' && reporters[reporter]) { - return reporters[reporter]; } - if (typeof reporter === 'function') { - return reporter; + if (node.getElementsByTagName('table').length) { + return false; } - return defaultReporter; - } - function addReporter(name, cb, isDefault) { - reporters[name] = cb; - if (isDefault) { - defaultReporter = cb; + if (rowLength < 2) { + return false; + } + var sampleRow = node.rows[Math.ceil(rowLength / 2)]; + if (sampleRow.cells.length === 1 && sampleRow.cells[0].colSpan === 1) { + return false; + } + if (sampleRow.cells.length >= 5) { + return true; } - } - function configure(spec) { - var audit; - audit = axe._audit; - if (!audit) { - throw new Error('No audit configured'); + if (hasBorder) { + return true; } - if (spec.axeVersion || spec.ver) { - var specVersion = spec.axeVersion || spec.ver; - if (!/^\d+\.\d+\.\d+(-canary)?/.test(specVersion)) { - throw new Error('Invalid configured version '.concat(specVersion)); + var bgColor, bgImage; + for (var _rowIndex = 0; _rowIndex < rowLength; _rowIndex++) { + row = node.rows[_rowIndex]; + if (bgColor && bgColor !== window.getComputedStyle(row).getPropertyValue('background-color')) { + return true; + } else { + bgColor = window.getComputedStyle(row).getPropertyValue('background-color'); } - var _specVersion$split = specVersion.split('-'), _specVersion$split2 = _slicedToArray(_specVersion$split, 2), version = _specVersion$split2[0], canary = _specVersion$split2[1]; - var _version$split$map = version.split('.').map(Number), _version$split$map2 = _slicedToArray(_version$split$map, 3), major = _version$split$map2[0], minor = _version$split$map2[1], patch = _version$split$map2[2]; - var _axe$version$split = axe.version.split('-'), _axe$version$split2 = _slicedToArray(_axe$version$split, 2), axeVersion = _axe$version$split2[0], axeCanary = _axe$version$split2[1]; - var _axeVersion$split$map = axeVersion.split('.').map(Number), _axeVersion$split$map2 = _slicedToArray(_axeVersion$split$map, 3), axeMajor = _axeVersion$split$map2[0], axeMinor = _axeVersion$split$map2[1], axePatch = _axeVersion$split$map2[2]; - if (major !== axeMajor || axeMinor < minor || axeMinor === minor && axePatch < patch || major === axeMajor && minor === axeMinor && patch === axePatch && canary && canary !== axeCanary) { - throw new Error('Configured version '.concat(specVersion, ' is not compatible with current axe version ').concat(axe.version)); + if (bgImage && bgImage !== window.getComputedStyle(row).getPropertyValue('background-image')) { + return true; + } else { + bgImage = window.getComputedStyle(row).getPropertyValue('background-image'); } } - if (spec.reporter && (typeof spec.reporter === 'function' || hasReporter(spec.reporter))) { - audit.reporter = spec.reporter; + if (rowLength >= 20) { + return true; } - if (spec.checks) { - if (!Array.isArray(spec.checks)) { - throw new TypeError('Checks property must be an array'); - } - spec.checks.forEach(function(check) { - if (!check.id) { - throw new TypeError('Configured check '.concat(JSON.stringify(check), ' is invalid. Checks must be an object with at least an id property')); - } - audit.addCheck(check); - }); + if (get_element_coordinates_default(node).width > get_viewport_size_default(window).width * .95) { + return false; } - var modifiedRules = []; - if (spec.rules) { - if (!Array.isArray(spec.rules)) { - throw new TypeError('Rules property must be an array'); - } - spec.rules.forEach(function(rule) { - if (!rule.id) { - throw new TypeError('Configured rule '.concat(JSON.stringify(rule), ' is invalid. Rules must be an object with at least an id property')); - } - modifiedRules.push(rule.id); - audit.addRule(rule); - }); + if (cells < 10) { + return false; } - if (spec.disableOtherRules) { - audit.rules.forEach(function(rule) { - if (modifiedRules.includes(rule.id) === false) { - rule.enabled = false; - } - }); + if (node.querySelector('object, embed, iframe, applet')) { + return false; } - if (typeof spec.branding !== 'undefined') { - audit.setBranding(spec.branding); - } else { - audit._constructHelpUrls(); + return true; + } + var is_data_table_default = isDataTable; + function isHeader(cell) { + if (is_column_header_default(cell) || is_row_header_default(cell)) { + return true; } - if (spec.tagExclude) { - audit.tagExclude = spec.tagExclude; + if (cell.getAttribute('id')) { + var _id2 = escape_selector_default(cell.getAttribute('id')); + return !!document.querySelector('[headers~="'.concat(_id2, '"]')); } - if (spec.locale) { - audit.applyLocale(spec.locale); + return false; + } + var is_header_default = isHeader; + function traverseTable(dir, position, tableGrid, callback) { + var result; + var cell = tableGrid[position.y] ? tableGrid[position.y][position.x] : void 0; + if (!cell) { + return []; } - if (spec.standards) { - configureStandards(spec.standards); + if (typeof callback === 'function') { + result = callback(cell, position, tableGrid); + if (result === true) { + return [ cell ]; + } } - if (spec.noHtml) { - audit.noHtml = true; + result = traverseTable(dir, { + x: position.x + dir.x, + y: position.y + dir.y + }, tableGrid, callback); + result.unshift(cell); + return result; + } + function traverse(dir, startPos, tableGrid, callback) { + if (Array.isArray(startPos)) { + callback = tableGrid; + tableGrid = startPos; + startPos = { + x: 0, + y: 0 + }; } - if (spec.allowedOrigins) { - if (!Array.isArray(spec.allowedOrigins)) { - throw new TypeError('Allowed origins property must be an array'); - } - if (spec.allowedOrigins.includes('*')) { - throw new Error('"*" is not allowed. Use "'.concat(constants_default.allOrigins, '" instead')); + if (typeof dir === 'string') { + switch (dir) { + case 'left': + dir = { + x: -1, + y: 0 + }; + break; + + case 'up': + dir = { + x: 0, + y: -1 + }; + break; + + case 'right': + dir = { + x: 1, + y: 0 + }; + break; + + case 'down': + dir = { + x: 0, + y: 1 + }; + break; } - audit.setAllowedOrigins(spec.allowedOrigins); } + return traverseTable(dir, { + x: startPos.x + dir.x, + y: startPos.y + dir.y + }, tableGrid, callback); } - var configure_default = configure; - function frameMessenger2(frameHandler) { - _respondable.updateMessenger(frameHandler); + var traverse_default = traverse; + function thHasDataCellsEvaluate(node) { + var cells = get_all_cells_default(node); + var checkResult = this; + var reffedHeaders = []; + cells.forEach(function(cell) { + var headers2 = cell.getAttribute('headers'); + if (headers2) { + reffedHeaders = reffedHeaders.concat(headers2.split(/\s+/)); + } + var ariaLabel = cell.getAttribute('aria-labelledby'); + if (ariaLabel) { + reffedHeaders = reffedHeaders.concat(ariaLabel.split(/\s+/)); + } + }); + var headers = cells.filter(function(cell) { + if (sanitize_default(cell.textContent) === '') { + return false; + } + return cell.nodeName.toUpperCase() === 'TH' || [ 'rowheader', 'columnheader' ].indexOf(cell.getAttribute('role')) !== -1; + }); + var tableGrid = to_grid_default(node); + var out = true; + headers.forEach(function(header) { + if (header.getAttribute('id') && reffedHeaders.includes(header.getAttribute('id'))) { + return; + } + var pos = get_cell_position_default(header, tableGrid); + var hasCell = false; + if (is_column_header_default(header)) { + hasCell = traverse_default('down', pos, tableGrid).find(function(cell) { + return !is_column_header_default(cell) && get_headers_default(cell, tableGrid).includes(header); + }); + } + if (!hasCell && is_row_header_default(header)) { + hasCell = traverse_default('right', pos, tableGrid).find(function(cell) { + return !is_row_header_default(cell) && get_headers_default(cell, tableGrid).includes(header); + }); + } + if (!hasCell) { + checkResult.relatedNodes(header); + } + out = out && hasCell; + }); + return out ? true : void 0; } - function getRules(tags) { - tags = tags || []; - var matchingRules = !tags.length ? axe._audit.rules : axe._audit.rules.filter(function(item) { - return !!tags.filter(function(tag) { - return item.tags.indexOf(tag) !== -1; - }).length; + var th_has_data_cells_evaluate_default = thHasDataCellsEvaluate; + function tdHeadersAttrEvaluate(node) { + var cells = []; + var reviewCells = []; + var badCells = []; + for (var rowIndex = 0; rowIndex < node.rows.length; rowIndex++) { + var row = node.rows[rowIndex]; + for (var cellIndex = 0; cellIndex < row.cells.length; cellIndex++) { + cells.push(row.cells[cellIndex]); + } + } + var ids = cells.filter(function(cell) { + return cell.getAttribute('id'); + }).map(function(cell) { + return cell.getAttribute('id'); }); - var ruleData = axe._audit.data.rules || {}; - return matchingRules.map(function(matchingRule) { - var rd = ruleData[matchingRule.id] || {}; - return { - ruleId: matchingRule.id, - description: rd.description, - help: rd.help, - helpUrl: rd.helpUrl, - tags: matchingRule.tags, - actIds: matchingRule.actIds - }; + cells.forEach(function(cell) { + var isSelf = false; + var notOfTable = false; + if (!cell.hasAttribute('headers') || !_isVisibleToScreenReaders(cell)) { + return; + } + var headersAttr = cell.getAttribute('headers').trim(); + if (!headersAttr) { + return reviewCells.push(cell); + } + var headers = token_list_default(headersAttr); + if (headers.length !== 0) { + if (cell.getAttribute('id')) { + isSelf = headers.indexOf(cell.getAttribute('id').trim()) !== -1; + } + notOfTable = headers.some(function(header) { + return !ids.includes(header); + }); + if (isSelf || notOfTable) { + badCells.push(cell); + } + } }); + if (badCells.length > 0) { + this.relatedNodes(badCells); + return false; + } + if (reviewCells.length) { + this.relatedNodes(reviewCells); + return void 0; + } + return true; } - var get_rules_default = getRules; var aria_exports = {}; __export(aria_exports, { allowedAttr: function allowedAttr() { return allowed_attr_default; }, arialabelText: function arialabelText() { - return arialabel_text_default; + return _arialabelText; }, arialabelledbyText: function arialabelledbyText() { return arialabelledby_text_default; @@ -14950,6 +20603,9 @@ isAriaRoleAllowedOnElement: function isAriaRoleAllowedOnElement() { return is_aria_role_allowed_on_element_default; }, + isComboboxPopup: function isComboboxPopup() { + return _isComboboxPopup; + }, isUnsupportedRole: function isUnsupportedRole() { return is_unsupported_role_default; }, @@ -15003,47 +20659,61 @@ function cacheIdRefs(node, idRefs, refAttrs) { if (node.hasAttribute) { if (node.nodeName.toUpperCase() === 'LABEL' && node.hasAttribute('for')) { - var id = node.getAttribute('for'); - idRefs[id] = idRefs[id] || []; - idRefs[id].push(node); + var _id3 = node.getAttribute('for'); + if (!idRefs.has(_id3)) { + idRefs.set(_id3, [ node ]); + } else { + idRefs.get(_id3).push(node); + } } - for (var _i18 = 0; _i18 < refAttrs.length; ++_i18) { - var attr = refAttrs[_i18]; + for (var _i33 = 0; _i33 < refAttrs.length; ++_i33) { + var attr = refAttrs[_i33]; var attrValue = sanitize_default(node.getAttribute(attr) || ''); if (!attrValue) { continue; } - var tokens = token_list_default(attrValue); - for (var k = 0; k < tokens.length; ++k) { - idRefs[tokens[k]] = idRefs[tokens[k]] || []; - idRefs[tokens[k]].push(node); + var _iterator14 = _createForOfIteratorHelper(token_list_default(attrValue)), _step14; + try { + for (_iterator14.s(); !(_step14 = _iterator14.n()).done; ) { + var token = _step14.value; + if (!idRefs.has(token)) { + idRefs.set(token, [ node ]); + } else { + idRefs.get(token).push(node); + } + } + } catch (err) { + _iterator14.e(err); + } finally { + _iterator14.f(); } } } - for (var _i19 = 0; _i19 < node.childNodes.length; _i19++) { - if (node.childNodes[_i19].nodeType === 1) { - cacheIdRefs(node.childNodes[_i19], idRefs, refAttrs); + for (var _i34 = 0; _i34 < node.childNodes.length; _i34++) { + if (node.childNodes[_i34].nodeType === 1) { + cacheIdRefs(node.childNodes[_i34], idRefs, refAttrs); } } } function getAccessibleRefs(node) { + var _idRefs$get; node = node.actualNode || node; var root = get_root_node_default2(node); root = root.documentElement || root; var idRefsByRoot = cache_default.get('idRefsByRoot', function() { - return new WeakMap(); + return new Map(); }); var idRefs = idRefsByRoot.get(root); if (!idRefs) { - idRefs = {}; + idRefs = new Map(); idRefsByRoot.set(root, idRefs); var refAttrs = Object.keys(standards_default.ariaAttrs).filter(function(attr) { - var type = standards_default.ariaAttrs[attr].type; - return idRefsRegex.test(type); + var type2 = standards_default.ariaAttrs[attr].type; + return idRefsRegex.test(type2); }); cacheIdRefs(root, idRefs, refAttrs); } - return idRefs[node.id] || []; + return (_idRefs$get = idRefs.get(node.id)) !== null && _idRefs$get !== void 0 ? _idRefs$get : []; } var get_accessible_refs_default = getAccessibleRefs; function isAriaRoleAllowedOnElement(node, role) { @@ -15079,7 +20749,7 @@ } function getElementUnallowedRoles(node) { var allowImplicit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; - var vNode = node instanceof abstract_virtual_node_default ? node : get_node_from_tree_default(node); + var _nodeLookup21 = _nodeLookup(node), vNode = _nodeLookup21.vNode; if (!is_html_element_default(vNode)) { return []; } @@ -15100,9 +20770,9 @@ return is_aria_role_allowed_on_element_default(vNode, role); } var get_element_unallowed_roles_default = getElementUnallowedRoles; - function getAriaRolesByType(type) { + function getAriaRolesByType(type2) { return Object.keys(standards_default.ariaRoles).filter(function(roleName) { - return standards_default.ariaRoles[roleName].type === type; + return standards_default.ariaRoles[roleName].type === type2; }); } var get_aria_roles_by_type_default = getAriaRolesByType; @@ -16869,8 +22539,8 @@ nodeName: [ 'abbr', 'address', 'canvas', 'div', 'p', 'pre', 'blockquote', 'ins', 'del', 'output', 'span', 'table', 'tbody', 'thead', 'tfoot', 'td', 'em', 'strong', 'small', 's', 'cite', 'q', 'dfn', 'abbr', 'time', 'code', 'var', 'samp', 'kbd', 'sub', 'sup', 'i', 'b', 'u', 'mark', 'ruby', 'rt', 'rp', 'bdi', 'bdo', 'br', 'wbr', 'th', 'tr' ] } ]; lookupTable.evaluateRoleForElement = { - A: function A(_ref62) { - var node = _ref62.node, out = _ref62.out; + A: function A(_ref83) { + var node = _ref83.node, out = _ref83.out; if (node.namespaceURI === 'http://www.w3.org/2000/svg') { return true; } @@ -16879,19 +22549,19 @@ } return true; }, - AREA: function AREA(_ref63) { - var node = _ref63.node; + AREA: function AREA(_ref84) { + var node = _ref84.node; return !node.href; }, - BUTTON: function BUTTON(_ref64) { - var node = _ref64.node, role = _ref64.role, out = _ref64.out; + BUTTON: function BUTTON(_ref85) { + var node = _ref85.node, role = _ref85.role, out = _ref85.out; if (node.getAttribute('type') === 'menu') { return role === 'menuitem'; } return out; }, - IMG: function IMG(_ref65) { - var node = _ref65.node, role = _ref65.role, out = _ref65.out; + IMG: function IMG(_ref86) { + var node = _ref86.node, role = _ref86.role, out = _ref86.out; switch (node.alt) { case null: return out; @@ -16903,8 +22573,8 @@ return role !== 'presentation' && role !== 'none'; } }, - INPUT: function INPUT(_ref66) { - var node = _ref66.node, role = _ref66.role, out = _ref66.out; + INPUT: function INPUT(_ref87) { + var node = _ref87.node, role = _ref87.role, out = _ref87.out; switch (node.type) { case 'button': case 'image': @@ -16934,32 +22604,32 @@ return false; } }, - LI: function LI(_ref67) { - var node = _ref67.node, out = _ref67.out; + LI: function LI(_ref88) { + var node = _ref88.node, out = _ref88.out; var hasImplicitListitemRole = axe.utils.matchesSelector(node, 'ol li, ul li'); if (hasImplicitListitemRole) { return out; } return true; }, - MENU: function MENU(_ref68) { - var node = _ref68.node; + MENU: function MENU(_ref89) { + var node = _ref89.node; if (node.getAttribute('type') === 'context') { return false; } return true; }, - OPTION: function OPTION(_ref69) { - var node = _ref69.node; + OPTION: function OPTION(_ref90) { + var node = _ref90.node; var withinOptionList = axe.utils.matchesSelector(node, 'select > option, datalist > option, optgroup > option'); return !withinOptionList; }, - SELECT: function SELECT(_ref70) { - var node = _ref70.node, role = _ref70.role; + SELECT: function SELECT(_ref91) { + var node = _ref91.node, role = _ref91.role; return !node.multiple && node.size <= 1 && role === 'menu'; }, - SVG: function SVG(_ref71) { - var node = _ref71.node, out = _ref71.out; + SVG: function SVG(_ref92) { + var node = _ref92.node, out = _ref92.out; if (node.parentNode && node.parentNode.namespaceURI === 'http://www.w3.org/2000/svg') { return true; } @@ -16974,7 +22644,7 @@ var implicit = null; var roles = lookup_table_default.role[role]; if (roles && roles.implicit) { - implicit = clone_default(roles.implicit); + implicit = _clone(roles.implicit); } return implicit; } @@ -16983,6 +22653,42 @@ return !!get_accessible_refs_default(node).length; } var is_accessible_ref_default = isAccessibleRef; + function _isComboboxPopup(virtualNode) { + var _popupRoles; + var _ref93 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, popupRoles = _ref93.popupRoles; + var role = get_role_default(virtualNode); + (_popupRoles = popupRoles) !== null && _popupRoles !== void 0 ? _popupRoles : popupRoles = aria_attrs_default['aria-haspopup'].values; + if (!popupRoles.includes(role)) { + return false; + } + var vParent = nearestParentWithRole(virtualNode); + if (isCombobox(vParent)) { + return true; + } + var id = virtualNode.props.id; + if (!id) { + return false; + } + if (!virtualNode.actualNode) { + throw new Error('Unable to determine combobox popup without an actualNode'); + } + var root = get_root_node_default(virtualNode.actualNode); + var ownedCombobox = root.querySelectorAll('[aria-owns~="'.concat(id, '"][role~="combobox"]:not(select),\n [aria-controls~="').concat(id, '"][role~="combobox"]:not(select)')); + return Array.from(ownedCombobox).some(isCombobox); + } + var isCombobox = function isCombobox(node) { + return node && get_role_default(node) === 'combobox'; + }; + function nearestParentWithRole(vNode) { + while (vNode = vNode.parent) { + if (get_role_default(vNode, { + noPresentational: true + }) !== null) { + return vNode; + } + } + return null; + } function label2(node) { node = get_node_from_tree_default(node); return label_virtual_default(node); @@ -17041,7 +22747,7 @@ try { var doc = get_root_node_default2(vNode.actualNode); return !!(value && doc.getElementById(value)); - } catch (e) { + } catch (_unused6) { throw new TypeError('Cannot resolve id references for partial DOM'); } @@ -17068,648 +22774,563 @@ return !!attrDefinition; } var validate_attr_default = validateAttr; - function abstractroleEvaluate(node, options, virtualNode) { - var abstractRoles = token_list_default(virtualNode.attr('role')).filter(function(role) { - return get_role_type_default(role) === 'abstract'; - }); - if (abstractRoles.length > 0) { - this.data(abstractRoles); - return true; - } - return false; - } - var abstractrole_evaluate_default = abstractroleEvaluate; - function ariaAllowedAttrEvaluate(node, options, virtualNode) { - var invalid = []; - var role = get_role_default(virtualNode); - var attrs = virtualNode.attrNames; - var allowed = allowed_attr_default(role); - if (Array.isArray(options[role])) { - allowed = unique_array_default(options[role].concat(allowed)); - } - var tableMap = cache_default.get('aria-allowed-attr-table', function() { - return new WeakMap(); - }); - function validateRowAttrs() { - if (virtualNode.parent && role === 'row') { - var table = closest_default(virtualNode, 'table, [role="treegrid"], [role="table"], [role="grid"]'); - var tableRole = tableMap.get(table); - if (table && !tableRole) { - tableRole = get_role_default(table); - tableMap.set(table, tableRole); - } - if ([ 'table', 'grid' ].includes(tableRole) && role === 'row') { - return true; + function tdHasHeaderEvaluate(node) { + var badCells = []; + var cells = get_all_cells_default(node); + var tableGrid = to_grid_default(node); + cells.forEach(function(cell) { + if (has_content_default(cell) && is_data_cell_default(cell) && !label_default2(cell)) { + var hasHeaders = get_headers_default(cell, tableGrid).some(function(header) { + return header !== null && !!has_content_default(header); + }); + if (!hasHeaders) { + badCells.push(cell); } } - } - var ariaAttr = Array.isArray(options.validTreeRowAttrs) ? options.validTreeRowAttrs : []; - var preChecks = {}; - ariaAttr.forEach(function(attr) { - preChecks[attr] = validateRowAttrs; }); - if (allowed) { - for (var _i20 = 0; _i20 < attrs.length; _i20++) { - var _preChecks$attrName; - var attrName = attrs[_i20]; - if (validate_attr_default(attrName) && (_preChecks$attrName = preChecks[attrName]) !== null && _preChecks$attrName !== void 0 && _preChecks$attrName.call(preChecks)) { - invalid.push(attrName + '="' + virtualNode.attr(attrName) + '"'); - } else if (validate_attr_default(attrName) && !allowed.includes(attrName)) { - invalid.push(attrName + '="' + virtualNode.attr(attrName) + '"'); - } - } - } - if (invalid.length) { - this.data(invalid); - if (!is_html_element_default(virtualNode) && !role && !_isFocusable(virtualNode)) { - return void 0; - } + if (badCells.length) { + this.relatedNodes(badCells); return false; } return true; } - function ariaAllowedRoleEvaluate(node) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var virtualNode = arguments.length > 2 ? arguments[2] : undefined; - var _options$allowImplici = options.allowImplicit, allowImplicit = _options$allowImplici === void 0 ? true : _options$allowImplici, _options$ignoredTags = options.ignoredTags, ignoredTags = _options$ignoredTags === void 0 ? [] : _options$ignoredTags; - var nodeName2 = virtualNode.props.nodeName; - if (ignoredTags.map(function(tag) { - return tag.toLowerCase(); - }).includes(nodeName2)) { - return true; + var td_has_header_evaluate_default = tdHasHeaderEvaluate; + function scopeValueEvaluate(node, options) { + var value = node.getAttribute('scope').toLowerCase(); + return options.values.indexOf(value) !== -1; + } + var scope_value_evaluate_default = scopeValueEvaluate; + var same_caption_summary_evaluate_default = sameCaptionSummaryEvaluate; + function sameCaptionSummaryEvaluate(node, options, virtualNode) { + if (virtualNode.children === void 0) { + return void 0; } - var unallowedRoles = get_element_unallowed_roles_default(virtualNode, allowImplicit); - if (unallowedRoles.length) { - this.data(unallowedRoles); - if (!_isVisibleToScreenReaders(virtualNode)) { - return void 0; - } + var summary = virtualNode.attr('summary'); + var captionNode = virtualNode.children.find(isCaptionNode); + var caption = captionNode ? sanitize_default(subtree_text_default(captionNode)) : false; + if (!caption || !summary) { return false; } - return true; + return sanitize_default(summary).toLowerCase() === sanitize_default(caption).toLowerCase(); } - var aria_allowed_role_evaluate_default = ariaAllowedRoleEvaluate; - function ariaBusyEvaluate(node, options, virtualNode) { - return virtualNode.attr('aria-busy') === 'true'; + function isCaptionNode(virtualNode) { + return virtualNode.props.nodeName === 'caption'; } - function ariaErrormessageEvaluate(node, options, virtualNode) { - options = Array.isArray(options) ? options : []; - var attr = virtualNode.attr('aria-errormessage'); - var hasAttr = virtualNode.hasAttr('aria-errormessage'); - var invaid = virtualNode.attr('aria-invalid'); - var hasInvallid = virtualNode.hasAttr('aria-invalid'); - if (!hasInvallid || invaid === 'false') { + function html5ScopeEvaluate(node) { + if (!is_html5_default(document)) { return true; } - function validateAttrValue2(attr2) { - if (attr2.trim() === '') { - return standards_default.ariaAttrs['aria-errormessage'].allowEmpty; - } - var idref; - try { - idref = attr2 && idrefs_default(virtualNode, 'aria-errormessage')[0]; - } catch (e) { - this.data({ - messageKey: 'idrefs', - values: token_list_default(attr2) - }); - return void 0; - } - if (idref) { - if (!_isVisibleToScreenReaders(idref)) { - this.data({ - messageKey: 'hidden', - values: token_list_default(attr2) - }); - return false; - } - return idref.getAttribute('role') === 'alert' || idref.getAttribute('aria-live') === 'assertive' || idref.getAttribute('aria-live') === 'polite' || token_list_default(virtualNode.attr('aria-describedby')).indexOf(attr2) > -1; - } - return; - } - if (options.indexOf(attr) === -1 && hasAttr) { - this.data(token_list_default(attr)); - return validateAttrValue2.call(this, attr); - } - return true; + return node.nodeName.toUpperCase() === 'TH'; } - var aria_errormessage_evaluate_default = ariaErrormessageEvaluate; - function ariaHiddenBodyEvaluate(node, options, virtualNode) { - return virtualNode.attr('aria-hidden') !== 'true'; + var html5_scope_evaluate_default = html5ScopeEvaluate; + function captionFakedEvaluate(node) { + var table = to_grid_default(node); + var firstRow = table[0]; + if (table.length <= 1 || firstRow.length <= 1 || node.rows.length <= 1) { + return true; + } + return firstRow.reduce(function(out, curr, i) { + return out || curr !== firstRow[i + 1] && firstRow[i + 1] !== void 0; + }, false); } - var aria_hidden_body_evaluate_default = ariaHiddenBodyEvaluate; - function ariaLevelEvaluate(node, options, virtualNode) { - var ariaHeadingLevel = virtualNode.attr('aria-level'); - var ariaLevel = parseInt(ariaHeadingLevel, 10); - if (ariaLevel > 6) { + var caption_faked_evaluate_default = captionFakedEvaluate; + function svgNonEmptyTitleEvaluate(node, options, virtualNode) { + if (!virtualNode.children) { return void 0; } - return true; - } - var aria_level_evaluate_default = ariaLevelEvaluate; - function ariaProhibitedAttrEvaluate(node) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var virtualNode = arguments.length > 2 ? arguments[2] : undefined; - var elementsAllowedAriaLabel = (options === null || options === void 0 ? void 0 : options.elementsAllowedAriaLabel) || []; - var nodeName2 = virtualNode.props.nodeName; - var role = get_role_default(virtualNode, { - chromium: true + var titleNode = virtualNode.children.find(function(_ref94) { + var props = _ref94.props; + return props.nodeName === 'title'; }); - var prohibitedList = listProhibitedAttrs(role, nodeName2, elementsAllowedAriaLabel); - var prohibited = prohibitedList.filter(function(attrName) { - if (!virtualNode.attrNames.includes(attrName)) { + if (!titleNode) { + this.data({ + messageKey: 'noTitle' + }); + return false; + } + try { + var titleText2 = subtree_text_default(titleNode, { + includeHidden: true + }).trim(); + if (titleText2 === '') { + this.data({ + messageKey: 'emptyTitle' + }); return false; } - return sanitize_default(virtualNode.attr(attrName)) !== ''; - }); - if (prohibited.length === 0) { + } catch (_unused7) { + return void 0; + } + return true; + } + var svg_non_empty_title_evaluate_default = svgNonEmptyTitleEvaluate; + var standards_exports = {}; + __export(standards_exports, { + getAriaRolesByType: function getAriaRolesByType() { + return get_aria_roles_by_type_default; + }, + getAriaRolesSupportingNameFromContent: function getAriaRolesSupportingNameFromContent() { + return get_aria_roles_supporting_name_from_content_default; + }, + getElementSpec: function getElementSpec() { + return get_element_spec_default; + }, + getElementsByContentType: function getElementsByContentType() { + return get_elements_by_content_type_default; + }, + getGlobalAriaAttrs: function getGlobalAriaAttrs() { + return get_global_aria_attrs_default; + }, + implicitHtmlRoles: function implicitHtmlRoles() { + return implicit_html_roles_default; + } + }); + function presentationalRoleEvaluate(node, options, virtualNode) { + var explicitRole2 = get_explicit_role_default(virtualNode); + if ([ 'presentation', 'none' ].includes(explicitRole2) && [ 'iframe', 'frame' ].includes(virtualNode.props.nodeName) && virtualNode.hasAttr('title')) { + this.data({ + messageKey: 'iframe', + nodeName: virtualNode.props.nodeName + }); return false; } - var messageKey = virtualNode.hasAttr('role') ? 'hasRole' : 'noRole'; - messageKey += prohibited.length > 1 ? 'Plural' : 'Singular'; - this.data({ - role: role, - nodeName: nodeName2, - messageKey: messageKey, - prohibited: prohibited - }); - var textContent = subtree_text_default(virtualNode, { - subtreeDescendant: true + var role = get_role_default(virtualNode); + if ([ 'presentation', 'none' ].includes(role)) { + this.data({ + role: role + }); + return true; + } + if (![ 'presentation', 'none' ].includes(explicitRole2)) { + return false; + } + var hasGlobalAria = get_global_aria_attrs_default().some(function(attr) { + return virtualNode.hasAttr(attr); }); - if (sanitize_default(textContent) !== '') { - return void 0; + var focusable = _isFocusable(virtualNode); + var messageKey; + if (hasGlobalAria && !focusable) { + messageKey = 'globalAria'; + } else if (!hasGlobalAria && focusable) { + messageKey = 'focusable'; + } else { + messageKey = 'both'; } - return true; + this.data({ + messageKey: messageKey, + role: role + }); + return false; } - function listProhibitedAttrs(role, nodeName2, elementsAllowedAriaLabel) { - var roleSpec = standards_default.ariaRoles[role]; - if (roleSpec) { - return roleSpec.prohibitedAttrs || []; + function nonEmptyIfPresentEvaluate(node, options, virtualNode) { + var nodeName2 = virtualNode.props.nodeName; + var type2 = (virtualNode.attr('type') || '').toLowerCase(); + var label3 = virtualNode.attr('value'); + if (label3) { + this.data({ + messageKey: 'has-label' + }); } - if (!!role || elementsAllowedAriaLabel.includes(nodeName2)) { - return []; + if (nodeName2 === 'input' && [ 'submit', 'reset' ].includes(type2)) { + return label3 === null; } - return [ 'aria-label', 'aria-labelledby' ]; + return false; } - var standards_exports = {}; - __export(standards_exports, { - getAriaRolesByType: function getAriaRolesByType() { - return get_aria_roles_by_type_default; - }, - getAriaRolesSupportingNameFromContent: function getAriaRolesSupportingNameFromContent() { - return get_aria_roles_supporting_name_from_content_default; - }, - getElementSpec: function getElementSpec() { - return get_element_spec_default; - }, - getElementsByContentType: function getElementsByContentType() { - return get_elements_by_content_type_default; - }, - getGlobalAriaAttrs: function getGlobalAriaAttrs() { - return get_global_aria_attrs_default; - }, - implicitHtmlRoles: function implicitHtmlRoles() { - return implicit_html_roles_default; + var non_empty_if_present_evaluate_default = nonEmptyIfPresentEvaluate; + function isOnScreenEvaluate(node) { + return _isVisibleOnScreen(node); + } + var is_on_screen_evaluate_default = isOnScreenEvaluate; + function inlineStyleProperty(node, options) { + var cssProperty = options.cssProperty, absoluteValues = options.absoluteValues, minValue = options.minValue, maxValue = options.maxValue, _options$normalValue = options.normalValue, normalValue = _options$normalValue === void 0 ? 0 : _options$normalValue, noImportant = options.noImportant, multiLineOnly = options.multiLineOnly; + if (!noImportant && node.style.getPropertyPriority(cssProperty) !== 'important' || multiLineOnly && !_isMultiline(node)) { + return true; } - }); - function ariaRequiredAttrEvaluate(node) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var virtualNode = arguments.length > 2 ? arguments[2] : undefined; - var role = get_explicit_role_default(virtualNode); - var attrs = virtualNode.attrNames; - var requiredAttrs = required_attr_default(role); - if (Array.isArray(options[role])) { - requiredAttrs = unique_array_default(options[role], requiredAttrs); + var data = {}; + if (typeof minValue === 'number') { + data.minValue = minValue; } - if (!role || !attrs.length || !requiredAttrs.length) { - return true; + if (typeof maxValue === 'number') { + data.maxValue = maxValue; } - if (isStaticSeparator(virtualNode, role) || isClosedCombobox(virtualNode, role)) { + var declaredPropValue = node.style.getPropertyValue(cssProperty); + if ([ 'inherit', 'unset', 'revert', 'revert-layer' ].includes(declaredPropValue)) { + this.data(_extends({ + value: declaredPropValue + }, data)); return true; } - var elmSpec = get_element_spec_default(virtualNode); - var missingAttrs = requiredAttrs.filter(function(requiredAttr2) { - return !virtualNode.attr(requiredAttr2) && !hasImplicitAttr(elmSpec, requiredAttr2); + var value = getNumberValue(node, { + absoluteValues: absoluteValues, + cssProperty: cssProperty, + normalValue: normalValue }); - if (missingAttrs.length) { - this.data(missingAttrs); - return false; + this.data(_extends({ + value: value + }, data)); + if (typeof value !== 'number') { + return void 0; } - return true; + if ((typeof minValue !== 'number' || value >= minValue) && (typeof maxValue !== 'number' || value <= maxValue)) { + return true; + } + return false; } - function isStaticSeparator(vNode, role) { - return role === 'separator' && !_isFocusable(vNode); + function getNumberValue(domNode, _ref95) { + var cssProperty = _ref95.cssProperty, absoluteValues = _ref95.absoluteValues, normalValue = _ref95.normalValue; + var computedStyle = window.getComputedStyle(domNode); + var cssPropValue = computedStyle.getPropertyValue(cssProperty); + if (cssPropValue === 'normal') { + return normalValue; + } + var parsedValue = parseFloat(cssPropValue); + if (absoluteValues) { + return parsedValue; + } + var fontSize = parseFloat(computedStyle.getPropertyValue('font-size')); + var value = Math.round(parsedValue / fontSize * 100) / 100; + if (isNaN(value)) { + return cssPropValue; + } + return value; } - function hasImplicitAttr(elmSpec, attr) { - var _elmSpec$implicitAttr; - return ((_elmSpec$implicitAttr = elmSpec.implicitAttrs) === null || _elmSpec$implicitAttr === void 0 ? void 0 : _elmSpec$implicitAttr[attr]) !== void 0; + function hasAltEvaluate(node, options, virtualNode) { + var nodeName2 = virtualNode.props.nodeName; + if (![ 'img', 'input', 'area' ].includes(nodeName2)) { + return false; + } + return virtualNode.hasAttr('alt'); } - function isClosedCombobox(vNode, role) { - return role === 'combobox' && vNode.attr('aria-expanded') === 'false'; + var has_alt_evaluate_default = hasAltEvaluate; + function existsEvaluate() { + return void 0; } - function getOwnedRoles(virtualNode, required) { - var ownedRoles = []; - var ownedElements = get_owned_virtual_default(virtualNode); - var _loop5 = function _loop5(_i21) { - var ownedElement = ownedElements[_i21]; - var role = get_role_default(ownedElement, { - noPresentational: true - }); - var hasGlobalAria = get_global_aria_attrs_default().some(function(attr) { - return ownedElement.hasAttr(attr); - }); - var hasGlobalAriaOrFocusable = hasGlobalAria || _isFocusable(ownedElement); - if (!role && !hasGlobalAriaOrFocusable || [ 'group', 'rowgroup' ].includes(role) && required.some(function(requiredRole) { - return requiredRole === role; - })) { - ownedElements.push.apply(ownedElements, _toConsumableArray(ownedElement.children)); - } else if (role || hasGlobalAriaOrFocusable) { - ownedRoles.push({ - role: role, - ownedElement: ownedElement - }); - } - }; - for (var _i21 = 0; _i21 < ownedElements.length; _i21++) { - _loop5(_i21); - } - return ownedRoles; + var exists_evaluate_default = existsEvaluate; + function docHasTitleEvaluate() { + var title = document.title; + return !!sanitize_default(title); } - function missingRequiredChildren(virtualNode, role, required, ownedRoles) { - var _loop6 = function _loop6(_i22) { - var role2 = ownedRoles[_i22].role; - if (required.includes(role2)) { - required = required.filter(function(requiredRole) { - return requiredRole !== role2; - }); - return { - v: null - }; - } - }; - for (var _i22 = 0; _i22 < ownedRoles.length; _i22++) { - var _ret2 = _loop6(_i22); - if (_typeof(_ret2) === 'object') { - return _ret2.v; + var doc_has_title_evaluate_default = docHasTitleEvaluate; + function avoidInlineSpacingEvaluate(node, options) { + var overriddenProperties = options.cssProperties.filter(function(property) { + if (node.style.getPropertyPriority(property) === 'important') { + return property; } + }); + if (overriddenProperties.length > 0) { + this.data(overriddenProperties); + return false; } - if (required.length) { - return required; + return true; + } + var avoid_inline_spacing_evaluate_default = avoidInlineSpacingEvaluate; + function ariaLabelledbyEvaluate(node, options, virtualNode) { + try { + return !!sanitize_default(arialabelledby_text_default(virtualNode)); + } catch (_unused8) { + return void 0; } - return null; } - function ariaRequiredChildrenEvaluate(node, options, virtualNode) { - var reviewEmpty = options && Array.isArray(options.reviewEmpty) ? options.reviewEmpty : []; - var role = get_explicit_role_default(virtualNode, { - dpub: true - }); - var required = required_owned_default(role); - if (required === null) { + var aria_labelledby_evaluate_default = ariaLabelledbyEvaluate; + function ariaLabelEvaluate(node, options, virtualNode) { + return !!sanitize_default(_arialabelText(virtualNode)); + } + var aria_label_evaluate_default = ariaLabelEvaluate; + function duplicateIdEvaluate(node) { + var id = node.getAttribute('id').trim(); + if (!id) { return true; } - var ownedRoles = getOwnedRoles(virtualNode, required); - var unallowed = ownedRoles.filter(function(_ref72) { - var role2 = _ref72.role; - return !required.includes(role2); + var root = get_root_node_default2(node); + var matchingNodes = Array.from(root.querySelectorAll('[id="'.concat(escape_selector_default(id), '"]'))).filter(function(foundNode) { + return foundNode !== node; }); - if (unallowed.length) { - this.relatedNodes(unallowed.map(function(_ref73) { - var ownedElement = _ref73.ownedElement; - return ownedElement; - })); - this.data({ - messageKey: 'unallowed' - }); - return false; - } - var missing = missingRequiredChildren(virtualNode, role, required, ownedRoles); - if (!missing) { - return true; + if (matchingNodes.length) { + this.relatedNodes(matchingNodes); } - this.data(missing); - if (reviewEmpty.includes(role) && !has_content_virtual_default(virtualNode, false, true) && !ownedRoles.length && (!virtualNode.hasAttr('aria-owns') || !idrefs_default(node, 'aria-owns').length)) { - return void 0; + this.data(id); + return matchingNodes.length === 0; + } + var duplicate_id_evaluate_default = duplicateIdEvaluate; + function duplicateIdAfter(results) { + var uniqueIds = []; + return results.filter(function(r) { + if (uniqueIds.indexOf(r.data) === -1) { + uniqueIds.push(r.data); + return true; + } + return false; + }); + } + var duplicate_id_after_default = duplicateIdAfter; + function uniqueFrameTitleEvaluate(node, options, vNode) { + var title = sanitize_default(vNode.attr('title')).toLowerCase(); + this.data(title); + return true; + } + var unique_frame_title_evaluate_default = uniqueFrameTitleEvaluate; + function uniqueFrameTitleAfter(results) { + var titles = {}; + results.forEach(function(r) { + titles[r.data] = titles[r.data] !== void 0 ? ++titles[r.data] : 0; + }); + results.forEach(function(r) { + r.result = !!titles[r.data]; + }); + return results; + } + var unique_frame_title_after_default = uniqueFrameTitleAfter; + function skipLinkEvaluate(node) { + var target = get_element_by_reference_default(node, 'href'); + if (target) { + return _isVisibleToScreenReaders(target) || void 0; } return false; } - var aria_required_children_evaluate_default = ariaRequiredChildrenEvaluate; - function getMissingContext(virtualNode, ownGroupRoles, reqContext, includeElement) { - var explicitRole2 = get_explicit_role_default(virtualNode); - if (!reqContext) { - reqContext = required_context_default(explicitRole2); - } - if (!reqContext) { - return null; - } - var allowsGroup = reqContext.includes('group'); - var vNode = includeElement ? virtualNode : virtualNode.parent; - while (vNode) { - var role = get_role_default(vNode, { - noPresentational: true - }); - if (!role) { - vNode = vNode.parent; - } else if (role === 'group' && allowsGroup) { - if (ownGroupRoles.includes(explicitRole2)) { - reqContext.push(explicitRole2); - } - reqContext = reqContext.filter(function(r) { - return r !== 'group'; - }); + var skip_link_evaluate_default = skipLinkEvaluate; + var implicitAriaLiveRoles = [ 'alert', 'log', 'status' ]; + function regionEvaluate(node, options, virtualNode) { + this.data({ + isIframe: [ 'iframe', 'frame' ].includes(virtualNode.props.nodeName) + }); + var regionlessNodes = cache_default.get('regionlessNodes', function() { + return getRegionlessNodes(options); + }); + return !regionlessNodes.includes(virtualNode); + } + function getRegionlessNodes(options) { + var regionlessNodes = findRegionlessElms(axe._tree[0], options).map(function(vNode) { + while (vNode.parent && !vNode.parent._hasRegionDescendant && vNode.parent.actualNode !== document.body) { vNode = vNode.parent; - } else if (reqContext.includes(role)) { - return null; - } else { - return reqContext; } - } - return reqContext; + return vNode; + }).filter(function(vNode, index, array) { + return array.indexOf(vNode) === index; + }); + return regionlessNodes; } - function getAriaOwners(element) { - var owners = [], o = null; - while (element) { - if (element.getAttribute('id')) { - var id = escape_selector_default(element.getAttribute('id')); - var doc = get_root_node_default2(element); - o = doc.querySelector('[aria-owns~='.concat(id, ']')); - if (o) { - owners.push(o); - } + function findRegionlessElms(virtualNode, options) { + var node = virtualNode.actualNode; + if (get_role_default(virtualNode) === 'button' || isRegion(virtualNode, options) || [ 'iframe', 'frame' ].includes(virtualNode.props.nodeName) || _isSkipLink(virtualNode.actualNode) && get_element_by_reference_default(virtualNode.actualNode, 'href') || !_isVisibleToScreenReaders(node)) { + var vNode = virtualNode; + while (vNode) { + vNode._hasRegionDescendant = true; + vNode = vNode.parent; } - element = element.parentElement; - } - return owners.length ? owners : null; - } - function ariaRequiredParentEvaluate(node, options, virtualNode) { - var ownGroupRoles = options && Array.isArray(options.ownGroupRoles) ? options.ownGroupRoles : []; - var missingParents = getMissingContext(virtualNode, ownGroupRoles); - if (!missingParents) { - return true; - } - var owners = getAriaOwners(node); - if (owners) { - for (var _i23 = 0, l = owners.length; _i23 < l; _i23++) { - missingParents = getMissingContext(get_node_from_tree_default(owners[_i23]), ownGroupRoles, missingParents, true); - if (!missingParents) { - return true; - } + if ([ 'iframe', 'frame' ].includes(virtualNode.props.nodeName)) { + return [ virtualNode ]; } + return []; + } else if (node !== document.body && has_content_default(node, true) && !isShallowlyHidden(virtualNode)) { + return [ virtualNode ]; + } else { + return virtualNode.children.filter(function(_ref96) { + var actualNode = _ref96.actualNode; + return actualNode.nodeType === 1; + }).map(function(vNode) { + return findRegionlessElms(vNode, options); + }).reduce(function(a2, b2) { + return a2.concat(b2); + }, []); } - this.data(missingParents); - return false; } - var aria_required_parent_evaluate_default = ariaRequiredParentEvaluate; - function ariaRoledescriptionEvaluate(node) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var virtualNode = arguments.length > 2 ? arguments[2] : undefined; + function isShallowlyHidden(virtualNode) { + return [ 'none', 'presentation' ].includes(get_role_default(virtualNode)) && !hasChildTextNodes(virtualNode); + } + function isRegion(virtualNode, options) { + var node = virtualNode.actualNode; var role = get_role_default(virtualNode); - var supportedRoles = options.supportedRoles || []; - if (supportedRoles.includes(role)) { + var ariaLive = (node.getAttribute('aria-live') || '').toLowerCase().trim(); + var landmarkRoles2 = get_aria_roles_by_type_default('landmark'); + if ([ 'assertive', 'polite' ].includes(ariaLive) || implicitAriaLiveRoles.includes(role)) { return true; } - if (role && role !== 'presentation' && role !== 'none') { - return void 0; + if (landmarkRoles2.includes(role)) { + return true; } - return false; - } - var aria_roledescription_evaluate_default = ariaRoledescriptionEvaluate; - function ariaUnsupportedAttrEvaluate(node, options, virtualNode) { - var unsupportedAttrs = virtualNode.attrNames.filter(function(name) { - var attribute = standards_default.ariaAttrs[name]; - if (!validate_attr_default(name)) { - return false; - } - var unsupported2 = attribute.unsupported; - if (_typeof(unsupported2) !== 'object') { - return !!unsupported2; - } - return !matches_default3(node, unsupported2.exceptions); - }); - if (unsupportedAttrs.length) { - this.data(unsupportedAttrs); + if (options.regionMatcher && matches_default2(virtualNode, options.regionMatcher)) { return true; } return false; } - var aria_unsupported_attr_evaluate_default = ariaUnsupportedAttrEvaluate; - function ariaValidAttrEvaluate(node, options, virtualNode) { - options = Array.isArray(options.value) ? options.value : []; - var invalid = []; - var aria = /^aria-/; - virtualNode.attrNames.forEach(function(attr) { - if (options.indexOf(attr) === -1 && aria.test(attr) && !validate_attr_default(attr)) { - invalid.push(attr); - } + function regionAfter(results) { + var iframeResults = results.filter(function(r) { + return r.data.isIframe; }); - if (invalid.length) { - this.data(invalid); - return false; - } - return true; - } - var aria_valid_attr_evaluate_default = ariaValidAttrEvaluate; - function ariaValidAttrValueEvaluate(node, options, virtualNode) { - options = Array.isArray(options.value) ? options.value : []; - var needsReview = ''; - var messageKey = ''; - var invalid = []; - var aria = /^aria-/; - var skipAttrs = [ 'aria-errormessage' ]; - var preChecks = { - 'aria-controls': function ariaControls() { - return virtualNode.attr('aria-expanded') !== 'false' && virtualNode.attr('aria-selected') !== 'false'; - }, - 'aria-current': function ariaCurrent(validValue) { - if (!validValue) { - needsReview = 'aria-current="'.concat(virtualNode.attr('aria-current'), '"'); - messageKey = 'ariaCurrent'; - } - return; - }, - 'aria-owns': function ariaOwns() { - return virtualNode.attr('aria-expanded') !== 'false'; - }, - 'aria-describedby': function ariaDescribedby(validValue) { - if (!validValue) { - needsReview = 'aria-describedby="'.concat(virtualNode.attr('aria-describedby'), '"'); - messageKey = axe._tree && axe._tree[0]._hasShadowRoot ? 'noIdShadow' : 'noId'; - } - return; - }, - 'aria-labelledby': function ariaLabelledby(validValue) { - if (!validValue) { - needsReview = 'aria-labelledby="'.concat(virtualNode.attr('aria-labelledby'), '"'); - messageKey = axe._tree && axe._tree[0]._hasShadowRoot ? 'noIdShadow' : 'noId'; - } - } - }; - virtualNode.attrNames.forEach(function(attrName) { - if (skipAttrs.includes(attrName) || options.includes(attrName) || !aria.test(attrName)) { + results.forEach(function(r) { + if (r.result || r.node.ancestry.length === 1) { return; } - var validValue; - var attrValue = virtualNode.attr(attrName); + var frameAncestry = r.node.ancestry.slice(0, -1); + var _iterator15 = _createForOfIteratorHelper(iframeResults), _step15; try { - validValue = validate_attr_value_default(virtualNode, attrName); - } catch (e) { - needsReview = ''.concat(attrName, '="').concat(attrValue, '"'); - messageKey = 'idrefs'; - return; - } - if ((preChecks[attrName] ? preChecks[attrName](validValue) : true) && !validValue) { - if (attrValue === '' && !isStringType(attrName)) { - needsReview = attrName; - messageKey = 'empty'; - } else { - invalid.push(''.concat(attrName, '="').concat(attrValue, '"')); + for (_iterator15.s(); !(_step15 = _iterator15.n()).done; ) { + var iframeResult = _step15.value; + if (_matchAncestry(frameAncestry, iframeResult.node.ancestry)) { + r.result = iframeResult.result; + break; + } } + } catch (err) { + _iterator15.e(err); + } finally { + _iterator15.f(); } }); - if (invalid.length) { - this.data(invalid); - return false; - } - if (needsReview) { - this.data({ - messageKey: messageKey, - needsReview: needsReview - }); - return void 0; - } - return true; - } - function isStringType(attrName) { - var _standards_default$ar; - return ((_standards_default$ar = standards_default.ariaAttrs[attrName]) === null || _standards_default$ar === void 0 ? void 0 : _standards_default$ar.type) === 'string'; - } - function deprecatedroleEvaluate(node, options, virtualNode) { - var role = get_role_default(virtualNode, { - dpub: true, - fallback: true + iframeResults.forEach(function(r) { + if (!r.result) { + r.result = true; + } }); - var roleDefinition = standards_default.ariaRoles[role]; - if (!(roleDefinition !== null && roleDefinition !== void 0 && roleDefinition.deprecated)) { - return false; - } - this.data(role); - return true; - } - function nonePresentationOnElementWithNoImplicitRole(virtualNode, explicitRoles) { - var hasImplicitRole = implicit_role_default(virtualNode); - return !hasImplicitRole && explicitRoles.length === 2 && explicitRoles.includes('none') && explicitRoles.includes('presentation'); + return results; } - function fallbackroleEvaluate(node, options, virtualNode) { - var explicitRoles = token_list_default(virtualNode.attr('role')); - if (explicitRoles.length <= 1) { - return false; + var region_after_default = regionAfter; + function normalizeFontWeight(weight) { + switch (weight) { + case 'lighter': + return 100; + + case 'normal': + return 400; + + case 'bold': + return 700; + + case 'bolder': + return 900; } - return nonePresentationOnElementWithNoImplicitRole(virtualNode, explicitRoles) ? void 0 : true; - } - var fallbackrole_evaluate_default = fallbackroleEvaluate; - function hasGlobalAriaAttributeEvaluate(node, options, virtualNode) { - var globalAttrs = get_global_aria_attrs_default().filter(function(attr) { - return virtualNode.hasAttr(attr); - }); - this.data(globalAttrs); - return globalAttrs.length > 0; + weight = parseInt(weight); + return !isNaN(weight) ? weight : 400; } - var has_global_aria_attribute_evaluate_default = hasGlobalAriaAttributeEvaluate; - function hasWidgetRoleEvaluate(node) { - var role = node.getAttribute('role'); - if (role === null) { - return false; + function getTextContainer(elm) { + var nextNode = elm; + var outerText = elm.textContent.trim(); + var innerText = outerText; + while (innerText === outerText && nextNode !== void 0) { + var _i35 = -1; + elm = nextNode; + if (elm.children.length === 0) { + return elm; + } + do { + _i35++; + innerText = elm.children[_i35].textContent.trim(); + } while (innerText === '' && _i35 + 1 < elm.children.length); + nextNode = elm.children[_i35]; } - var roleType = get_role_type_default(role); - return roleType === 'widget' || roleType === 'composite'; + return elm; } - var has_widget_role_evaluate_default = hasWidgetRoleEvaluate; - function invalidroleEvaluate(node, options, virtualNode) { - var allRoles = token_list_default(virtualNode.attr('role')); - var allInvalid = allRoles.every(function(role) { - return !is_valid_role_default(role, { - allowAbstract: true - }); - }); - if (allInvalid) { - this.data(allRoles); - return true; - } - return false; + function getStyleValues(node) { + var style = window.getComputedStyle(getTextContainer(node)); + return { + fontWeight: normalizeFontWeight(style.getPropertyValue('font-weight')), + fontSize: parseInt(style.getPropertyValue('font-size')), + isItalic: style.getPropertyValue('font-style') === 'italic' + }; } - var invalidrole_evaluate_default = invalidroleEvaluate; - function isElementFocusableEvaluate(node, options, virtualNode) { - return _isFocusable(virtualNode); + function isHeaderStyle(styleA, styleB, margins) { + return margins.reduce(function(out, margin) { + return out || (!margin.size || styleA.fontSize / margin.size > styleB.fontSize) && (!margin.weight || styleA.fontWeight - margin.weight > styleB.fontWeight) && (!margin.italic || styleA.isItalic && !styleB.isItalic); + }, false); } - var is_element_focusable_evaluate_default = isElementFocusableEvaluate; - function noImplicitExplicitLabelEvaluate(node, options, virtualNode) { - var role = get_role_default(virtualNode, { - noImplicit: true + function pAsHeadingEvaluate(node, options, virtualNode) { + var siblings = Array.from(node.parentNode.children); + var currentIndex = siblings.indexOf(node); + options = options || {}; + var margins = options.margins || []; + var nextSibling = siblings.slice(currentIndex + 1).find(function(elm) { + return elm.nodeName.toUpperCase() === 'P'; }); - this.data(role); - var label3; - var accText; - try { - label3 = sanitize_default(label_text_default(virtualNode)).toLowerCase(); - accText = sanitize_default(accessible_text_virtual_default(virtualNode)).toLowerCase(); - } catch (e) { - return void 0; + var prevSibling = siblings.slice(0, currentIndex).reverse().find(function(elm) { + return elm.nodeName.toUpperCase() === 'P'; + }); + var currStyle = getStyleValues(node); + var nextStyle = nextSibling ? getStyleValues(nextSibling) : null; + var prevStyle = prevSibling ? getStyleValues(prevSibling) : null; + var optionsPassLength = options.passLength; + var optionsFailLength = options.failLength; + var headingLength = node.textContent.trim().length; + var paragraphLength = nextSibling === null || nextSibling === void 0 ? void 0 : nextSibling.textContent.trim().length; + if (headingLength > paragraphLength * optionsPassLength) { + return true; } - if (!accText && !label3) { - return false; + if (!nextStyle || !isHeaderStyle(currStyle, nextStyle, margins)) { + return true; } - if (!accText && label3) { + var blockquote = find_up_virtual_default(virtualNode, 'blockquote'); + if (blockquote && blockquote.nodeName.toUpperCase() === 'BLOCKQUOTE') { return void 0; } - if (!accText.includes(label3)) { + if (prevStyle && !isHeaderStyle(currStyle, prevStyle, margins)) { + return void 0; + } + if (headingLength > paragraphLength * optionsFailLength) { return void 0; } return false; } - var no_implicit_explicit_label_evaluate_default = noImplicitExplicitLabelEvaluate; - function unsupportedroleEvaluate(node, options, virtualNode) { - var role = get_role_default(virtualNode, { - dpub: true, - fallback: true + var p_as_heading_evaluate_default = pAsHeadingEvaluate; + var separatorRegex = /[;,\s]/; + var validRedirectNumRegex = /^[0-9.]+$/; + function metaRefreshEvaluate(node, options, virtualNode) { + var _ref97 = options || {}, minDelay = _ref97.minDelay, maxDelay = _ref97.maxDelay; + var content = (virtualNode.attr('content') || '').trim(); + var _content$split = content.split(separatorRegex), _content$split2 = _slicedToArray(_content$split, 1), redirectStr = _content$split2[0]; + if (!redirectStr.match(validRedirectNumRegex)) { + return true; + } + var redirectDelay = parseFloat(redirectStr); + this.data({ + redirectDelay: redirectDelay }); - var isUnsupported = is_unsupported_role_default(role); - if (isUnsupported) { - this.data(role); + if (typeof minDelay === 'number' && redirectDelay <= options.minDelay) { + return true; } - return isUnsupported; - } - var unsupportedrole_evaluate_default = unsupportedroleEvaluate; - var VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS = { - ARTICLE: true, - ASIDE: true, - NAV: true, - SECTION: true - }; - var VALID_ROLES_FOR_SCROLLABLE_REGIONS = { - application: true, - banner: false, - complementary: true, - contentinfo: true, - form: true, - main: true, - navigation: true, - region: true, - search: false - }; - function validScrollableTagName(node) { - var nodeName2 = node.nodeName.toUpperCase(); - return VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS[nodeName2] || false; - } - function validScrollableRole(node, options) { - var role = get_explicit_role_default(node); - if (!role) { - return false; + if (typeof maxDelay === 'number' && redirectDelay > options.maxDelay) { + return true; } - return VALID_ROLES_FOR_SCROLLABLE_REGIONS[role] || options.roles.includes(role) || false; + return false; } - function validScrollableSemanticsEvaluate(node, options) { - return validScrollableRole(node, options) || validScrollableTagName(node); + function internalLinkPresentEvaluate(node, options, virtualNode) { + var links = query_selector_all_default(virtualNode, 'a[href]'); + return links.some(function(vLink) { + return /^#[^/!]/.test(vLink.attr('href')); + }); } - var valid_scrollable_semantics_evaluate_default = validScrollableSemanticsEvaluate; + var internal_link_present_evaluate_default = internalLinkPresentEvaluate; + var commons_exports = {}; + __export(commons_exports, { + aria: function aria() { + return aria_exports; + }, + color: function color() { + return color_exports; + }, + dom: function dom() { + return dom_exports; + }, + forms: function forms() { + return forms_exports; + }, + matches: function matches() { + return matches_default2; + }, + math: function math() { + return math_exports; + }, + standards: function standards() { + return standards_exports; + }, + table: function table() { + return table_exports; + }, + text: function text() { + return text_exports; + }, + utils: function utils() { + return utils_exports; + } + }); var color_exports = {}; __export(color_exports, { Color: function Color() { @@ -17728,7 +23349,7 @@ return filtered_rect_stack_default; }, flattenColors: function flattenColors() { - return flatten_colors_default; + return _flattenColors; }, flattenShadowColors: function flattenShadowColors() { return _flattenShadowColors; @@ -17751,14 +23372,26 @@ getRectStack: function getRectStack() { return get_rect_stack_default; }, + getStackingContext: function getStackingContext() { + return _getStackingContext; + }, + getStrokeColorsFromShadows: function getStrokeColorsFromShadows() { + return _getStrokeColorsFromShadows; + }, getTextShadowColors: function getTextShadowColors() { - return get_text_shadow_colors_default; + return _getTextShadowColors; }, hasValidContrastRatio: function hasValidContrastRatio() { return has_valid_contrast_ratio_default; }, incompleteData: function incompleteData() { return incomplete_data_default; + }, + parseTextShadows: function parseTextShadows() { + return _parseTextShadows; + }, + stackingContextToColor: function stackingContextToColor() { + return _stackingContextToColor; } }); function centerPointOfRect(rect) { @@ -17850,9 +23483,7 @@ return null; } var filtered_rect_stack_default = filteredRectStack; - function clamp(value, min, max) { - return Math.min(Math.max(min, value), max); - } + var nonSeparableBlendModes = [ 'hue', 'saturation', 'color', 'luminosity' ]; var blendFunctions = { normal: function normal(Cb, Cs) { return Cs; @@ -17894,33 +23525,58 @@ }, exclusion: function exclusion(Cb, Cs) { return Cb + Cs - 2 * Cb * Cs; + }, + hue: function hue(Cb, Cs) { + return Cs.setSaturation(Cb.getSaturation()).setLuminosity(Cb.getLuminosity()); + }, + saturation: function saturation(Cb, Cs) { + return Cb.setSaturation(Cs.getSaturation()).setLuminosity(Cb.getLuminosity()); + }, + color: function color(Cb, Cs) { + return Cs.setLuminosity(Cb.getLuminosity()); + }, + luminosity: function luminosity(Cb, Cs) { + return Cb.setLuminosity(Cs.getLuminosity()); } }; - function simpleAlphaCompositing(Cs, \u03b1s, Cb, \u03b1b, blendMode) { - return \u03b1s * (1 - \u03b1b) * Cs + \u03b1s * \u03b1b * blendFunctions[blendMode](Cb / 255, Cs / 255) * 255 + (1 - \u03b1s) * \u03b1b * Cb; - } - function flattenColors(fgColor, bgColor) { + function _flattenColors(sourceColor, backdrop) { var blendMode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'normal'; - var r = simpleAlphaCompositing(fgColor.red, fgColor.alpha, bgColor.red, bgColor.alpha, blendMode); - var g = simpleAlphaCompositing(fgColor.green, fgColor.alpha, bgColor.green, bgColor.alpha, blendMode); - var b = simpleAlphaCompositing(fgColor.blue, fgColor.alpha, bgColor.blue, bgColor.alpha, blendMode); - var \u03b1o = clamp(fgColor.alpha + bgColor.alpha * (1 - fgColor.alpha), 0, 1); + var blendingResult = blend(backdrop, sourceColor, blendMode); + var r = simpleAlphaCompositing(sourceColor.red, sourceColor.alpha, backdrop.red, backdrop.alpha, blendingResult.r * 255); + var g2 = simpleAlphaCompositing(sourceColor.green, sourceColor.alpha, backdrop.green, backdrop.alpha, blendingResult.g * 255); + var b2 = simpleAlphaCompositing(sourceColor.blue, sourceColor.alpha, backdrop.blue, backdrop.alpha, blendingResult.b * 255); + var \u03b1o = clamp2(sourceColor.alpha + backdrop.alpha * (1 - sourceColor.alpha), 0, 1); if (\u03b1o === 0) { - return new color_default(r, g, b, \u03b1o); + return new color_default(r, g2, b2, \u03b1o); } var Cr = Math.round(r / \u03b1o); - var Cg = Math.round(g / \u03b1o); - var Cb = Math.round(b / \u03b1o); + var Cg = Math.round(g2 / \u03b1o); + var Cb = Math.round(b2 / \u03b1o); return new color_default(Cr, Cg, Cb, \u03b1o); } - var flatten_colors_default = flattenColors; + function simpleAlphaCompositing(Cs, \u03b1s, Cb, \u03b1b, blendingResult) { + return \u03b1s * (1 - \u03b1b) * Cs + \u03b1s * \u03b1b * blendingResult + (1 - \u03b1s) * \u03b1b * Cb; + } + function clamp2(value, min, max2) { + return Math.min(Math.max(min, value), max2); + } + function blend(Cb, Cs, blendMode) { + if (nonSeparableBlendModes.includes(blendMode)) { + return blendFunctions[blendMode](Cb, Cs); + } + var C = new color_default(); + [ 'r', 'g', 'b' ].forEach(function(channel) { + C[channel] = blendFunctions[blendMode](Cb[channel], Cs[channel]); + }); + return C; + } function _flattenShadowColors(fgColor, bgColor) { var alpha = fgColor.alpha; var r = (1 - alpha) * bgColor.red + alpha * fgColor.red; - var g = (1 - alpha) * bgColor.green + alpha * fgColor.green; - var b = (1 - alpha) * bgColor.blue + alpha * fgColor.blue; - var a = fgColor.alpha + bgColor.alpha * (1 - fgColor.alpha); - return new color_default(r, g, b, a); + var g2 = (1 - alpha) * bgColor.green + alpha * fgColor.green; + var b2 = (1 - alpha) * bgColor.blue + alpha * fgColor.blue; + var a2 = fgColor.alpha + bgColor.alpha * (1 - fgColor.alpha); + return new color_default(r, g2, b2, a2); } function _getBackgroundStack(node) { var stacks = get_text_element_stack_default(node).map(function(stack) { @@ -17958,53 +23614,105 @@ } return bgNodes; } - function shallowArraysEqual(a, b) { - if (a === b) { + function shallowArraysEqual(a2, b2) { + if (a2 === b2) { return true; } - if (a === null || b === null) { + if (a2 === null || b2 === null) { return false; } - if (a.length !== b.length) { + if (a2.length !== b2.length) { return false; } - for (var i = 0; i < a.length; ++i) { - if (a[i] !== b[i]) { + for (var _i36 = 0; _i36 < a2.length; ++_i36) { + if (a2[_i36] !== b2[_i36]) { return false; } } return true; } - function getTextShadowColors(node) { - var _ref74 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, minRatio = _ref74.minRatio, maxRatio = _ref74.maxRatio; - var style = window.getComputedStyle(node); - var textShadow = style.getPropertyValue('text-shadow'); - if (textShadow === 'none') { - return []; + var SHADOW_STROKE_ALPHA = .54; + var VISIBLE_SHADOW_MIN_PX = .5; + var OPAQUE_STROKE_OFFSET_MIN_PX = 1.5; + var edges = [ 'top', 'right', 'bottom', 'left' ]; + function _getStrokeColorsFromShadows(parsedShadows) { + var _ref98 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref98$ignoreEdgeCoun = _ref98.ignoreEdgeCount, ignoreEdgeCount = _ref98$ignoreEdgeCoun === void 0 ? false : _ref98$ignoreEdgeCoun; + var shadowMap = getShadowColorsMap(parsedShadows); + var shadowsByColor = Object.entries(shadowMap).map(function(_ref99) { + var _ref100 = _slicedToArray(_ref99, 2), colorStr = _ref100[0], sides = _ref100[1]; + var edgeCount = edges.filter(function(side) { + return sides[side].length !== 0; + }).length; + return { + colorStr: colorStr, + sides: sides, + edgeCount: edgeCount + }; + }); + if (!ignoreEdgeCount && shadowsByColor.some(function(_ref101) { + var edgeCount = _ref101.edgeCount; + return edgeCount > 1 && edgeCount < 4; + })) { + return null; } - var fontSizeStr = style.getPropertyValue('font-size'); - var fontSize = parseInt(fontSizeStr); - assert_default(isNaN(fontSize) === false, 'Unable to determine font-size value '.concat(fontSizeStr)); - var shadowColors = []; - var shadows = parseTextShadows(textShadow); - shadows.forEach(function(_ref75) { - var colorStr = _ref75.colorStr, pixels = _ref75.pixels; - colorStr = colorStr || style.getPropertyValue('color'); - var _pixels = _slicedToArray(pixels, 3), offsetY = _pixels[0], offsetX = _pixels[1], _pixels$ = _pixels[2], blurRadius = _pixels$ === void 0 ? 0 : _pixels$; - if ((!minRatio || blurRadius >= fontSize * minRatio) && (!maxRatio || blurRadius < fontSize * maxRatio)) { - var color = textShadowColor({ - colorStr: colorStr, - offsetY: offsetY, - offsetX: offsetX, - blurRadius: blurRadius, - fontSize: fontSize - }); - shadowColors.push(color); + return shadowsByColor.map(shadowGroupToColor).filter(function(shadow) { + return shadow !== null; + }); + } + function getShadowColorsMap(parsedShadows) { + var colorMap = {}; + var _iterator16 = _createForOfIteratorHelper(parsedShadows), _step16; + try { + for (_iterator16.s(); !(_step16 = _iterator16.n()).done; ) { + var _colorMap$colorStr; + var _step16$value = _step16.value, colorStr = _step16$value.colorStr, pixels = _step16$value.pixels; + (_colorMap$colorStr = colorMap[colorStr]) !== null && _colorMap$colorStr !== void 0 ? _colorMap$colorStr : colorMap[colorStr] = { + top: [], + right: [], + bottom: [], + left: [] + }; + var borders = colorMap[colorStr]; + var _pixels = _slicedToArray(pixels, 2), offsetX = _pixels[0], offsetY = _pixels[1]; + if (offsetX > VISIBLE_SHADOW_MIN_PX) { + borders.right.push(offsetX); + } else if (-offsetX > VISIBLE_SHADOW_MIN_PX) { + borders.left.push(-offsetX); + } + if (offsetY > VISIBLE_SHADOW_MIN_PX) { + borders.bottom.push(offsetY); + } else if (-offsetY > VISIBLE_SHADOW_MIN_PX) { + borders.top.push(-offsetY); + } } + } catch (err) { + _iterator16.e(err); + } finally { + _iterator16.f(); + } + return colorMap; + } + function shadowGroupToColor(_ref102) { + var colorStr = _ref102.colorStr, sides = _ref102.sides, edgeCount = _ref102.edgeCount; + if (edgeCount !== 4) { + return null; + } + var strokeColor = new color_default(); + strokeColor.parseString(colorStr); + var density = 0; + var isSolid = true; + edges.forEach(function(edge) { + density += sides[edge].length / 4; + isSolid && (isSolid = sides[edge].every(function(offset) { + return offset > OPAQUE_STROKE_OFFSET_MIN_PX; + })); }); - return shadowColors; + if (!isSolid) { + strokeColor.alpha = 1 - Math.pow(SHADOW_STROKE_ALPHA, density); + } + return strokeColor; } - function parseTextShadows(textShadow) { + function _parseTextShadows(textShadow) { var current = { pixels: [] }; @@ -18014,7 +23722,7 @@ return []; } while (str) { - var colorMatch = str.match(/^rgba?\([0-9,.\s]+\)/i) || str.match(/^[a-z]+/i) || str.match(/^#[0-9a-f]+/i); + var colorMatch = str.match(/^[a-z]+(\([^)]+\))?/i) || str.match(/^#[0-9a-f]+/i); var pixelMatch = str.match(/^([0-9.-]+)px/i) || str.match(/^(0)/); if (colorMatch) { assert_default(!current.colorStr, 'Multiple colors identified in text-shadow: '.concat(textShadow)); @@ -18033,13 +23741,83 @@ shadows.push(current); str = str.substr(1).trim(); } else { - throw new Error('Unable to process text-shadows: '.concat(textShadow)); + throw new Error('Unable to process text-shadows: '.concat(str)); } } + shadows.forEach(function(_ref103) { + var pixels = _ref103.pixels; + if (pixels.length === 2) { + pixels.push(0); + } + }); return shadows; } - function textShadowColor(_ref76) { - var colorStr = _ref76.colorStr, offsetX = _ref76.offsetX, offsetY = _ref76.offsetY, blurRadius = _ref76.blurRadius, fontSize = _ref76.fontSize; + function _getTextShadowColors(node) { + var _ref104 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, minRatio = _ref104.minRatio, maxRatio = _ref104.maxRatio, ignoreEdgeCount = _ref104.ignoreEdgeCount; + var shadowColors = []; + var style = window.getComputedStyle(node); + var textShadow = style.getPropertyValue('text-shadow'); + if (textShadow === 'none') { + return shadowColors; + } + var fontSizeStr = style.getPropertyValue('font-size'); + var fontSize = parseInt(fontSizeStr); + assert_default(isNaN(fontSize) === false, 'Unable to determine font-size value '.concat(fontSizeStr)); + var thinShadows = []; + var shadows = _parseTextShadows(textShadow); + var _iterator17 = _createForOfIteratorHelper(shadows), _step17; + try { + for (_iterator17.s(); !(_step17 = _iterator17.n()).done; ) { + var shadow = _step17.value; + var colorStr = shadow.colorStr || style.getPropertyValue('color'); + var _shadow$pixels = _slicedToArray(shadow.pixels, 3), offsetX = _shadow$pixels[0], offsetY = _shadow$pixels[1], _shadow$pixels$ = _shadow$pixels[2], blurRadius = _shadow$pixels$ === void 0 ? 0 : _shadow$pixels$; + if (maxRatio && blurRadius >= fontSize * maxRatio) { + continue; + } + if (minRatio && blurRadius < fontSize * minRatio) { + thinShadows.push({ + colorStr: colorStr, + pixels: shadow.pixels + }); + continue; + } + if (thinShadows.length > 0) { + var _strokeColors = _getStrokeColorsFromShadows(thinShadows, { + ignoreEdgeCount: ignoreEdgeCount + }); + if (_strokeColors === null) { + return null; + } + shadowColors.push.apply(shadowColors, _toConsumableArray(_strokeColors)); + thinShadows.splice(0, thinShadows.length); + } + var _color3 = textShadowColor({ + colorStr: colorStr, + offsetX: offsetX, + offsetY: offsetY, + blurRadius: blurRadius, + fontSize: fontSize + }); + shadowColors.push(_color3); + } + } catch (err) { + _iterator17.e(err); + } finally { + _iterator17.f(); + } + if (thinShadows.length > 0) { + var strokeColors = _getStrokeColorsFromShadows(thinShadows, { + ignoreEdgeCount: ignoreEdgeCount + }); + if (strokeColors === null) { + return null; + } + shadowColors.push.apply(shadowColors, _toConsumableArray(strokeColors)); + } + return shadowColors; + } + function textShadowColor(_ref105) { + var colorStr = _ref105.colorStr, offsetX = _ref105.offsetX, offsetY = _ref105.offsetY, blurRadius = _ref105.blurRadius, fontSize = _ref105.fontSize; if (offsetX > blurRadius || offsetY > blurRadius) { return new color_default(0, 0, 0, 0); } @@ -18055,7 +23833,99 @@ var relativeBlur = blurRadius / fontSize; return .185 / (relativeBlur + .4); } - var get_text_shadow_colors_default = getTextShadowColors; + function _getStackingContext(elm, elmStack) { + var _elmStack; + var virtualNode = get_node_from_tree_default(elm); + if (virtualNode._stackingContext) { + return virtualNode._stackingContext; + } + var stackingContext = []; + var contextMap = new Map(); + elmStack = (_elmStack = elmStack) !== null && _elmStack !== void 0 ? _elmStack : _getBackgroundStack(elm); + elmStack.forEach(function(bgElm) { + var _stackingOrder2; + var bgVNode = get_node_from_tree_default(bgElm); + var bgColor = getOwnBackgroundColor2(bgVNode); + var stackingOrder = bgVNode._stackingOrder.filter(function(_ref106) { + var vNode = _ref106.vNode; + return !!vNode; + }); + stackingOrder.forEach(function(_ref107, index) { + var _stackingOrder; + var vNode = _ref107.vNode; + var ancestorVNode2 = (_stackingOrder = stackingOrder[index - 1]) === null || _stackingOrder === void 0 ? void 0 : _stackingOrder.vNode; + var context2 = addToStackingContext(contextMap, vNode, ancestorVNode2); + if (index === 0 && !contextMap.get(vNode)) { + stackingContext.unshift(context2); + } + contextMap.set(vNode, context2); + }); + var ancestorVNode = (_stackingOrder2 = stackingOrder[stackingOrder.length - 1]) === null || _stackingOrder2 === void 0 ? void 0 : _stackingOrder2.vNode; + var context = addToStackingContext(contextMap, bgVNode, ancestorVNode); + if (!stackingOrder.length) { + stackingContext.unshift(context); + } + context.bgColor = bgColor; + }); + virtualNode._stackingContext = stackingContext; + return stackingContext; + } + function _stackingContextToColor(context) { + var _context$descendants; + if (!((_context$descendants = context.descendants) !== null && _context$descendants !== void 0 && _context$descendants.length)) { + var color2 = context.bgColor; + color2.alpha *= context.opacity; + return { + color: color2, + blendMode: context.blendMode + }; + } + var sourceColor = context.descendants.reduce(reduceToColor, createStackingContext2()); + var color = _flattenColors(sourceColor, context.bgColor, context.descendants[0].blendMode); + color.alpha *= context.opacity; + return { + color: color, + blendMode: context.blendMode + }; + } + function reduceToColor(backdropContext, sourceContext) { + var backdrop; + if (backdropContext instanceof color_default) { + backdrop = backdropContext; + } else { + backdrop = _stackingContextToColor(backdropContext).color; + } + var sourceColor = _stackingContextToColor(sourceContext).color; + return _flattenColors(sourceColor, backdrop, sourceContext.blendMode); + } + function createStackingContext2(vNode, ancestorContext) { + var _vNode$getComputedSty; + return { + vNode: vNode, + ancestor: ancestorContext, + opacity: parseFloat((_vNode$getComputedSty = vNode === null || vNode === void 0 ? void 0 : vNode.getComputedStylePropertyValue('opacity')) !== null && _vNode$getComputedSty !== void 0 ? _vNode$getComputedSty : 1), + bgColor: new color_default(0, 0, 0, 0), + blendMode: normalizeBlendMode(vNode === null || vNode === void 0 ? void 0 : vNode.getComputedStylePropertyValue('mix-blend-mode')), + descendants: [] + }; + } + function normalizeBlendMode(blendmode) { + return !!blendmode ? blendmode : void 0; + } + function addToStackingContext(contextMap, vNode, ancestorVNode) { + var _contextMap$get; + var ancestorContext = contextMap.get(ancestorVNode); + var context = (_contextMap$get = contextMap.get(vNode)) !== null && _contextMap$get !== void 0 ? _contextMap$get : createStackingContext2(vNode, ancestorContext); + if (ancestorContext && ancestorVNode !== vNode && !ancestorContext.descendants.includes(context)) { + ancestorContext.descendants.unshift(context); + } + return context; + } + function getOwnBackgroundColor2(vNode) { + var bgColor = new color_default(); + bgColor.parseString(vNode.getComputedStylePropertyValue('background-color')); + return bgColor; + } function _getBackgroundColor2(elm) { var bgElms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; var shadowOutlineEmMax = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : .1; @@ -18075,54 +23945,53 @@ return bgColor; } function _getBackgroundColor(elm, bgElms, shadowOutlineEmMax) { - var _bgColors; - var bgColors = get_text_shadow_colors_default(elm, { - minRatio: shadowOutlineEmMax - }); + var _getTextShadowColors2, _bgColors; + var elmStack = _getBackgroundStack(elm); + if (!elmStack) { + return null; + } + var textRects = get_visible_child_text_rects_default(elm); + var bgColors = (_getTextShadowColors2 = _getTextShadowColors(elm, { + minRatio: shadowOutlineEmMax, + ignoreEdgeCount: true + })) !== null && _getTextShadowColors2 !== void 0 ? _getTextShadowColors2 : []; if (bgColors.length) { bgColors = [ { color: bgColors.reduce(_flattenShadowColors) } ]; } - var elmStack = _getBackgroundStack(elm); - var textRects = get_visible_child_text_rects_default(elm); - (elmStack || []).some(function(bgElm) { + for (var _i37 = 0; _i37 < elmStack.length; _i37++) { + var bgElm = elmStack[_i37]; var bgElmStyle = window.getComputedStyle(bgElm); if (element_has_image_default(bgElm, bgElmStyle)) { - bgColors = null; bgElms.push(bgElm); - return true; + return null; } var bgColor = get_own_background_color_default(bgElmStyle); if (bgColor.alpha === 0) { - return false; + continue; } if (bgElmStyle.getPropertyValue('display') !== 'inline' && !fullyEncompasses(bgElm, textRects)) { - bgColors = null; bgElms.push(bgElm); incomplete_data_default.set('bgColor', 'elmPartiallyObscured'); - return true; + return null; } bgElms.push(bgElm); - var blendMode = bgElmStyle.getPropertyValue('mix-blend-mode'); - bgColors.unshift({ - color: bgColor, - blendMode: normalizeBlendMode(blendMode) - }); - return bgColor.alpha === 1; - }); - if (bgColors === null || elmStack === null) { - return null; + if (bgColor.alpha === 1) { + break; + } } + var stackingContext = _getStackingContext(elm, elmStack); + bgColors = stackingContext.map(_stackingContextToColor).concat(bgColors); var pageBgs = getPageBackgroundColors(elm, elmStack.includes(document.body)); (_bgColors = bgColors).unshift.apply(_bgColors, _toConsumableArray(pageBgs)); if (bgColors.length === 0) { return new color_default(255, 255, 255, 1); } var blendedColor = bgColors.reduce(function(bgColor, fgColor) { - return flatten_colors_default(fgColor.color, bgColor.color instanceof color_default ? bgColor.color : bgColor, fgColor.blendMode); + return _flattenColors(fgColor.color, bgColor.color instanceof color_default ? bgColor.color : bgColor, fgColor.blendMode); }); - return flatten_colors_default(blendedColor.color instanceof color_default ? blendedColor.color : blendedColor, new color_default(255, 255, 255, 1)); + return _flattenColors(blendedColor.color instanceof color_default ? blendedColor.color : blendedColor, new color_default(255, 255, 255, 1)); } function fullyEncompasses(node, rects) { rects = Array.isArray(rects) ? rects : [ rects ]; @@ -18138,7 +24007,7 @@ return rect.top >= nodeRect.top && rect.bottom <= bottom && rect.left >= nodeRect.left && rect.right <= right; }); } - function normalizeBlendMode(blendmode) { + function normalizeBlendMode2(blendmode) { return !!blendmode ? blendmode : void 0; } function getPageBackgroundColors(elm, stackContainsBody) { @@ -18154,13 +24023,13 @@ if (bodyBgColor.alpha !== 0 && htmlBgColor.alpha === 0 || bodyBgColorApplies && bodyBgColor.alpha !== 1) { pageColors.unshift({ color: bodyBgColor, - blendMode: normalizeBlendMode(bodyStyle.getPropertyValue('mix-blend-mode')) + blendMode: normalizeBlendMode2(bodyStyle.getPropertyValue('mix-blend-mode')) }); } if (htmlBgColor.alpha !== 0 && (!bodyBgColorApplies || bodyBgColorApplies && bodyBgColor.alpha !== 1)) { pageColors.unshift({ color: htmlBgColor, - blendMode: normalizeBlendMode(htmlStyle.getPropertyValue('mix-blend-mode')) + blendMode: normalizeBlendMode2(htmlStyle.getPropertyValue('mix-blend-mode')) }); } } @@ -18171,7 +24040,7 @@ return null; } if (fgColor.alpha < 1) { - fgColor = flatten_colors_default(fgColor, bgColor); + fgColor = _flattenColors(fgColor, bgColor); } var bL = bgColor.getRelativeLuminance(); var fL = fgColor.getRelativeLuminance(); @@ -18182,42 +24051,45 @@ var _bgColor; var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; var nodeStyle = window.getComputedStyle(node); - var opacity = getOpacity(node, nodeStyle); - var strokeColor = getStrokeColor(nodeStyle, options); - if (strokeColor && strokeColor.alpha * opacity === 1) { - strokeColor.alpha = 1; - return strokeColor; - } - var textColor = getTextColor(nodeStyle); - var fgColor = strokeColor ? flatten_colors_default(strokeColor, textColor) : textColor; - if (fgColor.alpha * opacity === 1) { - fgColor.alpha = 1; - return fgColor; - } - var textShadowColors = get_text_shadow_colors_default(node, { - minRatio: 0 - }); - fgColor = textShadowColors.reduce(function(colorA, colorB) { - return flatten_colors_default(colorA, colorB); - }, fgColor); - if (fgColor.alpha * opacity === 1) { - fgColor.alpha = 1; - return fgColor; + var colorStack = [ function() { + return getStrokeColor(nodeStyle, options); + }, function() { + return getTextColor(nodeStyle); + }, function() { + return _getTextShadowColors(node, { + minRatio: 0 + }); + } ]; + var fgColors = []; + for (var _i38 = 0, _colorStack = colorStack; _i38 < _colorStack.length; _i38++) { + var colorFn = _colorStack[_i38]; + var _color4 = colorFn(); + if (!_color4) { + continue; + } + fgColors = fgColors.concat(_color4); + if (_color4.alpha === 1) { + break; + } } + var fgColor = fgColors.reduce(function(source, backdrop) { + return _flattenColors(source, backdrop); + }); (_bgColor = bgColor) !== null && _bgColor !== void 0 ? _bgColor : bgColor = _getBackgroundColor2(node, []); if (bgColor === null) { var reason = incomplete_data_default.get('bgColor'); incomplete_data_default.set('fgColor', reason); return null; } - fgColor.alpha = fgColor.alpha * opacity; - return flatten_colors_default(fgColor, bgColor); + var stackingContexts = _getStackingContext(node); + var context = findNodeInContexts(stackingContexts, node); + return _flattenColors(calculateBlendedForegroundColor(fgColor, context, stackingContexts), new color_default(255, 255, 255, 1)); } function getTextColor(nodeStyle) { return new color_default().parseString(nodeStyle.getPropertyValue('-webkit-text-fill-color') || nodeStyle.getPropertyValue('color')); } - function getStrokeColor(nodeStyle, _ref77) { - var _ref77$textStrokeEmMi = _ref77.textStrokeEmMin, textStrokeEmMin = _ref77$textStrokeEmMi === void 0 ? 0 : _ref77$textStrokeEmMi; + function getStrokeColor(nodeStyle, _ref108) { + var _ref108$textStrokeEmM = _ref108.textStrokeEmMin, textStrokeEmMin = _ref108$textStrokeEmM === void 0 ? 0 : _ref108$textStrokeEmM; var strokeWidth = parseFloat(nodeStyle.getPropertyValue('-webkit-text-stroke-width')); if (strokeWidth === 0) { return null; @@ -18230,960 +24102,964 @@ var strokeColor = nodeStyle.getPropertyValue('-webkit-text-stroke-color'); return new color_default().parseString(strokeColor); } - function getOpacity(node, nodeStyle) { - var _nodeStyle; - if (!node) { - return 1; - } - var vNode = get_node_from_tree_default(node); - if (vNode && vNode._opacity !== void 0 && vNode._opacity !== null) { - return vNode._opacity; + function calculateBlendedForegroundColor(fgColor, context, stackingContexts) { + while (context) { + var _context$ancestor; + if (context.opacity === 1 && context.ancestor) { + context = context.ancestor; + continue; + } + fgColor.alpha *= context.opacity; + var stack = ((_context$ancestor = context.ancestor) === null || _context$ancestor === void 0 ? void 0 : _context$ancestor.descendants) || stackingContexts; + if (context.opacity !== 1) { + stack = stack.slice(0, stack.indexOf(context)); + } + var bgColors = stack.map(_stackingContextToColor); + if (!bgColors.length) { + context = context.ancestor; + continue; + } + var bgColor = bgColors.reduce(function(backdrop, source) { + return _flattenColors(source.color, backdrop.color instanceof color_default ? backdrop.color : backdrop); + }, { + color: new color_default(0, 0, 0, 0), + blendMode: 'normal' + }); + fgColor = _flattenColors(fgColor, bgColor); + context = context.ancestor; } - (_nodeStyle = nodeStyle) !== null && _nodeStyle !== void 0 ? _nodeStyle : nodeStyle = window.getComputedStyle(node); - var opacity = nodeStyle.getPropertyValue('opacity'); - var finalOpacity = opacity * getOpacity(node.parentElement); - if (vNode) { - vNode._opacity = finalOpacity; + return fgColor; + } + function findNodeInContexts(contexts, node) { + var _iterator18 = _createForOfIteratorHelper(contexts), _step18; + try { + for (_iterator18.s(); !(_step18 = _iterator18.n()).done; ) { + var _context$vNode; + var context = _step18.value; + if (((_context$vNode = context.vNode) === null || _context$vNode === void 0 ? void 0 : _context$vNode.actualNode) === node) { + return context; + } + var found = findNodeInContexts(context.descendants, node); + if (found) { + return found; + } + } + } catch (err) { + _iterator18.e(err); + } finally { + _iterator18.f(); } - return finalOpacity; } function hasValidContrastRatio(bg, fg, fontSize, isBold) { - var contrast = get_contrast_default(bg, fg); + var contrast2 = get_contrast_default(bg, fg); var isSmallFont = isBold && Math.ceil(fontSize * 72) / 96 < 14 || !isBold && Math.ceil(fontSize * 72) / 96 < 18; var expectedContrastRatio = isSmallFont ? 4.5 : 3; return { - isValid: contrast > expectedContrastRatio, - contrastRatio: contrast, + isValid: contrast2 > expectedContrastRatio, + contrastRatio: contrast2, expectedContrastRatio: expectedContrastRatio }; } var has_valid_contrast_ratio_default = hasValidContrastRatio; - function colorContrastEvaluate(node, options, virtualNode) { - var ignoreUnicode = options.ignoreUnicode, ignoreLength = options.ignoreLength, ignorePseudo = options.ignorePseudo, boldValue = options.boldValue, boldTextPt = options.boldTextPt, largeTextPt = options.largeTextPt, contrastRatio = options.contrastRatio, shadowOutlineEmMax = options.shadowOutlineEmMax, pseudoSizeThreshold = options.pseudoSizeThreshold; - if (!_isVisibleOnScreen(node)) { - this.data({ - messageKey: 'hidden' - }); - return true; - } - var visibleText = visible_virtual_default(virtualNode, false, true); - if (ignoreUnicode && textIsEmojis(visibleText)) { - this.data({ - messageKey: 'nonBmp' - }); - return void 0; - } - var nodeStyle = window.getComputedStyle(node); - var fontSize = parseFloat(nodeStyle.getPropertyValue('font-size')); - var fontWeight = nodeStyle.getPropertyValue('font-weight'); - var bold = parseFloat(fontWeight) >= boldValue || fontWeight === 'bold'; - var ptSize = Math.ceil(fontSize * 72) / 96; - var isSmallFont = bold && ptSize < boldTextPt || !bold && ptSize < largeTextPt; - var _ref78 = isSmallFont ? contrastRatio.normal : contrastRatio.large, expected = _ref78.expected, minThreshold = _ref78.minThreshold, maxThreshold = _ref78.maxThreshold; - var pseudoElm = findPseudoElement(virtualNode, { - ignorePseudo: ignorePseudo, - pseudoSizeThreshold: pseudoSizeThreshold - }); - if (pseudoElm) { - this.data({ - fontSize: ''.concat((fontSize * 72 / 96).toFixed(1), 'pt (').concat(fontSize, 'px)'), - fontWeight: bold ? 'bold' : 'normal', - messageKey: 'pseudoContent', - expectedContrastRatio: expected + ':1' - }); - this.relatedNodes(pseudoElm.actualNode); - return void 0; - } - var bgNodes = []; - var bgColor = _getBackgroundColor2(node, bgNodes, shadowOutlineEmMax); - var fgColor = _getForegroundColor(node, false, bgColor, options); - var shadowColors = get_text_shadow_colors_default(node, { - minRatio: .001, - maxRatio: shadowOutlineEmMax - }); - var contrast = null; - var contrastContributor = null; - var shadowColor = null; - if (shadowColors.length === 0) { - contrast = get_contrast_default(bgColor, fgColor); - } else if (fgColor && bgColor) { - shadowColor = [].concat(_toConsumableArray(shadowColors), [ bgColor ]).reduce(_flattenShadowColors); - var fgBgContrast = get_contrast_default(bgColor, fgColor); - var bgShContrast = get_contrast_default(bgColor, shadowColor); - var fgShContrast = get_contrast_default(shadowColor, fgColor); - contrast = Math.max(fgBgContrast, bgShContrast, fgShContrast); - if (contrast !== fgBgContrast) { - contrastContributor = bgShContrast > fgShContrast ? 'shadowOnBgColor' : 'fgOnShadowColor'; - } - } - var isValid = contrast > expected; - if (typeof minThreshold === 'number' && (typeof contrast !== 'number' || contrast < minThreshold) || typeof maxThreshold === 'number' && (typeof contrast !== 'number' || contrast > maxThreshold)) { - this.data({ - contrastRatio: contrast - }); - return true; - } - var truncatedResult = Math.floor(contrast * 100) / 100; - var missing; - if (bgColor === null) { - missing = incomplete_data_default.get('bgColor'); - } else if (!isValid) { - missing = contrastContributor; - } - var equalRatio = truncatedResult === 1; - var shortTextContent = visibleText.length === 1; - if (equalRatio) { - missing = incomplete_data_default.set('bgColor', 'equalRatio'); - } else if (!isValid && shortTextContent && !ignoreLength) { - missing = 'shortTextContent'; - } - this.data({ - fgColor: fgColor ? fgColor.toHexString() : void 0, - bgColor: bgColor ? bgColor.toHexString() : void 0, - contrastRatio: truncatedResult, - fontSize: ''.concat((fontSize * 72 / 96).toFixed(1), 'pt (').concat(fontSize, 'px)'), - fontWeight: bold ? 'bold' : 'normal', - messageKey: missing, - expectedContrastRatio: expected + ':1', - shadowColor: shadowColor ? shadowColor.toHexString() : void 0 - }); - if (fgColor === null || bgColor === null || equalRatio || shortTextContent && !ignoreLength && !isValid) { - missing = null; - incomplete_data_default.clear(); - this.relatedNodes(bgNodes); - return void 0; - } - if (!isValid) { - this.relatedNodes(bgNodes); - } - return isValid; - } - function findPseudoElement(vNode, _ref79) { - var _ref79$pseudoSizeThre = _ref79.pseudoSizeThreshold, pseudoSizeThreshold = _ref79$pseudoSizeThre === void 0 ? .25 : _ref79$pseudoSizeThre, _ref79$ignorePseudo = _ref79.ignorePseudo, ignorePseudo = _ref79$ignorePseudo === void 0 ? false : _ref79$ignorePseudo; - if (ignorePseudo) { - return; - } - var rect = vNode.boundingClientRect; - var minimumSize = rect.width * rect.height * pseudoSizeThreshold; - do { - var beforeSize = getPseudoElementArea(vNode.actualNode, ':before'); - var afterSize = getPseudoElementArea(vNode.actualNode, ':after'); - if (beforeSize + afterSize > minimumSize) { - return vNode; - } - } while (vNode = vNode.parent); - } - var getPseudoElementArea = memoize_default(function getPseudoElementArea2(node, pseudo) { - var style = window.getComputedStyle(node, pseudo); - var matchPseudoStyle = function matchPseudoStyle(prop, value) { - return style.getPropertyValue(prop) === value; - }; - if (matchPseudoStyle('content', 'none') || matchPseudoStyle('display', 'none') || matchPseudoStyle('visibility', 'hidden') || matchPseudoStyle('position', 'absolute') === false) { - return 0; - } - if (get_own_background_color_default(style).alpha === 0 && matchPseudoStyle('background-image', 'none')) { - return 0; - } - var pseudoWidth = parseUnit(style.getPropertyValue('width')); - var pseudoHeight = parseUnit(style.getPropertyValue('height')); - if (pseudoWidth.unit !== 'px' || pseudoHeight.unit !== 'px') { - return pseudoWidth.value === 0 || pseudoHeight.value === 0 ? 0 : Infinity; + var forms_exports = {}; + __export(forms_exports, { + isAriaCombobox: function isAriaCombobox() { + return is_aria_combobox_default; + }, + isAriaListbox: function isAriaListbox() { + return is_aria_listbox_default; + }, + isAriaRange: function isAriaRange() { + return is_aria_range_default; + }, + isAriaTextbox: function isAriaTextbox() { + return is_aria_textbox_default; + }, + isDisabled: function isDisabled() { + return is_disabled_default; + }, + isNativeSelect: function isNativeSelect() { + return is_native_select_default; + }, + isNativeTextbox: function isNativeTextbox() { + return is_native_textbox_default; } - return pseudoWidth.value * pseudoHeight.value; }); - function textIsEmojis(visibleText) { - var options = { - nonBmp: true - }; - var hasUnicodeChars = has_unicode_default(visibleText, options); - var hasNonUnicodeChars = sanitize_default(remove_unicode_default(visibleText, options)) === ''; - return hasUnicodeChars && hasNonUnicodeChars; - } - function parseUnit(str) { - var unitRegex = /^([0-9.]+)([a-z]+)$/i; - var _ref80 = str.match(unitRegex) || [], _ref81 = _slicedToArray(_ref80, 3), _ref81$ = _ref81[1], value = _ref81$ === void 0 ? '' : _ref81$, _ref81$2 = _ref81[2], unit = _ref81$2 === void 0 ? '' : _ref81$2; - return { - value: parseFloat(value), - unit: unit.toLowerCase() - }; - } - function getContrast2(color1, color2) { - var c1lum = color1.getRelativeLuminance(); - var c2lum = color2.getRelativeLuminance(); - return (Math.max(c1lum, c2lum) + .05) / (Math.min(c1lum, c2lum) + .05); - } - var blockLike2 = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ]; - function isBlock2(elm) { - var display = window.getComputedStyle(elm).getPropertyValue('display'); - return blockLike2.indexOf(display) !== -1 || display.substr(0, 6) === 'table-'; - } - function linkInTextBlockEvaluate(node, options) { - var requiredContrastRatio = options.requiredContrastRatio; - if (isBlock2(node)) { - return false; - } - var parentBlock = get_composed_parent_default(node); - while (parentBlock && parentBlock.nodeType === 1 && !isBlock2(parentBlock)) { - parentBlock = get_composed_parent_default(parentBlock); - } - if (!parentBlock) { - return void 0; - } - this.relatedNodes([ parentBlock ]); - var nodeColor = _getForegroundColor(node); - var parentColor = _getForegroundColor(parentBlock); - var nodeBackgroundColor = _getBackgroundColor2(node); - var parentBackgroundColor = _getBackgroundColor2(parentBlock); - var textContrast = nodeColor && parentColor ? getContrast2(nodeColor, parentColor) : void 0; - if (textContrast) { - textContrast = Math.floor(textContrast * 100) / 100; - } - if (textContrast && textContrast >= requiredContrastRatio) { - return true; - } - var backgroundContrast = nodeBackgroundColor && parentBackgroundColor ? getContrast2(nodeBackgroundColor, parentBackgroundColor) : void 0; - if (backgroundContrast) { - backgroundContrast = Math.floor(backgroundContrast * 100) / 100; + var disabledNodeNames = [ 'fieldset', 'button', 'select', 'input', 'textarea' ]; + function isDisabled(virtualNode) { + var disabledState = virtualNode._isDisabled; + if (typeof disabledState === 'boolean') { + return disabledState; } - if (backgroundContrast && backgroundContrast >= requiredContrastRatio) { - return true; + var nodeName2 = virtualNode.props.nodeName; + var ariaDisabled = virtualNode.attr('aria-disabled'); + if (disabledNodeNames.includes(nodeName2) && virtualNode.hasAttr('disabled')) { + disabledState = true; + } else if (ariaDisabled) { + disabledState = ariaDisabled.toLowerCase() === 'true'; + } else if (virtualNode.parent) { + disabledState = isDisabled(virtualNode.parent); + } else { + disabledState = false; } - if (!backgroundContrast) { - var _incomplete_data_defa; - var reason = (_incomplete_data_defa = incomplete_data_default.get('bgColor')) !== null && _incomplete_data_defa !== void 0 ? _incomplete_data_defa : 'bgContrast'; - this.data({ - messageKey: reason - }); - incomplete_data_default.clear(); + virtualNode._isDisabled = disabledState; + return disabledState; + } + var is_disabled_default = isDisabled; + function identicalLinksSamePurposeEvaluate(node, options, virtualNode) { + var accText = text_exports.accessibleTextVirtual(virtualNode); + var name = text_exports.sanitize(text_exports.removeUnicode(accText, { + emoji: true, + nonBmp: true, + punctuations: true + })).toLowerCase(); + if (!name) { return void 0; } - if (!textContrast) { - return void 0; + var afterData = { + name: name, + urlProps: dom_exports.urlPropsFromAttribute(node, 'href') + }; + this.data(afterData); + this.relatedNodes([ node ]); + return true; + } + var identical_links_same_purpose_evaluate_default = identicalLinksSamePurposeEvaluate; + function isIdenticalObject(a2, b2) { + if (!a2 || !b2) { + return false; } - if (textContrast === 1 && backgroundContrast > 1) { - this.data({ - messageKey: 'bgContrast', - contrastRatio: backgroundContrast, - requiredContrastRatio: requiredContrastRatio, - nodeBackgroundColor: nodeBackgroundColor ? nodeBackgroundColor.toHexString() : void 0, - parentBackgroundColor: parentBackgroundColor ? parentBackgroundColor.toHexString() : void 0 - }); + var aProps = Object.getOwnPropertyNames(a2); + var bProps = Object.getOwnPropertyNames(b2); + if (aProps.length !== bProps.length) { return false; } - this.data({ - messageKey: 'fgContrast', - contrastRatio: textContrast, - requiredContrastRatio: requiredContrastRatio, - nodeColor: nodeColor ? nodeColor.toHexString() : void 0, - parentColor: parentColor ? parentColor.toHexString() : void 0 + var result = aProps.every(function(propName) { + var aValue = a2[propName]; + var bValue = b2[propName]; + if (_typeof(aValue) !== _typeof(bValue)) { + return false; + } + if (_typeof(aValue) === 'object' || _typeof(bValue) === 'object') { + return isIdenticalObject(aValue, bValue); + } + return aValue === bValue; }); - return false; - } - var link_in_text_block_evaluate_default = linkInTextBlockEvaluate; - var blockLike3 = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ]; - function isBlock3(elm) { - var display = window.getComputedStyle(elm).getPropertyValue('display'); - return blockLike3.indexOf(display) !== -1 || display.substr(0, 6) === 'table-'; + return result; } - function linkInTextBlockStyleEvaluate(node) { - if (isBlock3(node)) { - return false; - } - var parentBlock = get_composed_parent_default(node); - while (parentBlock && parentBlock.nodeType === 1 && !isBlock3(parentBlock)) { - parentBlock = get_composed_parent_default(parentBlock); + function identicalLinksSamePurposeAfter(results) { + if (results.length < 2) { + return results; } - if (!parentBlock) { - return void 0; + var incompleteResults = results.filter(function(_ref109) { + var result = _ref109.result; + return result !== void 0; + }); + var uniqueResults = []; + var nameMap = {}; + var _loop8 = function _loop8(index) { + var _currentResult$relate; + var currentResult = incompleteResults[index]; + var _currentResult$data = currentResult.data, name = _currentResult$data.name, urlProps = _currentResult$data.urlProps; + if (nameMap[name]) { + return 1; + } + var sameNameResults = incompleteResults.filter(function(_ref110, resultNum) { + var data = _ref110.data; + return data.name === name && resultNum !== index; + }); + var isSameUrl = sameNameResults.every(function(_ref111) { + var data = _ref111.data; + return isIdenticalObject(data.urlProps, urlProps); + }); + if (sameNameResults.length && !isSameUrl) { + currentResult.result = void 0; + } + currentResult.relatedNodes = []; + (_currentResult$relate = currentResult.relatedNodes).push.apply(_currentResult$relate, _toConsumableArray(sameNameResults.map(function(node) { + return node.relatedNodes[0]; + }))); + nameMap[name] = sameNameResults; + uniqueResults.push(currentResult); + }; + for (var index = 0; index < incompleteResults.length; index++) { + if (_loop8(index)) { + continue; + } } - this.relatedNodes([ parentBlock ]); - return element_is_distinct_default(node, parentBlock); + return uniqueResults; } - var link_in_text_block_style_evaluate_default = linkInTextBlockStyleEvaluate; - function autocompleteAppropriateEvaluate(node, options, virtualNode) { - if (virtualNode.props.nodeName !== 'input') { - return true; + var identical_links_same_purpose_after_default = identicalLinksSamePurposeAfter; + function getLevel(vNode) { + var role = get_role_default(vNode); + var headingRole = role && role.includes('heading'); + var ariaHeadingLevel = vNode.attr('aria-level'); + var ariaLevel = parseInt(ariaHeadingLevel, 10); + var _ref112 = vNode.props.nodeName.match(/h(\d)/) || [], _ref113 = _slicedToArray(_ref112, 2), headingLevel = _ref113[1]; + if (!headingRole) { + return -1; } - var number = [ 'text', 'search', 'number', 'tel' ]; - var url = [ 'text', 'search', 'url' ]; - var allowedTypesMap = { - bday: [ 'text', 'search', 'date' ], - email: [ 'text', 'search', 'email' ], - username: [ 'text', 'search', 'email' ], - 'street-address': [ 'text' ], - tel: [ 'text', 'search', 'tel' ], - 'tel-country-code': [ 'text', 'search', 'tel' ], - 'tel-national': [ 'text', 'search', 'tel' ], - 'tel-area-code': [ 'text', 'search', 'tel' ], - 'tel-local': [ 'text', 'search', 'tel' ], - 'tel-local-prefix': [ 'text', 'search', 'tel' ], - 'tel-local-suffix': [ 'text', 'search', 'tel' ], - 'tel-extension': [ 'text', 'search', 'tel' ], - 'cc-number': number, - 'cc-exp': [ 'text', 'search', 'month', 'tel' ], - 'cc-exp-month': number, - 'cc-exp-year': number, - 'cc-csc': number, - 'transaction-amount': number, - 'bday-day': number, - 'bday-month': number, - 'bday-year': number, - 'new-password': [ 'text', 'search', 'password' ], - 'current-password': [ 'text', 'search', 'password' ], - url: url, - photo: url, - impp: url - }; - if (_typeof(options) === 'object') { - Object.keys(options).forEach(function(key) { - if (!allowedTypesMap[key]) { - allowedTypesMap[key] = []; - } - allowedTypesMap[key] = allowedTypesMap[key].concat(options[key]); - }); + if (headingLevel && !ariaHeadingLevel) { + return parseInt(headingLevel, 10); } - var autocompleteAttr = virtualNode.attr('autocomplete'); - var autocompleteTerms = autocompleteAttr.split(/\s+/g).map(function(term) { - return term.toLowerCase(); - }); - var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1]; - if (_autocomplete.stateTerms.includes(purposeTerm)) { - return true; + if (isNaN(ariaLevel) || ariaLevel < 1) { + if (headingLevel) { + return parseInt(headingLevel, 10); + } + return 2; } - var allowedTypes = allowedTypesMap[purposeTerm]; - var type = virtualNode.hasAttr('type') ? sanitize_default(virtualNode.attr('type')).toLowerCase() : 'text'; - type = valid_input_type_default().includes(type) ? type : 'text'; - if (typeof allowedTypes === 'undefined') { - return type === 'text'; + if (ariaLevel) { + return ariaLevel; } - return allowedTypes.includes(type); - } - var autocomplete_appropriate_evaluate_default = autocompleteAppropriateEvaluate; - function autocompleteValidEvaluate(node, options, virtualNode) { - var autocomplete2 = virtualNode.attr('autocomplete') || ''; - return is_valid_autocomplete_default(autocomplete2, options); + return -1; } - var autocomplete_valid_evaluate_default = autocompleteValidEvaluate; - function attrNonSpaceContentEvaluate(node) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var vNode = arguments.length > 2 ? arguments[2] : undefined; - if (!options.attribute || typeof options.attribute !== 'string') { - throw new TypeError('attr-non-space-content requires options.attribute to be a string'); - } - if (!vNode.hasAttr(options.attribute)) { - this.data({ - messageKey: 'noAttr' - }); - return false; - } - var attribute = vNode.attr(options.attribute); - var attributeIsEmpty = !sanitize_default(attribute); - if (attributeIsEmpty) { - this.data({ - messageKey: 'emptyAttr' - }); - return false; + function headingOrderEvaluate() { + var headingOrder = cache_default.get('headingOrder'); + if (headingOrder) { + return true; } + var selector = 'h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame'; + var vNodes = query_selector_all_filter_default(axe._tree[0], selector, _isVisibleToScreenReaders); + headingOrder = vNodes.map(function(vNode) { + return { + ancestry: [ _getAncestry(vNode.actualNode) ], + level: getLevel(vNode) + }; + }); + this.data({ + headingOrder: headingOrder + }); + cache_default.set('headingOrder', vNodes); return true; } - var attr_non_space_content_evaluate_default = attrNonSpaceContentEvaluate; - function pageHasElmAfter(results) { - var elmUsedAnywhere = results.some(function(frameResult) { - return frameResult.result === true; + var heading_order_evaluate_default = headingOrderEvaluate; + function headingOrderAfter(results) { + var headingOrder = getHeadingOrder(results); + results.forEach(function(result) { + result.result = getHeadingOrderOutcome(result, headingOrder); }); - if (elmUsedAnywhere) { - results.forEach(function(result) { - result.result = true; - }); - } return results; } - var has_descendant_after_default = pageHasElmAfter; - function hasDescendant(node, options, virtualNode) { - if (!options || !options.selector || typeof options.selector !== 'string') { - throw new TypeError('has-descendant requires options.selector to be a string'); - } - if (options.passForModal && is_modal_open_default()) { + function getHeadingOrderOutcome(result, headingOrder) { + var _headingOrder$index$l, _headingOrder$index, _headingOrder$level, _headingOrder; + var index = findHeadingOrderIndex(headingOrder, result.node.ancestry); + var currLevel = (_headingOrder$index$l = (_headingOrder$index = headingOrder[index]) === null || _headingOrder$index === void 0 ? void 0 : _headingOrder$index.level) !== null && _headingOrder$index$l !== void 0 ? _headingOrder$index$l : -1; + var prevLevel = (_headingOrder$level = (_headingOrder = headingOrder[index - 1]) === null || _headingOrder === void 0 ? void 0 : _headingOrder.level) !== null && _headingOrder$level !== void 0 ? _headingOrder$level : -1; + if (index === 0) { return true; } - var matchingElms = query_selector_all_filter_default(virtualNode, options.selector, function(vNode) { - return _isVisibleToScreenReaders(vNode); - }); - this.relatedNodes(matchingElms.map(function(vNode) { - return vNode.actualNode; - })); - return matchingElms.length > 0; - } - var has_descendant_evaluate_default = hasDescendant; - function hasTextContentEvaluate(node, options, virtualNode) { - try { - return sanitize_default(subtree_text_default(virtualNode)) !== ''; - } catch (e) { + if (currLevel === -1) { return void 0; } + return currLevel - prevLevel <= 1; } - function matchesDefinitionEvaluate(_, options, virtualNode) { - return matches_default3(virtualNode, options.matcher); - } - var matches_definition_evaluate_default = matchesDefinitionEvaluate; - function pageNoDuplicateAfter(results) { - return results.filter(function(checkResult) { - return checkResult.data !== 'ignored'; + function getHeadingOrder(results) { + results = _toConsumableArray(results); + results.sort(function(_ref114, _ref115) { + var nodeA = _ref114.node; + var nodeB = _ref115.node; + return nodeA.ancestry.length - nodeB.ancestry.length; + }); + var headingOrder = results.reduce(mergeHeadingOrder, []); + return headingOrder.filter(function(_ref116) { + var level = _ref116.level; + return level !== -1; }); } - var page_no_duplicate_after_default = pageNoDuplicateAfter; - function pageNoDuplicateEvaluate(node, options, virtualNode) { - if (!options || !options.selector || typeof options.selector !== 'string') { - throw new TypeError('page-no-duplicate requires options.selector to be a string'); - } - var key = 'page-no-duplicate;' + options.selector; - if (cache_default.get(key)) { - this.data('ignored'); - return; + function mergeHeadingOrder(mergedHeadingOrder, result) { + var _result$data; + var frameHeadingOrder = (_result$data = result.data) === null || _result$data === void 0 ? void 0 : _result$data.headingOrder; + var frameAncestry = shortenArray(result.node.ancestry, 1); + if (!frameHeadingOrder) { + return mergedHeadingOrder; } - cache_default.set(key, true); - var elms = query_selector_all_filter_default(axe._tree[0], options.selector, function(elm) { - return _isVisibleToScreenReaders(elm); + var normalizedHeadingOrder = frameHeadingOrder.map(function(heading) { + return addFrameToHeadingAncestry(heading, frameAncestry); }); - if (typeof options.nativeScopeFilter === 'string') { - elms = elms.filter(function(elm) { - return elm.actualNode.hasAttribute('role') || !find_up_virtual_default(elm, options.nativeScopeFilter); - }); + var index = getFrameIndex(mergedHeadingOrder, frameAncestry); + if (index === -1) { + mergedHeadingOrder.push.apply(mergedHeadingOrder, _toConsumableArray(normalizedHeadingOrder)); + } else { + mergedHeadingOrder.splice.apply(mergedHeadingOrder, [ index, 0 ].concat(_toConsumableArray(normalizedHeadingOrder))); } - this.relatedNodes(elms.filter(function(elm) { - return elm !== virtualNode; - }).map(function(elm) { - return elm.actualNode; - })); - return elms.length <= 1; + return mergedHeadingOrder; } - var page_no_duplicate_evaluate_default = pageNoDuplicateEvaluate; - function accesskeysAfter(results) { - var seen = {}; - return results.filter(function(r) { - if (!r.data) { - return false; - } - var key = r.data.toUpperCase(); - if (!seen[key]) { - seen[key] = r; - r.relatedNodes = []; - return true; + function getFrameIndex(headingOrder, frameAncestry) { + while (frameAncestry.length) { + var index = findHeadingOrderIndex(headingOrder, frameAncestry); + if (index !== -1) { + return index; } - seen[key].relatedNodes.push(r.relatedNodes[0]); - return false; - }).map(function(r) { - r.result = !!r.relatedNodes.length; - return r; - }); - } - var accesskeys_after_default = accesskeysAfter; - function accesskeysEvaluate(node, options, vNode) { - if (!_isHiddenForEveryone(vNode)) { - this.data(vNode.attr('accesskey')); - this.relatedNodes([ node ]); + frameAncestry = shortenArray(frameAncestry, 1); } - return true; + return -1; } - var accesskeys_evaluate_default = accesskeysEvaluate; - function focusableContentEvaluate(node, options, virtualNode) { - var tabbableElements = virtualNode.tabbableElements; - if (!tabbableElements) { - return false; - } - var tabbableContentElements = tabbableElements.filter(function(el) { - return el !== virtualNode; + function findHeadingOrderIndex(headingOrder, ancestry) { + return headingOrder.findIndex(function(heading) { + return _matchAncestry(heading.ancestry, ancestry); }); - return tabbableContentElements.length > 0; } - var focusable_content_evaluate_default = focusableContentEvaluate; - function focusableDisabledEvaluate(node, options, virtualNode) { - var elementsThatCanBeDisabled = [ 'button', 'fieldset', 'input', 'select', 'textarea' ]; - var tabbableElements = virtualNode.tabbableElements; - if (!tabbableElements || !tabbableElements.length) { - return true; - } - var relatedNodes = tabbableElements.filter(function(vNode) { - return elementsThatCanBeDisabled.includes(vNode.props.nodeName); + function addFrameToHeadingAncestry(heading, frameAncestry) { + var ancestry = frameAncestry.concat(heading.ancestry); + return _extends({}, heading, { + ancestry: ancestry }); - this.relatedNodes(relatedNodes.map(function(vNode) { - return vNode.actualNode; - })); - if (relatedNodes.length === 0 || is_modal_open_default()) { + } + function shortenArray(arr, spliceLength) { + return arr.slice(0, arr.length - spliceLength); + } + function targetSizeEvaluate(node, options, vNode) { + var minSize = (options === null || options === void 0 ? void 0 : options.minSize) || 24; + var nodeRect = vNode.boundingClientRect; + if (_rectHasMinimumSize(minSize * 10, nodeRect)) { + this.data({ + messageKey: 'large', + minSize: minSize + }); return true; } - return relatedNodes.every(function(vNode) { - var pointerEvents = vNode.getComputedStylePropertyValue('pointer-events'); - var width = parseInt(vNode.getComputedStylePropertyValue('width')); - var height = parseInt(vNode.getComputedStylePropertyValue('height')); - return vNode.actualNode.onfocus || (width === 0 || height === 0) && pointerEvents === 'none'; - }) ? void 0 : false; - } - var focusable_disabled_evaluate_default = focusableDisabledEvaluate; - function focusableElementEvaluate(node, options, virtualNode) { - if (virtualNode.hasAttr('contenteditable') && isContenteditable(virtualNode)) { + var hasMinimumSize = _rectHasMinimumSize.bind(null, minSize); + var nearbyElms = _findNearbyElms(vNode); + var overflowingContent = filterOverflowingContent(vNode, nearbyElms); + var _filterByElmsOverlap = filterByElmsOverlap(vNode, nearbyElms), fullyObscuringElms = _filterByElmsOverlap.fullyObscuringElms, partialObscuringElms = _filterByElmsOverlap.partialObscuringElms; + if (overflowingContent.length && (fullyObscuringElms.length || !hasMinimumSize(nodeRect))) { + this.data({ + minSize: minSize, + messageKey: 'contentOverflow' + }); + this.relatedNodes(mapActualNodes(overflowingContent)); + return void 0; + } + if (fullyObscuringElms.length) { + this.relatedNodes(mapActualNodes(fullyObscuringElms)); + this.data({ + messageKey: 'obscured' + }); return true; } - return _isInTabOrder(virtualNode); - function isContenteditable(vNode) { - var contenteditable = vNode.attr('contenteditable'); - if (contenteditable === 'true' || contenteditable === '') { - return true; - } - if (contenteditable === 'false') { - return false; - } - var ancestor = closest_default(virtualNode.parent, '[contenteditable]'); - if (!ancestor) { - return false; - } - return isContenteditable(ancestor); + var negativeOutcome = _isInTabOrder(vNode) ? false : void 0; + if (!hasMinimumSize(nodeRect)) { + this.data(_extends({ + minSize: minSize + }, toDecimalSize(nodeRect))); + return negativeOutcome; } - } - var focusable_element_evaluate_default = focusableElementEvaluate; - function focusableModalOpenEvaluate(node, options, virtualNode) { - var tabbableElements = virtualNode.tabbableElements.map(function(_ref82) { - var actualNode = _ref82.actualNode; - return actualNode; - }); - if (!tabbableElements || !tabbableElements.length) { + var obscuredWidgets = filterFocusableWidgets(partialObscuringElms); + if (!obscuredWidgets.length) { + this.data(_extends({ + minSize: minSize + }, toDecimalSize(nodeRect))); return true; } - if (is_modal_open_default()) { - this.relatedNodes(tabbableElements); + var largestInnerRect = getLargestUnobscuredArea(vNode, obscuredWidgets); + if (!largestInnerRect) { + this.data({ + minSize: minSize, + messageKey: 'tooManyRects' + }); return void 0; } + if (!hasMinimumSize(largestInnerRect)) { + if (overflowingContent.length) { + this.data({ + minSize: minSize, + messageKey: 'contentOverflow' + }); + this.relatedNodes(mapActualNodes(overflowingContent)); + return void 0; + } + var allTabbable = obscuredWidgets.every(_isInTabOrder); + var messageKey = 'partiallyObscured'.concat(allTabbable ? '' : 'NonTabbable'); + this.data(_extends({ + messageKey: messageKey, + minSize: minSize + }, toDecimalSize(largestInnerRect))); + this.relatedNodes(mapActualNodes(obscuredWidgets)); + return allTabbable ? negativeOutcome : void 0; + } + this.data(_extends({ + minSize: minSize + }, toDecimalSize(largestInnerRect || nodeRect))); + this.relatedNodes(mapActualNodes(obscuredWidgets)); return true; } - var focusable_modal_open_evaluate_default = focusableModalOpenEvaluate; - function focusableNoNameEvaluate(node, options, virtualNode) { - var tabIndex = virtualNode.attr('tabindex'); - var inFocusOrder = _isFocusable(virtualNode) && tabIndex > -1; - if (!inFocusOrder) { - return false; - } + function filterOverflowingContent(vNode, nearbyElms) { + return nearbyElms.filter(function(nearbyElm) { + return !isEnclosedRect2(nearbyElm, vNode) && isDescendantNotInTabOrder2(vNode, nearbyElm); + }); + } + function filterByElmsOverlap(vNode, nearbyElms) { + var fullyObscuringElms = []; + var partialObscuringElms = []; + var _iterator19 = _createForOfIteratorHelper(nearbyElms), _step19; try { - return !accessible_text_virtual_default(virtualNode); - } catch (e) { - return void 0; + for (_iterator19.s(); !(_step19 = _iterator19.n()).done; ) { + var vNeighbor = _step19.value; + if (!isDescendantNotInTabOrder2(vNode, vNeighbor) && _hasVisualOverlap(vNode, vNeighbor) && getCssPointerEvents(vNeighbor) !== 'none') { + if (isEnclosedRect2(vNode, vNeighbor)) { + fullyObscuringElms.push(vNeighbor); + } else { + partialObscuringElms.push(vNeighbor); + } + } + } + } catch (err) { + _iterator19.e(err); + } finally { + _iterator19.f(); } + return { + fullyObscuringElms: fullyObscuringElms, + partialObscuringElms: partialObscuringElms + }; } - var focusable_no_name_evaluate_default = focusableNoNameEvaluate; - function focusableNotTabbableEvaluate(node, options, virtualNode) { - var elementsThatCanBeDisabled = [ 'button', 'fieldset', 'input', 'select', 'textarea' ]; - var tabbableElements = virtualNode.tabbableElements; - if (!tabbableElements || !tabbableElements.length) { - return true; + function getLargestUnobscuredArea(vNode, obscuredNodes) { + var nodeRect = vNode.boundingClientRect; + var obscuringRects = obscuredNodes.map(function(_ref117) { + var rect = _ref117.boundingClientRect; + return rect; + }); + var unobscuredRects; + try { + unobscuredRects = _splitRects(nodeRect, obscuringRects); + } catch (_unused9) { + return null; } - var relatedNodes = tabbableElements.filter(function(vNode) { - return !elementsThatCanBeDisabled.includes(vNode.props.nodeName); + return getLargestRect2(unobscuredRects); + } + function getLargestRect2(rects, minSize) { + return rects.reduce(function(rectA, rectB) { + var rectAisMinimum = _rectHasMinimumSize(minSize, rectA); + var rectBisMinimum = _rectHasMinimumSize(minSize, rectB); + if (rectAisMinimum !== rectBisMinimum) { + return rectAisMinimum ? rectA : rectB; + } + var areaA = rectA.width * rectA.height; + var areaB = rectB.width * rectB.height; + return areaA > areaB ? rectA : rectB; + }); + } + function filterFocusableWidgets(vNodes) { + return vNodes.filter(function(vNode) { + return get_role_type_default(vNode) === 'widget' && _isFocusable(vNode); + }); + } + function isEnclosedRect2(vNodeA, vNodeB) { + var rectA = vNodeA.boundingClientRect; + var rectB = vNodeB.boundingClientRect; + return rectA.top >= rectB.top && rectA.left >= rectB.left && rectA.bottom <= rectB.bottom && rectA.right <= rectB.right; + } + function getCssPointerEvents(vNode) { + return vNode.getComputedStylePropertyValue('pointer-events'); + } + function toDecimalSize(rect) { + return { + width: Math.round(rect.width * 10) / 10, + height: Math.round(rect.height * 10) / 10 + }; + } + function isDescendantNotInTabOrder2(vAncestor, vNode) { + return _contains(vAncestor, vNode) && !_isInTabOrder(vNode); + } + function mapActualNodes(vNodes) { + return vNodes.map(function(_ref118) { + var actualNode = _ref118.actualNode; + return actualNode; }); - this.relatedNodes(relatedNodes.map(function(vNode) { - return vNode.actualNode; - })); - if (relatedNodes.length === 0 || is_modal_open_default()) { - return true; - } - return relatedNodes.every(function(vNode) { - var pointerEvents = vNode.getComputedStylePropertyValue('pointer-events'); - var width = parseInt(vNode.getComputedStylePropertyValue('width')); - var height = parseInt(vNode.getComputedStylePropertyValue('height')); - return vNode.actualNode.onfocus || (width === 0 || height === 0) && pointerEvents === 'none'; - }) ? void 0 : false; } - var focusable_not_tabbable_evaluate_default = focusableNotTabbableEvaluate; - function frameFocusableContentEvaluate(node, options, virtualNode) { - if (!virtualNode.children) { - return void 0; + var roundingMargin2 = .05; + function targetOffsetEvaluate(node, options, vNode) { + var minOffset = (options === null || options === void 0 ? void 0 : options.minOffset) || 24; + if (_rectHasMinimumSize(minOffset * 10, vNode.boundingClientRect)) { + this.data({ + messageKey: 'large', + minOffset: minOffset + }); + return true; } + var closeNeighbors = []; + var closestOffset = minOffset; + var _iterator20 = _createForOfIteratorHelper(_findNearbyElms(vNode, minOffset)), _step20; try { - return !virtualNode.children.some(function(child) { - return focusableDescendants(child); - }); - } catch (e) { - return void 0; + for (_iterator20.s(); !(_step20 = _iterator20.n()).done; ) { + var vNeighbor = _step20.value; + if (get_role_type_default(vNeighbor) !== 'widget' || !_isFocusable(vNeighbor)) { + continue; + } + var offset = null; + try { + offset = _getOffset(vNode, vNeighbor, minOffset / 2); + } catch (err2) { + if (err2.message.startsWith('splitRects')) { + this.data({ + messageKey: 'tooManyRects', + closestOffset: 0, + minOffset: minOffset + }); + return void 0; + } + throw err2; + } + if (offset === null) { + continue; + } + offset = roundToSingleDecimal(offset) * 2; + if (offset + roundingMargin2 >= minOffset) { + continue; + } + closestOffset = Math.min(closestOffset, offset); + closeNeighbors.push(vNeighbor); + } + } catch (err) { + _iterator20.e(err); + } finally { + _iterator20.f(); } - } - function focusableDescendants(vNode) { - if (_isInTabOrder(vNode)) { + if (closeNeighbors.length === 0) { + this.data({ + closestOffset: closestOffset, + minOffset: minOffset + }); return true; } - if (!vNode.children) { - if (vNode.props.nodeType === 1) { - throw new Error('Cannot determine children'); - } - return false; + this.relatedNodes(closeNeighbors.map(function(_ref119) { + var actualNode = _ref119.actualNode; + return actualNode; + })); + if (!closeNeighbors.some(_isInTabOrder)) { + this.data({ + messageKey: 'nonTabbableNeighbor', + closestOffset: closestOffset, + minOffset: minOffset + }); + return void 0; } - return vNode.children.some(function(child) { - return focusableDescendants(child); - }); - } - function landmarkIsTopLevelEvaluate(node) { - var landmarks = get_aria_roles_by_type_default('landmark'); - var parent = get_composed_parent_default(node); - var nodeRole = get_role_default(node); this.data({ - role: nodeRole + closestOffset: closestOffset, + minOffset: minOffset }); - while (parent) { - var role = parent.getAttribute('role'); - if (!role && parent.nodeName.toUpperCase() !== 'FORM') { - role = implicit_role_default(parent); - } - if (role && landmarks.includes(role) && !(role === 'main' && nodeRole === 'complementary')) { - return false; - } - parent = get_composed_parent_default(parent); - } - return true; + return _isInTabOrder(vNode) ? false : void 0; } - var landmark_is_top_level_evaluate_default = landmarkIsTopLevelEvaluate; - function noFocusableContentEvaluate(node, options, virtualNode) { - if (!virtualNode.children) { - return void 0; + function roundToSingleDecimal(num) { + return Math.round(num * 10) / 10; + } + function metaViewportScaleEvaluate(node, options, virtualNode) { + var _ref120 = options || {}, _ref120$scaleMinimum = _ref120.scaleMinimum, scaleMinimum = _ref120$scaleMinimum === void 0 ? 2 : _ref120$scaleMinimum, _ref120$lowerBound = _ref120.lowerBound, lowerBound = _ref120$lowerBound === void 0 ? false : _ref120$lowerBound; + var content = virtualNode.attr('content') || ''; + if (!content) { + return true; } - try { - var focusableDescendants2 = getFocusableDescendants(virtualNode); - if (!focusableDescendants2.length) { - return true; + var result = content.split(/[;,]/).reduce(function(out, item) { + var contentValue = item.trim(); + if (!contentValue) { + return out; } - var notHiddenElements = focusableDescendants2.filter(usesUnreliableHidingStrategy); - if (notHiddenElements.length > 0) { - this.data({ - messageKey: 'notHidden' - }); - this.relatedNodes(notHiddenElements); - } else { - this.relatedNodes(focusableDescendants2); + var _contentValue$split = contentValue.split('='), _contentValue$split2 = _slicedToArray(_contentValue$split, 2), key = _contentValue$split2[0], value = _contentValue$split2[1]; + if (!key || !value) { + return out; } - return false; - } catch (e) { - return void 0; - } - } - function getFocusableDescendants(vNode) { - if (!vNode.children) { - if (vNode.props.nodeType === 1) { - throw new Error('Cannot determine children'); + var curatedKey = key.toLowerCase().trim(); + var curatedValue = value.toLowerCase().trim(); + if (curatedKey === 'maximum-scale' && curatedValue === 'yes') { + curatedValue = 1; } - return []; - } - var retVal = []; - vNode.children.forEach(function(child) { - if (get_role_type_default(child) === 'widget' && _isFocusable(child)) { - retVal.push(child); - } else { - retVal.push.apply(retVal, _toConsumableArray(getFocusableDescendants(child))); + if (curatedKey === 'maximum-scale' && parseFloat(curatedValue) < 0) { + return out; } - }); - return retVal; - } - function usesUnreliableHidingStrategy(vNode) { - var tabIndex = parseInt(vNode.attr('tabindex'), 10); - return !isNaN(tabIndex) && tabIndex < 0; - } - function tabindexEvaluate(node, options, virtualNode) { - var tabIndex = parseInt(virtualNode.attr('tabindex'), 10); - return isNaN(tabIndex) ? true : tabIndex <= 0; - } - var tabindex_evaluate_default = tabindexEvaluate; - function altSpaceValueEvaluate(node, options, virtualNode) { - var alt = virtualNode.attr('alt'); - var isOnlySpace = /^\s+$/; - return typeof alt === 'string' && isOnlySpace.test(alt); - } - var alt_space_value_evaluate_default = altSpaceValueEvaluate; - function duplicateImgLabelEvaluate(node, options, virtualNode) { - if ([ 'none', 'presentation' ].includes(get_role_default(virtualNode))) { - return false; + out[curatedKey] = curatedValue; + return out; + }, {}); + if (lowerBound && result['maximum-scale'] && parseFloat(result['maximum-scale']) < lowerBound) { + return true; } - var parentVNode = closest_default(virtualNode, options.parentSelector); - if (!parentVNode) { + if (!lowerBound && result['user-scalable'] === 'no') { + this.data('user-scalable=no'); return false; } - var visibleText = visible_virtual_default(parentVNode, true).toLowerCase(); - if (visibleText === '') { + var userScalableAsFloat = parseFloat(result['user-scalable']); + if (!lowerBound && result['user-scalable'] && (userScalableAsFloat || userScalableAsFloat === 0) && userScalableAsFloat > -1 && userScalableAsFloat < 1) { + this.data('user-scalable'); return false; } - return visibleText === accessible_text_virtual_default(virtualNode).toLowerCase(); - } - var duplicate_img_label_evaluate_default = duplicateImgLabelEvaluate; - function explicitEvaluate(node, options, virtualNode) { - var _this4 = this; - if (!virtualNode.attr('id')) { + if (result['maximum-scale'] && parseFloat(result['maximum-scale']) < scaleMinimum) { + this.data('maximum-scale'); return false; } - if (!virtualNode.actualNode) { + return true; + } + var meta_viewport_scale_evaluate_default = metaViewportScaleEvaluate; + function cssOrientationLockEvaluate(node, options, virtualNode, context) { + var _ref121 = context || {}, _ref121$cssom = _ref121.cssom, cssom = _ref121$cssom === void 0 ? void 0 : _ref121$cssom; + var _ref122 = options || {}, _ref122$degreeThresho = _ref122.degreeThreshold, degreeThreshold = _ref122$degreeThresho === void 0 ? 0 : _ref122$degreeThresho; + if (!cssom || !cssom.length) { return void 0; } - var root = get_root_node_default2(virtualNode.actualNode); - var id = escape_selector_default(virtualNode.attr('id')); - var labels = Array.from(root.querySelectorAll('label[for="'.concat(id, '"]'))); - this.relatedNodes(labels); - if (!labels.length) { - return false; + var isLocked = false; + var relatedElements = []; + var rulesGroupByDocumentFragment = groupCssomByDocument(cssom); + var _loop9 = function _loop9() { + var key = _Object$keys3[_i39]; + var _rulesGroupByDocument = rulesGroupByDocumentFragment[key], root = _rulesGroupByDocument.root, rules = _rulesGroupByDocument.rules; + var orientationRules = rules.filter(isMediaRuleWithOrientation); + if (!orientationRules.length) { + return 1; + } + orientationRules.forEach(function(_ref123) { + var cssRules = _ref123.cssRules; + Array.from(cssRules).forEach(function(cssRule) { + var locked = getIsOrientationLocked(cssRule); + if (locked && cssRule.selectorText.toUpperCase() !== 'HTML') { + var elms = Array.from(root.querySelectorAll(cssRule.selectorText)) || []; + relatedElements = relatedElements.concat(elms); + } + isLocked = isLocked || locked; + }); + }); + }; + for (var _i39 = 0, _Object$keys3 = Object.keys(rulesGroupByDocumentFragment); _i39 < _Object$keys3.length; _i39++) { + if (_loop9()) { + continue; + } } - try { - return labels.some(function(label3) { - if (!_isVisibleOnScreen(label3)) { - return true; - } else { - var explicitLabel = sanitize_default(accessible_text_default(label3, { - inControlContext: true, - startNode: virtualNode - })); - _this4.data({ - explicitLabel: explicitLabel - }); - return !!explicitLabel; + if (!isLocked) { + return true; + } + if (relatedElements.length) { + this.relatedNodes(relatedElements); + } + return false; + function groupCssomByDocument(cssObjectModel) { + return cssObjectModel.reduce(function(out, _ref124) { + var sheet = _ref124.sheet, root = _ref124.root, shadowId = _ref124.shadowId; + var key = shadowId ? shadowId : 'topDocument'; + if (!out[key]) { + out[key] = { + root: root, + rules: [] + }; } - }); - } catch (e) { - return void 0; + if (!sheet || !sheet.cssRules) { + return out; + } + var rules = Array.from(sheet.cssRules); + out[key].rules = out[key].rules.concat(rules); + return out; + }, {}); } - } - var explicit_evaluate_default = explicitEvaluate; - function helpSameAsLabelEvaluate(node, options, virtualNode) { - var labelText2 = label_virtual_default2(virtualNode), check = node.getAttribute('title'); - if (!labelText2) { - return false; + function isMediaRuleWithOrientation(_ref125) { + var type2 = _ref125.type, cssText = _ref125.cssText; + if (type2 !== 4) { + return false; + } + return /orientation:\s*landscape/i.test(cssText) || /orientation:\s*portrait/i.test(cssText); } - if (!check) { - check = ''; - if (node.getAttribute('aria-describedby')) { - var ref = idrefs_default(node, 'aria-describedby'); - check = ref.map(function(thing) { - return thing ? accessible_text_default(thing) : ''; - }).join(''); + function getIsOrientationLocked(_ref126) { + var selectorText = _ref126.selectorText, style = _ref126.style; + if (!selectorText || style.length <= 0) { + return false; + } + var transformStyle = style.transform || style.webkitTransform || style.msTransform || false; + if (!transformStyle && !style.rotate) { + return false; + } + var transformDegrees = getTransformDegrees(transformStyle); + var rotateDegrees = getRotationInDegrees('rotate', style.rotate); + var degrees = transformDegrees + rotateDegrees; + if (!degrees) { + return false; + } + degrees = Math.abs(degrees); + if (Math.abs(degrees - 180) % 180 <= degreeThreshold) { + return false; } + return Math.abs(degrees - 90) % 90 <= degreeThreshold; } - return sanitize_default(check) === sanitize_default(labelText2); - } - var help_same_as_label_evaluate_default = helpSameAsLabelEvaluate; - function hiddenExplicitLabelEvaluate(node, options, virtualNode) { - if (virtualNode.hasAttr('id')) { - if (!virtualNode.actualNode) { - return void 0; + function getTransformDegrees(transformStyle) { + if (!transformStyle) { + return 0; } - var root = get_root_node_default2(node); - var id = escape_selector_default(node.getAttribute('id')); - var label3 = root.querySelector('label[for="'.concat(id, '"]')); - if (label3 && !_isVisibleToScreenReaders(label3)) { - var name; - try { - name = accessible_text_virtual_default(virtualNode).trim(); - } catch (e) { - return void 0; - } - var isNameEmpty = name === ''; - return isNameEmpty; + var matches4 = transformStyle.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/); + if (!matches4) { + return 0; } + var _matches2 = _slicedToArray(matches4, 3), transformFn = _matches2[1], transformFnValue = _matches2[2]; + return getRotationInDegrees(transformFn, transformFnValue); } - return false; - } - var hidden_explicit_label_evaluate_default = hiddenExplicitLabelEvaluate; - function implicitEvaluate(node, options, virtualNode) { - try { - var label3 = closest_default(virtualNode, 'label'); - if (label3) { - var implicitLabel = sanitize_default(accessible_text_virtual_default(label3, { - inControlContext: true, - startNode: virtualNode - })); - if (label3.actualNode) { - this.relatedNodes([ label3.actualNode ]); + function getRotationInDegrees(transformFunction, transformFnValue) { + switch (transformFunction) { + case 'rotate': + case 'rotateZ': + return getAngleInDegrees(transformFnValue); + + case 'rotate3d': + var _transformFnValue$spl = transformFnValue.split(',').map(function(value) { + return value.trim(); + }), _transformFnValue$spl2 = _slicedToArray(_transformFnValue$spl, 4), z = _transformFnValue$spl2[2], angleWithUnit = _transformFnValue$spl2[3]; + if (parseInt(z) === 0) { + return; } - this.data({ - implicitLabel: implicitLabel - }); - return !!implicitLabel; + return getAngleInDegrees(angleWithUnit); + + case 'matrix': + case 'matrix3d': + return getAngleInDegreesFromMatrixTransform(transformFnValue); + + default: + return 0; } - return false; - } catch (e) { - return void 0; } - } - var implicit_evaluate_default = implicitEvaluate; - function isStringContained(compare, compareWith) { - var curatedCompareWith = curateString(compareWith); - var curatedCompare = curateString(compare); - if (!curatedCompareWith || !curatedCompare) { - return false; + function getAngleInDegrees(angleWithUnit) { + var _ref127 = angleWithUnit.match(/(deg|grad|rad|turn)/) || [], _ref128 = _slicedToArray(_ref127, 1), unit = _ref128[0]; + if (!unit) { + return 0; + } + var angle = parseFloat(angleWithUnit.replace(unit, '')); + switch (unit) { + case 'rad': + return convertRadToDeg(angle); + + case 'grad': + return convertGradToDeg(angle); + + case 'turn': + return convertTurnToDeg(angle); + + case 'deg': + default: + return parseInt(angle); + } } - return curatedCompareWith.includes(curatedCompare); - } - function curateString(str) { - var noUnicodeStr = remove_unicode_default(str, { - emoji: true, - nonBmp: true, - punctuations: true - }); - return sanitize_default(noUnicodeStr); - } - function labelContentNameMismatchEvaluate(node, options, virtualNode) { - var _options$occurrenceTh; - var pixelThreshold = options === null || options === void 0 ? void 0 : options.pixelThreshold; - var occurrenceThreshold = (_options$occurrenceTh = options === null || options === void 0 ? void 0 : options.occurrenceThreshold) !== null && _options$occurrenceTh !== void 0 ? _options$occurrenceTh : options === null || options === void 0 ? void 0 : options.occuranceThreshold; - var accText = accessible_text_default(node).toLowerCase(); - if (is_human_interpretable_default(accText) < 1) { - return void 0; + function getAngleInDegreesFromMatrixTransform(transformFnValue) { + var values2 = transformFnValue.split(','); + if (values2.length <= 6) { + var _values = _slicedToArray(values2, 2), a2 = _values[0], b3 = _values[1]; + var radians = Math.atan2(parseFloat(b3), parseFloat(a2)); + return convertRadToDeg(radians); + } + var sinB = parseFloat(values2[8]); + var b2 = Math.asin(sinB); + var cosB = Math.cos(b2); + var rotateZRadians = Math.acos(parseFloat(values2[0]) / cosB); + return convertRadToDeg(rotateZRadians); } - var visibleText = sanitize_default(subtree_text_default(virtualNode, { - subtreeDescendant: true, - ignoreIconLigature: true, - pixelThreshold: pixelThreshold, - occurrenceThreshold: occurrenceThreshold - })).toLowerCase(); - if (!visibleText) { - return true; + function convertRadToDeg(radians) { + return Math.round(radians * (180 / Math.PI)); } - if (is_human_interpretable_default(visibleText) < 1) { - if (isStringContained(visibleText, accText)) { - return true; + function convertGradToDeg(grad) { + grad = grad % 400; + if (grad < 0) { + grad += 400; } - return void 0; + return Math.round(grad / 400 * 360); + } + function convertTurnToDeg(turn) { + return Math.round(360 / (1 / turn)); } - return isStringContained(visibleText, accText); } - var label_content_name_mismatch_evaluate_default = labelContentNameMismatchEvaluate; - function multipleLabelEvaluate(node) { - var id = escape_selector_default(node.getAttribute('id')); - var parent = node.parentNode; - var root = get_root_node_default2(node); - root = root.documentElement || root; - var labels = Array.from(root.querySelectorAll('label[for="'.concat(id, '"]'))); - if (labels.length) { - labels = labels.filter(function(label3) { - return !_isHiddenForEveryone(label3); - }); + var css_orientation_lock_evaluate_default = cssOrientationLockEvaluate; + function noAutoplayAudioEvaluate(node, options) { + if (!node.duration) { + console.warn('axe.utils.preloadMedia did not load metadata'); + return void 0; } - while (parent) { - if (parent.nodeName.toUpperCase() === 'LABEL' && labels.indexOf(parent) === -1) { - labels.push(parent); + var _options$allowedDurat = options.allowedDuration, allowedDuration = _options$allowedDurat === void 0 ? 3 : _options$allowedDurat; + var playableDuration = getPlayableDuration(node); + if (playableDuration <= allowedDuration && !node.hasAttribute('loop')) { + return true; + } + if (!node.hasAttribute('controls')) { + return false; + } + return true; + function getPlayableDuration(elm) { + if (!elm.currentSrc) { + return 0; } - parent = parent.parentNode; + var playbackRange = getPlaybackRange(elm.currentSrc); + if (!playbackRange) { + return Math.abs(elm.duration - (elm.currentTime || 0)); + } + if (playbackRange.length === 1) { + return Math.abs(elm.duration - playbackRange[0]); + } + return Math.abs(playbackRange[1] - playbackRange[0]); } - this.relatedNodes(labels); - if (labels.length > 1) { - var ATVisibleLabels = labels.filter(function(label3) { - return _isVisibleToScreenReaders(label3); + function getPlaybackRange(src) { + var match = src.match(/#t=(.*)/); + if (!match) { + return; + } + var _match = _slicedToArray(match, 2), value = _match[1]; + var ranges = value.split(','); + return ranges.map(function(range2) { + if (/:/.test(range2)) { + return convertHourMinSecToSeconds(range2); + } + return parseFloat(range2); }); - if (ATVisibleLabels.length > 1) { - return void 0; + } + function convertHourMinSecToSeconds(hhMmSs) { + var parts = hhMmSs.split(':'); + var secs = 0; + var mins = 1; + while (parts.length > 0) { + secs += mins * parseInt(parts.pop(), 10); + mins *= 60; } - var labelledby = idrefs_default(node, 'aria-labelledby'); - return !labelledby.includes(ATVisibleLabels[0]) ? void 0 : false; + return parseFloat(secs); } - return false; } - var multiple_label_evaluate_default = multipleLabelEvaluate; - function titleOnlyEvaluate(node, options, virtualNode) { - var labelText2 = label_virtual_default2(virtualNode); - var title = title_text_default(virtualNode); - var ariaDescribedBy = virtualNode.attr('aria-describedby'); - return !labelText2 && !!(title || ariaDescribedBy); + var no_autoplay_audio_evaluate_default = noAutoplayAudioEvaluate; + function frameTestedEvaluate(node, options) { + return options.isViolation ? false : void 0; } - var title_only_evaluate_default = titleOnlyEvaluate; - function landmarkIsUniqueAfter(results) { - var uniqueLandmarks = []; - return results.filter(function(currentResult) { - var findMatch = function findMatch(someResult) { - return currentResult.data.role === someResult.data.role && currentResult.data.accessibleText === someResult.data.accessibleText; - }; - var matchedResult = uniqueLandmarks.find(findMatch); - if (matchedResult) { - matchedResult.result = false; - matchedResult.relatedNodes.push(currentResult.relatedNodes[0]); - return false; + var frame_tested_evaluate_default = frameTestedEvaluate; + var joinStr = ' > '; + function frameTestedAfter(results) { + var iframes = {}; + return results.filter(function(result) { + var frameResult = result.node.ancestry[result.node.ancestry.length - 1] !== 'html'; + if (frameResult) { + var ancestry2 = result.node.ancestry.flat(Infinity).join(joinStr); + iframes[ancestry2] = result; + return true; + } + var ancestry = result.node.ancestry.slice(0, result.node.ancestry.length - 1).flat(Infinity).join(joinStr); + if (iframes[ancestry]) { + iframes[ancestry].result = true; } - uniqueLandmarks.push(currentResult); - currentResult.relatedNodes = []; - return true; + return false; }); } - var landmark_is_unique_after_default = landmarkIsUniqueAfter; - function landmarkIsUniqueEvaluate(node, options, virtualNode) { - var role = get_role_default(node); - var accessibleText2 = accessible_text_virtual_default(virtualNode); - accessibleText2 = accessibleText2 ? accessibleText2.toLowerCase() : null; - this.data({ - role: role, - accessibleText: accessibleText2 + var frame_tested_after_default = frameTestedAfter; + function captionEvaluate(node, options, virtualNode) { + var tracks = query_selector_all_default(virtualNode, 'track'); + var hasCaptions = tracks.some(function(vNode) { + return (vNode.attr('kind') || '').toLowerCase() === 'captions'; }); - this.relatedNodes([ node ]); - return true; - } - var landmark_is_unique_evaluate_default = landmarkIsUniqueEvaluate; - function hasValue(value) { - return (value || '').trim() !== ''; + return hasCaptions ? false : void 0; } - function hasLangEvaluate(node, options, virtualNode) { - var xhtml2 = typeof document !== 'undefined' ? is_xhtml_default(document) : false; - if (options.attributes.includes('xml:lang') && options.attributes.includes('lang') && hasValue(virtualNode.attr('xml:lang')) && !hasValue(virtualNode.attr('lang')) && !xhtml2) { - this.data({ - messageKey: 'noXHTML' - }); + var caption_evaluate_default = captionEvaluate; + function structuredDlitemsEvaluate(node, options, virtualNode) { + var children = virtualNode.children; + if (!children || !children.length) { return false; } - var hasLang = options.attributes.some(function(name) { - return hasValue(virtualNode.attr(name)); - }); - if (!hasLang) { - this.data({ - messageKey: 'noLang' - }); - return false; + var hasDt = false, hasDd = false, nodeName2; + for (var _i40 = 0; _i40 < children.length; _i40++) { + nodeName2 = children[_i40].props.nodeName.toUpperCase(); + if (nodeName2 === 'DT') { + hasDt = true; + } + if (hasDt && nodeName2 === 'DD') { + return false; + } + if (nodeName2 === 'DD') { + hasDd = true; + } } - return true; + return hasDt || hasDd; } - var has_lang_evaluate_default = hasLangEvaluate; - function validLangEvaluate(node, options, virtualNode) { - var invalid = []; - options.attributes.forEach(function(langAttr) { - var langVal = virtualNode.attr(langAttr); - if (typeof langVal !== 'string') { + var structured_dlitems_evaluate_default = structuredDlitemsEvaluate; + function onlyListitemsEvaluate(node, options, virtualNode) { + var hasNonEmptyTextNode = false; + var atLeastOneListitem = false; + var isEmpty2 = true; + var badNodes = []; + var badRoleNodes = []; + var badRoles = []; + virtualNode.children.forEach(function(vNode) { + var actualNode = vNode.actualNode; + if (actualNode.nodeType === 3 && actualNode.nodeValue.trim() !== '') { + hasNonEmptyTextNode = true; return; } - var baselangVal = get_base_lang_default(langVal); - var invalidLang = options.value ? !options.value.map(get_base_lang_default).includes(baselangVal) : !valid_langs_default(baselangVal); - if (baselangVal !== '' && invalidLang || langVal !== '' && !sanitize_default(langVal)) { - invalid.push(langAttr + '="' + virtualNode.attr(langAttr) + '"'); + if (actualNode.nodeType !== 1 || !_isVisibleToScreenReaders(actualNode)) { + return; + } + isEmpty2 = false; + var isLi = actualNode.nodeName.toUpperCase() === 'LI'; + var role = get_role_default(vNode); + var isListItemRole = role === 'listitem'; + if (!isLi && !isListItemRole) { + badNodes.push(actualNode); + } + if (isLi && !isListItemRole) { + badRoleNodes.push(actualNode); + if (!badRoles.includes(role)) { + badRoles.push(role); + } + } + if (isListItemRole) { + atLeastOneListitem = true; } }); - if (!invalid.length) { - return false; + if (hasNonEmptyTextNode || badNodes.length) { + this.relatedNodes(badNodes); + return true; } - if (virtualNode.props.nodeName !== 'html' && !_hasLangText(virtualNode)) { + if (isEmpty2 || atLeastOneListitem) { return false; } - this.data(invalid); + this.relatedNodes(badRoleNodes); + this.data({ + messageKey: 'roleNotValid', + roles: badRoles.join(', ') + }); return true; } - var valid_lang_evaluate_default = validLangEvaluate; - function xmlLangMismatchEvaluate(node, options, vNode) { - var primaryLangValue = get_base_lang_default(vNode.attr('lang')); - var primaryXmlLangValue = get_base_lang_default(vNode.attr('xml:lang')); - return primaryLangValue === primaryXmlLangValue; + var only_listitems_evaluate_default = onlyListitemsEvaluate; + function onlyDlitemsEvaluate(node, options, virtualNode) { + var ALLOWED_ROLES = [ 'definition', 'term', 'list' ]; + var base = { + badNodes: [], + hasNonEmptyTextNode: false + }; + var content = virtualNode.children.reduce(function(vNodes, child) { + var actualNode = child.actualNode; + if (actualNode.nodeName.toUpperCase() === 'DIV' && get_role_default(actualNode) === null) { + return vNodes.concat(child.children); + } + return vNodes.concat(child); + }, []); + var result = content.reduce(function(out, childNode) { + var actualNode = childNode.actualNode; + var tagName = actualNode.nodeName.toUpperCase(); + if (actualNode.nodeType === 1 && _isVisibleToScreenReaders(actualNode)) { + var explicitRole2 = get_explicit_role_default(actualNode); + if (tagName !== 'DT' && tagName !== 'DD' || explicitRole2) { + if (!ALLOWED_ROLES.includes(explicitRole2)) { + out.badNodes.push(actualNode); + } + } + } else if (actualNode.nodeType === 3 && actualNode.nodeValue.trim() !== '') { + out.hasNonEmptyTextNode = true; + } + return out; + }, base); + if (result.badNodes.length) { + this.relatedNodes(result.badNodes); + } + return !!result.badNodes.length || result.hasNonEmptyTextNode; } - var xml_lang_mismatch_evaluate_default = xmlLangMismatchEvaluate; - function dlitemEvaluate(node) { - var parent = get_composed_parent_default(node); - var parentTagName = parent.nodeName.toUpperCase(); + function listitemEvaluate(node, options, virtualNode) { + var parent = virtualNode.parent; + if (!parent) { + return void 0; + } + var parentNodeName = parent.props.nodeName; var parentRole = get_explicit_role_default(parent); - if (parentTagName === 'DIV' && [ 'presentation', 'none', null ].includes(parentRole)) { - parent = get_composed_parent_default(parent); - parentTagName = parent.nodeName.toUpperCase(); - parentRole = get_explicit_role_default(parent); + if ([ 'presentation', 'none', 'list' ].includes(parentRole)) { + return true; } - if (parentTagName !== 'DL') { + if (parentRole && is_valid_role_default(parentRole)) { + this.data({ + messageKey: 'roleNotValid' + }); return false; } - if (!parentRole || [ 'presentation', 'none', 'list' ].includes(parentRole)) { - return true; - } - return false; + return [ 'ul', 'ol', 'menu' ].includes(parentNodeName); } - var dlitem_evaluate_default = dlitemEvaluate; function invalidChildrenEvaluate(node) { var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var virtualNode = arguments.length > 2 ? arguments[2] : undefined; @@ -19211,7 +25087,7 @@ if (!issues.includes(issue)) { issues.push(issue); } - if ((vChild === null || vChild === void 0 ? void 0 : (_vChild$actualNode = vChild.actualNode) === null || _vChild$actualNode === void 0 ? void 0 : _vChild$actualNode.nodeType) === 1) { + if ((vChild === null || vChild === void 0 || (_vChild$actualNode = vChild.actualNode) === null || _vChild$actualNode === void 0 ? void 0 : _vChild$actualNode.nodeType) === 1) { relatedNodes.push(vChild.actualNode); } } @@ -19219,1919 +25095,2120 @@ return false; } this.data({ - values: issues.join(', ') + values: issues.join(', ') + }); + this.relatedNodes(relatedNodes); + return true; + } + function getInvalidSelector(vChild, nested, _ref129) { + var _ref129$validRoles = _ref129.validRoles, validRoles = _ref129$validRoles === void 0 ? [] : _ref129$validRoles, _ref129$validNodeName = _ref129.validNodeNames, validNodeNames = _ref129$validNodeName === void 0 ? [] : _ref129$validNodeName; + var _vChild$props = vChild.props, nodeName2 = _vChild$props.nodeName, nodeType = _vChild$props.nodeType, nodeValue = _vChild$props.nodeValue; + var selector = nested ? 'div > ' : ''; + if (nodeType === 3 && nodeValue.trim() !== '') { + return selector + '#text'; + } + if (nodeType !== 1 || !_isVisibleToScreenReaders(vChild)) { + return false; + } + var role = get_explicit_role_default(vChild); + if (role) { + return validRoles.includes(role) ? false : selector + '[role='.concat(role, ']'); + } else { + return validNodeNames.includes(nodeName2) ? false : selector + nodeName2; + } + } + function isDivGroup(vNode) { + return vNode.props.nodeName === 'div' && get_explicit_role_default(vNode) === null; + } + function mapWithNested(vNodes) { + var nested = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + return vNodes.map(function(vChild) { + return { + vChild: vChild, + nested: nested + }; + }); + } + function dlitemEvaluate(node) { + var parent = get_composed_parent_default(node); + var parentTagName = parent.nodeName.toUpperCase(); + var parentRole = get_explicit_role_default(parent); + if (parentTagName === 'DIV' && [ 'presentation', 'none', null ].includes(parentRole)) { + parent = get_composed_parent_default(parent); + parentTagName = parent.nodeName.toUpperCase(); + parentRole = get_explicit_role_default(parent); + } + if (parentTagName !== 'DL') { + return false; + } + if (!parentRole || [ 'presentation', 'none', 'list' ].includes(parentRole)) { + return true; + } + return false; + } + var dlitem_evaluate_default = dlitemEvaluate; + function xmlLangMismatchEvaluate(node, options, vNode) { + var primaryLangValue = get_base_lang_default(vNode.attr('lang')); + var primaryXmlLangValue = get_base_lang_default(vNode.attr('xml:lang')); + return primaryLangValue === primaryXmlLangValue; + } + var xml_lang_mismatch_evaluate_default = xmlLangMismatchEvaluate; + function validLangEvaluate(node, options, virtualNode) { + var invalid = []; + options.attributes.forEach(function(langAttr) { + var langVal = virtualNode.attr(langAttr); + if (typeof langVal !== 'string') { + return; + } + var baselangVal = get_base_lang_default(langVal); + var invalidLang = options.value ? !options.value.map(get_base_lang_default).includes(baselangVal) : !valid_langs_default(baselangVal); + if (baselangVal !== '' && invalidLang || langVal !== '' && !sanitize_default(langVal)) { + invalid.push(langAttr + '="' + virtualNode.attr(langAttr) + '"'); + } + }); + if (!invalid.length) { + return false; + } + if (virtualNode.props.nodeName !== 'html' && !_hasLangText(virtualNode)) { + return false; + } + this.data(invalid); + return true; + } + var valid_lang_evaluate_default = validLangEvaluate; + function hasValue(value) { + return (value || '').trim() !== ''; + } + function hasLangEvaluate(node, options, virtualNode) { + var xhtml = typeof document !== 'undefined' ? is_xhtml_default(document) : false; + if (options.attributes.includes('xml:lang') && options.attributes.includes('lang') && hasValue(virtualNode.attr('xml:lang')) && !hasValue(virtualNode.attr('lang')) && !xhtml) { + this.data({ + messageKey: 'noXHTML' + }); + return false; + } + var hasLang = options.attributes.some(function(name) { + return hasValue(virtualNode.attr(name)); + }); + if (!hasLang) { + this.data({ + messageKey: 'noLang' + }); + return false; + } + return true; + } + var has_lang_evaluate_default = hasLangEvaluate; + function landmarkIsUniqueEvaluate(node, options, virtualNode) { + var role = get_role_default(node); + var accessibleText2 = _accessibleTextVirtual(virtualNode); + accessibleText2 = accessibleText2 ? accessibleText2.toLowerCase() : null; + this.data({ + role: role, + accessibleText: accessibleText2 }); - this.relatedNodes(relatedNodes); + this.relatedNodes([ node ]); return true; } - function getInvalidSelector(vChild, nested, _ref83) { - var _ref83$validRoles = _ref83.validRoles, validRoles = _ref83$validRoles === void 0 ? [] : _ref83$validRoles, _ref83$validNodeNames = _ref83.validNodeNames, validNodeNames = _ref83$validNodeNames === void 0 ? [] : _ref83$validNodeNames; - var _vChild$props = vChild.props, nodeName2 = _vChild$props.nodeName, nodeType = _vChild$props.nodeType, nodeValue = _vChild$props.nodeValue; - var selector = nested ? 'div > ' : ''; - if (nodeType === 3 && nodeValue.trim() !== '') { - return selector + '#text'; + var landmark_is_unique_evaluate_default = landmarkIsUniqueEvaluate; + function landmarkIsUniqueAfter(results) { + var uniqueLandmarks = []; + return results.filter(function(currentResult) { + var findMatch = function findMatch(someResult) { + return currentResult.data.role === someResult.data.role && currentResult.data.accessibleText === someResult.data.accessibleText; + }; + var matchedResult = uniqueLandmarks.find(findMatch); + if (matchedResult) { + matchedResult.result = false; + matchedResult.relatedNodes.push(currentResult.relatedNodes[0]); + return false; + } + uniqueLandmarks.push(currentResult); + currentResult.relatedNodes = []; + return true; + }); + } + var landmark_is_unique_after_default = landmarkIsUniqueAfter; + function titleOnlyEvaluate(node, options, virtualNode) { + var labelText2 = label_virtual_default2(virtualNode); + var title = title_text_default(virtualNode); + var ariaDescribedBy = virtualNode.attr('aria-describedby'); + return !labelText2 && !!(title || ariaDescribedBy); + } + var title_only_evaluate_default = titleOnlyEvaluate; + function multipleLabelEvaluate(node) { + var id = escape_selector_default(node.getAttribute('id')); + var parent = node.parentNode; + var root = get_root_node_default2(node); + root = root.documentElement || root; + var labels = Array.from(root.querySelectorAll('label[for="'.concat(id, '"]'))); + if (labels.length) { + labels = labels.filter(function(label3) { + return !_isHiddenForEveryone(label3); + }); } - if (nodeType !== 1 || !_isVisibleToScreenReaders(vChild)) { - return false; + while (parent) { + if (parent.nodeName.toUpperCase() === 'LABEL' && labels.indexOf(parent) === -1) { + labels.push(parent); + } + parent = parent.parentNode; } - var role = get_explicit_role_default(vChild); - if (role) { - return validRoles.includes(role) ? false : selector + '[role='.concat(role, ']'); - } else { - return validNodeNames.includes(nodeName2) ? false : selector + nodeName2; + this.relatedNodes(labels); + if (labels.length > 1) { + var ATVisibleLabels = labels.filter(function(label3) { + return _isVisibleToScreenReaders(label3); + }); + if (ATVisibleLabels.length > 1) { + return void 0; + } + var labelledby = idrefs_default(node, 'aria-labelledby'); + return !labelledby.includes(ATVisibleLabels[0]) ? void 0 : false; } + return false; } - function isDivGroup(vNode) { - return vNode.props.nodeName === 'div' && get_explicit_role_default(vNode) === null; + var multiple_label_evaluate_default = multipleLabelEvaluate; + function isStringContained(compare, compareWith) { + var curatedCompareWith = curateString(compareWith); + var curatedCompare = curateString(compare); + if (!curatedCompareWith || !curatedCompare) { + return false; + } + return curatedCompareWith.includes(curatedCompare); } - function mapWithNested(vNodes) { - var nested = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - return vNodes.map(function(vChild) { - return { - vChild: vChild, - nested: nested - }; + function curateString(str) { + var noUnicodeStr = remove_unicode_default(str, { + emoji: true, + nonBmp: true, + punctuations: true }); + return sanitize_default(noUnicodeStr); } - function listitemEvaluate(node, options, virtualNode) { - var parent = virtualNode.parent; - if (!parent) { - return void 0; - } - var parentNodeName = parent.props.nodeName; - var parentRole = get_explicit_role_default(parent); - if ([ 'presentation', 'none', 'list' ].includes(parentRole)) { + function labelContentNameMismatchEvaluate(node, options, virtualNode) { + var _options$occurrenceTh; + var pixelThreshold = options === null || options === void 0 ? void 0 : options.pixelThreshold; + var occurrenceThreshold = (_options$occurrenceTh = options === null || options === void 0 ? void 0 : options.occurrenceThreshold) !== null && _options$occurrenceTh !== void 0 ? _options$occurrenceTh : options === null || options === void 0 ? void 0 : options.occuranceThreshold; + var accText = accessible_text_default(node).toLowerCase(); + var visibleText = sanitize_default(subtree_text_default(virtualNode, { + subtreeDescendant: true, + ignoreIconLigature: true, + pixelThreshold: pixelThreshold, + occurrenceThreshold: occurrenceThreshold + })).toLowerCase(); + if (!visibleText) { return true; } - if (parentRole && is_valid_role_default(parentRole)) { - this.data({ - messageKey: 'roleNotValid' - }); - return false; + if (is_human_interpretable_default(accText) < 1 || is_human_interpretable_default(visibleText) < 1) { + return void 0; } - return [ 'ul', 'ol', 'menu' ].includes(parentNodeName); + return isStringContained(visibleText, accText); } - function onlyDlitemsEvaluate(node, options, virtualNode) { - var ALLOWED_ROLES = [ 'definition', 'term', 'list' ]; - var base = { - badNodes: [], - hasNonEmptyTextNode: false - }; - var content = virtualNode.children.reduce(function(content2, child) { - var actualNode = child.actualNode; - if (actualNode.nodeName.toUpperCase() === 'DIV' && get_role_default(actualNode) === null) { - return content2.concat(child.children); - } - return content2.concat(child); - }, []); - var result = content.reduce(function(out, childNode) { - var actualNode = childNode.actualNode; - var tagName = actualNode.nodeName.toUpperCase(); - if (actualNode.nodeType === 1 && _isVisibleToScreenReaders(actualNode)) { - var explicitRole2 = get_explicit_role_default(actualNode); - if (tagName !== 'DT' && tagName !== 'DD' || explicitRole2) { - if (!ALLOWED_ROLES.includes(explicitRole2)) { - out.badNodes.push(actualNode); - } + var label_content_name_mismatch_evaluate_default = labelContentNameMismatchEvaluate; + function implicitEvaluate(node, options, virtualNode) { + try { + var label3 = closest_default(virtualNode, 'label'); + if (label3) { + var implicitLabel = sanitize_default(_accessibleTextVirtual(label3, { + inControlContext: true, + startNode: virtualNode + })); + if (label3.actualNode) { + this.relatedNodes([ label3.actualNode ]); } - } else if (actualNode.nodeType === 3 && actualNode.nodeValue.trim() !== '') { - out.hasNonEmptyTextNode = true; + this.data({ + implicitLabel: implicitLabel + }); + return !!implicitLabel; } - return out; - }, base); - if (result.badNodes.length) { - this.relatedNodes(result.badNodes); + return false; + } catch (_unused10) { + return void 0; } - return !!result.badNodes.length || result.hasNonEmptyTextNode; } - var only_dlitems_evaluate_default = onlyDlitemsEvaluate; - function onlyListitemsEvaluate(node, options, virtualNode) { - var hasNonEmptyTextNode = false; - var atLeastOneListitem = false; - var isEmpty = true; - var badNodes = []; - var badRoleNodes = []; - var badRoles = []; - virtualNode.children.forEach(function(vNode) { - var actualNode = vNode.actualNode; - if (actualNode.nodeType === 3 && actualNode.nodeValue.trim() !== '') { - hasNonEmptyTextNode = true; - return; - } - if (actualNode.nodeType !== 1 || !_isVisibleToScreenReaders(actualNode)) { - return; - } - isEmpty = false; - var isLi = actualNode.nodeName.toUpperCase() === 'LI'; - var role = get_role_default(vNode); - var isListItemRole = role === 'listitem'; - if (!isLi && !isListItemRole) { - badNodes.push(actualNode); + var implicit_evaluate_default = implicitEvaluate; + function hiddenExplicitLabelEvaluate(node, options, virtualNode) { + if (virtualNode.hasAttr('id')) { + if (!virtualNode.actualNode) { + return void 0; } - if (isLi && !isListItemRole) { - badRoleNodes.push(actualNode); - if (!badRoles.includes(role)) { - badRoles.push(role); + var root = get_root_node_default2(node); + var _id4 = escape_selector_default(node.getAttribute('id')); + var label3 = root.querySelector('label[for="'.concat(_id4, '"]')); + if (label3 && !_isVisibleToScreenReaders(label3)) { + var name; + try { + name = _accessibleTextVirtual(virtualNode).trim(); + } catch (_unused11) { + return void 0; } + var isNameEmpty = name === ''; + return isNameEmpty; } - if (isListItemRole) { - atLeastOneListitem = true; + } + return false; + } + var hidden_explicit_label_evaluate_default = hiddenExplicitLabelEvaluate; + function helpSameAsLabelEvaluate(node, options, virtualNode) { + var labelText2 = label_virtual_default2(virtualNode); + var check = node.getAttribute('title'); + if (!labelText2) { + return false; + } + if (!check) { + check = ''; + if (node.getAttribute('aria-describedby')) { + var ref = idrefs_default(node, 'aria-describedby'); + check = ref.map(function(thing) { + return thing ? accessible_text_default(thing) : ''; + }).join(''); } - }); - if (hasNonEmptyTextNode || badNodes.length) { - this.relatedNodes(badNodes); - return true; } - if (isEmpty || atLeastOneListitem) { + return sanitize_default(check) === sanitize_default(labelText2); + } + var help_same_as_label_evaluate_default = helpSameAsLabelEvaluate; + function explicitEvaluate(node, options, virtualNode) { + var _this7 = this; + if (!virtualNode.attr('id')) { + return false; + } + if (!virtualNode.actualNode) { + return void 0; + } + var root = get_root_node_default2(virtualNode.actualNode); + var id = escape_selector_default(virtualNode.attr('id')); + var labels = Array.from(root.querySelectorAll('label[for="'.concat(id, '"]'))); + this.relatedNodes(labels); + if (!labels.length) { + return false; + } + try { + return labels.some(function(label3) { + if (!_isVisibleOnScreen(label3)) { + return true; + } else { + var explicitLabel = sanitize_default(accessible_text_default(label3, { + inControlContext: true, + startNode: virtualNode + })); + _this7.data({ + explicitLabel: explicitLabel + }); + return !!explicitLabel; + } + }); + } catch (_unused12) { + return void 0; + } + } + var explicit_evaluate_default = explicitEvaluate; + function duplicateImgLabelEvaluate(node, options, virtualNode) { + if ([ 'none', 'presentation' ].includes(get_role_default(virtualNode))) { return false; } - this.relatedNodes(badRoleNodes); - this.data({ - messageKey: 'roleNotValid', - roles: badRoles.join(', ') - }); - return true; - } - var only_listitems_evaluate_default = onlyListitemsEvaluate; - function structuredDlitemsEvaluate(node, options, virtualNode) { - var children = virtualNode.children; - if (!children || !children.length) { + var parentVNode = closest_default(virtualNode, options.parentSelector); + if (!parentVNode) { return false; } - var hasDt = false, hasDd = false, nodeName2; - for (var i = 0; i < children.length; i++) { - nodeName2 = children[i].props.nodeName.toUpperCase(); - if (nodeName2 === 'DT') { - hasDt = true; - } - if (hasDt && nodeName2 === 'DD') { - return false; - } - if (nodeName2 === 'DD') { - hasDd = true; - } + var visibleText = visible_virtual_default(parentVNode, true).toLowerCase(); + if (visibleText === '') { + return false; } - return hasDt || hasDd; + return visibleText === _accessibleTextVirtual(virtualNode).toLowerCase(); } - var structured_dlitems_evaluate_default = structuredDlitemsEvaluate; - function captionEvaluate(node, options, virtualNode) { - var tracks = query_selector_all_default(virtualNode, 'track'); - var hasCaptions = tracks.some(function(vNode) { - return (vNode.attr('kind') || '').toLowerCase() === 'captions'; - }); - return hasCaptions ? false : void 0; + var duplicate_img_label_evaluate_default = duplicateImgLabelEvaluate; + function altSpaceValueEvaluate(node, options, virtualNode) { + var alt = virtualNode.attr('alt'); + var isOnlySpace = /^\s+$/; + return typeof alt === 'string' && isOnlySpace.test(alt); } - var caption_evaluate_default = captionEvaluate; - var joinStr = ' > '; - function frameTestedAfter(results) { - var iframes = {}; - return results.filter(function(result) { - var frameResult = result.node.ancestry[result.node.ancestry.length - 1] !== 'html'; - if (frameResult) { - var ancestry2 = result.node.ancestry.flat(Infinity).join(joinStr); - iframes[ancestry2] = result; + var alt_space_value_evaluate_default = altSpaceValueEvaluate; + function tabindexEvaluate(node, options, virtualNode) { + var tabIndex = parseInt(virtualNode.attr('tabindex'), 10); + return isNaN(tabIndex) ? true : tabIndex <= 0; + } + var tabindex_evaluate_default = tabindexEvaluate; + function noFocusableContentEvaluate(node, options, virtualNode) { + if (!virtualNode.children) { + return void 0; + } + try { + var focusableDescendants2 = getFocusableDescendants(virtualNode); + if (!focusableDescendants2.length) { return true; } - var ancestry = result.node.ancestry.slice(0, result.node.ancestry.length - 1).flat(Infinity).join(joinStr); - if (iframes[ancestry]) { - iframes[ancestry].result = true; + var notHiddenElements = focusableDescendants2.filter(usesUnreliableHidingStrategy); + if (notHiddenElements.length > 0) { + this.data({ + messageKey: 'notHidden' + }); + this.relatedNodes(notHiddenElements); + } else { + this.relatedNodes(focusableDescendants2); } return false; - }); - } - var frame_tested_after_default = frameTestedAfter; - function frameTestedEvaluate(node, options) { - return options.isViolation ? false : void 0; - } - var frame_tested_evaluate_default = frameTestedEvaluate; - function noAutoplayAudioEvaluate(node, options) { - if (!node.duration) { - console.warn('axe.utils.preloadMedia did not load metadata'); + } catch (_unused13) { return void 0; } - var _options$allowedDurat = options.allowedDuration, allowedDuration = _options$allowedDurat === void 0 ? 3 : _options$allowedDurat; - var playableDuration = getPlayableDuration(node); - if (playableDuration <= allowedDuration && !node.hasAttribute('loop')) { - return true; - } - if (!node.hasAttribute('controls')) { - return false; - } - return true; - function getPlayableDuration(elm) { - if (!elm.currentSrc) { - return 0; - } - var playbackRange = getPlaybackRange(elm.currentSrc); - if (!playbackRange) { - return Math.abs(elm.duration - (elm.currentTime || 0)); - } - if (playbackRange.length === 1) { - return Math.abs(elm.duration - playbackRange[0]); + } + function getFocusableDescendants(vNode) { + if (!vNode.children) { + if (vNode.props.nodeType === 1) { + throw new Error('Cannot determine children'); } - return Math.abs(playbackRange[1] - playbackRange[0]); + return []; } - function getPlaybackRange(src) { - var match = src.match(/#t=(.*)/); - if (!match) { - return; + var retVal = []; + vNode.children.forEach(function(child) { + if (get_role_type_default(child) === 'widget' && _isFocusable(child)) { + retVal.push(child); + } else { + retVal.push.apply(retVal, _toConsumableArray(getFocusableDescendants(child))); } - var _match = _slicedToArray(match, 2), value = _match[1]; - var ranges = value.split(','); - return ranges.map(function(range) { - if (/:/.test(range)) { - return convertHourMinSecToSeconds(range); - } - return parseFloat(range); - }); - } - function convertHourMinSecToSeconds(hhMmSs) { - var parts = hhMmSs.split(':'); - var secs = 0; - var mins = 1; - while (parts.length > 0) { - secs += mins * parseInt(parts.pop(), 10); - mins *= 60; + }); + return retVal; + } + function usesUnreliableHidingStrategy(vNode) { + var tabIndex = parseInt(vNode.attr('tabindex'), 10); + return !isNaN(tabIndex) && tabIndex < 0; + } + function landmarkIsTopLevelEvaluate(node) { + var landmarks = get_aria_roles_by_type_default('landmark'); + var parent = get_composed_parent_default(node); + var nodeRole = get_role_default(node); + this.data({ + role: nodeRole + }); + while (parent) { + var role = parent.getAttribute('role'); + if (!role && parent.nodeName.toUpperCase() !== 'FORM') { + role = implicit_role_default(parent); } - return parseFloat(secs); + if (role && landmarks.includes(role) && !(role === 'main' && nodeRole === 'complementary')) { + return false; + } + parent = get_composed_parent_default(parent); } + return true; } - var no_autoplay_audio_evaluate_default = noAutoplayAudioEvaluate; - function cssOrientationLockEvaluate(node, options, virtualNode, context) { - var _ref84 = context || {}, _ref84$cssom = _ref84.cssom, cssom = _ref84$cssom === void 0 ? void 0 : _ref84$cssom; - var _ref85 = options || {}, _ref85$degreeThreshol = _ref85.degreeThreshold, degreeThreshold = _ref85$degreeThreshol === void 0 ? 0 : _ref85$degreeThreshol; - if (!cssom || !cssom.length) { + var landmark_is_top_level_evaluate_default = landmarkIsTopLevelEvaluate; + function frameFocusableContentEvaluate(node, options, virtualNode) { + if (!virtualNode.children) { return void 0; } - var isLocked = false; - var relatedElements = []; - var rulesGroupByDocumentFragment = groupCssomByDocument(cssom); - var _loop7 = function _loop7() { - var key = _Object$keys2[_i24]; - var _rulesGroupByDocument = rulesGroupByDocumentFragment[key], root = _rulesGroupByDocument.root, rules = _rulesGroupByDocument.rules; - var orientationRules = rules.filter(isMediaRuleWithOrientation); - if (!orientationRules.length) { - return 'continue'; - } - orientationRules.forEach(function(_ref86) { - var cssRules = _ref86.cssRules; - Array.from(cssRules).forEach(function(cssRule) { - var locked = getIsOrientationLocked(cssRule); - if (locked && cssRule.selectorText.toUpperCase() !== 'HTML') { - var elms = Array.from(root.querySelectorAll(cssRule.selectorText)) || []; - relatedElements = relatedElements.concat(elms); - } - isLocked = isLocked || locked; - }); + try { + return !virtualNode.children.some(function(child) { + return focusableDescendants(child); }); - }; - for (var _i24 = 0, _Object$keys2 = Object.keys(rulesGroupByDocumentFragment); _i24 < _Object$keys2.length; _i24++) { - var _ret3 = _loop7(); - if (_ret3 === 'continue') { - continue; + } catch (_unused14) { + return void 0; + } + } + function focusableDescendants(vNode) { + if (_isInTabOrder(vNode)) { + return true; + } + if (!vNode.children) { + if (vNode.props.nodeType === 1) { + throw new Error('Cannot determine children'); } + return false; } - if (!isLocked) { + return vNode.children.some(function(child) { + return focusableDescendants(child); + }); + } + function focusableNotTabbableEvaluate(node, options, virtualNode) { + var elementsThatCanBeDisabled = [ 'button', 'fieldset', 'input', 'select', 'textarea' ]; + var tabbableElements = virtualNode.tabbableElements; + if (!tabbableElements || !tabbableElements.length) { return true; } - if (relatedElements.length) { - this.relatedNodes(relatedElements); + var relatedNodes = tabbableElements.filter(function(vNode) { + return !elementsThatCanBeDisabled.includes(vNode.props.nodeName); + }); + this.relatedNodes(relatedNodes.map(function(vNode) { + return vNode.actualNode; + })); + if (relatedNodes.length === 0 || is_modal_open_default()) { + return true; } - return false; - function groupCssomByDocument(cssObjectModel) { - return cssObjectModel.reduce(function(out, _ref87) { - var sheet = _ref87.sheet, root = _ref87.root, shadowId = _ref87.shadowId; - var key = shadowId ? shadowId : 'topDocument'; - if (!out[key]) { - out[key] = { - root: root, - rules: [] - }; - } - if (!sheet || !sheet.cssRules) { - return out; - } - var rules = Array.from(sheet.cssRules); - out[key].rules = out[key].rules.concat(rules); - return out; - }, {}); + return relatedNodes.every(function(vNode) { + var pointerEvents = vNode.getComputedStylePropertyValue('pointer-events'); + var width = parseInt(vNode.getComputedStylePropertyValue('width')); + var height = parseInt(vNode.getComputedStylePropertyValue('height')); + return vNode.actualNode.onfocus || (width === 0 || height === 0) && pointerEvents === 'none'; + }) ? void 0 : false; + } + var focusable_not_tabbable_evaluate_default = focusableNotTabbableEvaluate; + function focusableNoNameEvaluate(node, options, virtualNode) { + var tabIndex = virtualNode.attr('tabindex'); + var inFocusOrder = _isFocusable(virtualNode) && tabIndex > -1; + if (!inFocusOrder) { + return false; + } + try { + return !_accessibleTextVirtual(virtualNode); + } catch (_unused15) { + return void 0; + } + } + var focusable_no_name_evaluate_default = focusableNoNameEvaluate; + function focusableModalOpenEvaluate(node, options, virtualNode) { + var tabbableElements = virtualNode.tabbableElements.map(function(_ref130) { + var actualNode = _ref130.actualNode; + return actualNode; + }); + if (!tabbableElements || !tabbableElements.length) { + return true; } - function isMediaRuleWithOrientation(_ref88) { - var type = _ref88.type, cssText = _ref88.cssText; - if (type !== 4) { - return false; - } - return /orientation:\s*landscape/i.test(cssText) || /orientation:\s*portrait/i.test(cssText); + if (is_modal_open_default()) { + this.relatedNodes(tabbableElements); + return void 0; } - function getIsOrientationLocked(_ref89) { - var selectorText = _ref89.selectorText, style = _ref89.style; - if (!selectorText || style.length <= 0) { - return false; - } - var transformStyle = style.transform || style.webkitTransform || style.msTransform || false; - if (!transformStyle) { - return false; - } - var matches4 = transformStyle.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/); - if (!matches4) { - return false; + return true; + } + var focusable_modal_open_evaluate_default = focusableModalOpenEvaluate; + function focusableElementEvaluate(node, options, virtualNode) { + if (virtualNode.hasAttr('contenteditable') && isContenteditable(virtualNode)) { + return true; + } + return _isInTabOrder(virtualNode); + function isContenteditable(vNode) { + var contenteditable = vNode.attr('contenteditable'); + if (contenteditable === 'true' || contenteditable === '') { + return true; } - var _matches = _slicedToArray(matches4, 3), transformFn = _matches[1], transformFnValue = _matches[2]; - var degrees = getRotationInDegrees(transformFn, transformFnValue); - if (!degrees) { + if (contenteditable === 'false') { return false; } - degrees = Math.abs(degrees); - if (Math.abs(degrees - 180) % 180 <= degreeThreshold) { + var ancestor = closest_default(virtualNode.parent, '[contenteditable]'); + if (!ancestor) { return false; } - return Math.abs(degrees - 90) % 90 <= degreeThreshold; + return isContenteditable(ancestor); } - function getRotationInDegrees(transformFunction, transformFnValue) { - switch (transformFunction) { - case 'rotate': - case 'rotateZ': - return getAngleInDegrees(transformFnValue); - - case 'rotate3d': - var _transformFnValue$spl = transformFnValue.split(',').map(function(value) { - return value.trim(); - }), _transformFnValue$spl2 = _slicedToArray(_transformFnValue$spl, 4), z = _transformFnValue$spl2[2], angleWithUnit = _transformFnValue$spl2[3]; - if (parseInt(z) === 0) { - return; - } - return getAngleInDegrees(angleWithUnit); - - case 'matrix': - case 'matrix3d': - return getAngleInDegreesFromMatrixTransform(transformFnValue); - - default: - return; - } + } + var focusable_element_evaluate_default = focusableElementEvaluate; + function focusableDisabledEvaluate(node, options, virtualNode) { + var elementsThatCanBeDisabled = [ 'button', 'fieldset', 'input', 'select', 'textarea' ]; + var tabbableElements = virtualNode.tabbableElements; + if (!tabbableElements || !tabbableElements.length) { + return true; } - function getAngleInDegrees(angleWithUnit) { - var _ref90 = angleWithUnit.match(/(deg|grad|rad|turn)/) || [], _ref91 = _slicedToArray(_ref90, 1), unit = _ref91[0]; - if (!unit) { - return; + var relatedNodes = tabbableElements.filter(function(vNode) { + return elementsThatCanBeDisabled.includes(vNode.props.nodeName); + }); + this.relatedNodes(relatedNodes.map(function(vNode) { + return vNode.actualNode; + })); + if (relatedNodes.length === 0 || is_modal_open_default()) { + return true; + } + return relatedNodes.every(function(vNode) { + var pointerEvents = vNode.getComputedStylePropertyValue('pointer-events'); + var width = parseInt(vNode.getComputedStylePropertyValue('width')); + var height = parseInt(vNode.getComputedStylePropertyValue('height')); + return vNode.actualNode.onfocus || (width === 0 || height === 0) && pointerEvents === 'none'; + }) ? void 0 : false; + } + var focusable_disabled_evaluate_default = focusableDisabledEvaluate; + function focusableContentEvaluate(node, options, virtualNode) { + var tabbableElements = virtualNode.tabbableElements; + if (!tabbableElements) { + return false; + } + var tabbableContentElements = tabbableElements.filter(function(el) { + return el !== virtualNode; + }); + return tabbableContentElements.length > 0; + } + var focusable_content_evaluate_default = focusableContentEvaluate; + function accesskeysEvaluate(node, options, vNode) { + if (!_isHiddenForEveryone(vNode)) { + this.data(vNode.attr('accesskey')); + this.relatedNodes([ node ]); + } + return true; + } + var accesskeys_evaluate_default = accesskeysEvaluate; + function accesskeysAfter(results) { + var seen = {}; + return results.filter(function(r) { + if (!r.data) { + return false; } - var angle = parseFloat(angleWithUnit.replace(unit, '')); - switch (unit) { - case 'rad': - return convertRadToDeg(angle); - - case 'grad': - return convertGradToDeg(angle); - - case 'turn': - return convertTurnToDeg(angle); - - case 'deg': - default: - return parseInt(angle); + var key = r.data.toUpperCase(); + if (!seen[key]) { + seen[key] = r; + r.relatedNodes = []; + return true; } + seen[key].relatedNodes.push(r.relatedNodes[0]); + return false; + }).map(function(r) { + r.result = !!r.relatedNodes.length; + return r; + }); + } + var accesskeys_after_default = accesskeysAfter; + function pageNoDuplicateEvaluate(node, options, virtualNode) { + if (!options || !options.selector || typeof options.selector !== 'string') { + throw new TypeError('page-no-duplicate requires options.selector to be a string'); } - function getAngleInDegreesFromMatrixTransform(transformFnValue) { - var values = transformFnValue.split(','); - if (values.length <= 6) { - var _values = _slicedToArray(values, 2), a = _values[0], b2 = _values[1]; - var radians = Math.atan2(parseFloat(b2), parseFloat(a)); - return convertRadToDeg(radians); - } - var sinB = parseFloat(values[8]); - var b = Math.asin(sinB); - var cosB = Math.cos(b); - var rotateZRadians = Math.acos(parseFloat(values[0]) / cosB); - return convertRadToDeg(rotateZRadians); + var key = 'page-no-duplicate;' + options.selector; + if (cache_default.get(key)) { + this.data('ignored'); + return; } - function convertRadToDeg(radians) { - return Math.round(radians * (180 / Math.PI)); + cache_default.set(key, true); + var elms = query_selector_all_filter_default(axe._tree[0], options.selector, function(elm) { + return _isVisibleToScreenReaders(elm); + }); + if (typeof options.nativeScopeFilter === 'string') { + elms = elms.filter(function(elm) { + return elm.actualNode.hasAttribute('role') || !find_up_virtual_default(elm, options.nativeScopeFilter); + }); } - function convertGradToDeg(grad) { - grad = grad % 400; - if (grad < 0) { - grad += 400; - } - return Math.round(grad / 400 * 360); + if (typeof options.role === 'string') { + elms = elms.filter(function(elm) { + return get_role_default(elm) === options.role; + }); } - function convertTurnToDeg(turn) { - return Math.round(360 / (1 / turn)); + this.relatedNodes(elms.filter(function(elm) { + return elm !== virtualNode; + }).map(function(elm) { + return elm.actualNode; + })); + return elms.length <= 1; + } + var page_no_duplicate_evaluate_default = pageNoDuplicateEvaluate; + function pageNoDuplicateAfter(results) { + return results.filter(function(checkResult) { + return checkResult.data !== 'ignored'; + }); + } + var page_no_duplicate_after_default = pageNoDuplicateAfter; + function matchesDefinitionEvaluate(_, options, virtualNode) { + return matches_default2(virtualNode, options.matcher); + } + var matches_definition_evaluate_default = matchesDefinitionEvaluate; + function hasTextContentEvaluate(node, options, virtualNode) { + try { + return sanitize_default(subtree_text_default(virtualNode)) !== ''; + } catch (_unused16) { + return void 0; } } - var css_orientation_lock_evaluate_default = cssOrientationLockEvaluate; - function metaViewportScaleEvaluate(node, options, virtualNode) { - var _ref92 = options || {}, _ref92$scaleMinimum = _ref92.scaleMinimum, scaleMinimum = _ref92$scaleMinimum === void 0 ? 2 : _ref92$scaleMinimum, _ref92$lowerBound = _ref92.lowerBound, lowerBound = _ref92$lowerBound === void 0 ? false : _ref92$lowerBound; - var content = virtualNode.attr('content') || ''; - if (!content) { - return true; + function hasDescendant(node, options, virtualNode) { + if (!options || !options.selector || typeof options.selector !== 'string') { + throw new TypeError('has-descendant requires options.selector to be a string'); } - var result = content.split(/[;,]/).reduce(function(out, item) { - var contentValue = item.trim(); - if (!contentValue) { - return out; - } - var _contentValue$split = contentValue.split('='), _contentValue$split2 = _slicedToArray(_contentValue$split, 2), key = _contentValue$split2[0], value = _contentValue$split2[1]; - if (!key || !value) { - return out; - } - var curatedKey = key.toLowerCase().trim(); - var curatedValue = value.toLowerCase().trim(); - if (curatedKey === 'maximum-scale' && curatedValue === 'yes') { - curatedValue = 1; - } - if (curatedKey === 'maximum-scale' && parseFloat(curatedValue) < 0) { - return out; - } - out[curatedKey] = curatedValue; - return out; - }, {}); - if (lowerBound && result['maximum-scale'] && parseFloat(result['maximum-scale']) < lowerBound) { + if (options.passForModal && is_modal_open_default()) { return true; } - if (!lowerBound && result['user-scalable'] === 'no') { - this.data('user-scalable=no'); - return false; + var matchingElms = query_selector_all_filter_default(virtualNode, options.selector, function(vNode) { + return _isVisibleToScreenReaders(vNode); + }); + this.relatedNodes(matchingElms.map(function(vNode) { + return vNode.actualNode; + })); + return matchingElms.length > 0; + } + var has_descendant_evaluate_default = hasDescendant; + function pageHasElmAfter(results) { + var elmUsedAnywhere = results.some(function(frameResult) { + return frameResult.result === true; + }); + if (elmUsedAnywhere) { + results.forEach(function(result) { + result.result = true; + }); } - var userScalableAsFloat = parseFloat(result['user-scalable']); - if (!lowerBound && result['user-scalable'] && (userScalableAsFloat || userScalableAsFloat === 0) && userScalableAsFloat > -1 && userScalableAsFloat < 1) { - this.data('user-scalable'); + return results; + } + var has_descendant_after_default = pageHasElmAfter; + function attrNonSpaceContentEvaluate(node) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var vNode = arguments.length > 2 ? arguments[2] : undefined; + if (!options.attribute || typeof options.attribute !== 'string') { + throw new TypeError('attr-non-space-content requires options.attribute to be a string'); + } + if (!vNode.hasAttr(options.attribute)) { + this.data({ + messageKey: 'noAttr' + }); return false; } - if (result['maximum-scale'] && parseFloat(result['maximum-scale']) < scaleMinimum) { - this.data('maximum-scale'); + var attribute = vNode.attr(options.attribute); + var attributeIsEmpty = !sanitize_default(attribute); + if (attributeIsEmpty) { + this.data({ + messageKey: 'emptyAttr' + }); return false; } return true; } - var meta_viewport_scale_evaluate_default = metaViewportScaleEvaluate; - var roundingMargin = .05; - function targetOffsetEvaluate(node, options, vNode) { - var minOffset = (options === null || options === void 0 ? void 0 : options.minOffset) || 24; - var closeNeighbors = []; - var closestOffset = minOffset; - var _iterator8 = _createForOfIteratorHelper(_findNearbyElms(vNode, minOffset)), _step8; - try { - for (_iterator8.s(); !(_step8 = _iterator8.n()).done; ) { - var vNeighbor = _step8.value; - if (get_role_type_default(vNeighbor) !== 'widget' || !_isFocusable(vNeighbor)) { - continue; - } - var offset = roundToSingleDecimal(_getOffset(vNode, vNeighbor)); - if (offset + roundingMargin >= minOffset) { - continue; - } - closestOffset = Math.min(closestOffset, offset); - closeNeighbors.push(vNeighbor); - } - } catch (err) { - _iterator8.e(err); - } finally { - _iterator8.f(); - } - if (closeNeighbors.length === 0) { - this.data({ - closestOffset: closestOffset, - minOffset: minOffset - }); + var attr_non_space_content_evaluate_default = attrNonSpaceContentEvaluate; + function autocompleteValidEvaluate(_node, options, virtualNode) { + var autocomplete2 = virtualNode.attr('autocomplete') || ''; + return is_valid_autocomplete_default(autocomplete2, options); + } + var autocomplete_valid_evaluate_default = autocompleteValidEvaluate; + function autocompleteAppropriateEvaluate(node, options, virtualNode) { + if (virtualNode.props.nodeName !== 'input') { return true; } - this.relatedNodes(closeNeighbors.map(function(_ref93) { - var actualNode = _ref93.actualNode; - return actualNode; - })); - if (!closeNeighbors.some(_isInTabOrder)) { - this.data({ - messageKey: 'nonTabbableNeighbor', - closestOffset: closestOffset, - minOffset: minOffset + var number = [ 'text', 'search', 'number', 'tel' ]; + var url = [ 'text', 'search', 'url' ]; + var allowedTypesMap = { + bday: [ 'text', 'search', 'date' ], + email: [ 'text', 'search', 'email' ], + username: [ 'text', 'search', 'email' ], + 'street-address': [ 'text' ], + tel: [ 'text', 'search', 'tel' ], + 'tel-country-code': [ 'text', 'search', 'tel' ], + 'tel-national': [ 'text', 'search', 'tel' ], + 'tel-area-code': [ 'text', 'search', 'tel' ], + 'tel-local': [ 'text', 'search', 'tel' ], + 'tel-local-prefix': [ 'text', 'search', 'tel' ], + 'tel-local-suffix': [ 'text', 'search', 'tel' ], + 'tel-extension': [ 'text', 'search', 'tel' ], + 'cc-number': number, + 'cc-exp': [ 'text', 'search', 'month', 'tel' ], + 'cc-exp-month': number, + 'cc-exp-year': number, + 'cc-csc': number, + 'transaction-amount': number, + 'bday-day': number, + 'bday-month': number, + 'bday-year': number, + 'new-password': [ 'text', 'search', 'password' ], + 'current-password': [ 'text', 'search', 'password' ], + url: url, + photo: url, + impp: url + }; + if (_typeof(options) === 'object') { + Object.keys(options).forEach(function(key) { + if (!allowedTypesMap[key]) { + allowedTypesMap[key] = []; + } + allowedTypesMap[key] = allowedTypesMap[key].concat(options[key]); }); - return void 0; } - this.data({ - closestOffset: closestOffset, - minOffset: minOffset + var autocompleteAttr = virtualNode.attr('autocomplete'); + var autocompleteTerms = autocompleteAttr.split(/\s+/g).map(function(term) { + return term.toLowerCase(); }); - return _isInTabOrder(vNode) ? false : void 0; - } - function roundToSingleDecimal(num) { - return Math.round(num * 10) / 10; - } - var roundingMargin2 = .05; - function targetSize(node, options, vNode) { - var minSize = (options === null || options === void 0 ? void 0 : options.minSize) || 24; - var nodeRect = vNode.boundingClientRect; - var hasMinimumSize = rectHasMinimumSize.bind(null, minSize); - var nearbyElms = _findNearbyElms(vNode); - var overflowingContent = filterOverflowingContent(vNode, nearbyElms); - var _filterByElmsOverlap = filterByElmsOverlap(vNode, nearbyElms), fullyObscuringElms = _filterByElmsOverlap.fullyObscuringElms, partialObscuringElms = _filterByElmsOverlap.partialObscuringElms; - if (fullyObscuringElms.length && !overflowingContent.length) { - this.relatedNodes(mapActualNodes(fullyObscuringElms)); - this.data({ - messageKey: 'obscured' - }); + var purposeTerm = autocompleteTerms[autocompleteTerms.length - 1]; + if (_autocomplete.stateTerms.includes(purposeTerm)) { return true; } - var negativeOutcome = _isInTabOrder(vNode) ? false : void 0; - if (!hasMinimumSize(nodeRect) && !overflowingContent.length) { - this.data(_extends({ - minSize: minSize - }, toDecimalSize(nodeRect))); - return negativeOutcome; + var allowedTypes = allowedTypesMap[purposeTerm]; + var type2 = virtualNode.hasAttr('type') ? sanitize_default(virtualNode.attr('type')).toLowerCase() : 'text'; + type2 = valid_input_type_default().includes(type2) ? type2 : 'text'; + if (typeof allowedTypes === 'undefined') { + return type2 === 'text'; } - var obscuredWidgets = filterFocusableWidgets(partialObscuringElms); - var largestInnerRect = getLargestUnobscuredArea(vNode, obscuredWidgets); - if (overflowingContent.length) { - if (fullyObscuringElms.length || !hasMinimumSize(largestInnerRect || nodeRect)) { - this.data({ - minSize: minSize, - messageKey: 'contentOverflow' - }); - this.relatedNodes(mapActualNodes(overflowingContent)); - return void 0; - } + return allowedTypes.includes(type2); + } + var autocomplete_appropriate_evaluate_default = autocompleteAppropriateEvaluate; + var blockLike2 = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ]; + function linkInTextBlockStyleEvaluate(node) { + if (isBlock2(node)) { + return false; } - if (obscuredWidgets.length !== 0 && !hasMinimumSize(largestInnerRect)) { - var allTabbable = obscuredWidgets.every(_isInTabOrder); - var messageKey = 'partiallyObscured'.concat(allTabbable ? '' : 'NonTabbable'); - this.data(_extends({ - messageKey: messageKey, - minSize: minSize - }, toDecimalSize(largestInnerRect))); - this.relatedNodes(mapActualNodes(obscuredWidgets)); - return allTabbable ? negativeOutcome : void 0; + var parentBlock = get_composed_parent_default(node); + while (parentBlock && parentBlock.nodeType === 1 && !isBlock2(parentBlock)) { + parentBlock = get_composed_parent_default(parentBlock); } - this.data(_extends({ - minSize: minSize - }, toDecimalSize(largestInnerRect || nodeRect))); - this.relatedNodes(mapActualNodes(obscuredWidgets)); - return true; - } - function filterOverflowingContent(vNode, nearbyElms) { - return nearbyElms.filter(function(nearbyElm) { - return !isEnclosedRect(nearbyElm, vNode) && isDescendantNotInTabOrder(vNode, nearbyElm); - }); - } - function filterByElmsOverlap(vNode, nearbyElms) { - var fullyObscuringElms = []; - var partialObscuringElms = []; - var _iterator9 = _createForOfIteratorHelper(nearbyElms), _step9; - try { - for (_iterator9.s(); !(_step9 = _iterator9.n()).done; ) { - var vNeighbor = _step9.value; - if (!isDescendantNotInTabOrder(vNode, vNeighbor) && _hasVisualOverlap(vNode, vNeighbor) && getCssPointerEvents(vNeighbor) !== 'none') { - if (isEnclosedRect(vNode, vNeighbor)) { - fullyObscuringElms.push(vNeighbor); - } else { - partialObscuringElms.push(vNeighbor); - } - } - } - } catch (err) { - _iterator9.e(err); - } finally { - _iterator9.f(); + if (!parentBlock) { + return void 0; } - return { - fullyObscuringElms: fullyObscuringElms, - partialObscuringElms: partialObscuringElms - }; - } - function getLargestUnobscuredArea(vNode, obscuredNodes) { - var nodeRect = vNode.boundingClientRect; - if (obscuredNodes.length === 0) { - return null; + this.relatedNodes([ parentBlock ]); + if (element_is_distinct_default(node, parentBlock)) { + return true; } - var obscuringRects = obscuredNodes.map(function(_ref94) { - var rect = _ref94.boundingClientRect; - return rect; - }); - var unobscuredRects = _splitRects(nodeRect, obscuringRects); - return getLargestRect(unobscuredRects); + if (hasPseudoContent(node)) { + this.data({ + messageKey: 'pseudoContent' + }); + return void 0; + } + return false; } - function getLargestRect(rects, minSize) { - return rects.reduce(function(rectA, rectB) { - var rectAisMinimum = rectHasMinimumSize(minSize, rectA); - var rectBisMinimum = rectHasMinimumSize(minSize, rectB); - if (rectAisMinimum !== rectBisMinimum) { - return rectAisMinimum ? rectA : rectB; + function isBlock2(elm) { + var display2 = window.getComputedStyle(elm).getPropertyValue('display'); + return blockLike2.indexOf(display2) !== -1 || display2.substr(0, 6) === 'table-'; + } + function hasPseudoContent(node) { + for (var _i41 = 0, _arr3 = [ 'before', 'after' ]; _i41 < _arr3.length; _i41++) { + var pseudo = _arr3[_i41]; + var style = window.getComputedStyle(node, ':'.concat(pseudo)); + var content = style.getPropertyValue('content'); + if (content !== 'none') { + return true; } - var areaA = rectA.width * rectA.height; - var areaB = rectB.width * rectB.height; - return areaA > areaB ? rectA : rectB; - }); - } - function filterFocusableWidgets(vNodes) { - return vNodes.filter(function(vNode) { - return get_role_type_default(vNode) === 'widget' && _isFocusable(vNode); - }); - } - function isEnclosedRect(vNodeA, vNodeB) { - var rectA = vNodeA.boundingClientRect; - var rectB = vNodeB.boundingClientRect; - return rectA.top >= rectB.top && rectA.left >= rectB.left && rectA.bottom <= rectB.bottom && rectA.right <= rectB.right; - } - function getCssPointerEvents(vNode) { - return vNode.getComputedStylePropertyValue('pointer-events'); - } - function toDecimalSize(rect) { - return { - width: Math.round(rect.width * 10) / 10, - height: Math.round(rect.height * 10) / 10 - }; - } - function isDescendantNotInTabOrder(vAncestor, vNode) { - return vAncestor.actualNode.contains(vNode.actualNode) && !_isInTabOrder(vNode); + } + return false; } - function rectHasMinimumSize(minSize, _ref95) { - var width = _ref95.width, height = _ref95.height; - return width + roundingMargin2 >= minSize && height + roundingMargin2 >= minSize; + function getContrast2(color1, color2) { + var c1lum = color1.getRelativeLuminance(); + var c2lum = color2.getRelativeLuminance(); + return (Math.max(c1lum, c2lum) + .05) / (Math.min(c1lum, c2lum) + .05); } - function mapActualNodes(vNodes) { - return vNodes.map(function(_ref96) { - var actualNode = _ref96.actualNode; - return actualNode; - }); + var blockLike3 = [ 'block', 'list-item', 'table', 'flex', 'grid', 'inline-block' ]; + function isBlock3(elm) { + var display2 = window.getComputedStyle(elm).getPropertyValue('display'); + return blockLike3.indexOf(display2) !== -1 || display2.substr(0, 6) === 'table-'; } - function headingOrderAfter(results) { - var headingOrder = getHeadingOrder(results); - results.forEach(function(result) { - result.result = getHeadingOrderOutcome(result, headingOrder); + function linkInTextBlockEvaluate(node, options) { + var requiredContrastRatio = options.requiredContrastRatio, allowSameColor = options.allowSameColor; + if (isBlock3(node)) { + return false; + } + var parentBlock = get_composed_parent_default(node); + while (parentBlock && parentBlock.nodeType === 1 && !isBlock3(parentBlock)) { + parentBlock = get_composed_parent_default(parentBlock); + } + if (!parentBlock) { + return void 0; + } + this.relatedNodes([ parentBlock ]); + var nodeColor = _getForegroundColor(node); + var parentColor = _getForegroundColor(parentBlock); + var nodeBackgroundColor = _getBackgroundColor2(node); + var parentBackgroundColor = _getBackgroundColor2(parentBlock); + var textContrast = nodeColor && parentColor ? getContrast2(nodeColor, parentColor) : void 0; + if (textContrast) { + textContrast = Math.floor(textContrast * 100) / 100; + } + if (textContrast && textContrast >= requiredContrastRatio) { + return true; + } + var backgroundContrast = nodeBackgroundColor && parentBackgroundColor ? getContrast2(nodeBackgroundColor, parentBackgroundColor) : void 0; + if (backgroundContrast) { + backgroundContrast = Math.floor(backgroundContrast * 100) / 100; + } + if (backgroundContrast && backgroundContrast >= requiredContrastRatio) { + return true; + } + if (!backgroundContrast) { + var _incomplete_data_defa; + var reason = (_incomplete_data_defa = incomplete_data_default.get('bgColor')) !== null && _incomplete_data_defa !== void 0 ? _incomplete_data_defa : 'bgContrast'; + this.data({ + messageKey: reason + }); + incomplete_data_default.clear(); + return void 0; + } + if (!textContrast) { + return void 0; + } + if (allowSameColor && textContrast === 1 && backgroundContrast === 1) { + return true; + } + if (textContrast === 1 && backgroundContrast > 1) { + this.data({ + messageKey: 'bgContrast', + contrastRatio: backgroundContrast, + requiredContrastRatio: requiredContrastRatio, + nodeBackgroundColor: nodeBackgroundColor ? nodeBackgroundColor.toHexString() : void 0, + parentBackgroundColor: parentBackgroundColor ? parentBackgroundColor.toHexString() : void 0 + }); + return false; + } + this.data({ + messageKey: 'fgContrast', + contrastRatio: textContrast, + requiredContrastRatio: requiredContrastRatio, + nodeColor: nodeColor ? nodeColor.toHexString() : void 0, + parentColor: parentColor ? parentColor.toHexString() : void 0 }); - return results; + return false; } - function getHeadingOrderOutcome(result, headingOrder) { - var _headingOrder$index$l, _headingOrder$index, _headingOrder$level, _headingOrder; - var index = findHeadingOrderIndex(headingOrder, result.node.ancestry); - var currLevel = (_headingOrder$index$l = (_headingOrder$index = headingOrder[index]) === null || _headingOrder$index === void 0 ? void 0 : _headingOrder$index.level) !== null && _headingOrder$index$l !== void 0 ? _headingOrder$index$l : -1; - var prevLevel = (_headingOrder$level = (_headingOrder = headingOrder[index - 1]) === null || _headingOrder === void 0 ? void 0 : _headingOrder.level) !== null && _headingOrder$level !== void 0 ? _headingOrder$level : -1; - if (index === 0) { + var link_in_text_block_evaluate_default = linkInTextBlockEvaluate; + function colorContrastEvaluate(node, options, virtualNode) { + var ignoreUnicode = options.ignoreUnicode, ignoreLength = options.ignoreLength, ignorePseudo = options.ignorePseudo, boldValue = options.boldValue, boldTextPt = options.boldTextPt, largeTextPt = options.largeTextPt, contrastRatio = options.contrastRatio, shadowOutlineEmMax = options.shadowOutlineEmMax, pseudoSizeThreshold = options.pseudoSizeThreshold; + if (!_isVisibleOnScreen(node)) { + this.data({ + messageKey: 'hidden' + }); return true; } - if (currLevel === -1) { + var visibleText = visible_virtual_default(virtualNode, false, true); + if (ignoreUnicode && textIsEmojis(visibleText)) { + this.data({ + messageKey: 'nonBmp' + }); return void 0; } - return currLevel - prevLevel <= 1; - } - function getHeadingOrder(results) { - results = _toConsumableArray(results); - results.sort(function(_ref97, _ref98) { - var nodeA = _ref97.node; - var nodeB = _ref98.node; - return nodeA.ancestry.length - nodeB.ancestry.length; - }); - var headingOrder = results.reduce(mergeHeadingOrder, []); - return headingOrder.filter(function(_ref99) { - var level = _ref99.level; - return level !== -1; + var nodeStyle = window.getComputedStyle(node); + var fontSize = parseFloat(nodeStyle.getPropertyValue('font-size')); + var fontWeight = nodeStyle.getPropertyValue('font-weight'); + var bold = parseFloat(fontWeight) >= boldValue || fontWeight === 'bold'; + var ptSize = Math.ceil(fontSize * 72) / 96; + var isSmallFont = bold && ptSize < boldTextPt || !bold && ptSize < largeTextPt; + var _ref131 = isSmallFont ? contrastRatio.normal : contrastRatio.large, expected = _ref131.expected, minThreshold = _ref131.minThreshold, maxThreshold = _ref131.maxThreshold; + var pseudoElm = findPseudoElement(virtualNode, { + ignorePseudo: ignorePseudo, + pseudoSizeThreshold: pseudoSizeThreshold }); - } - function mergeHeadingOrder(mergedHeadingOrder, result) { - var _result$data; - var frameHeadingOrder = (_result$data = result.data) === null || _result$data === void 0 ? void 0 : _result$data.headingOrder; - var frameAncestry = shortenArray(result.node.ancestry, 1); - if (!frameHeadingOrder) { - return mergedHeadingOrder; + if (pseudoElm) { + this.data({ + fontSize: ''.concat((fontSize * 72 / 96).toFixed(1), 'pt (').concat(fontSize, 'px)'), + fontWeight: bold ? 'bold' : 'normal', + messageKey: 'pseudoContent', + expectedContrastRatio: expected + ':1' + }); + this.relatedNodes(pseudoElm.actualNode); + return void 0; } - var normalizedHeadingOrder = frameHeadingOrder.map(function(heading) { - return addFrameToHeadingAncestry(heading, frameAncestry); + var shadowColors = _getTextShadowColors(node, { + minRatio: .001, + maxRatio: shadowOutlineEmMax }); - var index = getFrameIndex(mergedHeadingOrder, frameAncestry); - if (index === -1) { - mergedHeadingOrder.push.apply(mergedHeadingOrder, _toConsumableArray(normalizedHeadingOrder)); - } else { - mergedHeadingOrder.splice.apply(mergedHeadingOrder, [ index, 0 ].concat(_toConsumableArray(normalizedHeadingOrder))); + if (shadowColors === null) { + this.data({ + messageKey: 'complexTextShadows' + }); + return void 0; } - return mergedHeadingOrder; - } - function getFrameIndex(headingOrder, frameAncestry) { - while (frameAncestry.length) { - var index = findHeadingOrderIndex(headingOrder, frameAncestry); - if (index !== -1) { - return index; + var bgNodes = []; + var bgColor = _getBackgroundColor2(node, bgNodes, shadowOutlineEmMax); + var fgColor = _getForegroundColor(node, false, bgColor, options); + var contrast2 = null; + var contrastContributor = null; + var shadowColor = null; + if (shadowColors.length === 0) { + contrast2 = get_contrast_default(bgColor, fgColor); + } else if (fgColor && bgColor) { + shadowColor = [].concat(_toConsumableArray(shadowColors), [ bgColor ]).reduce(_flattenShadowColors); + var fgBgContrast = get_contrast_default(bgColor, fgColor); + var bgShContrast = get_contrast_default(bgColor, shadowColor); + var fgShContrast = get_contrast_default(shadowColor, fgColor); + contrast2 = Math.max(fgBgContrast, bgShContrast, fgShContrast); + if (contrast2 !== fgBgContrast) { + contrastContributor = bgShContrast > fgShContrast ? 'shadowOnBgColor' : 'fgOnShadowColor'; } - frameAncestry = shortenArray(frameAncestry, 1); } - return -1; - } - function findHeadingOrderIndex(headingOrder, ancestry) { - return headingOrder.findIndex(function(heading) { - return match_ancestry_default(heading.ancestry, ancestry); - }); - } - function addFrameToHeadingAncestry(heading, frameAncestry) { - var ancestry = frameAncestry.concat(heading.ancestry); - return _extends({}, heading, { - ancestry: ancestry + var isValid = contrast2 > expected; + if (typeof minThreshold === 'number' && (typeof contrast2 !== 'number' || contrast2 < minThreshold) || typeof maxThreshold === 'number' && (typeof contrast2 !== 'number' || contrast2 > maxThreshold)) { + this.data({ + contrastRatio: contrast2 + }); + return true; + } + var truncatedResult = Math.floor(contrast2 * 100) / 100; + var missing; + if (bgColor === null) { + missing = incomplete_data_default.get('bgColor'); + } else if (!isValid) { + missing = contrastContributor; + } + var equalRatio = truncatedResult === 1; + var shortTextContent = visibleText.length === 1; + if (equalRatio) { + missing = incomplete_data_default.set('bgColor', 'equalRatio'); + } else if (!isValid && shortTextContent && !ignoreLength) { + missing = 'shortTextContent'; + } + this.data({ + fgColor: fgColor ? fgColor.toHexString() : void 0, + bgColor: bgColor ? bgColor.toHexString() : void 0, + contrastRatio: truncatedResult, + fontSize: ''.concat((fontSize * 72 / 96).toFixed(1), 'pt (').concat(fontSize, 'px)'), + fontWeight: bold ? 'bold' : 'normal', + messageKey: missing, + expectedContrastRatio: expected + ':1', + shadowColor: shadowColor ? shadowColor.toHexString() : void 0 }); - } - function shortenArray(arr, spliceLength) { - return arr.slice(0, arr.length - spliceLength); - } - function getLevel(vNode) { - var role = get_role_default(vNode); - var headingRole = role && role.includes('heading'); - var ariaHeadingLevel = vNode.attr('aria-level'); - var ariaLevel = parseInt(ariaHeadingLevel, 10); - var _ref100 = vNode.props.nodeName.match(/h(\d)/) || [], _ref101 = _slicedToArray(_ref100, 2), headingLevel = _ref101[1]; - if (!headingRole) { - return -1; + if (fgColor === null || bgColor === null || equalRatio || shortTextContent && !ignoreLength && !isValid) { + missing = null; + incomplete_data_default.clear(); + this.relatedNodes(bgNodes); + return void 0; } - if (headingLevel && !ariaHeadingLevel) { - return parseInt(headingLevel, 10); + if (!isValid) { + this.relatedNodes(bgNodes); } - if (isNaN(ariaLevel) || ariaLevel < 1) { - if (headingLevel) { - return parseInt(headingLevel, 10); + return isValid; + } + function findPseudoElement(vNode, _ref132) { + var _ref132$pseudoSizeThr = _ref132.pseudoSizeThreshold, pseudoSizeThreshold = _ref132$pseudoSizeThr === void 0 ? .25 : _ref132$pseudoSizeThr, _ref132$ignorePseudo = _ref132.ignorePseudo, ignorePseudo = _ref132$ignorePseudo === void 0 ? false : _ref132$ignorePseudo; + if (ignorePseudo) { + return; + } + var rect = vNode.boundingClientRect; + var minimumSize = rect.width * rect.height * pseudoSizeThreshold; + do { + var beforeSize = getPseudoElementArea(vNode.actualNode, ':before'); + var afterSize = getPseudoElementArea(vNode.actualNode, ':after'); + if (beforeSize + afterSize > minimumSize) { + return vNode; } - return 2; + } while (vNode = vNode.parent); + } + var getPseudoElementArea = memoize_default(function getPseudoElementArea2(node, pseudo) { + var style = window.getComputedStyle(node, pseudo); + var matchPseudoStyle = function matchPseudoStyle(prop, value) { + return style.getPropertyValue(prop) === value; + }; + if (matchPseudoStyle('content', 'none') || matchPseudoStyle('display', 'none') || matchPseudoStyle('visibility', 'hidden') || matchPseudoStyle('position', 'absolute') === false) { + return 0; } - if (ariaLevel) { - return ariaLevel; + if (get_own_background_color_default(style).alpha === 0 && matchPseudoStyle('background-image', 'none')) { + return 0; } - return -1; - } - function headingOrderEvaluate() { - var headingOrder = cache_default.get('headingOrder'); - if (headingOrder) { - return true; + var pseudoWidth = parseUnit(style.getPropertyValue('width')); + var pseudoHeight = parseUnit(style.getPropertyValue('height')); + if (pseudoWidth.unit !== 'px' || pseudoHeight.unit !== 'px') { + return pseudoWidth.value === 0 || pseudoHeight.value === 0 ? 0 : Infinity; } - var selector = 'h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame'; - var vNodes = query_selector_all_filter_default(axe._tree[0], selector, _isVisibleToScreenReaders); - headingOrder = vNodes.map(function(vNode) { - return { - ancestry: [ _getAncestry(vNode.actualNode) ], - level: getLevel(vNode) - }; - }); - this.data({ - headingOrder: headingOrder - }); - cache_default.set('headingOrder', vNodes); - return true; + return pseudoWidth.value * pseudoHeight.value; + }); + function textIsEmojis(visibleText) { + var options = { + nonBmp: true + }; + var hasUnicodeChars = has_unicode_default(visibleText, options); + var hasNonUnicodeChars = sanitize_default(remove_unicode_default(visibleText, options)) === ''; + return hasUnicodeChars && hasNonUnicodeChars; + } + function parseUnit(str) { + var unitRegex = /^([0-9.]+)([a-z]+)$/i; + var _ref133 = str.match(unitRegex) || [], _ref134 = _slicedToArray(_ref133, 3), _ref134$ = _ref134[1], value = _ref134$ === void 0 ? '' : _ref134$, _ref134$2 = _ref134[2], unit = _ref134$2 === void 0 ? '' : _ref134$2; + return { + value: parseFloat(value), + unit: unit.toLowerCase() + }; + } + var VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS = { + ARTICLE: true, + ASIDE: true, + NAV: true, + SECTION: true + }; + var VALID_ROLES_FOR_SCROLLABLE_REGIONS = { + alert: true, + alertdialog: true, + application: true, + article: true, + banner: false, + complementary: true, + contentinfo: true, + dialog: true, + form: true, + log: true, + main: true, + navigation: true, + region: true, + search: false, + status: true + }; + function validScrollableTagName(node) { + var nodeName2 = node.nodeName.toUpperCase(); + return VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS[nodeName2] || false; } - var heading_order_evaluate_default = headingOrderEvaluate; - function isIdenticalObject(a, b) { - if (!a || !b) { - return false; - } - var aProps = Object.getOwnPropertyNames(a); - var bProps = Object.getOwnPropertyNames(b); - if (aProps.length !== bProps.length) { + function validScrollableRole(node, options) { + var role = get_explicit_role_default(node); + if (!role) { return false; } - var result = aProps.every(function(propName) { - var aValue = a[propName]; - var bValue = b[propName]; - if (_typeof(aValue) !== _typeof(bValue)) { - return false; - } - if (_typeof(aValue) === 'object' || _typeof(bValue) === 'object') { - return isIdenticalObject(aValue, bValue); - } - return aValue === bValue; - }); - return result; + return VALID_ROLES_FOR_SCROLLABLE_REGIONS[role] || options.roles.includes(role) || false; } - function identicalLinksSamePurposeAfter(results) { - if (results.length < 2) { - return results; - } - var incompleteResults = results.filter(function(_ref102) { - var result = _ref102.result; - return result !== void 0; + function validScrollableSemanticsEvaluate(node, options) { + return validScrollableRole(node, options) || validScrollableTagName(node); + } + var valid_scrollable_semantics_evaluate_default = validScrollableSemanticsEvaluate; + function unsupportedroleEvaluate(node, options, virtualNode) { + var role = get_role_default(virtualNode, { + dpub: true, + fallback: true }); - var uniqueResults = []; - var nameMap = {}; - var _loop8 = function _loop8(index) { - var _currentResult$relate; - var currentResult = incompleteResults[index]; - var _currentResult$data = currentResult.data, name = _currentResult$data.name, urlProps = _currentResult$data.urlProps; - if (nameMap[name]) { - return 'continue'; - } - var sameNameResults = incompleteResults.filter(function(_ref103, resultNum) { - var data2 = _ref103.data; - return data2.name === name && resultNum !== index; - }); - var isSameUrl = sameNameResults.every(function(_ref104) { - var data2 = _ref104.data; - return isIdenticalObject(data2.urlProps, urlProps); - }); - if (sameNameResults.length && !isSameUrl) { - currentResult.result = void 0; - } - currentResult.relatedNodes = []; - (_currentResult$relate = currentResult.relatedNodes).push.apply(_currentResult$relate, _toConsumableArray(sameNameResults.map(function(node) { - return node.relatedNodes[0]; - }))); - nameMap[name] = sameNameResults; - uniqueResults.push(currentResult); - }; - for (var index = 0; index < incompleteResults.length; index++) { - var _ret4 = _loop8(index); - if (_ret4 === 'continue') { - continue; - } + var isUnsupported = is_unsupported_role_default(role); + if (isUnsupported) { + this.data(role); } - return uniqueResults; + return isUnsupported; } - var identical_links_same_purpose_after_default = identicalLinksSamePurposeAfter; - var commons_exports = {}; - __export(commons_exports, { - aria: function aria() { - return aria_exports; - }, - color: function color() { - return color_exports; - }, - dom: function dom() { - return dom_exports; - }, - forms: function forms() { - return forms_exports; - }, - matches: function matches() { - return matches_default3; - }, - math: function math() { - return math_exports; - }, - standards: function standards() { - return standards_exports; - }, - table: function table() { - return table_exports; - }, - text: function text() { - return text_exports; - }, - utils: function utils() { - return utils_exports; - } - }); - var forms_exports = {}; - __export(forms_exports, { - isAriaCombobox: function isAriaCombobox() { - return is_aria_combobox_default; - }, - isAriaListbox: function isAriaListbox() { - return is_aria_listbox_default; - }, - isAriaRange: function isAriaRange() { - return is_aria_range_default; - }, - isAriaTextbox: function isAriaTextbox() { - return is_aria_textbox_default; - }, - isDisabled: function isDisabled() { - return is_disabled_default; - }, - isNativeSelect: function isNativeSelect() { - return is_native_select_default; - }, - isNativeTextbox: function isNativeTextbox() { - return is_native_textbox_default; - } - }); - var disabledNodeNames = [ 'fieldset', 'button', 'select', 'input', 'textarea' ]; - function isDisabled(virtualNode) { - var disabledState = virtualNode._isDisabled; - if (typeof disabledState === 'boolean') { - return disabledState; + var unsupportedrole_evaluate_default = unsupportedroleEvaluate; + function noImplicitExplicitLabelEvaluate(node, options, virtualNode) { + var role = get_role_default(virtualNode, { + noImplicit: true + }); + this.data(role); + var label3; + var accText; + try { + label3 = sanitize_default(label_text_default(virtualNode)).toLowerCase(); + accText = sanitize_default(_accessibleTextVirtual(virtualNode)).toLowerCase(); + } catch (_unused17) { + return void 0; } - var nodeName2 = virtualNode.props.nodeName; - var ariaDisabled = virtualNode.attr('aria-disabled'); - if (disabledNodeNames.includes(nodeName2) && virtualNode.hasAttr('disabled')) { - disabledState = true; - } else if (ariaDisabled) { - disabledState = ariaDisabled.toLowerCase() === 'true'; - } else if (virtualNode.parent) { - disabledState = isDisabled(virtualNode.parent); - } else { - disabledState = false; + if (!accText && !label3) { + return false; } - virtualNode._isDisabled = disabledState; - return disabledState; - } - var is_disabled_default = isDisabled; - var table_exports = {}; - __export(table_exports, { - getAllCells: function getAllCells() { - return get_all_cells_default; - }, - getCellPosition: function getCellPosition() { - return get_cell_position_default; - }, - getHeaders: function getHeaders() { - return get_headers_default; - }, - getScope: function getScope() { - return get_scope_default; - }, - isColumnHeader: function isColumnHeader() { - return is_column_header_default; - }, - isDataCell: function isDataCell() { - return is_data_cell_default; - }, - isDataTable: function isDataTable() { - return is_data_table_default; - }, - isHeader: function isHeader() { - return is_header_default; - }, - isRowHeader: function isRowHeader() { - return is_row_header_default; - }, - toArray: function toArray() { - return to_grid_default; - }, - toGrid: function toGrid() { - return to_grid_default; - }, - traverse: function traverse() { - return traverse_default; + if (!accText && label3) { + return void 0; } - }); - function getAllCells(tableElm) { - var rowIndex, cellIndex, rowLength, cellLength; - var cells = []; - for (rowIndex = 0, rowLength = tableElm.rows.length; rowIndex < rowLength; rowIndex++) { - for (cellIndex = 0, cellLength = tableElm.rows[rowIndex].cells.length; cellIndex < cellLength; cellIndex++) { - cells.push(tableElm.rows[rowIndex].cells[cellIndex]); - } + if (!accText.includes(label3)) { + return void 0; } - return cells; + return false; } - var get_all_cells_default = getAllCells; - function traverseForHeaders(headerType, position, tableGrid) { - var property = headerType === 'row' ? '_rowHeaders' : '_colHeaders'; - var predicate = headerType === 'row' ? is_row_header_default : is_column_header_default; - var startCell = tableGrid[position.y][position.x]; - var colspan = startCell.colSpan - 1; - var rowspanAttr = startCell.getAttribute('rowspan'); - var rowspanValue = parseInt(rowspanAttr) === 0 || startCell.rowspan === 0 ? tableGrid.length : startCell.rowSpan; - var rowspan = rowspanValue - 1; - var rowStart = position.y + rowspan; - var colStart = position.x + colspan; - var rowEnd = headerType === 'row' ? position.y : 0; - var colEnd = headerType === 'row' ? 0 : position.x; - var headers; - var cells = []; - for (var row = rowStart; row >= rowEnd && !headers; row--) { - for (var col = colStart; col >= colEnd; col--) { - var cell = tableGrid[row] ? tableGrid[row][col] : void 0; - if (!cell) { - continue; - } - var vNode = axe.utils.getNodeFromTree(cell); - if (vNode[property]) { - headers = vNode[property]; - break; - } - cells.push(cell); - } - } - headers = (headers || []).concat(cells.filter(predicate)); - cells.forEach(function(tableCell) { - var vNode = axe.utils.getNodeFromTree(tableCell); - vNode[property] = headers; - }); - return headers; + var no_implicit_explicit_label_evaluate_default = noImplicitExplicitLabelEvaluate; + function isElementFocusableEvaluate(node, options, virtualNode) { + return _isFocusable(virtualNode); } - function getHeaders(cell, tableGrid) { - if (cell.getAttribute('headers')) { - var headers = idrefs_default(cell, 'headers'); - if (headers.filter(function(header) { - return header; - }).length) { - return headers; - } - } - if (!tableGrid) { - tableGrid = to_grid_default(find_up_default(cell, 'table')); + var is_element_focusable_evaluate_default = isElementFocusableEvaluate; + function invalidroleEvaluate(node, options, virtualNode) { + var allRoles = token_list_default(virtualNode.attr('role')); + var allInvalid = allRoles.every(function(role) { + return !is_valid_role_default(role.toLowerCase(), { + allowAbstract: true + }); + }); + if (allInvalid) { + this.data(allRoles); + return true; } - var position = get_cell_position_default(cell, tableGrid); - var rowHeaders = traverseForHeaders('row', position, tableGrid); - var colHeaders = traverseForHeaders('col', position, tableGrid); - return [].concat(rowHeaders, colHeaders).reverse(); + return false; } - var get_headers_default = getHeaders; - function isDataCell(cell) { - if (!cell.children.length && !cell.textContent.trim()) { + var invalidrole_evaluate_default = invalidroleEvaluate; + function hasWidgetRoleEvaluate(node) { + var role = node.getAttribute('role'); + if (role === null) { return false; } - var role = cell.getAttribute('role'); - if (is_valid_role_default(role)) { - return [ 'cell', 'gridcell' ].includes(role); - } else { - return cell.nodeName.toUpperCase() === 'TD'; - } + var roleType = get_role_type_default(role); + return roleType === 'widget' || roleType === 'composite'; } - var is_data_cell_default = isDataCell; - function isDataTable(node) { - var role = (node.getAttribute('role') || '').toLowerCase(); - if ((role === 'presentation' || role === 'none') && !_isFocusable(node)) { + var has_widget_role_evaluate_default = hasWidgetRoleEvaluate; + function hasGlobalAriaAttributeEvaluate(node, options, virtualNode) { + var globalAttrs = get_global_aria_attrs_default().filter(function(attr) { + return virtualNode.hasAttr(attr); + }); + this.data(globalAttrs); + return globalAttrs.length > 0; + } + var has_global_aria_attribute_evaluate_default = hasGlobalAriaAttributeEvaluate; + function nonePresentationOnElementWithNoImplicitRole(virtualNode, explicitRoles) { + var hasImplicitRole = implicit_role_default(virtualNode); + return !hasImplicitRole && explicitRoles.length === 2 && explicitRoles.includes('none') && explicitRoles.includes('presentation'); + } + function fallbackroleEvaluate(node, options, virtualNode) { + var explicitRoles = token_list_default(virtualNode.attr('role')); + if (explicitRoles.length <= 1) { return false; } - if (node.getAttribute('contenteditable') === 'true' || find_up_default(node, '[contenteditable="true"]')) { - return true; - } - if (role === 'grid' || role === 'treegrid' || role === 'table') { - return true; + return nonePresentationOnElementWithNoImplicitRole(virtualNode, explicitRoles) ? void 0 : true; + } + var fallbackrole_evaluate_default = fallbackroleEvaluate; + function deprecatedroleEvaluate(node, options, virtualNode) { + var role = get_role_default(virtualNode, { + dpub: true, + fallback: true + }); + var roleDefinition = standards_default.ariaRoles[role]; + if (!(roleDefinition !== null && roleDefinition !== void 0 && roleDefinition.deprecated)) { + return false; } - if (get_role_type_default(role) === 'landmark') { + this.data(role); + return true; + } + function brailleRoleDescriptionEquivalentEvaluate(node, options, virtualNode) { + var _virtualNode$attr; + var brailleRoleDesc = (_virtualNode$attr = virtualNode.attr('aria-brailleroledescription')) !== null && _virtualNode$attr !== void 0 ? _virtualNode$attr : ''; + if (sanitize_default(brailleRoleDesc) === '') { return true; } - if (node.getAttribute('datatable') === '0') { + var roleDesc = virtualNode.attr('aria-roledescription'); + if (typeof roleDesc !== 'string') { + this.data({ + messageKey: 'noRoleDescription' + }); return false; } - if (node.getAttribute('summary')) { - return true; + if (sanitize_default(roleDesc) === '') { + this.data({ + messageKey: 'emptyRoleDescription' + }); + return false; } - if (node.tHead || node.tFoot || node.caption) { + return true; + } + function brailleLabelEquivalentEvaluate(node, options, virtualNode) { + var _virtualNode$attr2; + var brailleLabel = (_virtualNode$attr2 = virtualNode.attr('aria-braillelabel')) !== null && _virtualNode$attr2 !== void 0 ? _virtualNode$attr2 : ''; + if (!brailleLabel.trim()) { return true; } - for (var childIndex = 0, childLength = node.children.length; childIndex < childLength; childIndex++) { - if (node.children[childIndex].nodeName.toUpperCase() === 'COLGROUP') { - return true; - } + try { + return sanitize_default(_accessibleTextVirtual(virtualNode)) !== ''; + } catch (_unused18) { + return void 0; } - var cells = 0; - var rowLength = node.rows.length; - var row, cell; - var hasBorder = false; - for (var rowIndex = 0; rowIndex < rowLength; rowIndex++) { - row = node.rows[rowIndex]; - for (var cellIndex = 0, cellLength = row.cells.length; cellIndex < cellLength; cellIndex++) { - cell = row.cells[cellIndex]; - if (cell.nodeName.toUpperCase() === 'TH') { - return true; + } + function ariaValidAttrValueEvaluate(node, options, virtualNode) { + options = Array.isArray(options.value) ? options.value : []; + var needsReview = ''; + var messageKey = ''; + var invalid = []; + var aria = /^aria-/; + var skipAttrs = [ 'aria-errormessage' ]; + var preChecks = { + 'aria-controls': function ariaControls() { + var hasPopup = [ 'false', null ].includes(virtualNode.attr('aria-haspopup')) === false; + if (hasPopup) { + needsReview = 'aria-controls="'.concat(virtualNode.attr('aria-controls'), '"'); + messageKey = 'controlsWithinPopup'; } - if (!hasBorder && (cell.offsetWidth !== cell.clientWidth || cell.offsetHeight !== cell.clientHeight)) { - hasBorder = true; + return virtualNode.attr('aria-expanded') !== 'false' && virtualNode.attr('aria-selected') !== 'false' && hasPopup === false; + }, + 'aria-current': function ariaCurrent(validValue) { + if (!validValue) { + needsReview = 'aria-current="'.concat(virtualNode.attr('aria-current'), '"'); + messageKey = 'ariaCurrent'; } - if (cell.getAttribute('scope') || cell.getAttribute('headers') || cell.getAttribute('abbr')) { - return true; + return; + }, + 'aria-owns': function ariaOwns() { + return virtualNode.attr('aria-expanded') !== 'false'; + }, + 'aria-describedby': function ariaDescribedby(validValue) { + if (!validValue) { + needsReview = 'aria-describedby="'.concat(virtualNode.attr('aria-describedby'), '"'); + messageKey = axe._tree && axe._tree[0]._hasShadowRoot ? 'noIdShadow' : 'noId'; } - if ([ 'columnheader', 'rowheader' ].includes((cell.getAttribute('role') || '').toLowerCase())) { - return true; + return; + }, + 'aria-labelledby': function ariaLabelledby(validValue) { + if (!validValue) { + needsReview = 'aria-labelledby="'.concat(virtualNode.attr('aria-labelledby'), '"'); + messageKey = axe._tree && axe._tree[0]._hasShadowRoot ? 'noIdShadow' : 'noId'; } - if (cell.children.length === 1 && cell.children[0].nodeName.toUpperCase() === 'ABBR') { - return true; + } + }; + virtualNode.attrNames.forEach(function(attrName) { + if (skipAttrs.includes(attrName) || options.includes(attrName) || !aria.test(attrName)) { + return; + } + var validValue; + var attrValue = virtualNode.attr(attrName); + try { + validValue = validate_attr_value_default(virtualNode, attrName); + } catch (_unused19) { + needsReview = ''.concat(attrName, '="').concat(attrValue, '"'); + messageKey = 'idrefs'; + return; + } + if ((preChecks[attrName] ? preChecks[attrName](validValue) : true) && !validValue) { + if (attrValue === '' && !isStringType(attrName)) { + needsReview = attrName; + messageKey = 'empty'; + } else { + invalid.push(''.concat(attrName, '="').concat(attrValue, '"')); } - cells++; } - } - if (node.getElementsByTagName('table').length) { + }); + if (invalid.length) { + this.data(invalid); return false; } - if (rowLength < 2) { - return false; + if (needsReview) { + this.data({ + messageKey: messageKey, + needsReview: needsReview + }); + return void 0; } - var sampleRow = node.rows[Math.ceil(rowLength / 2)]; - if (sampleRow.cells.length === 1 && sampleRow.cells[0].colSpan === 1) { + return true; + } + function isStringType(attrName) { + var _standards_default$ar; + return ((_standards_default$ar = standards_default.ariaAttrs[attrName]) === null || _standards_default$ar === void 0 ? void 0 : _standards_default$ar.type) === 'string'; + } + function ariaValidAttrEvaluate(node, options, virtualNode) { + options = Array.isArray(options.value) ? options.value : []; + var invalid = []; + var aria = /^aria-/; + virtualNode.attrNames.forEach(function(attr) { + if (options.indexOf(attr) === -1 && aria.test(attr) && !validate_attr_default(attr)) { + invalid.push(attr); + } + }); + if (invalid.length) { + this.data(invalid); return false; } - if (sampleRow.cells.length >= 5) { + return true; + } + var aria_valid_attr_evaluate_default = ariaValidAttrEvaluate; + function ariaUnsupportedAttrEvaluate(node, options, virtualNode) { + var unsupportedAttrs = virtualNode.attrNames.filter(function(name) { + var attribute = standards_default.ariaAttrs[name]; + if (!validate_attr_default(name)) { + return false; + } + var unsupported = attribute.unsupported; + if (_typeof(unsupported) !== 'object') { + return !!unsupported; + } + return !matches_default2(node, unsupported.exceptions); + }); + if (unsupportedAttrs.length) { + this.data(unsupportedAttrs); + return true; + } + return false; + } + var aria_unsupported_attr_evaluate_default = ariaUnsupportedAttrEvaluate; + function ariaRoledescriptionEvaluate(node) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var virtualNode = arguments.length > 2 ? arguments[2] : undefined; + var role = get_role_default(virtualNode); + var supportedRoles = options.supportedRoles || []; + if (supportedRoles.includes(role)) { return true; } - if (hasBorder) { + if (role && role !== 'presentation' && role !== 'none') { + return void 0; + } + return false; + } + var aria_roledescription_evaluate_default = ariaRoledescriptionEvaluate; + function getMissingContext(virtualNode, ownGroupRoles, reqContext, includeElement) { + var explicitRole2 = get_explicit_role_default(virtualNode); + if (!reqContext) { + reqContext = required_context_default(explicitRole2); + } + if (!reqContext) { + return null; + } + var allowsGroup = reqContext.includes('group'); + var vNode = includeElement ? virtualNode : virtualNode.parent; + while (vNode) { + var role = get_role_default(vNode, { + noPresentational: true + }); + if (!role) { + vNode = vNode.parent; + } else if (role === 'group' && allowsGroup) { + if (ownGroupRoles.includes(explicitRole2)) { + reqContext.push(explicitRole2); + } + reqContext = reqContext.filter(function(r) { + return r !== 'group'; + }); + vNode = vNode.parent; + } else if (reqContext.includes(role)) { + return null; + } else { + return reqContext; + } + } + return reqContext; + } + function getAriaOwners(element) { + var owners = []; + var o = null; + while (element) { + if (element.getAttribute('id')) { + var _id5 = escape_selector_default(element.getAttribute('id')); + var doc = get_root_node_default2(element); + o = doc.querySelector('[aria-owns~='.concat(_id5, ']')); + if (o) { + owners.push(o); + } + } + element = element.parentElement; + } + return owners.length ? owners : null; + } + function ariaRequiredParentEvaluate(node, options, virtualNode) { + var ownGroupRoles = options && Array.isArray(options.ownGroupRoles) ? options.ownGroupRoles : []; + var missingParents = getMissingContext(virtualNode, ownGroupRoles); + if (!missingParents) { return true; } - var bgColor, bgImage; - for (rowIndex = 0; rowIndex < rowLength; rowIndex++) { - row = node.rows[rowIndex]; - if (bgColor && bgColor !== window.getComputedStyle(row).getPropertyValue('background-color')) { - return true; - } else { - bgColor = window.getComputedStyle(row).getPropertyValue('background-color'); - } - if (bgImage && bgImage !== window.getComputedStyle(row).getPropertyValue('background-image')) { - return true; - } else { - bgImage = window.getComputedStyle(row).getPropertyValue('background-image'); + var owners = getAriaOwners(node); + if (owners) { + for (var _i42 = 0, l = owners.length; _i42 < l; _i42++) { + missingParents = getMissingContext(get_node_from_tree_default(owners[_i42]), ownGroupRoles, missingParents, true); + if (!missingParents) { + return true; + } } } - if (rowLength >= 20) { + this.data(missingParents); + return false; + } + var aria_required_parent_evaluate_default = ariaRequiredParentEvaluate; + function ariaRequiredChildrenEvaluate(node, options, virtualNode) { + var reviewEmpty = options && Array.isArray(options.reviewEmpty) ? options.reviewEmpty : []; + var explicitRole2 = get_explicit_role_default(virtualNode, { + dpub: true + }); + var required = required_owned_default(explicitRole2); + if (required === null) { return true; } - if (get_element_coordinates_default(node).width > get_viewport_size_default(window).width * .95) { - return false; - } - if (cells < 10) { + var ownedRoles = getOwnedRoles(virtualNode, required); + var unallowed = ownedRoles.filter(function(_ref135) { + var role = _ref135.role, vNode = _ref135.vNode; + return vNode.props.nodeType === 1 && !required.includes(role); + }); + if (unallowed.length) { + this.relatedNodes(unallowed.map(function(_ref136) { + var vNode = _ref136.vNode; + return vNode; + })); + this.data({ + messageKey: 'unallowed', + values: unallowed.map(function(_ref137) { + var vNode = _ref137.vNode, attr = _ref137.attr; + return getUnallowedSelector(vNode, attr); + }).filter(function(selector, index, array) { + return array.indexOf(selector) === index; + }).join(', ') + }); return false; } - if (node.querySelector('object, embed, iframe, applet')) { - return false; + if (hasRequiredChildren(required, ownedRoles)) { + return true; } - return true; - } - var is_data_table_default = isDataTable; - function isHeader(cell) { - if (is_column_header_default(cell) || is_row_header_default(cell)) { + if (virtualNode.attr('aria-busy') === 'true') { + this.data({ + messageKey: 'aria-busy' + }); return true; } - if (cell.getAttribute('id')) { - var id = escape_selector_default(cell.getAttribute('id')); - return !!document.querySelector('[headers~="'.concat(id, '"]')); + this.data(required); + if (reviewEmpty.includes(explicitRole2) && !ownedRoles.some(isContent)) { + return void 0; } return false; } - var is_header_default = isHeader; - function traverseTable(dir, position, tableGrid, callback) { - var result; - var cell = tableGrid[position.y] ? tableGrid[position.y][position.x] : void 0; - if (!cell) { - return []; - } - if (typeof callback === 'function') { - result = callback(cell, position, tableGrid); - if (result === true) { - return [ cell ]; + function getOwnedRoles(virtualNode, required) { + var vNode; + var ownedRoles = []; + var ownedVirtual = get_owned_virtual_default(virtualNode); + var _loop10 = function _loop10() { + if (vNode.props.nodeType === 3) { + ownedRoles.push({ + vNode: vNode, + role: null + }); } - } - result = traverseTable(dir, { - x: position.x + dir.x, - y: position.y + dir.y - }, tableGrid, callback); - result.unshift(cell); - return result; - } - function traverse(dir, startPos, tableGrid, callback) { - if (Array.isArray(startPos)) { - callback = tableGrid; - tableGrid = startPos; - startPos = { - x: 0, - y: 0 - }; - } - if (typeof dir === 'string') { - switch (dir) { - case 'left': - dir = { - x: -1, - y: 0 - }; - break; - - case 'up': - dir = { - x: 0, - y: -1 - }; - break; - - case 'right': - dir = { - x: 1, - y: 0 - }; - break; - - case 'down': - dir = { - x: 0, - y: 1 - }; - break; + if (vNode.props.nodeType !== 1 || !_isVisibleToScreenReaders(vNode)) { + return 1; + } + var role = get_role_default(vNode, { + noPresentational: true + }); + var globalAriaAttr = getGlobalAriaAttr(vNode); + var hasGlobalAriaOrFocusable = !!globalAriaAttr || _isFocusable(vNode); + if (!role && !hasGlobalAriaOrFocusable || [ 'group', 'rowgroup' ].includes(role) && required.some(function(requiredRole) { + return requiredRole === role; + })) { + ownedVirtual.push.apply(ownedVirtual, _toConsumableArray(vNode.children)); + } else if (role || hasGlobalAriaOrFocusable) { + var attr = globalAriaAttr || 'tabindex'; + ownedRoles.push({ + role: role, + attr: attr, + vNode: vNode + }); + } + }; + while (vNode = ownedVirtual.shift()) { + if (_loop10()) { + continue; } } - return traverseTable(dir, { - x: startPos.x + dir.x, - y: startPos.y + dir.y - }, tableGrid, callback); + return ownedRoles; } - var traverse_default = traverse; - function identicalLinksSamePurposeEvaluate(node, options, virtualNode) { - var accText = text_exports.accessibleTextVirtual(virtualNode); - var name = text_exports.sanitize(text_exports.removeUnicode(accText, { - emoji: true, - nonBmp: true, - punctuations: true - })).toLowerCase(); - if (!name) { - return void 0; - } - var afterData = { - name: name, - urlProps: dom_exports.urlPropsFromAttribute(node, 'href') - }; - this.data(afterData); - this.relatedNodes([ node ]); - return true; + function hasRequiredChildren(required, ownedRoles) { + return ownedRoles.some(function(_ref138) { + var role = _ref138.role; + return role && required.includes(role); + }); } - var identical_links_same_purpose_evaluate_default = identicalLinksSamePurposeEvaluate; - function internalLinkPresentEvaluate(node, options, virtualNode) { - var links = query_selector_all_default(virtualNode, 'a[href]'); - return links.some(function(vLink) { - return /^#[^/!]/.test(vLink.attr('href')); + function getGlobalAriaAttr(vNode) { + return get_global_aria_attrs_default().find(function(attr) { + return vNode.hasAttr(attr); }); } - var internal_link_present_evaluate_default = internalLinkPresentEvaluate; - var separatorRegex = /[;,\s]/; - var validRedirectNumRegex = /^[0-9.]+$/; - function metaRefreshEvaluate(node, options, virtualNode) { - var _ref105 = options || {}, minDelay = _ref105.minDelay, maxDelay = _ref105.maxDelay; - var content = (virtualNode.attr('content') || '').trim(); - var _content$split = content.split(separatorRegex), _content$split2 = _slicedToArray(_content$split, 1), redirectStr = _content$split2[0]; - if (!redirectStr.match(validRedirectNumRegex)) { - return true; + function getUnallowedSelector(vNode, attr) { + var _vNode$props = vNode.props, nodeName2 = _vNode$props.nodeName, nodeType = _vNode$props.nodeType; + if (nodeType === 3) { + return '#text'; } - var redirectDelay = parseFloat(redirectStr); - this.data({ - redirectDelay: redirectDelay + var role = get_explicit_role_default(vNode, { + dpub: true }); - if (typeof minDelay === 'number' && redirectDelay <= options.minDelay) { - return true; + if (role) { + return '[role='.concat(role, ']'); } - if (typeof maxDelay === 'number' && redirectDelay > options.maxDelay) { - return true; + if (attr) { + return nodeName2 + '['.concat(attr, ']'); } - return false; + return nodeName2; } - function normalizeFontWeight(weight) { - switch (weight) { - case 'lighter': - return 100; - - case 'normal': - return 400; - - case 'bold': - return 700; - - case 'bolder': - return 900; + function isContent(_ref139) { + var vNode = _ref139.vNode; + if (vNode.props.nodeType === 3) { + return vNode.props.nodeValue.trim().length > 0; } - weight = parseInt(weight); - return !isNaN(weight) ? weight : 400; + return has_content_virtual_default(vNode, false, true); } - function getTextContainer(elm) { - var nextNode = elm; - var outerText = elm.textContent.trim(); - var innerText = outerText; - while (innerText === outerText && nextNode !== void 0) { - var _i25 = -1; - elm = nextNode; - if (elm.children.length === 0) { - return elm; - } - do { - _i25++; - innerText = elm.children[_i25].textContent.trim(); - } while (innerText === '' && _i25 + 1 < elm.children.length); - nextNode = elm.children[_i25]; + function ariaRequiredAttrEvaluate(node) { + var _virtualNode$attr3; + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var virtualNode = arguments.length > 2 ? arguments[2] : undefined; + var role = get_explicit_role_default(virtualNode); + var attrs = virtualNode.attrNames; + var requiredAttrs = required_attr_default(role); + if (Array.isArray(options[role])) { + requiredAttrs = unique_array_default(options[role], requiredAttrs); } - return elm; - } - function getStyleValues(node) { - var style = window.getComputedStyle(getTextContainer(node)); - return { - fontWeight: normalizeFontWeight(style.getPropertyValue('font-weight')), - fontSize: parseInt(style.getPropertyValue('font-size')), - isItalic: style.getPropertyValue('font-style') === 'italic' - }; - } - function isHeaderStyle(styleA, styleB, margins) { - return margins.reduce(function(out, margin) { - return out || (!margin.size || styleA.fontSize / margin.size > styleB.fontSize) && (!margin.weight || styleA.fontWeight - margin.weight > styleB.fontWeight) && (!margin.italic || styleA.isItalic && !styleB.isItalic); - }, false); - } - function pAsHeadingEvaluate(node, options, virtualNode) { - var siblings = Array.from(node.parentNode.children); - var currentIndex = siblings.indexOf(node); - options = options || {}; - var margins = options.margins || []; - var nextSibling = siblings.slice(currentIndex + 1).find(function(elm) { - return elm.nodeName.toUpperCase() === 'P'; - }); - var prevSibling = siblings.slice(0, currentIndex).reverse().find(function(elm) { - return elm.nodeName.toUpperCase() === 'P'; - }); - var currStyle = getStyleValues(node); - var nextStyle = nextSibling ? getStyleValues(nextSibling) : null; - var prevStyle = prevSibling ? getStyleValues(prevSibling) : null; - var optionsPassLength = options.passLength; - var optionsFailLength = options.failLength; - var headingLength = node.textContent.trim().length; - var paragraphLength = nextSibling === null || nextSibling === void 0 ? void 0 : nextSibling.textContent.trim().length; - if (headingLength > paragraphLength * optionsPassLength) { + if (!role || !attrs.length || !requiredAttrs.length) { return true; } - if (!nextStyle || !isHeaderStyle(currStyle, nextStyle, margins)) { + if (isStaticSeparator(virtualNode, role) || isClosedCombobox(virtualNode, role)) { return true; } - var blockquote = find_up_virtual_default(virtualNode, 'blockquote'); - if (blockquote && blockquote.nodeName.toUpperCase() === 'BLOCKQUOTE') { - return void 0; - } - if (prevStyle && !isHeaderStyle(currStyle, prevStyle, margins)) { - return void 0; + if (role === 'slider' && (_virtualNode$attr3 = virtualNode.attr('aria-valuetext')) !== null && _virtualNode$attr3 !== void 0 && _virtualNode$attr3.trim()) { + return true; } - if (headingLength > paragraphLength * optionsFailLength) { - return void 0; + var elmSpec = get_element_spec_default(virtualNode); + var missingAttrs = requiredAttrs.filter(function(requiredAttr2) { + return !virtualNode.attr(requiredAttr2) && !hasImplicitAttr(elmSpec, requiredAttr2); + }); + if (missingAttrs.length) { + this.data(missingAttrs); + return false; } - return false; + return true; } - var p_as_heading_evaluate_default = pAsHeadingEvaluate; - function regionAfter(results) { - var iframeResults = results.filter(function(r) { - return r.data.isIframe; - }); - results.forEach(function(r) { - if (r.result || r.node.ancestry.length === 1) { - return; - } - var frameAncestry = r.node.ancestry.slice(0, -1); - var _iterator10 = _createForOfIteratorHelper(iframeResults), _step10; - try { - for (_iterator10.s(); !(_step10 = _iterator10.n()).done; ) { - var iframeResult = _step10.value; - if (match_ancestry_default(frameAncestry, iframeResult.node.ancestry)) { - r.result = iframeResult.result; - break; - } - } - } catch (err) { - _iterator10.e(err); - } finally { - _iterator10.f(); - } + function isStaticSeparator(vNode, role) { + return role === 'separator' && !_isFocusable(vNode); + } + function hasImplicitAttr(elmSpec, attr) { + var _elmSpec$implicitAttr; + return ((_elmSpec$implicitAttr = elmSpec.implicitAttrs) === null || _elmSpec$implicitAttr === void 0 ? void 0 : _elmSpec$implicitAttr[attr]) !== void 0; + } + function isClosedCombobox(vNode, role) { + return role === 'combobox' && vNode.attr('aria-expanded') === 'false'; + } + function ariaProhibitedAttrEvaluate(node) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var virtualNode = arguments.length > 2 ? arguments[2] : undefined; + var elementsAllowedAriaLabel = (options === null || options === void 0 ? void 0 : options.elementsAllowedAriaLabel) || []; + var nodeName2 = virtualNode.props.nodeName; + var role = get_role_default(virtualNode, { + chromium: true }); - iframeResults.forEach(function(r) { - if (!r.result) { - r.result = true; + var prohibitedList = listProhibitedAttrs(virtualNode, role, nodeName2, elementsAllowedAriaLabel); + var prohibited = prohibitedList.filter(function(attrName) { + if (!virtualNode.attrNames.includes(attrName)) { + return false; } + return sanitize_default(virtualNode.attr(attrName)) !== ''; }); - return results; - } - var region_after_default = regionAfter; - var landmarkRoles2 = get_aria_roles_by_type_default('landmark'); - var implicitAriaLiveRoles = [ 'alert', 'log', 'status' ]; - function regionEvaluate(node, options, virtualNode) { + if (prohibited.length === 0) { + return false; + } + var messageKey = virtualNode.hasAttr('role') ? 'hasRole' : 'noRole'; + messageKey += prohibited.length > 1 ? 'Plural' : 'Singular'; this.data({ - isIframe: [ 'iframe', 'frame' ].includes(virtualNode.props.nodeName) + role: role, + nodeName: nodeName2, + messageKey: messageKey, + prohibited: prohibited }); - var regionlessNodes = cache_default.get('regionlessNodes', function() { - return getRegionlessNodes(options); + var textContent = subtree_text_default(virtualNode, { + subtreeDescendant: true }); - return !regionlessNodes.includes(virtualNode); + if (sanitize_default(textContent) !== '') { + return void 0; + } + return true; } - function getRegionlessNodes(options) { - var regionlessNodes = findRegionlessElms(axe._tree[0], options).map(function(vNode) { - while (vNode.parent && !vNode.parent._hasRegionDescendant && vNode.parent.actualNode !== document.body) { - vNode = vNode.parent; - } - return vNode; - }).filter(function(vNode, index, array) { - return array.indexOf(vNode) === index; + function listProhibitedAttrs(vNode, role, nodeName2, elementsAllowedAriaLabel) { + var roleSpec = standards_default.ariaRoles[role]; + if (roleSpec) { + return roleSpec.prohibitedAttrs || []; + } + if (!!role || elementsAllowedAriaLabel.includes(nodeName2) || getClosestAncestorRoleType(vNode) === 'widget') { + return []; + } + return [ 'aria-label', 'aria-labelledby' ]; + } + var getClosestAncestorRoleType = memoize_default(function getClosestAncestorRoleTypeMemoized(vNode) { + if (!vNode) { + return; + } + var role = get_role_default(vNode, { + noPresentational: true, + chromium: true }); - return regionlessNodes; + if (role) { + return get_role_type_default(role); + } + return getClosestAncestorRoleType(vNode.parent); + }); + function ariaLevelEvaluate(node, options, virtualNode) { + var ariaHeadingLevel = virtualNode.attr('aria-level'); + var ariaLevel = parseInt(ariaHeadingLevel, 10); + if (ariaLevel > 6) { + return void 0; + } + return true; } - function findRegionlessElms(virtualNode, options) { - var node = virtualNode.actualNode; - if (get_role_default(virtualNode) === 'button' || isRegion(virtualNode, options) || [ 'iframe', 'frame' ].includes(virtualNode.props.nodeName) || _isSkipLink(virtualNode.actualNode) && get_element_by_reference_default(virtualNode.actualNode, 'href') || !_isVisibleToScreenReaders(node)) { - var vNode = virtualNode; - while (vNode) { - vNode._hasRegionDescendant = true; - vNode = vNode.parent; + var aria_level_evaluate_default = ariaLevelEvaluate; + function ariaHiddenBodyEvaluate(node, options, virtualNode) { + return virtualNode.attr('aria-hidden') !== 'true'; + } + var aria_hidden_body_evaluate_default = ariaHiddenBodyEvaluate; + function ariaErrormessageEvaluate(node, options, virtualNode) { + options = Array.isArray(options) ? options : []; + var errorMessageAttr = virtualNode.attr('aria-errormessage'); + var hasAttr = virtualNode.hasAttr('aria-errormessage'); + var invaid = virtualNode.attr('aria-invalid'); + var hasInvallid = virtualNode.hasAttr('aria-invalid'); + if (!hasInvallid || invaid === 'false') { + return true; + } + function validateAttrValue2(attr) { + if (attr.trim() === '') { + return standards_default.ariaAttrs['aria-errormessage'].allowEmpty; } - if ([ 'iframe', 'frame' ].includes(virtualNode.props.nodeName)) { - return [ virtualNode ]; + var idref; + try { + idref = attr && idrefs_default(virtualNode, 'aria-errormessage')[0]; + } catch (_unused20) { + this.data({ + messageKey: 'idrefs', + values: token_list_default(attr) + }); + return void 0; } - return []; - } else if (node !== document.body && has_content_default(node, true)) { - return [ virtualNode ]; - } else { - return virtualNode.children.filter(function(_ref106) { - var actualNode = _ref106.actualNode; - return actualNode.nodeType === 1; - }).map(function(vNode) { - return findRegionlessElms(vNode, options); - }).reduce(function(a, b) { - return a.concat(b); - }, []); + if (idref) { + if (!_isVisibleToScreenReaders(idref)) { + this.data({ + messageKey: 'hidden', + values: token_list_default(attr) + }); + return false; + } + return idref.getAttribute('role') === 'alert' || idref.getAttribute('aria-live') === 'assertive' || idref.getAttribute('aria-live') === 'polite' || token_list_default(virtualNode.attr('aria-describedby')).indexOf(attr) > -1; + } + return; } - } - function isRegion(virtualNode, options) { - var node = virtualNode.actualNode; - var role = get_role_default(virtualNode); - var ariaLive = (node.getAttribute('aria-live') || '').toLowerCase().trim(); - if ([ 'assertive', 'polite' ].includes(ariaLive) || implicitAriaLiveRoles.includes(role)) { - return true; + if (options.indexOf(errorMessageAttr) === -1 && hasAttr) { + this.data(token_list_default(errorMessageAttr)); + return validateAttrValue2.call(this, errorMessageAttr); } - if (landmarkRoles2.includes(role)) { + return true; + } + function ariaConditionalRowAttr(node) { + var _invalidTableRowAttrs, _invalidTableRowAttrs2; + var _ref140 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, invalidTableRowAttrs = _ref140.invalidTableRowAttrs; + var virtualNode = arguments.length > 2 ? arguments[2] : undefined; + var invalidAttrs = (_invalidTableRowAttrs = invalidTableRowAttrs === null || invalidTableRowAttrs === void 0 || (_invalidTableRowAttrs2 = invalidTableRowAttrs.filter) === null || _invalidTableRowAttrs2 === void 0 ? void 0 : _invalidTableRowAttrs2.call(invalidTableRowAttrs, function(invalidAttr) { + return virtualNode.hasAttr(invalidAttr); + })) !== null && _invalidTableRowAttrs !== void 0 ? _invalidTableRowAttrs : []; + if (invalidAttrs.length === 0) { return true; } - if (options.regionMatcher && matches_default3(virtualNode, options.regionMatcher)) { + var owner = getRowOwner(virtualNode); + var ownerRole = owner && get_role_default(owner); + if (!ownerRole || ownerRole === 'treegrid') { return true; } + var messageKey = 'row'.concat(invalidAttrs.length > 1 ? 'Plural' : 'Singular'); + this.data({ + messageKey: messageKey, + invalidAttrs: invalidAttrs, + ownerRole: ownerRole + }); return false; } - function skipLinkEvaluate(node) { - var target = get_element_by_reference_default(node, 'href'); - if (target) { - return _isVisibleToScreenReaders(target) || void 0; + function getRowOwner(virtualNode) { + if (!virtualNode.parent) { + return; } - return false; + var rowOwnerQuery = 'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]'; + return closest_default(virtualNode, rowOwnerQuery); } - var skip_link_evaluate_default = skipLinkEvaluate; - function uniqueFrameTitleAfter(results) { - var titles = {}; - results.forEach(function(r) { - titles[r.data] = titles[r.data] !== void 0 ? ++titles[r.data] : 0; - }); - results.forEach(function(r) { - r.result = !!titles[r.data]; + function ariaConditionalCheckboxAttr(node, options, virtualNode) { + var _virtualNode$props = virtualNode.props, nodeName2 = _virtualNode$props.nodeName, type2 = _virtualNode$props.type; + var ariaChecked = normalizeAriaChecked(virtualNode.attr('aria-checked')); + if (nodeName2 !== 'input' || type2 !== 'checkbox' || !ariaChecked) { + return true; + } + var checkState = getCheckState(virtualNode); + if (ariaChecked === checkState) { + return true; + } + this.data({ + messageKey: 'checkbox', + checkState: checkState }); - return results; + return false; } - var unique_frame_title_after_default = uniqueFrameTitleAfter; - function uniqueFrameTitleEvaluate(node, options, vNode) { - var title = sanitize_default(vNode.attr('title')).toLowerCase(); - this.data(title); - return true; + function getCheckState(vNode) { + if (vNode.props.indeterminate) { + return 'mixed'; + } + return vNode.props.checked ? 'true' : 'false'; } - var unique_frame_title_evaluate_default = uniqueFrameTitleEvaluate; - function duplicateIdAfter(results) { - var uniqueIds = []; - return results.filter(function(r) { - if (uniqueIds.indexOf(r.data) === -1) { - uniqueIds.push(r.data); - return true; - } - return false; - }); + function normalizeAriaChecked(ariaCheckedVal) { + if (!ariaCheckedVal) { + return ''; + } + ariaCheckedVal = ariaCheckedVal.toLowerCase(); + if ([ 'mixed', 'true' ].includes(ariaCheckedVal)) { + return ariaCheckedVal; + } + return 'false'; } - var duplicate_id_after_default = duplicateIdAfter; - function duplicateIdEvaluate(node) { - var id = node.getAttribute('id').trim(); - if (!id) { + var conditionalRoleMap = { + row: ariaConditionalRowAttr, + checkbox: ariaConditionalCheckboxAttr + }; + function ariaConditionalAttrEvaluate(node, options, virtualNode) { + var role = get_role_default(virtualNode); + if (!conditionalRoleMap[role]) { return true; } - var root = get_root_node_default2(node); - var matchingNodes = Array.from(root.querySelectorAll('[id="'.concat(escape_selector_default(id), '"]'))).filter(function(foundNode) { - return foundNode !== node; - }); - if (matchingNodes.length) { - this.relatedNodes(matchingNodes); - } - this.data(id); - return matchingNodes.length === 0; + return conditionalRoleMap[role].call(this, node, options, virtualNode); } - var duplicate_id_evaluate_default = duplicateIdEvaluate; - function ariaLabelEvaluate(node, options, virtualNode) { - return !!sanitize_default(arialabel_text_default(virtualNode)); + function ariaBusyEvaluate(node, options, virtualNode) { + return virtualNode.attr('aria-busy') === 'true'; } - var aria_label_evaluate_default = ariaLabelEvaluate; - function ariaLabelledbyEvaluate(node, options, virtualNode) { - try { - return !!sanitize_default(arialabelledby_text_default(virtualNode)); - } catch (e) { - return void 0; + function ariaAllowedRoleEvaluate(node) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var virtualNode = arguments.length > 2 ? arguments[2] : undefined; + var _options$allowImplici = options.allowImplicit, allowImplicit = _options$allowImplici === void 0 ? true : _options$allowImplici, _options$ignoredTags = options.ignoredTags, ignoredTags = _options$ignoredTags === void 0 ? [] : _options$ignoredTags; + var nodeName2 = virtualNode.props.nodeName; + if (ignoredTags.map(function(tag) { + return tag.toLowerCase(); + }).includes(nodeName2)) { + return true; } - } - var aria_labelledby_evaluate_default = ariaLabelledbyEvaluate; - function avoidInlineSpacingEvaluate(node, options) { - var overriddenProperties = options.cssProperties.filter(function(property) { - if (node.style.getPropertyPriority(property) === 'important') { - return property; + var unallowedRoles = get_element_unallowed_roles_default(virtualNode, allowImplicit); + if (unallowedRoles.length) { + this.data(unallowedRoles); + if (!_isVisibleToScreenReaders(virtualNode)) { + return void 0; } - }); - if (overriddenProperties.length > 0) { - this.data(overriddenProperties); return false; } return true; } - var avoid_inline_spacing_evaluate_default = avoidInlineSpacingEvaluate; - function docHasTitleEvaluate() { - var title = document.title; - return !!sanitize_default(title); - } - var doc_has_title_evaluate_default = docHasTitleEvaluate; - function existsEvaluate() { - return void 0; - } - var exists_evaluate_default = existsEvaluate; - function hasAltEvaluate(node, options, virtualNode) { - var nodeName2 = virtualNode.props.nodeName; - if (![ 'img', 'input', 'area' ].includes(nodeName2)) { - return false; + var aria_allowed_role_evaluate_default = ariaAllowedRoleEvaluate; + function ariaAllowedAttrEvaluate(node, options, virtualNode) { + var invalid = []; + var role = get_role_default(virtualNode); + var allowed = allowed_attr_default(role); + if (Array.isArray(options[role])) { + allowed = unique_array_default(options[role].concat(allowed)); } - return virtualNode.hasAttr('alt'); - } - var has_alt_evaluate_default = hasAltEvaluate; - function inlineStyleProperty(node, options) { - var cssProperty = options.cssProperty, absoluteValues = options.absoluteValues, minValue = options.minValue, maxValue = options.maxValue, _options$normalValue = options.normalValue, normalValue = _options$normalValue === void 0 ? 0 : _options$normalValue, noImportant = options.noImportant, multiLineOnly = options.multiLineOnly; - if (!noImportant && node.style.getPropertyPriority(cssProperty) !== 'important' || multiLineOnly && !_isMultiline(node)) { + var _iterator21 = _createForOfIteratorHelper(virtualNode.attrNames), _step21; + try { + for (_iterator21.s(); !(_step21 = _iterator21.n()).done; ) { + var attrName = _step21.value; + if (validate_attr_default(attrName) && !allowed.includes(attrName) && !ignoredAttrs(attrName, virtualNode.attr(attrName), virtualNode)) { + invalid.push(attrName); + } + } + } catch (err) { + _iterator21.e(err); + } finally { + _iterator21.f(); + } + if (!invalid.length) { return true; } - var data2 = {}; - if (typeof minValue === 'number') { - data2.minValue = minValue; + this.data(invalid.map(function(attrName) { + return attrName + '="' + virtualNode.attr(attrName) + '"'; + })); + if (!role && !is_html_element_default(virtualNode) && !_isFocusable(virtualNode)) { + return void 0; } - if (typeof maxValue === 'number') { - data2.maxValue = maxValue; + return false; + } + function ignoredAttrs(attrName, attrValue, vNode) { + if (attrName === 'aria-required' && attrValue === 'false') { + return true; } - var declaredPropValue = node.style.getPropertyValue(cssProperty); - if ([ 'inherit', 'unset', 'revert', 'revert-layer' ].includes(declaredPropValue)) { - this.data(_extends({ - value: declaredPropValue - }, data2)); + if (attrName === 'aria-multiline' && attrValue === 'false' && vNode.hasAttr('contenteditable')) { return true; } - var value = getNumberValue(node, { - absoluteValues: absoluteValues, - cssProperty: cssProperty, - normalValue: normalValue + return false; + } + function abstractroleEvaluate(node, options, virtualNode) { + var abstractRoles = token_list_default(virtualNode.attr('role')).filter(function(role) { + return get_role_type_default(role) === 'abstract'; }); - this.data(_extends({ - value: value - }, data2)); - if (typeof value !== 'number') { - return void 0; - } - if ((typeof minValue !== 'number' || value >= minValue) && (typeof maxValue !== 'number' || value <= maxValue)) { + if (abstractRoles.length > 0) { + this.data(abstractRoles); return true; } return false; } - function getNumberValue(domNode, _ref107) { - var cssProperty = _ref107.cssProperty, absoluteValues = _ref107.absoluteValues, normalValue = _ref107.normalValue; - var computedStyle = window.getComputedStyle(domNode); - var cssPropValue = computedStyle.getPropertyValue(cssProperty); - if (cssPropValue === 'normal') { - return normalValue; - } - var parsedValue = parseFloat(cssPropValue); - if (absoluteValues) { - return parsedValue; - } - var fontSize = parseFloat(computedStyle.getPropertyValue('font-size')); - var value = Math.round(parsedValue / fontSize * 100) / 100; - if (isNaN(value)) { - return cssPropValue; - } - return value; + var abstractrole_evaluate_default = abstractroleEvaluate; + function xmlLangMismatchMatches(node) { + var primaryLangValue = get_base_lang_default(node.getAttribute('lang')); + var primaryXmlLangValue = get_base_lang_default(node.getAttribute('xml:lang')); + return valid_langs_default(primaryLangValue) && valid_langs_default(primaryXmlLangValue); } - function isOnScreenEvaluate(node) { - return _isVisibleOnScreen(node); + var xml_lang_mismatch_matches_default = xmlLangMismatchMatches; + function windowIsTopMatches(node) { + return node.ownerDocument.defaultView.self === node.ownerDocument.defaultView.top; } - var is_on_screen_evaluate_default = isOnScreenEvaluate; - function nonEmptyIfPresentEvaluate(node, options, virtualNode) { - var nodeName2 = virtualNode.props.nodeName; - var type = (virtualNode.attr('type') || '').toLowerCase(); - var label3 = virtualNode.attr('value'); - if (label3) { - this.data({ - messageKey: 'has-label' - }); - } - if (nodeName2 === 'input' && [ 'submit', 'reset' ].includes(type)) { - return label3 === null; + var window_is_top_matches_default = windowIsTopMatches; + function svgNamespaceMatches(node, virtualNode) { + try { + var nodeName2 = virtualNode.props.nodeName; + if (nodeName2 === 'svg') { + return true; + } + return !!closest_default(virtualNode, 'svg'); + } catch (_unused21) { + return false; } - return false; } - var non_empty_if_present_evaluate_default = nonEmptyIfPresentEvaluate; - function presentationalRoleEvaluate(node, options, virtualNode) { - var explicitRole2 = get_explicit_role_default(virtualNode); - if ([ 'presentation', 'none' ].includes(explicitRole2) && [ 'iframe', 'frame' ].includes(virtualNode.props.nodeName) && virtualNode.hasAttr('title')) { - this.data({ - messageKey: 'iframe', - nodeName: virtualNode.props.nodeName - }); + var svg_namespace_matches_default = svgNamespaceMatches; + function widgetNotInline(node, vNode) { + return matchesFns.every(function(fn) { + return fn(node, vNode); + }); + } + var matchesFns = [ function(node, vNode) { + return isWidgetType(vNode); + }, function(node, vNode) { + return isNotAreaElement(vNode); + }, function(node, vNode) { + return !svg_namespace_matches_default(node, vNode); + }, function(node, vNode) { + return _isFocusable(vNode); + }, function(node, vNode) { + return _isInTabOrder(vNode) || !hasWidgetAncestorInTabOrder(vNode); + }, function(node) { + return !is_in_text_block_default(node, { + noLengthCompare: true + }); + } ]; + function isWidgetType(vNode) { + return get_role_type_default(vNode) === 'widget'; + } + function isNotAreaElement(vNode) { + return vNode.props.nodeName !== 'area'; + } + var hasWidgetAncestorInTabOrder = memoize_default(function hasWidgetAncestorInTabOrderMemoized(vNode) { + if (!(vNode !== null && vNode !== void 0 && vNode.parent)) { return false; } - var role = get_role_default(virtualNode); - if ([ 'presentation', 'none' ].includes(role)) { - this.data({ - role: role - }); + if (isWidgetType(vNode.parent) && _isInTabOrder(vNode.parent)) { return true; } - if (![ 'presentation', 'none' ].includes(explicitRole2)) { + return hasWidgetAncestorInTabOrderMemoized(vNode.parent); + }); + function tableOrGridRoleMatches(_, vNode) { + var role = get_role_default(vNode); + return [ 'treegrid', 'grid', 'table' ].includes(role); + } + function summaryIsInteractiveMatches(_, virtualNode) { + var parent = virtualNode.parent; + if (parent.props.nodeName !== 'details' || isSlottedElm(virtualNode)) { return false; } - var hasGlobalAria = get_global_aria_attrs_default().some(function(attr) { - return virtualNode.hasAttr(attr); + var firstSummary = parent.children.find(function(child) { + return child.props.nodeName === 'summary'; }); - var focusable = _isFocusable(virtualNode); - var messageKey; - if (hasGlobalAria && !focusable) { - messageKey = 'globalAria'; - } else if (!hasGlobalAria && focusable) { - messageKey = 'focusable'; - } else { - messageKey = 'both'; + if (firstSummary !== virtualNode) { + return false; } - this.data({ - messageKey: messageKey, - role: role + return true; + } + function isSlottedElm(vNode) { + var _vNode$actualNode; + var domParent = (_vNode$actualNode = vNode.actualNode) === null || _vNode$actualNode === void 0 ? void 0 : _vNode$actualNode.parentElement; + return domParent && domParent !== vNode.parent.actualNode; + } + function skipLinkMatches(node) { + return _isSkipLink(node) && is_offscreen_default(node); + } + var skip_link_matches_default = skipLinkMatches; + function scrollableRegionFocusableMatches(node, virtualNode) { + return get_scroll_default(node, 13) !== void 0 && _isComboboxPopup(virtualNode) === false && isNoneEmptyElement(virtualNode); + } + function isNoneEmptyElement(vNode) { + return query_selector_all_default(vNode, '*').some(function(elm) { + return has_content_virtual_default(elm, true, true); }); - return false; } - function svgNonEmptyTitleEvaluate(node, options, virtualNode) { - if (!virtualNode.children) { - return void 0; + function presentationRoleConflictMatches(node, virtualNode) { + return implicit_role_default(virtualNode, { + chromiumRoles: true + }) !== null; + } + var presentation_role_conflict_matches_default = presentationRoleConflictMatches; + function pAsHeadingMatches(node) { + var children = Array.from(node.parentNode.childNodes); + var nodeText = node.textContent.trim(); + var isSentence = /[.!?:;](?![.!?:;])/g; + if (nodeText.length === 0 || (nodeText.match(isSentence) || []).length >= 2) { + return false; } - var titleNode = virtualNode.children.find(function(_ref108) { - var props = _ref108.props; - return props.nodeName === 'title'; + var siblingsAfter = children.slice(children.indexOf(node) + 1).filter(function(elm) { + return elm.nodeName.toUpperCase() === 'P' && elm.textContent.trim() !== ''; }); - if (!titleNode) { - this.data({ - messageKey: 'noTitle' - }); - return false; + return siblingsAfter.length !== 0; + } + var p_as_heading_matches_default = pAsHeadingMatches; + function noExplicitNameRequired(node, virtualNode) { + var role = get_explicit_role_default(virtualNode); + if (!role || [ 'none', 'presentation' ].includes(role)) { + return true; } - try { - var titleText2 = subtree_text_default(titleNode, { - includeHidden: true - }).trim(); - if (titleText2 === '') { - this.data({ - messageKey: 'emptyTitle' - }); - return false; - } - } catch (e) { - return void 0; + var _ref141 = aria_roles_default[role] || {}, accessibleNameRequired = _ref141.accessibleNameRequired; + if (accessibleNameRequired || _isFocusable(virtualNode)) { + return true; } - return true; + return false; } - var svg_non_empty_title_evaluate_default = svgNonEmptyTitleEvaluate; - function captionFakedEvaluate(node) { - var table = to_grid_default(node); - var firstRow = table[0]; - if (table.length <= 1 || firstRow.length <= 1 || node.rows.length <= 1) { + var no_explicit_name_required_matches_default = noExplicitNameRequired; + var object_is_loaded_matches_default = function object_is_loaded_matches_default(node, vNode) { + return [ no_explicit_name_required_matches_default, objectHasLoaded ].every(function(fn) { + return fn(node, vNode); + }); + }; + function objectHasLoaded(node) { + var _node$ownerDocument; + if (!(node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.createRange)) { return true; } - return firstRow.reduce(function(out, curr, i) { - return out || curr !== firstRow[i + 1] && firstRow[i + 1] !== void 0; - }, false); + var range2 = node.ownerDocument.createRange(); + range2.setStart(node, 0); + range2.setEnd(node, node.childNodes.length); + return range2.getClientRects().length === 0; + } + function notHtmlMatches(node, virtualNode) { + return virtualNode.props.nodeName !== 'html'; + } + var not_html_matches_default = notHtmlMatches; + function noRoleMatches(node, vNode) { + return !vNode.attr('role'); } - var caption_faked_evaluate_default = captionFakedEvaluate; - function html5ScopeEvaluate(node) { - if (!is_html5_default(document)) { - return true; - } - return node.nodeName.toUpperCase() === 'TH'; + var no_role_matches_default = noRoleMatches; + function noNegativeTabindexMatches(node, virtualNode) { + var tabindex = parseInt(virtualNode.attr('tabindex'), 10); + return isNaN(tabindex) || tabindex >= 0; } - var html5_scope_evaluate_default = html5ScopeEvaluate; - var same_caption_summary_evaluate_default = sameCaptionSummaryEvaluate; - function sameCaptionSummaryEvaluate(node, options, virtualNode) { - if (virtualNode.children === void 0) { - return void 0; + var no_negative_tabindex_matches_default = noNegativeTabindexMatches; + function noNamingMethodMatches(node, virtualNode) { + var _get_element_spec_def3 = get_element_spec_default(virtualNode), namingMethods = _get_element_spec_def3.namingMethods; + if (namingMethods && namingMethods.length !== 0) { + return false; } - var summary = virtualNode.attr('summary'); - var captionNode = virtualNode.children.find(isCaptionNode); - var caption = captionNode ? sanitize_default(subtree_text_default(captionNode)) : false; - if (!caption || !summary) { + if (get_explicit_role_default(virtualNode) === 'combobox' && query_selector_all_default(virtualNode, 'input:not([type="hidden"])').length) { return false; } - return sanitize_default(summary).toLowerCase() === sanitize_default(caption).toLowerCase(); - } - function isCaptionNode(virtualNode) { - return virtualNode.props.nodeName === 'caption'; - } - function scopeValueEvaluate(node, options) { - var value = node.getAttribute('scope').toLowerCase(); - return options.values.indexOf(value) !== -1; - } - var scope_value_evaluate_default = scopeValueEvaluate; - function tdHasHeaderEvaluate(node) { - var badCells = []; - var cells = get_all_cells_default(node); - var tableGrid = to_grid_default(node); - cells.forEach(function(cell) { - if (has_content_default(cell) && is_data_cell_default(cell) && !label_default2(cell)) { - var hasHeaders = get_headers_default(cell, tableGrid).some(function(header) { - return header !== null && !!has_content_default(header); - }); - if (!hasHeaders) { - badCells.push(cell); - } - } - }); - if (badCells.length) { - this.relatedNodes(badCells); + if (_isComboboxPopup(virtualNode, { + popupRoles: [ 'listbox' ] + })) { return false; } return true; } - var td_has_header_evaluate_default = tdHasHeaderEvaluate; - function tdHeadersAttrEvaluate(node) { - var cells = []; - var reviewCells = []; - var badCells = []; - for (var rowIndex = 0; rowIndex < node.rows.length; rowIndex++) { - var row = node.rows[rowIndex]; - for (var cellIndex = 0; cellIndex < row.cells.length; cellIndex++) { - cells.push(row.cells[cellIndex]); - } - } - var ids = cells.reduce(function(ids2, cell) { - if (cell.getAttribute('id')) { - ids2.push(cell.getAttribute('id')); - } - return ids2; - }, []); - cells.forEach(function(cell) { - var isSelf = false; - var notOfTable = false; - if (!cell.hasAttribute('headers') || !_isVisibleToScreenReaders(cell)) { - return; - } - var headersAttr = cell.getAttribute('headers').trim(); - if (!headersAttr) { - return reviewCells.push(cell); - } - var headers = token_list_default(headersAttr); - if (headers.length !== 0) { - if (cell.getAttribute('id')) { - isSelf = headers.indexOf(cell.getAttribute('id').trim()) !== -1; - } - notOfTable = headers.some(function(header) { - return !ids.includes(header); - }); - if (isSelf || notOfTable) { - badCells.push(cell); - } - } - }); - if (badCells.length > 0) { - this.relatedNodes(badCells); + var no_naming_method_matches_default = noNamingMethodMatches; + function noEmptyRoleMatches(node, virtualNode) { + if (!virtualNode.hasAttr('role')) { return false; } - if (reviewCells.length) { - this.relatedNodes(reviewCells); - return void 0; + if (!virtualNode.attr('role').trim()) { + return false; } return true; } - var td_headers_attr_evaluate_default = tdHeadersAttrEvaluate; - function thHasDataCellsEvaluate(node) { - var cells = get_all_cells_default(node); - var checkResult = this; - var reffedHeaders = []; - cells.forEach(function(cell) { - var headers2 = cell.getAttribute('headers'); - if (headers2) { - reffedHeaders = reffedHeaders.concat(headers2.split(/\s+/)); - } - var ariaLabel = cell.getAttribute('aria-labelledby'); - if (ariaLabel) { - reffedHeaders = reffedHeaders.concat(ariaLabel.split(/\s+/)); - } - }); - var headers = cells.filter(function(cell) { - if (sanitize_default(cell.textContent) === '') { - return false; - } - return cell.nodeName.toUpperCase() === 'TH' || [ 'rowheader', 'columnheader' ].indexOf(cell.getAttribute('role')) !== -1; - }); - var tableGrid = to_grid_default(node); - var out = true; - headers.forEach(function(header) { - if (header.getAttribute('id') && reffedHeaders.includes(header.getAttribute('id'))) { - return; - } - var pos = get_cell_position_default(header, tableGrid); - var hasCell = false; - if (is_column_header_default(header)) { - hasCell = traverse_default('down', pos, tableGrid).find(function(cell) { - return !is_column_header_default(cell) && get_headers_default(cell, tableGrid).includes(header); - }); - } - if (!hasCell && is_row_header_default(header)) { - hasCell = traverse_default('right', pos, tableGrid).find(function(cell) { - return !is_row_header_default(cell) && get_headers_default(cell, tableGrid).includes(header); - }); - } - if (!hasCell) { - checkResult.relatedNodes(header); - } - out = out && hasCell; - }); - return out ? true : void 0; - } - var th_has_data_cells_evaluate_default = thHasDataCellsEvaluate; - function hiddenContentEvaluate(node, options, virtualNode) { - var allowlist = [ 'SCRIPT', 'HEAD', 'TITLE', 'NOSCRIPT', 'STYLE', 'TEMPLATE' ]; - if (!allowlist.includes(node.nodeName.toUpperCase()) && has_content_virtual_default(virtualNode)) { - var styles = window.getComputedStyle(node); - if (styles.getPropertyValue('display') === 'none') { - return void 0; - } else if (styles.getPropertyValue('visibility') === 'hidden') { - var parent = get_composed_parent_default(node); - var parentStyle = parent && window.getComputedStyle(parent); - if (!parentStyle || parentStyle.getPropertyValue('visibility') !== 'hidden') { - return void 0; - } - } + var no_empty_role_matches_default = noEmptyRoleMatches; + function noAutoplayAudioMatches(node) { + if (!node.currentSrc) { + return false; + } + if (node.hasAttribute('paused') || node.hasAttribute('muted')) { + return false; } return true; } - var hidden_content_evaluate_default = hiddenContentEvaluate; - function ariaAllowedAttrMatches(node, virtualNode) { - var aria = /^aria-/; - var attrs = virtualNode.attrNames; - if (attrs.length) { - for (var _i26 = 0, l = attrs.length; _i26 < l; _i26++) { - if (aria.test(attrs[_i26])) { - return true; - } - } + var no_autoplay_audio_matches_default = noAutoplayAudioMatches; + function nestedInteractiveMatches(node, virtualNode) { + var role = get_role_default(virtualNode); + if (!role) { + return false; } - return false; - } - var aria_allowed_attr_matches_default = ariaAllowedAttrMatches; - function ariaAllowedRoleMatches(node, virtualNode) { - return get_explicit_role_default(virtualNode, { - dpub: true, - fallback: true - }) !== null; - } - var aria_allowed_role_matches_default = ariaAllowedRoleMatches; - function ariaHasAttrMatches(node, virtualNode) { - var aria = /^aria-/; - return virtualNode.attrNames.some(function(attr) { - return aria.test(attr); - }); + return !!standards_default.ariaRoles[role].childrenPresentational; } - var aria_has_attr_matches_default = ariaHasAttrMatches; - function shouldMatchElement(el) { - if (!el) { - return true; + var nested_interactive_matches_default = nestedInteractiveMatches; + function linkInTextBlockMatches(node) { + var text = sanitize_default(node.innerText); + var role = node.getAttribute('role'); + if (role && role !== 'link') { + return false; } - if (el.getAttribute('aria-hidden') === 'true') { + if (!text) { return false; } - return shouldMatchElement(get_composed_parent_default(el)); + if (!_isVisibleOnScreen(node)) { + return false; + } + return is_in_text_block_default(node); } - function ariaHiddenFocusMatches(node) { - return shouldMatchElement(get_composed_parent_default(node)); + var link_in_text_block_matches_default = linkInTextBlockMatches; + function dataTableMatches(node) { + return !is_data_table_default(node) && !_isFocusable(node); } - var aria_hidden_focus_matches_default = ariaHiddenFocusMatches; - function ariaRequiredChildrenMatches(node, virtualNode) { - var role = get_explicit_role_default(virtualNode, { - dpub: true - }); - return !!required_owned_default(role); + var layout_table_matches_default = dataTableMatches; + function landmarkUniqueMatches(node, virtualNode) { + return isLandmarkVirtual(virtualNode) && _isVisibleToScreenReaders(virtualNode); } - var aria_required_children_matches_default = ariaRequiredChildrenMatches; - function ariaRequiredParentMatches(node, virtualNode) { - var role = get_explicit_role_default(virtualNode); - return !!required_context_default(role); + function isLandmarkVirtual(vNode) { + var landmarkRoles2 = get_aria_roles_by_type_default('landmark'); + var role = get_role_default(vNode); + if (!role) { + return false; + } + var nodeName2 = vNode.props.nodeName; + if (nodeName2 === 'section' || nodeName2 === 'form') { + var accessibleText2 = _accessibleTextVirtual(vNode); + return !!accessibleText2; + } + return landmarkRoles2.indexOf(role) >= 0 || role === 'region'; } - var aria_required_parent_matches_default = ariaRequiredParentMatches; - function autocompleteMatches(node, virtualNode) { - var autocomplete2 = virtualNode.attr('autocomplete'); - if (!autocomplete2 || sanitize_default(autocomplete2) === '') { + function landmarkHasBodyContextMatches(node, virtualNode) { + var nativeScopeFilter = 'article, aside, main, nav, section'; + return node.hasAttribute('role') || !find_up_virtual_default(virtualNode, nativeScopeFilter); + } + var landmark_has_body_context_matches_default = landmarkHasBodyContextMatches; + function labelMatches(node, virtualNode) { + if (virtualNode.props.nodeName !== 'input' || virtualNode.hasAttr('type') === false) { + return true; + } + var type2 = virtualNode.attr('type').toLowerCase(); + return [ 'hidden', 'image', 'button', 'submit', 'reset' ].includes(type2) === false; + } + var label_matches_default = labelMatches; + function labelContentNameMismatchMatches(node, virtualNode) { + var role = get_role_default(node); + if (!role) { return false; } - var nodeName2 = virtualNode.props.nodeName; - if ([ 'textarea', 'input', 'select' ].includes(nodeName2) === false) { + var widgetRoles = get_aria_roles_by_type_default('widget'); + var isWidgetType2 = widgetRoles.includes(role); + if (!isWidgetType2) { return false; } - var excludedInputTypes = [ 'submit', 'reset', 'button', 'hidden' ]; - if (nodeName2 === 'input' && excludedInputTypes.includes(virtualNode.props.type)) { + var rolesWithNameFromContents = get_aria_roles_supporting_name_from_content_default(); + if (!rolesWithNameFromContents.includes(role)) { return false; } - var ariaDisabled = virtualNode.attr('aria-disabled') || 'false'; - if (virtualNode.hasAttr('disabled') || ariaDisabled.toLowerCase() === 'true') { + if (!sanitize_default(_arialabelText(virtualNode)) && !sanitize_default(arialabelledby_text_default(node))) { return false; } - var role = virtualNode.attr('role'); - var tabIndex = virtualNode.attr('tabindex'); - if (tabIndex === '-1' && role) { - var roleDef = standards_default.ariaRoles[role]; - if (roleDef === void 0 || roleDef.type !== 'widget') { - return false; - } - } - if (tabIndex === '-1' && virtualNode.actualNode && !_isVisibleOnScreen(virtualNode) && !_isVisibleToScreenReaders(virtualNode)) { + if (!sanitize_default(visible_virtual_default(virtualNode))) { return false; } return true; } - var autocomplete_matches_default = autocompleteMatches; + var label_content_name_mismatch_matches_default = labelContentNameMismatchMatches; + function isVisibleOnScreenMatches(node, virtualNode) { + return _isVisibleOnScreen(virtualNode); + } + function hasVisibleTextMatches(node) { + return _isVisibleOnScreen(node); + } function isInitiatorMatches(node, virtualNode, context) { return context.initiator; } var is_initiator_matches_default = isInitiatorMatches; - function bypassMatches(node, virtualNode, context) { - if (is_initiator_matches_default(node, virtualNode, context)) { - return !!node.querySelector('a[href]'); + function insertedIntoFocusOrderMatches(node) { + return inserted_into_focus_order_default(node); + } + var inserted_into_focus_order_matches_default = insertedIntoFocusOrderMatches; + function identicalLinksSamePurposeMatches(node, virtualNode) { + var hasAccName = !!_accessibleTextVirtual(virtualNode); + if (!hasAccName) { + return false; + } + var role = get_role_default(node); + if (role && role !== 'link') { + return false; } return true; } - var bypass_matches_default = bypassMatches; + var identical_links_same_purpose_matches_default = identicalLinksSamePurposeMatches; + function htmlNamespaceMatches(node, virtualNode) { + return !svg_namespace_matches_default(node, virtualNode); + } + var html_namespace_matches_default = htmlNamespaceMatches; + function headingMatches(node, virtualNode) { + return get_role_default(virtualNode) === 'heading'; + } + function hasImplicitChromiumRoleMatches(node, virtualNode) { + return implicit_role_default(virtualNode, { + chromium: true + }) !== null; + } + var has_implicit_chromium_role_matches_default = hasImplicitChromiumRoleMatches; + function frameTitleHasTextMatches(node) { + var title = node.getAttribute('title'); + return !!sanitize_default(title); + } + var frame_title_has_text_matches_default = frameTitleHasTextMatches; + function frameFocusableContentMatches(node, virtualNode, context) { + var _context$size, _context$size2; + return !context.initiator && !context.focusable && ((_context$size = context.size) === null || _context$size === void 0 ? void 0 : _context$size.width) * ((_context$size2 = context.size) === null || _context$size2 === void 0 ? void 0 : _context$size2.height) > 1; + } + var frame_focusable_content_matches_default = frameFocusableContentMatches; + function duplicateIdMiscMatches(node) { + var id = node.getAttribute('id').trim(); + var idSelector = '*[id="'.concat(escape_selector_default(id), '"]'); + var idMatchingElms = Array.from(get_root_node_default2(node).querySelectorAll(idSelector)); + return !is_accessible_ref_default(node) && idMatchingElms.every(function(elm) { + return !_isFocusable(elm); + }); + } + var duplicate_id_misc_matches_default = duplicateIdMiscMatches; + function duplicateIdAriaMatches(node) { + return is_accessible_ref_default(node); + } + var duplicate_id_aria_matches_default = duplicateIdAriaMatches; + function duplicateIdActiveMatches(node) { + var id = node.getAttribute('id').trim(); + var idSelector = '*[id="'.concat(escape_selector_default(id), '"]'); + var idMatchingElms = Array.from(get_root_node_default2(node).querySelectorAll(idSelector)); + return !is_accessible_ref_default(node) && idMatchingElms.some(_isFocusable); + } + var duplicate_id_active_matches_default = duplicateIdActiveMatches; + function dataTableMatches2(node) { + return is_data_table_default(node); + } + var data_table_matches_default = dataTableMatches2; + function dataTableLargeMatches(node) { + if (is_data_table_default(node)) { + var tableArray = to_grid_default(node); + return tableArray.length >= 3 && tableArray[0].length >= 3 && tableArray[1].length >= 3 && tableArray[2].length >= 3; + } + return false; + } + var data_table_large_matches_default = dataTableLargeMatches; function colorContrastMatches(node, virtualNode) { - var _virtualNode$props = virtualNode.props, nodeName2 = _virtualNode$props.nodeName, inputType = _virtualNode$props.type; + var _virtualNode$props2 = virtualNode.props, nodeName2 = _virtualNode$props2.nodeName, inputType = _virtualNode$props2.type; if (nodeName2 === 'option') { return false; } @@ -21142,7 +27219,7 @@ if (nodeName2 === 'input' && nonTextInput.includes(inputType)) { return false; } - if (is_disabled_default(virtualNode)) { + if (is_disabled_default(virtualNode) || _isInert(virtualNode)) { return false; } var formElements = [ 'input', 'select', 'textarea' ]; @@ -21197,384 +27274,135 @@ if (ariaLabelledbyControls.length > 0 && ariaLabelledbyControls.every(is_disabled_default)) { return false; } - var visibleText = visible_virtual_default(virtualNode, false, true); - var removeUnicodeOptions = { - emoji: true, - nonBmp: false, - punctuations: true - }; - if (!visibleText || !remove_unicode_default(visibleText, removeUnicodeOptions)) { + if (!hasRealTextChildren(virtualNode)) { return false; } - var range = document.createRange(); + var range2 = document.createRange(); var childNodes = virtualNode.children; for (var index = 0; index < childNodes.length; index++) { var child = childNodes[index]; if (child.actualNode.nodeType === 3 && sanitize_default(child.actualNode.nodeValue) !== '') { - range.selectNodeContents(child.actualNode); + range2.selectNodeContents(child.actualNode); } } - var rects = range.getClientRects(); - for (var _index2 = 0; _index2 < rects.length; _index2++) { - if (visually_overlaps_default(rects[_index2], node)) { - return true; + var rects = Array.from(range2.getClientRects()); + var clippingAncestors = get_overflow_hidden_ancestors_default(virtualNode); + return rects.some(function(rect) { + var overlaps = visually_overlaps_default(rect, node); + if (!clippingAncestors.length) { + return overlaps; } - } - return false; - } - var color_contrast_matches_default = colorContrastMatches; - function dataTableLargeMatches(node) { - if (is_data_table_default(node)) { - var tableArray = to_grid_default(node); - return tableArray.length >= 3 && tableArray[0].length >= 3 && tableArray[1].length >= 3 && tableArray[2].length >= 3; - } - return false; - } - var data_table_large_matches_default = dataTableLargeMatches; - function dataTableMatches(node) { - return is_data_table_default(node); - } - var data_table_matches_default = dataTableMatches; - function duplicateIdActiveMatches(node) { - var id = node.getAttribute('id').trim(); - var idSelector = '*[id="'.concat(escape_selector_default(id), '"]'); - var idMatchingElms = Array.from(get_root_node_default2(node).querySelectorAll(idSelector)); - return !is_accessible_ref_default(node) && idMatchingElms.some(_isFocusable); - } - var duplicate_id_active_matches_default = duplicateIdActiveMatches; - function duplicateIdAriaMatches(node) { - return is_accessible_ref_default(node); - } - var duplicate_id_aria_matches_default = duplicateIdAriaMatches; - function duplicateIdMiscMatches(node) { - var id = node.getAttribute('id').trim(); - var idSelector = '*[id="'.concat(escape_selector_default(id), '"]'); - var idMatchingElms = Array.from(get_root_node_default2(node).querySelectorAll(idSelector)); - return !is_accessible_ref_default(node) && idMatchingElms.every(function(elm) { - return !_isFocusable(elm); + var withinOverflow = clippingAncestors.some(function(overflowNode) { + return _rectsOverlap(rect, overflowNode.boundingClientRect); + }); + return overlaps && withinOverflow; }); } - var duplicate_id_misc_matches_default = duplicateIdMiscMatches; - function frameFocusableContentMatches(node, virtualNode, context) { - var _context$size, _context$size2; - return !context.initiator && !context.focusable && ((_context$size = context.size) === null || _context$size === void 0 ? void 0 : _context$size.width) * ((_context$size2 = context.size) === null || _context$size2 === void 0 ? void 0 : _context$size2.height) > 1; - } - var frame_focusable_content_matches_default = frameFocusableContentMatches; - function frameTitleHasTextMatches(node) { - var title = node.getAttribute('title'); - return !!sanitize_default(title); - } - var frame_title_has_text_matches_default = frameTitleHasTextMatches; - function hasImplicitChromiumRoleMatches(node, virtualNode) { - return implicit_role_default(virtualNode, { - chromium: true - }) !== null; - } - var has_implicit_chromium_role_matches_default = hasImplicitChromiumRoleMatches; - function headingMatches(node, virtualNode) { - return get_role_default(virtualNode) === 'heading'; - } - function svgNamespaceMatches(node, virtualNode) { - try { - var nodeName2 = virtualNode.props.nodeName; - if (nodeName2 === 'svg') { - return true; - } - return !!closest_default(virtualNode, 'svg'); - } catch (e) { - return false; - } - } - var svg_namespace_matches_default = svgNamespaceMatches; - function htmlNamespaceMatches(node, virtualNode) { - return !svg_namespace_matches_default(node, virtualNode); - } - var html_namespace_matches_default = htmlNamespaceMatches; - function identicalLinksSamePurposeMatches(node, virtualNode) { - var hasAccName = !!accessible_text_virtual_default(virtualNode); - if (!hasAccName) { - return false; - } - var role = get_role_default(node); - if (role && role !== 'link') { - return false; - } - return true; - } - var identical_links_same_purpose_matches_default = identicalLinksSamePurposeMatches; - function insertedIntoFocusOrderMatches(node) { - return inserted_into_focus_order_default(node); - } - var inserted_into_focus_order_matches_default = insertedIntoFocusOrderMatches; - function hasVisibleTextMatches(node) { - return _isVisibleOnScreen(node); - } - function isVisibleOnScreenMatches(node, virtualNode) { - return _isVisibleOnScreen(virtualNode); - } - function labelContentNameMismatchMatches(node, virtualNode) { - var role = get_role_default(node); - if (!role) { - return false; - } - var widgetRoles = get_aria_roles_by_type_default('widget'); - var isWidgetType2 = widgetRoles.includes(role); - if (!isWidgetType2) { - return false; - } - var rolesWithNameFromContents = get_aria_roles_supporting_name_from_content_default(); - if (!rolesWithNameFromContents.includes(role)) { - return false; - } - if (!sanitize_default(arialabel_text_default(virtualNode)) && !sanitize_default(arialabelledby_text_default(node))) { - return false; - } - if (!sanitize_default(visible_virtual_default(virtualNode))) { - return false; - } - return true; - } - var label_content_name_mismatch_matches_default = labelContentNameMismatchMatches; - function labelMatches(node, virtualNode) { - if (virtualNode.props.nodeName !== 'input' || virtualNode.hasAttr('type') === false) { - return true; - } - var type = virtualNode.attr('type').toLowerCase(); - return [ 'hidden', 'image', 'button', 'submit', 'reset' ].includes(type) === false; - } - var label_matches_default = labelMatches; - function landmarkHasBodyContextMatches(node, virtualNode) { - var nativeScopeFilter = 'article, aside, main, nav, section'; - return node.hasAttribute('role') || !find_up_virtual_default(virtualNode, nativeScopeFilter); - } - var landmark_has_body_context_matches_default = landmarkHasBodyContextMatches; - function landmarkUniqueMatches(node, virtualNode) { - var excludedParentsForHeaderFooterLandmarks = [ 'article', 'aside', 'main', 'nav', 'section' ].join(','); - function isHeaderFooterLandmark(headerFooterElement) { - return !closest_default(headerFooterElement, excludedParentsForHeaderFooterLandmarks); - } - function isLandmarkVirtual(virtualNode2) { - var actualNode = virtualNode2.actualNode; - var landmarkRoles3 = get_aria_roles_by_type_default('landmark'); - var role = get_role_default(actualNode); - if (!role) { - return false; - } - var nodeName2 = actualNode.nodeName.toUpperCase(); - if (nodeName2 === 'HEADER' || nodeName2 === 'FOOTER') { - return isHeaderFooterLandmark(virtualNode2); - } - if (nodeName2 === 'SECTION' || nodeName2 === 'FORM') { - var accessibleText2 = accessible_text_virtual_default(virtualNode2); - return !!accessibleText2; - } - return landmarkRoles3.indexOf(role) >= 0 || role === 'region'; - } - return isLandmarkVirtual(virtualNode) && _isVisibleToScreenReaders(node); - } - var landmark_unique_matches_default = landmarkUniqueMatches; - function dataTableMatches2(node) { - return !is_data_table_default(node) && !_isFocusable(node); - } - var layout_table_matches_default = dataTableMatches2; - function linkInTextBlockMatches(node) { - var text = sanitize_default(node.innerText); - var role = node.getAttribute('role'); - if (role && role !== 'link') { - return false; - } - if (!text) { - return false; - } - if (!_isVisibleOnScreen(node)) { - return false; - } - return is_in_text_block_default(node); - } - var link_in_text_block_matches_default = linkInTextBlockMatches; - function nestedInteractiveMatches(node, virtualNode) { - var role = get_role_default(virtualNode); - if (!role) { + var color_contrast_matches_default = colorContrastMatches; + var removeUnicodeOptions = { + emoji: true, + nonBmp: false, + punctuations: true + }; + function hasRealTextChildren(virtualNode) { + var visibleText = visible_virtual_default(virtualNode, false, true); + if (visibleText === '' || remove_unicode_default(visibleText, removeUnicodeOptions) === '') { return false; } - return !!standards_default.ariaRoles[role].childrenPresentational; + return virtualNode.children.some(function(vChild) { + return vChild.props.nodeName === '#text' && !_isIconLigature(vChild); + }); } - var nested_interactive_matches_default = nestedInteractiveMatches; - function noAutoplayAudioMatches(node) { - if (!node.currentSrc) { - return false; - } - if (node.hasAttribute('paused') || node.hasAttribute('muted')) { - return false; + function bypassMatches(node, virtualNode, context) { + if (is_initiator_matches_default(node, virtualNode, context)) { + return !!node.querySelector('a[href]'); } return true; } - var no_autoplay_audio_matches_default = noAutoplayAudioMatches; - function noEmptyRoleMatches(node, virtualNode) { - if (!virtualNode.hasAttr('role')) { + var bypass_matches_default = bypassMatches; + function autocompleteMatches(node, virtualNode) { + var autocomplete2 = virtualNode.attr('autocomplete'); + if (!autocomplete2 || sanitize_default(autocomplete2) === '') { return false; } - if (!virtualNode.attr('role').trim()) { + var nodeName2 = virtualNode.props.nodeName; + if ([ 'textarea', 'input', 'select' ].includes(nodeName2) === false) { return false; } - return true; - } - var no_empty_role_matches_default = noEmptyRoleMatches; - function noExplicitNameRequired(node, virtualNode) { - var role = get_explicit_role_default(virtualNode); - if (!role || [ 'none', 'presentation' ].includes(role)) { - return true; - } - var _ref109 = aria_roles_default[role] || {}, accessibleNameRequired = _ref109.accessibleNameRequired; - if (accessibleNameRequired || _isFocusable(virtualNode)) { - return true; + var excludedInputTypes = [ 'submit', 'reset', 'button', 'hidden' ]; + if (nodeName2 === 'input' && excludedInputTypes.includes(virtualNode.props.type)) { + return false; } - return false; - } - var no_explicit_name_required_matches_default = noExplicitNameRequired; - function noNamingMethodMatches(node, virtualNode) { - var _get_element_spec_def3 = get_element_spec_default(virtualNode), namingMethods = _get_element_spec_def3.namingMethods; - if (namingMethods && namingMethods.length !== 0) { + var ariaDisabled = virtualNode.attr('aria-disabled') || 'false'; + if (virtualNode.hasAttr('disabled') || ariaDisabled.toLowerCase() === 'true') { return false; } - if (get_explicit_role_default(virtualNode) === 'combobox' && query_selector_all_default(virtualNode, 'input:not([type="hidden"])').length) { + var role = virtualNode.attr('role'); + var tabIndex = virtualNode.attr('tabindex'); + if (tabIndex === '-1' && role) { + var roleDef = standards_default.ariaRoles[role]; + if (roleDef === void 0 || roleDef.type !== 'widget') { + return false; + } + } + if (tabIndex === '-1' && virtualNode.actualNode && !_isVisibleOnScreen(virtualNode) && !_isVisibleToScreenReaders(virtualNode)) { return false; } return true; } - var no_naming_method_matches_default = noNamingMethodMatches; - function noNegativeTabindexMatches(node, virtualNode) { - var tabindex = parseInt(virtualNode.attr('tabindex'), 10); - return isNaN(tabindex) || tabindex >= 0; - } - var no_negative_tabindex_matches_default = noNegativeTabindexMatches; - function noRoleMatches(node, vNode) { - return !vNode.attr('role'); - } - var no_role_matches_default = noRoleMatches; - function notHtmlMatches(node, virtualNode) { - return virtualNode.props.nodeName !== 'html'; + var autocomplete_matches_default = autocompleteMatches; + function ariaRequiredParentMatches(node, virtualNode) { + var role = get_explicit_role_default(virtualNode); + return !!required_context_default(role); } - var not_html_matches_default = notHtmlMatches; - var object_is_loaded_matches_default = function object_is_loaded_matches_default(node, vNode) { - return [ no_explicit_name_required_matches_default, objectHasLoaded ].every(function(fn) { - return fn(node, vNode); + var aria_required_parent_matches_default = ariaRequiredParentMatches; + function ariaRequiredChildrenMatches(node, virtualNode) { + var role = get_explicit_role_default(virtualNode, { + dpub: true }); - }; - function objectHasLoaded(node) { - var _node$ownerDocument; - if (!(node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.createRange)) { + return !!required_owned_default(role); + } + var aria_required_children_matches_default = ariaRequiredChildrenMatches; + function shouldMatchElement(el) { + if (!el) { return true; } - var range = node.ownerDocument.createRange(); - range.setStart(node, 0); - range.setEnd(node, node.childNodes.length); - return range.getClientRects().length === 0; - } - function pAsHeadingMatches(node) { - var children = Array.from(node.parentNode.childNodes); - var nodeText = node.textContent.trim(); - var isSentence = /[.!?:;](?![.!?:;])/g; - if (nodeText.length === 0 || (nodeText.match(isSentence) || []).length >= 2) { + if (el.getAttribute('aria-hidden') === 'true') { return false; } - var siblingsAfter = children.slice(children.indexOf(node) + 1).filter(function(elm) { - return elm.nodeName.toUpperCase() === 'P' && elm.textContent.trim() !== ''; + return shouldMatchElement(get_composed_parent_default(el)); + } + function ariaHiddenFocusMatches(node) { + return shouldMatchElement(get_composed_parent_default(node)); + } + var aria_hidden_focus_matches_default = ariaHiddenFocusMatches; + function ariaHasAttrMatches(node, virtualNode) { + var aria = /^aria-/; + return virtualNode.attrNames.some(function(attr) { + return aria.test(attr); }); - return siblingsAfter.length !== 0; } - var p_as_heading_matches_default = pAsHeadingMatches; - function presentationRoleConflictMatches(node, virtualNode) { - return implicit_role_default(virtualNode, { - chromiumRoles: true + var aria_has_attr_matches_default = ariaHasAttrMatches; + function ariaAllowedRoleMatches(node, virtualNode) { + return get_explicit_role_default(virtualNode, { + dpub: true, + fallback: true }) !== null; } - var presentation_role_conflict_matches_default = presentationRoleConflictMatches; - function scrollableRegionFocusableMatches(node, virtualNode) { - if (!!_getScroll(node, 13) === false) { - return false; - } - var role = get_explicit_role_default(virtualNode); - if (aria_attrs_default['aria-haspopup'].values.includes(role)) { - if (closest_default(virtualNode, '[role~="combobox"]')) { - return false; - } - var id = virtualNode.attr('id'); - if (id) { - var doc = get_root_node_default(node); - var owned = Array.from(doc.querySelectorAll('[aria-owns~="'.concat(id, '"], [aria-controls~="').concat(id, '"]'))); - var comboboxOwned = owned.some(function(el) { - var roles = token_list_default(el.getAttribute('role')); - return roles.includes('combobox'); - }); - if (comboboxOwned) { - return false; + var aria_allowed_role_matches_default = ariaAllowedRoleMatches; + function ariaAllowedAttrMatches(node, virtualNode) { + var aria = /^aria-/; + var attrs = virtualNode.attrNames; + if (attrs.length) { + for (var _i43 = 0, l = attrs.length; _i43 < l; _i43++) { + if (aria.test(attrs[_i43])) { + return true; } } } - var nodeAndDescendents = query_selector_all_default(virtualNode, '*'); - var hasVisibleChildren = nodeAndDescendents.some(function(elm) { - return has_content_virtual_default(elm, true, true); - }); - if (!hasVisibleChildren) { - return false; - } - return true; - } - var scrollable_region_focusable_matches_default = scrollableRegionFocusableMatches; - function skipLinkMatches(node) { - return _isSkipLink(node) && is_offscreen_default(node); - } - var skip_link_matches_default = skipLinkMatches; - function tableOrGridRoleMatches(_, vNode) { - var role = get_role_default(vNode); - return [ 'treegrid', 'grid', 'table' ].includes(role); - } - function widgetNotInline(node, vNode) { - return matchesFns.every(function(fn) { - return fn(node, vNode); - }); - } - var matchesFns = [ function(node, vNode) { - return isWidgetType(vNode); - }, function(node, vNode) { - return isNotAreaElement(vNode); - }, function(node, vNode) { - return !svg_namespace_matches_default(node, vNode); - }, function(node, vNode) { - return _isFocusable(vNode); - }, function(node, vNode) { - return _isInTabOrder(vNode) || !hasWidgetAncestorInTabOrder(vNode); - }, function(node) { - return !is_in_text_block_default(node, { - noLengthCompare: true - }); - } ]; - function isWidgetType(vNode) { - return get_role_type_default(vNode) === 'widget'; - } - function isNotAreaElement(vNode) { - return vNode.props.nodeName !== 'area'; - } - var hasWidgetAncestorInTabOrder = memoize_default(function hasWidgetAncestorInTabOrderMemoized(vNode) { - if (!(vNode !== null && vNode !== void 0 && vNode.parent)) { - return false; - } - if (isWidgetType(vNode.parent) && _isInTabOrder(vNode.parent)) { - return true; - } - return hasWidgetAncestorInTabOrderMemoized(vNode.parent); - }); - function windowIsTopMatches(node) { - return node.ownerDocument.defaultView.self === node.ownerDocument.defaultView.top; - } - var window_is_top_matches_default = windowIsTopMatches; - function xmlLangMismatchMatches(node) { - var primaryLangValue = get_base_lang_default(node.getAttribute('lang')); - var primaryXmlLangValue = get_base_lang_default(node.getAttribute('xml:lang')); - return valid_langs_default(primaryLangValue) && valid_langs_default(primaryXmlLangValue); + return false; } - var xml_lang_mismatch_matches_default = xmlLangMismatchMatches; + var aria_allowed_attr_matches_default = ariaAllowedAttrMatches; var metadataFunctionMap = { 'abstractrole-evaluate': abstractrole_evaluate_default, 'accesskeys-after': accesskeys_after_default, @@ -21585,7 +27413,10 @@ 'aria-allowed-role-evaluate': aria_allowed_role_evaluate_default, 'aria-allowed-role-matches': aria_allowed_role_matches_default, 'aria-busy-evaluate': ariaBusyEvaluate, - 'aria-errormessage-evaluate': aria_errormessage_evaluate_default, + 'aria-conditional-attr-evaluate': ariaConditionalAttrEvaluate, + 'aria-conditional-checkbox-attr-evaluate': ariaConditionalCheckboxAttr, + 'aria-conditional-row-attr-evaluate': ariaConditionalRowAttr, + 'aria-errormessage-evaluate': ariaErrormessageEvaluate, 'aria-has-attr-matches': aria_has_attr_matches_default, 'aria-hidden-body-evaluate': aria_hidden_body_evaluate_default, 'aria-hidden-focus-matches': aria_hidden_focus_matches_default, @@ -21594,7 +27425,7 @@ 'aria-level-evaluate': aria_level_evaluate_default, 'aria-prohibited-attr-evaluate': ariaProhibitedAttrEvaluate, 'aria-required-attr-evaluate': ariaRequiredAttrEvaluate, - 'aria-required-children-evaluate': aria_required_children_evaluate_default, + 'aria-required-children-evaluate': ariaRequiredChildrenEvaluate, 'aria-required-children-matches': aria_required_children_matches_default, 'aria-required-parent-evaluate': aria_required_parent_evaluate_default, 'aria-required-parent-matches': aria_required_parent_matches_default, @@ -21607,6 +27438,8 @@ 'autocomplete-matches': autocomplete_matches_default, 'autocomplete-valid-evaluate': autocomplete_valid_evaluate_default, 'avoid-inline-spacing-evaluate': avoid_inline_spacing_evaluate_default, + 'braille-label-equivalent-evaluate': brailleLabelEquivalentEvaluate, + 'braille-roledescription-equivalent-evaluate': brailleRoleDescriptionEquivalentEvaluate, 'bypass-matches': bypass_matches_default, 'caption-evaluate': caption_evaluate_default, 'caption-faked-evaluate': caption_faked_evaluate_default, @@ -21675,11 +27508,11 @@ 'landmark-is-top-level-evaluate': landmark_is_top_level_evaluate_default, 'landmark-is-unique-after': landmark_is_unique_after_default, 'landmark-is-unique-evaluate': landmark_is_unique_evaluate_default, - 'landmark-unique-matches': landmark_unique_matches_default, + 'landmark-unique-matches': landmarkUniqueMatches, 'layout-table-matches': layout_table_matches_default, 'link-in-text-block-evaluate': link_in_text_block_evaluate_default, 'link-in-text-block-matches': link_in_text_block_matches_default, - 'link-in-text-block-style-evaluate': link_in_text_block_style_evaluate_default, + 'link-in-text-block-style-evaluate': linkInTextBlockStyleEvaluate, 'listitem-evaluate': listitemEvaluate, 'matches-definition-evaluate': matches_definition_evaluate_default, 'meta-refresh-evaluate': metaRefreshEvaluate, @@ -21698,7 +27531,7 @@ 'non-empty-if-present-evaluate': non_empty_if_present_evaluate_default, 'not-html-matches': not_html_matches_default, 'object-is-loaded-matches': object_is_loaded_matches_default, - 'only-dlitems-evaluate': only_dlitems_evaluate_default, + 'only-dlitems-evaluate': onlyDlitemsEvaluate, 'only-listitems-evaluate': only_listitems_evaluate_default, 'p-as-heading-evaluate': p_as_heading_evaluate_default, 'p-as-heading-matches': p_as_heading_matches_default, @@ -21710,18 +27543,19 @@ 'region-evaluate': regionEvaluate, 'same-caption-summary-evaluate': same_caption_summary_evaluate_default, 'scope-value-evaluate': scope_value_evaluate_default, - 'scrollable-region-focusable-matches': scrollable_region_focusable_matches_default, + 'scrollable-region-focusable-matches': scrollableRegionFocusableMatches, 'skip-link-evaluate': skip_link_evaluate_default, 'skip-link-matches': skip_link_matches_default, 'structured-dlitems-evaluate': structured_dlitems_evaluate_default, + 'summary-interactive-matches': summaryIsInteractiveMatches, 'svg-namespace-matches': svg_namespace_matches_default, 'svg-non-empty-title-evaluate': svg_non_empty_title_evaluate_default, 'tabindex-evaluate': tabindex_evaluate_default, 'table-or-grid-role-matches': tableOrGridRoleMatches, 'target-offset-evaluate': targetOffsetEvaluate, - 'target-size-evaluate': targetSize, + 'target-size-evaluate': targetSizeEvaluate, 'td-has-header-evaluate': td_has_header_evaluate_default, - 'td-headers-attr-evaluate': td_headers_attr_evaluate_default, + 'td-headers-attr-evaluate': tdHeadersAttrEvaluate, 'th-has-data-cells-evaluate': th_has_data_cells_evaluate_default, 'title-only-evaluate': title_only_evaluate_default, 'unique-frame-title-after': unique_frame_title_after_default, @@ -21782,7 +27616,7 @@ result = this.evaluate.call(helper, node.actualNode, checkOptions, node, context); } catch (e) { if (node && node.actualNode) { - e.errorNode = new dq_element_default(node).toJSON(); + e.errorNode = node_serializer_default.toSpec(node); } reject(e); return; @@ -21797,7 +27631,7 @@ }; Check.prototype.runSync = function runSync(node, options, context) { options = options || {}; - var _options = options, _options$enabled = _options.enabled, enabled = _options$enabled === void 0 ? this.enabled : _options$enabled; + var _options3 = options, _options3$enabled = _options3.enabled, enabled = _options3$enabled === void 0 ? this.enabled : _options3$enabled; if (!enabled) { return null; } @@ -21812,7 +27646,7 @@ result = this.evaluate.call(helper, node.actualNode, checkOptions, node, context); } catch (e) { if (node && node.actualNode) { - e.errorNode = new dq_element_default(node).toJSON(); + e.errorNode = node_serializer_default.toSpec(node); } throw e; } @@ -21820,7 +27654,7 @@ return checkResult; }; Check.prototype.configure = function configure2(spec) { - var _this5 = this; + var _this8 = this; if (!spec.evaluate || metadata_function_map_default[spec.evaluate]) { this._internalCheck = true; } @@ -21837,7 +27671,7 @@ [ 'evaluate', 'after' ].filter(function(prop) { return spec.hasOwnProperty(prop); }).forEach(function(prop) { - return _this5[prop] = createExecutionContext(spec[prop]); + return _this8[prop] = createExecutionContext(spec[prop]); }); }; Check.prototype.getOptions = function getOptions(options) { @@ -21909,11 +27743,11 @@ } return elements; }; - Rule.prototype.runChecks = function runChecks(type, node, options, context, resolve, reject) { + Rule.prototype.runChecks = function runChecks(type2, node, options, context, resolve, reject) { var self2 = this; var checkQueue = queue_default(); - this[type].forEach(function(c) { - var check = self2._audit.checks[c.id || c]; + this[type2].forEach(function(c4) { + var check = self2._audit.checks[c4.id || c4]; var option = get_check_option_default(check, self2.id, options); checkQueue.defer(function(res, rej) { check.run(node, option, context, res, rej); @@ -21924,16 +27758,16 @@ return check; }); resolve({ - type: type, + type: type2, results: results }); })['catch'](reject); }; - Rule.prototype.runChecksSync = function runChecksSync(type, node, options, context) { + Rule.prototype.runChecksSync = function runChecksSync(type2, node, options, context) { var self2 = this; var results = []; - this[type].forEach(function(c) { - var check = self2._audit.checks[c.id || c]; + this[type2].forEach(function(c4) { + var check = self2._audit.checks[c4.id || c4]; var option = get_check_option_default(check, self2.id, options); results.push(check.runSync(node, option, context)); }); @@ -21941,12 +27775,12 @@ return check; }); return { - type: type, + type: type2, results: results }; }; Rule.prototype.run = function run2(context) { - var _this6 = this; + var _this9 = this; var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var resolve = arguments.length > 2 ? arguments[2] : undefined; var reject = arguments.length > 3 ? arguments[3] : undefined; @@ -21971,19 +27805,19 @@ nodes.forEach(function(node) { q.defer(function(resolveNode, rejectNode) { var checkQueue = queue_default(); - [ 'any', 'all', 'none' ].forEach(function(type) { + [ 'any', 'all', 'none' ].forEach(function(type2) { checkQueue.defer(function(res, rej) { - _this6.runChecks(type, node, options, context, res, rej); + _this9.runChecks(type2, node, options, context, res, rej); }); }); checkQueue.then(function(results) { var result = getResult(results); if (result) { - result.node = new dq_element_default(node, options); + result.node = new dq_element_default(node); ruleResult.nodes.push(result); - if (_this6.reviewOnFail) { - [ 'any', 'all' ].forEach(function(type) { - result[type].forEach(function(checkResult) { + if (_this9.reviewOnFail) { + [ 'any', 'all' ].forEach(function(type2) { + result[type2].forEach(function(checkResult) { if (checkResult.result === false) { checkResult.result = void 0; } @@ -22002,8 +27836,8 @@ }); }); }); - q.defer(function(resolve2) { - return setTimeout(resolve2, 0); + q.defer(function(res) { + return setTimeout(res, 0); }); if (options.performanceTimer) { this._logRulePerformance(); @@ -22015,7 +27849,7 @@ }); }; Rule.prototype.runSync = function runSync2(context) { - var _this7 = this; + var _this10 = this; var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; if (options.performanceTimer) { this._trackPerformance(); @@ -22035,16 +27869,16 @@ } nodes.forEach(function(node) { var results = []; - [ 'any', 'all', 'none' ].forEach(function(type) { - results.push(_this7.runChecksSync(type, node, options, context)); + [ 'any', 'all', 'none' ].forEach(function(type2) { + results.push(_this10.runChecksSync(type2, node, options, context)); }); var result = getResult(results); if (result) { - result.node = node.actualNode ? new dq_element_default(node, options) : null; + result.node = node.actualNode ? new dq_element_default(node) : null; ruleResult.nodes.push(result); - if (_this7.reviewOnFail) { - [ 'any', 'all' ].forEach(function(type) { - result[type].forEach(function(checkResult) { + if (_this10.reviewOnFail) { + [ 'any', 'all' ].forEach(function(type2) { + result[type2].forEach(function(checkResult) { if (checkResult.result === false) { checkResult.result = void 0; } @@ -22084,8 +27918,8 @@ var hasResults = false; var result = {}; results.forEach(function(r) { - var res = r.results.filter(function(result2) { - return result2; + var res = r.results.filter(function(_result) { + return _result; }); result[r.type] = res; if (res.length) { @@ -22099,7 +27933,7 @@ } } Rule.prototype.gatherAndMatchNodes = function gatherAndMatchNodes(context, options) { - var _this8 = this; + var _this11 = this; var markMatchesStart = 'mark_matches_start_' + this.id; var markMatchesEnd = 'mark_matches_end_' + this.id; var nodes = this.gather(context, options); @@ -22107,7 +27941,7 @@ performance_timer_default.mark(markMatchesStart); } nodes = nodes.filter(function(node) { - return _this8.matches(node.actualNode, node, context); + return _this11.matches(node.actualNode, node, context); }); if (options.performanceTimer) { performance_timer_default.mark(markMatchesEnd); @@ -22116,8 +27950,8 @@ return nodes; }; function findAfterChecks(rule) { - return get_all_checks_default(rule).map(function(c) { - var check = rule._audit.checks[c.id || c]; + return get_all_checks_default(rule).map(function(c4) { + var check = rule._audit.checks[c4.id || c4]; return check && typeof check.after === 'function' ? check : null; }).filter(Boolean); } @@ -22143,36 +27977,36 @@ var checkTypes2 = [ 'any', 'all', 'none' ]; var nodes = result.nodes.filter(function(detail) { var length = 0; - checkTypes2.forEach(function(type) { - detail[type] = filterChecks(detail[type]); - length += detail[type].length; + checkTypes2.forEach(function(type2) { + detail[type2] = filterChecks(detail[type2]); + length += detail[type2].length; }); return length > 0; }); if (result.pageLevel && nodes.length) { - nodes = [ nodes.reduce(function(a, b) { - if (a) { - checkTypes2.forEach(function(type) { - a[type].push.apply(a[type], b[type]); + nodes = [ nodes.reduce(function(a2, b2) { + if (a2) { + checkTypes2.forEach(function(type2) { + a2[type2].push.apply(a2[type2], b2[type2]); }); - return a; + return a2; } }) ]; } return nodes; } Rule.prototype.after = function after(result, options) { - var _this9 = this; + var _this12 = this; var afterChecks = findAfterChecks(this); var ruleID = this.id; afterChecks.forEach(function(check) { var beforeResults = findCheckResults(result.nodes, check.id); - var option = get_check_option_default(check, ruleID, options); - var afterResults = check.after(beforeResults, option); - if (_this9.reviewOnFail) { + var checkOption = get_check_option_default(check, ruleID, options); + var afterResults = check.after(beforeResults, checkOption.options); + if (_this12.reviewOnFail) { afterResults.forEach(function(checkResult) { - var changeAnyAllResults = (_this9.any.includes(checkResult.id) || _this9.all.includes(checkResult.id)) && checkResult.result === false; - var changeNoneResult = _this9.none.includes(checkResult.id) && checkResult.result === true; + var changeAnyAllResults = (_this12.any.includes(checkResult.id) || _this12.all.includes(checkResult.id)) && checkResult.result === false; + var changeNoneResult = _this12.none.includes(checkResult.id) && checkResult.result === true; if (changeAnyAllResults || changeNoneResult) { checkResult.result = void 0; } @@ -22201,115 +28035,34 @@ if (spec.hasOwnProperty('pageLevel')) { this.pageLevel = typeof spec.pageLevel === 'boolean' ? spec.pageLevel : false; } - if (spec.hasOwnProperty('reviewOnFail')) { - this.reviewOnFail = typeof spec.reviewOnFail === 'boolean' ? spec.reviewOnFail : false; - } - if (spec.hasOwnProperty('any')) { - this.any = spec.any; - } - if (spec.hasOwnProperty('all')) { - this.all = spec.all; - } - if (spec.hasOwnProperty('none')) { - this.none = spec.none; - } - if (spec.hasOwnProperty('tags')) { - this.tags = spec.tags; - } - if (spec.hasOwnProperty('actIds')) { - this.actIds = spec.actIds; - } - if (spec.hasOwnProperty('matches')) { - this.matches = createExecutionContext(spec.matches); - } - if (spec.impact) { - assert_default(constants_default.impact.includes(spec.impact), 'Impact '.concat(spec.impact, ' is not a valid impact')); - this.impact = spec.impact; - } - }; - var rule_default = Rule; - var import_dot2 = __toModule(require_doT()); - var dotRegex = /\{\{.+?\}\}/g; - function getDefaultOrigin() { - if (window.origin) { - return window.origin; - } - if (window.location && window.location.origin) { - return window.location.origin; - } - } - function getDefaultConfiguration(audit) { - var config; - if (audit) { - config = clone_default(audit); - config.commons = audit.commons; - } else { - config = {}; - } - config.reporter = config.reporter || null; - config.noHtml = config.noHtml || false; - if (!config.allowedOrigins) { - var defaultOrigin = getDefaultOrigin(); - config.allowedOrigins = defaultOrigin ? [ defaultOrigin ] : []; - } - config.rules = config.rules || []; - config.checks = config.checks || []; - config.data = _extends({ - checks: {}, - rules: {} - }, config.data); - return config; - } - function unpackToObject(collection, audit, method) { - var i, l; - for (i = 0, l = collection.length; i < l; i++) { - audit[method](collection[i]); - } - } - var mergeCheckLocale = function mergeCheckLocale(a, b) { - var pass = b.pass, fail = b.fail; - if (typeof pass === 'string' && dotRegex.test(pass)) { - pass = import_dot2['default'].compile(pass); + if (spec.hasOwnProperty('reviewOnFail')) { + this.reviewOnFail = typeof spec.reviewOnFail === 'boolean' ? spec.reviewOnFail : false; } - if (typeof fail === 'string' && dotRegex.test(fail)) { - fail = import_dot2['default'].compile(fail); + if (spec.hasOwnProperty('any')) { + this.any = spec.any; } - return _extends({}, a, { - messages: { - pass: pass || a.messages.pass, - fail: fail || a.messages.fail, - incomplete: _typeof(a.messages.incomplete) === 'object' ? _extends({}, a.messages.incomplete, b.incomplete) : b.incomplete - } - }); - }; - var mergeRuleLocale = function mergeRuleLocale(a, b) { - var help = b.help, description = b.description; - if (typeof help === 'string' && dotRegex.test(help)) { - help = import_dot2['default'].compile(help); + if (spec.hasOwnProperty('all')) { + this.all = spec.all; } - if (typeof description === 'string' && dotRegex.test(description)) { - description = import_dot2['default'].compile(description); + if (spec.hasOwnProperty('none')) { + this.none = spec.none; } - return _extends({}, a, { - help: help || a.help, - description: description || a.description - }); - }; - var mergeFailureMessage = function mergeFailureMessage(a, b) { - var failureMessage = b.failureMessage; - if (typeof failureMessage === 'string' && dotRegex.test(failureMessage)) { - failureMessage = import_dot2['default'].compile(failureMessage); + if (spec.hasOwnProperty('tags')) { + this.tags = spec.tags; } - return _extends({}, a, { - failureMessage: failureMessage || a.failureMessage - }); - }; - var mergeFallbackMessage = function mergeFallbackMessage(a, b) { - if (typeof b === 'string' && dotRegex.test(b)) { - b = import_dot2['default'].compile(b); + if (spec.hasOwnProperty('actIds')) { + this.actIds = spec.actIds; + } + if (spec.hasOwnProperty('matches')) { + this.matches = createExecutionContext(spec.matches); + } + if (spec.impact) { + assert_default(constants_default.impact.includes(spec.impact), 'Impact '.concat(spec.impact, ' is not a valid impact')); + this.impact = spec.impact; } - return b || a; }; + var import_dot2 = __toModule(require_doT()); + var dotRegex = /\{\{.+?\}\}/g; var Audit = function() { function Audit(audit) { _classCallCheck(this, Audit); @@ -22319,7 +28072,7 @@ this._init(); this._defaultLocale = null; } - _createClass(Audit, [ { + return _createClass(Audit, [ { key: '_setDefaultLocale', value: function _setDefaultLocale() { if (this._defaultLocale) { @@ -22333,32 +28086,32 @@ lang: this.lang }; var checkIDs = Object.keys(this.data.checks); - for (var _i27 = 0; _i27 < checkIDs.length; _i27++) { - var id = checkIDs[_i27]; - var check = this.data.checks[id]; + for (var _i44 = 0; _i44 < checkIDs.length; _i44++) { + var _id6 = checkIDs[_i44]; + var check = this.data.checks[_id6]; var _check$messages = check.messages, pass = _check$messages.pass, fail = _check$messages.fail, incomplete = _check$messages.incomplete; - locale.checks[id] = { + locale.checks[_id6] = { pass: pass, fail: fail, incomplete: incomplete }; } var ruleIDs = Object.keys(this.data.rules); - for (var _i28 = 0; _i28 < ruleIDs.length; _i28++) { - var _id = ruleIDs[_i28]; - var rule = this.data.rules[_id]; + for (var _i45 = 0; _i45 < ruleIDs.length; _i45++) { + var _id7 = ruleIDs[_i45]; + var rule = this.data.rules[_id7]; var description = rule.description, help = rule.help; - locale.rules[_id] = { + locale.rules[_id7] = { description: description, help: help }; } var failureSummaries = Object.keys(this.data.failureSummaries); - for (var _i29 = 0; _i29 < failureSummaries.length; _i29++) { - var type = failureSummaries[_i29]; - var failureSummary2 = this.data.failureSummaries[type]; + for (var _i46 = 0; _i46 < failureSummaries.length; _i46++) { + var type2 = failureSummaries[_i46]; + var failureSummary2 = this.data.failureSummaries[type2]; var failureMessage = failureSummary2.failureMessage; - locale.failureSummaries[type] = { + locale.failureSummaries[type2] = { failureMessage: failureMessage }; } @@ -22378,36 +28131,36 @@ key: '_applyCheckLocale', value: function _applyCheckLocale(checks) { var keys = Object.keys(checks); - for (var _i30 = 0; _i30 < keys.length; _i30++) { - var id = keys[_i30]; - if (!this.data.checks[id]) { - throw new Error('Locale provided for unknown check: "'.concat(id, '"')); + for (var _i47 = 0; _i47 < keys.length; _i47++) { + var _id8 = keys[_i47]; + if (!this.data.checks[_id8]) { + throw new Error('Locale provided for unknown check: "'.concat(_id8, '"')); } - this.data.checks[id] = mergeCheckLocale(this.data.checks[id], checks[id]); + this.data.checks[_id8] = mergeCheckLocale(this.data.checks[_id8], checks[_id8]); } } }, { key: '_applyRuleLocale', value: function _applyRuleLocale(rules) { var keys = Object.keys(rules); - for (var _i31 = 0; _i31 < keys.length; _i31++) { - var id = keys[_i31]; - if (!this.data.rules[id]) { - throw new Error('Locale provided for unknown rule: "'.concat(id, '"')); + for (var _i48 = 0; _i48 < keys.length; _i48++) { + var _id9 = keys[_i48]; + if (!this.data.rules[_id9]) { + throw new Error('Locale provided for unknown rule: "'.concat(_id9, '"')); } - this.data.rules[id] = mergeRuleLocale(this.data.rules[id], rules[id]); + this.data.rules[_id9] = mergeRuleLocale(this.data.rules[_id9], rules[_id9]); } } }, { key: '_applyFailureSummaries', value: function _applyFailureSummaries(messages) { var keys = Object.keys(messages); - for (var _i32 = 0; _i32 < keys.length; _i32++) { - var key = keys[_i32]; - if (!this.data.failureSummaries[key]) { - throw new Error('Locale provided for unknown failureMessage: "'.concat(key, '"')); + for (var _i49 = 0; _i49 < keys.length; _i49++) { + var _key8 = keys[_i49]; + if (!this.data.failureSummaries[_key8]) { + throw new Error('Locale provided for unknown failureMessage: "'.concat(_key8, '"')); } - this.data.failureSummaries[key] = mergeFailureMessage(this.data.failureSummaries[key], messages[key]); + this.data.failureSummaries[_key8] = mergeFailureMessage(this.data.failureSummaries[_key8], messages[_key8]); } } }, { @@ -22435,10 +28188,10 @@ value: function setAllowedOrigins(allowedOrigins) { var defaultOrigin = getDefaultOrigin(); this.allowedOrigins = []; - var _iterator11 = _createForOfIteratorHelper(allowedOrigins), _step11; + var _iterator22 = _createForOfIteratorHelper(allowedOrigins), _step22; try { - for (_iterator11.s(); !(_step11 = _iterator11.n()).done; ) { - var origin = _step11.value; + for (_iterator22.s(); !(_step22 = _iterator22.n()).done; ) { + var origin = _step22.value; if (origin === constants_default.allOrigins) { this.allowedOrigins = [ '*' ]; return; @@ -22449,9 +28202,9 @@ } } } catch (err) { - _iterator11.e(err); + _iterator22.e(err); } finally { - _iterator11.f(); + _iterator22.f(); } } }, { @@ -22465,7 +28218,7 @@ this.checks = {}; this.brand = 'axe'; this.application = 'axeAPI'; - this.tagExclude = [ 'experimental' ]; + this.tagExclude = [ 'experimental', 'deprecated' ]; this.noHtml = audit.noHtml; this.allowedOrigins = audit.allowedOrigins; unpackToObject(audit.rules, this, 'addRule'); @@ -22492,7 +28245,7 @@ if (rule) { rule.configure(spec); } else { - this.rules.push(new rule_default(spec, this)); + this.rules.push(new Rule(spec, this)); } } }, { @@ -22521,6 +28274,7 @@ key: 'run', value: function run(context, options, resolve, reject) { this.normalizeOptions(options); + dq_element_default.setRunOptions(options); axe._selectCache = []; var allRulesToRun = getRulesToRun(this.rules, context, options); var runNowRules = allRulesToRun.now; @@ -22531,12 +28285,12 @@ }); var preloaderQueue = queue_default(); if (runLaterRules.length) { - preloaderQueue.defer(function(resolve2) { - preload_default(options).then(function(assets) { - return resolve2(assets); + preloaderQueue.defer(function(res) { + _preload(options).then(function(assets) { + return res(assets); })['catch'](function(err2) { console.warn('Couldn\'t load preload assets: ', err2); - resolve2(void 0); + res(void 0); }); }); } @@ -22688,16 +28442,16 @@ }, { key: '_constructHelpUrls', value: function _constructHelpUrls() { - var _this10 = this; + var _this13 = this; var previous = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; var version = (axe.version.match(/^[1-9][0-9]*\.[0-9]+/) || [ 'x.y' ])[0]; this.rules.forEach(function(rule) { - if (!_this10.data.rules[rule.id]) { - _this10.data.rules[rule.id] = {}; + if (!_this13.data.rules[rule.id]) { + _this13.data.rules[rule.id] = {}; } - var metaData = _this10.data.rules[rule.id]; + var metaData = _this13.data.rules[rule.id]; if (typeof metaData.helpUrl !== 'string' || previous && metaData.helpUrl === getHelpUrl(previous, rule.id, version)) { - metaData.helpUrl = getHelpUrl(_this10, rule.id, version); + metaData.helpUrl = getHelpUrl(_this13, rule.id, version); } }); } @@ -22708,8 +28462,88 @@ this._resetLocale(); } } ]); - return Audit; }(); + var audit_default = Audit; + function getDefaultOrigin() { + if (window.origin && window.origin !== 'null') { + return window.origin; + } + if (window.location && window.location.origin && window.location.origin !== 'null') { + return window.location.origin; + } + } + function getDefaultConfiguration(audit) { + var config; + if (audit) { + config = _clone(audit); + config.commons = audit.commons; + } else { + config = {}; + } + config.reporter = config.reporter || null; + config.noHtml = config.noHtml || false; + if (!config.allowedOrigins) { + var defaultOrigin = getDefaultOrigin(); + config.allowedOrigins = defaultOrigin ? [ defaultOrigin ] : []; + } + config.rules = config.rules || []; + config.checks = config.checks || []; + config.data = _extends({ + checks: {}, + rules: {} + }, config.data); + return config; + } + function unpackToObject(collection, audit, method) { + var i, l; + for (i = 0, l = collection.length; i < l; i++) { + audit[method](collection[i]); + } + } + var mergeCheckLocale = function mergeCheckLocale(a2, b2) { + var pass = b2.pass, fail = b2.fail; + if (typeof pass === 'string' && dotRegex.test(pass)) { + pass = import_dot2['default'].compile(pass); + } + if (typeof fail === 'string' && dotRegex.test(fail)) { + fail = import_dot2['default'].compile(fail); + } + return _extends({}, a2, { + messages: { + pass: pass || a2.messages.pass, + fail: fail || a2.messages.fail, + incomplete: _typeof(a2.messages.incomplete) === 'object' ? _extends({}, a2.messages.incomplete, b2.incomplete) : b2.incomplete + } + }); + }; + var mergeRuleLocale = function mergeRuleLocale(a2, b2) { + var help = b2.help, description = b2.description; + if (typeof help === 'string' && dotRegex.test(help)) { + help = import_dot2['default'].compile(help); + } + if (typeof description === 'string' && dotRegex.test(description)) { + description = import_dot2['default'].compile(description); + } + return _extends({}, a2, { + help: help || a2.help, + description: description || a2.description + }); + }; + var mergeFailureMessage = function mergeFailureMessage(a2, b2) { + var failureMessage = b2.failureMessage; + if (typeof failureMessage === 'string' && dotRegex.test(failureMessage)) { + failureMessage = import_dot2['default'].compile(failureMessage); + } + return _extends({}, a2, { + failureMessage: failureMessage || a2.failureMessage + }); + }; + var mergeFallbackMessage = function mergeFallbackMessage(a2, b2) { + if (typeof b2 === 'string' && dotRegex.test(b2)) { + b2 = import_dot2['default'].compile(b2); + } + return b2 || a2; + }; function getRulesToRun(rules, context, options) { var base = { now: [], @@ -22752,11 +28586,10 @@ }); }; } - function getHelpUrl(_ref110, ruleId, version) { - var brand = _ref110.brand, application = _ref110.application, lang = _ref110.lang; + function getHelpUrl(_ref142, ruleId, version) { + var brand = _ref142.brand, application = _ref142.application, lang = _ref142.lang; return constants_default.helpUrlBase + brand + '/' + (version || axe.version.substring(0, axe.version.lastIndexOf('.'))) + '/' + ruleId + '?application=' + encodeURIComponent(application) + (lang && lang !== 'en' ? '&lang=' + encodeURIComponent(lang) : ''); } - var audit_default = Audit; function setupGlobals(context) { var hasWindow = window && 'Node' in window && 'NodeList' in window; var hasDoc = !!document; @@ -22818,20 +28651,28 @@ q.defer(function(res, rej) { audit.run(context, options, res, rej); }); - q.then(function(data2) { + q.then(function(data) { try { if (options.performanceTimer) { performance_timer_default.auditEnd(); } - var results = merge_results_default(data2.map(function(results2) { + var results = merge_results_default(data.map(function(res) { return { - results: results2 + results: res }; })); if (context.initiator) { + if (options.performanceTimer) { + performance_timer_default.mark('auditAfterStart'); + } results = audit.after(results, options); - results.forEach(publish_metadata_default); - results = results.map(finalize_result_default); + if (options.performanceTimer) { + performance_timer_default.mark('auditAfterEnd'); + performance_timer_default.measure('audit.after', 'auditAfterStart', 'auditAfterEnd'); + performance_timer_default.logMeasures('audit.after'); + } + results.forEach(_publishMetaData); + results = results.map(_finalizeRuleResult); } try { resolve(results, teardown_default); @@ -22848,8 +28689,10 @@ reject(e); }); } - var run_rules_default = runRules; - function runCommand(data2, keepalive, callback) { + function load(audit) { + axe._audit = new audit_default(audit); + } + function runCommand(data, keepalive, callback) { var resolve = callback; var reject = function reject2(err2) { if (err2 instanceof Error === false) { @@ -22857,39 +28700,36 @@ } callback(err2); }; - var context = data2 && data2.context || {}; + var context = data && data.context || {}; if (context.hasOwnProperty('include') && !context.include.length) { context.include = [ document ]; } - var options = data2 && data2.options || {}; - switch (data2.command) { + var options = data && data.options || {}; + switch (data.command) { case 'rules': - return run_rules_default(context, options, function(results, cleanup3) { + return runRules(context, options, function(results, cleanupFn) { + results = node_serializer_default.mapRawResults(results); resolve(results); - cleanup3(); + cleanupFn(); }, reject); case 'cleanup-plugin': return cleanup_default(resolve, reject); default: - if (axe._audit && axe._audit.commands && axe._audit.commands[data2.command]) { - return axe._audit.commands[data2.command](data2, callback); + if (axe._audit && axe._audit.commands && axe._audit.commands[data.command]) { + return axe._audit.commands[data.command](data, callback); } } } if (window.top !== window) { _respondable.subscribe('axe.start', runCommand); - _respondable.subscribe('axe.ping', function(data2, keepalive, respond) { + _respondable.subscribe('axe.ping', function(data, keepalive, respond) { respond({ axe: true }); }); } - function load(audit) { - axe._audit = new audit_default(audit); - } - var load_default = load; function Plugin(spec) { this._run = spec.run; this._collect = spec.collect; @@ -22937,7 +28777,7 @@ if (!(vNode instanceof abstract_virtual_node_default)) { vNode = new serial_virtual_node_default(vNode); } - var rule = get_rule_default(ruleId); + var rule = _getRule(ruleId); if (!rule) { throw new Error('unknown rule `' + ruleId + '`'); } @@ -22957,8 +28797,8 @@ flatTree: [] }; var rawResults = rule.runSync(context, options); - publish_metadata_default(rawResults); - finalize_result_default(rawResults); + _publishMetaData(rawResults); + _finalizeRuleResult(rawResults); var results = aggregate_result_default([ rawResults ]); results.violations.forEach(function(result) { return result.nodes.forEach(function(nodeResult) { @@ -22969,11 +28809,11 @@ toolOptions: options }); } - function normalizeRunParams(_ref111) { - var _ref113, _options$reporter, _axe$_audit; - var _ref112 = _slicedToArray(_ref111, 3), context = _ref112[0], options = _ref112[1], callback = _ref112[2]; + function normalizeRunParams(_ref143) { + var _ref145, _options$reporter, _axe$_audit; + var _ref144 = _slicedToArray(_ref143, 3), context = _ref144[0], options = _ref144[1], callback = _ref144[2]; var typeErr = new TypeError('axe.run arguments are invalid'); - if (!isContextSpec(context)) { + if (!_isContextSpec(context)) { if (callback !== void 0) { throw typeErr; } @@ -22991,8 +28831,8 @@ if (typeof callback !== 'function' && callback !== void 0) { throw typeErr; } - options = clone_default(options); - options.reporter = (_ref113 = (_options$reporter = options.reporter) !== null && _options$reporter !== void 0 ? _options$reporter : (_axe$_audit = axe._audit) === null || _axe$_audit === void 0 ? void 0 : _axe$_audit.reporter) !== null && _ref113 !== void 0 ? _ref113 : 'v1'; + options = _clone(options); + options.reporter = (_ref145 = (_options$reporter = options.reporter) !== null && _options$reporter !== void 0 ? _options$reporter : (_axe$_audit = axe._audit) === null || _axe$_audit === void 0 ? void 0 : _axe$_audit.reporter) !== null && _ref145 !== void 0 ? _ref145 : 'v1'; return { context: context, options: options, @@ -23001,8 +28841,8 @@ } var noop2 = function noop2() {}; function run4() { - for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { - args[_key2] = arguments[_key2]; + for (var _len7 = arguments.length, args = new Array(_len7), _key9 = 0; _key9 < _len7; _key9++) { + args[_key9] = arguments[_key9]; } setupGlobals(args[0]); var _normalizeRunParams = normalizeRunParams(args), context = _normalizeRunParams.context, options = _normalizeRunParams.options, _normalizeRunParams$c = _normalizeRunParams.callback, callback = _normalizeRunParams$c === void 0 ? noop2 : _normalizeRunParams$c; @@ -23015,37 +28855,47 @@ } axe._running = true; if (options.performanceTimer) { - axe.utils.performanceTimer.start(); + performance_timer_default.start(); } - function handleRunRules(rawResults, cleanup3) { + function handleRunRules(rawResults, teardown2) { var respond = function respond(results) { + if (options.performanceTimer) { + performance_timer_default.mark('reporterEnd'); + performance_timer_default.measure('reporter', 'reporterStart', 'reporterEnd'); + performance_timer_default.logMeasures('reporter'); + performance_timer_default.end(); + } axe._running = false; - cleanup3(); + teardown2(); try { - callback(null, results); + resolve(results); + } catch (e) { + axe.log(e); + } + }; + var wrappedReject = function wrappedReject(err2) { + axe._running = false; + teardown2(); + try { + reject(err2); } catch (e) { axe.log(e); } - resolve(results); }; - if (options.performanceTimer) { - axe.utils.performanceTimer.end(); - } try { - createReport(rawResults, options, respond); + if (options.performanceTimer) { + performance_timer_default.mark('reporterStart'); + } + createReport(rawResults, options, respond, wrappedReject); } catch (err2) { - axe._running = false; - cleanup3(); - callback(err2); - reject(err2); + wrappedReject(err2); } } function errorRunRules(err2) { if (options.performanceTimer) { - axe.utils.performanceTimer.end(); + performance_timer_default.end(); } axe._running = false; - resetGlobals(); callback(err2); reject(err2); } @@ -23060,7 +28910,12 @@ resolve = _resolve; }); } else { - resolve = reject = noop2; + resolve = function resolve(result) { + return callback(null, result); + }; + reject = function reject(err2) { + return callback(err2); + }; } return { thenable: thenable, @@ -23068,15 +28923,14 @@ resolve: resolve }; } - function createReport(rawResults, options, respond) { + function createReport(rawResults, options, respond, reject) { var reporter = getReporter(options.reporter); - var results = reporter(rawResults, options, respond); + var results = reporter(rawResults, options, respond, reject); if (results !== void 0) { respond(results); } } function handleError(err2, callback) { - resetGlobals(); if (typeof callback === 'function' && callback !== noop2) { callback(err2.message); return; @@ -23084,8 +28938,8 @@ throw err2; } function runPartial() { - for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { - args[_key3] = arguments[_key3]; + for (var _len8 = arguments.length, args = new Array(_len8), _key10 = 0; _key10 < _len8; _key10++) { + args[_key10] = arguments[_key10]; } var _normalizeRunParams2 = normalizeRunParams(args), options = _normalizeRunParams2.options, context = _normalizeRunParams2.context; assert_default(axe._audit, 'Axe is not configured. Audit is missing.'); @@ -23094,18 +28948,14 @@ axe._tree = contextObj.flatTree; axe._selectorData = _getSelectorData(contextObj.flatTree); axe._running = true; + options.elementRef = false; return new Promise(function(res, rej) { axe._audit.run(contextObj, options, res, rej); }).then(function(results) { - results = results.map(function(_ref114) { - var nodes = _ref114.nodes, result = _objectWithoutProperties(_ref114, _excluded8); - return _extends({ - nodes: nodes.map(serializeNode) - }, result); - }); - var frames = contextObj.frames.map(function(_ref115) { - var node = _ref115.node; - return new dq_element_default(node, options).toJSON(); + results = node_serializer_default.mapRawResults(results); + var frames = contextObj.frames.map(function(_ref146) { + var node = _ref146.node; + return node_serializer_default.toSpec(node); }); var environmentData; if (contextObj.initiator) { @@ -23124,46 +28974,30 @@ return Promise.reject(err2); }); } - function serializeNode(_ref116) { - var node = _ref116.node, nodeResult = _objectWithoutProperties(_ref116, _excluded9); - nodeResult.node = node.toJSON(); - for (var _i33 = 0, _arr2 = [ 'any', 'all', 'none' ]; _i33 < _arr2.length; _i33++) { - var type = _arr2[_i33]; - nodeResult[type] = nodeResult[type].map(function(_ref117) { - var relatedNodes = _ref117.relatedNodes, checkResult = _objectWithoutProperties(_ref117, _excluded10); - return _extends({}, checkResult, { - relatedNodes: relatedNodes.map(function(node2) { - return node2.toJSON(); - }) - }); - }); - } - return nodeResult; - } function finishRun(partialResults) { - var _ref119, _options$reporter2, _axe$_audit2; + var _ref148, _options$reporter2, _axe$_audit2; var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - options = clone_default(options); - var _ref118 = partialResults.find(function(r) { + options = _clone(options); + var _ref147 = partialResults.find(function(r) { return r.environmentData; - }) || {}, environmentData = _ref118.environmentData; + }) || {}, environmentData = _ref147.environmentData; axe._audit.normalizeOptions(options); - options.reporter = (_ref119 = (_options$reporter2 = options.reporter) !== null && _options$reporter2 !== void 0 ? _options$reporter2 : (_axe$_audit2 = axe._audit) === null || _axe$_audit2 === void 0 ? void 0 : _axe$_audit2.reporter) !== null && _ref119 !== void 0 ? _ref119 : 'v1'; + options.reporter = (_ref148 = (_options$reporter2 = options.reporter) !== null && _options$reporter2 !== void 0 ? _options$reporter2 : (_axe$_audit2 = axe._audit) === null || _axe$_audit2 === void 0 ? void 0 : _axe$_audit2.reporter) !== null && _ref148 !== void 0 ? _ref148 : 'v1'; setFrameSpec(partialResults); var results = merge_results_default(partialResults); results = axe._audit.after(results, options); - results.forEach(publish_metadata_default); - results = results.map(finalize_result_default); + results.forEach(_publishMetaData); + results = results.map(_finalizeRuleResult); return createReport2(results, _extends({ environmentData: environmentData }, options)); } function setFrameSpec(partialResults) { var frameStack = []; - var _iterator12 = _createForOfIteratorHelper(partialResults), _step12; + var _iterator23 = _createForOfIteratorHelper(partialResults), _step23; try { - for (_iterator12.s(); !(_step12 = _iterator12.n()).done; ) { - var partialResult = _step12.value; + for (_iterator23.s(); !(_step23 = _iterator23.n()).done; ) { + var partialResult = _step23.value; var frameSpec = frameStack.shift(); if (!partialResult) { continue; @@ -23173,31 +29007,35 @@ frameStack.unshift.apply(frameStack, _toConsumableArray(frameSpecs)); } } catch (err) { - _iterator12.e(err); + _iterator23.e(err); } finally { - _iterator12.f(); + _iterator23.f(); } } - function getMergedFrameSpecs(_ref120) { - var childFrameSpecs = _ref120.frames, parentFrameSpec = _ref120.frameSpec; + function getMergedFrameSpecs(_ref149) { + var childFrameSpecs = _ref149.frames, parentFrameSpec = _ref149.frameSpec; if (!parentFrameSpec) { return childFrameSpecs; } return childFrameSpecs.map(function(childFrameSpec) { - return dq_element_default.mergeSpecs(childFrameSpec, parentFrameSpec); + return node_serializer_default.mergeSpecs(childFrameSpec, parentFrameSpec); }); } function createReport2(results, options) { - return new Promise(function(resolve) { + return new Promise(function(resolve, reject) { var reporter = getReporter(options.reporter); - reporter(results, options, resolve); + reporter(results, options, resolve, reject); }); } function setup(node) { if (axe._tree) { throw new Error('Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.'); } - axe._tree = get_flattened_tree_default(node); + if (node && _typeof(node.documentElement) === 'object' && _typeof(node.defaultView) === 'object') { + node = node.documentElement; + } + setupGlobals(node); + axe._tree = _getFlattenedTree(node); axe._selectorData = _getSelectorData(axe._tree); return axe._tree[0]; } @@ -23208,10 +29046,10 @@ callback = options; options = {}; } - var _options2 = options, environmentData = _options2.environmentData, toolOptions = _objectWithoutProperties(_options2, _excluded11); + var _options4 = options, environmentData = _options4.environmentData, toolOptions = _objectWithoutProperties(_options4, _excluded15); callback(_extends({}, _getEnvironmentData(environmentData), { toolOptions: toolOptions - }, process_aggregate_default(results, options))); + }, processAggregate(results, options))); }; var na_default = naReporter; var noPassesReporter = function noPassesReporter(results, options, callback) { @@ -23219,9 +29057,9 @@ callback = options; options = {}; } - var _options3 = options, environmentData = _options3.environmentData, toolOptions = _objectWithoutProperties(_options3, _excluded12); + var _options5 = options, environmentData = _options5.environmentData, toolOptions = _objectWithoutProperties(_options5, _excluded16); options.resultTypes = [ 'violations' ]; - var _process_aggregate_de = process_aggregate_default(results, options), violations = _process_aggregate_de.violations; + var _processAggregate = processAggregate(results, options), violations = _processAggregate.violations; callback(_extends({}, _getEnvironmentData(environmentData), { toolOptions: toolOptions, violations: violations @@ -23239,18 +29077,9 @@ var transformedResults = results.map(function(result) { var transformedResult = _extends({}, result); var types = [ 'passes', 'violations', 'incomplete', 'inapplicable' ]; - for (var _i34 = 0, _types = types; _i34 < _types.length; _i34++) { - var type = _types[_i34]; - if (transformedResult[type] && Array.isArray(transformedResult[type])) { - transformedResult[type] = transformedResult[type].map(function(_ref121) { - var _node; - var node = _ref121.node, typeResult = _objectWithoutProperties(_ref121, _excluded13); - node = typeof ((_node = node) === null || _node === void 0 ? void 0 : _node.toJSON) === 'function' ? node.toJSON() : node; - return _extends({ - node: node - }, typeResult); - }); - } + for (var _i50 = 0, _types = types; _i50 < _types.length; _i50++) { + var type2 = _types[_i50]; + transformedResult[type2] = node_serializer_default.mapRawNodeResults(transformedResult[type2]); } return transformedResult; }); @@ -23262,7 +29091,7 @@ callback = options; options = {}; } - var _options4 = options, environmentData = _options4.environmentData, toolOptions = _objectWithoutProperties(_options4, _excluded14); + var _options6 = options, environmentData = _options6.environmentData, toolOptions = _objectWithoutProperties(_options6, _excluded17); raw_default(results, toolOptions, function(raw) { var env = _getEnvironmentData(environmentData); callback({ @@ -23277,8 +29106,8 @@ callback = options; options = {}; } - var _options5 = options, environmentData = _options5.environmentData, toolOptions = _objectWithoutProperties(_options5, _excluded15); - var out = process_aggregate_default(results, options); + var _options7 = options, environmentData = _options7.environmentData, toolOptions = _objectWithoutProperties(_options7, _excluded18); + var out = processAggregate(results, options); var addFailureSummaries = function addFailureSummaries(result) { result.nodes.forEach(function(nodeResult) { nodeResult.failureSummary = failure_summary_default(nodeResult); @@ -23296,8 +29125,8 @@ callback = options; options = {}; } - var _options6 = options, environmentData = _options6.environmentData, toolOptions = _objectWithoutProperties(_options6, _excluded16); - var out = process_aggregate_default(results, options); + var _options8 = options, environmentData = _options8.environmentData, toolOptions = _objectWithoutProperties(_options8, _excluded19); + var out = processAggregate(results, options); callback(_extends({}, _getEnvironmentData(environmentData), { toolOptions: toolOptions }, out)); @@ -23310,7 +29139,7 @@ Check: check_default, Context: Context, RuleResult: rule_result_default, - Rule: rule_default, + Rule: Rule, metadataFunctionMap: metadata_function_map_default }, public: { @@ -23319,7 +29148,7 @@ helpers: { failureSummary: failure_summary_default, incompleteFallbackMessage: incompleteFallbackMessage, - processAggregate: process_aggregate_default + processAggregate: processAggregate }, utils: { setDefaultFrameMessenger: setDefaultFrameMessenger, @@ -23356,14 +29185,14 @@ axe.configure = configure_default; axe.frameMessenger = frameMessenger2; axe.getRules = get_rules_default; - axe._load = load_default; + axe._load = load; axe.plugins = {}; axe.registerPlugin = plugins_default; axe.hasReporter = hasReporter; axe.getReporter = getReporter; axe.addReporter = addReporter; axe.reset = reset_default; - axe._runRules = run_rules_default; + axe._runRules = runRules; axe.runVirtualRule = runVirtualRule; axe.run = run4; axe.setup = setup_default; @@ -23385,59 +29214,75 @@ data: { rules: { accesskeys: { - description: 'Ensures every accesskey attribute value is unique', + description: 'Ensure every accesskey attribute value is unique', help: 'accesskey attribute value should be unique' }, 'area-alt': { - description: 'Ensures elements of image maps have alternate text', - help: 'Active elements must have alternate text' + description: 'Ensure elements of image maps have alternative text', + help: 'Active elements must have alternative text' }, 'aria-allowed-attr': { - description: 'Ensures ARIA attributes are allowed for an element\'s role', - help: 'Elements must only use allowed ARIA attributes' + description: 'Ensure an element\'s role supports its ARIA attributes', + help: 'Elements must only use supported ARIA attributes' }, 'aria-allowed-role': { - description: 'Ensures role attribute has an appropriate value for the element', + description: 'Ensure role attribute has an appropriate value for the element', help: 'ARIA role should be appropriate for the element' }, + 'aria-braille-equivalent': { + description: 'Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent', + help: 'aria-braille attributes must have a non-braille equivalent' + }, 'aria-command-name': { - description: 'Ensures every ARIA button, link and menuitem has an accessible name', + description: 'Ensure every ARIA button, link and menuitem has an accessible name', help: 'ARIA commands must have an accessible name' }, + 'aria-conditional-attr': { + description: 'Ensure ARIA attributes are used as described in the specification of the element\'s role', + help: 'ARIA attributes must be used as specified for the element\'s role' + }, + 'aria-deprecated-role': { + description: 'Ensure elements do not use deprecated roles', + help: 'Deprecated ARIA roles must not be used' + }, 'aria-dialog-name': { - description: 'Ensures every ARIA dialog and alertdialog node has an accessible name', + description: 'Ensure every ARIA dialog and alertdialog node has an accessible name', help: 'ARIA dialog and alertdialog nodes should have an accessible name' }, 'aria-hidden-body': { - description: 'Ensures aria-hidden=\'true\' is not present on the document body.', - help: 'aria-hidden=\'true\' must not be present on the document body' + description: 'Ensure aria-hidden="true" is not present on the document body.', + help: 'aria-hidden="true" must not be present on the document body' }, 'aria-hidden-focus': { - description: 'Ensures aria-hidden elements are not focusable nor contain focusable elements', + description: 'Ensure aria-hidden elements are not focusable nor contain focusable elements', help: 'ARIA hidden element must not be focusable or contain focusable elements' }, 'aria-input-field-name': { - description: 'Ensures every ARIA input field has an accessible name', + description: 'Ensure every ARIA input field has an accessible name', help: 'ARIA input fields must have an accessible name' }, 'aria-meter-name': { - description: 'Ensures every ARIA meter node has an accessible name', + description: 'Ensure every ARIA meter node has an accessible name', help: 'ARIA meter nodes must have an accessible name' }, 'aria-progressbar-name': { - description: 'Ensures every ARIA progressbar node has an accessible name', + description: 'Ensure every ARIA progressbar node has an accessible name', help: 'ARIA progressbar nodes must have an accessible name' }, + 'aria-prohibited-attr': { + description: 'Ensure ARIA attributes are not prohibited for an element\'s role', + help: 'Elements must only use permitted ARIA attributes' + }, 'aria-required-attr': { - description: 'Ensures elements with ARIA roles have all required ARIA attributes', + description: 'Ensure elements with ARIA roles have all required ARIA attributes', help: 'Required ARIA attributes must be provided' }, 'aria-required-children': { - description: 'Ensures elements with an ARIA role that require child roles contain them', + description: 'Ensure elements with an ARIA role that require child roles contain them', help: 'Certain ARIA roles must contain particular children' }, 'aria-required-parent': { - description: 'Ensures elements with an ARIA role that require parent roles are contained by them', + description: 'Ensure elements with an ARIA role that require parent roles are contained by them', help: 'Certain ARIA roles must be contained by particular parents' }, 'aria-roledescription': { @@ -23445,35 +29290,35 @@ help: 'aria-roledescription must be on elements with a semantic role' }, 'aria-roles': { - description: 'Ensures all elements with a role attribute use a valid value', + description: 'Ensure all elements with a role attribute use a valid value', help: 'ARIA roles used must conform to valid values' }, 'aria-text': { - description: 'Ensures "role=text" is used on elements with no focusable descendants', + description: 'Ensure role="text" is used on elements with no focusable descendants', help: '"role=text" should have no focusable descendants' }, 'aria-toggle-field-name': { - description: 'Ensures every ARIA toggle field has an accessible name', + description: 'Ensure every ARIA toggle field has an accessible name', help: 'ARIA toggle fields must have an accessible name' }, 'aria-tooltip-name': { - description: 'Ensures every ARIA tooltip node has an accessible name', + description: 'Ensure every ARIA tooltip node has an accessible name', help: 'ARIA tooltip nodes must have an accessible name' }, 'aria-treeitem-name': { - description: 'Ensures every ARIA treeitem node has an accessible name', + description: 'Ensure every ARIA treeitem node has an accessible name', help: 'ARIA treeitem nodes should have an accessible name' }, 'aria-valid-attr-value': { - description: 'Ensures all ARIA attributes have valid values', + description: 'Ensure all ARIA attributes have valid values', help: 'ARIA attributes must conform to valid values' }, 'aria-valid-attr': { - description: 'Ensures attributes that begin with aria- are valid ARIA attributes', + description: 'Ensure attributes that begin with aria- are valid ARIA attributes', help: 'ARIA attributes must conform to valid names' }, 'audio-caption': { - description: 'Ensures